/* =========================================================
   Velatorios El Paraíso — stylesheet
   Mobile-first. No SVG. No icons. Pure typography + photography.
   ========================================================= */

:root {
  --ivory:        #f4efe5;
  --ivory-deep:   #ece3d2;
  --ivory-soft:   #faf6ec;
  --ink:          #1f1b17;
  --ink-soft:     #3d362e;
  --ink-muted:    #6b6258;
  --line:         rgba(31, 27, 23, 0.12);
  --line-strong:  rgba(31, 27, 23, 0.22);
  --line-on-dark: rgba(244, 239, 229, 0.18);
  --wine:         #7a1f1f;
  --wine-deep:    #5c1717;
  --maxw:         1120px;
  --pad-x:        clamp(20px, 5vw, 48px);
  --radius:       6px;
  --display:      "Cormorant Garamond", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --body:         "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; height: auto; }

a { color: var(--ink); text-decoration: none; }
a:hover, a:focus-visible { color: var(--wine); }
a:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; border-radius: 3px; }

.skip {
  position: absolute;
  top: -120px;
  left: 12px;
  background: var(--ink);
  color: var(--ivory);
  padding: 10px 14px;
  border-radius: 4px;
  font-weight: 600;
  z-index: 100;
  transition: top 180ms ease;
}
.skip:focus { top: 12px; }

/* ---------- TOPBAR ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 239, 229, 0.92);
  -webkit-backdrop-filter: blur(10px) saturate(1.05);
  backdrop-filter: blur(10px) saturate(1.05);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px var(--pad-x);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  min-width: 0;
}
.brand-mark {
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--wine);
  border: 1px solid var(--wine);
  padding: 6px 8px;
  border-radius: 4px;
  line-height: 1;
  flex: none;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.005em;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand-sub {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.topbar-call {
  flex: none;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.1;
  padding: 9px 13px;
  background: var(--wine);
  color: var(--ivory);
  border-radius: 4px;
  text-align: right;
}
.topbar-call:hover, .topbar-call:focus-visible {
  background: var(--wine-deep);
  color: var(--ivory);
}
.topbar-call-label {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.85;
}
.topbar-call-num {
  font-size: 14px;
  font-weight: 700;
  margin-top: 2px;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 88svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--ivory);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: #14110d;
  background-image: url("assets/video/hero-veladoras.poster.jpg");
  background-size: cover;
  background-position: center 35%;
}
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 16, 12, 0.45) 0%, rgba(20, 16, 12, 0.25) 35%, rgba(20, 16, 12, 0.78) 100%),
    radial-gradient(120% 80% at 50% 20%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.45) 100%);
}
.hero-inner {
  position: relative;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 64px var(--pad-x) 56px;
}
.kicker {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ivory);
  margin: 0 0 14px;
  font-weight: 600;
  opacity: 0.92;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(30px, 8vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  color: var(--ivory);
  max-width: 18ch;
  text-wrap: balance;
}
.lede {
  font-size: clamp(16px, 2.4vw, 18px);
  line-height: 1.55;
  color: var(--ivory);
  margin: 0 0 26px;
  max-width: 44ch;
  opacity: 0.94;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}
.hero-note {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ivory);
  opacity: 0.78;
  margin: 0;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.005em;
  border-radius: 4px;
  border: 1px solid transparent;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
  cursor: pointer;
  line-height: 1.2;
  font-family: var(--body);
  text-align: center;
}
.btn-primary { background: var(--wine); color: var(--ivory); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--wine-deep); color: var(--ivory); }
.btn-light { background: var(--ivory); color: var(--ink); }
.btn-light:hover, .btn-light:focus-visible { background: #fff; color: var(--ink); }
.btn-ghost-light { background: transparent; color: var(--ivory); border-color: rgba(244,239,229,0.55); }
.btn-ghost-light:hover, .btn-ghost-light:focus-visible { background: rgba(244,239,229,0.12); color: var(--ivory); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover, .btn-ghost:focus-visible { background: var(--ivory-deep); color: var(--ink); }

/* ---------- TRUST STRIP ---------- */
.strip {
  background: var(--ivory-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px var(--pad-x);
}
.strip-inner {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
  max-width: var(--maxw);
  margin: 0 auto;
  font-size: 14px;
  color: var(--ink-soft);
}
.strip-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-left: 2px solid var(--wine);
  padding-left: 12px;
}
.strip-item strong {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.005em;
}
.strip-item span {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* ---------- GENERIC SECTION ---------- */
main > section {
  padding: 56px var(--pad-x);
}
main > section + section {
  padding-top: 48px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wine);
  margin: 0 0 12px;
  font-weight: 700;
}
.eyebrow.on-dark { color: var(--ivory); opacity: 0.85; }
h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(26px, 6vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.005em;
  margin: 0 0 16px;
  color: var(--ink);
  text-wrap: balance;
}
h2.on-dark { color: var(--ivory); }
.section-lede {
  color: var(--ink-soft);
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1.6;
  max-width: 50ch;
}
.section-lede.on-dark { color: var(--ivory); opacity: 0.86; }

