/* ---------- Design tokens ---------- */
:root {
  --academy-green: #8B7355;
  --academy-brown: #6B5B47;
  --academy-cream: #F5F1E8;
  --academy-dark: #4C342A;
  --olive-green: #556B2F;
  --olive-green-light: #6b8740;
  --white: #ffffff;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-700: #374151;

  --font-serif: Georgia, "Times New Roman", serif;
  --font-sans: Inter, Helvetica, Arial, sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;

  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.12);

  --nav-height: 64px;
  --container: 1200px;
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--academy-dark);
  background: var(--academy-cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
ul { list-style: none; padding: 0; margin: 0; }

h1, h2, h3, h4, h5 {
  margin: 0 0 0.6em;
  font-family: var(--font-serif);
  color: var(--academy-dark);
  line-height: 1.2;
  font-weight: 700;
}

p { margin: 0 0 1em; }

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

@media (min-width: 640px) { .container { padding-left: 24px; padding-right: 24px; } }
@media (min-width: 1024px) { .container { padding-left: 32px; padding-right: 32px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-align: center;
  transition: background-color .25s ease, color .25s ease, transform .15s ease, box-shadow .25s ease;
  width: 100%;
}
@media (min-width: 640px) { .btn { width: auto; } }

.btn-primary {
  background: var(--olive-green);
  color: var(--white);
}
.btn-primary:hover { background: var(--olive-green-light); transform: translateY(-1px); }

.btn-outline {
  border: 2px solid var(--olive-green);
  color: var(--olive-green);
  background: transparent;
}
.btn-outline:hover { background: var(--olive-green); color: var(--white); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 10px rgba(0,0,0,.06);
}
.nav-inner {
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0;
  color: var(--academy-dark);
}
.brand .accent { color: var(--olive-green); }

.nav-links { display: none; align-items: center; gap: 1.25rem; }
.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 4px;
  color: var(--academy-dark);
  transition: color .2s ease;
}
.nav-links a:hover { color: var(--olive-green); }
.nav-links a.nav-cta {
  background: var(--olive-green);
  color: var(--white);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
}
.nav-links a.nav-cta:hover { background: var(--olive-green-light); color: var(--white); }

.hamburger {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--academy-dark);
  border-radius: var(--radius-sm);
}
.hamburger:hover { color: var(--olive-green); background: rgba(85,107,47,.08); }
.hamburger svg { width: 26px; height: 26px; }

.mobile-menu {
  display: none;
  background: var(--white);
  border-top: 1px solid rgba(0,0,0,.06);
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 14px 16px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--academy-dark);
  border-bottom: 1px solid rgba(0,0,0,.04);
}
.mobile-menu a:hover { color: var(--olive-green); background: var(--academy-cream); }
.mobile-menu a:last-child { border-bottom: 0; }

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .hamburger { display: none; }
  .mobile-menu { display: none !important; }
}

/* ---------- Section base ---------- */
section { padding: 64px 0; }
@media (min-width: 768px) { section { padding: 88px 0; } }

