/* Customer-first layout shared by the English and Spanish review pages. */
.customer-site {
  --customer-navy: #102d4a;
  --customer-blue: #214bea;
  --customer-text: #465a70;
}

.customer-site .skip-link {
  position: fixed;
  top: 8px;
  left: 20px;
  z-index: 100;
  padding: 14px 18px;
  transform: translateY(-150%);
  border-radius: 12px;
  color: white;
  background: var(--customer-navy);
}
.customer-site .skip-link:focus { transform: translateY(0); }
.customer-site :focus-visible { outline: 3px solid #2561dc; outline-offset: 4px; }
.customer-site .nav-links { gap: clamp(10px, 1.3vw, 20px); font-size: 0.85rem; }
.customer-site .language-switch { color: #2148c4; text-decoration: underline; text-underline-offset: 4px; }
.customer-site .nav-links a[aria-current="page"] { color: #2148c4; }
.customer-site .phone-label { display: none; }
.customer-site .customer-hero {
  min-height: 0;
  padding: 142px clamp(20px, 5vw, 76px) 66px;
  align-items: center;
}
.customer-site .hero-content { max-width: 800px; }
.customer-site .hero h1 {
  max-width: 17ch;
  font-family: "Manrope", "Avenir Next", sans-serif;
  font-size: clamp(2.5rem, 5.1vw, 4.65rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.08;
  text-wrap: balance;
  color: white;
  margin: 16px 0 22px;
}
.customer-site .hero-copy {
  max-width: 55ch;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.6;
  color: white;
}
.customer-site .hero-overlay {
  background: linear-gradient(90deg, rgba(10, 30, 51, 0.88), rgba(10, 30, 51, 0.66) 52%, rgba(10, 30, 51, 0.18));
}
.customer-site .customer-auto-hero .hero-image { object-position: 70% center; filter: none; }
.customer-site .customer-auto-hero::after { background: none; }
.customer-site .customer-auto-hero .hero-overlay {
  background: linear-gradient(90deg, rgba(10,30,51,.94), rgba(10,30,51,.84) 36%, rgba(10,30,51,.36) 65%, rgba(10,30,51,.08));
}
.customer-site .customer-auto-hero .hero-content { max-width: 650px; }
.customer-site .customer-scene-hero .hero-image { object-position: 72% center; filter: none; }
.customer-site .customer-scene-hero::after { background: none; }
.customer-site .customer-homepage-hero .hero-image { object-position: 78% top; filter: none; }
.customer-site .customer-homepage-hero::after { background: none; }
.customer-site .customer-homepage-hero .hero-content { max-width: 690px; }
.customer-site .customer-homepage-hero .hero-overlay { background: linear-gradient(90deg, rgba(10,30,51,.94), rgba(10,30,51,.84) 36%, rgba(10,30,51,.25) 66%, rgba(10,30,51,.08)); }
@media (min-width: 1041px) and (max-width: 1280px) {
  .customer-site .site-header { gap: 12px; }
  .customer-site .site-header .brand img { width: 160px; }
  .customer-site .nav-links { gap: 10px; font-size: .76rem; }
  .customer-site .header-call { padding: 12px; font-size: .8rem; }
}
html[lang="es"] .customer-site .customer-auto-hero .hero-content { max-width: 720px; }
html[lang="es"] .customer-site .customer-auto-hero h1 {
  font-size: clamp(2.8rem, 5.8vw, 5.2rem);
  line-height: 1.04;
  margin-top: 18px;
  margin-bottom: 24px;
}
html[lang="es"] .customer-site .customer-auto-hero .hero-copy { max-width: 52ch; }
.customer-site .brand-slogan { font-size: 0.85rem; margin: 8px 0; color: #f3f8ff; font-weight: 700; }
.customer-site .hero-actions { gap: 12px; margin-top: 24px; }
.customer-site .hero-actions .button { min-height: 52px; }
.customer-site .full-hero-badges { margin-top: 24px; }
.customer-site .full-hero-badges span { font-size: 0.8rem; padding: 8px 12px; }
.customer-site h2, .customer-site h3 { font-family: "Manrope", "Avenir Next", sans-serif; color: var(--customer-navy); }
.customer-site h2 { font-size: clamp(1.8rem, 3.4vw, 2.85rem); letter-spacing: -0.045em; line-height: 1.15; text-wrap: balance; }
.customer-site h3 { font-size: 1.2rem; line-height: 1.35; letter-spacing: -0.025em; }
.customer-site p { line-height: 1.65; }
.customer-site .customer-section {
  padding: clamp(36px, 6vw, 76px) clamp(20px, 5vw, 76px);
  margin: 0;
}
.customer-site .section-heading { max-width: 760px; margin-bottom: 28px; }
.customer-site .section-heading .eyebrow:empty,
.customer-site .section-heading p:empty { display: none; }
.customer-site .section-heading h2 { margin: 0 0 14px; }
.customer-site .section-heading p { color: var(--customer-text); margin: 0; }
.customer-site .section-heading .eyebrow { color: #2852ad; margin-bottom: 12px; }
.customer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.customer-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  border: 1px solid #dce4ef;
  border-radius: 22px;
  background: linear-gradient(145deg, #fff, #f7faff);
  min-width: 0;
}
.customer-card h3, .customer-card p { margin: 0; }
.customer-card p { color: var(--customer-text); font-size: 0.95rem; }
.customer-card > span { color: #2148a1; font-size: 0.84rem; font-weight: 800; }
.customer-link-card { text-decoration: none; transition: border-color 150ms, background-color 150ms; }
.customer-link-card:hover { border-color: #315ad3; background: #eef4ff; }
.customer-link-card > span { margin-top: auto; padding-top: 12px; }
.customer-paths { background: #fff; border-bottom: 1px solid #e0e8f2; }
.customer-paths .customer-card { border-left: 4px solid #2852c9; }
.customer-site .customer-quote { background: linear-gradient(135deg, #edf3ff, #f3f8fb); }
.customer-site .customer-quote .quick-quote { padding: 0; margin: 0; background: none; border: 0; box-shadow: none; align-items: start; }
.customer-site .quote-copy h2 { margin-bottom: 16px; }
.customer-site .quote-copy p { color: var(--customer-text); }
.customer-site .lead-form { padding: clamp(22px, 3vw, 36px); background: white; min-width: 0; }
.customer-site .lead-form input,
.customer-site .lead-form select,
.customer-site .lead-form textarea { font-size: 16px; }
.customer-site .lead-form [hidden] { display: none !important; }
.customer-site .form-submit-row { display: grid; grid-column: 1 / -1; gap: 12px; }
.customer-site .lead-form .consent-note { font-size: 0.78rem; line-height: 1.55; color: #536276; margin: 0; grid-column: 1 / -1; }
.customer-site .lead-form .form-note { font-size: 0.85rem; line-height: 1.6; }
.customer-site .customer-carriers { padding: clamp(36px, 6vw, 72px) clamp(20px, 5vw, 76px); }
.customer-site .customer-small { font-size: 0.8rem; line-height: 1.6; color: #57687c; }
.customer-site .customer-carriers .customer-small { margin-top: 18px; }
/* Keep the shared heading palette readable on the reviews' dark background. */
.customer-site .reviews .section-heading h2 { color: #ffffff; font-weight: 800; }
.customer-site .reviews .section-heading p,
.customer-site .reviews > .customer-small { color: #d2def4; }
.customer-site .reviews .section-heading .eyebrow { color: #c5d5ff; }
.customer-faq { background: #fff; }
.customer-faq-list { max-width: 960px; }
.customer-faq-list details { border-bottom: 1px solid #dce4ef; padding: 18px 0; }
.customer-faq-list summary { cursor: pointer; font-weight: 800; color: var(--customer-navy); font-size: 1.05rem; line-height: 1.5; padding-right: 20px; }
.customer-faq-list p { color: var(--customer-text); max-width: 78ch; padding: 4px 0 0 20px; }
.customer-locations { background: linear-gradient(155deg, #f6faff, #edf4f5); }
.customer-card > .walk-in-label { color: #2a6c37; }
.customer-action-band { background: #edf3ff; }
.customer-action-band .button { background: var(--customer-blue); color: white; }
.customer-emergency { margin: 32px clamp(20px, 5vw, 76px) 0; padding: 20px 24px; border-left: 4px solid #b23c18; border-radius: 12px; background: #fff3e9; color: #702c15; line-height: 1.6; }
.customer-emergency strong { display: block; }
.customer-online-card { border-radius: 20px; padding: 24px; margin-top: 24px; background: #102d4a; }
.customer-online-card h3 { color: white; margin: 0 0 18px; }
.customer-online-card .button { background: #fff; color: #102d4a; box-shadow: 0 4px 16px #0002; border: 2px solid #a5c7ff; }
.customer-online-card .button:hover { background: #eaf2ff; }
.customer-site .consumer-quote-teaser { font-size: 0.88rem; color: #fff; margin: 18px 0 0; }
.consumer-quote-teaser a { color: inherit; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.consumer-language-note { display: block; font-size: 0.8rem; }
.consumer-quote-card { margin-top: 28px; padding: 24px; border: 1px solid #c1d3eb; border-left: 4px solid #214bea; border-radius: 18px; background: #fff; }
.consumer-quote-card h3 { margin: 0 0 10px; }
.consumer-quote-card p { margin: 0 0 18px; font-size: 0.93rem; }
.consumer-quote-card .button { background: #214bea; color: #fff; }
.consumer-quote-card .consumer-language-note { margin: 12px 0 0; }
.customer-site .nav-links > [data-consumer-quote-link] { color: #2148c4; text-decoration: underline; text-underline-offset: 4px; }
.customer-online-quote .consumer-quote-card { margin-top: 0; padding: clamp(24px, 3vw, 36px); }
.customer-online-quote .consumer-quote-card .button { display: flex; width: 100%; margin-top: 12px; text-align: center; }
.customer-online-quote .consumer-quote-card .secondary { background: #edf3fa; color: #102d4a; border: 1px solid #c1d3eb; }
.customer-online-quote .consumer-quote-card .customer-small { margin: 18px 0 0; }
.customer-online-quote .customer-card .button { margin-top: auto; text-align: center; }
.online-quote-steps { list-style: none; padding: 0; margin: 0; counter-reset: quote-step; display: grid; gap: 20px; }
.online-quote-steps li { counter-increment: quote-step; display: grid; grid-template-columns: 36px 1fr; column-gap: 14px; row-gap: 4px; color: var(--customer-text); line-height: 1.55; }
.online-quote-steps li::before { content: counter(quote-step); grid-row: 1 / 3; display: grid; place-items: center; height: 36px; border-radius: 50%; background: #102d4a; color: white; font-weight: 800; }
.online-quote-steps strong { color: var(--customer-navy); }
.online-quote-steps span { grid-column: 2; font-size: 0.93rem; }
.online-quote-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 24px 48px; align-items: start; }
.online-quote-layout > .section-heading { grid-column: 1; grid-row: 1; margin: 0; }
.online-quote-layout > .consumer-quote-card { grid-column: 2; grid-row: 1 / 3; }
.online-quote-layout > .online-quote-steps { grid-column: 1; grid-row: 2; }
.consumer-quote-open { overflow: hidden; }
.consumer-quote-backdrop { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 16px; background: #071c36b8; backdrop-filter: blur(3px); }
.consumer-quote-backdrop[hidden] { display: none !important; }
.consumer-quote-handoff { width: min(92vw, 520px); max-height: calc(100dvh - 32px); box-sizing: border-box; overflow-y: auto; border: 0; border-radius: 24px; padding: clamp(24px, 5vw, 36px); color: #465a70; background: #fff; box-shadow: 0 24px 80px #06132966; }
.consumer-quote-handoff > img { display: block; width: 280px; max-width: 100%; height: auto; margin-bottom: 26px; }
.customer-site .consumer-quote-handoff h2 { font-size: clamp(1.65rem, 5vw, 2rem); margin: 0 0 16px; }
.consumer-quote-handoff p { margin: 0 0 16px; }
.consumer-quote-actions { display: grid; gap: 12px; margin-top: 24px; }
.consumer-quote-actions .button { width: 100%; min-height: 48px; text-align: center; }
.consumer-quote-actions .primary { background: #214bea; color: #fff; }
.consumer-quote-actions .secondary { background: #edf3fa; color: #102d4a; border: 1px solid #c1d3eb; }
.consumer-quote-back { padding: 12px; border: 0; border-radius: 12px; background: transparent; color: #465a70; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.customer-footer {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 32px;
  padding: 60px clamp(20px, 5vw, 76px) 40px;
  background: #102d4a;
  color: #eaf3ff;
}
.customer-footer img { display: block; width: 260px; height: auto; max-width: 100%; background: #fff; padding: 12px; border-radius: 12px; }
.customer-site .customer-footer h2 { font-size: 1rem; color: white; margin: 0 0 16px; letter-spacing: 0; }
.customer-footer a { display: block; width: fit-content; padding: 7px 0; font-size: 0.9rem; color: #eaf3ff; text-decoration: none; }
.customer-footer a:hover { text-decoration: underline; }
.customer-footer p { font-size: 0.88rem; }
.customer-footer-note { grid-column: 1 / -1; border-top: 1px solid #ffffff30; margin: 0; padding-top: 24px; color: #cbd8e8; }
.customer-site .sr22-handoff-card,
.customer-site .client-handoff-card { max-height: calc(100dvh - 36px); overflow-y: auto; }
.customer-site .mobile-cta .button { font-size: 0.85rem; padding: 10px; }
@media (max-width: 1040px) {
  .customer-site .site-header.navigation-ready .nav-links {
    gap: 6px;
    padding: 14px;
    border-color: #dce4ef;
    border-radius: 18px;
    max-height: calc(100dvh - 180px);
  }
  .customer-site .site-header.navigation-ready.is-menu-open .nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .customer-site .site-header.navigation-ready .nav-links > a {
    min-height: 48px;
    padding: 12px;
    font-size: 0.9rem;
    line-height: 1.4;
    border-radius: 10px;
  }
  .customer-site .site-header.navigation-ready .nav-links > a[aria-current="page"] { background: #edf3ff; }
  .customer-site .site-header.navigation-ready .nav-links > [data-consumer-quote-link] {
    grid-column: 1 / -1;
    justify-content: center;
    margin-bottom: 6px;
    background: #214bea;
    color: #fff;
    text-decoration: none;
  }
  .customer-site .site-header.navigation-ready .nav-links > [data-consumer-quote-link]:hover { background: #173bbf; }
  .customer-site .site-header.navigation-ready .nav-links > .language-switch {
    grid-column: 1 / -1;
    justify-content: center;
    margin-top: 4px;
    border-top: 1px solid #dce4ef;
    border-radius: 0;
  }
  .customer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .customer-site .customer-quote .quick-quote { grid-template-columns: 1fr; }
  .customer-site .quote-steps { max-width: 480px; }
  .online-quote-layout { grid-template-columns: 1fr; gap: 24px; }
  .online-quote-layout > .consumer-quote-card { grid-column: 1; grid-row: 2; }
  .online-quote-layout > .online-quote-steps { grid-column: 1; grid-row: 3; }
}
@media (max-width: 680px) {
  .customer-site .reviews .section-heading h2 { font-size: clamp(1.5rem, 6.3vw, 1.8rem); line-height: 1.2; }
  .customer-site .site-header.navigation-ready {
    grid-template-columns: minmax(0, 1fr) 50px;
    gap: 14px;
    padding: 10px 12px;
    border-radius: 18px;
    background: rgba(255,255,255,.97);
  }
  .customer-site .site-header .brand img { width: 240px; max-width: 100%; }
  .customer-site .site-header.navigation-ready > .header-call { display: none; }
  .customer-site .site-header.navigation-ready .nav-menu-toggle { min-width: 48px; min-height: 48px; border-radius: 12px; }
  .customer-site .site-header.navigation-ready .nav-links { left: 0; right: 0; top: calc(100% + 8px); }
  .customer-site .phone-number { display: none; }
  .customer-site .phone-label { display: inline; }
  .customer-site .customer-hero { padding: 108px 20px 36px; }
  .customer-site .hero h1 { font-size: clamp(2rem, 9vw, 2.75rem); max-width: 18ch; margin: 12px 0 18px; }
  html[lang="es"] .customer-site .customer-auto-hero h1 {
    font-size: clamp(2.1rem, 10vw, 2.65rem);
    line-height: 1.08;
    margin: 14px 0 20px;
  }
  .customer-site .hero-copy { font-size: 1rem; line-height: 1.55; }
  .customer-site .hero-overlay { background: linear-gradient(90deg, rgba(10,30,51,.88), rgba(10,30,51,.68)); }
  .customer-site .customer-auto-hero .hero-image { object-position: 88% center; }
  .customer-site .customer-scene-hero .hero-image { object-position: 82% center; }
  .customer-site .customer-homepage-hero .hero-image { object-position: 87% center; }
  .customer-site .customer-homepage-hero .hero-overlay { background: linear-gradient(90deg, rgba(10,30,51,.9), rgba(10,30,51,.72)); }
  .customer-site .customer-auto-hero .hero-overlay {
    background: linear-gradient(90deg, rgba(10,30,51,.9), rgba(10,30,51,.72)), linear-gradient(0deg, rgba(10,30,51,.3), transparent 70%);
  }
  .customer-site .hero-actions { display: grid; gap: 10px; }
  .customer-site .hero-actions .button { width: 100%; }
  .customer-site .full-hero-badges { margin-top: 20px; gap: 8px; }
  .customer-site .full-hero-badges span { font-size: 0.7rem; padding: 7px 9px; }
  .customer-grid { grid-template-columns: 1fr; gap: 14px; }
  .customer-card { padding: 23px; }
  .customer-site .customer-quote .quick-quote { gap: 28px; }
  .customer-site .lead-form { padding: 22px; }
  .customer-site .customer-online-quote { padding: 28px 20px; }
  .customer-online-quote .section-heading h2 { font-size: clamp(1.4rem, 6vw, 1.7rem); line-height: 1.2; margin-bottom: 10px; text-wrap: initial; }
  .customer-online-quote .section-heading .eyebrow { font-size: 0.72rem; margin-bottom: 8px; }
  .customer-online-quote .section-heading > p:last-child { font-size: 0.95rem; line-height: 1.5; }
  .customer-online-quote .consumer-quote-card { padding: 18px; border-radius: 16px; }
  .customer-online-quote .consumer-quote-card h3 { font-size: 1.05rem; margin-bottom: 14px; }
  .customer-online-quote .consumer-quote-card .button { min-height: 48px; margin-top: 8px; font-size: 0.94rem; padding: 12px; }
  .customer-online-quote .consumer-quote-card .customer-small { font-size: 0.78rem; line-height: 1.5; margin-top: 12px; }
  .online-quote-steps { gap: 18px; }
  .online-quote-steps li { grid-template-columns: 30px 1fr; column-gap: 10px; }
  .online-quote-steps li::before { height: 30px; font-size: 0.85rem; }
  .online-quote-steps strong { font-size: 0.96rem; line-height: 1.4; }
  .online-quote-steps span { font-size: 0.9rem; line-height: 1.5; }
  .consumer-quote-handoff { padding: 22px; border-radius: 18px; }
  .consumer-quote-handoff > img { width: 220px; margin-bottom: 18px; }
  .customer-site .consumer-quote-handoff h2 { font-size: 1.5rem; margin-bottom: 12px; }
  .consumer-quote-handoff p { font-size: 0.94rem; line-height: 1.5; margin-bottom: 12px; }
  .customer-site .consumer-quote-handoff .customer-small { font-size: 0.78rem; }
  .consumer-quote-actions { gap: 8px; margin-top: 16px; }
  .customer-footer { grid-template-columns: 1fr 1fr; padding-bottom: 108px; gap: 30px 18px; }
  .customer-footer > div:first-child { grid-column: 1 / -1; }
  .customer-site .sr22-handoff-card, .customer-site .client-handoff-card { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .customer-site *, .customer-site *::before, .customer-site *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
