@charset "UTF-8";
/* ==========================================================================
   Iglesia Bautista Evangélica de la Gracia · hoja de estilos
   Bosque + oro. Tipografía: Young Serif (títulos) y Hanken Grotesk (texto).
   ========================================================================== */

:root {
  --forest-950: #0E1C14;
  --forest-900: #12261B;
  --forest-800: #1B3A2A;
  --forest-700: #25503A;
  --forest-600: #2F5D3F;

  --mist-50: #EDF1EC;
  --mist-100: #E6ECE7;
  --mist-200: #DCE5DD;
  --mist-300: #D5DDD6;
  --mist-400: #CBD5CD;

  --gold: #D9A441;
  --gold-light: #E8C27A;
  --gold-hover: #E8BC63;
  --gold-ink: #8A5A12;

  --ink: #2A3A30;
  --ink-soft: #4B5F52;
  --ink-deep: #12261B;

  --on-dark: #EDF1EC;
  --on-dark-soft: #C9D5CC;
  --on-dark-mute: #B9C7BC;
  --on-dark-faint: #9FB0A3;

  --font-display: "Young Serif", Georgia, "Times New Roman", serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  /* esquinas "hoja": opuestas, nunca uniformes */
  --r-leaf: 20px 5px 20px 5px;
  --r-leaf-sm: 16px 4px 16px 4px;
  --r-leaf-md: 36px 6px 36px 6px;
  --r-leaf-lg: 44px 8px 44px 8px;

  --gutter: clamp(20px, 4vw, 40px);
  --maxw: 1320px;
  --nav-h: 92px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--mist-50);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
img { display: block; height: auto; }
button { font: inherit; color: inherit; }
[id] { scroll-margin-top: calc(var(--nav-h) + 12px); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; border-radius: 4px; }
.on-light :focus-visible { outline-color: var(--forest-800); }

.page { overflow-x: clip; }
.wrap {
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 12px 18px; background: var(--gold); color: var(--forest-950);
  font-weight: 700; border-radius: var(--r-leaf-sm);
}
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* iconos (sprite en cada página) */
.i { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- superficies ---------- */
.s-dark, .s-forest, .s-mist { position: relative; isolation: isolate; }
.s-dark { background: var(--forest-950); color: var(--on-dark); }
.s-forest { background: var(--forest-900); color: var(--on-dark); }
.s-mist { background: var(--mist-50); color: var(--ink); }
.s-dark::after, .s-forest::after, .s-mist::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
}
.s-dark::after, .s-forest::after { background: url("assets/grain-light.png"); opacity: .5; }
.s-mist::after { background: url("assets/grain-dark.png"); opacity: .4; }

.rings::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 640px; height: 640px; background: url("assets/rings.svg") center / contain no-repeat;
}
.rings--tl::before { left: -190px; top: -160px; }
.rings--br::before { right: -210px; bottom: -130px; }

.section { padding-block: clamp(72px, 9vw, 128px); }
.section--tight-top { padding-top: clamp(40px, 6vw, 72px); }
.has-wave { padding-bottom: 0 !important; }

/* divisor "línea de árboles": máscara que toma el color de la sección siguiente */
.wave {
  display: block; width: 100%; height: clamp(52px, 8vw, 120px);
  margin-top: clamp(40px, 6vw, 80px); margin-bottom: -2px;
  background: var(--wave, var(--mist-50));
  -webkit-mask: url("assets/treeline.svg") center / 100% 100% no-repeat;
  mask: url("assets/treeline.svg") center / 100% 100% no-repeat;
}
.wave--mist { --wave: var(--mist-50); }
.wave--forest { --wave: var(--forest-900); }
.wave--deep { --wave: var(--forest-950); }
.wave--flip { transform: scaleX(-1); }

