/* =========================
   RESET + BASE
   ========================= */
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
:root{
  --bg:#07080d;
  --panel:rgba(255,255,255,.04);
  --panel2:rgba(255,255,255,.06);
  --stroke:rgba(255,255,255,.10);

  --text:rgba(255,255,255,.92);
  --muted:rgba(255,255,255,.62);

  --cyan:#22d3ee;
  --green:#34d399;
  --purple:#a78bfa;
}

body{
  font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
  overflow-x:hidden;
  padding-top:76px; /* compense le header fixed */
}

.container{width:min(1120px,92%);margin-inline:auto}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}
.muted{color:var(--muted)}
.center{display:flex;justify-content:center}
.mt-18{margin-top:18px}

/* =========================
   BACKGROUND
   ========================= */
.bg{position:fixed;inset:0;z-index:-1;pointer-events:none}
.bg-grid{
  position:absolute;inset:0;
  background:
    linear-gradient(to right, rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size:72px 72px;
  opacity:.12;
  mask-image:radial-gradient(circle at 50% 20%, black 0%, black 35%, transparent 70%);
}
.orb{
  position:absolute;
  width:520px;height:520px;
  border-radius:999px;
  filter:blur(60px);
  opacity:.35;
}
.orb-1{
  background:radial-gradient(circle at 30% 30%, var(--green), transparent 60%);
  left:-120px;top:120px;
}
.orb-2{
  background:radial-gradient(circle at 60% 40%, var(--purple), transparent 60%);
  right:-140px;top:220px;
}
.orb-3{
  background:radial-gradient(circle at 40% 40%, var(--cyan), transparent 60%);
  left:20%;bottom:-240px;
}

/* =========================
   HEADER
   ========================= */
.header{
  position:fixed;top:0;left:0;width:100%;
  z-index:9999;
  background:rgba(7,8,13,.65);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.header-container{
  display:flex;align-items:center;justify-content:space-between;
  gap:16px;padding:16px 0;
}
.brand{
  display:inline-flex;align-items:center;gap:10px;
  min-width:210px;
}
.logo{width:36px;height:36px;object-fit:contain}
.brand-name{
  font-weight:800;letter-spacing:.6px;font-size:13px;
  white-space:nowrap;
}
.accent{color:var(--cyan)}

.nav{
  display:flex;gap:18px;justify-content:center;flex:1;
}
.nav-link{
  color:rgba(255,255,255,.70);
  font-size:13px;
  padding:8px 10px;border-radius:10px;
  transition:.2s ease;
}
.nav-link:hover{
  color:rgba(255,255,255,.95);
  background:rgba(255,255,255,.05);
}
.nav-link.is-active{color:var(--cyan)}

.header-actions{
  display:flex;align-items:center;gap:10px;
  min-width:210px;justify-content:flex-end;
}

.chip{
  display:inline-flex;align-items:center;gap:8px;
  padding:9px 12px;border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.03);
  color:rgba(255,255,255,.78);
  cursor:pointer;
}
.chip-dot{
  width:8px;height:8px;border-radius:999px;
  background:var(--cyan);
  box-shadow:0 0 14px rgba(34,211,238,.55);
}

/* =========================
   BUTTONS
   ========================= */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  padding:15px 22px;border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
  color:rgba(255,255,255,.92);
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
  font-weight:650;
}
.btn:hover{transform:translateY(-1px);background:rgba(255,255,255,.06)}
.btn:active{transform:translateY(0)}

.btn-primary{
  border:1px solid rgba(34,211,238,.30);
  background:
    radial-gradient(80% 120% at 30% 20%, rgba(34,211,238,.35), transparent 60%),
    linear-gradient(135deg, rgba(34,211,238,.30), rgba(52,211,153,.22));
  box-shadow:0 10px 30px rgba(34,211,238,.14);
}
.btn-primary:hover{box-shadow:0 14px 38px rgba(34,211,238,.20)}
.btn-ghost{background:rgba(255,255,255,.02)}
.btn-small{padding:11px 16px;border-radius:10px;font-size:13px}
.btn-arrow{opacity:.9}

