/* ============================================================
   KINDY SCHOOL — Feuille de style principale
   École maternelle bilingue · Nouméa, Nouvelle-Calédonie
   ============================================================ */

/* ---- Variables & Reset ---- */
:root {
  --primary:        #0D9488;
  --primary-dark:   #0A7267;
  --primary-light:  #CCFBF1;
  --secondary:      #F59E0B;
  --secondary-dark: #D97706;
  --accent:         #EC4899;
  --dark:           #1A2E3B;
  --gray:           #6B7280;
  --gray-light:     #E5E7EB;
  --light:          #F9FAFB;
  --white:          #FFFFFF;
  --font-base:      'Nunito', system-ui, -apple-system, sans-serif;
  --radius:         18px;
  --radius-lg:      32px;
  --shadow:         0 4px 24px rgba(13,148,136,.12);
  --shadow-lg:      0 8px 40px rgba(13,148,136,.18);
  --transition:     .3s ease;
  --max-w:          1200px;
}

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

html { scroll-behavior: smooth; font-size: 17px; }

body {
  font-family: var(--font-base);
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.2;
}

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: .75rem;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.75rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: .95rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: var(--primary);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn--secondary {
  background: var(--secondary);
  color: var(--dark);
}
.btn--secondary:hover {
  background: var(--secondary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

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

/* ---- Layout ---- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section--light { background: var(--light); }
.section--teal  { background: var(--primary); }
.section--dark  { background: var(--dark); }
.section--warm  { background: #FFF8F0; }

/* Eyebrow contrast on coloured backgrounds */
.section--teal .eyebrow,
.section--dark .eyebrow { color: var(--secondary); }
.menu-preview .eyebrow  { color: rgba(255,255,255,.7); }

.section__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}
.section__header h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
.section__header p  { margin-top: 1rem; color: var(--gray); font-size: 1.1rem; }

/* ---- Navigation ---- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
}

.navbar__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.navbar__logo img {
  height: 56px;
  width: auto;
  transition: height var(--transition);
}
.navbar.scrolled .navbar__logo img { height: 44px; }

.navbar__nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
}

.navbar__nav a {
  font-weight: 600;
  font-size: .95rem;
  color: var(--white);
  transition: color var(--transition);
  position: relative;
}
.navbar__nav a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--secondary);
  transition: width var(--transition);
}
.navbar__nav a:hover::after,
.navbar__nav a.active::after { width: 100%; }

.navbar.scrolled .navbar__nav a { color: var(--dark); }

.navbar__lang {
  background: rgba(255,255,255,.2);
  color: var(--white);
  border: 2px solid rgba(255,255,255,.4);
  border-radius: 50px;
  padding: .35rem .9rem;
  font-weight: 700;
  font-size: .85rem;
  cursor: pointer;
  transition: var(--transition);
}
.navbar.scrolled .navbar__lang {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary-light);
}
.navbar__lang:hover { background: var(--secondary); color: var(--dark); border-color: var(--secondary); }

.navbar__cta {
  background: var(--secondary);
  color: var(--dark) !important;
  padding: .55rem 1.2rem;
  border-radius: 50px;
  font-weight: 700;
}
.navbar__cta:hover { background: var(--secondary-dark); transform: translateY(-1px); }
.navbar__cta::after { display: none !important; }

/* Hamburger */
.navbar__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: .5rem;
  margin-left: auto;
}
.navbar__burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.navbar.scrolled .navbar__burger span { background: var(--dark); }
.navbar__burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.navbar__burger.open span:nth-child(2) { opacity: 0; }
.navbar__burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  clip-path: ellipse(130% 100% at 50% 0%);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  filter: brightness(.55);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 8rem 1.5rem 4rem;
  color: var(--white);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(245,158,11,.25);
  border: 1px solid rgba(245,158,11,.5);
  color: var(--secondary);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.hero__title {
  font-size: clamp(2.2rem, 6vw, 4rem);
  color: var(--white);
  max-width: 700px;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}

.hero__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: rgba(255,255,255,.85);
  max-width: 540px;
  margin-bottom: 2.5rem;
}

.hero__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.7);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.hero__scroll span {
  width: 1px; height: 40px;
  background: rgba(255,255,255,.4);
}

@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}

/* ---- Stats strip ---- */
.stats {
  background: var(--primary);
  padding: 2rem 0;
}

.stats__grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.stat {
  text-align: center;
  color: var(--white);
  padding: 1rem;
}

.stat__number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1;
  margin-bottom: .3rem;
}

.stat__label { font-size: .85rem; opacity: .85; }

/* ---- About ---- */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about__text h2 { font-size: clamp(1.9rem, 3.5vw, 2.5rem); margin-bottom: 1.25rem; }
.about__text p  { color: var(--gray); margin-bottom: 1rem; font-size: 1.05rem; }

.about__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  margin: 1.75rem 0;
}

.about__feat {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-weight: 600;
  font-size: .9rem;
}

