:root {
  /* Your Choice Autos brand palette: logo red, deep navy, black sign, white/silver accents */
  --yc-black: #05070d;
  --yc-black-soft: #101319;
  --yc-navy: #001a5c;
  --yc-navy-bright: #063b91;
  --yc-red: #e30613;
  --yc-red-dark: #a9000b;
  --yc-white: #ffffff;
  --yc-silver: #eef2f8;
  --yc-silver-dark: #c8d1df;

  --bg: var(--yc-black);
  --surface: #0b1020;
  --card: var(--yc-white);
  --text: #111827;
  --muted: #5d6675;
  --accent: var(--yc-red);
  --accent-dark: var(--yc-red-dark);
  --navy: var(--yc-navy);
  --light: #f4f6fb;
  --border: #d9e0eb;
  --shadow: 0 22px 48px rgba(0, 0, 0, 0.22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--light);
  line-height: 1.6;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .75rem clamp(1rem, 4vw, 4rem);
  background: linear-gradient(90deg, var(--yc-black) 0%, #0b1224 55%, var(--yc-navy) 100%);
  border-bottom: 4px solid var(--yc-red);
  box-shadow: 0 10px 25px rgba(0, 0, 0, .28);
}
.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  min-width: 235px;
  color: var(--yc-white);
}
.brand-logo {
  width: 70px;
  height: 50px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .4));
}
.brand small { display: block; color: var(--yc-silver-dark); font-size: .78rem; }
.nav { display: flex; gap: 1rem; }
.nav a { text-decoration: none; color: var(--yc-silver); font-weight: 800; }
.nav a:hover { color: var(--yc-red); }
.header-call {
  background: var(--yc-red);
  color: white;
  padding: .7rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 10px 20px rgba(227, 6, 19, .28);
}
.header-call:hover { background: var(--yc-red-dark); }
.header-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.language-switch {
  display: inline-flex;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(238, 242, 248, .28);
  border-radius: 999px;
  padding: .25rem;
  gap: .15rem;
}
.lang-option {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--yc-silver);
  font: inherit;
  font-weight: 900;
  padding: .52rem .75rem;
  cursor: pointer;
}
.lang-option:hover {
  color: white;
}
.lang-option.active {
  background: var(--yc-white);
  color: var(--yc-navy);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .18);
}