.hero-cta{
  display:flex;justify-content:center;flex-wrap:wrap;
  gap:18px;margin-top:14px;
}

/* =========================
   TEXT HELPERS
   ========================= */
.grad{
  background:linear-gradient(90deg, var(--cyan), var(--green), var(--purple));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

/* =========================
   HERO (INDEX)
   ========================= */
.hero{padding:40px 0 80px}
.hero-container{text-align:center}

.hero-badge{
  display:inline-flex;align-items:center;gap:10px;
  padding:10px 14px;border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.03);
  color:rgba(255,255,255,.78);
  font-size:12px;
  letter-spacing:.6px;
  text-transform:uppercase;
  margin-bottom:12px;
}
.badge-icon{
  width:28px;height:28px;border-radius:999px;
  display:inline-flex;align-items:center;justify-content:center;
  color:var(--green);
  background:rgba(52,211,153,.12);
  border:1px solid rgba(52,211,153,.22);
}

.hero-title{
  font-size:clamp(56px,6.5vw,80px);
  line-height:1.05;
  letter-spacing:-1.4px;
  margin-bottom:20px;
}
.hero-title-line{display:inline-block;white-space:nowrap}

.hero-subtitle{
  font-size:18px;line-height:1.8;
  max-width:820px;margin:0 auto 48px;
  color:rgba(255,255,255,.75);
}

/* 2 colonnes dans le HERO index (comme tu avais) */
.hero-two-cols{
  display:grid;
  grid-template-columns:1.05fr 0.95fr;
  gap:48px;
  align-items:center;
  margin-top:72px;
}

.hero-two-cols h2{
  font-size:clamp(34px,3.6vw,44px);
  line-height:1.15;
  font-weight:650;
  letter-spacing:-.6px;
  max-width:520px;
}
.hero-two-cols .grad{font-weight:750}

.hero-two-cols .glass{
  padding:34px;
  border-radius:22px;
  max-width:520px;
  justify-self:end;

  border:1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(120% 140% at 10% 10%, rgba(34,211,238,.08), transparent 55%),
    rgba(255,255,255,.03);
}

/* Texte carte */
.hero-two-cols .glass p{
  text-align:justify;
  text-align-last:left;
  word-break:keep-all;
  overflow-wrap:normal;
  white-space:normal;
  hyphens:none !important;
  -webkit-hyphens:none !important;
  -ms-hyphens:none !important;
}

/* Bouton */
.hero-two-cols .glass .btn{margin-top:18px}

/* =========================
   SECTIONS
   ========================= */
.section{padding:78px 0}
.section-head{text-align:center;margin-bottom:30px}
.section-title{
  font-size:clamp(24px,3.2vw,36px);
  letter-spacing:-.35px;
  line-height:1.15;
}
.section-subtitle{
  margin-top:12px;
  color:rgba(255,255,255,.66);
  font-size:14px;
  line-height:1.7;
}

/* =========================
   SERVICES ACCORDION
   ========================= */
.services-list{
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.02);
  overflow:hidden;
}

.service-row{
  width:100%;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  padding:18px;
  border:0;
  border-top:1px solid rgba(255,255,255,.06);
  background:transparent;
  color:rgba(255,255,255,.82);
  cursor:pointer;
  text-align:left;
  transition:background .18s ease, color .18s ease;
}
.service-row:first-child{border-top:none}
.service-row:hover{
  background:rgba(255,255,255,.04);
  color:rgba(255,255,255,.95);
}
.service-row > span:first-child{
  flex:1;
  min-width:0;
  line-height:1.35;
}

.row-icon{
  width:38px;height:38px;
  flex:0 0 38px;
  display:inline-flex;align-items:center;justify-content:center;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.22);
  transition:transform .25s ease;
}
.service-row[aria-expanded="true"] .row-icon{transform:rotate(90deg)}

