:root {
  --bg: #f6f2ea;
  --surface: #ffffff;
  --surface-2: #f0e8dc;
  --text: #1f1f1f;
  --muted: #66604f;
  --accent: #8b5e3c;
  --accent-dark: #6f492d;
  --line: #e7dccd;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  background: linear-gradient(180deg, #fbf8f3 0%, var(--bg) 100%);
  color: var(--text);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.page {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(246, 242, 234, 0.85);
  border-bottom: 1px solid rgba(139, 94, 60, 0.08);
}

.topbar-inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.brand-badge {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: white;
  font-weight: 800;
  box-shadow: var(--shadow);
}

.nav {
  display: none;
  gap: 10px;
  flex-wrap: wrap;
}

.nav a {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 16px 12px;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.85);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.hero {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: stretch;
}

.hero-card,
.section-card,
.unit-card,
.promo-card,
.program-card,
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero-media {
  overflow: hidden;
  min-height: 240px;
  position: relative;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-copy {
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  margin: 0 auto;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

h1 {
  margin: 0;
  font-size: clamp(28px, 5vw, 52px);
  line-height: 1.05;
}

.lead {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.hero-actions,
.quick-links {
  display: grid;
  gap: 10px;
}

.btn,
.quick-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 16px;
  border-radius: 14px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn:hover,
.quick-link:hover,
.unit-card:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: #77c7c7;
  color: white;
}

.btn-secondary {
  background: var(--surface-2);
  color: var(--accent-dark);
  border-color: var(--line);
}

.section {
  margin-top: 22px;
}

.section-card {
  padding: 20px;
}

.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.section-head h2 {
  margin: 0 0 6px;
  font-size: clamp(22px, 3vw, 34px);
}

.section-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.units-grid,
.promo-grid,
.program-grid,
.contact-grid,
.quick-links {
  grid-template-columns: 1fr;
}

.units-grid,
.promo-grid,
.program-grid,
.contact-grid {
  display: grid;
  gap: 14px;
}

.unit-card,
.promo-card,
.program-card,
.contact-card {
  overflow: hidden;
}

.unit-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.unit-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #ddd;
}

.unit-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.unit-body,
.promo-body,
.program-body,
.contact-body {
  padding: 18px;
}

.unit-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.unit-body h3,
.promo-body h3,
.program-body h3,
.contact-body h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.unit-body p,
.promo-body p,
.program-body p,
.contact-body p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.6;
}

.unit-body p {
  min-height: 96px;
}

.unit-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  min-height: 72px;
  align-content: flex-start;
}

.tag {
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 700;
}

.quick-links {
  display: grid;
  margin-top: 10px;
}

.quick-link {
  background: var(--surface-2);
  color: var(--accent-dark);
  border: 1px solid var(--line);
}

.contact-line {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.contact-line:last-child {
  border-bottom: 0;
}

.footer {
  padding: 26px 0 38px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}
.about-grid {
  display: flex;
  justify-content: center;
}

.about-card {
  width: 100%;
  max-width: 420px;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-body {
  width: 100%;
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.about-body p {
  margin: 0;
  text-align: center;
}

.about-section .section-head {
  justify-content: center;
}

.about-section .section-head h2 {
  text-align: center;
}

.about-text {
  max-width: 900px;
  margin: 18px auto 0;
}

.about-text p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.8;
  text-align: left;
}

.about-text p:last-child {
  margin-bottom: 0;
}
.contact-card-full {
  width: 100%;
}
.social-links-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: right;
}

.social-block {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.social-block strong {
  color: var(--text);
  min-width: 90px;
}

.social-block a {
  color: var(--accent-dark);
  text-decoration: none;
  font-weight: 600;
}

.social-block a:hover {
  text-decoration: underline;
}