.section { padding: clamp(3rem, 6vw, 6rem) clamp(1rem, 5vw, 5rem); }
.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  gap: 2rem;
  align-items: center;
  color: white;
  overflow: hidden;
  background: var(--yc-black);
}
.hero-bg,
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 7, 13, .42) 0%, rgba(5, 7, 13, .22) 48%, rgba(5, 7, 13, .18) 100%),
    linear-gradient(180deg, rgba(5, 7, 13, .04), rgba(5, 7, 13, .28));
}
.hero-bg {
  background-image: url("assets/images/patriotic-usa-mexico-hero-filled.png");
  background-size: cover;
  background-position: center center;
  transform: none;
  opacity: 1;
  filter: brightness(1.12) saturate(1.10) contrast(1.04);
}
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 7, 13, .88) 0%, rgba(5, 7, 13, .68) 48%, rgba(0, 26, 92, .42) 100%),
    linear-gradient(180deg, rgba(5, 7, 13, .18), rgba(5, 7, 13, .82));
}
.hero-content,
.hero-card { position: relative; z-index: 1; }
.hero h1 {
  max-width: 860px;
  font-size: clamp(2.5rem, 6vw, 5.25rem);
  line-height: .95;
  margin: .5rem 0 1rem;
  text-shadow: 0 8px 24px rgba(0, 0, 0, .45);
}
.lead { max-width: 720px; font-size: 1.18rem; color: #e6edf8; }
.eyebrow {
  color: var(--yc-red);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 900;
  font-size: .78rem;
  margin: 0 0 .5rem;
}
.hero .eyebrow { color: var(--yc-white); }
.cta-row { display: flex; flex-wrap: wrap; gap: .85rem; margin: 1.75rem 0; }
.button {
  display: inline-block;
  border: none;
  border-radius: 999px;
  padding: .9rem 1.25rem;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}
.button.primary { background: var(--yc-red); color: white; box-shadow: 0 12px 24px rgba(227, 6, 19, .26); }
.button.primary:hover { background: var(--yc-red-dark); }
.button.secondary { background: white; color: var(--yc-black); }
.button.secondary:hover { background: var(--yc-silver); }
.spanish-line {
  display: inline-block;
  color: var(--yc-white);
  font-weight: 900;
  border-left: 5px solid var(--yc-red);
  padding: .4rem 0 .4rem .85rem;
  background: rgba(0, 26, 92, .38);
}
.hero-card {
  background: rgba(5, 7, 13, .72);
  border: 1px solid rgba(238, 242, 248, .28);
  border-top: 5px solid var(--yc-red);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}
.hero-logo {
  width: min(100%, 360px);
  margin: 0 auto 1.25rem;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,.45));
}
.hero-card h2 { margin-top: 0; font-size: 1.8rem; }
.hero-card li { margin-bottom: .5rem; }
.photo-banner {
  padding: 0;
  background: var(--yc-black);
}
.photo-banner img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  object-position: center;
  border-top: 6px solid var(--yc-red);
  border-bottom: 6px solid var(--yc-red);
}
.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  background: linear-gradient(180deg, var(--yc-white), #f6f8fc);
}
.trust-strip div, .step, .vehicle-card, .lead-form, details, .gallery-grid figure {
  background: white;
  border: 1px solid var(--border);
  border-top: 4px solid var(--yc-navy);
  border-radius: 18px;
  padding: 1.25rem;
  box-shadow: 0 10px 25px rgba(17, 24, 39, .07);
}
.trust-strip div:first-child,
.vehicle-card.featured-card,
.step:first-child { border-top-color: var(--yc-red); }
.trust-strip strong { display: block; font-size: 1.1rem; color: var(--yc-navy); }
.trust-strip span { color: var(--muted); }
.split {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 2rem;
  align-items: start;
}
.section h2 { font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.05; margin: .25rem 0 1rem; color: var(--yc-black); }
.note {
  padding: 1rem;
  border-left: 5px solid var(--yc-red);
  background: white;
  border-radius: 0 12px 12px 0;
  color: var(--muted);
}
.inventory-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.vehicle-photo, .vehicle-img {
  width: 100%;
  min-height: 170px;
  height: 180px;
  border-radius: 14px;
  margin-bottom: 1rem;
  object-fit: cover;
  background: linear-gradient(135deg, #dfe4ec, #f7f8fb);
}
.vehicle-photo {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 900;
  border: 2px dashed var(--yc-silver-dark);
}
.vehicle-card h3 { margin-bottom: .25rem; color: var(--yc-navy); }
.price { color: var(--yc-red); font-weight: 900; }
.vehicle-card a { color: var(--yc-navy); font-weight: 900; }
.gallery-section { background: #f7f9fc; }
.gallery-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 1rem; align-items: stretch; }
.gallery-grid figure { margin: 0; display: grid; align-content: start; gap: .75rem; }
.gallery-grid img { width: 100%; border-radius: 14px; object-fit: cover; }
.logo-figure img { object-fit: contain; background: var(--yc-black); padding: 1rem; }
figcaption { color: var(--muted); font-weight: 800; }
.financing { background: linear-gradient(135deg, #eef2f8 0%, #ffffff 56%, #edf3ff 100%); }
.section-heading { max-width: 760px; margin-bottom: 2rem; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.step span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--yc-red);
  color: white;
  font-weight: 900;
  box-shadow: 0 10px 18px rgba(227, 6, 19, .2);
}
.bilingual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  background: linear-gradient(90deg, var(--yc-black) 0%, #07122d 52%, var(--yc-navy) 100%);
  color: white;
  border-top: 6px solid var(--yc-red);
  border-bottom: 6px solid var(--yc-red);
}
.bilingual h2 { color: white; }
.bilingual p { color: #dbe4f2; }
.faq { background: white; }
details { margin-bottom: .85rem; }
summary { font-weight: 900; cursor: pointer; color: var(--yc-navy); }
.contact-section {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 2rem;
  background: #f7f9fc;
}
.contact-logo {
  width: min(100%, 360px);
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: 18px;
  background: var(--yc-black);
  border: 4px solid var(--yc-red);
}
.lead-form { display: grid; gap: .85rem; border-top-color: var(--yc-red); }
.lead-form h3 { margin: 0; color: var(--yc-navy); }
.lead-form label { display: grid; gap: .35rem; font-weight: 800; }
.lead-form input, .lead-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: .85rem;
  font: inherit;
}
.lead-form input:focus, .lead-form textarea:focus {
  outline: 3px solid rgba(0, 26, 92, .18);
  border-color: var(--yc-navy-bright);
}
.checkbox { grid-template-columns: auto 1fr !important; align-items: start; font-weight: 400 !important; color: var(--muted); }
.checkbox input { width: auto; margin-top: .35rem; }
.hidden { display: none; }
.footer {
  padding: 2rem clamp(1rem, 5vw, 5rem);
  background: linear-gradient(90deg, var(--yc-black) 0%, #07122d 60%, var(--yc-navy) 100%);
  color: #c9d3e6;
  font-size: .92rem;
  display: grid;
  gap: .5rem;
  border-top: 6px solid var(--yc-red);
}
.footer-logo { width: 120px; }
@media (max-width: 1000px) {
  .site-header { flex-wrap: wrap; }
  .nav { order: 3; width: 100%; justify-content: center; flex-wrap: wrap; }
  .hero, .split, .contact-section, .bilingual, .facebook-section { grid-template-columns: 1fr; }
  .inventory-grid, .steps, .trust-strip, .gallery-grid { grid-template-columns: 1fr; }
  .header-actions { margin-left: auto; }
  .hero { min-height: auto; }
}
@media (max-width: 640px) {
  .brand span { display: none; }
  .brand { min-width: auto; }
  .brand-logo { width: 86px; height: 58px; }
  .header-call { font-size: .88rem; padding: .62rem .8rem; }
  .language-switch { width: 100%; justify-content: center; }
  .lang-option { flex: 1; padding: .48rem .55rem; }
  .hero { padding-top: 4rem; padding-bottom: 4rem; }
  .hero-bg { background-position: 60% top; }
}
.success-switch {
  margin-bottom: 1.5rem;
  width: fit-content;
}


.brand-logo,
.hero-logo,
.contact-logo,
.footer-logo,
.success-logo {
  object-fit: contain;
}
.facebook-section {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 500px);
  gap: 2rem;
  align-items: start;
  background: linear-gradient(135deg, var(--yc-black) 0%, #07122d 52%, var(--yc-navy) 100%);
  color: white;
  border-top: 6px solid var(--yc-red);
  border-bottom: 6px solid var(--yc-red);
}
.facebook-section h2 { color: white; }
.facebook-section p { color: #dbe4f2; }
.facebook-copy { max-width: 760px; }
.facebook-page-button { margin: .75rem 0 1rem; }
.facebook-note {
  font-size: .95rem;
  border-left: 5px solid var(--yc-red);
  padding: .65rem 0 .65rem 1rem;
  background: rgba(255,255,255,.08);
  border-radius: 0 12px 12px 0;
}
.facebook-feed-card {
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  background: white;
  border: 1px solid rgba(238, 242, 248, .35);
  border-top: 5px solid var(--yc-red);
  border-radius: 20px;
  padding: 1rem;
  box-shadow: var(--shadow);
}
.facebook-feed {
  display: block;
  width: 100%;
  max-width: 500px;
  height: 720px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
}
.footer-links a {
  color: white;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: var(--yc-red);
  text-underline-offset: 4px;
}
.success-logo {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  margin: 0 0 1rem;
  padding: 1rem;
  border-radius: 18px;
  background: rgba(5, 7, 13, .72);
  border: 3px solid var(--yc-red);
  filter: drop-shadow(0 12px 24px rgba(0,0,0,.35));
}



.heritage-banner {
  position: relative;
  background: var(--yc-black);
  border-top: 6px solid var(--yc-red);
  border-bottom: 6px solid var(--yc-red);
  overflow: hidden;
}
.heritage-banner img {
  width: 100%;
  min-height: 360px;
  max-height: 560px;
  object-fit: cover;
  object-position: center;
  display: block;
}
.heritage-copy {
  position: absolute;
  left: clamp(1rem, 5vw, 5rem);
  bottom: clamp(1rem, 4vw, 3rem);
  max-width: 760px;
  padding: 1.25rem 1.5rem;
  border-left: 6px solid var(--yc-red);
  background: rgba(5, 7, 13, .78);
  backdrop-filter: blur(6px);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.heritage-copy h2 {
  color: white;
  margin: .25rem 0 0;
  font-size: clamp(1.7rem, 3.5vw, 3rem);
}
.heritage-copy .eyebrow {
  color: white;
}
@media (max-width: 760px) {
  .heritage-copy {
    position: static;
    margin: 0;
    border-radius: 0;
  }
  .heritage-banner img {
    min-height: 260px;
  }
}

/* ===== Mobile and tablet polish pass ===== */
* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body { overflow-x: hidden; }

img, iframe, video { max-width: 100%; }

.page-anchor { position: absolute; top: 0; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 9999;
  background: var(--yc-red);
  color: white;
  padding: .75rem 1rem;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  transition: top .2s ease;
}

.skip-link:focus { top: 1rem; }

.site-header { gap: 1rem; }
.brand, .brand span, .header-actions { min-width: 0; }
.brand strong, .brand small { overflow-wrap: anywhere; }

.nav a, .header-call, .button, .lang-option,
.lead-form input, .lead-form textarea, .lead-form button {
  min-height: 44px;
}

.button, .header-call, .lang-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-card, .vehicle-card, .lead-form, .facebook-feed-card,
.trust-strip div, .gallery-grid figure, details {
  min-width: 0;
}

.facebook-feed-card { overflow: hidden; }

.facebook-feed {
  width: 100% !important;
  max-width: 500px;
  min-height: 640px;
  display: block;
  margin: 0 auto;
}

.lead-form input, .lead-form textarea, .lead-form select {
  width: 100%;
  font-size: 16px;
}

.lead-form textarea { resize: vertical; }
.language-switch { flex-wrap: wrap; }

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: 1fr;
    align-items: stretch;
    position: sticky;
    top: 0;
  }

  .brand {
    justify-content: center;
    text-align: center;
  }

  .brand-logo {
    width: 110px;
    height: auto;
    object-fit: contain;
  }

  .nav {
    justify-content: center;
    gap: .45rem;
  }

  .nav a {
    padding: .7rem .8rem;
    border-radius: 999px;
    background: rgba(255,255,255,.06);
  }

  .header-actions { justify-content: center; }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: clamp(3rem, 8vw, 5rem);
    padding-bottom: clamp(3rem, 8vw, 5rem);
  }

  .hero-content { max-width: 840px; }
  .hero-card { max-width: 680px; }
  .hero-logo { width: min(100%, 320px); }

  .split, .contact-section, .bilingual, .facebook-section {
    grid-template-columns: 1fr;
  }

  .inventory-grid, .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-strip { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .section {
    padding: clamp(2rem, 7vw, 4rem) clamp(1rem, 4vw, 2rem);
  }

  .site-header { padding: .75rem 1rem; }
  .brand { gap: .7rem; }
  .brand-logo { width: 96px; }
  .brand strong { font-size: 1rem; }
  .brand small { font-size: .78rem; }

  .nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }

  .nav a {
    font-size: .82rem;
    padding: .65rem .45rem;
    white-space: normal;
  }

  .header-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    gap: .6rem;
  }

  .language-switch {
    justify-content: center;
    width: 100%;
  }

  .lang-option { flex: 1 1 130px; }
  .header-call { width: 100%; }

  .hero {
    text-align: left;
    min-height: auto;
    background: var(--yc-black);
  }

  .hero-bg {
    background-position: center center;
    opacity: .92;
  }

  .hero h1 {
    font-size: clamp(2.1rem, 10vw, 3.4rem);
    line-height: 1.02;
  }

  .lead { font-size: 1rem; }

  .cta-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: .7rem;
  }

  .button {
    width: 100%;
    padding: .95rem 1rem;
  }

  .spanish-line {
    display: block;
    font-size: .95rem;
  }

  .hero-card {
    padding: 1.25rem;
    border-radius: 18px;
  }

  .hero-logo { width: min(100%, 270px); }

  .heritage-banner img {
    min-height: 260px;
    max-height: 420px;
    object-position: center;
  }

  .heritage-copy {
    position: static;
    border-radius: 0;
    border-left: none;
    border-top: 5px solid var(--yc-red);
    max-width: none;
  }

  .inventory-grid, .gallery-grid { grid-template-columns: 1fr; }

  .vehicle-card img, .vehicle-img, .gallery-grid img {
    max-height: 280px;
    object-fit: cover;
  }

  .facebook-feed-card { padding: 1rem; }

  .facebook-feed {
    height: 620px !important;
    min-height: 620px;
  }

  .contact-logo, .footer-logo {
    max-width: 220px;
    width: 100%;
    height: auto;
  }

  .footer { text-align: center; }
}

