/* ═══════════════════════════════════════════════════════════
   EL MOUZAZI NOUREDDINE — Travaux & Agriculture
   Palette alignée sur le logo : vert · orange · crème
═══════════════════════════════════════════════════════════ */

:root {
  --ink:        #14532d;   /* vert forêt (marque) */
  --ink-soft:   #1c6b3e;
  --accent:     #e0852a;   /* orange (marque) */
  --accent-dk:  #c46f1c;
  --blue:       #1b5e3a;   /* vert profond (remplace le bleu corporate) */
  --text:       #2c333d;
  --muted:      #687180;
  --line:       #e6e3da;
  --bg:         #ffffff;
  --bg-alt:     #f7f4ec;   /* crème */
  --white:      #ffffff;
  --nav-h:      92px;
  --top-h:      40px;
  --maxw:       1280px;
  --ease:       cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 10px);
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

/* ── Logo de marque ──────────────────────────────────────── */
.brand-logo  { height: 72px; width: auto; transition: height .3s; }
.navbar.scrolled .brand-logo { height: 50px; }
.footer-logo {
  height: 78px;
  width: auto;
  background: #fff;
  border-radius: 12px;
  padding: 8px 12px;
}
.footer-legal {
  text-align: center;
  font-size: .78rem;
  color: rgba(255,255,255,.6);
  padding: 16px 24px 4px;
  line-height: 1.7;
}
@media (max-width: 600px) { .brand-logo { height: 56px; } }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

h1,h2,h3,h4,h5 { font-family: 'Archivo', sans-serif; color: var(--ink); line-height: 1.15; }