/* ---------- HISTORY ---------- */
.history {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
  max-width: var(--maxw);
  margin: 0 auto;
}
.history-prose p {
  margin: 0 0 14px;
  color: var(--ink-soft);
  font-size: 17px;
}
.history-fig {
  margin: 0;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ivory-deep);
  box-shadow: 0 18px 50px -28px rgba(31,27,23,0.45);
}
.history-fig img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center 35%;
  filter: contrast(0.98) saturate(0.95);
}
.history-fig figcaption {
  position: absolute;
  left: 16px;
  bottom: 14px;
  font-family: var(--display);
  font-size: 13px;
  font-style: italic;
  letter-spacing: 0.04em;
  color: var(--ivory);
  background: rgba(20, 16, 12, 0.6);
  padding: 6px 12px;
  border-radius: 100px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* ---------- FACILITIES ---------- */
.facilities { max-width: var(--maxw); margin: 0 auto; }
.fac-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
.fac-card {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.fac-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 50px -32px rgba(31,27,23,0.45);
}
.fac-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--ivory-deep);
  position: relative;
}
.fac-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(0.97) saturate(0.93);
}
.fac-body { padding: 20px 22px 24px; }
.fac-body h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 24px;
  margin: 0 0 6px;
  color: var(--ink);
}
.fac-body p { margin: 0; color: var(--ink-muted); font-size: 15px; line-height: 1.55; }

/* ---------- SERVICES ---------- */
.services {
  background: var(--ivory-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.services-inner {
  display: grid;
  gap: 26px;
  grid-template-columns: 1fr;
  max-width: var(--maxw);
  margin: 0 auto;
}
.services-text .section-lede { margin-bottom: 0; }
.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-strong);
}
.service-list li {
  border-bottom: 1px solid var(--line);
  padding: 18px 0 18px 36px;
  position: relative;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(18px, 4.5vw, 22px);
  color: var(--ink);
  letter-spacing: 0.005em;
  line-height: 1.3;
}
.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 32px;
  width: 24px;
  height: 1px;
  background: var(--wine);
}

/* ---------- LOCATIONS ---------- */
.locations {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #14110d;
  color: var(--ivory);
}
.locations-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(180deg, rgba(20, 16, 12, 0.78), rgba(20, 16, 12, 0.85)),
    url("assets/video/ubicaciones-noche.poster.jpg");
  background-size: cover;
  background-position: center;
  filter: saturate(0.95);
}
.locations-inner {
  max-width: var(--maxw);
  margin: 0 auto;
}
.loc-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  margin-top: 8px;
}
.loc-card {
  position: relative;
  background: rgba(244, 239, 229, 0.96);
  border: 1px solid rgba(244,239,229,0.4);
  border-radius: var(--radius);
  padding: 26px 24px;
  color: var(--ink);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.loc-pill {
  position: absolute;
  top: 18px;
  right: 18px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--wine);
  border: 1px solid var(--wine);
  padding: 4px 10px;
  border-radius: 100px;
}
.loc-card h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 24px;
  margin: 0 0 6px;
  color: var(--ink);
}
.loc-addr {
  color: var(--ink-muted);
  margin: 0 0 22px;
  font-size: 14px;
  letter-spacing: 0.02em;
}
.loc-card .btn { width: 100%; }