/* ---------- tipografía ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before { content: ""; width: 36px; height: 1.5px; background: currentColor; flex: none; }
.on-light .eyebrow, .s-mist .eyebrow { color: var(--gold-ink); }

.h2 {
  margin-top: 18px;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(34px, 4.4vw, 56px); line-height: 1.1; letter-spacing: .002em;
  text-wrap: balance;
}
.s-mist .h2 { color: var(--ink-deep); }
.s-dark .h2, .s-forest .h2 { color: var(--on-dark); }
.lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.7; }
.muted { color: var(--ink-soft); }
.s-dark .muted, .s-forest .muted { color: var(--on-dark-mute); }
.head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; }
.head-row > p { max-width: 400px; font-size: 16.5px; line-height: 1.7; }

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 0 30px;
  font-weight: 700; font-size: 17px; line-height: 1.2; text-align: center;
  border: 1.5px solid transparent; border-radius: var(--r-leaf); cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s, background-color .3s, border-color .3s, color .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { min-height: 46px; padding: 0 22px; font-size: 15px; border-radius: var(--r-leaf-sm); }
.btn-gold { background: var(--gold); color: var(--forest-950); }
.btn-gold:hover { background: var(--gold-hover); box-shadow: 0 14px 30px -12px rgba(217, 164, 65, .6); }
.btn-line { border-color: rgba(237, 241, 236, .45); color: var(--on-dark); font-weight: 600; }
.btn-line:hover { background: rgba(237, 241, 236, .1); border-color: var(--on-dark); }
.btn-forest { background: var(--forest-800); color: var(--mist-50); }
.btn-forest:hover { background: var(--forest-700); box-shadow: 0 14px 30px -14px rgba(14, 28, 20, .6); }
.btn-ghost-dark { border-color: var(--forest-800); color: var(--forest-800); }
.btn-ghost-dark:hover { background: rgba(27, 58, 42, .08); }
.btn-deep { background: var(--forest-950); color: var(--on-dark); }
.btn-deep:hover { background: var(--forest-800); }
.btn-outline-deep { border-color: var(--forest-950); color: var(--forest-950); }
.btn-outline-deep:hover { background: rgba(14, 28, 20, .08); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- barra superior fija ---------- */
.site-nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(14, 28, 20, .9);
  -webkit-backdrop-filter: blur(16px) saturate(130%); backdrop-filter: blur(16px) saturate(130%);
  border-bottom: 1px solid rgba(237, 241, 236, .08);
  transition: background-color .3s, box-shadow .3s, border-color .3s;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-nav { background: rgba(14, 28, 20, .97); }
}
.site-nav.is-stuck {
  background: rgba(14, 28, 20, .95);
  border-bottom-color: rgba(237, 241, 236, .14);
  box-shadow: 0 18px 40px -26px rgba(0, 0, 0, .7);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--nav-h); transition: min-height .3s var(--ease); }