.service-panel{
  padding:0 18px;
  border-top:1px solid rgba(255,255,255,.06);
  overflow:hidden;
  max-height:0;
  transition:max-height .30s ease;
}
.service-panel .muted{
  padding:14px 0 18px;
  margin:0;
  color:rgba(255,255,255,.72);
  line-height:1.75;
}

/* =========================
   FEATURE GRID (Index)
   ========================= */
.feature-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px;
  align-items:center;
}
.kicker{
  font-size:11px;
  letter-spacing:.7px;
  text-transform:uppercase;
  color:rgba(255,255,255,.55);
  margin-bottom:12px;
}
.feature-title{
  font-size:22px;
  letter-spacing:-.3px;
  margin-bottom:14px;
  line-height:1.2;
}
.feature-text{
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.03);
  padding:24px;
}
.feature-text .muted{margin-top:10px;line-height:1.75}
.feature-text .btn{margin-top:16px}

.feature-media .media-card{
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.02);
  overflow:hidden;
}
.media-card img{
  width:100%;
  height:auto;
  aspect-ratio:16/9;
  object-fit:cover;
  display:block;
}

/* =========================
   SPLIT SECTION
   ========================= */
.section-split{padding:82px 0}
.split{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:30px;
  align-items:start;
}

.bullets{
  list-style:none;
  display:grid;
  gap:16px;
  margin:20px 0 0;
}
.bullets li{
  display:grid;
  grid-template-columns:44px 1fr;
  gap:14px;
  padding:16px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.02);
}
.bullet-icon{
  width:44px;height:44px;border-radius:14px;
  display:inline-flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
  color:var(--cyan);
}
.bullets h4{font-size:14px;margin-bottom:6px}
.bullets p{font-size:13px;color:rgba(255,255,255,.62);line-height:1.7}

.panel{
  border-radius:22px;
  border:1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(34,211,238,.10), transparent 55%),
    radial-gradient(120% 140% at 100% 20%, rgba(167,139,250,.12), transparent 55%),
    rgba(255,255,255,.03);
  padding:18px;
}
.panel-item{
  display:grid;
  grid-template-columns:46px 1fr;
  gap:14px;
  padding:16px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(0,0,0,.22);
}
.panel-item + .panel-item{margin-top:14px}
.panel-icon{
  width:46px;height:46px;border-radius:14px;
  display:inline-flex;align-items:center;justify-content:center;
  font-weight:900;
  border:1px solid rgba(255,255,255,.10);
}
.i-green{color:var(--green);border-color:rgba(52,211,153,.25);background:rgba(52,211,153,.10)}
.i-cyan{color:var(--cyan);border-color:rgba(34,211,238,.25);background:rgba(34,211,238,.10)}
.i-purple{color:var(--purple);border-color:rgba(167,139,250,.25);background:rgba(167,139,250,.10)}

/* =========================
   TESTIMONIALS
   ========================= */
.testimonials{
  margin-top:26px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}
.tcard{
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.03);
  padding:22px;
  min-height:180px;
}
.ticon{
  width:46px;height:46px;border-radius:16px;
  display:inline-flex;align-items:center;justify-content:center;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.22);
  margin-bottom:14px;
}
.tcard h4{margin:8px 0 10px}
.tcard p{line-height:1.7}
.tmeta{
  display:inline-block;margin-top:14px;
  color:rgba(255,255,255,.55);
  font-size:12px;
}

/* =========================
   TRUST
   ========================= */
.trust{
  padding:70px 0 60px;
  border-top:1px solid rgba(255,255,255,.06);
  text-align:center;
}
.trust-logos{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:12px;
  margin-top:40px;
}
.trust-logos span{
  padding:10px 14px;border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.02);
  font-size:12px;
  color:rgba(255,255,255,.60);
}

/* =========================
   CTA (CONTACT)
   ========================= */
