:root {
  --brand-bg: #0a0a0a;
  --brand-bg-secondary: #111111;
  --brand-bg-tertiary: #1a1a1a;
  --brand-red: #0f358e;
  --brand-red-hover: #0a2870;
  --brand-blue-bright: #4d9fff;
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --text-muted: #666666;
  --border: #2a2a2a;
  --font-display: "Anton", "Oswald", sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--brand-bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--brand-bg);
  color: var(--text-primary);
  font-family: "Inter", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

svg {
  display: block;
}

.container {
  width: min(100%, 1200px);
  margin: 0 auto;
  padding: 0 24px;
}

.center {
  text-align: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  font-family: "Oswald", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1;
  min-height: 46px;
  padding: 0 28px;
  text-transform: uppercase;
  transition: background-color 200ms ease, border-color 250ms ease, color 250ms ease, transform 200ms ease;
}

.button-red {
  background: var(--brand-red);
  color: #fff;
}

.button-red:hover {
  background: var(--brand-red-hover);
  transform: scale(1.02);
}

.button-red:active {
  transform: scale(0.98);
}

.button-outline {
  border: 1px solid var(--border);
  color: #fff;
  min-height: 48px;
  padding: 0 28px;
}

.button-outline:hover {
  border-color: var(--brand-red);
  color: var(--brand-red);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 80px;
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 300ms ease, border-color 300ms ease, backdrop-filter 300ms ease;
}

.site-header.header-scrolled,
.site-header.menu-active {
  background: rgba(10, 22, 40, 0.96);
  border-bottom-color: var(--border);
  backdrop-filter: blur(10px);
}

.header-inner {
  width: min(100%, 1200px);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand,
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: "Oswald", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.brand-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.brand-rule {
  width: 60px;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
}

.brand-tag {
  color: rgba(255, 255, 255, 0.6);
  font-family: "Oswald", sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1;
}

.roof-icon-small {
  width: 40px;
  height: 28px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.desktop-nav a:not(.button) {
  position: relative;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.desktop-nav a:not(.button)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--brand-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 250ms ease;
}

.desktop-nav a:not(.button):hover::after {
  transform: scaleX(1);
}

.menu-toggle {
  position: relative;
  z-index: 102;
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #fff;
}

.menu-toggle svg {
  position: absolute;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  transition: opacity 200ms ease, transform 200ms ease;
}

.menu-close {
  opacity: 0;
  transform: scale(0.85);
}

.menu-toggle.is-active .menu-open {
  opacity: 0;
  transform: scale(0.85);
}

.menu-toggle.is-active .menu-close {
  opacity: 1;
  transform: scale(1);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 32px;
  background: var(--brand-bg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 250ms ease;
}

.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu a:not(.button) {
  font-family: "Oswald", sans-serif;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.fixed-call {
  position: fixed;
  right: 0;
  top: 50%;
  z-index: 90;
  width: 48px;
  min-height: 176px;
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-red);
  color: #fff;
  transition: width 300ms ease, background-color 200ms ease, box-shadow 200ms ease;
}

.fixed-call:hover {
  width: 56px;
  background: var(--brand-red-hover);
}

.fixed-call span {
  display: block;
  font-family: "Oswald", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.2;
  white-space: nowrap;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.fixed-call-icon {
  display: none;
}

.hero {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: -7.5% 0 auto;
  display: block;
  width: 100%;
  height: 115%;
  overflow: hidden;
  will-change: transform;
  z-index: -2;
}

.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.5) 60%, rgba(0, 0, 0, 0.85) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 24px;
  text-align: center;
  will-change: transform, opacity;
}

.hero-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  animation: heroFade 800ms ease 300ms forwards;
}

.hero-roof-icon {
  width: 80px;
  height: 56px;
  margin-bottom: 16px;
}

.hero-brand {
  font-family: "Oswald", sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.1;
}

.hero-subbrand {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.7);
  font-family: "Oswald", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.hero-tagline {
  margin: 32px 0 0;
  font-family: "Oswald", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0;
  animation: heroFade 600ms ease 600ms forwards;
}

.hero-cta {
  margin-top: 24px;
  min-height: 52px;
  padding: 0 36px;
  opacity: 0;
  animation: heroFadeUp 600ms var(--ease-out) 900ms forwards;
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 40px;
  z-index: 1;
  display: flex;
  align-items: center;
  flex-direction: column;
  color: var(--text-muted);
  transform: translateX(-50%);
}

.scroll-indicator span {
  font-family: "Oswald", sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.scroll-indicator svg {
  width: 16px;
  height: 16px;
  margin-top: 4px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  animation: bounceDown 1.5s ease-in-out infinite;
}

.section {
  padding: 120px 0;
}

.about-section,
.portfolio-section,
.site-footer {
  background: var(--brand-bg);
}

.services-section,
.contact-section {
  background: var(--brand-bg-secondary);
}

.about-grid {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 64px;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--brand-red);
}

.section-label-center {
  justify-content: center;
  gap: 16px;
}

.label-rule {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--brand-red);
  transform-origin: left;
}