/* ── Reveal ────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

/* ── Shared ────────────────────────────────────────────── */
.eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  position: relative;
  padding-left: 34px;
}
.eyebrow::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 26px; height: 2px;
  background: var(--accent);
  transform: translateY(-50%);
}
.eyebrow-light { color: #ff9b85; }
.eyebrow-light::before { background: #ff9b85; }

.heading {
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 18px;
}
.heading-light { color: #fff; }

.lead { font-size: 1.08rem; color: var(--text); margin-bottom: 16px; }
.muted { color: var(--muted); font-size: 1rem; }
.center { text-align: center; }

.section-head {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head .eyebrow { padding-left: 0; }
.section-head .eyebrow::before { display: none; }

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: .92rem;
  padding: 14px 28px;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.btn i { font-size: .82rem; transition: transform .25s; }
.btn:hover i { transform: translateX(3px); }

.btn-accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-accent:hover { background: var(--accent-dk); border-color: var(--accent-dk); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(200,71,43,.28); }

.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-outline-light:hover { background: #fff; color: var(--ink); border-color: #fff; transform: translateY(-2px); }

.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }

.btn-block { width: 100%; padding: 16px; }

/* ── Topbar ────────────────────────────────────────────── */
.topbar {
  background: var(--ink);
  height: var(--top-h);
  font-size: .82rem;
  color: rgba(255,255,255,.72);
}
.topbar-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topbar-left { display: flex; gap: 24px; }
.topbar-left a, .topbar-right span { display: inline-flex; align-items: center; gap: 7px; transition: color .25s; }
.topbar-left a:hover { color: var(--accent); }
.topbar-left i, .topbar-right i { color: var(--accent); font-size: .78rem; }
.topbar-right { display: flex; align-items: center; gap: 20px; }
.topbar-social { display: flex; gap: 6px; }
.topbar-social a {
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08);
  border-radius: 3px;
  transition: background .25s, color .25s;
}
.topbar-social a:hover { background: var(--accent); color: #fff; }

/* ── Navbar ────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 900;
  height: var(--nav-h);
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s, height .3s;
}
.navbar.scrolled { box-shadow: 0 6px 24px rgba(15,27,45,.08); height: 66px; }

.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  height: 46px;
  padding: 0 14px;
  background: var(--accent);
  color: #fff;
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: 1px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 5px;
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: .9rem;
  letter-spacing: .3px;
  color: var(--ink);
}
.brand-text em {
  font-style: normal;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
}

.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-link {
  font-size: .86rem;
  font-weight: 600;
  letter-spacing: .3px;
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 4px;
  position: relative;
  transition: color .25s;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 16px; right: 16px; bottom: 6px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--accent); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.nav-cta {
  margin-left: 10px;
  background: var(--accent);
  color: #fff;
  font-size: .84rem;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: 4px;
  transition: background .25s, transform .25s;
}
.nav-cta:hover { background: var(--accent-dk); transform: translateY(-2px); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 25px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: all .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ── Hero ──────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h) - var(--top-h));
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.2s ease, transform 6s linear;
}
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, rgba(15,27,45,.92) 0%, rgba(15,27,45,.72) 42%, rgba(15,27,45,.30) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 60px 28px;
  width: 100%;
}
.hero-kicker {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  padding: 8px 18px;
  border-radius: 3px;
  margin-bottom: 26px;
}
.hero-title {
  font-size: clamp(2.2rem, 5.4vw, 4.4rem);
  font-weight: 900;
  letter-spacing: -1px;
  color: #fff;
  margin-bottom: 22px;
  max-width: 16ch;
}
.hero-text {
  font-size: 1.12rem;
  color: rgba(255,255,255,.82);
  max-width: 580px;
  margin-bottom: 38px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-dots {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}
.hero-dots .dot {
  width: 36px; height: 4px;
  background: rgba(255,255,255,.35);
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background .3s;
}
.hero-dots .dot.is-active { background: var(--accent); }

/* ── Stats ─────────────────────────────────────────────── */
.stats { background: var(--accent); }
.stats-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 42px 24px;
  text-align: center;
  color: #fff;
  border-right: 1px solid rgba(255,255,255,.18);
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: 'Archivo', sans-serif;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 900;
  line-height: 1;
}
.stat-plus { font-family: 'Archivo', sans-serif; font-size: 1.8rem; font-weight: 900; vertical-align: super; }
.stat p { font-size: .82rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-top: 8px; color: rgba(255,255,255,.85); }

/* ── About ─────────────────────────────────────────────── */
.about { padding: 100px 0; }
.about-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.about-media { position: relative; padding-bottom: 50px; padding-right: 50px; }
.about-img-1 {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 8px;
}
.about-img-2 {
  position: absolute;
  bottom: 0; right: 0;
  width: 52%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 8px;
  border: 6px solid #fff;
  box-shadow: 0 18px 40px rgba(15,27,45,.18);
}
.about-tag {
  position: absolute;
  top: 26px; left: -16px;
  background: var(--ink);
  color: #fff;
  padding: 16px 20px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 14px 32px rgba(15,27,45,.25);
}
.about-tag i { font-size: 1.6rem; color: var(--accent); }
.about-tag strong { display: block; font-family: 'Archivo'; font-size: 1.5rem; font-weight: 900; line-height: 1; }
.about-tag span { font-size: .72rem; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,.65); }

.checks { margin: 24px 0 32px; }
.checks li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  font-weight: 600;
  font-size: .96rem;
  color: var(--ink);
}
.checks i { color: var(--accent); font-size: 1.05rem; }

/* ── Services ──────────────────────────────────────────── */
.services { padding: 100px 0; background: var(--bg-alt); }
.svc-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.svc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
  display: flex;
  flex-direction: column;
}
.svc:hover { transform: translateY(-8px); box-shadow: 0 24px 48px rgba(15,27,45,.14); border-color: transparent; }
.svc-img {
  position: relative;
  height: 200px;
  background-size: cover;
  background-position: center;
}
.svc-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,27,45,.45), transparent 60%);
}
.svc-ico {
  position: absolute;
  bottom: -26px; left: 28px;
  width: 56px; height: 56px;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  z-index: 2;
  box-shadow: 0 10px 22px rgba(200,71,43,.35);
  transition: transform .35s var(--ease);
}
.svc:hover .svc-ico { transform: translateY(-4px) scale(1.05); }
.svc-body { padding: 42px 28px 28px; flex: 1; display: flex; flex-direction: column; }
.svc-body h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 10px; }
.svc-body p { color: var(--muted); font-size: .94rem; margin-bottom: 18px; flex: 1; }
.svc-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .3px;
}
.svc-link i { transition: transform .25s; }
.svc:hover .svc-link i { transform: translateX(4px); }