@media (max-width: 520px) {
  .site-header { gap: .65rem; }
  .brand-logo { width: 82px; }

  .nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav a { font-size: .8rem; }

  .language-switch { gap: .45rem; }

  .lang-option {
    flex-basis: calc(50% - .45rem);
    padding-left: .6rem;
    padding-right: .6rem;
  }

  .hero {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero h1 { font-size: clamp(1.9rem, 12vw, 2.8rem); }

  .eyebrow {
    font-size: .7rem;
    letter-spacing: .09em;
  }

  .hero-card h2, .section h2, .heritage-copy h2 {
    font-size: clamp(1.55rem, 8vw, 2.1rem);
  }

  .hero-logo { width: min(100%, 230px); }

  .trust-strip div, .step, .vehicle-card, .lead-form, details, .gallery-grid figure {
    padding: 1rem;
    border-radius: 14px;
  }

  .lead-form { gap: .85rem; }
  .lead-form h3 { font-size: 1.4rem; }

  .facebook-feed-card {
    padding: .6rem;
    border-radius: 16px;
  }

  .facebook-feed {
    min-height: 560px;
    height: 560px !important;
  }

  .footer-logo { width: 160px; }
}

@media (max-width: 380px) {
  .brand { flex-direction: column; }
  .brand-logo { width: 88px; }
  .nav { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
  .hero-logo { width: 200px; }

  .facebook-feed {
    min-height: 520px;
    height: 520px !important;
  }
}

@media (max-height: 520px) and (orientation: landscape) {
  .site-header { position: relative; }

  .hero {
    min-height: auto;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .hero h1 { font-size: 2.4rem; }
}


/* ===== Centered header logo refinement ===== */
.site-header {
  grid-template-columns: 1fr auto 1fr;
}

.brand {
  grid-column: 2;
  justify-self: center;
  flex-direction: column;
  text-align: center;
  gap: .35rem;
}

.brand-logo {
  margin-left: auto;
  margin-right: auto;
}

.nav {
  grid-column: 1 / -1;
  justify-content: center;
  justify-self: center;
  width: 100%;
}

.header-actions {
  grid-column: 1 / -1;
  justify-content: center;
  justify-self: center;
  width: 100%;
}

.mobile-menu-toggle {
  grid-column: 1 / -1;
  justify-self: center;
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: 1fr;
  }

  .brand {
    grid-column: 1;
    justify-self: center;
  }

  .nav,
  .header-actions,
  .mobile-menu-toggle {
    grid-column: 1;
  }
}

@media (max-width: 520px) {
  .brand {
    width: 100%;
  }

  .brand-logo {
    width: 96px;
  }
}

/* ===== Reliable iPhone hamburger navigation ===== */
.mobile-menu-toggle {
  display: none;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(5, 7, 13, .92);
  color: white;
  border-radius: 999px;
  padding: .75rem 1rem;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  font-weight: 900;
  cursor: pointer;
  width: 100%;
}

.hamburger-bars {
  width: 22px;
  height: 18px;
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: white;
  border-radius: 99px;
  transition: transform .2s ease, opacity .2s ease;
}

.menu-label {
  font-size: .95rem;
}

.nav {
  justify-content: center;
}

@media (max-width: 520px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    grid-column: 1 / -1;
    justify-self: stretch;
  }

  .mobile-menu-toggle.is-open .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .mobile-menu-toggle.is-open .hamburger-line:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.is-open .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  #primary-navigation.nav {
    display: none;
    width: 100%;
    grid-template-columns: 1fr;
    gap: .45rem;
    padding: .55rem;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 18px;
    background: rgba(5, 7, 13, .97);
    box-shadow: 0 14px 28px rgba(0,0,0,.32);
  }

  #primary-navigation.nav.is-open,
  .mobile-menu-open #primary-navigation.nav {
    display: grid;
  }

  #primary-navigation.nav a {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    padding: .85rem 1rem;
    font-size: .92rem;
    border-radius: 14px;
    background: rgba(255,255,255,.07);
  }

  #primary-navigation.nav a:hover,
  #primary-navigation.nav a:focus {
    background: rgba(227, 6, 19, .28);
  }
}