.cta{
  padding:78px 0;
  border-top:1px solid rgba(255,255,255,.06);
}
.cta-inner{
  text-align:center;
  padding:40px 22px;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(120% 140% at 10% 10%, rgba(52,211,153,.12), transparent 55%),
    radial-gradient(120% 140% at 90% 30%, rgba(34,211,238,.12), transparent 55%),
    rgba(255,255,255,.02);
}
.cta-title{
  font-size:clamp(22px,3.8vw,36px);
  letter-spacing:-.4px;
  line-height:1.15;
  margin-bottom:8px;
}
.cta-inner .hero-cta{margin-top:30px;margin-bottom:20px}

.contact-glass{
  margin-top:20px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  text-align:left;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.18);
  padding:20px;
}
.contact-glass p{margin:8px 0;line-height:1.7}

/* =========================
   FOOTER
   ========================= */
.footer{
  padding:18px 0;
  border-top:1px solid rgba(255,255,255,.06);
}
.footer-bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
}

/* =========================
   MOBILE MENU + HAMBURGER
   ========================= */
.hamburger{
  display:none;
  width:40px;height:40px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.15);
  background:rgba(255,255,255,.04);
  cursor:pointer;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:6px;
}
.hamburger span{
  width:20px;height:2px;
  background:rgba(255,255,255,.95);
  border-radius:999px;
  transition:background .2s ease;
}
.hamburger:hover span{background:var(--cyan)}

/* overlay + drawer z-index clean */
.mobile-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.45);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity:0;
  pointer-events:none;
  transition:opacity .35s ease;
  z-index:9998;
}
body.menu-open .mobile-overlay{
  opacity:1;
  pointer-events:auto;
}
body.menu-open .header{
  z-index:9997 !important;
}

.mobile-menu{
  position:fixed;top:0;right:0;
  width:min(86vw,340px);
  height:100vh;
  background:rgba(7,8,13,.96);
  border-left:1px solid rgba(255,255,255,.10);
  z-index:9999;
  padding:16px;
  transform:translateX(110%);
  opacity:0;
  transition:transform .6s cubic-bezier(.4,0,.2,1), opacity .35s ease;
  will-change:transform, opacity;
}
body.menu-open .mobile-menu{transform:translateX(0);opacity:1}

.mobile-menu-head{
  display:flex;justify-content:space-between;align-items:center;
  padding-bottom:12px;
  border-bottom:1px solid rgba(255,255,255,.08);
  margin-bottom:16px;
}
.mobile-title{font-weight:800}
.mobile-close{
  width:40px;height:40px;border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
  color:#fff;
  cursor:pointer;
  transition:transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
}
.mobile-close:hover{
  color:var(--cyan);
  border-color:rgba(34,211,238,.45);
  background:rgba(34,211,238,.10);
}
.mobile-close:active{transform:scale(.93)}

.mobile-nav{display:grid;gap:12px}
.mobile-nav a{
  padding:14px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.03);
}

/* =========================
   ABOUT PAGE (MODIFIED)
   HERO = seule colonne
   bloc "Découvrez..." sous le hero
   ========================= */
.about-hero{
  padding:56px 0 18px;
}
.about-hero-grid{
  display:block; /* ✅ plus 2 colonnes */
}
.about-hero-right{display:none;} /* ✅ on ne veut pas le bloc à droite dans le hero */

.about-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.03);
  color:rgba(255,255,255,.78);
  font-size:12px;
  letter-spacing:.6px;
  text-transform:uppercase;
  margin-bottom:14px;
}

.about-title{
  font-size:clamp(40px,5vw,56px);
  line-height:1.05;
  letter-spacing:-1px;
  margin-bottom:14px;
  max-width:22ch;
}

.about-subtitle{
  color:rgba(255,255,255,.75);
  max-width:62ch;
  line-height:1.8;
}

.about-stats{
  margin-top:22px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
}
.stat{
  border-radius:16px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.03);
  padding:14px;
}
.stat-num{
  font-size:22px;
  font-weight:800;
  letter-spacing:-.4px;
}
.stat-label{
  font-size:12px;
  margin-top:4px;
}

