:root {
  --bg: #fff8f0;
  --bg-soft: #fff2e6;
  --paper: #ffffff;
  --text: #342018;
  --muted: #6c5144;
  --primary: #ab5331;
  --primary-dark: #7f361f;
  --accent: #efc273;
  --shadow: 0 20px 45px rgba(73, 36, 21, 0.14);
  --radius: 22px;
  --radius-sm: 16px;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Nunito', sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fff7ef 0%, #fffaf6 35%, #fff5ec 100%);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(calc(100% - 32px), var(--max)); margin: 0 auto; }
.topbar {
  background: var(--primary-dark);
  color: #fff;
  font-size: .95rem;
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 10px 0;
}
.topbar p { margin: 0; }
.lang-switch { display: flex; gap: 8px; }
.lang-btn {
  border: 1px solid rgba(255,255,255,.35); background: transparent; color: #fff; border-radius: 999px; padding: 8px 12px; cursor: pointer; font-weight: 700;
}
.lang-btn.active { background: #fff; color: var(--primary-dark); }
.site-header {
  position: sticky; top: 0; z-index: 20; backdrop-filter: blur(10px);
  background: rgba(255,248,240,.85); border-bottom: 1px solid rgba(127,54,31,.08);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { width: 64px; height: 64px; object-fit: contain; border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.brand strong { display:block; font-family:'Montserrat', sans-serif; font-size:1.1rem; }
.brand span { color: var(--muted); font-size: .9rem; }
nav { display: flex; flex-wrap: wrap; gap: 18px; }
nav a { font-weight: 700; color: var(--muted); }
nav a:hover { color: var(--primary-dark); }
.hero { position: relative; min-height: 84vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg, .hero-overlay { position: absolute; inset: 0; }
.hero-bg { background-position: center; background-size: cover; transform: scale(1.05); }
.hero-overlay { background: linear-gradient(90deg, rgba(51,25,15,.8) 0%, rgba(51,25,15,.42) 45%, rgba(51,25,15,.35) 100%); }
.hero-content { position: relative; z-index: 1; padding: 96px 0; }
.hero-copy { max-width: 700px; color: #fff; }
.eyebrow, .section-tag {
  display: inline-block; margin-bottom: 14px; padding: 8px 14px; border-radius: 999px; font-weight: 800; letter-spacing: .03em; background: rgba(239,194,115,.2); color: var(--accent); border: 1px solid rgba(239,194,115,.3);
}
.hero h1, h2, h3 { font-family: 'Montserrat', sans-serif; margin-top: 0; }
.hero h1 { font-size: clamp(2.6rem, 5vw, 5rem); margin-bottom: 18px; line-height: .98; }
.lead { font-size: clamp(1.05rem, 2vw, 1.3rem); line-height: 1.7; color: rgba(255,255,255,.92); }
.hero-actions, .contact-actions, .social-links { display:flex; flex-wrap:wrap; gap: 14px; margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; padding: 14px 20px; border-radius: 999px; font-weight: 800; transition: .25s ease; border: 1px solid transparent;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-secondary { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.28); }
.btn-secondary:hover { background: rgba(255,255,255,.22); }
.hero-badges { display:flex; flex-wrap:wrap; gap:12px; margin-top:28px; }
.hero-badges span {
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.24); color:#fff; padding:10px 14px; border-radius: 999px; font-weight:700;
}
.section { padding: 86px 0; }
.grid-3 { display:grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card, .program-card, .contact-form, .about-image, .map-frame, .video-frame { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); }
.card { padding: 28px; }
.card p, .about-copy p, .program-body p, .section-head p, .video-copy p, .contact-copy, .contact-form, .form-note { color: var(--muted); line-height: 1.8; }
.about-grid, .video-grid, .contact-grid { display:grid; grid-template-columns: 1.1fr .9fr; gap: 34px; align-items:center; }
.about-image img, .program-card img { width:100%; height:100%; object-fit: cover; border-radius: inherit; }
.section-head { max-width: 760px; margin-bottom: 28px; }
.section-head h2, .about-copy h2, .video-copy h2, .contact-copy h2 { font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.08; margin-bottom: 16px; }
.program-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.program-card { overflow: hidden; }
.program-card img { aspect-ratio: 1 / 1; }
.program-body { padding: 22px; }
.gallery-grid { display:grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-item {
  border:none; padding:0; background:transparent; cursor:pointer; border-radius: 18px; overflow:hidden; box-shadow: var(--shadow);
}
.gallery-item img { width:100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .35s ease; }
.gallery-item:first-child img { aspect-ratio: 1.8 / 1; }
.gallery-item:first-child { grid-column: span 2; }
.gallery-item:hover img { transform: scale(1.06); }
.video-frame, .map-frame { overflow:hidden; }
.video-frame iframe, .map-frame iframe { width:100%; border:0; display:block; }
.video-frame iframe { aspect-ratio: 16 / 9; }
.map-frame iframe { height: 420px; }
.social-links a {
  background: var(--paper); color: var(--primary-dark); padding: 12px 18px; border-radius: 999px; font-weight:800; box-shadow: var(--shadow);
}
.contact-list { list-style:none; padding:0; margin: 0; display:grid; gap: 14px; }
.contact-list a { color: var(--primary-dark); font-weight: 800; }
.contact-form { padding: 26px; }
.form-row { display:grid; gap: 8px; margin-bottom: 16px; }
label { font-weight: 800; }
input, textarea {
  width:100%; border:1px solid rgba(127,54,31,.15); border-radius: 16px; padding: 14px 16px; font: inherit; background: #fffdfb;
}
input:focus, textarea:focus { outline:2px solid rgba(171,83,49,.18); border-color: rgba(171,83,49,.4); }
.site-footer { background: #2f1b15; color: rgba(255,255,255,.86); padding: 26px 0; }
.footer-inner { display:flex; justify-content:space-between; gap: 18px; flex-wrap: wrap; }
.site-footer a { color: #fff; }
.floating-whatsapp {
  position: fixed; right: 18px; bottom: 18px; width: 60px; height: 60px; border-radius: 50%; background: #25D366; color:#fff; display:grid; place-items:center; box-shadow: 0 18px 35px rgba(0,0,0,.2); z-index:30;
}
.floating-whatsapp svg { width: 34px; height: 34px; }
.lightbox {
  position: fixed; inset:0; background: rgba(0,0,0,.82); display:none; align-items:center; justify-content:center; padding: 24px; z-index: 40;
}
.lightbox.open { display:flex; }
.lightbox img { max-width: min(100%, 1000px); max-height: 88vh; border-radius: 18px; }
.lightbox-close {
  position:absolute; top:16px; right:20px; font-size: 40px; line-height:1; background:none; border:none; color:#fff; cursor:pointer;
}
.reveal { opacity:0; transform: translateY(24px); transition: .7s ease; }
.reveal.visible { opacity:1; transform:none; }
@media (max-width: 980px) {
  nav { display:none; }
  .grid-3, .program-grid, .gallery-grid, .about-grid, .video-grid, .contact-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item:first-child { grid-column: span 2; }
}
@media (max-width: 720px) {
  .hero { min-height: 74vh; }
  .grid-3, .program-grid, .gallery-grid, .about-grid, .video-grid, .contact-grid { grid-template-columns: 1fr; }
  .gallery-item:first-child { grid-column: span 1; }
  .nav-wrap { padding: 12px 0; }
  .brand img { width: 56px; height:56px; }
  .topbar-inner, .footer-inner { flex-direction: column; align-items: flex-start; }
  .section { padding: 72px 0; }
  .hero-content { padding: 76px 0; }
}