.brand { display: flex; align-items: center; gap: 14px; color: var(--on-dark); }
.brand-badge {
  display: block; background: #fff; padding: 7px 14px;
  border-radius: 20px 5px 20px 5px; box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .6);
  transition: transform .3s var(--ease);
}
.brand:hover .brand-badge { transform: translateY(-1px) rotate(-1deg); }
.brand-badge img { height: 64px; width: auto; transition: height .3s var(--ease); }
.brand-text { display: none; line-height: 1.15; }
.brand-kicker { display: block; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-mute); font-weight: 600; }
.brand-name { display: block; font-family: var(--font-display); font-size: 24px; color: var(--on-dark); }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-list { display: flex; align-items: center; gap: 30px; font-size: 15px; font-weight: 500; color: #DCE5DD; }
.navlink { position: relative; display: inline-block; padding: 6px 0; transition: color .25s; }
.navlink::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.navlink:hover { color: #fff; }
.navlink:hover::after, .navlink[aria-current]::after { transform: scaleX(1); }
.navlink[aria-current] { color: #fff; }

.nav-toggle {
  display: none; width: 48px; height: 48px; padding: 0; cursor: pointer;
  background: rgba(237, 241, 236, .08); border: 1px solid rgba(237, 241, 236, .22); border-radius: 16px 4px 16px 4px;
  align-items: center; justify-content: center;
}
.nav-toggle .bars { position: relative; display: block; width: 20px; height: 2px; background: var(--on-dark); transition: background-color .2s; }
.nav-toggle .bars::before, .nav-toggle .bars::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--on-dark);
  transition: transform .3s var(--ease);
}
.nav-toggle .bars::before { top: -6px; }
.nav-toggle .bars::after { top: 6px; }
.site-nav.is-open .bars { background: transparent; }
.site-nav.is-open .bars::before { transform: translateY(6px) rotate(45deg); }
.site-nav.is-open .bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (min-width: 1120px) { .brand-text { display: block; } }
@media (max-width: 959px) {
  :root { --nav-h: 80px; }
  .nav-toggle { display: inline-flex; }
  .brand-badge img { height: 50px; }
  .nav-links {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 20px;
    padding: 8px var(--gutter) 28px;
    background: rgba(14, 28, 20, .98); border-bottom: 1px solid rgba(237, 241, 236, .14);
    box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .8);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .3s var(--ease), visibility 0s linear .3s;
  }
  .site-nav.is-open .nav-links { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; font-size: 18px; }
  .nav-list li { border-bottom: 1px solid rgba(237, 241, 236, .1); }
  .navlink { display: block; padding: 16px 0; }
  .navlink::after { display: none; }
  .navlink[aria-current] { color: var(--gold-light); }
  .nav-cta { width: 100%; }
}

/* ---------- portada ---------- */
.hero { overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -3; pointer-events: none;
  background: radial-gradient(45% 55% at 4% 100%, rgba(217, 164, 65, .09), rgba(217, 164, 65, 0) 70%);
}
.hero-glow {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: radial-gradient(640px circle at var(--gx, 76%) var(--gy, 34%), rgba(36, 98, 62, .26), rgba(30, 74, 48, .11) 46%, rgba(30, 74, 48, 0) 74%);
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr); align-items: center;
  gap: clamp(32px, 5vw, 72px);
  padding-block: clamp(52px, 7vw, 104px) clamp(36px, 5vw, 64px);
}
.hero-copy { max-width: 860px; }
.hero h1 {
  margin-top: 28px;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(36px, 4.7vw, 68px); line-height: 1.14; letter-spacing: .004em;
  color: var(--on-dark);
}
.hero h1 span { display: block; }
.hero h1 .l3 { text-wrap: balance; }
.hero h1 span + span { margin-top: .1em; }
.hero h1 .l2 { color: var(--gold-light); }
.hero .lead { margin-top: 34px; max-width: 34em; color: var(--on-dark-soft); }
.hero .cta-row { margin-top: 44px; }
.hero-art { pointer-events: none; }
.hero-art img { width: 100%; }

@media (min-width: 1000px) {
  .hero-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); }
  .hero-art { justify-self: end; width: min(100%, 520px); }
}
@media (max-width: 999px) {
  .hero-art { position: absolute; right: -24%; top: 3%; width: min(90vw, 480px); opacity: .2; z-index: -1; }
}

/* panel de cristal con los horarios */
.panel {
  margin-top: clamp(40px, 6vw, 88px);
  padding: clamp(26px, 3.4vw, 44px);
  background: rgba(237, 241, 236, .07);
  -webkit-backdrop-filter: blur(18px) saturate(125%); backdrop-filter: blur(18px) saturate(125%);
  border: 1px solid rgba(237, 241, 236, .18);
  border-radius: var(--r-leaf-lg);
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .7);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .panel { background: rgba(27, 58, 42, .85); }
}
.panel-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; }
.panel-head h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(26px, 3vw, 36px); color: var(--on-dark); }
.panel-head p { font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.times { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 30px; }
.time { border-top: 1px solid rgba(217, 164, 65, .55); padding-top: 16px; }
.time dt { font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-mute); }
.time dd { margin: 6px 0 0; font-family: var(--font-display); font-size: clamp(34px, 4vw, 48px); line-height: 1.1; color: var(--on-dark); }
.panel-note { margin-top: 28px; display: flex; align-items: center; gap: 12px; font-size: 15.5px; color: var(--on-dark-soft); }
.panel-note::before { content: ""; flex: none; width: 9px; height: 9px; background: var(--gold); border-radius: 9px 1px 9px 1px; }