.section-label-center .label-rule {
  width: 60px;
}

.section-label span:not(.label-rule) {
  font-family: "Oswald", sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.split-heading {
  margin: 24px 0 0;
  font-family: "Oswald", sans-serif;
  font-size: 48px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.1;
  text-transform: uppercase;
}

.split-heading span {
  display: block;
}

.location-line {
  display: block;
  margin-top: 8px;
  color: var(--brand-red);
  font-family: "Oswald", sans-serif;
  font-size: 48px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.1;
  text-transform: uppercase;
}

.about-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-copy p,
.section-heading p,
.contact-intro {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.65;
}

.about-copy p {
  max-width: 480px;
  margin: 0;
}

.about-copy .button {
  align-self: flex-start;
  margin-top: 24px;
}

.section-heading {
  margin-bottom: 48px;
}

.section-heading h2,
.contact-section h2 {
  margin: 16px 0 0;
  font-family: "Oswald", sans-serif;
  font-size: 48px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.1;
  text-transform: uppercase;
}

.section-heading p {
  margin: 12px 0 0;
}

.services-list {
  width: 100%;
}

.service-item {
  display: flex;
  align-items: center;
  min-height: 88px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background-color 250ms ease;
}

.service-item:hover {
  background: rgba(255, 255, 255, 0.03);
}

.service-number {
  width: 48px;
  flex: 0 0 48px;
  color: var(--text-muted);
  font-family: "Oswald", sans-serif;
  font-size: 20px;
  font-weight: 400;
  transition: color 250ms ease;
}

.service-name {
  color: #fff;
  font-family: "Oswald", sans-serif;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.15;
  text-transform: uppercase;
  transition: transform 250ms ease;
}

.service-item svg {
  width: 24px;
  height: 24px;
  margin-left: auto;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--text-muted);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  transition: stroke 250ms ease, transform 250ms ease;
}

.service-item:hover .service-number {
  color: var(--brand-red);
}

.service-item:hover .service-name {
  transform: translateX(8px);
}

.service-item:hover svg {
  stroke: #fff;
  transform: translateX(12px);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.portfolio-item {
  position: relative;
  height: 280px;
  margin: 0;
  overflow: hidden;
  border-radius: 2px;
  background: #081326;
}

.portfolio-feature,
.portfolio-tall {
  height: 500px;
}

.portfolio-feature {
  grid-column: span 2;
}

.portfolio-wide {
  grid-column: span 3;
  height: 350px;
}

.portfolio-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background-color 300ms ease;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.portfolio-item:hover img {
  transform: scale(1.05);
}

.portfolio-item:hover::after {
  background: rgba(0, 0, 0, 0.15);
}

.portfolio-action {
  margin-top: 48px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 45% 55%;
  gap: 64px;
}

.contact-section h2 {
  margin-top: 24px;
}

.contact-intro {
  margin: 16px 0 0;
}

.contact-cards {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--brand-bg-tertiary);
  padding: 20px;
  transition: background-color 200ms ease;
}

.contact-card:hover {
  background: #14325a;
}

.contact-card svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin-top: 2px;
  fill: none;
  stroke: var(--text-muted);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  transition: stroke 200ms ease;
}

.contact-card:hover svg {
  stroke: var(--brand-red);
}

.contact-card strong {
  display: block;
  color: var(--text-muted);
  font-family: "Oswald", sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1;
}

.contact-card span span {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
}

.form-card {
  position: relative;
  min-height: 514px;
  background: #fff;
  padding: 40px;
}

.form-card form {
  display: grid;
  gap: 20px;
}

.form-field label {
  display: block;
  margin-bottom: 8px;
  color: #333;
  font-size: 12px;
  font-weight: 500;
}

.form-field label span {
  color: var(--brand-red);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 0;
  background: #fff;
  color: #333;
  font-size: 14px;
  outline: none;
  padding: 12px 16px;
  transition: border-color 200ms ease;
}

.form-field input,
.form-field select {
  height: 46px;
}

.form-field textarea {
  min-height: 126px;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #aaa;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: #333;
}

.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-position: right 12px center;
  background-repeat: no-repeat;
  padding-right: 44px;
}

.form-submit {
  width: 100%;
  min-height: 48px;
}

