*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --green-900: #14261a;
  --green-800: #1a3524;
  --green-700: #22543d;
  --green-600: #276749;
  --green-500: #38a169;
  --green-400: #68d391;
  --green-100: #f0fff4;
  --green-50: #f7fdf9;
  --sand: #f5f1eb;
  --sand-dark: #e8e2d8;
  --warm-white: #fafaf8;
  --text: #1a1a1a;
  --text-secondary: #5a5a5a;
  --text-muted: #8a8a8a;
  --white: #ffffff;
  --radius: 12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--warm-white);
  overflow-x: hidden;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  line-height: 1.15;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* NAV */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: all 0.4s ease;
}

.nav.scrolled,
.nav.solid {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 1.25rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--green-900);
}

.nav-brand span {
  font-family: 'DM Serif Display', serif;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  color: white;
  transition: color 0.4s ease;
}

.nav.scrolled .nav-brand span,
.nav.solid .nav-brand span { color: var(--green-900); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.2s ease;
  color: rgba(255,255,255,0.85);
}

.nav.scrolled .nav-links a,
.nav.solid .nav-links a { color: var(--text-secondary); }
.nav-links a:hover { background: rgba(255,255,255,0.12); }
.nav.scrolled .nav-links a:hover,
.nav.solid .nav-links a:hover { background: var(--green-50); color: var(--green-700); }

.nav-links a.active {
  color: white;
  background: rgba(255,255,255,0.1);
}
.nav.scrolled .nav-links a.active,
.nav.solid .nav-links a.active {
  color: var(--green-700);
  background: var(--green-50);
}

.nav-links .btn-nav {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  margin-left: 0.5rem;
  color: white;
}

.nav.scrolled .nav-links .btn-nav,
.nav.solid .nav-links .btn-nav {
  background: var(--green-700);
  border-color: var(--green-700);
  color: white;
}

.nav-links .btn-nav:hover { background: rgba(255,255,255,0.25); }
.nav.scrolled .nav-links .btn-nav:hover,
.nav.solid .nav-links .btn-nav:hover { background: var(--green-800); }

.burger {
  display: none;
  border: none;
  background: none;
  cursor: pointer;
  padding: 6px;
}

.burger svg { width: 28px; height: 28px; }
.burger line { stroke: white; stroke-width: 2; stroke-linecap: round; transition: all 0.3s; }
.nav.scrolled .burger line,
.nav.solid .burger line { stroke: var(--text); }

/* HERO (homepage) */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--green-900);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(20,38,26,0.15) 0%, rgba(20,38,26,0.0) 30%, rgba(20,38,26,0.55) 100%),
    url('images/hero.png') center/cover no-repeat;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2.5rem 5rem;
  width: 100%;
  animation: heroIn 1s ease-out;
}

.hero-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green-400);
  margin-bottom: 1.25rem;
  padding: 0.4rem 1rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50px;
  backdrop-filter: blur(8px);
}

.hero h1 {
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  color: white;
  max-width: 700px;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  max-width: 520px;
  margin-bottom: 2.25rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* PAGE HERO (inner pages) */
.page-hero {
  position: relative;
  padding: 10rem 2.5rem 5rem;
  background: var(--green-900);
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 40%, rgba(56,161,105,0.22) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 60%, rgba(104,211,145,0.12) 0%, transparent 55%);
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin: 0 auto;
  animation: heroIn 0.8s ease-out;
}

.page-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1.25rem;
}

.page-hero-breadcrumb a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s;
}

.page-hero-breadcrumb a:hover { color: white; }

.page-hero .section-eyebrow {
  color: var(--green-400);
  margin-bottom: 0.85rem;
}

