*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --terra: #C1666B;
  --terra-dark: #A04B4F;
  --terra-deep: #7A383B;
  --sand: #F0C77A;
  --sand-light: #FDF0DC;
  --sand-dark: #B8863A;
  --mint: #7EB5A6;
  --blue: #7A97B8;
  --navy: #1A2B3C;
  --cream: #FFFCF8;
  --warm-gray: #5C4A42;
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'Nunito', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; top: -100%; left: 16px;
  background: var(--terra); color: #fff;
  padding: 8px 16px; border-radius: 0 0 8px 8px;
  z-index: 200; font-weight: 700;
}
.skip-link:focus { top: 0; }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255, 252, 248, 0.92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(193, 102, 107, 0.1);
  transition: box-shadow 0.3s ease;
}
.nav.scrolled { box-shadow: 0 4px 30px rgba(193, 102, 107, 0.1); }

.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 1.25rem;
  color: var(--terra); text-decoration: none; font-weight: 400;
}
.nav-logo { width: 36px; height: 36px; color: var(--terra); }
.nav-brand-text { font-style: italic; }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  color: var(--warm-gray); text-decoration: none;
  font-weight: 600; font-size: 0.938rem;
  transition: color 0.2s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--terra);
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--terra); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  display: flex; align-items: center; gap: 6px;
  background: var(--terra); color: #fff !important;
  padding: 10px 20px; border-radius: 50px;
  font-weight: 700; font-size: 0.875rem;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--terra-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(193, 102, 107, 0.3); }
.nav-cta svg { width: 16px; height: 16px; }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 40px; height: 40px; position: relative;
}
.hamburger, .hamburger::before, .hamburger::after {
  display: block; width: 24px; height: 2px; background: var(--navy);
  border-radius: 2px; transition: all 0.3s ease;
}
.hamburger { position: relative; }
.hamburger::before, .hamburger::after {
  content: ''; position: absolute; left: 0;
}
.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.nav-toggle[aria-expanded="true"] .hamburger::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .hamburger::after { top: 0; transform: rotate(-45deg); }

/* ── HERO ── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #C1666B 0%, #E8956E 30%, #F0C77A 60%, #7EB5A6 100%);
  padding: 120px 24px 80px;
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; }

.geo {
  position: absolute; border-radius: 50%;
  opacity: 0.18;
}
.geo-1 { width: 400px; height: 400px; background: #fff; top: -80px; right: -80px; }
.geo-2 { width: 200px; height: 200px; background: #fff; bottom: 20%; left: -40px; opacity: 0.12; }
.geo-3 { width: 120px; height: 120px; background: #fff; top: 30%; left: 10%; opacity: 0.15; }
.geo-4 { width: 80px; height: 80px; background: #fff; bottom: 15%; right: 15%; opacity: 0.2; }
.geo-5 {
  width: 160px; height: 160px; background: transparent;
  border: 3px solid rgba(255,255,255,0.3);
  top: 10%; left: 5%; border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}
.geo-6 {
  width: 100px; height: 100px; background: transparent;
  border: 3px solid rgba(255,255,255,0.2);
  bottom: 25%; right: 5%; border-radius: 50%;
}
.geo-7 {
  width: 60px; height: 60px; background: rgba(255,255,255,0.2);
  top: 50%; right: 25%; border-radius: 8px;
  transform: rotate(45deg);
}
.geo-8 {
  width: 240px; height: 240px; background: rgba(255,255,255,0.06);
  bottom: -60px; left: 30%; border-radius: 50%;
}
.hero-gradient {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, transparent 0%, rgba(15, 26, 38, 0.15) 100%);
}

.hero-content { position: relative; z-index: 2; text-align: center; max-width: 780px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.2); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff; padding: 8px 20px; border-radius: 50px;
  font-weight: 700; font-size: 0.813rem; letter-spacing: 0.05em;
  text-transform: uppercase; margin-bottom: 28px;
}
.hero-badge svg { width: 16px; height: 16px; }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  color: #fff; line-height: 1.15;
  margin-bottom: 24px; font-weight: 400;
}
.hero-title .accent { font-style: italic; opacity: 0.9; }

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.9);
  max-width: 600px; margin: 0 auto 40px;
  line-height: 1.8; font-weight: 500;
}

.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 50px;
  font-family: var(--font-body); font-weight: 700;
  font-size: 0.938rem; text-decoration: none;
  transition: all 0.3s ease; cursor: pointer; border: none;
}
.btn-primary {
  background: #fff; color: var(--terra);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,0.15); }
.btn-secondary {
  background: transparent; color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-secondary:hover { background: rgba(255,255,255,0.15); border-color: #fff; }
.btn-outline-light {
  background: transparent; color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn-full { width: 100%; justify-content: center; }
.btn-lg { padding: 18px 40px; font-size: 1rem; }
.btn svg { width: 18px; height: 18px; }

.hero-trust {
  display: flex; gap: 32px; justify-content: center; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.85); font-weight: 600; font-size: 0.875rem;
}
.trust-item svg { width: 18px; height: 18px; opacity: 0.8; }

.hero-wave {
  position: absolute; bottom: -1px; left: 0; right: 0;
  color: var(--cream);
}
.hero-wave svg { width: 100%; height: 80px; display: block; }

/* ── SECTIONS ── */
.section { padding: 100px 0; }
.section-header { margin-bottom: 64px; }
.text-center { text-align: center; }