.form-success {
  position: absolute;
  inset: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-success[hidden] {
  display: none;
}

.form-success p {
  margin: 0;
  color: #333;
  font-size: 18px;
  line-height: 1.45;
  text-align: center;
}

.footer-cta {
  background: var(--brand-bg-tertiary);
  padding: 48px 0;
}

.footer-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-cta span:first-child {
  color: var(--text-muted);
  font-family: "Oswald", sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-cta h3 {
  margin: 8px 0 0;
  font-family: "Oswald", sans-serif;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.15;
  text-transform: uppercase;
}

.footer-cta a {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-cta a svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #fff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.footer-cta a span {
  color: #fff;
  font-family: "Oswald", sans-serif;
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
  transition: color 200ms ease;
}

.footer-cta a:hover span {
  color: var(--brand-red);
}

.site-footer {
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.footer-brand {
  gap: 8px;
}

.footer-brand .brand-name {
  font-size: 16px;
}

.footer-brand .brand-rule {
  width: 48px;
  background: #333;
}

.footer-roof-icon {
  width: 48px;
  height: 34px;
}

.footer-tagline {
  margin: 16px 0 0;
  font-family: "Oswald", sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.footer-subtagline {
  margin: 8px 0 0;
  color: var(--text-muted);
  font-family: "Oswald", sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.6;
  text-transform: uppercase;
}

.footer-col h4 {
  margin: 0;
  color: var(--text-muted);
  font-family: "Oswald", sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-rule {
  display: block;
  width: 24px;
  height: 2px;
  margin: 8px 0 16px;
  background: var(--brand-red);
}

.footer-col ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col a,
.footer-contact span {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.45;
  transition: color 200ms ease;
}

.footer-col a:hover {
  color: #fff;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-contact svg {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  fill: none;
  stroke: var(--text-muted);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 12px;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 700ms ease var(--delay, 0ms), transform 700ms var(--ease-out) var(--delay, 0ms);
}

.js [data-reveal="left"] {
  transform: translateX(-40px);
}

.js [data-reveal="right"] {
  transform: translateX(30px);
}

.js [data-reveal="scale"] {
  transform: scale(0.95);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@keyframes heroFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounceDown {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

@media (max-width: 1023px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 32px;
  }
}

@media (max-width: 767px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle,
  .mobile-menu {
    display: flex;
  }

  .roof-icon-small {
    display: none;
  }

  .site-header {
    height: 76px;
  }

  .brand-name {
    font-size: 13px;
  }

  .brand-rule {
    width: 46px;
  }

  .fixed-call {
    right: 24px;
    top: auto;
    bottom: 24px;
    width: 56px;
    min-height: 56px;
    height: 56px;
    padding: 0;
    border-radius: 999px;
    box-shadow: 0 4px 16px rgba(15, 53, 142, 0.45);
  }

  .fixed-call:hover {
    width: 56px;
  }

  .fixed-call span {
    display: none;
  }

  .fixed-call-icon {
    display: block;
    width: 24px;
    height: 24px;
    fill: none;
    stroke: #fff;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
  }

  .hero-brand {
    font-size: 26px;
  }

  .hero-tagline {
    max-width: 320px;
    line-height: 1.6;
  }

  .section {
    padding: 80px 0;
  }

  .split-heading,
  .location-line,
  .section-heading h2,
  .contact-section h2 {
    font-size: 36px;
  }

  .service-item {
    min-height: 76px;
    padding: 20px 0;
  }

  .service-name {
    font-size: 24px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-feature,
  .portfolio-wide,
  .portfolio-tall,
  .portfolio-item {
    grid-column: auto;
    height: 300px;
  }

  .portfolio-item:nth-child(n + 4) {
    height: 200px;
  }

  .form-card {
    padding: 32px 24px;
  }

  .form-success {
    inset: 32px 24px;
  }

  .footer-cta-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-cta h3 {
    font-size: 28px;
  }

  .footer-cta a span {
    font-size: 26px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .container,
  .header-inner {
    padding-inline: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-label-center .label-rule {
    width: 44px;
  }

  .service-item {
    gap: 12px;
  }

  .service-number {
    width: 38px;
    flex-basis: 38px;
  }

  .service-name {
    font-size: 22px;
  }

  .service-item svg {
    width: 22px;
    height: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}


/* E & JR Equipment Repairs custom remix */
body,
html {
  background: var(--brand-bg);
}

.site-header.header-scrolled,
.site-header.menu-active {
  background: rgba(15, 53, 142, 0.96);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.brand,
.footer-brand {
  min-width: 0;
}

.brand-logo {
  display: block;
  width: min(330px, 38vw);
  max-height: 56px;
  object-fit: contain;
}

.footer-logo {
  display: block;
  width: min(280px, 100%);
  max-height: 92px;
  object-fit: contain;
}

.hero-brand-logo {
  display: block;
  width: min(680px, 88vw);
  max-height: 210px;
  object-fit: contain;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.38));
}

.hero-logo {
  gap: 10px;
}

.hero-subbrand {
  color: #ffffff;
  font-family: var(--font-display);
  font-size: clamp(13px, 1.6vw, 22px);
  font-weight: 400;
  letter-spacing: 0.18em;
}

.hero-tagline {
  color: #ffffff;
  font-family: var(--font-display);
  font-size: clamp(15px, 2.1vw, 28px);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.55);
}

.hero-overlay {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.55) 62%, rgba(0, 0, 0, 0.92) 100%);
}

.brand-name,
.brand-tag,
.desktop-nav a:not(.button),
.mobile-menu a:not(.button),
.button,
.fixed-call span,
.hero-brand,
.hero-subbrand,
.hero-tagline,
.scroll-indicator span,
.section-label span:not(.label-rule),
.split-heading,
.location-line,
.section-heading h2,
.contact-section h2,
.service-number,
.service-name,
.process-card span,
.process-card h3,
.faq-item summary,
.contact-card strong,
.footer-cta span:first-child,
.footer-cta h3,
.footer-cta a span,
.footer-tagline,
.footer-subtagline,
.footer-col h4 {
  font-family: var(--font-display);
  font-weight: 400;
}

.button-red {
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 10px 24px rgba(15, 53, 142, 0.26);
}

.button-outline:hover {
  border-color: var(--brand-blue-bright);
  color: var(--brand-blue-bright);
}

.fixed-call {
  box-shadow: 0 0 24px rgba(15, 53, 142, 0.35);
}

.section-label {
  color: var(--brand-blue-bright);
}

.label-rule,
.footer-rule {
  background: var(--brand-blue-bright);
}

.location-line,
.service-item:hover .service-number,
.footer-cta a:hover span,
.form-field label span {
  color: var(--brand-blue-bright);
}

.service-item {
  gap: 18px;
}

.service-name {
  flex: 0 0 43%;
}

.service-detail {
  color: var(--text-secondary);
  max-width: 420px;
  margin-left: auto;
  font-size: 14px;
  line-height: 1.55;
}

.service-item svg {
  margin-left: 0;
}

.process-section,
.faq-section {
  background: var(--brand-bg);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.process-card {
  min-height: 280px;
  padding: 32px;
  background: var(--brand-bg-tertiary);
  border: 1px solid var(--border);
  transition: transform 250ms ease, border-color 250ms ease, background-color 250ms ease;
}

.process-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-blue-bright);
  background: #14325a;
}

.process-card span {
  color: var(--brand-blue-bright);
  font-size: 14px;
  letter-spacing: 0.14em;
}

.process-card h3 {
  margin: 32px 0 0;
  font-size: 28px;
  letter-spacing: 0.06em;
  line-height: 1.1;
}

.process-card p {
  margin: 16px 0 0;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.65;
}

.faq-list {
  max-width: 940px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--brand-bg-secondary);
  border: 1px solid var(--border);
}

.faq-item summary {
  list-style: none;
  position: relative;
  padding: 22px 64px 22px 24px;
  color: #ffffff;
  cursor: pointer;
  font-size: 18px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--brand-blue-bright);
  font-size: 24px;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0;
  padding: 0 24px 24px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

.contact-card:hover svg,
.contact-card:hover strong {
  stroke: var(--brand-blue-bright);
  color: var(--brand-blue-bright);
}

.form-card {
  background: #ffffff;
  border: 1px solid rgba(77, 159, 255, 0.35);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--brand-red);
}

.footer-cta {
  background: #0f358e;
}

.footer-cta span:first-child,
.footer-cta a:hover span {
  color: #ffffff;
}

.footer-brand {
  align-items: flex-start;
}

.footer-col:first-child {
  min-width: 0;
}

.footer-tagline,
.footer-subtagline {
  max-width: 280px;
}

@media (max-width: 1023px) {
  .brand-logo {
    width: min(280px, 52vw);
  }

  .process-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .brand-logo {
    width: min(225px, 68vw);
    max-height: 52px;
  }

  .hero-brand-logo {
    width: min(560px, 92vw);
  }

  .hero-subbrand {
    font-size: 12px;
    letter-spacing: 0.12em;
  }

  .hero-tagline {
    max-width: 360px;
  }

  .service-item {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 8px 12px;
  }

  .service-name {
    flex: 1 1 calc(100% - 56px);
  }

  .service-detail {
    flex: 1 1 100%;
    margin-left: 50px;
    max-width: none;
  }

  .service-item svg {
    align-self: center;
    margin-left: auto;
  }

  .process-card {
    min-height: auto;
    padding: 28px 24px;
  }

  .faq-item summary {
    padding: 20px 56px 20px 20px;
    font-size: 16px;
  }
}

@media (max-width: 560px) {
  .brand-logo {
    width: min(205px, 68vw);
  }

  .service-detail {
    margin-left: 0;
  }

  .footer-logo {
    width: min(260px, 100%);
  }
}


/* Follow-up edits: keep main site black, keep only accents/header/footer blue */
.site-header.header-scrolled,
.site-header.menu-active {
  background: rgba(15, 53, 142, 0.96);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.about-section,
.process-section,
.portfolio-section,
.faq-section {
  background: var(--brand-bg);
}

.services-section {
  background: var(--brand-bg-secondary);
}

.process-card,
.faq-item,
.contact-card {
  background: var(--brand-bg-tertiary);
}

.process-card:hover,
.contact-card:hover {
  background: #222222;
}

.footer-cta {
  background: #0f358e;
}

.site-footer {
  background: #0a1628;
}

/* Keep main site black while keeping CTA buttons blue */
.button-red {
  background: var(--brand-red);
  border: 1px solid var(--brand-red);
  color: #ffffff;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 10px 24px rgba(15, 53, 142, 0.26);
}

.button-red:hover {
  background: var(--brand-red-hover);
  border-color: var(--brand-red-hover);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(77, 159, 255, 0.34);
}

.fixed-call {
  background: var(--brand-red);
  border: 1px solid rgba(77, 159, 255, 0.65);
  border-right: 0;
  color: #ffffff;
  box-shadow: 0 0 24px rgba(15, 53, 142, 0.35);
}

.fixed-call:hover {
  background: var(--brand-red-hover);
  color: #ffffff;
  box-shadow: 0 0 28px rgba(77, 159, 255, 0.42);
}

.footer-cta .button-red,
.site-header.header-scrolled .button-red,
.site-header.menu-active .button-red {
  background: var(--brand-red);
  border-color: var(--brand-red);
  color: #ffffff;
}

.footer-cta .button-red:hover,
.site-header.header-scrolled .button-red:hover,
.site-header.menu-active .button-red:hover {
  background: var(--brand-red-hover);
  border-color: var(--brand-red-hover);
}

/* V5 reset: use the clean V3 build as the base, then only bring back the old-style mobile dropdown menu.
   No top hours bar. No bottom call/directions bar. Header stays transparent on mobile until the menu is opened. */
@media (max-width: 767px) {
  .site-header.header-scrolled {
    background: transparent;
    border-bottom-color: transparent;
    backdrop-filter: none;
  }

  .site-header.menu-active {
    background: rgba(15, 53, 142, 0.96);
    border-bottom-color: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
  }

  .mobile-menu {
    inset: 76px 0 auto 0;
    min-height: 0;
    height: auto;
    padding: 22px 32px 28px;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    background: rgba(15, 53, 142, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.42);
    transform: translateY(-14px);
    transition: opacity 220ms ease, transform 220ms ease;
  }

  .mobile-menu.is-open {
    transform: translateY(0);
  }

  .mobile-menu a:not(.button) {
    width: 100%;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-size: 30px;
    line-height: 1;
    letter-spacing: 0.04em;
    text-align: left;
  }

  .mobile-menu .button {
    align-self: flex-start;
    margin-top: 24px;
    background: #0a0a0a;
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
  }
}

/* V6 edits: remove nav call-now button and replace the old shop photo grid with a Diablo-inspired core services bento section */
.core-services-showcase {
  background: var(--brand-bg);
}

.core-services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 56px;
}

.core-services-header h2 {
  margin: 0 0 18px;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1;
  text-transform: uppercase;
}

.core-services-rule {
  display: block;
  width: 96px;
  height: 4px;
  background: var(--brand-blue-bright);
}

.core-services-header p {
  max-width: 460px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.55;
  text-align: right;
}

.bento-services-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
}

.bento-service-card {
  position: relative;
  grid-column: span 4;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid #253042;
  background: #080d18;
  isolation: isolate;
}

.bento-service-large {
  grid-column: span 8;
  min-height: 430px;
}

.bento-service-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
  transition: transform 700ms ease, opacity 350ms ease;
}

.bento-card-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.58) 38%, rgba(0, 0, 0, 0.12) 100%);
}