@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.rise { animation: rise 1s var(--ease) both; }
.d1 { animation-delay: .12s; } .d2 { animation-delay: .24s; } .d3 { animation-delay: .36s; } .d4 { animation-delay: .5s; }

/* ---------- cabecera de páginas interiores ---------- */
.page-hero { overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: radial-gradient(50% 80% at 88% 20%, rgba(36, 98, 62, .34), rgba(36, 98, 62, 0) 70%), radial-gradient(40% 50% at 0% 100%, rgba(217, 164, 65, .08), rgba(217, 164, 65, 0) 70%);
}
.page-hero .wrap { position: relative; padding-block: clamp(52px, 7vw, 96px) 0; }
.page-hero h1 {
  margin-top: 24px; max-width: 14em;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(38px, 5.4vw, 72px); line-height: 1.12; letter-spacing: .004em; text-wrap: balance;
}
.page-hero .lead { margin-top: 24px; max-width: 34em; color: var(--on-dark-soft); }
.page-hero-art { position: absolute; right: -3%; top: 6%; width: min(44vw, 440px); opacity: .5; z-index: -1; pointer-events: none; }
@media (max-width: 999px) { .page-hero-art { opacity: .22; right: -26%; } }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.chip {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px;
  font-size: 15px; font-weight: 600; color: var(--on-dark);
  border: 1.5px solid rgba(237, 241, 236, .3); border-radius: var(--r-leaf-sm);
  transition: background-color .3s, border-color .3s, transform .3s var(--ease), color .3s;
}
.chip:hover { background: var(--gold); border-color: var(--gold); color: var(--forest-950); transform: translateY(-2px); }