.page-hero h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  color: white;
  max-width: 820px;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.page-hero-lead {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  max-width: 640px;
  line-height: 1.7;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-white { background: white; color: var(--green-800); }
.btn-white:hover {
  background: var(--green-100);
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.btn-ghost {
  background: transparent;
  color: white;
  border: 1px solid rgba(255,255,255,0.3);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
}

.btn-green { background: var(--green-700); color: white; }
.btn-green:hover {
  background: var(--green-800);
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(34,84,61,0.3);
}

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

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  right: 2.5rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-scroll::after {
  content: '';
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

/* STATS BAR */
.stats-bar {
  background: var(--green-800);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.stats-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  padding: 2rem 1.5rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.06);
}

.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: 'DM Serif Display', serif;
  font-size: 2.5rem;
  color: white;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* SECTION */
.section { padding: 6rem 2.5rem; }
.section-tight { padding: 4rem 2.5rem; }

.section-inner {
  max-width: 1320px;
  margin: 0 auto;
}

.section-narrow {
  max-width: 820px;
  margin: 0 auto;
}

.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 0.75rem;
}

.section-heading {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--green-900);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.75;
}

/* CONTENT MEDIA */
.content-media {
  max-width: 1320px;
  margin: -3rem auto 0;
  padding: 0 2.5rem;
  position: relative;
  z-index: 2;
}

.content-media-inner {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(20,38,26,0.25);
  aspect-ratio: 16 / 9;
  max-height: 560px;
  margin: 0 auto;
  background: var(--sand);
}

.content-media-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.image-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 3rem 0;
}

.image-strip-item {
  border-radius: var(--radius);
  overflow: hidden;
  height: 220px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

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

.image-strip.cols-2 { grid-template-columns: 2fr 1fr; }
.image-strip.cols-2 .image-strip-item { height: 320px; }

@media (max-width: 768px) {
  .content-media { padding: 0 1.25rem; }
  .image-strip, .image-strip.cols-2 { grid-template-columns: 1fr; }
  .image-strip-item { height: 200px; }
}

/* PROSE */
.prose { font-size: 1.02rem; color: var(--text-secondary); line-height: 1.8; }
.prose > * + * { margin-top: 1.15rem; }
.prose h2 {
  font-size: 1.8rem;
  color: var(--green-900);
  margin-top: 2.75rem;
  margin-bottom: 0.25rem;
}
.prose h3 {
  font-size: 1.3rem;
  color: var(--green-900);
  margin-top: 2rem;
  margin-bottom: 0.1rem;
}
.prose p { color: var(--text-secondary); }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li { margin-bottom: 0.5rem; color: var(--text-secondary); }
.prose li::marker { color: var(--green-500); }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--green-700); }

/* INFO CARDS */
.info-section { background: var(--warm-white); }

.info-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
  gap: 2rem;
  flex-wrap: wrap;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.info-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

.info-card {
  background: white;
  border-radius: var(--radius);
  padding: 2.25rem 2rem;
  border: 1px solid rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.info-card:hover {
  border-color: var(--green-400);
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
  transform: translateY(-3px);
}

.info-card-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.info-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  color: var(--green-900);
}

.info-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  flex: 1;
  line-height: 1.7;
}

.info-card-arrow {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-700);
  transition: gap 0.2s ease;
}

.info-card:hover .info-card-arrow { gap: 0.8rem; }

/* ABOUT */
.about-section { background: var(--sand); overflow: hidden; }

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-images {
  position: relative;
  height: 520px;
}

.about-img-main {
  position: absolute;
  top: 0;
  left: 0;
  width: 75%;
  height: 85%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

.about-img-secondary {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  height: 55%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
  border: 4px solid var(--sand);
}

.about-text { max-width: 500px; }
.about-text .section-heading { margin-bottom: 1.25rem; }
.about-text p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.about-feature { display: flex; align-items: flex-start; gap: 0.75rem; }
.about-feature-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-500);
  flex-shrink: 0;
  margin-top: 0.5rem;
}
.about-feature span {
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 500;
}

/* VISUAL GRID */
.visual-section { background: var(--warm-white); }

.visual-header { text-align: center; margin-bottom: 3.5rem; }
.visual-header .section-desc { margin: 0.75rem auto 0; }

.visual-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 280px 280px;
  gap: 1rem;
}

