/* ==========================================================================
   Groupe Scolaire Lamine Keita — Stylesheet
   ========================================================================== */

:root{
  /* Palette calibrée sur les couleurs réelles de l'école :
     bleu des murs du bâtiment + logo officiel, rouge de la porte/portail */
  --navy-900:#071b33;
  --navy-800:#0b3568;
  --navy-700:#0e4bad;
  --navy-600:#1170c4;
  --blue-500:#2c8ad9;
  --gold-500:#fdba1c;
  --gold-600:#e2a30a;
  --red-600:#d40709;
  --red-700:#a80507;
  --green-600:#1f8a4c;

  --ink-900:#101828;
  --ink-700:#344054;
  --ink-500:#667085;
  --ink-300:#d0d5dd;
  --ink-100:#f1f4f8;
  --white:#ffffff;

  --font-head:'Poppins', 'Segoe UI', sans-serif;
  --font-body:'Plus Jakarta Sans', 'Segoe UI', sans-serif;

  --radius-sm:10px;
  --radius-md:18px;
  --radius-lg:28px;

  --shadow-sm:0 2px 10px rgba(8,28,51,.06);
  --shadow-md:0 14px 34px rgba(8,28,51,.12);
  --shadow-lg:0 26px 60px rgba(8,28,51,.20);

  --ease:cubic-bezier(.22,1,.36,1);
  --header-h:82px;
}

/* ---------- Reset ---------- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;scroll-padding-top:var(--header-h);}
body{
  font-family:var(--font-body);
  color:var(--ink-700);
  background:var(--white);
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
ul{list-style:none;}
button{font:inherit;background:none;border:none;cursor:pointer;color:inherit;}
input,textarea,select{font:inherit;}
svg{width:1em;height:1em;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
h1,h2,h3,h4{font-family:var(--font-head);color:var(--navy-900);line-height:1.18;font-weight:700;}

.container{
  width:100%;
  max-width:1220px;
  margin:0 auto;
  padding:0 24px;
}

.text-accent{color:var(--gold-500);}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:14px 28px;
  border-radius:100px;
  font-weight:600;
  font-size:.95rem;
  transition:transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  white-space:nowrap;
}
.btn--primary{
  background:linear-gradient(135deg,var(--gold-500),var(--gold-600));
  color:var(--navy-900);
  box-shadow:0 10px 24px rgba(253,186,28,.35);
}
.btn--primary:hover{transform:translateY(-3px);box-shadow:0 16px 32px rgba(253,186,28,.45);}
.btn--ghost{
  background:rgba(255,255,255,.08);
  color:var(--white);
  border:1.5px solid rgba(255,255,255,.55);
  backdrop-filter:blur(6px);
}
.btn--ghost:hover{background:rgba(255,255,255,.18);transform:translateY(-3px);}
.btn--sm{padding:10px 20px;font-size:.85rem;}
.btn--lg{padding:16px 34px;font-size:1rem;}
.btn--block{width:100%;}

/* ---------- Reveal animation ---------- */
.reveal{
  opacity:0;
  transform:translateY(28px);
  transition:opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay:var(--delay,0ms);
  will-change:transform,opacity;
}
.reveal.is-visible{opacity:1;transform:translateY(0);}

/* ---------- Preloader ---------- */
.preloader{
  position:fixed;inset:0;z-index:9999;
  background:var(--navy-900);
  display:flex;align-items:center;justify-content:center;
  transition:opacity .6s var(--ease), visibility .6s var(--ease);
}
.preloader.is-hidden{opacity:0;visibility:hidden;pointer-events:none;}
.preloader__mark{position:relative;width:100px;height:100px;display:flex;align-items:center;justify-content:center;}
.preloader__ring{
  position:absolute;inset:0;
  border:3px solid rgba(253,186,28,.18);
  border-top-color:var(--gold-500);
  border-radius:50%;
  animation:spin 1s linear infinite;
}
.preloader__logo{
  width:64px;height:64px;object-fit:contain;
  animation:pulseLogo 1.6s ease-in-out infinite;
}
@keyframes pulseLogo{0%,100%{transform:scale(1);opacity:1;}50%{transform:scale(.92);opacity:.75;}}
@keyframes spin{to{transform:rotate(360deg);}}