.about__feat span:first-child {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.about__image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about__image-wrap img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.about__badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.about__badge-year {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.about__badge-text { font-size: .75rem; color: var(--gray); margin-top: .2rem; }

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

.value-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  border-top: 4px solid transparent;
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.value-card:nth-child(1) { border-top-color: var(--primary); }
.value-card:nth-child(2) { border-top-color: var(--secondary); }
.value-card:nth-child(3) { border-top-color: var(--accent); }
.value-card:nth-child(4) { border-top-color: var(--primary-dark); }
.value-card:nth-child(5) { border-top-color: var(--secondary-dark); }
.value-card:nth-child(6) { border-top-color: #8B5CF6; }

.value-card__icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.value-card__title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: .6rem;
}

.value-card__text { font-size: 1rem; color: var(--gray); }

/* ---- Gallery ---- */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
}

.gallery__item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.gallery__item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform .5s ease;
}

.gallery__item:hover img { transform: scale(1.05); }

.gallery__item--clickable {
  cursor: pointer;
}

.gallery__item--clickable::after {
  content: '🔍';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0);
  font-size: 2rem;
  background: rgba(0,0,0,.45);
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .25s ease, opacity .25s ease;
  opacity: 0;
  pointer-events: none;
}

.gallery__item--clickable:hover::after {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.gallery__item--large {
  grid-column: span 2;
}

.gallery__item--large img { height: 320px; }

/* ---- Menu preview ---- */
.menu-preview {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 3rem;
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
}

.menu-preview h2 { color: var(--white); font-size: 1.8rem; margin-bottom: .75rem; }
.menu-preview p  { opacity: .85; }

.menu-preview__icon { font-size: 5rem; opacity: .5; }

/* ---- CTA banner ---- */
.cta-banner {
  text-align: center;
  padding: 5rem 0;
}

.cta-banner h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--white);
  margin-bottom: 1rem;
}
.cta-banner p { color: rgba(255,255,255,.8); margin-bottom: 2rem; font-size: 1.1rem; }
.cta-banner .btn--outline { margin: 0 .5rem; }

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

.contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.contact-card__icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
}

.contact-card__title { font-weight: 700; margin-bottom: .4rem; }
.contact-card a { color: var(--primary); font-weight: 600; }
.contact-card a:hover { color: var(--primary-dark); }

/* ---- Form ---- */
.form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.form__group--full { grid-column: 1 / -1; }

.form label {
  font-weight: 600;
  font-size: .9rem;
  color: var(--dark);
}

.form input,
.form select,
.form textarea {
  padding: .8rem 1rem;
  border: 2px solid var(--gray-light);
  border-radius: var(--radius);
  font-family: var(--font-base);
  font-size: .95rem;
  color: var(--dark);
  transition: border-color var(--transition);
  outline: none;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: var(--primary);
}

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

/* ---- Menu page ---- */
.week-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.week-nav__btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background: transparent;
  color: var(--primary);
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.week-nav__btn:hover { background: var(--primary); color: var(--white); }

.week-label {
  font-weight: 700;
  font-size: 1rem;
  color: var(--dark);
  min-width: 220px;
  text-align: center;
}

.menu-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
}

.menu-table thead {
  background: var(--primary);
  color: var(--white);
}

.menu-table th,
.menu-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--gray-light);
  font-size: .9rem;
}

.menu-table th { font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; }

.menu-table tbody tr:hover { background: var(--light); }
.menu-table tbody tr:last-child td { border-bottom: none; }

.menu-table td:first-child { font-weight: 700; color: var(--primary); }

.menu-badge {
  display: inline-block;
  padding: .2rem .6rem;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 700;
}
.menu-badge--veg  { background: #D1FAE5; color: #065F46; }
.menu-badge--fish { background: #DBEAFE; color: #1E40AF; }
.menu-badge--meat { background: #FCE7F3; color: #9D174D; }

/* ---- Page hero (inner pages) ---- */
.page-hero {
  position: relative;
  height: 52vh;
  min-height: 380px;
  display: flex;
  align-items: center;
  overflow: hidden;
  clip-path: ellipse(120% 100% at 50% 0%);
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(.5);
}

.page-hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 6rem 1.5rem 2rem;
  color: var(--white);
}

.page-hero__content h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
.page-hero__content p  { font-size: 1.1rem; opacity: .85; margin-top: .75rem; }

/* ---- Pédagogie ---- */
.pedagogy-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
  border-bottom: 1px solid var(--gray-light);
}
.pedagogy-block:last-child { border-bottom: none; }
.pedagogy-block--reverse { direction: rtl; }
.pedagogy-block--reverse > * { direction: ltr; }

.pedagogy-block img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.pedagogy-block__text h3 { font-size: 1.6rem; margin-bottom: .75rem; }
.pedagogy-block__text p  { color: var(--gray); margin-bottom: 1rem; font-size: 1.05rem; }

.pedagogy-block__text ul {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-top: 1rem;
}

.pedagogy-block__text li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: 1rem;
}

.pedagogy-block__text li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: .1rem;
}