/* ✅ SECTION "Découvrez..." sous le hero */
.about-story{
  padding:18px 0 20px;
}

.about-copy{
  width:100%;
  /* max-width:920px; */
  /* margin:0 auto; */

  padding:clamp(30px,4vw,40px);
  border-radius:22px;

  text-align:center;

  border:1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(34,211,238,.10), transparent 55%),
    radial-gradient(120% 140% at 100% 20%, rgba(167,139,250,.12), transparent 55%),
    rgba(255,255,255,.03);
}

.about-copy-title{
  margin: 0 auto 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-align: center;

  /* ✅ keep on one line on desktop */
  white-space: nowrap;

  /* ✅ THIS is the key: font scales down if it doesn't fit */
  font-size: clamp(22px, 3.6vw, 52px);

  /* safety */
  max-width: 100%;
}


.about-copy-text{
  margin:0 auto;
  /* max-width:820px; */
  font-size:clamp(14px,1.2vw,18px);
  line-height:1.9;
  color:rgba(255,255,255,.78);
}
.about-copy-text + .about-copy-text{margin-top:18px}

/* Mission/Vision */
.mv-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}
.mv-card{
  border-radius:22px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.03);
  padding:20px;
}
.mv-icon{
  width:44px;height:44px;
  border-radius:14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.22);
  font-weight:900;
  margin-bottom:10px;
}

/* Values */
.values-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
  margin-top:18px;
}
.value-card{
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.03);
  padding:18px;
}
.v-icon{
  width:44px;height:44px;
  border-radius:14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.22);
  font-weight:900;
  margin-bottom:10px;
}
.value-card h4{margin-bottom:6px}

/* Timeline */
.timeline{
  position:relative;
  margin-top:28px;
  display:grid;
  gap:14px;
}
.tl-line{
  position:absolute;
  left:50%;
  top:0;
  bottom:0;
  width:2px;
  transform:translateX(-50%);
  background:rgba(255,255,255,.10);
}
.tl-item{
  position:relative;
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:center;
  min-height:110px;
}
.tl-item.left .tl-card{grid-column:1;justify-self:end}
.tl-item.right .tl-card{grid-column:2;justify-self:start}

.tl-dot{
  position:absolute;
  left:50%;
  width:12px;height:12px;
  border-radius:999px;
  transform:translateX(-50%);
  background:var(--cyan);
  box-shadow:0 0 22px rgba(34,211,238,.45);
}
.tl-card{
  width:min(460px,96%);
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.03);
  padding:16px;
}
.tl-year{
  font-weight:900;
  letter-spacing:-.2px;
  margin-bottom:6px;
}

/* Team */
.team-grid{
  margin-top:18px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
}
.team-card{
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.03);
  padding:16px;

  display:grid;
  grid-template-columns:56px 1fr auto;
  align-items:center;
  gap:12px;
}
.avatar{
  width:56px;height:56px;
  border-radius:16px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.22);
}

/* About CTA */
.about-cta{
  padding:82px 0 78px;
  border-top:1px solid rgba(255,255,255,.06);
}
.about-cta-inner{
  text-align:center;
  padding:44px 22px;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(120% 140% at 10% 10%, rgba(52,211,153,.12), transparent 55%),
    radial-gradient(120% 140% at 90% 30%, rgba(34,211,238,.12), transparent 55%),
    rgba(255,255,255,.02);
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width:980px){
  .nav{display:none}
  .hamburger{display:flex}

  .brand{min-width:0}
  .header-actions{min-width:0}
  .header-container{padding:12px 0;gap:10px}
  .brand-name{font-size:12px}
  .btn.btn-primary.btn-small{display:none}
}