/* ---------- Scroll progress ---------- */
.scroll-progress{
  position:fixed;top:0;left:0;height:3px;
  background:linear-gradient(90deg,var(--gold-500),var(--red-600));
  width:0%;
  z-index:1001;
  transition:width .1s linear;
}

/* ---------- Header ---------- */
.site-header{
  position:fixed;top:0;left:0;right:0;z-index:900;
  height:var(--header-h);
  display:flex;align-items:center;
  transition:background .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease);
}
.site-header::before{
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(8,28,51,.55),rgba(8,28,51,0));
  opacity:1;transition:opacity .4s var(--ease);
  z-index:-1;
}
.site-header.is-scrolled{
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(14px);
  box-shadow:var(--shadow-sm);
  height:70px;
}
.site-header.is-scrolled::before{opacity:0;}

.site-header__inner{display:flex;align-items:center;justify-content:space-between;gap:24px;}

.brand{display:flex;align-items:center;gap:12px;}
.brand__mark{
  width:50px;height:50px;
  object-fit:contain;
  flex-shrink:0;
  filter:drop-shadow(0 4px 10px rgba(7,27,51,.35));
  transition:transform .4s var(--ease);
}
.brand:hover .brand__mark{transform:scale(1.06) rotate(-3deg);}
.brand__text{display:flex;flex-direction:column;line-height:1.15;color:var(--white);transition:color .4s var(--ease);}
.brand__text strong{font-family:var(--font-head);font-size:1.05rem;font-weight:700;}
.brand__text em{font-style:normal;font-size:.72rem;letter-spacing:.06em;text-transform:uppercase;opacity:.8;}
.site-header.is-scrolled .brand__text{color:var(--navy-900);}
.brand--light{}
.brand--light .brand__text{color:var(--white);}

.nav{display:flex;align-items:center;gap:32px;}
.nav__list{display:flex;align-items:center;gap:28px;}
.nav__link{
  position:relative;
  font-weight:600;font-size:.94rem;
  color:var(--white);
  padding:6px 0;
  transition:color .3s var(--ease);
}
.nav__link::after{
  content:"";position:absolute;left:0;bottom:0;height:2px;width:0;
  background:var(--gold-500);
  transition:width .35s var(--ease);
}
.nav__link:hover,.nav__link.active{color:var(--gold-500);}
.nav__link:hover::after,.nav__link.active::after{width:100%;}
.site-header.is-scrolled .nav__link{color:var(--navy-900);}
.site-header.is-scrolled .nav__link:hover,
.site-header.is-scrolled .nav__link.active{color:var(--navy-700);}
.site-header.is-scrolled .nav__link::after{background:var(--navy-700);}

.nav__cta{flex-shrink:0;}

.burger{
  display:none;
  width:44px;height:44px;border-radius:12px;
  align-items:center;justify-content:center;flex-direction:column;gap:5px;
  background:rgba(255,255,255,.12);
}
.burger span{
  display:block;width:22px;height:2px;background:var(--white);
  transition:transform .35s var(--ease), opacity .35s var(--ease), background .35s var(--ease);
}
.site-header.is-scrolled .burger{background:rgba(12,62,120,.08);}
.site-header.is-scrolled .burger span{background:var(--navy-900);}
.burger.is-active span:nth-child(1){transform:translateY(7px) rotate(45deg);}
.burger.is-active span:nth-child(2){opacity:0;}
.burger.is-active span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}