/* ---------- quiénes somos ---------- */
.split { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(40px, 6vw, 96px); }
.split > .col-media { flex: 1.3 1 460px; max-width: 740px; margin-inline: auto; min-width: 0; }
.split > .col-text { flex: 1 1 400px; min-width: 0; }
.photo {
  position: relative; padding: 0 22px 22px 0;
}
.photo::before {
  content: ""; position: absolute; inset: 22px 0 0 22px; z-index: 0;
  border: 1.5px solid var(--forest-600); border-radius: var(--r-leaf-lg); opacity: .55;
}
.photo-frame {
  position: relative; z-index: 1; overflow: hidden; border-radius: var(--r-leaf-lg);
  background: var(--mist-300); box-shadow: 0 40px 70px -40px rgba(14, 28, 20, .55);
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.photo--tall .photo-frame { aspect-ratio: 6 / 5; }
.photo--tall img { object-position: 50% 58%; }
.photo--wide { padding: 0 24px 24px 0; }
.photo--wide .photo-frame { aspect-ratio: 1600 / 880; }
.s-forest .photo::before, .s-dark .photo::before { border-color: var(--gold); opacity: .4; }
.col-text .lead { margin-top: 24px; color: var(--ink); }
.col-text .lead + .lead { margin-top: 16px; font-size: 17px; color: var(--ink-soft); }
.tags { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.tag {
  padding: 10px 18px; background: var(--mist-200); color: var(--forest-800);
  font-weight: 600; font-size: 15px; border-radius: var(--r-leaf-sm);
}
.col-text .cta-row { margin-top: 36px; }

/* ---------- lo que creemos ---------- */
.creemos-list {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 36px;
  margin-top: 48px; padding: 32px clamp(24px, 3vw, 40px);
  border: 1px solid rgba(237, 241, 236, .14); border-radius: var(--r-leaf-lg); background: rgba(237, 241, 236, .04);
}
.creemos-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.5; color: var(--on-dark-soft); }
.creemos-list li::before { content: ""; flex: none; margin-top: .55em; width: 9px; height: 9px; background: var(--gold); border-radius: 9px 1px 9px 1px; }
.creemos-kicker { margin-top: 56px; font-family: var(--font-display); font-size: clamp(24px, 2.6vw, 32px); color: var(--on-dark); }

.articles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; margin-top: 28px; align-items: start; }
.article { border: 1px solid rgba(237, 241, 236, .14); border-radius: var(--r-leaf); background: rgba(237, 241, 236, .04); transition: border-color .3s, background-color .3s; }
.article[open], .article:hover { border-color: rgba(217, 164, 65, .55); background: rgba(237, 241, 236, .07); }
.article summary {
  display: flex; align-items: center; gap: 18px; min-height: 72px; padding: 16px 22px;
  list-style: none; cursor: pointer;
}
.article summary::-webkit-details-marker { display: none; }
.article .letter { flex: none; width: 34px; font-family: var(--font-display); font-size: 28px; line-height: 1; color: var(--gold); }
.article .title { flex: 1; font-family: var(--font-display); font-size: 21px; line-height: 1.25; color: var(--on-dark); }
.article .plus { position: relative; flex: none; width: 18px; height: 18px; }
.article .plus::before, .article .plus::after { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 2px; background: var(--gold); transition: transform .3s var(--ease); }
.article .plus::after { transform: rotate(90deg); }
.article[open] .plus::after { transform: rotate(0); }
.article .body { padding: 0 22px 24px 74px; }
.article .body p { font-size: 16.5px; line-height: 1.7; color: var(--on-dark-soft); }
.article .body p + p, .article .body ul + p { margin-top: 12px; }
.article .refs { font-size: 14px; letter-spacing: .02em; color: var(--on-dark-mute); }
.article .refs b { color: var(--gold-light); font-weight: 600; }
.article .sub { margin-top: 14px; display: grid; gap: 8px; }
.article .sub li { display: flex; gap: 10px; font-size: 15.5px; line-height: 1.5; color: var(--on-dark-soft); }
.article .sub li::before { content: ""; flex: none; margin-top: .5em; width: 7px; height: 7px; background: var(--gold); border-radius: 7px 1px 7px 1px; }
.verse { margin-top: 56px; padding-left: 24px; border-left: 2px solid var(--gold); max-width: 640px; }
.verse p { font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 30px); line-height: 1.35; color: var(--on-dark); }
.verse cite { display: block; margin-top: 10px; font-style: normal; font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }

/* ---------- prédicas ---------- */
.vids { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 52px; }
.vid { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.vid-frame {
  position: relative; isolation: isolate; aspect-ratio: 16 / 9; overflow: hidden;
  background: var(--forest-950); border-radius: var(--r-leaf-md);
  box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .8);
  border: 1px solid rgba(237, 241, 236, .12);
  transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
}
.vid:hover .vid-frame, .vid[data-state="preview"] .vid-frame, .vid[data-state="play"] .vid-frame {
  transform: translateY(-4px); border-color: rgba(217, 164, 65, .6); box-shadow: 0 40px 70px -38px rgba(0, 0, 0, .9);
}
.vid-poster { position: absolute; inset: 0; z-index: 0; background: radial-gradient(circle at 78% 30%, rgba(78, 142, 100, .5), rgba(14, 28, 20, 0) 62%), var(--forest-900); }
.vid-poster::before { content: ""; position: absolute; right: -10%; top: -30%; width: 80%; aspect-ratio: 1; background: url("assets/rings.svg") center / contain no-repeat; }
.vid-poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.vid-poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(14, 28, 20, .72), rgba(14, 28, 20, 0) 55%); }
.vid iframe { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; border: 0; background: #000; transition: opacity .5s var(--ease); }
.vid[data-state="preview"]:not([data-ready]) iframe { opacity: 0; }
.vid-hit {
  position: absolute; inset: 0; z-index: 3; display: flex; align-items: center; justify-content: center;
  width: 100%; padding: 0; background: transparent; border: 0; cursor: pointer;
}
.vid-hit:focus-visible { outline: 3px solid var(--gold); outline-offset: -6px; border-radius: var(--r-leaf-md); }
.vid-btn {
  display: flex; align-items: center; justify-content: center; width: 76px; height: 76px;
  background: var(--gold); color: var(--forest-950); border-radius: 30px 6px 30px 6px;
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .6);
  transition: transform .35s var(--ease), opacity .3s, background-color .3s;
}
.vid-btn .i { width: 30px; height: 30px; }
.vid-hit:hover .vid-btn { transform: scale(1.07); background: var(--gold-hover); }
.vid-hint {
  position: absolute; left: 16px; bottom: 14px; z-index: 3; pointer-events: none;
  padding: 6px 14px; background: rgba(14, 28, 20, .72); color: var(--on-dark);
  font-size: 12.5px; font-weight: 600; letter-spacing: .06em; border-radius: 12px 3px 12px 3px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.vid-hint .when-touch { display: none; }
@media (hover: none), (pointer: coarse) { .vid-hint .when-hover { display: none; } .vid-hint .when-touch { display: inline; } }
.vid[data-state="preview"] .vid-btn { opacity: 0; }
.vid[data-state="preview"] .vid-hint .when-hover, .vid[data-state="preview"] .vid-hint .when-touch { display: none; }
.vid[data-state="preview"] .vid-hint::after { content: "Clic para ver con sonido"; }
@media (hover: none), (pointer: coarse) { .vid[data-state="preview"] .vid-hint::after { content: "Toca para ver con sonido"; } }
.vid[data-state="play"] .vid-hit, .vid[data-state="play"] .vid-hint { display: none; }
.vid-close {
  display: none; position: absolute; top: 10px; right: 10px; z-index: 4; width: 44px; height: 44px; padding: 0;
  align-items: center; justify-content: center; cursor: pointer;
  background: rgba(14, 28, 20, .8); color: var(--on-dark); border: 1px solid rgba(237, 241, 236, .3); border-radius: 16px 4px 16px 4px;
}
.vid-close:hover { background: var(--gold); color: var(--forest-950); }
.vid[data-state="play"] .vid-close { display: inline-flex; }
.vid h3 { margin-top: 14px; font-family: var(--font-display); font-weight: 400; font-size: 24px; line-height: 1.25; color: var(--on-dark); }
.vid-meta { font-size: 15px; color: var(--on-dark-mute); }
.vid-meta:empty { display: none; }
.vid-link { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 15px; font-weight: 600; color: var(--gold-light); }
.vid-link:hover { color: #fff; }
.vid-link .i { width: 1em; height: 1em; }
.vids-foot { margin-top: 44px; }

/* ---------- recursos ---------- */
.res-teaser { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.res-card {
  display: flex; flex-direction: column; gap: 10px; padding: 30px 28px 28px;
  background: var(--mist-100); border: 1px solid var(--mist-300); border-radius: var(--r-leaf-md);
  transition: transform .4s var(--ease), border-color .4s, background-color .4s;
}
.res-card:hover { transform: translateY(-5px); border-color: var(--gold); background: #fff; }
.res-card .ico { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; background: var(--forest-800); color: var(--gold-light); border-radius: 18px 4px 18px 4px; }
.res-card .ico .i { width: 26px; height: 26px; }
.res-card h3 { margin-top: 8px; font-family: var(--font-display); font-weight: 400; font-size: 25px; line-height: 1.2; color: var(--ink-deep); }
.res-card p { font-size: 16px; color: var(--ink-soft); }
.res-card .go { margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15.5px; color: var(--forest-800); }
.res-foot { margin-top: 44px; }

.cats { columns: 2; column-gap: 28px; margin-top: 8px; }
.cat {
  break-inside: avoid; display: inline-block; width: 100%; margin: 0 0 28px; padding: 30px clamp(20px, 2.6vw, 32px) 18px;
  background: var(--mist-100); border: 1px solid var(--mist-300); border-radius: var(--r-leaf-lg);
}
.cat-head { display: flex; align-items: center; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--mist-300); }
.cat-head .ico { display: inline-flex; flex: none; width: 54px; height: 54px; align-items: center; justify-content: center; background: var(--forest-800); color: var(--gold-light); border-radius: 18px 4px 18px 4px; }
.cat-head .ico .i { width: 26px; height: 26px; }
.cat-head h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15; color: var(--ink-deep); }
.cat-head p { font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); }
.links { margin-top: 10px; }
.link-row {
  display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 10px 14px; margin-inline: -14px;
  border-radius: 20px 4px 20px 4px;
  transition: background-color .3s, transform .3s var(--ease);
}
.link-row + .link-row { margin-top: 2px; }
.link-row:hover { background: var(--mist-200); transform: translateX(4px); }
.link-row .doc { flex: none; display: inline-flex; color: var(--forest-600); }
.link-row .doc .i { width: 24px; height: 24px; }
.link-row .name { flex: 1; min-width: 0; font-weight: 600; line-height: 1.35; color: var(--ink-deep); }
.link-row .type { flex: none; padding: 3px 10px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--forest-800); background: var(--mist-300); border-radius: 10px 3px 10px 3px; }
.link-row .go { flex: none; display: inline-flex; color: var(--forest-800); }
.link-row .go .i { width: 18px; height: 18px; }
.res-note { margin-bottom: 36px; font-size: 15.5px; color: var(--ink-soft); }