@media (min-width: 521px) {
  .mobile-menu-toggle {
    display: none !important;
  }

  #primary-navigation.nav {
    display: flex !important;
  }
}

/* ===== Facebook post gallery replacement ===== */
.facebook-post-gallery {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 500px);
  gap: 2rem;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(255,255,255,.10), transparent 18%),
    radial-gradient(circle at 88% 12%, rgba(255,255,255,.10), transparent 16%),
    radial-gradient(circle at 18% 88%, rgba(227, 6, 19, .20), transparent 22%),
    radial-gradient(circle at 90% 78%, rgba(24, 119, 242, .28), transparent 24%),
    linear-gradient(135deg, #071227 0%, #0d234b 38%, #112c5b 60%, #06111f 100%);
  color: white;
  border-top: 1px solid rgba(255,255,255,.10);
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.facebook-post-gallery h2,
.facebook-post-gallery h3 {
  color: white;
}

.facebook-post-gallery p,
.facebook-post-gallery li {
  color: #e6edf8;
}

.facebook-post-copy {
  position: relative;
  z-index: 1;
  max-width: 860px;
  padding: 1.15rem;
  border-radius: 28px;
  background: rgba(5, 7, 13, .24);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
}

.facebook-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin: 1.4rem 0 1rem;
}

.facebook-logo-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.2rem 0 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.16);
  background: linear-gradient(135deg, rgba(24, 119, 242, .30), rgba(24, 119, 242, .12));
  color: white;
  text-decoration: none;
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.facebook-logo-link:hover,
.facebook-logo-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 22px 46px rgba(0,0,0,.26);
  border-color: rgba(255,255,255,.28);
}

.facebook-big-icon {
  width: 92px;
  height: 92px;
  flex: 0 0 92px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  background: #1877f2;
  color: white;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 5rem;
  line-height: 1;
  font-weight: 900;
  box-shadow: 0 14px 26px rgba(24,119,242,.34);
}

.facebook-logo-text {
  display: flex;
  flex-direction: column;
  gap: .2rem;
}

.facebook-logo-text strong {
  color: white;
  font-size: 1.12rem;
}

.facebook-logo-text small {
  color: #dbe8ff;
  font-size: .95rem;
}

.customer-guide {
  margin-top: 1rem;
  padding: 1.25rem;
  border: 1px solid rgba(255,255,255,.14);
  border-left: 5px solid #1877f2;
  border-radius: 18px;
  background: rgba(255,255,255,.08);
}

.customer-guide h3 {
  margin-top: 0;
}

.customer-guide ol {
  padding-left: 1.25rem;
  margin-bottom: 0;
}

.customer-guide li {
  margin-bottom: .55rem;
}

.facebook-note {
  margin-top: 1rem;
}

.facebook-phone-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 530px;
  margin: 0 auto;
  padding: .9rem;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 28px;
  background: rgba(5, 7, 13, .90);
  box-shadow: var(--shadow);
}

.phone-frame-top {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .7rem;
  border-radius: 18px;
  background: rgba(24, 119, 242, .18);
  color: white;
  font-weight: 900;
}

.facebook-gallery-feed {
  width: 100% !important;
  max-width: 500px;
  height: 760px !important;
  display: block;
  margin: 0 auto;
  border-radius: 14px;
  background: white;
}

@media (max-width: 1100px) {
  .facebook-post-gallery {
    grid-template-columns: 1fr;
  }

  .facebook-post-copy {
    max-width: none;
  }
}

@media (max-width: 820px) {
  .facebook-post-gallery {
    padding-left: 1rem;
    padding-right: 1rem;
    gap: 1.2rem;
    background:
      radial-gradient(circle at 14% 12%, rgba(255,255,255,.10), transparent 18%),
      radial-gradient(circle at 82% 86%, rgba(24,119,242,.24), transparent 26%),
      linear-gradient(180deg, #08162b 0%, #0a2250 48%, #07111d 100%);
  }

  .facebook-post-copy {
    padding: 1rem;
    border-radius: 22px;
  }

  .facebook-action-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .facebook-logo-link {
    padding: .95rem;
    border-radius: 20px;
  }

  .facebook-big-icon {
    width: 78px;
    height: 78px;
    flex-basis: 78px;
    font-size: 4.3rem;
  }

  .facebook-phone-frame {
    padding: .6rem;
    border-radius: 22px;
  }

  .facebook-gallery-feed {
    height: 650px !important;
  }
}

@media (max-width: 520px) {
  .facebook-logo-link {
    flex-direction: row;
    align-items: center;
    gap: .85rem;
  }

  .facebook-logo-text strong {
    font-size: 1rem;
  }

  .facebook-logo-text small {
    font-size: .88rem;
  }

  .facebook-gallery-feed {
    height: 590px !important;
  }

  .customer-guide {
    padding: 1rem;
  }
}

/* ===== Flat desktop header restoration ===== */
@media (min-width: 821px) {
  .site-header {
    display: grid;
    grid-template-columns: auto minmax(360px, 1fr) auto;
    align-items: center;
    gap: 1rem;
    padding: .55rem clamp(1.25rem, 3vw, 3rem);
    min-height: 84px;
  }

  .brand {
    grid-column: 1;
    justify-self: start;
    flex-direction: row;
    text-align: left;
    gap: .75rem;
  }

  .brand-logo {
    width: 112px;
    height: 64px;
    object-fit: contain;
    margin: 0;
  }

  .brand strong {
    font-size: 1rem;
    line-height: 1.1;
  }

  .brand small {
    font-size: .78rem;
    line-height: 1.1;
  }

  #primary-navigation.nav,
  .nav {
    grid-column: 2;
    grid-row: 1;
    display: flex !important;
    justify-content: center;
    justify-self: center;
    align-items: center;
    width: auto;
    gap: .45rem;
  }

  #primary-navigation.nav a,
  .nav a {
    min-height: 42px;
    padding: .62rem .78rem;
    font-size: .9rem;
    line-height: 1;
  }

  .header-actions {
    grid-column: 3;
    grid-row: 1;
    justify-content: end;
    justify-self: end;
    align-items: center;
    width: auto;
    gap: .55rem;
  }

  .language-switch {
    flex-wrap: nowrap;
  }

  .lang-option {
    min-height: 38px;
    padding: .5rem .7rem;
    font-size: .82rem;
  }

  .header-call {
    min-height: 40px;
    padding: .58rem .8rem;
    font-size: .85rem;
    white-space: nowrap;
  }

  .mobile-menu-toggle {
    display: none !important;
  }
}

@media (min-width: 1280px) {
  .site-header {
    grid-template-columns: auto minmax(460px, 1fr) auto;
    min-height: 88px;
  }

  .brand-logo {
    width: 126px;
    height: 70px;
  }

  #primary-navigation.nav a,
  .nav a {
    padding-left: .9rem;
    padding-right: .9rem;
  }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr;
  }
}