/* ── Why / expertise ───────────────────────────────────── */
.why {
  padding: 100px 0;
  background:
    linear-gradient(rgba(15,27,45,.93), rgba(15,27,45,.93)),
    url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=1920&q=70') center/cover fixed;
}
.why-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.why-head { max-width: 620px; margin-bottom: 56px; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-item {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  padding: 32px 26px;
  transition: background .3s, transform .3s var(--ease), border-color .3s;
}
.why-item:hover { background: rgba(255,255,255,.07); transform: translateY(-6px); border-color: var(--accent); }
.why-ico {
  width: 58px; height: 58px;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.why-item h4 { color: #fff; font-size: 1.12rem; font-weight: 800; margin-bottom: 10px; }
.why-item p { color: rgba(255,255,255,.62); font-size: .92rem; }

/* ── Projects ──────────────────────────────────────────── */
.projects { padding: 100px 0; }
.prj-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.prj {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  display: block;
}
.prj img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.prj:hover img { transform: scale(1.08); }
.prj-info {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  background: linear-gradient(to top, rgba(15,27,45,.92) 0%, rgba(15,27,45,.2) 55%, transparent 100%);
  transform: translateY(14px);
  transition: transform .4s var(--ease);
}
.prj:hover .prj-info { transform: translateY(0); }
.prj-tag {
  align-self: flex-start;
  background: var(--accent);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 3px;
  margin-bottom: 10px;
}
.prj-info h4 { color: #fff; font-size: 1.2rem; font-weight: 800; margin-bottom: 5px; }
.prj-info p { color: rgba(255,255,255,.7); font-size: .88rem; }

/* ── Partners ──────────────────────────────────────────── */
.partners { padding: 56px 0; background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.partners-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; text-align: center; }
.partners-label {
  font-size: .78rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--muted); margin-bottom: 28px;
}
.partners-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px 48px;
}
.partner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: .5px;
  color: var(--ink);
  opacity: .5;
  transition: opacity .3s, color .3s;
}
.partner i { color: var(--accent); font-size: 1.3rem; }
.partner:hover { opacity: 1; }

/* ── CTA ───────────────────────────────────────────────── */
.cta { padding: 0 28px; max-width: var(--maxw); margin: 90px auto; }
.cta-inner {
  background:
    linear-gradient(120deg, var(--accent) 0%, var(--accent-dk) 100%);
  border-radius: 14px;
  padding: 54px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  box-shadow: 0 26px 56px rgba(200,71,43,.28);
}
.cta-inner h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 800; margin-bottom: 8px; }
.cta-inner p { color: rgba(255,255,255,.88); font-size: 1.02rem; }