/* ---------- Hero ---------- */
.hero{
  position:relative;
  min-height:100vh;
  display:flex;align-items:center;
  overflow:hidden;
  isolation:isolate;
}
.hero__bg{position:absolute;inset:0;z-index:-2;}
.hero__bg img{width:100%;height:100%;object-fit:cover;transform:scale(1.08);animation:heroZoom 18s ease-out forwards;}
@keyframes heroZoom{to{transform:scale(1);}}
.hero__overlay{
  position:absolute;inset:0;
  background:
    linear-gradient(180deg, rgba(8,20,38,.72) 0%, rgba(8,28,51,.55) 45%, rgba(6,18,36,.88) 100%);
}

.hero__shapes{position:absolute;inset:0;z-index:-1;pointer-events:none;}
.shape{position:absolute;border-radius:50%;filter:blur(4px);opacity:.5;}
.shape--1{width:340px;height:340px;background:radial-gradient(circle,rgba(253,186,28,.35),transparent 70%);top:-80px;right:-60px;animation:float1 12s ease-in-out infinite;}
.shape--2{width:220px;height:220px;background:radial-gradient(circle,rgba(212,7,9,.3),transparent 70%);bottom:60px;left:-60px;animation:float2 14s ease-in-out infinite;}
.shape--3{width:160px;height:160px;background:radial-gradient(circle,rgba(31,138,76,.28),transparent 70%);bottom:20%;right:12%;animation:float1 16s ease-in-out infinite reverse;}
@keyframes float1{0%,100%{transform:translate(0,0);}50%{transform:translate(-20px,30px);}}
@keyframes float2{0%,100%{transform:translate(0,0);}50%{transform:translate(24px,-24px);}}

.hero__content{position:relative;padding-top:var(--header-h);padding-bottom:80px;color:var(--white);}
.eyebrow{
  display:inline-block;
  font-weight:700;font-size:.8rem;letter-spacing:.14em;text-transform:uppercase;
  color:var(--gold-500);
  margin-bottom:14px;
}
.hero__title{
  font-size:clamp(2.4rem,5.6vw,4.4rem);
  color:var(--white);
  max-width:820px;
  margin-bottom:22px;
}
.hero__tagline{
  max-width:600px;
  font-size:clamp(1rem,1.6vw,1.15rem);
  color:rgba(255,255,255,.86);
  margin-bottom:36px;
}
.hero__cta{display:flex;flex-wrap:wrap;gap:16px;margin-bottom:44px;}
.hero__badges{display:flex;flex-wrap:wrap;gap:14px 28px;}
.hero__badges li{
  display:flex;align-items:center;gap:9px;
  font-weight:600;font-size:.88rem;color:rgba(255,255,255,.85);
}
.hero__badges .dot{width:8px;height:8px;border-radius:50%;background:var(--gold-500);box-shadow:0 0 0 4px rgba(253,186,28,.22);}

.hero__scroll{
  position:absolute;left:50%;bottom:32px;transform:translateX(-50%);
  width:28px;height:44px;border:2px solid rgba(255,255,255,.55);border-radius:20px;
  display:flex;justify-content:center;padding-top:8px;
}
.hero__scroll span{width:4px;height:8px;border-radius:2px;background:var(--gold-500);animation:scrollDot 1.8s ease-in-out infinite;}
@keyframes scrollDot{0%{transform:translateY(0);opacity:1;}70%{opacity:0;}100%{transform:translateY(14px);opacity:0;}}

/* ---------- Stats ---------- */
.stats{
  background:linear-gradient(135deg,var(--navy-800),var(--navy-900));
  padding:56px 0;
  position:relative;
  margin-top:-2px;
}
.stats__grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px;
}
.stat{text-align:center;color:var(--white);}
.stat__num{
  display:block;
  font-family:var(--font-head);font-weight:800;
  font-size:clamp(1.8rem,4vw,2.6rem);
  color:var(--gold-500);
}
.stat__label{font-size:.86rem;color:rgba(255,255,255,.78);font-weight:500;}