/* ===== Obvious visible flag hero correction ===== */
.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  gap: 2rem;
  align-items: center;
  color: white;
  overflow: hidden;
  background-image: url("assets/images/hero-flags-obvious-background.png") !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

.hero-bg,
.hero-overlay {
  display: none !important;
}

.hero-content,
.hero-card {
  position: relative;
  z-index: 2;
}

.hero-content {
  padding: clamp(1.25rem, 2.5vw, 2rem);
  border-radius: 22px;
  background: rgba(5, 7, 13, .52) !important;
  backdrop-filter: blur(2px);
  max-width: 930px;
}

.hero-card {
  background: rgba(5, 7, 13, .50) !important;
  border: 1px solid rgba(238, 242, 248, .38);
  backdrop-filter: blur(4px);
}

.hero h1,
.hero .eyebrow,
.lead,
.spanish-line {
  text-shadow: 0 3px 14px rgba(0, 0, 0, .70);
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
}

@media (max-width: 820px) {
  .hero {
    background-position: center top !important;
    padding-top: clamp(2.5rem, 8vw, 4rem);
    padding-bottom: clamp(2.5rem, 8vw, 4rem);
  }

  .hero-content {
    background: rgba(5, 7, 13, .62) !important;
  }

  .hero-card {
    background: rgba(5, 7, 13, .60) !important;
  }
}
/* ===== Community family banner refinement ===== */
.heritage-banner {
  position: relative;
}
.heritage-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5,7,13,.38) 0%, rgba(5,7,13,.18) 46%, rgba(5,7,13,.30) 100%);
  pointer-events: none;
}
.heritage-banner img {
  filter: brightness(.74) saturate(.90);
  object-position: center center;
}
.heritage-copy {
  z-index: 2;
  background: rgba(5, 7, 13, .68);
}
@media (max-width: 760px) {
  .heritage-banner::after { display:none; }
  .heritage-banner img { filter: brightness(.82) saturate(.94); }
}

/* ===== Header restored / protected from hero background ===== */
.site-header {
  background: linear-gradient(90deg, #05070d 0%, #07122d 55%, #08245d 100%) !important;
  border-bottom: 4px solid var(--yc-red);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-shell {
  background: transparent !important;
}

/* ===== Mobile two-flag-panel hero ===== */
.approval-headline {
  color: #e30613 !important;
  text-align: center !important;
  font-weight: 950 !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .45);
}

@media (max-width: 950px) {
  .site-header {
    background: linear-gradient(180deg, #05070d 0%, #07122d 100%) !important;
    border-bottom: 4px solid var(--yc-red);
  }

  .hero {
    background: #05070d !important;
    min-height: auto !important;
    padding-top: 1rem;
    padding-bottom: 1rem;
    gap: 1rem;
  }

  .hero-bg,
  .hero-overlay {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }

  .hero-content {
    background:
      linear-gradient(rgba(5, 7, 13, .12), rgba(5, 7, 13, .12)),
      url("assets/images/mobile-hero-american-flag-panel.png") center center / cover no-repeat !important;
    border: 1px solid rgba(238, 242, 248, .22);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .28);
    backdrop-filter: none;
  }

  .hero-card {
    background:
      linear-gradient(rgba(5, 7, 13, .10), rgba(5, 7, 13, .10)),
      url("assets/images/mobile-hero-mexican-flag-panel.png") center center / cover no-repeat !important;
    border: 1px solid rgba(238, 242, 248, .34);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .32);
    backdrop-filter: none;
  }

  .hero h1,
  .hero .eyebrow,
  .lead,
  .spanish-line,
  .hero-card p,
  .hero-card li {
    text-shadow: 0 4px 14px rgba(0, 0, 0, .88);
  }

  .hero-logo {
    filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .55));
  }
}

@media (max-width: 950px) and (orientation: landscape), (max-height: 520px) {
  .site-header {
    background: linear-gradient(90deg, #05070d 0%, #07122d 55%, #08245d 100%) !important;
    padding-top: .35rem;
    padding-bottom: .35rem;
    gap: .55rem;
  }

  .brand { gap: .35rem; }
  .brand-logo { width: 82px !important; height: auto !important; }
  .mobile-menu-toggle { min-height: 40px; padding: .5rem .85rem; }
  .menu-label { font-size: .88rem; }
  .lang-option { min-height: 38px; padding: .45rem .75rem; font-size: .9rem; }
  .header-call { min-height: 40px; padding: .55rem .9rem; font-size: .9rem; }

  .hero {
    padding-top: 1rem;
    padding-bottom: 1rem;
    gap: .85rem;
  }

  .hero-content {
    padding: .9rem;
  }

  .hero h1 {
    font-size: clamp(1.95rem, 5vw, 3rem);
  }

  .lead {
    font-size: .98rem;
  }
}

/* ===== Merged inventory note ===== */
.inventory-merge-note {
  display: grid;
  gap: .3rem;
  margin: 1rem 0 1.1rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.16);
  border-left: 5px solid var(--yc-red);
  background: rgba(255,255,255,.08);
}

.inventory-merge-note strong {
  color: white;
  font-size: 1.05rem;
}

.inventory-merge-note span {
  color: #e6edf8;
}

/* ===== Prominent Facebook plugin + Craigslist section ===== */
.facebook-post-gallery {
  grid-template-columns: minmax(0, .8fr) minmax(520px, 780px) !important;
  align-items: start;
}

.facebook-phone-frame {
  max-width: 800px !important;
  overflow: visible;
}

.facebook-scale-wrap {
  width: 500px;
  height: 1140px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 14px;
  background: white;
}