@media (max-width:1024px){
  .container{width:94%}
  .section{padding:56px 0}

  .feature-grid{grid-template-columns:1fr}
  .split{grid-template-columns:1fr}
  .testimonials{grid-template-columns:1fr}
  .contact-glass{grid-template-columns:1fr}

  /* about */
  .values-grid{grid-template-columns:1fr 1fr}
  .team-grid{grid-template-columns:1fr 1fr}
}

@media (max-width:768px){
  .hero{padding:26px 0 40px}
  .hero-title{
    font-size:clamp(34px,10vw,46px);
    line-height:1.12;
    margin-bottom:14px;
  }
  .hero-title-line{white-space:normal}
  .hero-subtitle{
    font-size:15px;
    margin:0 auto 26px;
    padding:0 6px;
  }

  .hero-two-cols{
    grid-template-columns:1fr;
    gap:18px;
    text-align:center;
  }
  .hero-two-cols h2{margin-inline:auto}
  .hero-two-cols .glass{
    margin-inline:auto;
    text-align:left;
    padding:16px;
  }

   .about-copy-title{
    white-space: normal;        /* allow wrap */
    max-width: 22ch;            /* controls line breaks */
    margin-inline: auto;
    line-height: 1.12;
    letter-spacing: -0.02em;

    /* responsive size for phones */
    font-size: clamp(22px, 7vw, 34px);

    /* better wrapping when supported */
    text-wrap: balance;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  .service-row{padding:16px 14px}
  .row-icon{width:36px;height:36px;flex-basis:36px}
  .service-panel{padding:0 14px}

  /* about */
  .about-stats{grid-template-columns:1fr}
  .mv-grid{grid-template-columns:1fr}
  .values-grid{grid-template-columns:1fr}
  .team-grid{grid-template-columns:1fr}

  .tl-line{left:10px;transform:none}
  .tl-item{grid-template-columns:1fr;padding-left:26px}
  .tl-item.left .tl-card,
  .tl-item.right .tl-card{
    grid-column:1;
    justify-self:start;
    width:100%;
  }
  .tl-dot{left:10px;transform:none}

  .footer-bottom{
  flex-direction:column;
  justify-content:center;
  text-align:center;
}
}

@media (max-width:600px){
  .feature-grid{gap:14px}
  .feature-text{padding:16px}
  .kicker{font-size:10px;margin-bottom:8px}
  .feature-title{font-size:18px;margin-bottom:10px}
  .feature-text .muted{font-size:13.5px;line-height:1.65}
  .media-card img{aspect-ratio:16/10}
}

@media (max-width:520px){
  .hero-badge{font-size:10px;padding:8px 12px}
  .badge-icon{display:none}
}

@media (max-width:380px){
  .hero-title{font-size:clamp(30px,11vw,40px)}
}

/* =========================
   FIX FEATURE CARDS (TABLET / MOBILE)
   Keep pairs together: text->img, text->img, text->img
   ========================= */
@media (max-width: 1024px){
.feature-grid{
    display:flex;
    flex-direction:column;
    gap: 16px;
  }

  .feature-grid > :nth-child(2){ order: 1; } /* img 1 */
  .feature-grid > :nth-child(1){ order: 2; } /* text 1 */
  .feature-grid > :nth-child(3){ order: 3; } /* img 2 */
  .feature-grid > :nth-child(4){ order: 4; } /* text 2 */
  .feature-grid > :nth-child(6){ order: 5; } /* img 3 */
  .feature-grid > :nth-child(5){ order: 6; } /* text 3 */

  /* nicer mobile cards */
  .feature-text{ padding:18px !important; }
  .feature-text .btn{ width:fit-content; }
  .media-card img{ aspect-ratio:16/10; }
}

@media (max-width: 420px){
  .about-copy-title{
    max-width: 20ch;
    font-size: clamp(20px, 7.6vw, 30px);
  }
}

/* =========================
   FOOTER LEGAL LINKS
   ========================= */
.footer-legal{
  margin-top:12px;
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:12px;
}

.footer-legal a{
  font-size:12px;
  color:rgba(255,255,255,.62);
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.02);
  transition:background .18s ease, color .18s ease, border-color .18s ease;
}