/* ---------- Section commons ---------- */
section{padding:110px 0;}
.section-head{max-width:680px;margin:0 auto 60px;text-align:center;}
.section-title{font-size:clamp(1.8rem,3.4vw,2.5rem);margin-bottom:16px;}
.section-sub{color:var(--ink-500);font-size:1.02rem;}

/* ---------- About ---------- */
.about{background:var(--ink-100);}
.about__grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:64px;
  align-items:center;
}
.about__media{position:relative;border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-lg);}
.about__media img{width:100%;height:520px;object-fit:cover;transition:transform .7s var(--ease);}
.about__media:hover img{transform:scale(1.05);}
.about__media-card{
  position:absolute;left:22px;bottom:22px;right:22px;
  background:rgba(8,28,51,.82);
  backdrop-filter:blur(10px);
  color:var(--white);
  border-radius:var(--radius-md);
  padding:20px 22px;
  display:flex;flex-direction:column;gap:6px;
}
.about__media-card-num{font-family:var(--font-head);font-weight:800;color:var(--gold-500);font-size:1.15rem;}
.about__media-card span:last-child{font-size:.86rem;color:rgba(255,255,255,.85);}

.about__text p{margin-bottom:22px;color:var(--ink-700);}
.check-list{display:flex;flex-direction:column;gap:16px;margin-bottom:32px;}
.check-list li{display:flex;align-items:flex-start;gap:14px;font-weight:600;color:var(--navy-900);font-size:.98rem;}
.check-list__icon{
  flex-shrink:0;width:26px;height:26px;border-radius:50%;
  background:linear-gradient(135deg,var(--gold-500),var(--gold-600));
  color:var(--navy-900);
  display:flex;align-items:center;justify-content:center;
}
.check-list__icon svg{width:14px;height:14px;stroke-width:3;}