.facebook-scale-wrap .facebook-gallery-feed {
  width: 500px !important;
  height: 760px !important;
  transform: scale(1.5);
  transform-origin: top center;
  border-radius: 10px;
}

.facebook-under-button {
  display: block;
  margin: 1rem auto 0;
  width: min(100%, 500px);
  padding: .95rem 1rem;
  border-radius: 16px;
  background: #1877f2;
  color: white;
  text-align: center;
  text-decoration: none;
  font-weight: 950;
  box-shadow: 0 16px 28px rgba(24,119,242,.24);
}

@media (max-width: 1100px) {
  .facebook-post-gallery {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 820px) {
  .facebook-phone-frame {
    max-width: 100% !important;
    overflow: hidden;
  }

  .facebook-scale-wrap {
    width: 100%;
    height: 650px;
    overflow: hidden;
  }

  .facebook-scale-wrap .facebook-gallery-feed {
    width: 100% !important;
    max-width: 500px;
    height: 650px !important;
    transform: none;
    margin: 0 auto;
  }

  .facebook-under-button {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .facebook-scale-wrap {
    height: 590px;
  }

  .facebook-scale-wrap .facebook-gallery-feed {
    height: 590px !important;
  }
}

/* ===== Facebook plugin returned to stable original size ===== */
.facebook-post-gallery {
  grid-template-columns: minmax(0, .95fr) minmax(320px, 500px) !important;
  align-items: center !important;
}

.facebook-phone-frame {
  max-width: 530px !important;
  overflow: hidden !important;
}

.facebook-scale-wrap {
  width: 100% !important;
  max-width: 500px !important;
  height: 760px !important;
  margin: 0 auto !important;
  overflow: hidden !important;
  border-radius: 14px;
  background: white;
}

.facebook-scale-wrap .facebook-gallery-feed,
.facebook-gallery-feed {
  width: 100% !important;
  max-width: 500px !important;
  height: 760px !important;
  transform: none !important;
  transform-origin: initial !important;
  display: block;
  margin: 0 auto;
  border-radius: 14px;
  background: white;
}

.facebook-under-button {
  width: min(100%, 500px);
}

@media (max-width: 1100px) {
  .facebook-post-gallery {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 820px) {
  .facebook-phone-frame {
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .facebook-scale-wrap {
    width: 100% !important;
    max-width: 500px !important;
    height: 650px !important;
  }

  .facebook-scale-wrap .facebook-gallery-feed,
  .facebook-gallery-feed {
    width: 100% !important;
    max-width: 500px !important;
    height: 650px !important;
    transform: none !important;
  }

  .facebook-under-button {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .facebook-scale-wrap {
    height: 590px !important;
  }

  .facebook-scale-wrap .facebook-gallery-feed,
  .facebook-gallery-feed {
    height: 590px !important;
  }
}

/* ===== Compact footer ===== */
.footer {
  padding: .85rem 1rem !important;
  gap: .25rem !important;
  min-height: auto !important;
  text-align: center;
}

.footer-logo {
  width: 86px !important;
  max-width: 86px !important;
  margin: 0 auto .25rem !important;
}

.footer p {
  margin: .15rem 0 !important;
  font-size: .82rem !important;
  line-height: 1.25 !important;
}

.footer-links {
  margin-top: .2rem !important;
}

.footer-links a {
  font-size: .82rem !important;
}

@media (max-width: 520px) {
  .footer {
    padding: .7rem .85rem !important;
  }

  .footer-logo {
    width: 72px !important;
    max-width: 72px !important;
  }

  .footer p,
  .footer-links a {
    font-size: .78rem !important;
  }
}

/* ===== Header and footer QR code ===== */
.header-qr-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .2rem;
  margin-left: .55rem;
  text-decoration: none;
  color: white;
  flex: 0 0 auto;
}

.header-qr {
  width: 70px;
  height: 70px;
  border-radius: 10px;
  background: white;
  padding: 4px;
  box-shadow: 0 10px 22px rgba(0,0,0,.22);
}

.header-qr-label {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #eef2f8;
}

.footer-compact-row {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .75rem;
}

.footer-copy {
  text-align: center;
}

.footer-qr-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-qr {
  width: 82px;
  height: 82px;
  border-radius: 10px;
  background: white;
  padding: 4px;
  box-shadow: 0 10px 22px rgba(0,0,0,.14);
}

@media (max-width: 1100px) {
  .header-qr {
    width: 62px;
    height: 62px;
  }
}

@media (max-width: 820px) {
  .header-qr-link {
    order: 4;
    margin-left: 0;
  }

  .header-qr {
    width: 54px;
    height: 54px;
    border-radius: 8px;
    padding: 3px;
  }

  .header-qr-label {
    font-size: .64rem;
  }

  .footer-compact-row {
    grid-template-columns: auto 1fr auto;
    gap: .5rem;
  }

  .footer-qr {
    width: 66px;
    height: 66px;
    padding: 3px;
  }
}

@media (max-width: 520px) {
  .footer-compact-row {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: .4rem;
  }

  .footer-copy {
    order: 2;
  }

  .footer-qr-link {
    order: 3;
  }

  .footer-qr {
    width: 72px;
    height: 72px;
  }
}

/* ===== QR repositioned inside right header data area ===== */
.site-header {
  grid-template-columns: auto minmax(280px, 1fr) auto !important;
}

.header-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: .45rem !important;
  flex-wrap: nowrap !important;
}

.header-qr-link {
  display: inline-flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .12rem;
  margin-left: .35rem !important;
  padding: .18rem !important;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  text-decoration: none;
  color: white;
  flex: 0 0 auto;
}

.header-qr {
  width: 48px !important;
  height: 48px !important;
  border-radius: 7px !important;
  background: white;
  padding: 3px !important;
  box-shadow: 0 6px 14px rgba(0,0,0,.18);
}

.header-qr-label {
  font-size: .58rem !important;
  line-height: 1 !important;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #eef2f8;
}

@media (min-width: 821px) {
  .site-header {
    min-height: auto !important;
  }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: auto auto !important;
  }

  .header-actions {
    width: 100%;
    grid-column: 1 / -1;
    display: grid !important;
    grid-template-columns: 1fr auto;
    gap: .45rem;
    align-items: center;
  }

  .language-switch {
    justify-self: start;
  }

  .header-call {
    justify-self: end;
  }

  .header-qr-link {
    grid-column: 2;
    grid-row: 1 / span 2;
    margin-left: .25rem !important;
  }

  .header-qr {
    width: 44px !important;
    height: 44px !important;
  }
}

@media (max-width: 520px) {
  .header-actions {
    grid-template-columns: 1fr auto;
  }

  .header-qr {
    width: 42px !important;
    height: 42px !important;
    padding: 2px !important;
  }

  .header-qr-label {
    font-size: .54rem !important;
  }
}

/* ===== FAQ / Q&A section and page ===== */
.quick-faq-section {
  background:
    radial-gradient(circle at 12% 14%, rgba(227, 6, 19, .10), transparent 22%),
    radial-gradient(circle at 88% 82%, rgba(18, 58, 111, .12), transparent 24%),
    linear-gradient(135deg, #ffffff 0%, #f4f7fb 100%);
}

.quick-faq-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.quick-faq-card {
  padding: 1rem;
  border-radius: 18px;
  background: white;
  border: 1px solid rgba(17,24,39,.08);
  box-shadow: 0 12px 28px rgba(17,24,39,.08);
}

.quick-faq-card h3 {
  margin: 0 0 .55rem;
  color: var(--yc-navy);
  font-size: 1rem;
}

.quick-faq-card p {
  margin: 0;
  color: var(--muted);
  font-size: .93rem;
}

.quick-faq-action {
  display: flex;
  justify-content: center;
  margin-top: 1.4rem;
}

.faq-hero {
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  background:
    radial-gradient(circle at 12% 20%, rgba(227, 6, 19, .18), transparent 24%),
    radial-gradient(circle at 88% 22%, rgba(255,255,255,.12), transparent 20%),
    linear-gradient(135deg, var(--yc-black), var(--yc-navy));
  color: white;
}

.faq-hero .section-heading h1,
.faq-hero .section-heading p {
  color: white;
}

.faq-hero-actions {
  display: flex;
  gap: .85rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.4rem;
}

.faq-page-section {
  background: #f7f9fc;
}

.faq-list {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  gap: .85rem;
}

.faq-item {
  border-radius: 18px;
  background: white;
  border: 1px solid rgba(17,24,39,.10);
  box-shadow: 0 10px 24px rgba(17,24,39,.06);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 1rem 1.15rem;
  font-weight: 900;
  color: var(--yc-navy);
  list-style-position: outside;
}

.faq-item p {
  margin: 0;
  padding: 0 1.15rem 1.1rem 1.15rem;
  color: var(--muted);
}

@media (max-width: 1100px) {
  .quick-faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .quick-faq-grid {
    grid-template-columns: 1fr;
  }

  .quick-faq-card {
    padding: .95rem;
  }

  .faq-item summary {
    padding: .95rem 1rem;
  }

  .faq-item p {
    padding: 0 1rem 1rem;
  }
}

/* ===== Easter egg replace-logo mode: no duplicate image, no reserved space ===== */
.easter-logo-swap {
  transition: opacity .55s ease, transform .65s ease, filter .65s ease;
}

.easter-logo-swap.is-modern-logo {
  background: transparent !important;
  object-fit: contain !important;
  filter: drop-shadow(0 0 22px rgba(255,255,255,.42)) drop-shadow(0 8px 18px rgba(0,0,0,.28));
}

/* Keep each location at the original logo's footprint until the image source is replaced. */
.brand-logo.easter-logo-swap.is-modern-logo {
  width: 160px !important;
  max-width: 160px !important;
}

.hero-logo.easter-logo-swap.is-modern-logo {
  width: min(100%, 320px) !important;
  max-width: 320px !important;
}

.contact-logo.easter-logo-swap.is-modern-logo {
  width: min(100%, 320px) !important;
  max-width: 320px !important;
}

.footer-logo.easter-logo-swap.is-modern-logo {
  width: 92px !important;
  max-width: 92px !important;
}

/* Hidden trigger restored. */
.modern-egg-trigger {
  position: fixed !important;
  right: 8px !important;
  bottom: 8px !important;
  width: 28px !important;
  height: 28px !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,.025) !important;
  opacity: .16 !important;
  cursor: pointer !important;
  z-index: 2147482999 !important;
  pointer-events: auto !important;
  color: transparent !important;
}

.modern-egg-trigger:hover,
.modern-egg-trigger:focus-visible {
  opacity: .48 !important;
  outline: 2px solid rgba(255,255,255,.32) !important;
}

.modern-egg-modal {
  position: fixed !important;
  inset: 0 !important;
  display: none;
  place-items: center !important;
  padding: 1rem !important;
  background: rgba(0,0,0,.72) !important;
  z-index: 2147483000 !important;
}

.modern-egg-modal.is-visible {
  display: grid !important;
}

.modern-egg-panel {
  z-index: 2147483001 !important;
}

@media (max-width: 820px) {
  .brand-logo.easter-logo-swap.is-modern-logo {
    width: 132px !important;
    max-width: 132px !important;
  }

  .hero-logo.easter-logo-swap.is-modern-logo,
  .contact-logo.easter-logo-swap.is-modern-logo {
    width: min(100%, 280px) !important;
    max-width: 280px !important;
  }
}

@media (max-width: 520px) {
  .brand-logo.easter-logo-swap.is-modern-logo {
    width: 118px !important;
    max-width: 118px !important;
  }

  .hero-logo.easter-logo-swap.is-modern-logo,
  .contact-logo.easter-logo-swap.is-modern-logo {
    width: min(100%, 240px) !important;
    max-width: 240px !important;
  }

  .footer-logo.easter-logo-swap.is-modern-logo {
    width: 76px !important;
    max-width: 76px !important;
  }
}

/* ===== Responsive desktop header navigation / zoom-safe layout ===== */
.site-header {
  grid-template-columns: minmax(220px, auto) minmax(280px, 1fr) auto !important;
  align-items: center !important;
}

.brand {
  min-width: 0 !important;
}

.brand span {
  min-width: 0 !important;
}

.brand strong,
.brand small {
  white-space: normal !important;
}

#primary-navigation.nav,
.nav {
  min-width: 0 !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: clamp(.35rem, .8vw, .9rem) !important;
}

#primary-navigation.nav a,
.nav a {
  white-space: nowrap !important;
  flex: 0 1 auto !important;
  font-size: clamp(.78rem, .75vw + .42rem, .98rem) !important;
  padding: clamp(.38rem, .45vw, .62rem) clamp(.45rem, .8vw, .9rem) !important;
  line-height: 1.1 !important;
  text-align: center !important;
}

.header-actions {
  min-width: 0 !important;
  flex-wrap: wrap !important;
  justify-content: flex-end !important;
  gap: .45rem !important;
}

.language-switch {
  flex: 0 1 auto !important;
}

.lang-option {
  font-size: clamp(.72rem, .55vw + .42rem, .86rem) !important;
  padding: .45rem .55rem !important;
}

.header-call {
  white-space: nowrap !important;
  font-size: clamp(.72rem, .55vw + .42rem, .88rem) !important;
  padding: .48rem .65rem !important;
}

/* Desktop/tablet stepping: when zoom makes the header tight, stack it cleanly instead of distorting. */
@media (max-width: 1220px) and (min-width: 821px) {
  .site-header {
    grid-template-columns: minmax(200px, auto) 1fr !important;
    row-gap: .55rem !important;
  }

  #primary-navigation.nav {
    grid-column: 1 / -1 !important;
    order: 3 !important;
    width: 100% !important;
    justify-content: center !important;
  }

  .header-actions {
    grid-column: 2 !important;
    justify-self: end !important;
  }
}

@media (max-width: 980px) and (min-width: 821px) {
  .site-header {
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    text-align: center !important;
  }

  .brand,
  .header-actions,
  #primary-navigation.nav {
    grid-column: 1 !important;
    justify-self: center !important;
  }

  .header-actions {
    justify-content: center !important;
  }

  #primary-navigation.nav a {
    font-size: .86rem !important;
    padding: .45rem .65rem !important;
  }
}

