:root {
  --bg: #f7f4ef;
  --ink: #2f3b35;
  --muted: #5c6f66;
  --line: #d9e1da;
  --accent: #7aa89a;
  --accent-2: #d6b89c;
  --surface: #ffffffd8;
  --radius: 22px;
  --shadow: 0 18px 40px rgba(82, 118, 105, 0.18);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Nunito Sans", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 8% -10%, #efe6da 0, transparent 60%),
    radial-gradient(840px 520px at 110% 0%, #dde9e3 0, transparent 60%),
    var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
figure { margin: 0; }
a { color: inherit; text-decoration: none; }
.container { width: min(1160px, 92vw); margin: 0 auto; position: relative; z-index: 2; }
.bg-veil { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.bg-veil::before, .bg-veil::after { content: ""; position: absolute; border-radius: 50%; filter: blur(40px); opacity: .28; }
.bg-veil::before { width: 42vw; height: 42vw; left: -8vw; top: 18vh; background: #cfe1d6; animation: driftA 28s ease-in-out infinite; }
.bg-veil::after { width: 34vw; height: 34vw; right: -8vw; top: 4vh; background: #e6d3c0; animation: driftB 32s ease-in-out infinite; }
.bg-veil span { position: absolute; width: 28vw; height: 28vw; left: 30vw; top: 45vh; border-radius: 50%; background: #e3efe9; filter: blur(45px); opacity: .22; animation: driftC 36s ease-in-out infinite; }
.bg-veil span:nth-child(2) { width: 22vw; height: 22vw; left: 62vw; top: 62vh; background: #f1e4d7; opacity: .18; animation: driftD 40s ease-in-out infinite; }
.site-header { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(10px); background: #f7f4efdd; border-bottom: 1px solid #e6ddd4; }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.brand img { animation: lotusGlow 6s ease-in-out infinite, floatSoft 12s ease-in-out infinite; }
.main-nav { display: flex; align-items: center; gap: 18px; color: #46544d; font-weight: 600; }
.main-nav a { padding: 6px 2px; }
.btn, .btn-soft { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid transparent; font-weight: 700; transition: .2s ease; animation: floatSoft 11s ease-in-out infinite; }
.btn { padding: 12px 22px; background: linear-gradient(120deg, var(--accent), #95b7ab); color: #fff; box-shadow: 0 10px 20px rgba(97, 137, 124, 0.28); }
.btn-soft { padding: 10px 18px; border: 1px solid #cfe1d6; background: #f2f7f4; color: #3d5a4e; animation-duration: 13s; }
.btn:hover, .btn-soft:hover { transform: translateY(-1px); }
.phone-link { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid #cfe1d6; background: #f1f7f3; color: #395347; font-weight: 700; }
.hero { padding: 72px 0 36px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 22px; align-items: stretch; }
.hero-copy, .card, .panel, .section-block, details, .contact-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.card, .section-block, .contact-card, details { animation: floatIn 1.2s ease both; }
.card { animation-delay: .08s; }
.section-block { animation-delay: .12s; }
.contact-card { animation-delay: .16s; }
details { animation-delay: .2s; }
.hero-copy { padding: 28px; animation: floatSoft 12s ease-in-out infinite; }
.hero-copy h1 { font-family: "Cormorant Garamond", serif; font-size: clamp(2.2rem, 4.2vw, 3.6rem); margin: 0 0 12px; line-height: 1.1; }
.eyebrow { margin: 0 0 10px; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; color: #6e857b; font-weight: 700; }
.lead { margin: 0 0 16px; color: var(--muted); font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.hero-photo { border: 1px solid #e4ded6; border-radius: var(--radius); overflow: hidden; box-shadow: 0 18px 34px rgba(78, 105, 95, 0.22); height: 100%; display: flex; align-self: stretch; animation: floatSlow 14s ease-in-out infinite; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; flex: 1; transform: scale(1.06); transform-origin: center; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.stat { padding: 12px; border-radius: 16px; border: 1px solid #dfe7e2; background: #fff; }
.stat h3 { margin: 0 0 4px; font-size: 1rem; color: #3b5147; }
.stat p { margin: 0; color: var(--muted); font-size: .92rem; }
.section { padding: 42px 0; }
.section h2 { font-family: "Cormorant Garamond", serif; font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 0 0 10px; }
.section-intro { max-width: 720px; margin-bottom: 18px; color: var(--muted); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.card { padding: 18px; }
.card h3 { margin: 0 0 8px; font-size: 1.1rem; }
.card p { margin: 0; color: var(--muted); }
.pill { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; border: 1px solid #dfe7e2; background: #fff; font-size: .9rem; color: #51655c; }
.programs { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; align-items: center; }
.programs img { border-radius: 18px; border: 1px solid #e1e7e3; }
.schedule { display: grid; gap: 10px; }
.schedule-item { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 14px; border-radius: 16px; border: 1px solid #dfe7e2; background: #fff; }
.schedule-item span { color: #60746a; }
.quote { font-family: "Cormorant Garamond", serif; font-size: 1.4rem; color: #394a43; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gallery img { border-radius: 18px; border: 1px solid #e4e0d8; box-shadow: 0 10px 20px rgba(88, 113, 102, 0.15); }
.teacher { display: grid; grid-template-columns: .9fr 1.1fr; gap: 16px; align-items: stretch; }
.teacher img { border-radius: 18px; border: 1px solid #e1e7e3; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.faq { max-width: 1160px; }
.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
details { padding: 14px 16px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 700; }
.contact-card { padding: 18px; }
form { display: grid; gap: 10px; }
label { font-weight: 700; font-size: .92rem; }
input, textarea, select { width: 100%; border: 1px solid #dbe6e0; border-radius: 12px; background: #fff; color: var(--ink); padding: 10px 12px; font: inherit; }
input:focus, textarea:focus, select:focus { outline: 2px solid transparent; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(122, 168, 154, 0.2); }
.hidden-field { position: absolute; left: -9999px; opacity: 0; }
.site-footer { border-top: 1px solid #e3ded6; background: #f1ece6; }
.footer-grid { display: grid; grid-template-columns: 1.1fr .9fr 1fr; gap: 20px; padding: 24px 0; }
.footer-menu { display: grid; gap: 6px; }
.footer-menu a:hover { color: var(--accent); }
@keyframes driftA {
  0%, 100% { transform: translate3d(0, 0, 0) scale(0.95); opacity: .24; }
  40% { transform: translate3d(20px, -16px, 0) scale(1.08); opacity: .34; }
  70% { transform: translate3d(36px, -26px, 0) scale(1.14); opacity: .38; }
}
@keyframes driftB {
  0%, 100% { transform: translate3d(0, 0, 0) scale(0.92); opacity: .22; }
  35% { transform: translate3d(-18px, 12px, 0) scale(1.04); opacity: .30; }
  70% { transform: translate3d(-34px, 24px, 0) scale(1.12); opacity: .36; }
}
@keyframes driftC {
  0%, 100% { transform: translate3d(0, 0, 0) scale(0.92); opacity: .18; }
  40% { transform: translate3d(18px, -22px, 0) scale(1.04); opacity: .24; }
  75% { transform: translate3d(-24px, 18px, 0) scale(1.08); opacity: .28; }
}
@keyframes driftD {
  0%, 100% { transform: translate3d(0, 0, 0) scale(0.9); opacity: .16; }
  45% { transform: translate3d(-20px, -12px, 0) scale(1.03); opacity: .22; }
  80% { transform: translate3d(22px, 16px, 0) scale(1.07); opacity: .2; }
}
@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes floatSoft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
@keyframes floatIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes lotusGlow {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(122, 168, 154, 0)); }
  50% { filter: drop-shadow(0 6px 14px rgba(122, 168, 154, 0.5)); }
}
@media (max-width: 1080px) {
  .hero-grid, .programs, .teacher, .footer-grid { grid-template-columns: 1fr; }
  .grid-3, .grid-2, .gallery { grid-template-columns: 1fr 1fr; }
  .hero-photo img { max-height: 420px; }
}
@media (max-width: 760px) {
  .nav-wrap { flex-wrap: wrap; }
  .main-nav { width: 100%; overflow-x: auto; padding-bottom: 6px; }
  .grid-3, .grid-2, .gallery, .stats, .faq-grid { grid-template-columns: 1fr; }
  .schedule-item { flex-direction: column; align-items: flex-start; }
  .btn, .btn-soft, .phone-link { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