/* ---------- Cycles ---------- */
.cycles__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:26px;}
.cycle-card{
  background:var(--white);
  border-radius:var(--radius-md);
  padding:34px 26px;
  box-shadow:var(--shadow-sm);
  border:1px solid var(--ink-300);
  position:relative;
  overflow:hidden;
  transition:transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.cycle-card::before{
  content:"";position:absolute;inset:0;
  background:linear-gradient(160deg,var(--navy-800),var(--navy-700));
  opacity:0;transition:opacity .5s var(--ease);
  z-index:0;
}
.cycle-card:hover{transform:translateY(-10px);box-shadow:var(--shadow-lg);border-color:transparent;}
.cycle-card:hover::before{opacity:1;}
.cycle-card > *{position:relative;z-index:1;}
.cycle-card__icon{
  width:56px;height:56px;border-radius:16px;
  background:linear-gradient(135deg,rgba(12,62,120,.09),rgba(12,62,120,.03));
  color:var(--navy-800);
  display:flex;align-items:center;justify-content:center;
  margin-bottom:20px;
  transition:background .5s var(--ease), color .5s var(--ease);
}
.cycle-card__icon svg{width:26px;height:26px;}
.cycle-card:hover .cycle-card__icon{background:rgba(253,186,28,.18);color:var(--gold-500);}
.cycle-card__tag{
  display:inline-block;font-size:.72rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;
  color:var(--gold-600);
  background:rgba(253,186,28,.14);
  padding:4px 10px;border-radius:100px;
  margin-bottom:14px;
  transition:color .5s var(--ease), background .5s var(--ease);
}
.cycle-card:hover .cycle-card__tag{color:var(--gold-500);background:rgba(255,255,255,.12);}
.cycle-card h3{font-size:1.28rem;margin-bottom:10px;transition:color .5s var(--ease);}
.cycle-card:hover h3{color:var(--white);}
.cycle-card p{font-size:.92rem;color:var(--ink-500);transition:color .5s var(--ease);}
.cycle-card:hover p{color:rgba(255,255,255,.82);}

/* ---------- Features ---------- */
.features{background:var(--ink-100);}
.features__grid{
  display:grid;
  grid-template-columns:.9fr 1fr 1fr;
  gap:36px 40px;
}
.features__intro{grid-row:span 2;}
.feature{
  background:var(--white);
  border-radius:var(--radius-md);
  padding:30px 26px;
  box-shadow:var(--shadow-sm);
  transition:transform .45s var(--ease), box-shadow .45s var(--ease);
}
.feature:hover{transform:translateY(-6px);box-shadow:var(--shadow-md);}
.feature__icon{
  width:50px;height:50px;border-radius:14px;
  background:linear-gradient(135deg,var(--navy-800),var(--navy-600));
  color:var(--gold-500);
  display:flex;align-items:center;justify-content:center;
  margin-bottom:18px;
}
.feature__icon svg{width:24px;height:24px;}
.feature h3{font-size:1.08rem;margin-bottom:8px;}
.feature p{font-size:.9rem;color:var(--ink-500);}

/* ---------- Quote band ---------- */
.quote-band{
  padding:70px 0;
  background:linear-gradient(135deg,var(--navy-900),var(--navy-800));
  position:relative;
}
.quote-band__inner{text-align:center;max-width:760px;margin:0 auto;color:var(--white);}
.quote-band__mark{width:38px;height:38px;color:var(--gold-500);margin-bottom:18px;}
.quote-band__inner p{font-family:var(--font-head);font-weight:600;font-size:clamp(1.2rem,2.4vw,1.6rem);line-height:1.5;margin-bottom:14px;}
.quote-band__inner span{color:var(--gold-500);font-weight:600;font-size:.9rem;letter-spacing:.03em;}

/* ---------- Gallery ---------- */
.gallery__filters{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;margin-bottom:44px;}
.chip{
  padding:10px 22px;border-radius:100px;
  background:var(--ink-100);
  color:var(--ink-700);
  font-weight:600;font-size:.88rem;
  border:1px solid transparent;
  transition:background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.chip:hover{border-color:var(--navy-700);color:var(--navy-800);}
.chip.is-active{background:var(--navy-800);color:var(--white);}

.gallery__grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}
.gallery__item{
  position:relative;
  border-radius:var(--radius-md);
  overflow:hidden;
  cursor:pointer;
  aspect-ratio:4/3.3;
  box-shadow:var(--shadow-sm);
  transition:transform .5s var(--ease), opacity .4s var(--ease), box-shadow .5s var(--ease);
}
.gallery__item.is-hidden{display:none;}
.gallery__item img{width:100%;height:100%;object-fit:cover;transition:transform .7s var(--ease);}
.gallery__item::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(8,28,51,0) 40%,rgba(8,28,51,.85) 100%);
  opacity:0;transition:opacity .4s var(--ease);
}
.gallery__item figcaption{
  position:absolute;left:16px;bottom:14px;right:16px;
  color:var(--white);font-weight:600;font-size:.92rem;
  opacity:0;transform:translateY(10px);
  transition:opacity .4s var(--ease), transform .4s var(--ease);
  z-index:1;
}
.gallery__item:hover{transform:translateY(-6px);box-shadow:var(--shadow-lg);}
.gallery__item:hover img{transform:scale(1.1);}
.gallery__item:hover::after,.gallery__item:hover figcaption{opacity:1;transform:translateY(0);}