/* ---------- CONTACT ---------- */
.contact {
  background:
    linear-gradient(180deg, rgba(244,239,229,0.55), rgba(244,239,229,0.95)),
    url("assets/video/contacto-capilla.poster.jpg") center/cover no-repeat;
}
.contact-inner { max-width: var(--maxw); margin: 0 auto; }
.contact-text { margin-bottom: 22px; }
.contact-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 22px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ivory);
  color: var(--ink);
  transition: border-color 200ms ease, transform 200ms ease, background 200ms ease;
  position: relative;
}
.contact-card:hover {
  border-color: var(--wine);
  transform: translateY(-2px);
  background: #fffaf0;
  color: var(--ink);
}
.cc-eyebrow {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wine);
  font-weight: 700;
}
.cc-value {
  font-family: var(--display);
  font-weight: 600;
  font-size: 20px;
  color: var(--ink);
  word-break: break-word;
  line-height: 1.25;
}
.cc-cta {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 4px;
}
.contact-card:hover .cc-cta { color: var(--wine); }

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--ink);
  color: var(--ivory);
  padding: 50px var(--pad-x) 32px;
}
.footer-inner { max-width: var(--maxw); margin: 0 auto; }
.foot-brand {
  font-family: var(--display);
  font-weight: 600;
  font-size: 26px;
  margin-bottom: 6px;
  color: var(--ivory);
}
.foot-sub {
  margin: 0 0 16px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 239, 229, 0.65);
}
.foot-line {
  margin: 4px 0;
  font-size: 14px;
  color: rgba(244, 239, 229, 0.85);
}
.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  margin: 26px 0 22px;
}
.foot-links a {
  color: var(--ivory);
  border-bottom: 1px solid rgba(244, 239, 229, 0.25);
  padding-bottom: 2px;
  font-size: 14px;
  letter-spacing: 0.005em;
}
.foot-links a:hover, .foot-links a:focus-visible {
  color: var(--ivory);
  border-bottom-color: var(--ivory);
}
.copyright {
  font-size: 12px;
  color: rgba(244, 239, 229, 0.5);
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid rgba(244,239,229,0.12);
}