.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 {
  font-size: clamp(1.75rem, 4vw + 1rem, 2.5rem);
  margin-bottom: 12px;
}
.section-head p {
  font-size: 1.05rem;
  color: var(--academy-brown);
  max-width: 60ch;
  margin: 0 auto;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--nav-height) + 32px);
  padding-bottom: 64px;
  overflow: hidden;
  background: var(--academy-cream);
}
.hero-bg {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}
/* Mobile: cream haze across the whole hero so centered text stays readable on top of the books */
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(245,241,232,0.92) 0%, rgba(245,241,232,0.88) 100%);
  pointer-events: none;
}
.hero .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.hero-inner {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
/* Poster sits clearly on top of the faded books, full colour, never muted.
   905x491 is its native size; never upscale past that. */
.hero-poster {
  width: 100%;
  max-width: 905px;
}
.hero-poster img {
  display: block;
  width: 100%;
  height: auto;
}
.hero-logo {
  width: 112px;
  height: 112px;
  margin: 0 auto 16px;
  object-fit: contain;
}
.hero h1 {
  font-size: clamp(2rem, 6vw + 0.5rem, 3.5rem);
  line-height: 1.1;
  margin-bottom: 16px;
}
.hero h1 .accent { color: var(--olive-green); }
.hero .lead {
  font-size: clamp(1rem, 1.5vw + 0.5rem, 1.25rem);
  color: var(--olive-green);
  max-width: 36ch;
  margin: 0 auto 24px;
  text-shadow: 1px 1px 0 #fff, -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff;
}
.hero .quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--academy-dark);
  margin-bottom: 32px;
}
.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
@media (min-width: 640px) {
  .hero-logo { width: 144px; height: 144px; }
  .hero-cta { flex-direction: row; justify-content: center; }
}
@media (min-width: 1024px) {
  .hero { padding-top: calc(var(--nav-height) + 64px); padding-bottom: 96px; min-height: 100vh; display: flex; align-items: center; }
  /* Desktop: books occupy ONLY the right half, semi-transparent, no cream overlay so the books read as books */
  .hero-bg { left: 50%; }
  .hero-bg img { opacity: 0.7; }
  .hero-bg::after { display: none; }
  /* Side by side: compact text column on the left, poster at native size on the right.
     Let the hero span the full viewport so there is room for the 905px poster beside the text. */
  .hero .container {
    flex-direction: row;
    align-items: stretch;          /* both columns take the hero-inner's height */
    justify-content: center;
    gap: 48px;
    max-width: none;
  }
  .hero-inner {
    flex: 0 1 560px;
    max-width: 560px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .hero-poster {
    flex: 0 1 905px;               /* up to native 905px wide, shrinks on smaller desktops */
    max-width: 905px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .hero-poster img {
    width: auto;
    max-width: 100%;              /* never wider than its column / native size */
    max-height: 100%;            /* never taller than the text column (hero-inner) */
    height: auto;
  }
  .hero-logo { margin: 0 auto 16px; }
  .hero .lead { margin: 0 auto 24px; }
  .hero-cta { justify-content: center; }
}

/* ---------- Termíny krúžkov ---------- */
.terms { background: var(--academy-cream); }
.terms-grid {
  display: grid;
  gap: 18px;
}
@media (min-width: 640px) { .terms-grid { grid-template-columns: 1fr 1fr; gap: 22px; } }
@media (min-width: 1024px) { .terms-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.term-card {
  display: flex;
  flex-direction: column;
  background: #F4EEE1;
  padding: 22px 26px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid #E3DAC6;
  transition: transform .15s ease, box-shadow .25s ease;
}
.term-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.term-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}
.term-head .badge-icon {
  width: 110px;
  height: 110px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.term-head .badge-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.term-title {
  flex: 1;
  text-align: center;
}
.term-head h3 {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 1.45rem;
  line-height: 1.1;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: #2f4d1f;
  margin: 0;
}
.term-meta { display: flex; flex-direction: column; gap: 16px; margin-bottom: 18px; }
.term-meta li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  color: var(--academy-brown);
}
.term-meta li svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  color: var(--olive-green);
}
.term-when { display: flex; flex-direction: column; line-height: 1.35; }
.term-lector {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1rem;
  color: var(--academy-brown);
  margin: 8px 0 0;
}
.term-card .btn { margin-top: auto; }

/* ---------- Termíny — turnus legend ---------- */
.turnus-legend {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: 0 auto 22px;
  font-weight: 600;
  color: var(--academy-dark);
}
.turnus-legend .legend-item { display: inline-flex; align-items: center; gap: 4px; }
.turnus-legend .sep { color: var(--gray-300); }

/* turnus chips — colour-differentiated */
.tu {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 24px;
  padding: 0 8px;
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  border-radius: 7px;
  margin-right: 5px;
}
.tu-1 { background: #556B2F; } /* T1 – olivová */
.tu-2 { background: #b06f2a; } /* T2 – jantárová */
.tu-3 { background: #27606f; } /* T3 – tyrkysová */

/* ---------- Termíny — tabuľka ---------- */
.terms-table-card {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  border: 1px solid #E3DAC6;
}
.terms-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
}
.terms-table thead th {
  background: var(--olive-green);
  color: #fff;
  font-weight: 600;
  text-align: left;
  padding: 13px 16px;
  font-size: .78rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.terms-table td {
  padding: 14px 16px;
  border-top: 1px solid #E9E2D2;
  vertical-align: middle;
  color: var(--academy-brown);
}
.terms-table tbody tr { transition: background .15s ease; }
.terms-table tbody tr:hover { background: var(--academy-cream); }

.kr { display: flex; align-items: center; gap: 12px; }
.kr img { width: 46px; height: 46px; object-fit: contain; flex-shrink: 0; }
.kr-t {
  display: flex;
  flex-direction: column;
  font-weight: 700;
  color: var(--academy-dark);
  line-height: 1.3;
}
.kr-t small { font-weight: 500; color: var(--academy-brown); font-size: .82rem; }

/* subject tag (farebne rozlíšené predmety) */
.tag {
  align-self: flex-start;
  display: inline-block;
  padding: 2px 9px;
  margin-bottom: 4px;
  border-radius: 6px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.tag-math { background: #e6efd9; color: #41541f; }
.tag-lit  { background: #efe2d2; color: #8a5a2b; }
.tag-sci  { background: #dceaf0; color: #27606f; }
.tag-en   { background: #e3e0f3; color: #4b3f8f; }
.tag-de   { background: #f5dede; color: #9a3030; }

/* days & time column */
.terms-table td:nth-child(3) { line-height: 1.35; }
.terms-table td:nth-child(3) b { display: block; color: var(--academy-dark); font-weight: 700; }

/* price column */
.terms-table td:nth-child(4) { font-weight: 700; color: var(--olive-green); white-space: nowrap; }
.terms-table td:nth-child(4) small { display: block; font-weight: 500; color: var(--academy-brown); font-size: .78rem; }

/* reservation button */
.book {
  display: inline-block;
  background: var(--olive-green);
  color: #fff;
  font-weight: 600;
  font-size: .85rem;
  padding: 9px 16px;
  border-radius: 8px;
  white-space: nowrap;
  text-decoration: none;
  transition: background .2s ease, transform .15s ease;
}
.book:hover { background: var(--olive-green-light); transform: translateY(-1px); }

/* mobile: stack table rows into cards */
@media (max-width: 760px) {
  .terms-table thead { display: none; }
  .terms-table, .terms-table tbody, .terms-table tr, .terms-table td { display: block; width: 100%; }
  .terms-table tr { border-top: 8px solid var(--academy-cream); padding: 10px 4px; }
  .terms-table tr:first-child { border-top: 0; }
  .terms-table td {
    border: 0;
    padding: 7px 18px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
  }
  .terms-table td::before {
    content: attr(data-l);
    font-weight: 700;
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: var(--academy-brown);
    flex-shrink: 0;
  }
  .terms-table td:first-child { padding-top: 12px; }
  .terms-table td:first-child::before { display: none; }
  .terms-table td:nth-child(3) { text-align: right; }
  .terms-table td:nth-child(3) b { display: inline; }
  .terms-table td:nth-child(4) small { display: inline; margin-left: 4px; }
  .book { width: 100%; text-align: center; padding: 12px; }
  .terms-table td:last-child { padding: 6px 18px 14px; }
}

/* ---------- Coming Soon section ---------- */
.coming-soon {
  background: var(--olive-green);
  color: var(--white);
  text-align: center;
}
.coming-soon h2 { color: var(--white); margin-bottom: 12px; }
.coming-soon .lead { color: rgba(255,255,255,0.92); margin-bottom: 32px; }
.coming-soon-grid {
  display: grid;
  gap: 20px;
  margin-bottom: 28px;
}
.coming-soon-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.15);
}
.coming-soon-card .icon {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.coming-soon-card h3 { color: var(--white); font-family: var(--font-sans); font-size: 1.2rem; margin-bottom: 6px; }
.coming-soon-card p { color: rgba(255,255,255,0.95); font-size: 1.05rem; margin: 0; }
.coming-soon-foot { color: rgba(255,255,255,0.9); max-width: 60ch; margin: 0 auto; }

@media (min-width: 768px) {
  .coming-soon-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}

/* ---------- Subject cards ---------- */
.subjects { background: var(--white); }
.cards-grid {
  display: grid;
  gap: 20px;
}
@media (min-width: 640px) { .cards-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .cards-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; } }

.subject-card {
  background: var(--academy-cream);
  padding: 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: box-shadow .25s ease, transform .25s ease;
}
.subject-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.subject-card .icon {
  width: 56px;
  height: 56px;
  background: var(--olive-green);
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--white);
}
.subject-card .icon svg { width: 28px; height: 28px; }
.subject-card h3 { font-family: var(--font-sans); font-size: 1.4rem; margin-bottom: 10px; }
.subject-card p { color: var(--academy-brown); margin: 0; }

/* ---------- Pricing ---------- */
.pricing {
  position: relative;
  background: var(--academy-cream);
  overflow: hidden;
}
.pricing-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.pricing-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
}
.pricing > .container { position: relative; z-index: 1; }

.pricing-grid {
  display: grid;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}
@media (min-width: 768px) { .pricing-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }
@media (min-width: 1024px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }

.price-card {
  background: var(--white);
  padding: 32px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--olive-green);
  text-align: center;
  transition: box-shadow .25s ease, transform .25s ease;
}
.price-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-xl); }
.price-card h3 { font-family: var(--font-sans); font-size: 1.4rem; margin-bottom: 14px; }
.price-value {
  font-size: 3rem;
  font-weight: 800;
  color: var(--olive-green);
  font-family: var(--font-serif);
  line-height: 1;
}
.price-unit { font-size: 0.95rem; color: var(--academy-brown); margin-left: 4px; }
.price-meta { font-size: 0.92rem; color: var(--academy-brown); margin: 6px 0 18px; }
.price-features { text-align: left; margin: 18px 0 24px; display: grid; gap: 10px; }
.price-features li { display: flex; gap: 10px; align-items: flex-start; color: var(--academy-dark); }
.price-features svg { flex-shrink: 0; width: 18px; height: 18px; color: var(--olive-green); margin-top: 3px; }

/* ---------- Doučovanie & Krúžky ---------- */
.tutoring-block { margin-top: 40px; }
.tutoring-block h2 {
  text-align: center;
  font-size: clamp(1.6rem, 3vw + 1rem, 2.25rem);
  margin-bottom: 8px;
}
.tutoring-block .sub-lead {
  text-align: center;
  color: var(--academy-brown);
  margin: 0 auto 32px;
  max-width: 60ch;
}

.tutoring-grid {
  display: grid;
  gap: 18px;
  margin-bottom: 28px;
}
@media (min-width: 768px) { .tutoring-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }

.tutoring-card {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}
.tutoring-card.accent { border-left: 4px solid var(--olive-green); }
.tutoring-card h3 {
  font-family: var(--font-sans);
  font-size: 1.2rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.tutoring-card .badge-icon {
  width: 36px;
  height: 36px;
  background: var(--olive-green);
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}
.tutoring-card .badge-icon svg { width: 18px; height: 18px; }
.tutoring-card p { font-size: 0.95rem; color: var(--academy-brown); margin: 0 0 8px; }
.tutoring-card ul.list-bullets li { color: var(--academy-brown); padding-left: 16px; position: relative; margin-bottom: 4px; }
.tutoring-card ul.list-bullets li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--olive-green);
  font-weight: 700;
}

.sub-card {
  background: var(--academy-cream);
  padding: 16px;
  border-radius: var(--radius-sm);
  margin-top: 12px;
}
.sub-card h4 { font-family: var(--font-sans); font-size: 1rem; margin-bottom: 6px; }
.sub-card p { font-size: 0.9rem; margin: 4px 0; }

.info-box {
  background: rgba(85,107,47,0.1);
  padding: 24px;
  border-radius: var(--radius-md);
  margin-bottom: 40px;
}
.info-box h3 {
  font-family: var(--font-sans);
  font-size: 1.2rem;
  text-align: center;
  margin-bottom: 14px;
}
.info-box ul { max-width: 580px; margin: 0 auto; }
.info-box ul li { color: var(--academy-dark); padding-left: 16px; position: relative; margin-bottom: 6px; }
.info-box ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--olive-green);
  font-weight: 700;
}
.text-emerald { color: var(--olive-green); font-weight: 700; }

