:root {
  --navy-950: #061426;
  --navy-900: #081a31;
  --navy-800: #0e2949;
  --navy-700: #183a60;
  --gold-300: #f0d697;
  --gold-400: #ddb96b;
  --gold-500: #c7963f;
  --ivory: #f8f3e8;
  --cream: #eee4d1;
  --white: #fffdf8;
  --ink: #13253b;
  --muted: #5e6976;
  --serif: "Libre Baskerville", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
  --shadow: 0 24px 70px rgba(4, 19, 37, .15);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; color: var(--ink); background: var(--ivory); font-family: var(--sans); font-size: 1rem; line-height: 1.7; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.en { display: none; }
body.lang-en .es { display: none !important; }
body.lang-en .en { display: inline; }
p.en, body.lang-en p.en { display: none; }
body.lang-en p.en { display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -60px; left: 20px; z-index: 200; padding: 10px 16px; background: var(--gold-300); color: var(--navy-950); border-radius: 0 0 8px 8px; }
.skip-link:focus { top: 0; }
.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.section-dark { color: var(--white); background: var(--navy-950); }
.section-light { background: var(--white); }
.section-ivory { background: var(--ivory); }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(6,20,38,.94); border-bottom: 1px solid rgba(221,185,107,.24); backdrop-filter: blur(14px); }
.header-inner { width: min(1280px, calc(100% - 32px)); min-height: 82px; margin: auto; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); flex: 0 0 auto; }
.brand img { width: 56px; height: 56px; border-radius: 50%; }
.brand-copy { display: grid; line-height: 1.2; }
.brand-copy strong { font-family: var(--serif); font-size: .94rem; letter-spacing: .02em; }
.brand-copy small { margin-top: 4px; color: var(--gold-300); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 24px; color: #e8edf4; }
.main-nav a { position: relative; padding: 28px 0 24px; font-size: .86rem; font-weight: 600; white-space: nowrap; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 19px; height: 1px; background: var(--gold-400); transition: right .25s ease; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { right: 0; }
.language-toggle { flex: 0 0 auto; color: var(--gold-300); background: transparent; border: 1px solid rgba(221,185,107,.42); border-radius: 999px; padding: 7px 12px; font-size: .75rem; font-weight: 700; cursor: pointer; }
.language-other { color: #8794a5; }
.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; cursor: pointer; }
.menu-toggle > span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: var(--gold-300); }

.hero { position: relative; overflow: hidden; min-height: calc(100vh - 82px); display: grid; align-items: center; background: radial-gradient(circle at 13% 22%, #173c65 0, var(--navy-950) 42%), var(--navy-950); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .15; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to bottom, black, transparent 88%); }
.hero-glow { position: absolute; width: 640px; height: 640px; right: -160px; top: -260px; border: 1px solid rgba(221,185,107,.18); border-radius: 50%; box-shadow: 0 0 0 92px rgba(221,185,107,.03), 0 0 0 184px rgba(221,185,107,.025); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr .98fr; gap: 72px; align-items: center; padding: 88px 0 110px; }
.eyebrow, .kicker { color: var(--gold-400); font-size: .76rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.hero h1, .section-heading h2, .contact h2 { margin: 18px 0 24px; font-family: var(--serif); font-weight: 400; line-height: 1.12; letter-spacing: -.035em; }
.hero h1 { margin-bottom: 8px; font-size: clamp(3.1rem, 5.8vw, 5.6rem); text-transform: uppercase; letter-spacing: .015em; }
.hero h1 em { color: var(--gold-300); font-weight: 400; }
.hero-translation { margin: 0 0 16px; color: #c7d1df; font-size: .82rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.hero-tagline { margin: 0 0 22px; color: var(--gold-300); font-family: var(--serif); font-size: clamp(1.05rem, 2vw, 1.42rem); font-style: italic; }
.hero-lead { max-width: 650px; color: #d6deea; font-size: 1.18rem; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 42px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 0 24px; border: 1px solid transparent; border-radius: 3px; font-weight: 700; font-size: .9rem; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-gold { background: var(--gold-300); color: var(--navy-950); }
.button-ghost { border-color: rgba(240,214,151,.55); color: var(--gold-300); }
.hero blockquote { margin: 0; padding-left: 20px; border-left: 2px solid var(--gold-500); max-width: 610px; }
.hero blockquote p { margin: 0 0 4px; color: #bcc8d7; font-family: var(--serif); font-size: .9rem; font-style: italic; }
.hero blockquote cite { color: var(--gold-400); font-size: .72rem; font-style: normal; letter-spacing: .12em; text-transform: uppercase; }
.hero-visual { margin: 0; position: relative; }
.image-frame { position: relative; padding: 12px; border: 1px solid rgba(240,214,151,.42); box-shadow: 0 34px 100px rgba(0,0,0,.45); }
.image-frame::before { content: ""; position: absolute; width: 94px; height: 94px; top: -22px; right: -22px; border-top: 2px solid var(--gold-300); border-right: 2px solid var(--gold-300); }
.image-frame img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.hero-visual figcaption { margin-top: 16px; color: #9fadc0; text-align: center; font-family: var(--serif); font-size: .78rem; font-style: italic; }
.hero-rule { position: absolute; bottom: 0; left: 0; right: 0; height: 36px; display: grid; place-items: center; color: var(--gold-400); }
.hero-rule::before, .hero-rule::after { content: ""; position: absolute; top: 50%; width: calc(50% - 34px); height: 1px; background: linear-gradient(90deg, transparent, rgba(221,185,107,.58)); }
.hero-rule::before { left: 0; }.hero-rule::after { right: 0; transform: rotate(180deg); }

.identity, .beliefs, .pathway, .baptism, .resources, .events, .contact { padding: 112px 0; }
.section-heading { max-width: 700px; }
.section-heading.centered { margin: 0 auto 58px; text-align: center; }
.section-heading h2, .contact h2 { color: var(--navy-900); font-size: clamp(2rem, 4vw, 3.6rem); }
.section-heading > p:not(.kicker), .contact-intro > p:not(.kicker) { color: var(--muted); font-size: 1.08rem; }
.section-heading.inverse h2, .contact h2 { color: var(--white); }
.section-heading.inverse > p:not(.kicker), .contact-intro > p:not(.kicker) { color: #bdc8d6; }
.identity-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card { min-height: 320px; padding: 38px; background: var(--ivory); border-top: 3px solid var(--gold-400); box-shadow: var(--shadow); }
.feature-card-dark { color: var(--white); background: var(--navy-900); }
.card-number { color: var(--gold-500); font-family: var(--serif); font-size: .82rem; }
.feature-card h3 { margin: 50px 0 16px; font-family: var(--serif); font-size: 1.55rem; }
.feature-card p { color: var(--muted); }
.feature-card-dark p { color: #c9d2df; }

.beliefs-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 90px; align-items: start; }
.sticky-heading { position: sticky; top: 130px; }
.belief-list { border-top: 1px solid #d9cbae; }
.belief-item { display: grid; grid-template-columns: 32px 1fr; gap: 20px; padding: 28px 0; border-bottom: 1px solid #d9cbae; }
.belief-item > span { color: var(--gold-500); }
.belief-item h3 { margin: 0 0 6px; font-family: var(--serif); font-size: 1.18rem; }
.belief-item p { margin: 0; color: var(--muted); }

.pathway { background: linear-gradient(145deg, var(--navy-950), #0e2e50); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.steps::before { content: ""; position: absolute; top: 35px; left: 8%; right: 8%; height: 1px; background: rgba(221,185,107,.35); }
.step { position: relative; z-index: 1; text-align: center; padding: 0 22px; }
.step-icon { width: 70px; height: 70px; margin: 0 auto 26px; display: grid; place-items: center; border: 1px solid var(--gold-400); border-radius: 50%; color: var(--gold-300); background: var(--navy-900); font-family: var(--serif); }
.step h3 { color: var(--gold-300); font-family: var(--serif); font-size: 1.15rem; }
.step p { color: #b8c5d4; font-size: .92rem; }

.split-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: center; }
.scripture-panel { min-height: 470px; position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 48px; overflow: hidden; color: var(--white); background: linear-gradient(160deg, #17466e, var(--navy-950)); box-shadow: var(--shadow); }
.scripture-panel::after { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(240,214,151,.44); }
.water-mark { position: absolute; width: 310px; height: 310px; right: -88px; top: -105px; border: 1px solid rgba(240,214,151,.12); border-radius: 50%; box-shadow: 0 0 0 58px rgba(240,214,151,.035), 0 0 0 116px rgba(240,214,151,.02); }
.scripture-panel p, .scripture-panel cite { position: relative; z-index: 1; }
.scripture-panel p { margin: 0 0 16px; color: var(--gold-300); font-family: var(--serif); font-size: 1.3rem; font-style: italic; }
.scripture-panel cite { font-size: .75rem; font-style: normal; letter-spacing: .15em; text-transform: uppercase; }
.check-list { list-style: none; margin: 26px 0; padding: 0; }
.check-list li { position: relative; padding: 8px 0 8px 30px; }
.check-list li::before { content: "✦"; position: absolute; left: 0; color: var(--gold-500); }
.text-link { display: inline-flex; gap: 12px; align-items: center; color: var(--navy-800); font-weight: 700; border-bottom: 1px solid var(--gold-500); padding-bottom: 4px; }

.resource-grid { margin-top: 46px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.resource-card { min-height: 310px; display: flex; flex-direction: column; padding: 34px; background: var(--white); border: 1px solid #ddd0b7; transition: transform .25s ease, box-shadow .25s ease; }
.resource-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.resource-tag, .event-type { color: var(--gold-500); font-size: .72rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.resource-card h3 { margin: 38px 0 14px; font-family: var(--serif); font-size: 1.38rem; }
.resource-card p { color: var(--muted); }
.status { margin-top: auto; color: #7d7466; font-size: .78rem; font-weight: 600; }

.event-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.event-card { display: grid; grid-template-columns: 72px 1fr; gap: 24px; padding: 30px; border: 1px solid #e2d5bd; background: var(--ivory); }
.event-card time { width: 72px; height: 88px; display: grid; align-content: center; justify-items: center; color: var(--gold-300); background: var(--navy-900); }
.event-card time span { font-family: var(--serif); font-size: 1.7rem; line-height: 1; }
.event-card time small { margin-top: 8px; font-size: .65rem; letter-spacing: .12em; }
.event-type { margin: 0 0 8px; }
.event-card h3 { margin: 0 0 10px; font-family: var(--serif); font-size: 1.15rem; }
.event-card p:last-child { color: var(--muted); font-size: .9rem; }

.contact { background: radial-gradient(circle at 90% 40%, #173a61, var(--navy-950) 52%); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.contact-card { padding: 14px 38px; border: 1px solid rgba(221,185,107,.45); background: rgba(255,255,255,.035); }
.contact-card a { display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: center; padding: 25px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.contact-card a:last-child { border: 0; }
.contact-icon { width: 42px; height: 42px; display: grid; place-items: center; color: var(--gold-300); border: 1px solid rgba(221,185,107,.45); border-radius: 50%; }
.contact-card small { display: block; color: var(--gold-400); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; }
.contact-card strong { color: var(--white); font-size: .95rem; overflow-wrap: anywhere; }
.social-panel { grid-column: 1 / -1; margin-top: 18px; padding-top: 42px; border-top: 1px solid rgba(221,185,107,.28); }
.social-heading { text-align: center; }
.social-heading h3 { margin: 8px 0 0; color: var(--white); font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.25rem); }
.social-buttons { margin-top: 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.social-buttons a { min-height: 86px; display: grid; grid-template-columns: 42px 1fr; gap: 13px; align-items: center; padding: 17px; color: var(--white); border: 1px solid rgba(221,185,107,.4); background: rgba(255,255,255,.04); text-decoration: none; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.social-buttons a:hover,
.social-buttons a:focus-visible { border-color: var(--gold-300); background: rgba(221,185,107,.09); transform: translateY(-2px); outline: none; }
.social-mark { width: 40px; height: 40px; display: grid; place-items: center; color: var(--navy-950); background: var(--gold-300); border-radius: 50%; font-weight: 800; }
.social-buttons strong { display: block; font-size: .95rem; }
.social-buttons small { display: block; margin-top: 3px; color: #c7d1dd; font-size: .72rem; overflow-wrap: anywhere; }

.site-footer { padding: 58px 0 24px; color: #aab6c5; background: #04101f; border-top: 1px solid rgba(221,185,107,.25); }
.footer-grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { border-radius: 50%; }
.footer-brand div { display: grid; }
.footer-brand strong { color: var(--white); font-family: var(--serif); }
.footer-brand span { color: var(--gold-400); font-size: .72rem; }
.footer-confession { color: var(--gold-300); font-family: var(--serif); font-style: italic; }
.socials { justify-self: end; display: flex; gap: 10px; }
.socials a,
.socials span { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #405068; border-radius: 50%; color: #c7d1dd; text-decoration: none; transition: border-color .2s ease, color .2s ease, transform .2s ease; }
.socials a:hover,
.socials a:focus-visible { border-color: var(--gold); color: var(--gold-2); transform: translateY(-2px); outline: none; }
.footer-bottom { margin-top: 42px; padding-top: 22px; border-top: 1px solid #213047; display: flex; justify-content: space-between; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .08s; }.delay-2 { transition-delay: .16s; }.delay-3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } }

@media (max-width: 1040px) {
  .brand-copy { display: none; }
  .main-nav { gap: 16px; }
  .main-nav a { font-size: .78rem; }
  .hero-grid { gap: 42px; }
  .event-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .social-buttons { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .header-inner { min-height: 72px; }
  .brand img { width: 50px; height: 50px; }
  .menu-toggle { display: block; }
  .language-toggle { order: 2; }
  .main-nav { position: absolute; top: 72px; left: 0; right: 0; display: none; margin: 0; padding: 18px 24px 28px; flex-direction: column; align-items: stretch; gap: 0; background: var(--navy-950); border-bottom: 1px solid rgba(221,185,107,.3); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; font-size: .95rem; }
  .main-nav a::after { bottom: 8px; }
  .hero { min-height: auto; }
  .hero-grid, .beliefs-layout, .split-section, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { padding: 72px 0 90px; }
  .hero-visual { max-width: 680px; }
  .identity-grid, .resource-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  .feature-card h3 { margin-top: 28px; }
  .beliefs-layout, .split-section, .contact-grid { gap: 54px; }
  .sticky-heading { position: static; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 44px 0; }
  .steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .socials { justify-self: center; }
}

@media (max-width: 540px) {
  .shell { width: min(100% - 28px, 1160px); }
  .identity, .beliefs, .pathway, .baptism, .resources, .events, .contact { padding: 82px 0; }
  .hero-grid { padding-top: 54px; }
  .hero h1 { font-size: clamp(2.4rem, 12vw, 3.6rem); }
  .hero-lead { font-size: 1.05rem; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .steps { grid-template-columns: 1fr; }
  .scripture-panel { min-height: 390px; padding: 36px; }
  .resource-card, .feature-card { padding: 28px; }
  .event-card { grid-template-columns: 60px 1fr; gap: 18px; padding: 22px; }
  .event-card time { width: 60px; height: 78px; }
  .contact-card { padding: 10px 22px; }
  .contact-card a { grid-template-columns: 40px 1fr; gap: 12px; }
  .contact-card strong { font-size: .82rem; }
  .social-buttons { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