/* ---------- REVEAL ANIMATION ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 800ms ease-out, transform 800ms ease-out;
  will-change: opacity, transform;
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .fac-card { transition: none; }
  .contact-card { transition: none; }
  .btn { transition: none; }
}

/* ---------- BREAKPOINTS ---------- */
@media (min-width: 540px) {
  .strip-inner { grid-template-columns: repeat(3, 1fr); }
  .fac-grid { grid-template-columns: 1fr 1fr; }
  .fac-grid .fac-card:nth-child(3) { grid-column: 1 / -1; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid .contact-card:nth-child(3) { grid-column: 1 / -1; }
  .loc-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 760px) {
  main > section { padding: 76px var(--pad-x); }
  main > section + section { padding-top: 64px; }
  .hero { min-height: 92svh; align-items: center; }
  .hero-inner { padding: 96px var(--pad-x); }
  .services-inner { grid-template-columns: 1fr 1.2fr; align-items: start; gap: 56px; }
  .contact-inner { display: grid; grid-template-columns: 0.9fr 1.3fr; gap: 48px; align-items: start; }
  .contact-text { margin-bottom: 0; }
  .history { grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 48px; }
  .history-fig img { aspect-ratio: 5/6; }
}

@media (min-width: 1000px) {
  main > section { padding: 96px var(--pad-x); }
  main > section + section { padding-top: 80px; }
  .hero-inner { padding: 120px var(--pad-x); }
  .fac-grid { grid-template-columns: repeat(3, 1fr); }
  .fac-grid .fac-card:nth-child(3) { grid-column: auto; }
  .contact-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid .contact-card:nth-child(3) { grid-column: auto; }
}

/* ---------- PRINT ---------- */
@media print {
  .topbar, .hero-video, .hero-scrim { display: none; }
  body { background: #fff; color: #000; }
  .hero { background: #fff; min-height: 0; padding: 24px 0; }
  .hero h1, .lede, .kicker, .hero-note { color: #000; }
}

/* =========================================================
   Gate 11 additions — topbar nav, guides, FAQ accordion,
   lead-magnet form, whatsapp card variant.
   ========================================================= */

/* ---------- TOPBAR NAV ---------- */
.topbar-nav {
  display: none;
  gap: 18px;
  align-items: center;
  margin-left: auto;
  margin-right: 14px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.topbar-nav a {
  color: var(--ink-soft);
  font-weight: 600;
  padding: 6px 2px;
  border-bottom: 1px solid transparent;
  transition: color 160ms ease, border-color 160ms ease;
}
.topbar-nav a:hover, .topbar-nav a:focus-visible {
  color: var(--wine);
  border-bottom-color: var(--wine);
}
@media (min-width: 1000px) {
  .topbar-nav { display: inline-flex; }
}

/* ---------- GENERIC LINK-ARROW ---------- */
.link-arrow {
  color: var(--wine);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--wine);
  padding-bottom: 2px;
  display: inline-block;
  transition: color 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.link-arrow::after {
  content: " ›";
  display: inline-block;
  transition: transform 180ms ease;
}
.link-arrow:hover, .link-arrow:focus-visible {
  color: var(--wine-deep);
  border-bottom-color: var(--wine-deep);
}
.link-arrow:hover::after, .link-arrow:focus-visible::after {
  transform: translateX(3px);
}

/* ---------- SERVICES LINK ---------- */
.services-link { margin-top: 16px; font-size: 14px; }

/* ---------- GUIDES ---------- */
.guides {
  background: var(--ivory-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.guides-inner { max-width: var(--maxw); margin: 0 auto; }
.guide-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
  margin-top: 8px;
}
.guide-card {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-left: 3px solid var(--wine);
  border-radius: var(--radius);
  padding: 32px 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 220ms ease, box-shadow 220ms ease, border-left-color 220ms ease;
}
.guide-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 50px -32px rgba(31,27,23,0.45);
  border-left-color: var(--wine-deep);
}
.guide-eyebrow {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wine);
  margin: 0;
}
.guide-card h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(22px, 4.5vw, 28px);
  line-height: 1.18;
  margin: 0;
  color: var(--ink);
}
.guide-card h3 a {
  color: var(--ink);
  text-decoration: none;
}
.guide-card h3 a:hover, .guide-card h3 a:focus-visible { color: var(--wine); }
.guide-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.6;
}
.guide-cta { margin-top: auto; padding-top: 4px; }

/* ---------- FAQ ---------- */
.faq-inner { max-width: var(--maxw); margin: 0 auto; }
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 12px;
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 4px;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(18px, 3.5vw, 22px);
  line-height: 1.28;
  color: var(--ink);
  position: relative;
  transition: color 160ms ease;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q:hover { color: var(--wine); }
.faq-num {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--wine);
  border: 1px solid var(--wine);
  padding: 4px 8px;
  border-radius: 100px;
  flex: none;
  line-height: 1;
}
.faq-q-text {
  flex: 1 1 auto;
  min-width: 0;
}
.faq-toggle {
  flex: none;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  position: relative;
  transition: background 160ms ease, border-color 160ms ease;
}
.faq-toggle::before, .faq-toggle::after {
  content: "";
  position: absolute;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 200ms ease, opacity 160ms ease;
}
.faq-toggle::before {
  top: 13px;
  left: 7px;
  width: 14px;
  height: 2px;
}
.faq-toggle::after {
  top: 7px;
  left: 13px;
  width: 2px;
  height: 14px;
}
.faq-item[open] .faq-toggle {
  background: var(--wine);
  border-color: var(--wine);
}
.faq-item[open] .faq-toggle::before, .faq-item[open] .faq-toggle::after {
  background: var(--ivory);
}
.faq-item[open] .faq-toggle::after {
  transform: scaleY(0);
  opacity: 0;
}
.faq-a {
  padding: 0 4px 24px 64px;
  max-width: 64ch;
}
.faq-short {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-soft);
  font-weight: 500;
}
.faq-detail {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-muted);
}
.faq-foot {
  margin: 22px 0 0;
  font-size: 14px;
}