/* ---------- visítanos ---------- */
.visit { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.visit-card { display: flex; flex-direction: column; gap: 12px; padding: 32px 30px; background: var(--mist-100); border: 1px solid var(--mist-300); border-radius: var(--r-leaf-md); }
.visit-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 26px; line-height: 1.2; color: var(--ink-deep); }
.visit-card p { color: var(--ink-soft); font-size: 16.5px; }
.visit-card .slots { display: grid; gap: 10px; margin-top: 4px; }
.visit-card .slots li { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--mist-300); font-size: 16px; }
.visit-card .slots li span:first-child { color: var(--ink-soft); }
.visit-card .slots li strong { font-family: var(--font-display); font-weight: 400; font-size: 20px; color: var(--ink-deep); white-space: nowrap; }
.visit-card .btn { margin-top: auto; }
.visit-card p + .btn, .visit-card .slots + .btn { margin-top: 14px; }

/* ---------- contacto ---------- */
.contact { padding-top: clamp(72px, 9vw, 120px); padding-bottom: 0; overflow: hidden; }
.contact-grid { display: flex; flex-wrap: wrap; gap: clamp(40px, 6vw, 88px); }
.contact-grid > div { flex: 1 1 400px; min-width: 0; }
.contact .lead { margin-top: 22px; max-width: 30em; color: var(--on-dark-soft); }
.addr {
  display: flex; gap: 18px; margin-top: 40px; padding: 26px 28px;
  background: rgba(237, 241, 236, .06); border: 1px solid rgba(237, 241, 236, .14); border-radius: var(--r-leaf-md);
}
.addr > .i { flex: none; margin-top: 3px; width: 26px; height: 26px; color: var(--gold); }
.addr strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 24px; line-height: 1.25; color: var(--on-dark); }
.addr .city { margin-top: 2px; font-size: 15.5px; color: var(--on-dark-mute); }
.addr .ref { margin-top: 12px; font-size: 15.5px; line-height: 1.65; color: var(--on-dark-soft); }
.addr .btn { margin-top: 20px; }
.contact-stack { display: flex; flex-direction: column; gap: 18px; }
.call-card { padding: 30px 32px; background: var(--gold); color: var(--forest-950); border-radius: var(--r-leaf-lg); }
.call-card .k { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.call-card .num { margin-top: 8px; font-family: var(--font-display); font-size: clamp(36px, 4.4vw, 52px); line-height: 1.1; }
.call-card .cta-row { margin-top: 22px; gap: 12px; }
.info-card {
  display: flex; align-items: center; gap: 18px; padding: 24px 28px;
  background: rgba(237, 241, 236, .06); border: 1px solid rgba(237, 241, 236, .14); border-radius: var(--r-leaf-md);
  transition: transform .4s var(--ease), border-color .4s, background-color .4s;
}
a.info-card:hover { transform: translateY(-5px); border-color: rgba(217, 164, 65, .6); background: rgba(237, 241, 236, .09); }
.info-card > .i { flex: none; width: 26px; height: 26px; color: var(--gold); }
.info-card .k { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-mute); }
.info-card .v { margin-top: 2px; font-size: 18px; font-weight: 600; color: var(--on-dark); word-break: break-word; }