.section-label {
  display: inline-block;
  font-weight: 800; font-size: 0.75rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--terra); margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--navy); line-height: 1.2;
  margin-bottom: 20px; font-weight: 400;
}
.section-title .accent { color: var(--terra); font-style: italic; }
.section-subtitle {
  font-size: 1.063rem; color: var(--warm-gray);
  max-width: 560px; margin: 0 auto; line-height: 1.8;
}
.lead { font-size: 1.063rem; color: var(--warm-gray); line-height: 1.9; margin-bottom: 20px; }

/* ── ABOUT ── */
.about { background: var(--cream); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

.about-images { position: relative; }
.about-img-main { border-radius: 24px; overflow: hidden; box-shadow: 0 20px 60px rgba(193, 102, 107, 0.15); }
.about-img-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-img-float {
  position: absolute; bottom: -40px; right: -30px;
  width: 55%; border-radius: 20px; overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.15);
  border: 4px solid var(--cream);
}
.about-img-float img { width: 100%; height: 100%; object-fit: cover; display: block; }

.about-badge {
  position: absolute; top: -20px; left: -20px;
  background: var(--terra); color: #fff;
  padding: 16px 24px; border-radius: 16px;
  font-weight: 700; font-size: 0.938rem;
  display: flex; align-items: center; gap: 8px;
  box-shadow: 0 8px 24px rgba(193, 102, 107, 0.3);
}
.about-badge-num { font-size: 1.25rem; }

.about-stats {
  display: flex; gap: 32px; margin-top: 36px;
  padding-top: 36px; border-top: 1px solid rgba(193, 102, 107, 0.15);
}
.stat { text-align: left; }
.stat-num {
  display: block; font-family: var(--font-display);
  font-size: 2rem; color: var(--terra); line-height: 1;
  margin-bottom: 4px;
}
.stat-label { font-size: 0.813rem; color: var(--warm-gray); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }

/* ── PROGRAMS ── */
.programs {
  background: linear-gradient(180deg, var(--sand-light) 0%, var(--cream) 100%);
  position: relative; overflow: hidden;
}
.programs-bg-shapes { position: absolute; inset: 0; pointer-events: none; }
.p-shape {
  position: absolute; border-radius: 50%; opacity: 0.1;
}
.p-shape-1 { width: 300px; height: 300px; background: var(--terra); top: -80px; right: -80px; }
.p-shape-2 { width: 200px; height: 200px; background: var(--mint); bottom: -60px; left: -60px; }
.p-shape-3 { width: 120px; height: 120px; background: var(--sand); top: 40%; left: 5%; }

