/* =========================================================================
   Templo Jehová Shammah · Design System
   "Jehová Shammah" = El SEÑOR está allí (Ezequiel 48:35)
   Feel: fresh · divino · limpio · sencillo
   ========================================================================= */

:root {
  /* Brand palette · celestial indigo + divine gold on warm ivory */
  --ink:        #26201b;   /* warm deep espresso (near-black) */
  --indigo:     #3d2f24;   /* warm dark brown */
  --royal:      #9a6a38;   /* caramel/bronze accent (replaces blue) */
  --sky:        #c19a6a;   /* warm tan */
  --sky-soft:   #ecdcc6;   /* warm sand */
  --gold:       #be8f3c;
  --gold-warm:  #d7ac54;
  --gold-soft:  #ecd9ac;
  --cream:      #f7f1e7;   /* warm ivory page background */
  --mist:       #f1e9db;   /* warm light section */
  --white:      #fffdf8;

  --body:       #4a3f34;
  --muted:      #8a7b69;
  --line:       rgba(58, 42, 26, .13);
  --line-soft:  rgba(58, 42, 26, .07);

  /* Typography */
  --font-display: "PT Serif", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Rhythm */
  --maxw: 1160px;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(15, 21, 51, .05);
  --shadow: 0 18px 50px -22px rgba(15, 21, 51, .35);
  --shadow-gold: 0 18px 40px -18px rgba(193, 154, 69, .55);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; color: var(--ink); letter-spacing: -.01em; }

/* ---------- Language visibility ---------- */
html[lang="es"] .en { display: none; }
html[lang="en"] .es { display: none; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.center { text-align: center; }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: .6em;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--gold); opacity: .7; }
.eyebrow.center-line::after { content: ""; width: 26px; height: 1px; background: var(--gold); opacity: .7; }

.h-sec { font-size: clamp(2rem, 4.4vw, 3.1rem); margin-top: 14px; }
.lead { color: var(--muted); font-size: 1.08rem; max-width: 62ch; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: 15px 28px; border-radius: 100px; border: 1px solid transparent;
  font-weight: 600; font-size: .98rem; letter-spacing: .01em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; }
.btn--gold { background: linear-gradient(135deg, var(--gold-warm), var(--gold)); color: #2a2003; box-shadow: var(--shadow-gold); }
.btn--gold:hover { transform: translateY(-3px); box-shadow: 0 24px 48px -18px rgba(193,154,69,.7); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { transform: translateY(-3px); background: var(--indigo); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-3px); }
.btn--light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.28); backdrop-filter: blur(6px); }
.btn--light:hover { background: rgba(255,255,255,.24); transform: translateY(-3px); }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 76px; }
.header.scrolled { background: rgba(250, 248, 242, .82); backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }

.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; letter-spacing: .01em; }
.brand__sub { font-size: .62rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.header:not(.scrolled) .brand, .header:not(.scrolled) .nav a { color: #fff; }
.header:not(.scrolled) .brand__sub { color: var(--gold-soft); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-size: .93rem; font-weight: 500; color: var(--body); position: relative; transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--gold); transition: width .25s var(--ease); }
.nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.lang-toggle {
  display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 100px; overflow: hidden;
  font-size: .74rem; font-weight: 700; letter-spacing: .05em;
}
.header:not(.scrolled) .lang-toggle { border-color: rgba(255,255,255,.35); }
.lang-toggle button { background: transparent; border: 0; padding: 7px 12px; color: var(--muted); transition: background .2s, color .2s; }
.header:not(.scrolled) .lang-toggle button { color: rgba(255,255,255,.75); }
.lang-toggle button.active { background: var(--ink); color: #fff; }
.header:not(.scrolled) .lang-toggle button.active { background: rgba(255,255,255,.95); color: var(--ink); }

.menu-btn { display: none; background: transparent; border: 0; padding: 8px; color: currentColor; }
.menu-btn svg { width: 26px; height: 26px; }

/* ---------- Mobile drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(15,21,51,.5); opacity: 0; transition: opacity .3s; }
.drawer__panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(86vw, 360px);
  background: var(--cream); padding: 26px 26px 40px; transform: translateX(100%);
  transition: transform .35s var(--ease); display: flex; flex-direction: column; gap: 8px; overflow-y: auto;
}
.drawer.open { visibility: visible; }
.drawer.open .drawer__scrim { opacity: 1; }
.drawer.open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.drawer__panel a.drawer-link { padding: 14px 4px; font-size: 1.1rem; font-family: var(--font-display); color: var(--ink); border-bottom: 1px solid var(--line-soft); }
.drawer__panel .btn { margin-top: 16px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  color: #fff; overflow: hidden; isolation: isolate;
  background:
    linear-gradient(90deg, rgba(33,25,19,.92) 0%, rgba(40,31,23,.78) 42%, rgba(38,32,27,.40) 100%),
    linear-gradient(180deg, rgba(38,32,27,.28) 0%, rgba(33,25,19,.55) 70%, rgba(26,20,15,.9) 100%),
    url("assets/hero-sky.jpg");
  background-size: cover, cover, cover;
  background-position: center, center, center 32%;
  background-repeat: no-repeat;
}
.hero__glow {
  position: absolute; z-index: -1; inset: 0;
  background: radial-gradient(closest-side, rgba(216,180,95,.5), transparent 70%);
  width: 620px; height: 620px; top: -140px; right: -80px; filter: blur(30px); opacity: .3;
  animation: float 14s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0) } 50% { transform: translateY(30px) } }
.hero__stars { position: absolute; inset: 0; z-index: -1; opacity: .5; }

.hero__inner { padding-top: 120px; padding-bottom: 80px; max-width: 820px; }
.hero__verse { font-size: .82rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-soft); font-weight: 600; margin-bottom: 22px; display: inline-flex; align-items: center; gap: 10px; }
.hero__verse::before { content: ""; width: 30px; height: 1px; background: var(--gold-soft); }
.hero h1 { color: #fff; font-size: clamp(2.7rem, 7vw, 5rem); font-weight: 400; line-height: 1.04; letter-spacing: -.02em; }
.hero h1 em { font-style: italic; color: var(--gold-warm); }
.hero__meaning { font-family: var(--font-display); font-style: italic; font-size: clamp(1.15rem, 2.4vw, 1.55rem); color: var(--sky-soft); margin-top: 18px; }
.hero__sub { font-size: 1.1rem; color: rgba(255,255,255,.82); margin-top: 22px; max-width: 54ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero__scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.6); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero__scroll span { width: 1px; height: 40px; background: linear-gradient(rgba(255,255,255,.6), transparent); animation: drop 2s ease-in-out infinite; }
@keyframes drop { 0%,100% { transform: scaleY(.4); opacity: .3; transform-origin: top } 50% { transform: scaleY(1); opacity: 1; transform-origin: top } }

/* ---------- Next-service banner ---------- */
.nextbar { background: var(--ink); color: #fff; }
.nextbar__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 20px; padding-block: 16px; text-align: center; font-size: .95rem; }
.nextbar b { color: var(--gold-warm); font-weight: 600; }
.nextbar .dot { width: 8px; height: 8px; border-radius: 50%; background: #47d16a; box-shadow: 0 0 0 0 rgba(71,209,106,.7); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(71,209,106,.6) } 70% { box-shadow: 0 0 0 10px rgba(71,209,106,0) } 100% { box-shadow: 0 0 0 0 rgba(71,209,106,0) } }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
}
.service-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--gold-warm), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-card__day { font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); }
.service-card__name { color: var(--gold); font-weight: 600; margin-top: 4px; }
.service-card__time { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-weight: 600; color: var(--body); font-size: 1.05rem; }
.service-card__time svg { width: 18px; height: 18px; color: var(--royal); }
.service-card p { color: var(--muted); font-size: .95rem; margin-top: 14px; }