.footer-legal a:hover{
  color:rgba(255,255,255,.92);
  background:rgba(255,255,255,.04);
  border-color:rgba(255,255,255,.16);
}

/* =========================
   LEGAL PAGES (privacy / terms / legal)
   Style like screenshot + matches your theme
   ========================= */

/* Hero */
.legal-hero{
  padding:140px 0 60px;
  text-align:center;

  /* remove EVERYTHING */
  background:none !important;
  border:none !important;
  border-radius:0 !important;
  box-shadow:none !important;
}

/* remove possible gradient overlay */
.legal-hero::before,
.legal-hero::after{
  display:none !important;
}

/* gradient band behind title (like the picture) */
.legal-hero::before{
  content:"";
  position:absolute;
  left:50%;
  top:0;
  transform:translateX(-50%);
  width:min(1000px,92%);
  height:240px;
  border-radius:28px;
  background:
    radial-gradient(120% 140% at 20% 20%, rgba(52,211,153,.16), transparent 60%),
    radial-gradient(120% 140% at 80% 10%, rgba(167,139,250,.16), transparent 60%),
    radial-gradient(120% 140% at 55% 55%, rgba(34,211,238,.14), transparent 60%),
    rgba(255,255,255,.02);
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 30px 90px rgba(0,0,0,.55);
  pointer-events:none;
}

/* center text like screenshot */
.legal-hero .container{
  position:relative;
  text-align:center;
  padding-top:34px;
}

.legal-title{
  font-size:clamp(42px,6vw,74px);
  line-height:1.05;
  letter-spacing:-1.2px;
  margin:0 0 12px;
  font-weight:850;
}

.legal-sub{
  max-width:720px;
  margin:0 auto;
  color:rgba(255,255,255,.68);
  font-size:14px;
  line-height:1.8;
}

/* Content wrapper */
.legal-content{
  padding:52px 0 80px;
}

/* main card container like screenshot */
.legal-card{
  width:min(920px,100%);
  margin:0 auto;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(120% 140% at 10% 10%, rgba(34,211,238,.08), transparent 55%),
    rgba(255,255,255,.02);
  padding:30px;
}

/* headings */
.legal-card h2{
  font-size:18px;
  letter-spacing:-.2px;
  margin:24px 0 10px;
}

.legal-card h2:first-child{margin-top:0}

.legal-card p{
  color:rgba(255,255,255,.72);
  line-height:1.85;
  font-size:14px;
  margin:0 0 12px;
}

/* list like screenshot */
.legal-card ul{
  margin:10px 0 0 0;
  padding-left:18px;
  color:rgba(255,255,255,.72);
}
.legal-card li{
  margin:8px 0;
  line-height:1.75;
}

/* separators */
.legal-card hr{
  border:0;
  height:1px;
  background:rgba(255,255,255,.08);
  margin:22px 0;
}

/* “highlight quote box” like the green note in screenshot */
.legal-note{
  margin:16px 0 0;
  border-radius:16px;
  border:1px solid rgba(52,211,153,.22);
  background:rgba(52,211,153,.08);
  padding:14px 16px;
  position:relative;
}
.legal-note::before{
  content:"";
  position:absolute;
  left:0;top:12px;bottom:12px;
  width:4px;
  border-radius:999px;
  background:rgba(52,211,153,.9);
}
.legal-note p{
  margin:0;
  padding-left:12px;
  color:rgba(255,255,255,.82);
}

/* links inside legal pages */
.legal-card a{
  color:rgba(34,211,238,.92);
  text-decoration:underline;
  text-underline-offset:4px;
}
.legal-card a:hover{opacity:.9}

/* responsive */
@media (max-width:768px){
  .legal-hero{padding:54px 0 34px}
  .legal-hero::before{height:220px}
  .legal-card{padding:18px}
  .legal-title{font-size:clamp(34px,9vw,48px)}
}