.bento-service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  pointer-events: none;
  transition: border-color 250ms ease;
}

.bento-card-content {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
}

.bento-card-content svg {
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  fill: none;
  stroke: var(--brand-blue-bright);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.bento-card-content h3 {
  margin: 0 0 12px;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.08;
  text-transform: uppercase;
}

.bento-card-content p {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  line-height: 1.55;
}

.bento-service-card:hover img {
  opacity: 0.92;
  transform: scale(1.055);
}

.bento-service-card:hover::after {
  border-color: var(--brand-blue-bright);
}

@media (max-width: 1023px) {
  .core-services-header {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 36px;
  }

  .core-services-header p {
    max-width: 680px;
    text-align: left;
  }

  .bento-service-card,
  .bento-service-large {
    grid-column: span 6;
    min-height: 340px;
  }
}

@media (max-width: 767px) {
  .core-services-showcase {
    padding-top: 88px;
  }

  .bento-services-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .bento-service-card,
  .bento-service-large {
    grid-column: 1;
    min-height: 360px;
  }

  .bento-card-content {
    left: 22px;
    right: 22px;
    bottom: 22px;
  }

  .bento-card-content p {
    font-size: 14px;
  }
}

/* V7 cleanup: black footer + black scrolled header + white readable text */
:root {
  --text-secondary: #ffffff;
  --text-muted: #ffffff;
}

.site-header.header-scrolled {
  background: rgba(10, 10, 10, 0.96);
  border-bottom-color: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}

.footer-cta,
.site-footer {
  background: #0a0a0a !important;
}

.footer-cta,
.footer-cta *,
.site-footer,
.site-footer *,
.faq-section,
.faq-section *,
.process-section,
.process-section *,
.services-section,
.services-section *,
.core-services-showcase,
.core-services-showcase *,
.about-section,
.about-section * {
  color: #ffffff;
}

.footer-rule,
.label-rule,
.core-services-accent,
.core-services-header .label-rule {
  background: var(--brand-blue-bright);
}

.footer-contact svg,
.footer-cta svg,
.fixed-call svg,
.service-card-icon,
.service-card svg,
.core-service-icon {
  color: var(--brand-blue-bright);
  stroke: var(--brand-blue-bright);
}

.faq-item summary::after,
.section-label,
.location-line,
.service-item:hover .service-number,
.contact-card:hover strong,
.contact-card:hover svg {
  color: var(--brand-blue-bright);
}

@media (max-width: 767px) {
  .site-header.header-scrolled {
    background: transparent;
    border-bottom-color: transparent;
    backdrop-filter: none;
  }

  .site-header.menu-active {
    background: rgba(15, 53, 142, 0.96);
    border-bottom-color: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
  }
}

/* V8 correction: keep the call strip above the footer blue; only the actual footer stays black. */
.footer-cta {
  background: #0f358e !important;
}

.site-footer {
  background: #0a0a0a !important;
}

/* V9 adjustment: match the footer and scrolled header to the FAQ-card black instead of pure black. */
.site-header.header-scrolled {
  background: rgba(26, 26, 26, 0.96) !important;
  border-bottom-color: rgba(255, 255, 255, 0.14) !important;
  backdrop-filter: blur(10px);
}

.site-footer {
  background: #1a1a1a !important;
}

@media (max-width: 767px) {
  .site-header.header-scrolled {
    background: transparent !important;
    border-bottom-color: transparent !important;
    backdrop-filter: none !important;
  }

  .site-header.menu-active {
    background: rgba(26, 26, 26, 0.96) !important;
    border-bottom-color: rgba(255, 255, 255, 0.14) !important;
    backdrop-filter: blur(10px);
  }
}


/* V10: restore old website footer, keep mobile scrolled header transparent, and make opened mobile sidebar/header blue. */
@media (max-width: 767px) {
  .site-header.header-scrolled {
    background: transparent !important;
    border-bottom-color: transparent !important;
    backdrop-filter: none !important;
  }

  .site-header.menu-active {
    background: rgba(15, 53, 142, 0.96) !important;
    border-bottom-color: rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(10px) !important;
  }

  .mobile-menu {
    background: rgba(15, 53, 142, 0.98) !important;
  }
}


/* V11: restore old exact process section, update footer logo image, and make light-blue accents/icons white. */
.process {
  padding: 6rem 0;
  background-color: #0a1628;
}

.process__header {
  margin-bottom: 4rem;
}

.process__subheading {
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ffffff;
  margin-bottom: 0.5rem;
  display: block;
}

.process__heading {
  margin: 0;
  font-family: 'Anton', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.03em;
  color: #fff;
}

.process__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
  position: relative;
}