/* Mobile stays hamburger-driven and stable. */
@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr auto !important;
    align-items: center !important;
  }

  #primary-navigation.nav {
    flex-wrap: nowrap !important;
  }

  #primary-navigation.nav a {
    white-space: normal !important;
    width: 100% !important;
    font-size: 1rem !important;
    padding: .85rem 1rem !important;
  }
}

/* ===== Final clean inline contact form ===== */
.hidden-field {
  display: none !important;
}

.final-contact-section {
  overflow-x: hidden;
}

.final-contact-shell {
  display: grid;
  grid-template-columns: minmax(340px, .85fr) minmax(520px, 1.15fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: stretch;
  width: min(100%, 1180px);
  margin: 0 auto;
}

.final-contact-info,
.final-contact-form {
  min-width: 0;
}

.final-contact-info {
  display: grid;
  align-content: start;
  gap: 1.1rem;
}

.final-contact-info h2 {
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  line-height: .95;
  letter-spacing: -.055em;
  margin-bottom: .2rem;
}

.final-contact-lead {
  font-size: clamp(1.05rem, 1.25vw, 1.25rem);
  line-height: 1.45;
  color: var(--muted);
  max-width: 560px;
}

.final-contact-cards {
  display: grid;
  gap: .8rem;
}

.final-contact-card {
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(17,24,39,.08);
  box-shadow: 0 10px 24px rgba(17,24,39,.055);
}

.final-contact-card strong {
  display: block;
  color: var(--yc-navy);
  margin-bottom: .25rem;
}

.final-contact-card span,
.final-contact-card a {
  color: var(--yc-black);
  font-weight: 700;
}

.final-contact-logo {
  width: min(100%, 320px);
  margin-top: .25rem;
}

.final-contact-form {
  display: grid;
  gap: 1rem;
  padding: clamp(1.25rem, 2.5vw, 1.65rem);
  border-radius: 28px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(17,24,39,.10);
  box-shadow: var(--shadow);
}

.final-form-heading {
  display: grid;
  gap: .25rem;
}

.final-form-heading h3 {
  margin: 0;
  color: var(--yc-navy);
  font-size: clamp(1.45rem, 2.2vw, 2rem);
}

.final-form-heading p {
  margin: 0;
  color: var(--muted);
}

.final-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .9rem;
}