.programs-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  position: relative; z-index: 1;
}
.program-card {
  background: #fff; border-radius: 24px; padding: 40px 32px;
  border: 1px solid rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.program-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(193, 102, 107, 0.12); }

.program-icon {
  width: 64px; height: 64px; margin-bottom: 24px;
  background: color-mix(in srgb, var(--card-accent) 12%, transparent);
  border-radius: 16px; display: flex; align-items: center; justify-content: center;
}
.program-icon svg { width: 36px; height: 36px; }

.program-title {
  font-family: var(--font-display);
  font-size: 1.5rem; color: var(--navy); margin-bottom: 12px;
}
.program-desc { font-size: 0.938rem; color: var(--warm-gray); line-height: 1.8; margin-bottom: 20px; }
.program-features { list-style: none; }
.program-features li {
  position: relative; padding-left: 20px;
  font-size: 0.875rem; font-weight: 600; color: var(--navy);
  margin-bottom: 10px;
}
.program-features li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--card-accent);
}

/* ── WHY US ── */
.why-us { background: var(--cream); }
.why-us-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

.features-list { display: flex; flex-direction: column; gap: 28px; margin-top: 36px; }
.feature { display: flex; gap: 20px; }
.feature-icon {
  flex-shrink: 0; width: 48px; height: 48px;
  background: var(--cream); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(0,0,0,0.05);
}
.feature-icon svg { width: 24px; height: 24px; }
.feature h4 { font-family: var(--font-display); font-size: 1.125rem; color: var(--navy); margin-bottom: 4px; }
.feature p { font-size: 0.938rem; color: var(--warm-gray); line-height: 1.7; }

.why-us-visual { position: relative; }
.visual-card { border-radius: 24px; overflow: hidden; box-shadow: 0 20px 60px rgba(193, 102, 107, 0.15); }
.visual-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.visual-accent {
  position: absolute; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.accent-sand {
  width: 80px; height: 80px; bottom: -20px; right: -20px;
  background: var(--sand); opacity: 0.9;
}
.accent-sand svg { width: 32px; height: 32px; }
.accent-terra {
  width: 56px; height: 56px; top: -16px; left: -16px;
  background: var(--terra); opacity: 0.9;
}
.accent-terra svg { width: 24px; height: 24px; }

/* ── GALLERY ── */
.gallery { background: var(--cream); }
.gallery-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.gallery-item {
  position: relative; border-radius: 20px; overflow: hidden;
  aspect-ratio: 4/3; cursor: pointer;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26, 43, 60, 0.7) 0%, transparent 60%);
  display: flex; align-items: flex-end; padding: 20px;
  opacity: 0; transition: opacity 0.3s ease;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span {
  color: #fff; font-weight: 700; font-size: 0.938rem;
}

/* ── CTA ── */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, #2A3F52 100%);
  position: relative; overflow: hidden;
}
.cta-shapes { position: absolute; inset: 0; pointer-events: none; }
.cta-shape { position: absolute; border-radius: 50%; }
.cta-shape-1 { width: 300px; height: 300px; background: var(--terra); opacity: 0.08; top: -80px; left: -80px; }
.cta-shape-2 { width: 200px; height: 200px; background: var(--sand); opacity: 0.08; bottom: -60px; right: 10%; }
.cta-shape-3 { width: 120px; height: 120px; background: var(--mint); opacity: 0.08; top: 20%; right: 5%; }