.visual-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
}

.visual-card:nth-child(1) { grid-column: 1 / 3; grid-row: 1 / 3; }

.visual-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,38,26,0.85) 0%, rgba(20,38,26,0) 60%);
  z-index: 1;
  transition: all 0.4s ease;
}

.visual-card:hover .overlay {
  background: linear-gradient(to top, rgba(20,38,26,0.9) 0%, rgba(20,38,26,0.15) 100%);
}

.visual-card .img-placeholder,
.visual-card > img {
  position: absolute;
  inset: 0;
}

.visual-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 1.5rem;
  transform: translateY(5px);
  transition: transform 0.3s ease;
}

.visual-card:hover .visual-card-content { transform: translateY(0); }

.visual-card-content h3 {
  font-size: 1.2rem;
  color: white;
  margin-bottom: 0.25rem;
}

.visual-card:nth-child(1) .visual-card-content h3 { font-size: 1.6rem; }

.visual-card-content p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
}

.img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

.img-placeholder.green-bg { background: linear-gradient(135deg, #c6f0d4 0%, #a8ddb5 100%); }
.img-placeholder.warm-bg { background: linear-gradient(135deg, #f0e6d3 0%, #e0d3be 100%); }

/* PEOPLE GRID */
.people-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.person-card {
  background: white;
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  border: 1px solid rgba(0,0,0,0.06);
  text-align: center;
}

.person-avatar {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  background: linear-gradient(135deg, #c6f0d4, #8ab5a0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Serif Display', serif;
  font-size: 2rem;
  color: var(--green-800);
  overflow: hidden;
}

.person-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.person-name {
  font-family: 'DM Serif Display', serif;
  font-size: 1.15rem;
  color: var(--green-900);
  margin-bottom: 0.25rem;
}

.person-role {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green-600);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.person-mail {
  font-size: 0.85rem;
  color: var(--text-secondary);
  word-break: break-all;
}

.person-mail a { color: var(--green-700); text-decoration: none; }
.person-mail a:hover { text-decoration: underline; }

/* CLASSES GRID */
.class-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.class-tile {
  background: white;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: all 0.25s ease;
}

.class-tile:hover {
  border-color: var(--green-400);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.class-tile-name {
  font-family: 'DM Serif Display', serif;
  font-size: 1.8rem;
  color: var(--green-900);
  margin-bottom: 0.35rem;
}

.class-tile-teacher {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* NEWS LIST */
.news-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.news-item {
  background: white;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  display: grid;
  grid-template-columns: 160px 110px 1fr auto;
  gap: 1.5rem;
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
  overflow: hidden;
}

.news-thumb {
  width: 160px;
  height: 110px;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, #c6f0d4, #8ab5a0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Serif Display', serif;
  font-size: 2rem;
  color: var(--green-800);
  flex-shrink: 0;
}

.news-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.news-item:hover {
  border-color: var(--green-400);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.news-date {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green-600);
  font-weight: 600;
}

.news-item h3 {
  font-size: 1.3rem;
  color: var(--green-900);
  margin-bottom: 0.5rem;
}

.news-item p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.news-arrow {
  color: var(--green-700);
  font-size: 1.25rem;
}

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-box {
  background: var(--sand);
  border-radius: var(--radius);
  padding: 2.5rem;
}

.contact-box + .contact-box { margin-top: 1.5rem; }

.contact-box h3 {
  font-size: 1.3rem;
  color: var(--green-900);
  margin-bottom: 1.25rem;
}

.contact-row {
  display: flex;
  gap: 0.85rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.contact-row:last-child { border-bottom: none; }

.contact-row svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--green-700);
  margin-top: 2px;
}

.contact-row strong {
  display: block;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 0.1rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
  display: block;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  background: white;
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--green-500);
}

.contact-form textarea { min-height: 140px; resize: vertical; }

/* CTA */
.cta-section {
  background: var(--green-800);
  text-align: center;
  padding: 6rem 2.5rem;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(56,161,105,0.15) 0%, transparent 70%);
}

.cta-section .section-eyebrow { color: var(--green-400); }

.cta-section .section-heading {
  color: white;
  max-width: 600px;
  margin: 0 auto 1rem;
}

.cta-section p {
  color: rgba(255,255,255,0.6);
  font-size: 1.05rem;
  max-width: 480px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}

/* HIGHLIGHT / CALLOUT */
.callout {
  background: var(--green-50);
  border-left: 3px solid var(--green-500);
  border-radius: 10px;
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

.callout strong { color: var(--green-800); }

/* TIMETABLE (AGs) */
.timetable {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.timetable-item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: white;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius);
  align-items: center;
}

.timetable-day {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green-700);
  font-weight: 600;
}

.timetable-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--green-900);
  margin-bottom: 0.2rem;
}

.timetable-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.timetable-time {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  text-align: right;
}

/* FOOTER */
.footer {
  background: var(--green-900);
  color: rgba(255,255,255,0.6);
  padding: 4rem 2.5rem 2rem;
}

.footer-grid {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand span {
  font-family: 'DM Serif Display', serif;
  font-size: 1.3rem;
  color: white;
  display: block;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-links a:hover { color: white; }

.footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
  font-size: 0.88rem;
  line-height: 1.6;
}

.footer-contact-row svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  opacity: 0.4;
}

.footer-bottom {
  max-width: 1320px;
  margin: 0 auto;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom a:hover { color: rgba(255,255,255,0.5); }

.footer-legal { display: flex; gap: 2rem; }

/* ANIMATIONS */
@keyframes heroIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scrollLine {
  0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { opacity: 0; transform: scaleY(0); transform-origin: bottom; }
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }

.stagger > .reveal:nth-child(1) { transition-delay: 0.05s; }
.stagger > .reveal:nth-child(2) { transition-delay: 0.1s; }
.stagger > .reveal:nth-child(3) { transition-delay: 0.15s; }
.stagger > .reveal:nth-child(4) { transition-delay: 0.2s; }
.stagger > .reveal:nth-child(5) { transition-delay: 0.25s; }
.stagger > .reveal:nth-child(6) { transition-delay: 0.3s; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .visual-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 300px 240px 240px;
  }
  .visual-card:nth-child(1) { grid-column: 1 / 3; grid-row: 1 / 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .people-grid { grid-template-columns: repeat(2, 1fr); }
  .class-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .section { padding: 4.5rem 1.25rem; }
  .page-hero { padding: 8rem 1.25rem 4rem; }
  .nav-inner { padding: 1rem 1.25rem; }
  .hero-content { padding: 0 1.25rem 3.5rem; }
  .stats-inner { padding: 0; }
  .cta-section { padding: 4.5rem 1.25rem; }
  .footer { padding: 3rem 1.25rem 1.5rem; }

  .burger { display: block; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: white;
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  }

  .nav-links.open { display: flex; }
  .nav-links a { color: var(--text) !important; padding: 0.75rem 1rem; }
  .nav-links .btn-nav { background: var(--green-700) !important; color: white !important; text-align: center; margin: 0; }

  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }

  .info-grid,
  .info-grid.cols-2 { grid-template-columns: 1fr; }

  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-images { height: 350px; }

  .visual-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 280px repeat(4, 200px);
  }
  .visual-card:nth-child(1) { grid-column: 1; grid-row: 1; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .people-grid { grid-template-columns: 1fr; }
  .class-grid { grid-template-columns: repeat(2, 1fr); }

  .news-item { grid-template-columns: 1fr; gap: 0.75rem; }
  .news-thumb { width: 100%; height: 180px; }
  .news-arrow { display: none; }
  .timetable-item { grid-template-columns: 1fr; gap: 0.35rem; }
  .timetable-time { text-align: left; }

  .hero-scroll { display: none; }
}

@media (max-width: 480px) {
  .stats-inner { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .stat-item:last-child { border-bottom: none; }
}