.final-contact-form label {
  display: grid;
  gap: .35rem;
  margin: 0;
  color: var(--yc-navy);
  font-weight: 900;
}

.final-contact-form input,
.final-contact-form textarea {
  width: 100%;
  min-width: 0;
  font-size: 16px;
  border-radius: 14px;
}

.final-contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.final-consent-row {
  display: flex !important;
  align-items: flex-start;
  gap: .65rem !important;
  color: var(--muted) !important;
  font-weight: 600 !important;
  line-height: 1.35;
}

.final-consent-row input {
  width: 22px !important;
  height: 22px !important;
  min-width: 22px;
  margin-top: .05rem;
}

.submit-request-button {
  width: 100%;
  min-height: 54px;
  font-size: 1rem;
}

.form-note {
  margin: -.25rem 0 0;
  color: var(--muted);
  font-size: .9rem;
  text-align: center;
}

.lead-success-message {
  margin: 0;
  padding: .95rem 1rem;
  border-radius: 16px;
  background: rgba(22, 101, 52, .10);
  border: 1px solid rgba(22, 101, 52, .30);
  color: #14532d;
  font-weight: 900;
}

/* Tablet: keep clean and readable */
@media (max-width: 980px) {
  .final-contact-shell {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .final-contact-info h2 {
    font-size: clamp(2.3rem, 7vw, 3.5rem);
  }

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

/* Mobile: compact, no overflow, fits screen */
@media (max-width: 640px) {
  .final-contact-section {
    padding-left: .8rem !important;
    padding-right: .8rem !important;
  }

  .final-contact-shell {
    width: 100%;
    gap: .85rem;
  }

  .final-contact-info {
    gap: .75rem;
  }

  .final-contact-info h2 {
    font-size: clamp(2rem, 10.5vw, 2.75rem);
    line-height: .98;
  }

  .final-contact-lead {
    font-size: .98rem;
    line-height: 1.35;
  }

  .final-contact-cards {
    gap: .55rem;
  }

  .final-contact-card {
    padding: .75rem .85rem;
    border-radius: 14px;
  }

  .final-contact-logo {
    width: min(100%, 220px);
    justify-self: center;
  }

  .final-contact-form {
    padding: .85rem;
    border-radius: 18px;
    gap: .7rem;
  }

  .final-form-heading h3 {
    font-size: 1.25rem;
  }

  .final-form-heading p {
    font-size: .9rem;
  }

  .final-form-grid {
    grid-template-columns: 1fr;
    gap: .65rem;
  }

  .final-contact-form label {
    font-size: .9rem;
  }

  .final-contact-form input {
    min-height: 44px;
    padding: .65rem .75rem;
  }

  .final-contact-form textarea {
    min-height: 104px;
    padding: .65rem .75rem;
  }

  .final-consent-row {
    font-size: .82rem;
  }

  .submit-request-button {
    min-height: 48px;
  }

  .form-note {
    font-size: .78rem;
  }
}

@media (max-width: 380px) {
  .final-contact-section {
    padding-left: .65rem !important;
    padding-right: .65rem !important;
  }

  .final-contact-info h2 {
    font-size: 1.9rem;
  }

  .final-contact-logo {
    width: min(100%, 190px);
  }
}

/* ===== Bilingual contact polish ===== */
.final-contact-form label > span.translatable {
  display: inline-block;
}

html[lang^="es"] .final-contact-info h2,
body[data-lang="es"] .final-contact-info h2 {
  letter-spacing: -.045em;
}

@media (max-width: 640px) {
  html[lang^="es"] .final-contact-info h2,
  body[data-lang="es"] .final-contact-info h2 {
    font-size: clamp(1.75rem, 9.4vw, 2.45rem);
  }
}