/* ── Contact ───────────────────────────────────────────── */
.contact { padding: 100px 0; background: var(--bg-alt); }
.contact-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 60px;
  align-items: start;
}
.contact-info { padding-top: 8px; }
.cinfo {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.cinfo-ico {
  width: 48px; height: 48px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.cinfo small { display: block; font-size: .72rem; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.cinfo a, .cinfo span { font-weight: 600; color: var(--ink); transition: color .25s; }
.cinfo a:hover { color: var(--accent); }
.cinfo-social { display: flex; gap: 10px; margin-top: 26px; }
.cinfo-social a {
  width: 42px; height: 42px;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  transition: background .25s, transform .25s;
}
.cinfo-social a:hover { background: var(--accent); transform: translateY(-3px); }
.cinfo-social a.wa:hover { background: #25D366; }

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 18px 44px rgba(15,27,45,.06);
}
.form-success {
  background: #e7f8ee;
  border: 1px solid #b7e6c9;
  color: #16794a;
  border-radius: 8px;
  padding: 14px 18px;
  font-weight: 600;
  font-size: .92rem;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.form-success.hidden { display: none; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fgroup { margin-bottom: 18px; }
.fgroup label { display: block; font-size: .8rem; font-weight: 700; color: var(--ink); margin-bottom: 7px; }
.req { color: var(--accent); }
.field {
  width: 100%;
  background: var(--bg-alt);
  border: 1.5px solid var(--line);
  border-radius: 7px;
  padding: 12px 15px;
  font-family: 'Inter', sans-serif;
  font-size: .92rem;
  color: var(--text);
  transition: border-color .25s, background .25s, box-shadow .25s;
  outline: none;
}
.field::placeholder { color: #aab2bf; }
.field:focus { border-color: var(--accent); background: #fff; box-shadow: 0 0 0 3px rgba(200,71,43,.1); }
textarea.field { resize: vertical; min-height: 120px; }
.ferr { display: none; font-size: .76rem; color: #d6453a; margin-top: 5px; }
.fgroup.error .ferr { display: block; }
.fgroup.error .field { border-color: #d6453a; }
.btn-loading.hidden { display: none; }

/* ── Footer ────────────────────────────────────────────── */
.footer { background: var(--ink); color: rgba(255,255,255,.62); }
.footer-top {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 70px 28px 50px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 40px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand strong { font-family: 'Archivo'; font-size: .95rem; color: #fff; letter-spacing: .3px; }
.footer-about p { font-size: .92rem; line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 9px; }
.footer-social a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.07);
  color: #fff;
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  transition: background .25s, transform .25s;
}
.footer-social a:hover { background: var(--accent); transform: translateY(-3px); }
.footer-col h5 { color: #fff; font-size: .95rem; font-weight: 800; margin-bottom: 18px; letter-spacing: .3px; }
.footer-col a, .footer-col span { display: flex; align-items: center; gap: 9px; font-size: .9rem; padding: 6px 0; transition: color .25s; }
.footer-col a:hover { color: var(--accent); }
.footer-col i { color: var(--accent); font-size: .82rem; width: 16px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 22px 28px;
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: .82rem;
  color: rgba(255,255,255,.4);
}

/* ── Floating buttons ──────────────────────────────────── */
@keyframes pulse-wa {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,.6); }
  70%  { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
.wa-float {
  position: fixed; right: 26px; bottom: 26px;
  width: 56px; height: 56px;
  background: #25D366; color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  z-index: 980;
  animation: pulse-wa 2.5s infinite;
  transition: transform .3s var(--ease);
}
.wa-float:hover { transform: scale(1.1); animation: none; box-shadow: 0 8px 24px rgba(37,211,102,.5); color: #fff; }

.top-btn {
  position: fixed; right: 26px; bottom: 94px;
  width: 46px; height: 46px;
  background: var(--ink); color: #fff;
  border: none; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  z-index: 978;
  opacity: 0; pointer-events: none;
  transform: translateY(10px);
  transition: opacity .3s, transform .3s, background .25s;
  cursor: pointer;
}
.top-btn.visible { opacity: 1; pointer-events: auto; transform: none; }
.top-btn:hover { background: var(--accent); }

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 992px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .prj-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-media { max-width: 560px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }

  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    top: calc(var(--nav-h) + var(--top-h));
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 0 20px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(15,27,45,.1);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s, transform .25s;
  }
  .nav-menu.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-link { padding: 14px 28px; border-radius: 0; }
  .nav-link::after { display: none; }
  .nav-cta { margin: 12px 28px 0; text-align: center; padding: 13px; }
  .navbar.scrolled .nav-menu { top: calc(66px + var(--top-h)); }
}

@media (max-width: 700px) {
  :root { --top-h: 0px; }
  .topbar { display: none; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.18); }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,.18); }
  .svc-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .prj-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .cta-inner { padding: 40px 28px; flex-direction: column; align-items: flex-start; text-align: left; }
  .nav-menu { top: var(--nav-h); }
  .navbar.scrolled .nav-menu { top: 66px; }
}

@media (max-width: 560px) {
  .about-media { padding-right: 30px; padding-bottom: 40px; }
  .about-tag { left: 0; }
  .contact-form { padding: 28px 22px; }
  .frow { grid-template-columns: 1fr; gap: 0; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .brand-text strong { font-size: .82rem; }
}