.bonus-box {
  background: var(--white);
  padding: 28px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}
.bonus-box h3 {
  font-family: var(--font-sans);
  font-size: 1.2rem;
  text-align: center;
  margin-bottom: 18px;
}
.bonus-list {
  display: grid;
  gap: 12px;
  max-width: 760px;
  margin: 0 auto;
}
@media (min-width: 640px) { .bonus-list { grid-template-columns: 1fr 1fr; } }
.bonus-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--academy-brown);
}
.bonus-list li::before {
  content: "✓";
  color: var(--olive-green);
  font-weight: 800;
  flex-shrink: 0;
}

/* ---------- About ---------- */
.about { background: var(--white); }
.about-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 56px; } }
.about-img { border-radius: var(--radius-md); box-shadow: var(--shadow-lg); overflow: hidden; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-content h2 {
  font-size: clamp(1.75rem, 3vw + 1rem, 2.5rem);
  margin-bottom: 16px;
}
.about-content > p { color: var(--academy-brown); font-size: 1.05rem; margin-bottom: 22px; }
.quote-card {
  background: var(--academy-cream);
  padding: 22px;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
}
.quote-card p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--academy-dark);
  margin: 0;
}

/* ---------- Features ---------- */
.features { background: var(--academy-cream); }
.features-grid {
  display: grid;
  gap: 28px;
}
@media (min-width: 768px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }
.feature {
  text-align: center;
  padding: 12px;
}
.feature .icon-circle {
  width: 72px;
  height: 72px;
  background: var(--olive-green);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--white);
}
.feature .icon-circle svg { width: 36px; height: 36px; }
.feature h3 { font-family: var(--font-sans); font-size: 1.15rem; margin-bottom: 8px; }
.feature p { color: var(--academy-brown); margin: 0; }