/* ---------- Lightbox ---------- */
.lightbox{
  position:fixed;inset:0;z-index:1100;
  background:rgba(6,14,26,.94);
  display:flex;align-items:center;justify-content:center;
  opacity:0;visibility:hidden;
  transition:opacity .4s var(--ease), visibility .4s var(--ease);
  padding:40px;
}
.lightbox.is-open{opacity:1;visibility:visible;}
.lightbox__figure{max-width:min(90vw,980px);max-height:82vh;text-align:center;}
.lightbox__figure img{
  max-width:100%;max-height:72vh;border-radius:14px;
  box-shadow:0 30px 80px rgba(0,0,0,.5);
  transform:scale(.94);
  transition:transform .4s var(--ease);
}
.lightbox.is-open .lightbox__figure img{transform:scale(1);}
.lightbox__figure figcaption{color:rgba(255,255,255,.85);margin-top:18px;font-weight:600;}
.lightbox__close{
  position:absolute;top:24px;right:28px;
  width:46px;height:46px;border-radius:50%;
  background:rgba(255,255,255,.1);color:var(--white);
  font-size:1.6rem;line-height:1;
  display:flex;align-items:center;justify-content:center;
  transition:background .3s var(--ease), transform .3s var(--ease);
}
.lightbox__close:hover{background:rgba(255,255,255,.22);transform:rotate(90deg);}
.lightbox__nav{
  position:absolute;top:50%;transform:translateY(-50%);
  width:52px;height:52px;border-radius:50%;
  background:rgba(255,255,255,.1);color:var(--white);
  font-size:1.8rem;display:flex;align-items:center;justify-content:center;
  transition:background .3s var(--ease);
}
.lightbox__nav:hover{background:rgba(255,255,255,.22);}
.lightbox__nav--prev{left:28px;}
.lightbox__nav--next{right:28px;}

/* ---------- Contact ---------- */
.contact{background:var(--ink-100);}
.contact__grid{display:grid;grid-template-columns:1.05fr .95fr;gap:60px;align-items:start;}
.contact__info .eyebrow{margin-bottom:14px;}
.contact__info .section-title{margin-bottom:18px;}
.contact__info .section-sub{margin-bottom:34px;}
.contact__list{display:flex;flex-direction:column;gap:22px;margin-bottom:34px;}
.contact__list li{display:flex;align-items:flex-start;gap:16px;}
.contact__icon{
  flex-shrink:0;width:46px;height:46px;border-radius:14px;
  background:linear-gradient(135deg,var(--navy-800),var(--navy-600));
  color:var(--gold-500);
  display:flex;align-items:center;justify-content:center;
}
.contact__icon svg{width:20px;height:20px;}
.contact__list strong{display:block;color:var(--navy-900);font-size:.92rem;margin-bottom:3px;}
.contact__list span{color:var(--ink-500);font-size:.92rem;}
.contact__list a:hover{color:var(--navy-700);text-decoration:underline;}
.contact__map{border-radius:var(--radius-md);overflow:hidden;box-shadow:var(--shadow-sm);height:260px;}
.contact__map iframe{width:100%;height:100%;border:0;}

.contact__form{
  background:var(--white);
  border-radius:var(--radius-lg);
  padding:40px;
  box-shadow:var(--shadow-md);
}
.contact__form h3{font-size:1.3rem;margin-bottom:24px;}
.form-row{margin-bottom:18px;display:flex;flex-direction:column;gap:8px;}
.form-row--split{display:grid;grid-template-columns:1fr 1fr;gap:16px;}
.form-row--split > div{display:flex;flex-direction:column;gap:8px;}
.form-row label{font-size:.84rem;font-weight:700;color:var(--navy-900);}
.form-row input,.form-row select,.form-row textarea{
  border:1.5px solid var(--ink-300);
  border-radius:12px;
  padding:13px 16px;
  font-size:.94rem;
  color:var(--ink-900);
  background:var(--white);
  transition:border-color .3s var(--ease), box-shadow .3s var(--ease);
  resize:vertical;
}
.form-row input:focus,.form-row select:focus,.form-row textarea:focus{
  outline:none;border-color:var(--navy-700);box-shadow:0 0 0 4px rgba(18,74,140,.12);
}
.form-note{text-align:center;font-size:.8rem;color:var(--ink-500);margin-top:14px;}