.cta-content { text-align: center; position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.cta-label { color: var(--sand); }
.cta-title { color: #fff; margin-bottom: 20px; }
.cta-title .accent { color: var(--sand); }
.cta-text { color: rgba(255,255,255,0.75); font-size: 1.063rem; line-height: 1.9; margin-bottom: 40px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── CONTACT ── */
.contact { background: var(--sand-light); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }

.contact-details { display: flex; flex-direction: column; gap: 24px; margin-top: 36px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon {
  flex-shrink: 0; width: 48px; height: 48px;
  background: #fff; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.contact-icon svg { width: 22px; height: 22px; }
.contact-item strong { display: block; font-size: 0.813rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--warm-gray); margin-bottom: 2px; font-weight: 700; }
.contact-item a { color: var(--terra); text-decoration: none; font-weight: 700; font-size: 1.063rem; }
.contact-item a:hover { text-decoration: underline; }
.contact-item span { font-weight: 600; font-size: 1.063rem; color: var(--navy); }

.contact-form-wrap {
  background: #fff; border-radius: 24px; padding: 40px;
  box-shadow: 0 16px 48px rgba(193, 102, 107, 0.08);
  border: 1px solid rgba(0,0,0,0.04);
}
.form-title {
  font-family: var(--font-display); font-size: 1.5rem;
  color: var(--navy); margin-bottom: 28px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-weight: 700; font-size: 0.813rem;
  text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--warm-gray); margin-bottom: 8px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 14px 16px;
  border: 2px solid rgba(0,0,0,0.08); border-radius: 12px;
  font-family: var(--font-body); font-size: 0.938rem;
  color: var(--navy); background: var(--cream);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--terra); box-shadow: 0 0 0 4px rgba(193, 102, 107, 0.1);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: #b8a89e; }
.form-group textarea { resize: vertical; min-height: 120px; }

.form-success {
  display: flex; align-items: center; gap: 12px;
  background: #E8F5E9; border: 1px solid #A5D6A7;
  border-radius: 12px; padding: 16px 20px;
  color: #2E7D32; font-weight: 700; font-size: 0.938rem;
  margin-top: 16px;
}
.form-success svg { width: 24px; height: 24px; flex-shrink: 0; }

/* ── FOOTER ── */
.footer { background: var(--navy); color: rgba(255,255,255,0.7); padding: 64px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px;
  padding-bottom: 48px;
}
.footer-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 1.25rem;
  color: #fff; text-decoration: none; margin-bottom: 16px;
}
.footer-logo svg { width: 36px; height: 36px; color: var(--terra); }
.footer-brand p { font-size: 0.938rem; line-height: 1.8; max-width: 280px; }
.footer h4 {
  color: #fff; font-family: var(--font-display);
  font-size: 1.125rem; margin-bottom: 20px;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 12px; }
.footer ul a {
  color: rgba(255,255,255,0.6); text-decoration: none;
  font-size: 0.938rem; transition: color 0.2s;
}
.footer ul a:hover { color: var(--sand); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0; text-align: center;
  font-size: 0.875rem;
}

/* ── REVEAL ── */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.revealed { opacity: 1; transform: none; }

@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(30px); }
  .reveal.revealed { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .about-grid, .why-us-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-img-float { right: 10px; bottom: -20px; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed; top: 72px; left: 0; right: 0;
    background: rgba(255, 252, 248, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column; padding: 32px 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(193, 102, 107, 0.1);
    transform: translateY(-120%); opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    box-shadow: 0 16px 32px rgba(0,0,0,0.08);
  }
  .nav-links.open { transform: translateY(0); opacity: 1; }
  .nav-toggle { display: block; }
  .nav-cta { width: 100%; justify-content: center; }

  .hero { padding: 100px 20px 60px; min-height: auto; }
  .hero-title { font-size: clamp(2rem, 8vw, 2.75rem); }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-trust { gap: 20px; }

  .section { padding: 72px 0; }
  .programs-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-img-float { width: 60%; right: 0; }
  .about-badge { top: -12px; left: 0; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 24px; }
}