@media (min-width: 768px) {
  .process__steps::before {
    content: '';
    position: absolute;
    top: 2rem;
    left: 15%;
    right: 15%;
    height: 2px;
    background: #003478;
    opacity: 0.3;
  }
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.process-step__number {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background-color: #003478;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Anton', sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: #fff;
  margin: 0 auto 1.5rem;
  box-shadow: 0 0 30px rgba(0, 52, 120, 0.3);
}

.process-step__title {
  margin: 0 0 1rem;
  font-family: 'Anton', sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: #ffffff;
}

.process-step__description {
  font-size: 0.875rem;
  color: #ffffff;
  line-height: 1.6;
  max-width: 300px;
  margin: 0 auto;
}

.process__cta .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1rem 2rem;
  background: #003478;
  color: #ffffff;
  font-family: 'Anton', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.process__cta .btn:hover {
  background: #0f358e;
  transform: translateY(-2px);
}

.process__cta svg {
  stroke: #ffffff;
}

.footer__logo-img {
  display: block;
  width: min(270px, 90vw);
  max-height: 110px;
  object-fit: contain;
}

:root {
  --brand-blue-bright: #ffffff;
}

.footer__logo-accent,
.footer__contact-item svg,
.footer__link::after,
.section-label,
.location-line,
.service-item:hover .service-number,
.contact-card:hover strong,
.faq-item summary::after,
.process__subheading,
.process-step__title {
  color: #ffffff !important;
}

.footer__contact-item svg,
.footer-cta svg,
.fixed-call svg,
.service-card-icon,
.service-card svg,
.core-service-icon,
.bento-card-content svg,
.contact-card:hover svg {
  stroke: #ffffff !important;
  color: #ffffff !important;
}

.label-rule,
.footer-rule,
.core-services-rule,
.core-services-accent,
.core-services-header .label-rule,
.footer__link::after {
  background: #ffffff !important;
}

@media (max-width: 767px) {
  .process {
    padding: 4.5rem 0;
  }

  .process__steps {
    gap: 2.5rem;
  }

  .footer__logo-img {
    width: min(240px, 92vw);
  }
}


/* V12: make the process section match the old website layout exactly and fix footer contact heading font. */
.process .text-center,
.process__header,
.process__cta {
  text-align: center !important;
}

.process {
  padding: 6rem 0 !important;
  background-color: #0a1628 !important;
}

.process .page-width {
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding: 0 1.5rem !important;
}

.process__header {
  margin: 0 0 4rem !important;
}

.process__subheading {
  display: block !important;
  margin: 0 0 0.5rem !important;
  font-family: "Inter", Arial, sans-serif !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
}

.process__heading {
  margin: 0 !important;
  font-family: "Anton", sans-serif !important;
  font-size: clamp(2rem, 5vw, 3.5rem) !important;
  font-weight: 400 !important;
  line-height: 1.05 !important;
  letter-spacing: 0.02em !important;
  color: #ffffff !important;
  text-align: center !important;
}

.process__steps {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 3rem !important;
  margin: 0 0 3rem !important;
  position: relative !important;
}

@media (min-width: 768px) {
  .process__steps::before {
    content: '' !important;
    position: absolute !important;
    top: 2rem !important;
    left: 15% !important;
    right: 15% !important;
    height: 2px !important;
    background: #003478 !important;
    opacity: 0.3 !important;
  }
}

.process-step {
  text-align: center !important;
  position: relative !important;
  z-index: 1 !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.process-step__number {
  width: 4rem !important;
  height: 4rem !important;
  border-radius: 50% !important;
  background-color: #003478 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: "Anton", sans-serif !important;
  font-size: 1.5rem !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  color: #ffffff !important;
  margin: 0 auto 1.5rem !important;
  box-shadow: 0 0 30px rgba(0, 52, 120, 0.3) !important;
}

.process-step__title {
  margin: 0 0 1rem !important;
  font-family: "Anton", sans-serif !important;
  font-size: 1.125rem !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.02em !important;
  text-align: center !important;
  color: #ffffff !important;
}

.process-step__description {
  max-width: 300px !important;
  margin: 0 auto !important;
  font-family: "Inter", Arial, sans-serif !important;
  font-size: 0.875rem !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
  color: #ffffff !important;
  text-align: center !important;
}

.process__cta {
  margin: 0 !important;
  text-align: center !important;
}

.process__cta .btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.65rem !important;
  min-height: 54px !important;
  padding: 0 2rem !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #003478 !important;
  color: #ffffff !important;
  font-family: "Anton", sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.08em !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
}

.footer__column-title,
.footer__column .footer__column-title {
  font-family: "Anton", sans-serif !important;
  font-weight: 400 !important;
  letter-spacing: 0.04em !important;
  line-height: 1.1 !important;
  text-transform: uppercase !important;
}

@media (max-width: 767px) {
  .process {
    padding: 4.5rem 0 !important;
  }
  .process__steps {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }
  .process__steps::before {
    display: none !important;
  }
}

/* V13: use the original EJR blue on the Process Learn More button and keep mobile header visible while scrolling. */
.process__cta .btn,
.process__cta .btn.btn--primary {
  background: #0f358e !important;
  background-color: #0f358e !important;
  color: #ffffff !important;
}

.process__cta .btn:hover,
.process__cta .btn.btn--primary:hover {
  background: #0a2870 !important;
  background-color: #0a2870 !important;
}

@media (max-width: 767px) {
  .site-header.header-scrolled {
    background: rgba(26, 26, 26, 0.96) !important;
    border-bottom-color: rgba(255, 255, 255, 0.14) !important;
    backdrop-filter: blur(10px) !important;
  }

  .site-header.menu-active,
  body.menu-open .site-header {
    background: rgba(15, 53, 142, 0.96) !important;
    border-bottom-color: rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(10px) !important;
  }

  .mobile-menu,
  .mobile-menu.is-open {
    background: rgba(15, 53, 142, 0.98) !important;
  }
}


/* Language selection modal from original E & JR website */
.lang-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

.lang-modal.hidden {
  display: none;
}

.lang-modal__box {
  width: min(90vw, 360px);
  padding: 2.5rem 2rem;
  text-align: center;
  background: #0f358e;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lang-modal__logo {
  margin-bottom: 1rem;
}

.lang-modal__logo img {
  display: block;
  width: min(220px, 78vw);
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

.lang-modal__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffffff;
}

.lang-modal__subtitle {
  margin: 0 0 2rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
}

.lang-modal__buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.lang-btn {
  width: 100%;
  padding: 0.875rem 1.5rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.lang-btn--english {
  background: #ffffff;
  color: #0f358e;
}

.lang-btn--english:hover,
.lang-btn--english:focus-visible {
  background: #f0f4ff;
  transform: scale(1.03);
}

.lang-btn--spanish {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
}

.lang-btn--spanish:hover,
.lang-btn--spanish:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  transform: scale(1.03);
}


/* V15: remove the pre-footer call strip and add a mobile directions button above the call button. */
.fixed-location {
  display: none;
}

@media (max-width: 767px) {
  .fixed-location {
    position: fixed;
    right: 24px;
    bottom: 92px;
    z-index: 90;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--brand-red);
    border: 1px solid rgba(77, 159, 255, 0.65);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(15, 53, 142, 0.45);
    transition: background-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
  }

  .fixed-location:hover,
  .fixed-location:focus-visible {
    background: var(--brand-red-hover);
    color: #ffffff;
    box-shadow: 0 0 28px rgba(77, 159, 255, 0.42);
    transform: translateY(-2px);
  }

  .fixed-location-icon {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: #ffffff;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
  }
}

