:root {
  --green: #7CB56D;
  --green-dark: #5c9a4d;
  --dark: #1f2a24;
  --text: #33403a;
  --muted: #6b776f;
  --bg: #ffffff;
  --bg-soft: #f5f8f4;
  --border: #e4ebe2;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(31, 42, 36, 0.08);
  --maxw: 1180px;
  font-size: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
h1, h2, h3, h4 { color: var(--dark); line-height: 1.2; margin: 0 0 16px; }
h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
p { margin: 0 0 16px; }

.kicker {
  display: inline-block;
  color: var(--green-dark);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .8rem;
  margin-bottom: 10px;
}

.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.btn:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn.btn-outline { background: transparent; color: var(--green-dark); border: 2px solid var(--green); padding: 11px 26px; }
.btn.btn-outline:hover { background: var(--green); color: #fff; }

/* Banner */
.top-banner {
  background: var(--dark);
  color: #fff;
  text-align: center;
  font-size: .85rem;
  padding: 8px 16px;
}

/* Header */
header.site-header {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(6px);
  z-index: 50;
}
.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo img { height: 52px; width: auto; }
nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
  font-weight: 600;
}
nav.main-nav a { padding: 6px 2px; border-bottom: 2px solid transparent; }
nav.main-nav a:hover, nav.main-nav a.active { border-color: var(--green); color: var(--green-dark); }
.header-phone {
  font-weight: 700;
  color: var(--green-dark);
  white-space: nowrap;
}
.nav-toggle { display: none; background: none; border: none; font-size: 1.6rem; cursor: pointer; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  nav.main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  nav.main-nav.open { display: block; }
  nav.main-nav ul { flex-direction: column; gap: 0; padding: 10px 24px 20px; }
  nav.main-nav li { padding: 10px 0; border-bottom: 1px solid var(--border); }
  .header-phone { display: none; }
}

/* Hero */
.hero {
  padding: 64px 0 40px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
}
.hero-text h1 { margin-bottom: 10px; }
.hero-text .subtitle { font-size: 1.15rem; color: var(--muted); margin-bottom: 28px; }
.hero-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 8px;
}
.hero-card {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 18px;
}
.hero-card .icon { font-size: 1.6rem; margin-bottom: 8px; }
.hero-card h4 { font-size: .98rem; margin: 0 0 4px; }
.hero-card p { font-size: .87rem; color: var(--muted); margin: 0; }
.hero-image img { border-radius: var(--radius); }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-image { order: -1; max-width: 280px; margin: 0 auto; }
}

