:root {
  --navy: #0b2742;
  --blue: #17648f;
  --sky: #dff1f8;
  --gold: #f6c84d;
  --rose: #b72f4b;
  --ink: #10233b;
  --muted: #5b6c7e;
  --line: #dce5ec;
  --soft: #f4f8fb;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #f8fafc; color: var(--ink); font-family: "Segoe UI", Arial, Helvetica, sans-serif; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
img { display: block; max-width: 100%; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.topbar { border-bottom: 1px solid #d7ebf4; background: #eff9fd; padding: 8px 16px; color: #123a56; text-align: center; font-size: .9rem; font-weight: 650; }

.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(220,229,236,.9); background: rgba(255,255,255,.97); backdrop-filter: blur(14px); }
.header-row { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { width: auto; height: 68px; }
.desktop-nav { display: flex; align-items: center; gap: 14px; color: #334155; font-size: .76rem; font-weight: 700; }
.desktop-nav a:hover, .mobile-nav a:hover { color: var(--blue); }
.mobile-nav { display: none; gap: 22px; overflow-x: auto; border-top: 1px solid #eef2f6; padding: 11px 20px; color: #334155; font-size: .88rem; font-weight: 700; white-space: nowrap; }

.button { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 12px 22px; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-blue { background: var(--blue); color: #fff; }
.button-gold { background: var(--gold); color: #172033; box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.button-outline { border: 1px solid rgba(255,255,255,.3); color: #fff; }
.button-outline:hover { background: rgba(255,255,255,.1); }
.button-rose { margin-top: 28px; background: var(--rose); color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.hero { position: relative; overflow: hidden; background-color: var(--navy); color: #fff; }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .28; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(to right, #000, transparent 88%); }
.hero-layout { position: relative; display: grid; grid-template-columns: 1.25fr .75fr; gap: 58px; align-items: center; padding-top: 82px; padding-bottom: 82px; }
.eyebrow-light { display: inline-flex; margin: 0 0 22px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; background: rgba(255,255,255,.09); padding: 8px 15px; color: #c8eafa; font-size: .86rem; font-weight: 750; letter-spacing: .02em; text-transform: uppercase; }
.hero h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.2rem, 6vw, 5.4rem); font-weight: 600; letter-spacing: -.045em; line-height: 1.02; }
.hero h1 .hero-yellow { color: #fcd34d; }
.hero h1 .hero-white { color: #fff; }
.hero-lead { max-width: 720px; margin: 26px 0 0; color: #d4e2ed; font-size: 1.2rem; line-height: 1.75; }
.info-card { border: 1px solid rgba(255,255,255,.16); border-radius: 30px; background: rgba(255,255,255,.08); padding: 28px; box-shadow: 0 24px 65px rgba(1,10,20,.28); backdrop-filter: blur(10px); }
.anniversary-badge { width: 168px; height: auto; margin: 0 auto 26px; border: 0; border-radius: 0; background: transparent; padding: 0; object-fit: contain; }
.info-title { margin: 0; color: #7dd3fc; font-size: .84rem; font-weight: 850; letter-spacing: .17em; text-transform: uppercase; }
.info-list { display: grid; gap: 20px; margin-top: 22px; }
.info-list div { border-top: 1px solid rgba(255,255,255,.1); padding-top: 18px; }
.info-list strong, .info-list span, .info-list a { display: block; }
.info-list span { margin-top: 4px; color: #c8d7e3; }
.info-list a { margin-top: 4px; color: #a9ddf5; overflow-wrap: anywhere; }

.section { padding: 88px 0; scroll-margin-top: 118px; }
.section-white { background: #fff; }
.kicker { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--blue); font-size: .8rem; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.kicker::before { content: ""; width: 32px; height: 2px; background: #f0b92f; }
h2 { max-width: 760px; margin: 12px 0 0; color: #0f2740; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.35rem, 5vw, 4rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.08; }
.lead { margin: 22px 0 0; color: var(--muted); font-size: 1.08rem; line-height: 1.78; }
.section-heading > p, .split-heading > p { max-width: 470px; color: var(--muted); }
.split-heading { display: flex; align-items: end; justify-content: space-between; gap: 42px; }
.centered { max-width: 760px; margin: 0 auto; text-align: center; }
.centered .kicker { justify-content: center; }
.centered > p:last-child { margin: 22px auto 0; color: var(--muted); font-size: 1.08rem; line-height: 1.75; }

.activity-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; margin-top: 46px; }
.activity-card { border: 1px solid var(--line); border-radius: 25px; background: #f8fafc; padding: 28px; transition: transform .2s ease, box-shadow .2s ease; }
.activity-card:hover { transform: translateY(-4px); background: #fff; box-shadow: 0 20px 45px rgba(15,39,64,.08); }
.schedule { display: flex; justify-content: space-between; gap: 20px; color: var(--blue); font-size: .9rem; font-weight: 850; }
.schedule time { color: #64748b; }
.activity-card h3 { margin: 26px 0 0; color: #0f172a; font-size: 1.22rem; }
.activity-card p { margin: 10px 0 0; color: var(--muted); font-weight: 800; }
.advanced-card { border-color: #c4b5fd; background: #ede9fe; }
.advanced-card:hover { border-color: #8b5cf6; background: #f5f3ff; }
.advanced-card .schedule, .advanced-card .schedule time, .advanced-card p { color: #5b21b6; }
.basic-card { border-color: #6ee7b7; background: #d1fae5; }
.basic-card:hover { border-color: #10b981; background: #ecfdf5; }
.basic-card .schedule, .basic-card .schedule time, .basic-card p { color: #047857; }
.orientation-card { border-color: #7dd3fc; background: #dff3fb; }
.orientation-card:hover { border-color: #38bdf8; background: #eff9fd; }
.orientation-card p { color: #183a52; font-weight: 800; }
.public-card { border: 2px solid #e7a91c; background: #fde68a; box-shadow: 0 12px 32px rgba(180, 118, 0, .14); }
.public-card:hover { border-color: #ca8a04; background: #fef3c7; }
.public-card .schedule, .public-card .schedule time { color: #92400e; }
.public-card h3, .public-card p { color: #78350f; font-weight: 800; }
.youth-activity-card { border-color: #fda4af; background: #ffe4e6; }
.youth-activity-card:hover { border-color: #fb7185; background: #fff1f2; }
.youth-activity-card .schedule, .youth-activity-card .schedule time, .youth-activity-card p { color: #9f1239; }
.course-notice { margin-top: 28px; border: 1px solid #bae6fd; border-radius: 22px; background: #eff9fd; padding: 20px 26px; color: #0f2740; }
.course-notice strong { font-size: 1.05rem; }
.course-notice p { margin: 8px 0 0; line-height: 1.7; }

.youth-section { border-block: 1px solid #fde7a8; background: #fffaf0; }
.youth-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 52px; align-items: center; }
.youth-image-card { overflow: hidden; border: 1px solid #f9d875; border-radius: 30px; background: #fff; padding: 12px; box-shadow: 0 20px 50px rgba(120,80,5,.1); }
.youth-image-card img { width: 100%; height: auto; object-fit: contain; border-radius: 22px; }
.youth-lead { color: #334155; }
.youth-adults { margin: 20px 0 0; border: 1px solid #f9d875; border-radius: 16px; background: #fff7d6; padding: 15px 20px; color: #713f12; font-weight: 750; line-height: 1.7; }
.youth-schedule { display: inline-block; margin: 28px 0 0; border-radius: 16px; background: #0b4f8a; padding: 15px 20px; color: #fff; font-weight: 850; box-shadow: 0 12px 28px rgba(11,79,138,.18); }

.two-columns { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.social-section { border-block: 1px solid #ffe4e6; background: #fff8f6; }
.social-logo-card { border: 1px solid #ffe4e6; border-radius: 30px; background: #fff; padding: 38px; box-shadow: 0 20px 50px rgba(70,10,28,.07); }
.social-logo-card > img { width: 100%; }
.stats { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 28px; border-top: 1px solid #ffe4e6; padding-top: 24px; text-align: center; }
.stats div + div { border-left: 1px solid #ffe4e6; }
.stats strong, .stats span { display: block; }
.stats strong { color: var(--rose); font-family: Georgia, serif; font-size: 1.45rem; }
.stats span { margin-top: 4px; color: #64748b; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.pillar-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 28px; }
.pillar-grid div { border: 1px solid #ffe4e6; border-radius: 18px; background: #fff; padding: 18px 12px; color: #334155; text-align: center; font-size: .9rem; font-weight: 800; }
.social-video-feature { display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: center; margin-top: 56px; border: 1px solid #ffe4e6; border-radius: 30px; background: #fff; padding: 40px; box-shadow: 0 20px 50px rgba(70,10,28,.07); }
.donation-feature { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: center; margin-top: 56px; border: 1px solid #a7f3d0; border-radius: 30px; background: #fff; padding: 40px; box-shadow: 0 20px 50px rgba(6,78,59,.07); }
.donation-feature h3 { margin: 14px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: 2.6rem; }
.donation-feature p { color: #475569; line-height: 1.75; }
.donation-feature .donation-lead { color: #334155; font-size: 1.08rem; font-weight: 750; }
.donation-feature img { width: 100%; border: 1px solid #d1fae5; border-radius: 22px; box-shadow: 0 8px 24px rgba(6,78,59,.1); }
.social-video-copy { max-width: 650px; }
.video-label { display: inline-flex; margin: 0; border-radius: 999px; background: #fff1f2; padding: 8px 15px; color: var(--rose); font-size: .86rem; font-weight: 850; }
.social-video-copy h3 { margin: 20px 0 0; color: #0f172a; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.12; }
.social-video-copy > p:not(.video-label) { margin: 18px 0 0; color: var(--muted); font-size: 1.08rem; line-height: 1.75; }
.social-video-copy small { display: block; margin-top: 14px; color: #64748b; font-size: .92rem; line-height: 1.6; }
.video-shell { width: 100%; max-width: 360px; margin: 0 auto; overflow: hidden; border-radius: 28px; background: #020617; padding: 8px; box-shadow: 0 24px 55px rgba(2,6,23,.22); }
.video-shell video { display: block; width: 100%; aspect-ratio: 30/53; border-radius: 22px; background: #000; object-fit: contain; }

.doctrine-section { border-block: 1px solid var(--line); background: #f8fafc; }
.doctrine-layout { align-items: start; }
blockquote { margin: 30px 0 0; border-left: 4px solid var(--gold); padding-left: 20px; color: #1e293b; font-family: Georgia, serif; font-size: 1.5rem; line-height: 1.5; }
blockquote cite { display: block; margin-top: 12px; color: #64748b; font-family: "Segoe UI", Arial, sans-serif; font-size: .78rem; font-style: normal; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.concept-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.concept-grid article { border: 1px solid; border-radius: 22px; padding: 24px; box-shadow: 0 4px 14px rgba(15,23,42,.08); }
.concept-grid article > span { color: #bae6fd; font-family: Georgia, serif; font-size: 1.9rem; font-weight: 800; }
.concept-grid h3 { margin: 14px 0 0; font-weight: 850; }
.concept-grid p { margin: 10px 0 0; color: #334155; font-size: .9rem; font-weight: 650; }
.concept-grid .science-card { border-color: #7dd3fc; background: #dff3fb; }
.concept-grid .science-card > span { color: #0369a1; }
.concept-grid .philosophy-card { border-color: #f6c84d; background: #fff1b8; }
.concept-grid .philosophy-card > span { color: #a16207; }
.concept-grid .moral-card { border-color: #fda4af; background: #ffe4e6; }
.concept-grid .moral-card > span { color: #be123c; }
.kardec-feature { overflow: hidden; margin: 24px 0 0; border: 1px solid #bae6fd; border-radius: 22px; background: #fff; padding: 8px; box-shadow: 0 12px 28px rgba(15,39,64,.1); }
.kardec-feature img { width: 100%; height: auto; border-radius: 16px; object-fit: cover; }
.principles { margin-top: 24px; border: 1px solid #f2d783; border-radius: 22px; background: #fff3bf; padding: 28px; color: #172033; box-shadow: 0 12px 28px rgba(120,80,5,.07); }
.principles h3 { margin: 0; }
.principles > div { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.principle-static { border: 1px solid #f2cf68; border-radius: 16px; background: rgba(255,255,255,.9); padding: 15px 16px; color: #172033; font-size: .9rem; font-weight: 800; }
.principles span { border: 1px solid #f2cf68; border-radius: 999px; background: rgba(255,255,255,.9); padding: 8px 12px; color: #172033; font-size: .86rem; font-weight: 800; }
.principles > p { margin: 18px 0 0; color: #334155; font-size: .83rem; font-weight: 700; line-height: 1.6; }

.life-section { border-bottom: 1px solid #d7ebf4; background: #fff; }
.life-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.life-image-card { overflow: hidden; border: 1px solid #bae6fd; border-radius: 30px; background: #eff9fd; padding: 12px; box-shadow: 0 20px 50px rgba(15,39,64,.1); }
.life-image-card img { width: 100%; height: auto; border-radius: 22px; object-fit: cover; }
.life-topics { display: grid; gap: 14px; margin-top: 28px; }
.life-topic { border: 1px solid; border-radius: 18px; padding: 19px 20px; }
.life-topic h3 { margin: 0; font-size: 1.05rem; }
.life-topic p { margin: 8px 0 0; color: #334155; font-weight: 700; line-height: 1.7; }
.abortion-topic { border-color: #fecdd3; background: #fff1f2; color: #881337; }
.suicide-topic { border-color: #fde68a; background: #fffbeb; color: #78350f; }
.euthanasia-topic { border-color: #bae6fd; background: #f0f9ff; color: #0c4a6e; }
.life-source { margin: 22px 0 0; color: #475569; font-size: .9rem; font-weight: 750; line-height: 1.6; }

.joanna-layout { grid-template-columns: .72fr 1.28fr; }
.portrait-wrap { position: relative; width: min(100%, 360px); margin: 0 auto; border-radius: 30px; background: #dff3fb; padding: 18px; }
.portrait-wrap img { width: 100%; aspect-ratio: 705/1125; border-radius: 24px; object-fit: cover; object-position: center top; box-shadow: 0 20px 45px rgba(15,39,64,.18); }
.portrait-wrap span { position: absolute; right: 0; bottom: -18px; border-radius: 16px; background: var(--gold); padding: 13px 18px; color: #172033; font-family: Georgia, serif; font-weight: 800; box-shadow: 0 10px 25px rgba(0,0,0,.15); }
.text-link { display: inline-block; margin-top: 26px; color: var(--blue); font-weight: 850; }

.gospel-section { background: #eef7fb; }
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin: 48px 0 0; padding: 0; list-style: none; }
.steps-grid li { border: 1px solid #d9edf6; border-radius: 24px; background: #fff; padding: 25px; box-shadow: 0 5px 18px rgba(15,39,64,.04); }
.steps-grid li > span { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 850; }
.steps-grid li:nth-child(1) { border-color: #7dd3fc; background: #e0f2fe; }
.steps-grid li:nth-child(1) > span { background: #0369a1; }
.steps-grid li:nth-child(2) { border-color: #f6c84d; background: #fff1b8; }
.steps-grid li:nth-child(2) > span { background: #ca8a04; }
.steps-grid li:nth-child(3) { border-color: #fda4af; background: #ffe4e6; }
.steps-grid li:nth-child(3) > span { background: #be123c; }
.steps-grid li:nth-child(4) { border-color: #6ee7b7; background: #d1fae5; }
.steps-grid li:nth-child(4) > span { background: #047857; }
.steps-grid li:nth-child(5) { border-color: #c4b5fd; background: #ede9fe; }
.steps-grid li:nth-child(5) > span { background: #6d28d9; }
.steps-grid li:nth-child(6) { border-color: #fdba74; background: #ffedd5; }
.steps-grid li:nth-child(6) > span { background: #c2410c; }
.steps-grid h3 { margin: 17px 0 0; }
.steps-grid p { margin: 10px 0 0; color: var(--muted); }

.contact-card { display: grid; grid-template-columns: 1.1fr .9fr; overflow: hidden; border-radius: 30px; background: var(--navy); color: #fff; box-shadow: 0 24px 65px rgba(15,23,42,.16); }
.contact-copy { padding: 50px; }
.contact-copy h2 { color: #fff; }
.contact-copy > p:last-of-type { max-width: 620px; color: #cbd5e1; font-size: 1.08rem; }
.contact-details { display: grid; align-content: center; gap: 24px; border-left: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.06); padding: 48px; }
.contact-details strong, .contact-details span { display: block; }
.contact-details span { margin-top: 6px; color: #cbd5e1; }

.site-footer { border-top: 1px solid var(--line); background: #f8fafc; padding: 34px 0; color: #64748b; font-size: .87rem; }
.footer-layout { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: auto; height: 36px; }
.footer-social { border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 7px; box-shadow: 0 3px 12px rgba(15,23,42,.06); }
.footer-social img { width: auto; height: 54px; }

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .mobile-nav { display: flex; }
  .hero-layout, .two-columns, .youth-layout, .life-layout, .donation-feature, .social-video-feature, .contact-card { grid-template-columns: 1fr; }
  .info-card { max-width: 620px; }
  .concept-grid, .steps-grid { grid-template-columns: repeat(2,1fr); }
  .contact-details { border-top: 1px solid rgba(255,255,255,.1); border-left: 0; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 30px, 1180px); }
  .header-row { min-height: 78px; gap: 12px; }
  .brand img { height: 48px; }
  .header-row .button { padding: 10px 16px; font-size: .85rem; }
  .hero-layout { gap: 38px; padding-top: 58px; padding-bottom: 64px; }
  .hero h1 { font-size: 3rem; }
  .hero-lead { font-size: 1.05rem; }
  .section { padding: 68px 0; }
  h2 { font-size: 2.4rem; }
  .split-heading { display: block; }
  .activity-grid, .concept-grid, .steps-grid, .pillar-grid { grid-template-columns: 1fr; }
  .social-logo-card { padding: 24px; }
  .social-video-feature { margin-top: 40px; padding: 24px; }
  .donation-feature { margin-top: 40px; padding: 24px; }
  .stats strong { font-size: 1.08rem; }
  .contact-copy, .contact-details { padding: 32px 24px; }
  .footer-layout { flex-direction: column; text-align: center; }
  .footer-brand { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; }
}

.principle { width:100%; border:1px solid #f2cf68; border-radius:16px; background:rgba(255,255,255,.95); overflow:hidden; }
.principle summary { cursor:pointer; padding:14px 16px; font-size:1rem; font-weight:700; line-height:1.4; }
.principle summary:hover { background:#fff9df; }
.principle summary:focus-visible { outline:3px solid #17648f; outline-offset:-3px; }
.principle[open] summary { border-bottom:1px solid #f2cf68; }
.principle p { margin:0; padding:16px; font-size:1rem; line-height:1.65; color:#334155; }