/* FAQ white-section update */
.faq-section {
  background: #ffffff !important;
}

.faq-section .section-heading h2,
.faq-section .section-label {
  color: #0a0a0a !important;
}

.faq-section .label-rule {
  background: #0a0a0a !important;
}

/* Keep the accordion cards dark and readable against the white section. */
.faq-section .faq-item {
  background: #1a1a1a !important;
  border-color: #333333 !important;
}

.faq-section .faq-item summary,
.faq-section .faq-item p,
.faq-section .faq-item summary::after {
  color: #ffffff !important;
}


/* V16: restore the cleaner FAQ design from the original website. */
.legacy-faq {
  padding: 6rem 0;
  background: #ffffff;
  color: #0a0a0a;
}

.legacy-faq .faq__header {
  margin-bottom: 4rem;
  text-align: center;
}

.legacy-faq .faq__heading {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #0a0a0a;
}

.legacy-faq .faq__list {
  width: min(100%, 800px);
  margin: 0 auto;
}

.legacy-faq .faq-item {
  margin: 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.legacy-faq .faq-item__question {
  width: 100%;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.5rem 0;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  color: #0a0a0a;
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  transition: color 200ms ease;
}

.legacy-faq .faq-item__question:hover,
.legacy-faq .faq-item__question:focus-visible {
  color: #0f358e;
  outline: none;
}

.legacy-faq .faq-item__question > span:first-child {
  padding-right: 1rem;
}

.legacy-faq .faq-item__icon {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  border: 2px solid #0a1628;
  border-radius: 999px;
  color: #0a1628;
  transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease, transform 200ms ease;
}

.legacy-faq .faq-item__question:hover .faq-item__icon,
.legacy-faq .faq-item__question:focus-visible .faq-item__icon {
  border-color: #0f358e;
  color: #0f358e;
}

.legacy-faq .faq-item__question[aria-expanded="true"] .faq-item__icon {
  background: #0f358e;
  border-color: #0f358e;
  color: #ffffff;
}

.legacy-faq .faq-item__minus {
  display: none;
}

.legacy-faq .faq-item__question[aria-expanded="true"] .faq-item__plus {
  display: none;
}

.legacy-faq .faq-item__question[aria-expanded="true"] .faq-item__minus {
  display: block;
}

.legacy-faq .faq-item__answer {
  padding: 0 0 1.5rem;
  color: #2b2b2b;
}

.legacy-faq .faq-item__answer[hidden] {
  display: none;
}

.legacy-faq .faq-item__answer p {
  max-width: 700px;
  margin: 0;
  padding: 0 3.75rem 0 0;
  color: #2b2b2b;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.7;
}

@media (max-width: 767px) {
  .legacy-faq {
    padding: 4.5rem 0;
  }

  .legacy-faq .faq__header {
    margin-bottom: 2.5rem;
  }

  .legacy-faq .faq__heading {
    font-size: clamp(1.85rem, 9vw, 2.5rem);
  }

  .legacy-faq .faq-item__question {
    min-height: 72px;
    gap: 1rem;
    padding: 1.25rem 0;
    font-size: 0.95rem;
  }

  .legacy-faq .faq-item__answer p {
    padding-right: 0;
  }
}

/* Legacy white about section transplanted from the previous website */
.legacy-about {
  padding: 96px 0;
  background: #ffffff;
  color: #0a1628;
}

.legacy-about .about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.legacy-about .about__image-wrapper {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.legacy-about .about__image {
  display: block;
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.legacy-about .about__content {
  min-width: 0;
}

.legacy-about .about__heading {
  margin: 0 0 24px;
  color: #0a1628;
  font-family: "Anton", "Oswald", sans-serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
}

.legacy-about .about__description {
  margin: 0 0 32px;
  color: #0a0a0a;
  font-size: 18px;
  line-height: 1.7;
}

.legacy-about .about__features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.legacy-about .about__feature {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #0a1628;
  font-size: 16px;
  font-weight: 500;
}

.legacy-about .about__feature-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border-radius: 50%;
  background: rgba(0, 52, 120, 0.1);
  color: #4d9fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 300ms ease, color 300ms ease, transform 300ms ease;
}

.legacy-about .about__feature:hover .about__feature-icon {
  background: #003478;
  color: #ffffff;
  transform: rotate(360deg);
}

@media (min-width: 1024px) {
  .legacy-about .about__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 80px;
  }

  .legacy-about .about__image {
    height: 500px;
  }
}

@media (max-width: 767px) {
  .legacy-about {
    padding: 64px 0;
  }

  .legacy-about .about__grid {
    gap: 36px;
  }

  .legacy-about .about__image {
    height: 420px;
  }

  .legacy-about .about__heading {
    font-size: clamp(34px, 11vw, 46px);
  }

  .legacy-about .about__description {
    font-size: 16px;
  }
}