/* ---- Timeline (Notre École) ---- */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary), var(--secondary));
  border-radius: 3px;
}

.timeline-item {
  position: relative;
  padding: 0 0 2.5rem 2.5rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -6px; top: 4px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--primary);
}

.timeline-item__year {
  font-size: .8rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: .3rem;
}

.timeline-item__title { font-size: 1.15rem; font-weight: 700; margin-bottom: .4rem; }
.timeline-item__text  { font-size: 1rem; color: var(--gray); }

/* ---- Footer ---- */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.75);
  padding: 4rem 0 2rem;
}

.footer__grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
}

.footer__brand img { height: 50px; margin-bottom: 1.25rem; filter: brightness(10); }
.footer__brand p   { font-size: .9rem; max-width: 280px; line-height: 1.6; }

.footer h4 {
  color: var(--white);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.footer__links a {
  font-size: .9rem;
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--secondary); }

.footer__contact { display: flex; flex-direction: column; gap: .75rem; font-size: .9rem; }
.footer__contact-item { display: flex; align-items: flex-start; gap: .6rem; }
.footer__contact-item a { color: rgba(255,255,255,.75); }
.footer__contact-item a:hover { color: var(--secondary); }

.footer__social {
  display: flex;
  gap: .75rem;
  margin-top: 1.25rem;
}

.footer__social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  transition: background var(--transition);
}
.footer__social a:hover { background: var(--primary); }

.footer__bottom {
  max-width: var(--max-w);
  margin: 2.5rem auto 0;
  padding: 1.5rem 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .82rem;
  flex-wrap: wrap;
  gap: .5rem;
}

.footer__made-by {
  display: flex;
  align-items: center;
  gap: .5rem;
  opacity: .55;
  font-size: .8rem;
  transition: opacity var(--transition);
  color: var(--white);
  white-space: nowrap;
}
.footer__made-by:hover { opacity: 1; }
.footer__made-by img   { height: 22px; width: auto; display: inline-block; }

/* ---- Scroll animations ---- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: .1s; }
.reveal.delay-2 { transition-delay: .2s; }
.reveal.delay-3 { transition-delay: .3s; }
.reveal.delay-4 { transition-delay: .4s; }

/* ---- Lightbox ---- */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

.lightbox-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-img {
  max-width: 88vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0,0,0,.6);
  display: block;
}

.lightbox-close {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  background: rgba(255,255,255,.15);
  border: none;
  color: #fff;
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.lightbox-close:hover { background: rgba(255,255,255,.3); }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.15);
  border: none;
  color: #fff;
  width: 52px; height: 52px;
  border-radius: 50%;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.lightbox-nav:hover { background: rgba(255,255,255,.3); }
.lightbox-prev { left: 1.25rem; }
.lightbox-next { right: 1.25rem; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .stats__grid      { grid-template-columns: repeat(2, 1fr); }
  .values__grid     { grid-template-columns: repeat(2, 1fr); }
  .footer__grid     { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .about__grid      { gap: 2.5rem; }
  .contact-grid     { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }

  .navbar__nav { display: none; }
  .navbar__burger { display: flex; }

  /* Mobile nav drawer */
  .navbar__nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(320px, 85vw);
    background: var(--white);
    padding: 6rem 2rem 2rem;
    box-shadow: -4px 0 30px rgba(0,0,0,.15);
    z-index: 999;
    gap: .5rem;
  }
  .navbar__nav.open a { color: var(--dark) !important; font-size: 1.1rem; padding: .6rem 0; border-bottom: 1px solid var(--gray-light); }
  .navbar__nav.open .navbar__cta { border-bottom: none; margin-top: 1rem; text-align: center; justify-content: center; }
  .navbar__nav.open .navbar__lang { align-self: flex-start; margin-top: .5rem; color: var(--primary); border-color: var(--primary-light); background: var(--primary-light); }

  .hero__btns { flex-direction: column; }
  .hero__btns .btn { width: fit-content; }

  .stats__grid      { grid-template-columns: repeat(2, 1fr); }
  .about__grid      { grid-template-columns: 1fr; }
  .about__image-wrap img { height: 320px; }
  .values__grid     { grid-template-columns: 1fr; }
  .gallery__grid    { grid-template-columns: 1fr 1fr; }
  .gallery__item--large { grid-column: span 2; }
  .menu-preview     { grid-template-columns: 1fr; text-align: center; }
  .menu-preview__icon { display: none; }
  .contact-grid     { grid-template-columns: 1fr; }
  .form__grid       { grid-template-columns: 1fr; }
  .footer__grid     { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom   { flex-direction: column; text-align: center; }
  .pedagogy-block   { grid-template-columns: 1fr; gap: 2rem; }
  .pedagogy-block--reverse { direction: ltr; }
  .about__features  { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .gallery__grid { grid-template-columns: 1fr; }
  .gallery__item--large { grid-column: span 1; }
  .gallery__item img, .gallery__item--large img { height: 240px; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .menu-table { font-size: .8rem; }
  .menu-table th, .menu-table td { padding: .7rem .75rem; }
}