/* Section: two column with image */
.split-section { padding: 56px 0; }
.split-section .grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 48px;
  align-items: center;
}
.split-section.reverse .grid { grid-template-columns: 1.1fr .9fr; }
.split-section.reverse .grid .split-image { order: 2; }
.split-image img { border-radius: var(--radius); box-shadow: var(--shadow); }
.feature-list { display: grid; gap: 20px; margin-top: 24px; }
.feature-item { display: flex; gap: 14px; }
.feature-item .icon {
  flex: none;
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.feature-item h4 { margin: 0 0 4px; font-size: 1rem; }
.feature-item p { margin: 0; color: var(--muted); font-size: .92rem; }

@media (max-width: 860px) {
  .split-section .grid, .split-section.reverse .grid { grid-template-columns: 1fr; }
  .split-section.reverse .grid .split-image { order: -1; }
}

/* Pricing */
.pricing-section { padding: 56px 0; background: var(--bg-soft); }
.pricing-section .head { text-align: center; max-width: 640px; margin: 0 auto 36px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.price-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
}
.price-card .label { font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.price-card .amount { font-size: 1.8rem; font-weight: 800; color: var(--green-dark); }
.price-card .unit { font-size: .95rem; color: var(--muted); }
.price-note { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 28px; }

@media (max-width: 860px) { .pricing-grid { grid-template-columns: 1fr; } }

/* Rooms CTA */
.rooms-cta { padding: 64px 0; text-align: center; }
.rooms-cta img { border-radius: var(--radius); margin-top: 28px; box-shadow: var(--shadow); }

/* Reviews */
.reviews-section { padding: 56px 0; }
.reviews-section .head { text-align: center; max-width: 640px; margin: 0 auto 36px; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review-card {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 24px;
}
.review-card p { font-size: .92rem; color: var(--text); }
.review-card .author { font-weight: 700; color: var(--green-dark); margin-top: 10px; }
@media (max-width: 860px) { .reviews-grid { grid-template-columns: 1fr; } }

/* Newsletter */
.newsletter { background: var(--dark); color: #fff; padding: 48px 0; text-align: center; }
.newsletter h3 { color: #fff; margin-bottom: 20px; max-width: 700px; margin-left: auto; margin-right: auto; }
.newsletter-form { display: flex; justify-content: center; gap: 10px; max-width: 480px; margin: 0 auto; flex-wrap: wrap; }
.newsletter-form input[type=email] {
  flex: 1;
  min-width: 220px;
  padding: 13px 18px;
  border-radius: 999px;
  border: none;
}
.form-msg { margin-top: 14px; font-size: .9rem; }

/* Classrooms page */
.classrooms-hero { padding: 56px 0 24px; text-align: center; }
.classrooms-hero .subtitle { max-width: 700px; margin: 0 auto; color: var(--muted); }
.classroom-block { padding: 40px 0; border-top: 1px solid var(--border); }
.classroom-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.classroom-grid img { border-radius: var(--radius); box-shadow: var(--shadow); }
.classroom-info .subtitle { color: var(--green-dark); font-weight: 600; margin-bottom: 6px; }
.classroom-meta { list-style: none; padding: 0; margin-top: 18px; display: grid; gap: 8px; }
.classroom-meta li { font-weight: 600; }
@media (max-width: 860px) { .classroom-grid { grid-template-columns: 1fr; } }

/* Contact page */
.contact-hero { padding: 56px 0 0; text-align: center; }
.contact-hero .subtitle { max-width: 700px; margin: 0 auto; color: var(--muted); }
.map-embed { margin: 36px 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-embed iframe { width: 100%; height: 360px; border: 0; display: block; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 30px 0 56px; }
.contact-card { background: var(--bg-soft); border-radius: var(--radius); padding: 24px; text-align: center; }
.contact-card h4 { margin: 6px 0; color: var(--green-dark); }
@media (max-width: 860px) { .contact-cards { grid-template-columns: 1fr; } }

.contact-form-section { padding: 20px 0 64px; }
.contact-form-section .head { text-align: center; max-width: 640px; margin: 0 auto 30px; }
form.contact-form { max-width: 760px; margin: 0 auto; display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
form.contact-form .full { grid-column: 1 / -1; }
form.contact-form label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .9rem; }
form.contact-form input[type=text], form.contact-form input[type=email], form.contact-form input[type=tel] {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--border); font: inherit;
}
.checkbox-group { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.checkbox-group label { display: flex; align-items: center; gap: 6px; font-weight: 500; font-size: .88rem; }
form.contact-form button { justify-self: start; }
@media (max-width: 640px) { form.contact-form { grid-template-columns: 1fr; } }

/* Blog */
.blog-hero { padding: 56px 0 24px; text-align: center; }
.blog-hero .subtitle { max-width: 700px; margin: 0 auto; color: var(--muted); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 30px 0 64px; }
.blog-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff; display: flex; flex-direction: column; }
.blog-card img { aspect-ratio: 16/10; object-fit: cover; }
.blog-card .body { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.blog-card .date { color: var(--muted); font-size: .82rem; margin-bottom: 6px; }
.blog-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.blog-card .more { margin-top: auto; font-weight: 700; color: var(--green-dark); }
@media (max-width: 860px) { .blog-grid { grid-template-columns: 1fr; } }

/* Single post */
.post-hero { padding: 48px 0 0; }
.post-hero .date { color: var(--muted); font-size: .9rem; margin-bottom: 6px; }
.post-hero img { border-radius: var(--radius); margin: 24px 0; box-shadow: var(--shadow); }
.post-body { max-width: 760px; margin: 0 auto; padding: 0 0 64px; }
.post-body h2 { margin-top: 36px; }
.post-body h3 { margin-top: 26px; }
.post-body ol, .post-body ul { padding-left: 22px; }
.post-body a { color: var(--green-dark); text-decoration: underline; }

/* Simple page (privacy) */
.simple-page { padding: 48px 0 64px; }
.simple-page .content { max-width: 820px; margin: 0 auto; }
.simple-page h2 { margin-top: 32px; }
.simple-page h3 { margin-top: 24px; }
.simple-page ul { padding-left: 22px; }

/* Footer */
footer.site-footer { background: var(--dark); color: #d7e0d4; padding: 56px 0 24px; margin-top: 40px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-grid img { height: 60px; margin-bottom: 14px; }
.footer-grid h5 { color: #fff; text-transform: uppercase; font-size: .85rem; letter-spacing: .06em; margin-bottom: 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 20px; font-size: .82rem; flex-wrap: wrap; gap: 10px; }
.footer-bottom a { text-decoration: underline; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; } }

/* Admin */
.admin-body { background: var(--bg-soft); min-height: 100vh; }
.admin-login-wrap {
  min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px;
}
.admin-login-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 40px 36px; width: 100%; max-width: 380px; text-align: center;
}
.admin-login-card img { height: 60px; margin: 0 auto 18px; }
.admin-login-card input {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--border); margin-bottom: 14px; font: inherit;
}
.admin-login-card .btn { width: 100%; }
.admin-error { background: #fdeceb; color: #b3261e; padding: 10px 14px; border-radius: 10px; font-size: .88rem; margin-bottom: 16px; }
.admin-success { background: #eaf6e7; color: #2f6b25; padding: 10px 14px; border-radius: 10px; font-size: .88rem; margin-bottom: 16px; }

.admin-shell { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 230px; background: var(--dark); color: #d7e0d4; flex: none; padding: 26px 18px; position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.admin-sidebar .brand { color: #fff; font-weight: 800; margin-bottom: 24px; font-size: 1.05rem; }
.admin-sidebar nav ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.admin-sidebar a { display: block; padding: 10px 12px; border-radius: 8px; font-size: .92rem; }
.admin-sidebar a:hover, .admin-sidebar a.active { background: rgba(255,255,255,.1); color: #fff; }
.admin-main { flex: 1; padding: 32px 36px; max-width: 980px; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.admin-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; margin-bottom: 26px; }
.admin-card h2 { font-size: 1.2rem; margin-bottom: 18px; }
.admin-field { margin-bottom: 16px; }
.admin-field label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 6px; }
.admin-field input[type=text], .admin-field input[type=email], .admin-field input[type=password], .admin-field input[type=url], .admin-field textarea {
  width: 100%; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--border); font: inherit;
}
.admin-field textarea { min-height: 90px; resize: vertical; }
.admin-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.admin-table th, .admin-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--border); vertical-align: top; }
.admin-actions { display: flex; gap: 8px; }
.admin-actions form { display: inline; }
.btn-small { padding: 7px 14px; font-size: .82rem; }
.btn-danger { background: #c0392b; }
.btn-danger:hover { background: #a5301f; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--bg-soft); font-size: .78rem; font-weight: 600; }
@media (max-width: 860px) {
  .admin-shell { flex-direction: column; }
  .admin-sidebar { width: 100%; height: auto; position: static; }
  .admin-main { padding: 24px 18px; }
  .admin-grid-2 { grid-template-columns: 1fr; }
}