/* ---------- LEAD MAGNET ---------- */
.leadmagnet {
  background: var(--ivory-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.leadmagnet-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  gap: 36px;
  grid-template-columns: 1fr;
}
.leadmagnet-prose p { margin: 0 0 14px; color: var(--ink-soft); font-size: 17px; line-height: 1.6; }
.leadmagnet-prose h2 { margin-bottom: 18px; }
.lm-bullets {
  list-style: none;
  margin: 18px 0 18px;
  padding: 0;
  border-top: 1px solid var(--line-strong);
}
.lm-bullets li {
  border-bottom: 1px solid var(--line);
  padding: 12px 0 12px 32px;
  position: relative;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
}
.lm-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  width: 20px;
  height: 1px;
  background: var(--wine);
}
.lm-phone {
  font-size: 14px !important;
  letter-spacing: 0.02em;
  color: var(--ink-muted) !important;
}
.lm-phone strong { color: var(--ink); font-weight: 700; letter-spacing: 0.02em; }

.leadmagnet-form {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-self: start;
  box-shadow: 0 24px 50px -36px rgba(31,27,23,0.4);
}
.lf-title {
  margin: 0 0 4px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
  color: var(--ink);
}
.lf-sub {
  margin: 0 0 6px;
  font-size: 13px;
  color: var(--ink-muted);
}
.lf-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.lf-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 700;
}
.lf-field input {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.4;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  padding: 12px 14px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.lf-field input:focus {
  outline: none;
  border-color: var(--wine);
  box-shadow: 0 0 0 3px rgba(122, 31, 31, 0.12);
}
.lf-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-muted);
  margin: 4px 0;
}
.lf-consent input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  flex: none;
  accent-color: var(--wine);
}
.lf-honeypot {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.lf-submit {
  margin-top: 6px;
  width: 100%;
}
.lf-foot {
  margin: 4px 0 0;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  text-align: center;
}

/* ---------- WHATSAPP CARD VARIANT ---------- */
.contact-card.whatsapp-card {
  border-color: var(--wine);
  background: #fffaf0;
}
.contact-card.whatsapp-card .cc-eyebrow { color: var(--wine-deep); }

/* ---------- FOOTER NAV ---------- */
.foot-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 18px 0 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(244,239,229,0.12);
  font-size: 13px;
}
.foot-nav a {
  color: rgba(244, 239, 229, 0.85);
  border-bottom: 1px solid rgba(244, 239, 229, 0.2);
  padding-bottom: 2px;
}
.foot-nav a:hover, .foot-nav a:focus-visible {
  color: var(--ivory);
  border-bottom-color: var(--ivory);
}

/* ---------- BREAKPOINTS for new sections ---------- */
@media (min-width: 760px) {
  .guide-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
}

@media (min-width: 1000px) {
  .leadmagnet-inner { grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: start; }
  .leadmagnet-form { position: sticky; top: 80px; }
}