/* ---------- Section theming ---------- */
.bg-mist { background: var(--mist); }
.bg-ink { background: var(--ink); color: rgba(255,255,255,.85); }
.bg-ink h1, .bg-ink h2, .bg-ink h3 { color: #fff; }
.bg-ink .lead { color: rgba(255,255,255,.72); }

/* ---------- Live section ---------- */
.live-wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.live-frame { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #1d1610; }
.live-frame iframe { width: 100%; height: 100%; border: 0; }
.live-poster { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; text-align: center; padding: 30px; color: #fff;
  background: radial-gradient(120% 100% at 50% 0%, rgba(154,106,56,.45), transparent), linear-gradient(160deg, #2e241c, #1a130d); }
.live-play { width: 74px; height: 74px; border-radius: 50%; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); display: grid; place-items: center; backdrop-filter: blur(6px); transition: transform .3s, background .3s; }
.live-play:hover { transform: scale(1.08); background: rgba(255,255,255,.24); }
.live-play svg { width: 30px; height: 30px; color: #fff; margin-left: 4px; }
.live-badge { display: inline-flex; align-items: center; gap: 8px; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: #fff; background: #d63a3a; padding: 6px 12px; border-radius: 100px; }
.live-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: pulse-w 1.6s infinite; }
@keyframes pulse-w { 0%,100% { opacity: 1 } 50% { opacity: .35 } }

/* ---------- Split / feature blocks ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--reverse .split__media { order: 2; }
.feature-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(30px, 4vw, 48px); box-shadow: var(--shadow);
}
.stack { display: flex; flex-direction: column; gap: 18px; }
.check-list { list-style: none; padding: 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list svg { width: 22px; height: 22px; color: var(--gold); flex: none; margin-top: 2px; }

/* Visit photo */
.visit-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 22px; aspect-ratio: 16 / 10; }
.visit-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Nuestra comunidad (real photos) */
.comunidad-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.comunidad-grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease); }
.comunidad-grid img:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
@media (max-width: 760px) { .comunidad-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .comunidad-grid { grid-template-columns: 1fr; } }

/* ---------- Calendly ---------- */
.calendly-inline-widget { min-width: 320px; height: 680px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.pastor-card { display: flex; gap: 18px; align-items: center; background: var(--mist); border-radius: var(--radius); padding: 22px; margin-bottom: 26px; }
.pastor-avatar { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, var(--royal), var(--indigo)); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-size: 1.6rem; flex: none; }

/* Pastor feature (with photo) */
.pastor-feature { display: grid; grid-template-columns: .95fr 1.05fr; gap: 44px; align-items: center; max-width: 1000px; margin: 0 auto 48px; }
.pastor-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--mist); }
.pastor-photo img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 1 / 1; }
.pastor-bio { gap: 20px; }
.pastor-name { display: flex; align-items: center; gap: 16px; }
.pastor-quote { position: relative; font-family: var(--font-display); font-style: italic; font-size: 1.3rem; line-height: 1.4; color: var(--ink); padding-left: 20px; border-left: 3px solid var(--gold); }
.pastor-photo--empty { position: relative; min-height: 340px; display: grid; place-items: center; text-align: center;
  background: linear-gradient(150deg, #2b3a86, #141a44); }
.pastor-photo--empty::after { content: attr(data-msg); color: rgba(255,255,255,.7); font-size: .9rem; font-weight: 600; letter-spacing: .04em; padding: 24px; max-width: 26ch; }
@media (max-width: 960px) { .pastor-feature { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Forms ---------- */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .82rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; letter-spacing: .01em; }
.field .req { color: var(--gold); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--cream); font-family: inherit; font-size: 1rem; color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--royal); background: #fff; box-shadow: 0 0 0 4px rgba(53,74,166,.12); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.check-inline { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.check-inline input { width: auto; margin-top: 4px; flex: none; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 6px; }

/* ---------- Prayer section styling ---------- */
.prayer { position: relative; overflow: hidden; }
.prayer__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.pray-quote { font-family: var(--font-display); font-style: italic; font-size: clamp(1.6rem, 3.4vw, 2.4rem); line-height: 1.3; color: #fff; }
.pray-quote span { color: var(--gold-warm); }

/* ---------- Ministries ---------- */
.min-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.min-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; transition: transform .3s var(--ease), box-shadow .3s; box-shadow: var(--shadow-sm); }
.min-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.min-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--sky-soft), var(--white)); color: var(--royal); margin-bottom: 16px; }
.min-icon svg { width: 26px; height: 26px; }
.min-card h3 { font-size: 1.2rem; }
.min-card p { color: var(--muted); font-size: .92rem; margin-top: 8px; }

/* Ministry cards (icon style, no stock photos) */
.min-card.has-photo { padding: 28px 24px; }
.min-photo { display: none; }
.min-body { padding: 0; }
.min-card.has-photo .min-icon { display: grid; }