/* ---------- Footer ---------- */
.site-footer{background:var(--navy-900);color:rgba(255,255,255,.8);padding-top:80px;}
.site-footer__top{
  display:grid;
  grid-template-columns:1.5fr 1fr 1fr 1fr;
  gap:40px;
  padding-bottom:56px;
  border-bottom:1px solid rgba(255,255,255,.1);
}
.footer-brand p{margin-top:18px;font-size:.9rem;line-height:1.7;color:rgba(255,255,255,.6);max-width:320px;}
.footer-col h4{color:var(--white);font-size:.95rem;margin-bottom:18px;letter-spacing:.02em;}
.footer-col ul{display:flex;flex-direction:column;gap:12px;font-size:.9rem;}
.footer-col a{color:rgba(255,255,255,.65);transition:color .3s var(--ease);}
.footer-col a:hover{color:var(--gold-500);}

.site-footer__bottom{
  display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;
  padding:26px 0;
  font-size:.82rem;
  color:rgba(255,255,255,.5);
}

/* ---------- Back to top ---------- */
.back-to-top{
  position:fixed;right:26px;bottom:26px;z-index:800;
  width:50px;height:50px;border-radius:50%;
  background:linear-gradient(135deg,var(--gold-500),var(--gold-600));
  color:var(--navy-900);
  display:flex;align-items:center;justify-content:center;
  box-shadow:var(--shadow-md);
  opacity:0;visibility:hidden;transform:translateY(14px);
  transition:opacity .4s var(--ease), transform .4s var(--ease), visibility .4s var(--ease);
}
.back-to-top.is-visible{opacity:1;visibility:visible;transform:translateY(0);}
.back-to-top svg{width:20px;height:20px;stroke-width:2.4;}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width:1080px){
  .cycles__grid{grid-template-columns:repeat(2,1fr);}
  .features__grid{grid-template-columns:1fr 1fr;}
  .features__intro{grid-row:auto;grid-column:span 2;}
  .gallery__grid{grid-template-columns:repeat(3,1fr);}
  .about__grid{gap:44px;}
}

@media (max-width:900px){
  .nav{
    position:fixed;top:0;right:0;height:100vh;width:min(340px,84vw);
    background:var(--white);
    flex-direction:column;align-items:flex-start;
    padding:110px 32px 40px;
    gap:36px;
    box-shadow:-20px 0 50px rgba(8,28,51,.18);
    transform:translateX(100%);
    transition:transform .5s var(--ease);
    z-index:950;
  }
  .nav.is-open{transform:translateX(0);}
  .nav__list{flex-direction:column;align-items:flex-start;gap:22px;width:100%;}
  .nav__link{color:var(--navy-900) !important;font-size:1.05rem;}
  .nav__link::after{background:var(--gold-500) !important;}
  .nav__cta{width:100%;text-align:center;}
  .burger{display:flex;}

  .about__grid,.contact__grid{grid-template-columns:1fr;}
  .about__media img{height:380px;}
  .stats__grid{grid-template-columns:repeat(2,1fr);gap:34px;}
  .features__grid{grid-template-columns:1fr;}
  .features__intro{grid-column:auto;}
  .gallery__grid{grid-template-columns:repeat(2,1fr);}
  .site-footer__top{grid-template-columns:1fr 1fr;}
}

@media (max-width:600px){
  section{padding:76px 0;}
  .hero__cta{flex-direction:column;align-items:stretch;}
  .hero__cta .btn{width:100%;}
  .cycles__grid{grid-template-columns:1fr;}
  .gallery__grid{grid-template-columns:1fr 1fr;}
  .form-row--split{grid-template-columns:1fr;}
  .site-footer__top{grid-template-columns:1fr;}
  .site-footer__bottom{flex-direction:column;text-align:center;}
  .contact__form{padding:28px 22px;}
  .lightbox{padding:20px;}
  .lightbox__nav{width:42px;height:42px;font-size:1.4rem;}
  .lightbox__nav--prev{left:8px;}
  .lightbox__nav--next{right:8px;}
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  *,*::before,*::after{animation-duration:.001ms !important;animation-iteration-count:1 !important;transition-duration:.001ms !important;}
}
