:root {
  --clay: #a65d3f;
  --clay-dark: #7a3e28;
  --clay-light: #c4845c;
  --sand: #f4ebe2;
  --cream: #fbf7f2;
  --gold: #c4a35a;
  --gold-soft: #e8d5a3;
  --deep: #1e3a3a;
  --deep-soft: #2a4a45;
  --ink: #2c2420;
  --muted: #6b5e55;
  --white: #fffdf9;
  --line: rgba(122, 62, 40, 0.14);
  --shadow: 0 18px 50px rgba(44, 36, 32, 0.12);
  --radius: 22px;
  --header: 84px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--deep);
  color: #fff;
  padding: 8px 14px;
  z-index: 100;
}
.skip-link:focus { top: 16px; }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header);
  display: flex;
  align-items: center;
  transition: background .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled,
.site-header.is-solid {
  background: rgba(251, 247, 242, 0.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(44, 36, 32, 0.08);
}
.header-inner {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}
.brand img { width: 42px; height: 42px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--deep);
}
.brand-sub { font-size: .68rem; color: var(--clay); letter-spacing: .08em; text-transform: uppercase; }
.nav {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-links {
  display: flex;
  gap: 15px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: .86rem;
  color: var(--deep);
  font-weight: 500;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width .25s ease;
}
.nav-links a:hover::after { width: 100%; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 13px 22px;
  cursor: pointer;
  font-weight: 600;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold {
  background: linear-gradient(135deg, #d4b36a, var(--gold));
  color: var(--deep);
  box-shadow: 0 10px 24px rgba(196, 163, 90, .28);
}
.btn-clay { background: var(--clay); color: #fff; }
.btn-deep { background: var(--deep); color: #fff; }
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.45);
}
.btn-outline {
  background: transparent;
  border: 1px solid var(--clay);
  color: var(--clay-dark);
}
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  width: 42px;
  height: 42px;
  padding: 8px;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  height: 2px;
  background: var(--deep);
  border-radius: 2px;
  position: relative;
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  width: 100%;
  left: 0;
}
.menu-toggle span::before { top: -8px; }
.menu-toggle span::after { top: 8px; }

/* Hero */
.hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  place-items: center;
  color: #fff;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(30,58,58,.82), rgba(122,62,40,.55)),
    url("https://images.unsplash.com/photo-1565193566173-7a0ee3dbe261?auto=format&fit=crop&w=2000&q=80") center/cover no-repeat;
}
.hero-inner {
  width: min(920px, calc(100% - 40px));
  text-align: center;
  padding: 130px 0 90px;
}
.eyebrow {
  display: inline-block;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .78rem;
  color: var(--gold-soft);
  margin-bottom: 16px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 9vw, 7rem);
  line-height: .9;
  margin: 0 0 10px;
  font-weight: 600;
}
.hero h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.3rem, 3vw, 2rem);
  margin: 0 0 18px;
}
.hero .lead {
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  color: var(--gold-soft);
  font-weight: 500;
  margin: 0 0 18px;
}
.hero p {
  max-width: 720px;
  margin: 0 auto 28px;
  color: rgba(255,255,255,.88);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: .75rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .8;
}

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: var(--sand); }
.section-head {
  max-width: 720px;
  margin: 0 auto 52px;
  text-align: center;
}
.section-head h2,
.page-hero h1,
.quote-block h2,
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1.15;
  margin: 0 0 14px;
  color: var(--deep);
}
.kicker {
  color: var(--clay);
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: .78rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.muted { color: var(--muted); }

.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.split-copy p { margin: 0 0 16px; color: var(--muted); }
.visual-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  min-height: 420px;
  box-shadow: var(--shadow);
}
.visual-card img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.visual-badge {
  position: absolute;
  left: 22px;
  bottom: 22px;
  background: rgba(251,247,242,.94);
  padding: 16px 18px;
  border-radius: 16px;
  max-width: 240px;
}
.visual-badge strong { display: block; font-family: var(--font-display); font-size: 1.3rem; color: var(--deep); }

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow);
}
.panel h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin: 0 0 14px;
  color: var(--deep);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
}
.card {
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--sand);
  color: var(--clay-dark);
  margin-bottom: 14px;
  font-size: 1.25rem;
}
.card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--deep);
}
.card p { margin: 0; color: var(--muted); font-size: .94rem; }

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.program-card {
  position: relative;
  min-height: 280px;
  border-radius: 22px;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}