/* ---------- Resources preview ---------- */
.res-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.res-card { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 260px; display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; color: #fff; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s; }
.res-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.res-card::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, transparent 20%, rgba(26,20,15,.85)); }
.res-card > * { position: relative; z-index: 1; }
.res-card .tag { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--gold-warm); }
.res-card h3 { color: #fff; font-size: 1.4rem; margin-top: 6px; }
.res-card p { color: rgba(255,255,255,.8); font-size: .9rem; margin-top: 8px; }
.res-card { background-size: cover; background-position: center; }
.res-1 { background: linear-gradient(150deg, #4a3526, #241a12); }
.res-2 { background: linear-gradient(150deg, #7c5a29, #3a2911); }
.res-3 { background: linear-gradient(150deg, #5a4230, #271b12); }

/* ---------- Give ---------- */
.give-card { text-align: center; background: linear-gradient(160deg, var(--indigo), var(--ink)); color: #fff; border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 72px); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.give-card::before { content: ""; position: absolute; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(closest-side, rgba(216,180,95,.4), transparent); top: -160px; right: -120px; }
.give-card h2 { color: #fff; }
.give-card .lead { color: rgba(255,255,255,.78); margin-inline: auto; }
.give-methods { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 32px; }

/* ---------- Visit / location ---------- */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.info-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.info-card h3 { font-size: 1.25rem; display: flex; align-items: center; gap: 10px; }
.info-card h3 svg { width: 22px; height: 22px; color: var(--gold); }
.info-card address { font-style: normal; color: var(--muted); margin-top: 12px; line-height: 1.9; }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); min-height: 300px; }
.map-embed iframe { width: 100%; height: 100%; min-height: 300px; border: 0; filter: grayscale(.2) contrast(1.05); }

/* ---------- Footer ---------- */
.footer { background: #0a0e26; color: rgba(255,255,255,.7); padding-block: 64px 30px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer h4 { color: #fff; font-family: var(--font-body); font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; font-weight: 700; }
.footer a { color: rgba(255,255,255,.7); transition: color .2s; font-size: .95rem; }
.footer a:hover { color: var(--gold-warm); }
.footer ul { list-style: none; padding: 0; display: grid; gap: 12px; }
.footer .brand__name, .footer .brand { color: #fff; }
.footer__about p { font-size: .95rem; margin-top: 16px; max-width: 34ch; }
.socials { display: flex; gap: 12px; margin-top: 20px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); transition: background .25s, transform .25s; }
.socials a:hover { background: var(--gold); transform: translateY(-3px); }
.socials svg { width: 20px; height: 20px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .82rem; color: rgba(255,255,255,.5); }

/* ---------- Floating WhatsApp ---------- */
.wa-fab { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 14px 30px -8px rgba(37,211,102,.6); transition: transform .25s; }
.wa-fab:hover { transform: scale(1.08); }
.wa-fab svg { width: 30px; height: 30px; color: #fff; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  * { animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- Divider / verse strip ---------- */
.verse-strip { text-align: center; }
.verse-strip blockquote { font-family: var(--font-display); font-style: italic; font-size: clamp(1.5rem, 3.6vw, 2.5rem); line-height: 1.35; color: var(--ink); max-width: 20ch; margin-inline: auto; }
.verse-strip .bg-ink & { color: #fff; }
.verse-strip cite { display: block; margin-top: 22px; font-family: var(--font-body); font-style: normal; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; font-size: .78rem; color: var(--gold); }

/* ---------- Simple page hero (subpages) ---------- */
.pagehero { background: linear-gradient(160deg, #33271d, #1d1610); color: #fff; padding-top: 150px; padding-bottom: 70px; position: relative; overflow: hidden; }
.pagehero::after { content: ""; position: absolute; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(closest-side, rgba(216,180,95,.3), transparent); top: -160px; right: -100px; }
.pagehero h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 400; }
.pagehero p { color: rgba(255,255,255,.78); margin-top: 14px; max-width: 60ch; }
.breadcrumb { font-size: .82rem; color: var(--gold-soft); letter-spacing: .06em; margin-bottom: 18px; }
.breadcrumb a:hover { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .services-grid { grid-template-columns: 1fr; }
  .live-wrap, .split, .prayer__grid, .info-grid { grid-template-columns: 1fr; gap: 32px; }
  .split--reverse .split__media { order: 0; }
  .min-grid { grid-template-columns: repeat(2, 1fr); }
  .res-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .field-row { grid-template-columns: 1fr; }
  .min-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .header-actions .btn { display: none; }
  .give-methods { flex-direction: column; }
}

/* =========================================================================
   Matrimonios (contenido)
   ========================================================================= */
.mrg-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pillar { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow-sm); border-top: 4px solid var(--gold); }
.pillar h3 { font-size: 1.15rem; margin-bottom: 6px; }
.pillar .ref { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.pillar p { color: var(--muted); font-size: .95rem; }

/* Accordion (Guía) */
.acc { max-width: 860px; margin-inline: auto; display: flex; flex-direction: column; gap: 14px; }
.acc__item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.acc__head { width: 100%; text-align: left; background: transparent; border: 0; padding: 22px 24px; display: flex; align-items: center; gap: 16px; cursor: pointer; }
.acc__num { width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-size: 1.1rem; background: linear-gradient(135deg, var(--sky-soft), #eef2fd); color: var(--royal); }
.acc__title { flex: 1; font-family: var(--font-display); font-size: 1.25rem; color: var(--ink); }
.acc__chev { width: 22px; height: 22px; color: var(--muted); transition: transform .3s var(--ease); flex: none; }
.acc__item.open .acc__chev { transform: rotate(180deg); }
.acc__body { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.acc__inner { padding: 0 24px 26px 78px; }
.acc__verse { font-family: var(--font-display); font-style: italic; font-size: 1.05rem; color: var(--indigo); border-left: 3px solid var(--gold); padding-left: 16px; margin-bottom: 16px; }
.acc__inner h4 { font-family: var(--font-body); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin: 18px 0 8px; }
.acc__inner ul { margin: 0; padding-left: 20px; color: var(--body); }
.acc__inner ul li { margin-bottom: 6px; }
.acc__talk { margin-top: 16px; background: var(--mist); border-radius: var(--radius-sm); padding: 14px 18px; font-size: .95rem; color: var(--indigo); }
.acc__talk b { color: var(--ink); }
@media (max-width: 600px) { .acc__inner { padding-left: 24px; } }

/* Devotional 21 days */
.dev-progress-wrap { max-width: 860px; margin: 0 auto 30px; }
.dev-progress-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: .9rem; color: var(--muted); }
.dev-bar { height: 12px; border-radius: 100px; background: var(--mist); overflow: hidden; border: 1px solid var(--line); }
.dev-bar__fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--gold-warm), var(--gold)); border-radius: 100px; transition: width .5s var(--ease); }
.dev-reset { background: transparent; border: 0; color: var(--royal); font-size: .82rem; text-decoration: underline; cursor: pointer; }
.dev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dev-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; position: relative; }
.dev-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.dev-card__day { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--gold); }
.dev-card__theme { font-family: var(--font-display); font-size: 1.2rem; color: var(--ink); margin: 4px 0 10px; }
.dev-card__verse { font-style: italic; color: var(--indigo); font-size: .92rem; margin-bottom: 10px; }
.dev-card__text { color: var(--muted); font-size: .9rem; }
.dev-card__pray { margin-top: 10px; font-size: .88rem; color: var(--body); }
.dev-card__pray b { color: var(--gold); font-family: var(--font-body); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; display: block; margin-bottom: 2px; }
.dev-check { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: .85rem; font-weight: 600; color: var(--royal); }
.dev-check .box { width: 22px; height: 22px; border-radius: 6px; border: 2px solid var(--line); display: grid; place-items: center; transition: background .2s, border-color .2s; }
.dev-check .box svg { width: 14px; height: 14px; color: #fff; opacity: 0; }
.dev-card.done { border-color: var(--gold); background: #fffdf6; }
.dev-card.done .dev-check .box { background: var(--gold); border-color: var(--gold); }
.dev-card.done .dev-check .box svg { opacity: 1; }
@media (max-width: 860px) { .dev-grid, .mrg-pillars { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .dev-grid, .mrg-pillars { grid-template-columns: 1fr; } }

/* Taller: termometro */
.quiz { max-width: 760px; margin-inline: auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 42px); box-shadow: var(--shadow); }
.quiz__q { padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.quiz__q:last-of-type { border-bottom: 0; }
.quiz__q p { font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.quiz__scale { display: flex; gap: 8px; flex-wrap: wrap; }
.quiz__scale label { flex: 1; min-width: 54px; text-align: center; }
.quiz__scale input { position: absolute; opacity: 0; }
.quiz__scale span { display: block; padding: 10px 4px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-weight: 600; color: var(--muted); cursor: pointer; transition: all .2s; font-size: .95rem; }
.quiz__scale input:checked + span { background: var(--royal); color: #fff; border-color: var(--royal); }
.quiz__result { margin-top: 24px; padding: 22px; border-radius: var(--radius); background: var(--mist); display: none; }
.quiz__result.show { display: block; }
.quiz__result h4 { font-size: 1.3rem; margin-bottom: 8px; }
.quiz__scale-hint { display: flex; justify-content: space-between; font-size: .74rem; color: var(--muted); margin-top: 6px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.step__n { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 14px; }
.step h3 { font-size: 1.1rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .92rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Section sub-nav (chips) */
.subnav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 26px; }
.subnav a { padding: 10px 20px; border-radius: 100px; border: 1px solid var(--line); font-weight: 600; font-size: .92rem; color: var(--ink); background: var(--white); transition: all .2s; }
.subnav a:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

/* Lessons: memorize box + complete toggle */
.memo { margin-top: 16px; background: linear-gradient(135deg, #fff8e8, #fdf1d6); border: 1px solid var(--gold-soft); border-radius: var(--radius-sm); padding: 14px 18px; }
.memo b { color: var(--gold); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; display: block; margin-bottom: 4px; }
.memo .verse { font-family: var(--font-display); font-style: italic; color: var(--indigo); font-size: 1.05rem; }
.lesson-key { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--royal); background: var(--mist); padding: 4px 12px; border-radius: 100px; margin-bottom: 14px; }
.complete-toggle { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; padding: 10px 18px; border: 2px solid var(--line); border-radius: 100px; background: var(--white); font-weight: 600; color: var(--royal); cursor: pointer; transition: all .2s; font-size: .9rem; }
.complete-toggle .box { width: 20px; height: 20px; border-radius: 6px; border: 2px solid var(--line); display: grid; place-items: center; transition: all .2s; }
.complete-toggle .box svg { width: 13px; height: 13px; color: #fff; opacity: 0; }
.complete-toggle.done { border-color: var(--gold); background: #fffdf6; color: var(--gold); }
.complete-toggle.done .box { background: var(--gold); border-color: var(--gold); }
.complete-toggle.done .box svg { opacity: 1; }
.acc__item.done-item { border-color: var(--gold-soft); }
.acc__item.done-item .acc__num { background: linear-gradient(135deg, var(--gold-warm), var(--gold)); color: #2a2003; }

/* Devocionales */
.devo-today { background: linear-gradient(160deg, var(--indigo), var(--ink)); color: #fff; border-radius: var(--radius-lg); padding: clamp(30px, 5vw, 56px); box-shadow: var(--shadow); position: relative; overflow: hidden; max-width: 860px; margin-inline: auto; }
.devo-today::before { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(closest-side, rgba(216,180,95,.35), transparent); top: -140px; right: -110px; }
.devo-today > * { position: relative; z-index: 1; }
.devo-today h3 { color: #fff; font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin: 14px 0; }
.devo-today .d-verse { font-family: var(--font-display); font-style: italic; font-size: 1.15rem; color: var(--sky-soft); border-left: 3px solid var(--gold); padding-left: 16px; margin-bottom: 18px; }
.devo-today .d-text { color: rgba(255,255,255,.85); }
.devo-today .d-pray { margin-top: 16px; color: #fff; }
.devo-today .d-pray b { display: block; color: var(--gold-warm); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }
.devo-cat { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--royal); background: var(--mist); padding: 5px 12px; border-radius: 100px; flex: none; }
.devo-today .devo-cat { background: rgba(255,255,255,.15); color: var(--gold-warm); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 30px; }
.chip { padding: 9px 18px; border-radius: 100px; border: 1px solid var(--line); background: var(--white); font-weight: 600; font-size: .9rem; color: var(--ink); cursor: pointer; transition: all .2s; }
.chip:hover { border-color: var(--gold); color: var(--gold); }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.acc__head .devo-cat { margin-right: 4px; }