/* ---------- Contact ---------- */
.contact {
  position: relative;
  background: var(--white);
  overflow: hidden;
}
.contact-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.contact-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
}
.contact > .container { position: relative; z-index: 1; }

.contact-grid {
  display: grid;
  gap: 32px;
}
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 56px; } }

.form-card {
  background: var(--academy-cream);
  padding: 28px 24px;
  border-radius: var(--radius-md);
}
.form-card h3 { font-family: var(--font-sans); font-size: 1.4rem; margin-bottom: 22px; }

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--academy-dark);
  font-size: 0.95rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(107,91,71,0.3);
  border-radius: var(--radius-sm);
  background: var(--white);
  font: inherit;
  color: var(--academy-dark);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--olive-green);
  box-shadow: 0 0 0 3px rgba(85,107,47,0.18);
}
.field textarea { resize: vertical; min-height: 110px; }

.form-status {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  display: none;
}
.form-status.success { display: block; background: rgba(85,107,47,0.12); color: var(--olive-green); border: 1px solid rgba(85,107,47,0.4); }
.form-status.error { display: block; background: rgba(180,40,40,0.08); color: #a23030; border: 1px solid rgba(180,40,40,0.3); }

.contact-info h3 {
  font-family: var(--font-sans);
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.contact-info-list { display: grid; gap: 12px; margin-bottom: 22px; }
.contact-info-list li { display: flex; align-items: center; gap: 12px; color: var(--academy-brown); }
.contact-info-list li svg { width: 22px; height: 22px; color: var(--olive-green); flex-shrink: 0; }
.social-row { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.social-row svg { width: 36px; height: 36px; flex-shrink: 0; }
.social-row span { font-weight: 500; color: var(--academy-dark); }

.contact-notice {
  background: var(--academy-cream);
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--olive-green);
  color: var(--academy-brown);
}
.contact-notice strong { color: var(--olive-green); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--academy-dark);
  color: var(--white);
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  gap: 32px;
  margin-bottom: 32px;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h2 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 14px;
}
.site-footer h2 .accent { color: var(--olive-green-light); }
.site-footer h3 {
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 1.05rem;
  margin-bottom: 14px;
  font-weight: 600;
}
.site-footer p, .site-footer li { color: rgba(255,255,255,0.78); margin-bottom: 6px; font-size: 0.95rem; }
.site-footer ul li { margin-bottom: 6px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 22px;
  text-align: center;
  color: #a5b78f;
  font-size: 0.9rem;
}

/* ---------- Utility ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