.program-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.program-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30,58,58,.15), rgba(30,58,58,.86));
  z-index: -1;
}
.program-card > div { position: absolute; inset: auto 20px 20px; }
.program-card h3 { margin: 0 0 8px; font-family: var(--font-display); font-size: 1.7rem; }
.program-card p { margin: 0; color: rgba(255,255,255,.88); }

.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
}
.process::before {
  content: "";
  position: absolute;
  top: 38px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.process-step {
  text-align: center;
  position: relative;
}
.step-num {
  width: 76px; height: 76px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: #fff;
  border: 3px solid var(--gold);
  color: var(--deep);
  font-family: var(--font-display);
  font-size: 1.7rem;
  box-shadow: var(--shadow);
}
.process-step h3 { margin: 0 0 8px; color: var(--deep); }
.process-step p { margin: 0; color: var(--muted); font-size: .92rem; }

.quote-block {
  position: relative;
  padding: 120px 0;
  color: #fff;
  text-align: center;
  background:
    linear-gradient(120deg, rgba(30,58,58,.84), rgba(166,93,63,.55)),
    url("https://images.unsplash.com/photo-1493106819501-66d381c46617?auto=format&fit=crop&w=2000&q=80") center/cover no-repeat;
}
.quote-block h2 { color: #fff; max-width: 860px; margin: 0 auto 18px; font-style: italic; font-weight: 500; }
.quote-block p { margin: 0; color: var(--gold-soft); font-weight: 600; }

.involve-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.involve-card {
  background: #fff;
  border-radius: 20px;
  padding: 28px 22px;
  border: 1px solid var(--line);
}
.involve-card h3 { margin: 8px 0; color: var(--deep); }
.involve-card p { color: var(--muted); min-height: 72px; }
.involve-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.stat {
  background: #fff;
  border-radius: 20px;
  padding: 28px 16px;
  text-align: center;
  border: 1px solid var(--line);
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--clay);
  line-height: 1;
}
.stat span { color: var(--muted); font-size: .92rem; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.gallery-item {
  position: relative;
  border: 0;
  padding: 0;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  min-height: 230px;
  background: none;
}
.gallery-item img { width: 100%; height: 230px; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-video-placeholder {
  width: 100%;
  height: 230px;
  background:
    linear-gradient(135deg, rgba(30,58,58,.85), rgba(166,93,63,.65)),
    var(--deep);
}
.gallery-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.92);
  color: var(--deep);
  font-size: 1.2rem;
  box-shadow: var(--shadow);
  pointer-events: none;
}
.gallery-item--video:hover .gallery-play { background: #fff; transform: translate(-50%, -50%) scale(1.05); }
.gallery-item figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(30,58,58,.8));
  color: #fff;
  text-align: left;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20,16,14,.9);
  display: none;
  place-items: center;
  z-index: 80;
  padding: 24px;
}
.lightbox.is-open { display: grid; }
.lightbox img,
.lightbox video {
  max-width: min(920px, 100%);
  max-height: 82vh;
  border-radius: 12px;
}
.lightbox video { width: min(920px, 100%); background: #000; }
.lightbox-close {
  position: absolute;
  top: 18px; right: 22px;
  background: none;
  border: 0;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

.slider { position: relative; }
.testimonial {
  background: #fff;
  border-radius: 24px;
  padding: 40px 36px;
  border: 1px solid var(--line);
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.testimonial q {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1.45;
  color: var(--deep);
  margin-bottom: 18px;
}
.testimonial cite { font-style: normal; color: var(--clay); font-weight: 600; }
.testimonial small { display: block; color: var(--muted); }
.slider-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 0;
  background: #d8c8b8;
  cursor: pointer;
}
.dot.is-active { background: var(--clay); }

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.news-card {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.news-card img { height: 210px; width: 100%; object-fit: cover; }
.news-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.meta { display: flex; gap: 10px; color: var(--muted); font-size: .82rem; margin-bottom: 10px; }
.chip {
  background: var(--sand);
  color: var(--clay-dark);
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 600;
}
.news-card h3 { margin: 0 0 10px; font-size: 1.2rem; color: var(--deep); }
.news-card p { color: var(--muted); flex: 1; }

.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 28px;
}
.contact-list { list-style: none; padding: 0; margin: 18px 0; }
.contact-list li { margin-bottom: 12px; color: var(--muted); }
.contact-list a { color: var(--clay-dark); font-weight: 600; }
.contact-list a:hover { text-decoration: underline; }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.socials a,
.social-wa {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--sand);
  color: var(--deep);
}
.social-wa {
  border: 0;
  cursor: pointer;
  padding: 0;
  font-size: .72rem;
  font-weight: 700;
}
.social-wa:hover { background: #e8ddd2; }
.form {
  background: #fff;
  border-radius: 24px;
  padding: 28px;
  border: 1px solid var(--line);
  display: grid;
  gap: 14px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { font-size: .88rem; font-weight: 600; color: var(--deep); display: block; margin-bottom: 6px; }
input, select, textarea {
  width: 100%;
  border: 1px solid #e2d5c8;
  background: #fff;
  border-radius: 12px;
  padding: 12px 14px;
}
textarea { min-height: 130px; resize: vertical; }
.map {
  margin-top: 22px;
  border-radius: 20px;
  overflow: hidden;
  min-height: 280px;
  border: 1px solid var(--line);
}
.map iframe { width: 100%; height: 280px; border: 0; }
.form-msg { display: none; padding: 12px 14px; border-radius: 12px; }
.form-msg.is-ok { display: block; background: #e8f4ee; color: #1e4a36; }
.form-msg.is-err { display: block; background: #fdecea; color: #8a2b22; }

.page-hero {
  padding: 150px 0 60px;
  background:
    linear-gradient(120deg, rgba(30,58,58,.8), rgba(166,93,63,.5)),
    url("https://images.unsplash.com/photo-1493106819501-66d381c46617?auto=format&fit=crop&w=1800&q=80") center/cover;
  color: #fff;
}
.page-hero h1 { color: #fff; }
.article { padding: 60px 0 100px; }
.article-wrap { max-width: 780px; margin: 0 auto; }
.article-cover { border-radius: 24px; overflow: hidden; margin-bottom: 28px; }
.article-cover img { width: 100%; height: 420px; object-fit: cover; }
.article-body p { color: var(--muted); font-size: 1.05rem; }

.site-footer {
  background: var(--deep);
  color: rgba(255,255,255,.82);
  padding: 64px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr;
  gap: 32px;
  margin-bottom: 36px;
}
.site-footer h3, .site-footer h4 { color: #fff; margin-top: 0; }
.site-footer a:hover { color: var(--gold-soft); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-copy {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 18px;
  font-size: .88rem;
  color: rgba(255,255,255,.62);
}

.float-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 40;
}
.float-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  box-shadow: var(--shadow);
}
.float-wa { background: #25d366; border: 0; cursor: pointer; }
.float-top { background: var(--deep); border: 0; cursor: pointer; display: none; }
.float-top.is-visible { display: grid; }

.wa-picker {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  place-items: center;
  padding: 20px;
}
.wa-picker.is-open { display: grid; }
.wa-picker-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 16, 14, 0.72);
}
.wa-picker-dialog {
  position: relative;
  width: min(420px, 100%);
  background: #fff;
  border-radius: 24px;
  padding: 28px 24px 22px;
  box-shadow: var(--shadow);
  text-align: center;
}
.wa-picker-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: none;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
}
.wa-picker-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #fff;
}
.wa-picker-dialog h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--deep);
}
.wa-picker-dialog p {
  margin: 0 0 18px;
  color: var(--muted);
}
.wa-picker-list {
  display: grid;
  gap: 10px;
}
.wa-picker-option {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--cream);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.wa-picker-option:hover {
  transform: translateY(-2px);
  border-color: #25d366;
  background: #eef9f1;
}
.wa-picker-option-label {
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #1fa855;
  font-weight: 700;
}
.wa-picker-option strong {
  font-size: 1.15rem;
  color: var(--deep);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  animation: rise .8s ease forwards;
}
.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .2s; }
.delay-3 { animation-delay: .3s; }
@keyframes rise {
  to { opacity: 1; transform: none; }
}

@media (max-width: 1240px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .nav.is-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header);
    left: 0; right: 0;
    background: var(--cream);
    padding: 18px 24px 24px;
    box-shadow: var(--shadow);
  }
  .split, .mission-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .program-grid, .involve-grid, .news-grid, .gallery-grid { grid-template-columns: 1fr 1fr; }
  .process, .stats { grid-template-columns: 1fr 1fr; }
  .process::before { display: none; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .program-grid, .involve-grid, .news-grid, .gallery-grid, .process, .stats {
    grid-template-columns: 1fr;
  }
  .hero-actions .btn { width: 100%; }
  .article-cover img { height: 240px; }
  .header-cta { display: none; }
}
