/* ==========================================================================
   CABINET MAMPASI — Homepage (inspired by ASE-RDC structure)
   ========================================================================== */

:root{
  --navy-950:#050b30;
  --navy-900:#001b7f;
  --navy-800:#011e9d;
  --navy-700:#1e3fc4;
  --navy-600:#2f57d6;
  --gold-300:#a5b8f5;
  --gold-400:#6f8bed;
  --gold-500:#2a4fe0;
  --gold-600:#1530b8;
  --cream:#f7f8f5;
  --ink:#26324a;
  --muted:#5b6a85;
  --line:rgba(22,41,79,.10);
}

*{ margin:0; padding:0; box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  font-family:'DM Sans',sans-serif;
  font-size:16px;
  color:var(--ink);
  background:#fff;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; }
section{ scroll-margin-top:0; }

/* Homepage composition based on the supplied reference. */
body > .home-hero{ display:none; }
.reference-home{ min-height:100vh; background:#fbfcfa; color:#526042; font-family:'DM Sans',sans-serif; }
.reference-layout{ min-height:calc(100vh - 64px); display:grid; grid-template-columns:54.7% 45.3%; }
.reference-media{ padding:22px 32px 12px; display:flex; flex-direction:column; justify-content:space-between; background:var(--navy-800); }
.reference-logo{ width:auto; height:52px; max-width:170px; object-fit:contain; object-position:left top; filter:brightness(0) invert(1) grayscale(1) contrast(.8); opacity:.88; }
.reference-slider{ position:relative; height:min(58vh,430px); overflow:hidden; border-radius:14px; }
.reference-slider > img{ width:100%; height:100%; object-fit:cover; object-position:center; }
.reference-arrow{ position:absolute; top:50%; width:34px; height:34px; transform:translateY(-50%); display:grid; place-items:center; border:1px solid rgba(255,255,255,.38); border-radius:50%; background:rgba(38,48,29,.42); color:#fff; font-size:31px; font-weight:300; line-height:1; }
.reference-arrow:hover{ background:#fff; color:var(--navy-800); }.reference-arrow--previous{ left:12px; }.reference-arrow--next{ right:12px; }
.reference-panel{ padding:28px 32px 24px 26px; display:flex; flex-direction:column; justify-content:space-between; background:#fbfcfa; }
.visually-hidden{ position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.reference-languages{ min-height:85px; padding-top:8px; display:flex; justify-content:flex-end; align-items:flex-start; gap:7px; border-bottom:1px solid rgba(75,98,38,.15); }
.reference-languages a{ min-width:34px; padding:3px 8px; border:1px solid rgba(75,98,38,.22); border-radius:999px; color:#63724f; font-size:10px; font-weight:700; letter-spacing:.08em; text-align:center; }.reference-languages .is-active{ border-color:#506b26; background:#e5eadb; color:#354c17; }
.reference-columns{ display:grid; grid-template-columns:1fr 1.08fr 1.32fr; align-items:start; margin-top:32px; }
.reference-column{ min-height:175px; padding:0 22px; border-left:1px solid rgba(75,98,38,.16); font-style:normal; }.reference-column:first-child{ padding-left:0; border-left:0; }
.reference-column h2{ margin:0 0 25px; color:#435d1e; font-size:11px; line-height:1.2; font-weight:700; letter-spacing:.22em; text-transform:uppercase; }.reference-column h2::after{ content:""; display:block; width:22px; height:2px; margin-top:16px; background:#506b26; }
.reference-column > a,.reference-contact p{ display:block; color:#526042; font-size:14px; line-height:1.45; }.reference-column > a + a{ margin-top:15px; }.reference-column a:hover{ color:#314b13; text-decoration:underline; text-underline-offset:4px; }
.reference-contact{ padding-right:0; }.reference-contact p{ max-width:175px; margin:0 0 13px; font-size:13px; }.reference-contact > a{ font-size:13px; overflow-wrap:anywhere; }.reference-contact > a + a{ margin-top:11px; }
.reference-social{ display:flex; gap:8px; padding-top:18px; border-top:1px solid rgba(75,98,38,.15); }.reference-social a{ width:31px; height:31px; display:grid; place-items:center; border:1px solid rgba(75,98,38,.22); border-radius:7px; color:#4b6226; font-size:15px; font-weight:700; }.reference-social a:hover{ background:#4b6226; color:#fff; }
.reference-footer{ min-height:64px; padding:0 32px 0 22px; display:flex; align-items:center; justify-content:space-between; background:#263a0f; color:#a8b68a; font-size:13px; letter-spacing:.02em; }
@media (max-width:780px){ .reference-layout{ grid-template-columns:1fr; min-height:auto; }.reference-media{ min-height:420px; padding:22px 20px; }.reference-slider{ height:320px; }.reference-panel{ min-height:auto; padding:22px 20px; }.reference-languages{ min-height:56px; }.reference-columns{ grid-template-columns:1fr; gap:28px; }.reference-column{ min-height:0; padding:0 0 24px; border:0; border-bottom:1px solid rgba(75,98,38,.16); }.reference-contact{ padding-bottom:0; border:0; }.reference-social{ margin-top:30px; }.reference-footer{ min-height:82px; padding:16px 20px; align-items:flex-start; flex-direction:column; gap:5px; } }

.container{ max-width:1200px; margin:0 auto; padding:0 24px; }

.section-eyebrow{
  display:inline-block;
  font-size:12px;
  font-weight:700;
  letter-spacing:.24em;
  text-transform:uppercase;
  color:var(--gold-600);
  margin-bottom:14px;
}
.section-title{
  font-family:'DM Sans',sans-serif;
  font-weight:700;
  font-size:clamp(28px,3.4vw,40px);
  line-height:1.22;
  color:var(--navy-900);
  margin-bottom:18px;
}
.section-intro{ color:var(--muted); max-width:680px; }

/* Reveal on scroll */
.reveal{ opacity:0; transform:translateY(26px); transition:opacity .7s ease, transform .7s ease; }
.reveal.visible{ opacity:1; transform:none; }

/* ==========================================================================
   HERO — split: carousel left / logo+nav+slogan+CTA right
   ========================================================================== */

.home-hero{
  display:grid;
  grid-template-columns:55fr 45fr;
  min-height:100vh;
  background:linear-gradient(160deg,var(--navy-800),var(--navy-950));
}

/* ----- Left: carousel ----- */
.hero-media{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:56px 8%;
}
.hero-media .eyebrow-media{
  color:var(--gold-400);
  font-size:12px;
  font-weight:700;
  letter-spacing:.24em;
  text-transform:uppercase;
  margin-bottom:18px;
}
.hero-slider{
  position:relative;
  width:100%;
  max-width:760px;
  aspect-ratio:4/3;
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 34px 70px rgba(0,0,0,.5);
}
.hero-slide{
  position:absolute;
  inset:0;
  opacity:0;
  transition:opacity .9s ease;
}
.hero-slide.active{ opacity:1; }
.hero-slide img{ width:100%; height:100%; object-fit:cover; }
.slide-caption{
  position:absolute;
  left:0; right:0; bottom:0;
  padding:34px 24px 18px;
  background:linear-gradient(transparent, rgba(4,10,24,.85));
  color:#fff;
  font-size:14px;
  font-weight:500;
  letter-spacing:.02em;
}
.slider-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:44px; height:44px;
  border-radius:50%;
  border:none;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,.92);
  color:var(--navy-800);
  transition:background .2s, color .2s, transform .2s;
  z-index:5;
}
.slider-nav:hover{ background:var(--gold-500); color:#fff; transform:translateY(-50%) scale(1.06); }
.slider-prev{ left:16px; }
.slider-next{ right:16px; }
.slider-dots{
  position:absolute;
  left:0; right:0; bottom:14px;
  display:flex;
  justify-content:center;
  gap:8px;
  z-index:5;
}
.slider-dots button{
  width:8px; height:8px;
  border-radius:999px;
  border:none;
  cursor:pointer;
  background:rgba(255,255,255,.45);
  transition:background .25s, width .25s;
  padding:0;
}
.slider-dots button.active{ background:var(--gold-400); width:24px; }

/* ----- Right: logo + nav + slogan + CTA ----- */
.hero-panel{
  background:#fff;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:48px clamp(28px,5vw,72px);
  position:relative;
}
.hero-panel .panel-logo{
  display:flex;
  justify-content:flex-end;
  margin-bottom:34px;
}
.hero-panel .panel-logo img{
  height:104px;
  width:auto;
  border-radius:16px;
  box-shadow:0 12px 28px rgba(1,30,157,.18);
}

.hero-nav{ margin-bottom:38px; }
.hero-nav li + li{ margin-top:10px; }
.hero-nav a{
  position:relative;
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:15px;
  font-weight:600;
  letter-spacing:.08em;
  color:var(--navy-800);
  padding:6px 2px;
  transition:color .2s;
}
.hero-nav a::before{
  content:"";
  width:0; height:2px;
  background:var(--gold-500);
  transition:width .28s ease;
}
.hero-nav a:hover{ color:var(--gold-600); }
.hero-nav a:hover::before{ width:22px; }
.hero-nav a .nav-num{
  font-size:11px;
  color:var(--gold-600);
  font-weight:700;
}

.hero-slogan h1{
  font-family:'DM Sans',sans-serif;
  font-size:clamp(28px,3.4vw,40px);
  line-height:1.22;
  color:var(--navy-900);
  margin-bottom:16px;
}
.hero-slogan h1 em{
  font-style:italic;
  color:var(--gold-600);
}
.hero-slogan .slogan-sub{
  color:var(--muted);
  font-size:16px;
  max-width:400px;
  margin-bottom:28px;
}
.cta-btn{
  display:inline-flex;
  align-items:center;
  gap:12px;
  background:var(--navy-800);
  color:#fff;
  font-weight:700;
  font-size:15px;
  letter-spacing:.04em;
  padding:16px 30px;
  border-radius:8px;
  transition:background .25s, transform .25s, box-shadow .25s;
  box-shadow:0 14px 30px rgba(15,29,61,.22);
}
.cta-btn svg{ transition:transform .25s; }
.cta-btn:hover{
  background:var(--gold-500);
  color:#fff;
  transform:translateY(-2px);
  box-shadow:0 20px 40px rgba(42,79,224,.35);
}
.cta-btn:hover svg{ transform:translateX(4px); }

.hero-quick-contact{
  margin-top:40px;
  padding-top:24px;
  border-top:1px solid var(--line);
  display:flex;
  gap:26px;
  flex-wrap:wrap;
}
.hero-quick-contact a, .hero-quick-contact span{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  color:var(--muted);
  transition:color .2s;
}
.hero-quick-contact a:hover{ color:var(--gold-600); }
.hero-quick-contact svg{ color:var(--gold-600); flex-shrink:0; }

/* ==========================================================================
   À PROPOS
   ========================================================================== */
.section{ padding:96px 0; }
.section--cream{ background:var(--cream); }
.section--dark{
  background:linear-gradient(150deg,var(--navy-800),var(--navy-950));
  color:#fff;
}
.section--dark .section-title{ color:#fff; }
.section--dark .section-intro{ color:rgba(255,255,255,.72); }

.about-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:64px;
  align-items:center;
}
.about-text p{ margin-bottom:16px; }
.about-values{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  margin-top:26px;
}
.value-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  padding:18px;
  display:flex;
  gap:14px;
  align-items:flex-start;
  transition:transform .25s, box-shadow .25s;
}
.value-card:hover{ transform:translateY(-4px); box-shadow:0 16px 34px rgba(15,29,61,.12); }
.value-card .vc-icon{
  width:42px; height:42px;
  border-radius:10px;
  background:rgba(1,30,157,.08);
  color:var(--gold-600);
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}
.value-card h3{ font-size:15px; color:var(--navy-900); margin-bottom:3px; }
.value-card p{ font-size:13px; color:var(--muted); }

.stats-band{
  margin-top:56px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}
.stat-box{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  border-radius:12px;
  padding:22px 16px;
  text-align:center;
}
.stat-box .num{
  font-family:'DM Sans',sans-serif;
  font-size:34px;
  font-weight:700;
  color:var(--gold-400);
  line-height:1.1;
}
.stat-box .lbl{
  margin-top:6px;
  font-size:13px;
  color:rgba(255,255,255,.75);
}

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services-head{ text-align:center; margin-bottom:56px; }
.services-head .section-intro{ margin:0 auto; }
.services-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px;
}
.service-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  padding:30px 26px;
  transition:transform .25s, box-shadow .25s, border-color .25s;
  position:relative;
  overflow:hidden;
}
.service-card::after{
  content:"";
  position:absolute;
  top:0; left:0; right:0;
  height:3px;
  background:linear-gradient(90deg,var(--gold-500),var(--gold-400));
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .3s ease;
}
.service-card:hover{
  transform:translateY(-6px);
  box-shadow:0 24px 48px rgba(15,29,61,.14);
  border-color:rgba(42,79,224,.4);
}
.service-card:hover::after{ transform:scaleX(1); }
.service-card .sc-icon{
  width:58px; height:58px;
  border-radius:14px;
  background:var(--navy-800);
  color:var(--gold-400);
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:20px;
  transition:background .25s;
}
.service-card:hover .sc-icon{ background:var(--gold-500); color:#fff; }
.service-card h3{
  font-family:'DM Sans',sans-serif;
  font-size:20px;
  color:var(--navy-900);
  margin-bottom:10px;
}
.service-card p{ font-size:14px; color:var(--muted); }

/* ==========================================================================
   ÉQUIPE
   ========================================================================== */
.team-head{ margin-bottom:56px; }
.team-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px;
}
.team-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  overflow:hidden;
  transition:transform .25s, box-shadow .25s;
}
.team-card:hover{ transform:translateY(-6px); box-shadow:0 24px 48px rgba(15,29,61,.14); }
.team-photo{
  aspect-ratio:3/3.4;
  overflow:hidden;
  background:var(--cream);
}
.team-photo img{ width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
.team-card:hover .team-photo img{ transform:scale(1.06); }
.team-body{ padding:22px 20px; }
.team-body h3{
  font-family:'DM Sans',sans-serif;
  font-size:18px;
  color:var(--navy-900);
  margin-bottom:3px;
}
.team-body .role{ font-size:12px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--gold-600); margin-bottom:10px; }
.team-body p.bio{ font-size:13px; color:var(--muted); margin-bottom:12px; }
.team-tags{ display:flex; flex-wrap:wrap; gap:6px; }
.team-tags span{
  font-size:11px;
  font-weight:600;
  color:var(--navy-700);
  background:rgba(15,29,61,.07);
  border-radius:999px;
  padding:4px 10px;
}

/* ==========================================================================
   PROJETS & RÉALISATIONS
   ========================================================================== */
.projects-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:56px;
  align-items:start;
}
.mission-list{ margin-top:8px; }
.mission-item{
  display:flex;
  gap:16px;
  padding:18px 0;
  border-bottom:1px solid var(--line);
}
.mission-item:last-child{ border-bottom:none; }
.mission-item .m-num{
  font-family:'DM Sans',sans-serif;
  font-size:28px;
  font-weight:700;
  color:var(--gold-500);
  line-height:1;
  min-width:44px;
}
.mission-item h3{ font-size:16px; color:var(--navy-900); margin-bottom:4px; }
.mission-item p{ font-size:14px; color:var(--muted); }

.testimonial-wrap{ position:relative; }
.testimonial-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  padding:30px;
  display:none;
  box-shadow:0 18px 40px rgba(15,29,61,.08);
}
.testimonial-card.active{ display:block; animation:fadeSlide .5s ease; }
@keyframes fadeSlide{
  from{ opacity:0; transform:translateX(18px); }
  to{ opacity:1; transform:none; }
}
.testimonial-card .stars{ color:var(--gold-500); margin-bottom:14px; letter-spacing:2px; }
.testimonial-card blockquote{
  font-family:'DM Sans',sans-serif;
  font-size:18px;
  line-height:1.6;
  color:var(--navy-800);
  margin-bottom:20px;
}
.testimonial-card .author{ display:flex; align-items:center; gap:14px; }
.testimonial-card .avatar{
  width:48px; height:48px;
  border-radius:50%;
  background:var(--navy-800);
  color:var(--gold-400);
  font-weight:700;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}
.testimonial-card .author .name{ font-weight:700; color:var(--navy-900); font-size:14px; }
.testimonial-card .author .where{ font-size:12px; color:var(--muted); }
.t-controls{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-top:20px;
}
.t-nav{
  width:42px; height:42px;
  border-radius:50%;
  border:1px solid var(--line);
  background:#fff;
  color:var(--navy-800);
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:background .2s, color .2s, border-color .2s;
}
.t-nav:hover{ background:var(--gold-500); border-color:var(--gold-500); color:#fff; }
.t-dots{ display:flex; gap:8px; }
.t-dots button{
  width:8px; height:8px;
  border-radius:999px;
  border:none;
  cursor:pointer;
  background:rgba(15,29,61,.18);
  padding:0;
  transition:background .25s, width .25s;
}
.t-dots button.active{ background:var(--gold-500); width:22px; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-head{ margin-bottom:56px; }
.contact-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:56px;
  align-items:start;
}
.contact-form{
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  padding:34px;
  box-shadow:0 18px 40px rgba(15,29,61,.06);
}
.form-row{ margin-bottom:18px; }
.form-row label{
  display:block;
  font-size:13px;
  font-weight:600;
  color:var(--navy-800);
  margin-bottom:6px;
}
.form-row input,
.form-row textarea{
  width:100%;
  border:1px solid rgba(22,41,79,.18);
  border-radius:8px;
  padding:13px 15px;
  font-family:'DM Sans',sans-serif;
  font-size:14px;
  color:var(--ink);
  background:var(--cream);
  transition:border-color .2s, box-shadow .2s;
  resize:vertical;
}
.form-row input:focus,
.form-row textarea:focus{
  outline:none;
  border-color:var(--gold-500);
  box-shadow:0 0 0 3px rgba(42,79,224,.18);
  background:#fff;
}
.form-note{ font-size:12px; color:var(--muted); margin-top:12px; }
.form-success{
  display:none;
  margin-top:16px;
  padding:14px 16px;
  border-radius:8px;
  background:rgba(46,125,50,.1);
  border:1px solid rgba(46,125,50,.35);
  color:#1b5e20;
  font-size:14px;
  font-weight:600;
}

.contact-info-card{
  background:var(--navy-900);
  border-radius:16px;
  padding:34px;
  color:#fff;
  margin-bottom:24px;
}
.contact-info-card .ci-row{ display:flex; gap:14px; margin-bottom:18px; align-items:flex-start; }
.contact-info-card .ci-row:last-child{ margin-bottom:0; }
.contact-info-card .ci-icon{
  width:40px; height:40px;
  border-radius:10px;
  background:rgba(255,255,255,.12);
  color:var(--gold-400);
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}
.contact-info-card .ci-row .ci-lbl{ font-size:11px; letter-spacing:.14em; text-transform:uppercase; color:var(--gold-400); font-weight:700; }
.contact-info-card .ci-row .ci-val{ font-size:14px; color:rgba(255,255,255,.85); }
.contact-info-card .ci-row a.ci-val:hover{ color:var(--gold-300); }
.map-embed{
  border-radius:16px;
  overflow:hidden;
  border:1px solid var(--line);
  box-shadow:0 18px 40px rgba(15,29,61,.1);
  line-height:0;
}
.map-embed iframe{ width:100%; height:320px; border:0; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer{ background:var(--navy-900); color:rgba(255,255,255,.8); }
.footer-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr;
  gap:48px;
  padding:72px 0 48px;
}
.footer-brand img{ height:60px; width:auto; margin-bottom:16px; }
.footer-brand p{ font-size:14px; max-width:300px; }
.footer-col h4{
  font-family:'DM Sans',sans-serif;
  font-size:16px;
  color:#fff;
  margin-bottom:18px;
  position:relative;
  padding-bottom:10px;
}
.footer-col h4::after{
  content:"";
  position:absolute;
  left:0; bottom:0;
  width:30px; height:2px;
  background:var(--gold-500);
}
.footer-col ul li{ margin-bottom:10px; }
.footer-col ul a{ font-size:14px; transition:color .2s; }
.footer-col ul a:hover{ color:var(--gold-400); }
.footer-col .fc-row{ display:flex; gap:10px; margin-bottom:12px; font-size:14px; align-items:flex-start; }
.footer-col .fc-row svg{ color:var(--gold-400); flex-shrink:0; margin-top:2px; }
.footer-col .fc-row a:hover{ color:var(--gold-400); }
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.12);
  background:var(--navy-950);
  padding:20px 0;
}
.footer-bottom .fb-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
  font-size:13px;
  color:rgba(255,255,255,.5);
}
.footer-bottom .fb-inner a{ color:rgba(255,255,255,.62); transition:color .2s; }
.footer-bottom .fb-inner a:hover{ color:var(--gold-400); }

/* ==========================================================================
   SUBPAGES — sticky top navbar
   ========================================================================== */
.site-nav{
  position:sticky;
  top:0;
  z-index:100;
  background:var(--navy-900);
  border-bottom:1px solid rgba(255,255,255,.1);
}
.site-nav .nav-inner{
  max-width:1200px;
  margin:0 auto;
  padding:0 24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:72px;
  gap:16px;
}
.site-nav .nav-logo{ display:flex; align-items:center; gap:12px; flex-shrink:0; }
.site-nav .nav-logo img{ height:42px; width:auto; }
.site-nav .nav-logo span{
  font-family:'DM Sans',sans-serif;
  font-weight:700;
  font-size:18px;
  color:#fff;
  line-height:1.1;
}
.site-nav .nav-links{ display:flex; align-items:center; gap:4px; }
.site-nav .nav-links a{
  color:rgba(255,255,255,.78);
  font-size:14px;
  font-weight:600;
  letter-spacing:.04em;
  padding:8px 13px;
  border-radius:6px;
  transition:color .2s, background .2s;
  white-space:nowrap;
}
.site-nav .nav-links a:hover{ color:var(--gold-400); background:rgba(255,255,255,.06); }
.site-nav .nav-links a.active{ color:var(--gold-400); }
.site-nav .nav-cta{
  background:var(--gold-500);
  color:#fff;
  font-weight:700;
  font-size:14px;
  padding:10px 18px;
  border-radius:6px;
  white-space:nowrap;
  transition:background .2s, transform .2s;
}
.site-nav .nav-cta:hover{ background:var(--gold-400); transform:translateY(-1px); }

/* Language switcher in subpage navbar */
.site-nav .lang-btn{
  font-family:'DM Sans',sans-serif;
  font-size:12px;
  font-weight:700;
  letter-spacing:.05em;
  color:#fff;
  background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.28);
  border-radius:6px;
  padding:6px 10px;
  cursor:pointer;
  transition:background .2s, color .2s;
}
.site-nav .lang-btn:hover,
.site-nav .lang-btn.active{ background:var(--gold-500); color:#fff; border-color:var(--gold-500); }
.site-nav .lang-switch{ display:flex; gap:6px; align-items:center; }

/* Page hero inside subpages */
.page-hero{
  background:linear-gradient(150deg,var(--navy-800),var(--navy-950));
  color:#fff;
  padding:72px 0;
}
.page-hero .container{ display:flex; flex-direction:column; gap:8px; }
.page-hero .section-eyebrow{ margin-bottom:6px; }
.page-hero h1{
  font-family:'DM Sans',sans-serif;
  font-size:clamp(28px,3.4vw,40px);
  line-height:1.22;
}

/* ==========================================================================
   HOMEPAGE — reference layout (blue like the logo + white)
   ========================================================================== */
.visually-hidden{
  position:absolute;
  width:1px; height:1px;
  overflow:hidden;
  clip:rect(0 0 0 0);
  white-space:nowrap;
}
.reference-home{
  min-height:100vh;
  display:flex;
  flex-direction:column;
  background:linear-gradient(160deg,var(--navy-800),var(--navy-950));
}
.reference-layout{
  flex:1;
  display:grid;
  grid-template-columns:55fr 45fr;
  min-height:100vh;
}

/* Left media: logo + photo slider */
.reference-media{
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  gap:26px;
  padding:56px 8% 64px;
}
.reference-logo{
  width:180px;
  height:auto;
  align-self:flex-start;
  background:#fff;
  border-radius:18px;
  padding:8px;
  box-shadow:0 16px 34px rgba(0,0,0,.28);
}
.reference-slider{
  position:relative;
  width:100%;
  max-width:760px;
  aspect-ratio:4/3;
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 34px 70px rgba(0,0,0,.5);
  background:var(--navy-950);
}
.reference-slider img{
  position:absolute;
  inset:0;
  width:100%; height:100%;
  object-fit:cover;
  opacity:0;
  transition:opacity .8s ease;
}
.reference-slider img.is-active{ opacity:1; }
.reference-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:44px; height:44px;
  border-radius:50%;
  background:rgba(255,255,255,.92);
  color:var(--navy-800);
  font-size:24px;
  line-height:1;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:5;
  transition:background .2s, color .2s;
}
.reference-arrow:hover{ background:var(--gold-500); color:#fff; }
.reference-arrow--previous{ left:16px; }
.reference-arrow--next{ right:16px; }

/* Right panel: languages + columns + social */
.reference-panel{
  background:#fff;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:48px clamp(28px,5vw,64px);
}
.reference-languages{
  display:flex;
  justify-content:flex-end;
  gap:8px;
  margin-bottom:30px;
}
.reference-languages a,
.reference-languages button{
  font-family:'DM Sans',sans-serif;
  font-size:12px;
  font-weight:700;
  letter-spacing:.06em;
  color:var(--navy-800);
  background:transparent;
  border:1px solid rgba(1,30,157,.25);
  border-radius:6px;
  padding:6px 12px;
  cursor:pointer;
  transition:background .2s, color .2s;
}
.reference-languages a:hover,
.reference-languages button:hover{ background:rgba(1,30,157,.08); }
.reference-languages a.is-active,
.reference-languages button.is-active{ background:var(--navy-800); color:#fff; }

.reference-columns{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:24px;
}
.reference-column h2{
  font-family:'DM Sans',sans-serif;
  font-size:16px;
  color:var(--navy-900);
  margin-bottom:14px;
  padding-bottom:8px;
  border-bottom:2px solid var(--gold-500);
  width:fit-content;
}
.reference-column a{
  display:block;
  font-size:14px;
  color:#5a6a8c;
  padding:4px 0;
  transition:color .2s;
}
.reference-column a:hover{ color:var(--gold-600); }
.reference-column.reference-contact{ font-style:normal; font-size:14px; color:#5a6a8c; }
.reference-column.reference-contact p{ margin-bottom:4px; }

.reference-social{
  display:flex;
  gap:10px;
  margin-top:30px;
  padding-top:22px;
  border-top:1px solid var(--line);
}
.reference-social a{
  width:38px; height:38px;
  border-radius:50%;
  border:1px solid rgba(1,30,157,.2);
  color:var(--navy-800);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:13px;
  transition:background .2s, color .2s;
}
.reference-social a:hover{ background:var(--gold-500); color:#fff; border-color:var(--gold-500); }

.reference-footer{
  background:var(--navy-950);
  color:rgba(255,255,255,.55);
  font-size:13px;
  padding:18px 32px;
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}

@media (max-width:1100px){
  .reference-layout{ grid-template-columns:1fr; }
  .reference-media{ padding:56px 24px 40px; align-items:center; text-align:center; }
  .reference-panel{ padding:48px 24px; }
  .reference-columns{ gap:18px; }
}
@media (max-width:640px){
  .reference-columns{ grid-template-columns:1fr; gap:26px; }
  .reference-footer{ justify-content:center; text-align:center; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width:900px){
  .site-nav{ position:static; }
  .site-nav .nav-inner{ flex-wrap:wrap; height:auto; padding:12px 16px; }
  .site-nav .nav-links{ flex-wrap:wrap; gap:4px; }
  .site-nav .nav-cta{ display:none; }
}

@media (max-width:1100px){
  .home-hero{ grid-template-columns:1fr; min-height:0; }
  .hero-media{ padding:64px 24px 48px; }
  .hero-panel{ padding:48px 24px; }
  .hero-panel .panel-logo{ justify-content:center; }
  .hero-nav{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:8px 22px;
  }
  .hero-nav li + li{ margin-top:0; }
  .hero-slogan h1{ font-size:32px; }
  .hero-slogan .slogan-sub{ max-width:none; }
  .hero-quick-contact{ justify-content:center; }
  .about-grid,
  .projects-grid,
  .contact-grid{ grid-template-columns:1fr; gap:40px; }
  .services-grid,
  .team-grid{ grid-template-columns:repeat(2,1fr); }
  .stats-band{ grid-template-columns:repeat(2,1fr); }
}

@media (max-width:640px){
  .section{ padding:72px 0; }
  .services-grid,
  .team-grid{ grid-template-columns:1fr; }
  .about-values{ grid-template-columns:1fr; }
  .stats-band{ grid-template-columns:1fr 1fr; gap:12px; }
  .contact-form,
  .contact-info-card{ padding:24px; }
  .footer-grid{ grid-template-columns:1fr; gap:36px; padding:56px 0 36px; }
  .footer-bottom .fb-inner{ justify-content:center; text-align:center; }
}