.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-top: clamp(64px, 8vw, 104px); padding: 32px 0 36px; border-top: 1px solid rgba(237, 241, 236, .14); }
.foot-brand { display: flex; align-items: center; gap: 16px; }
.foot-brand .brand-badge img { height: 56px; }
.foot-brand p { font-family: var(--font-display); font-size: 18px; line-height: 1.3; color: var(--on-dark); }
.foot-brand small { display: block; margin-top: 2px; font-family: var(--font-body); font-size: 14px; color: var(--on-dark-mute); }
.foot-phone { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-family: var(--font-display); font-size: 26px; color: var(--gold-light); transition: color .25s; }
.foot-phone:hover { color: #fff; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 4px 22px; font-size: 15px; font-weight: 500; color: var(--on-dark-soft); }
.foot-nav a { display: inline-flex; align-items: center; min-height: 44px; }
.foot-nav a:hover { color: #fff; }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 0 0 28px; font-size: 13.5px; color: var(--on-dark-faint); }

/* botón flotante de WhatsApp (teléfonos) */
.fab-wa {
  position: fixed; z-index: 55; right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px));
  display: none; align-items: center; gap: 10px; min-height: 56px; padding: 0 22px;
  background: var(--gold); color: var(--forest-950); font-weight: 700; font-size: 16px;
  border-radius: 20px 5px 20px 5px; box-shadow: 0 18px 36px -14px rgba(0, 0, 0, .7);
}
.fab-wa .i { width: 22px; height: 22px; }

.fab-wa { transition: opacity .3s, transform .3s var(--ease); }
.fab-wa.is-hidden { opacity: 0; transform: translateY(12px); pointer-events: none; }

/* ---------- 404 ---------- */
.lost { text-align: left; }
.lost .num { font-family: var(--font-display); font-size: clamp(88px, 18vw, 200px); line-height: 1; color: var(--gold-light); }

/* ---------- adaptación a pantallas ---------- */
@media (max-width: 1019px) {
  .creemos-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .res-teaser, .visit { grid-template-columns: 1fr; }
  .cats { columns: 1; }
}
@media (max-width: 899px) {
  .vids { grid-template-columns: 1fr; gap: 40px; }
  .articles { grid-template-columns: 1fr; }
  .fab-wa { display: inline-flex; }
  .legal { padding-bottom: 96px; }
}
@media (max-width: 719px) {
  body { font-size: 16.5px; }
  .eyebrow { font-size: 12px; letter-spacing: .13em; gap: 10px; }
  .eyebrow::before { width: 24px; }
  .times { grid-template-columns: 1fr; gap: 20px; }
  .creemos-list { grid-template-columns: 1fr; padding: 26px 22px; }
  .btn { width: 100%; }
  .cta-row .btn { flex: 1 1 100%; }
  .article summary { padding: 14px 18px; gap: 14px; }
  .article .body { padding: 0 18px 22px 18px; }
  .link-row { margin-inline: -8px; padding-inline: 8px; }
  .link-row .type { display: none; }
  .photo, .photo--wide { padding: 0 14px 14px 0; }
  .photo::before { inset: 14px 0 0 14px; }
  .foot { flex-direction: column; align-items: flex-start; }
  .vid-btn { width: 64px; height: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .site-nav, .fab-wa, .hero-glow { display: none !important; }
}