/* ---------- PRINT ---------- */
@media print {
  .topbar-nav, .lf-honeypot, .leadmagnet-form, .guide-card { display: none !important; }
  .faq-item { page-break-inside: avoid; }
  .faq-toggle { display: none; }
}

/* ===========================================================
   SECTION BACKGROUND VIDEO  (added 2026-09-15)
   Atmosphere layer only. Every section keeps its own scroll and
   hover motion; the video must never compete with the copy, so a
   scrim always sits between the footage and the text.
   =========================================================== */
.sec-media{position:absolute;inset:0;z-index:-1;overflow:hidden;background-color:#14110d}
.sec-video{width:100%;height:100%;object-fit:cover;object-position:center 42%;display:block}
.sec-scrim{position:absolute;inset:0;pointer-events:none}

/* light sections: cream scrim heavy enough that dark copy stays fully legible */
.sec-media--light .sec-scrim{
  background:linear-gradient(180deg,
    rgba(247,241,230,.94) 0%, rgba(247,241,230,.88) 42%,
    rgba(247,241,230,.90) 78%, rgba(247,241,230,.97) 100%);
}
/* dark sections: the footage reads through, so a stronger dark scrim */
.sec-media--dark .sec-scrim{
  background:linear-gradient(180deg,
    rgba(18,14,10,.90) 0%, rgba(18,14,10,.80) 45%,
    rgba(18,14,10,.86) 78%, rgba(18,14,10,.95) 100%);
}

/* the sections that host a background video need a stacking context so the
   media can sit at z-index:-1 without falling behind the page background */
#historia,#servicios,#guias,#guia,#contacto,#ubicaciones{
  position:relative;isolation:isolate;
}
/* breathing room so the footage is actually visible around the content */
#historia,#servicios,#guias,#guia,#contacto{padding-top:clamp(56px,7vw,110px);padding-bottom:clamp(56px,7vw,110px)}
#servicios .services-inner,#guias .guides-inner,#guia .leadmagnet-inner,#contacto .contact-inner,#historia .history-prose{position:relative;z-index:1}

/* motion-sensitive visitors get the poster only - never a moving background */
@media (prefers-reduced-motion: reduce){
  .sec-video{display:none}
  .sec-media--light .sec-scrim{background:rgba(247,241,230,.93)}
  .sec-media--dark  .sec-scrim{background:rgba(18,14,10,.88)}
}

/* Header fit at phone widths - the subtitle was being ellipsed to "SAN PEDRO
   CHOLULA · DE..." because mark + name + CTA left no room. Swap to the short
   subtitle and tighten the type rather than truncating the place name. */
.sub-short{display:none}
@media (max-width:440px){
  .top__inner{gap:8px}
  .brand{gap:8px}
  .brand-mark{font-size:12px;padding:5px 6px}
  .brand-name{font-size:14.5px;letter-spacing:0}
  .brand-sub{font-size:8.5px;letter-spacing:.07em;margin-top:1px}
  .sub-full{display:none}
  .sub-short{display:inline}
  .top__cta{font-size:10px;padding:7px 9px;letter-spacing:.06em}
  .top__cta span{font-size:12.5px}
}
@media (max-width:360px){
  .brand-sub{display:none}
}

/* lead magnet: inline result + the immediate download */
.lf-status{margin:10px 0 0;font-size:13.5px;line-height:1.5}
.lf-status--err{color:#8d2f22}
.lf-done{background:#fbf6ec;border:1px solid #e3d7c4;border-left:3px solid #b98a3e;
  border-radius:3px;padding:18px 20px;margin:16px 0 0;display:flex;flex-direction:column;gap:10px}
.lf-done strong{font-size:16px;color:#241c16}
.lf-dl{display:inline-block;background:#a8432e;color:#fff;text-decoration:none;
  font:600 15px/1 -apple-system,system-ui,sans-serif;padding:14px 22px;border-radius:3px;align-self:flex-start}
.lf-dl:hover{background:#8d3724}
.lf-note{font-size:12.5px;color:#8a7a6a}
