/* =========================================================
   NORMES & DIMENSIONS — Design System
   Style : corporate élégant, palette noir/rouge/blanc
   ========================================================= */

/* ---------- 1. RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, picture, video, svg { max-width: 100%; display: block; }
input, button, textarea, select { font: inherit; }
a { color: inherit; text-decoration: none; }
button { background: none; border: 0; cursor: pointer; color: inherit; }

/* ---------- 2. TOKENS ---------- */
:root {
  --red: #E63946;
  --red-dark: #C9182B;
  --red-soft: #FDECEE;
  --black: #0F0F12;
  --gray-900: #1F1F24;
  --gray-700: #374151;
  --gray-500: #6B7280;
  --gray-300: #D1D5DB;
  --gray-200: #E5E7EB;
  --gray-100: #F3F4F6;
  --gray-50: #F7F7F9;
  --white: #FFFFFF;

  --font-heading: 'Manrope', 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --container: 1200px;
  --container-narrow: 960px;
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(15,15,18,.06);
  --shadow: 0 8px 24px rgba(15,15,18,.08);
  --shadow-lg: 0 20px 50px rgba(15,15,18,.14);
  --transition: .25s cubic-bezier(.4,0,.2,1);
  --transition-slow: .5s cubic-bezier(.4,0,.2,1);

  --header-h: 84px;
}

/* ---------- 3. BODY & TYPOGRAPHY ---------- */
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--gray-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--black);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
}

h1 { font-size: clamp(2.25rem, 4.5vw + .5rem, 4rem); }
h2 { font-size: clamp(1.875rem, 2.5vw + .5rem, 2.75rem); }
h3 { font-size: clamp(1.375rem, 1.4vw + .5rem, 1.75rem); }
h4 { font-size: 1.25rem; font-weight: 700; }
p  { color: var(--gray-700); }

a:hover { color: var(--red); }

::selection { background: var(--red); color: #fff; }

/* ---------- 4. UTILITIES ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.container.narrow { max-width: var(--container-narrow); }

.section { padding-block: clamp(64px, 8vw, 120px); }
.section--tight { padding-block: clamp(48px, 5vw, 80px); }
.section--alt { background: var(--gray-50); }
.section--dark { background: var(--black); color: #d3d3d6; }
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: #fff; }

.text-center { text-align: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--red);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  background: var(--red);
}

.section-title { margin-bottom: 16px; }
.section-lead {
  color: var(--gray-500);
  max-width: 680px;
  margin: 0 auto 56px;
  font-size: 1.05rem;
}
.section-lead.left { margin-inline: 0; }

/* ---------- 5. BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .02em;
  border-radius: 4px;
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.btn--primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 8px 20px rgba(230,57,70,.25);
}
.btn--primary:hover {
  background: var(--red-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(230,57,70,.35);
}
.btn--dark {
  background: var(--black);
  color: #fff;
}
.btn--dark:hover { background: var(--gray-900); color: #fff; transform: translateY(-2px); }
.btn--ghost {
  background: transparent;
  color: var(--black);
  border: 1.5px solid var(--black);
}
.btn--ghost:hover { background: var(--black); color: #fff; }
.btn--light {
  background: #fff;
  color: var(--black);
}
.btn--light:hover { background: var(--red); color: #fff; }
.btn .arrow { transition: transform var(--transition); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- 6. HEADER ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
  overflow: visible;
}
.site-header.is-scrolled {
  border-bottom-color: var(--gray-200);
  box-shadow: 0 2px 12px rgba(15,15,18,.05);
}
.site-header .container {
  overflow: visible;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
  overflow: visible;
}
.brand img {
  height: 120px;
  width: auto;
  display: block;
  position: relative;
  z-index: 211;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid var(--gray-300);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  transition: height var(--transition), margin var(--transition);
}
.brand {
  display: inline-flex;
  align-items: flex-end;
  gap: 12px;
  align-self: flex-end;
  position: relative;
  z-index: 210;
  flex-shrink: 0;
  margin-bottom: -52px;
  transition: margin-bottom var(--transition);
}
.site-header.is-scrolled .brand {
  margin-bottom: -36px;
}
.site-header.is-scrolled .brand img {
  height: 88px;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  padding-bottom: 6px;
}
.brand-text strong {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--black);
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  transition: color var(--transition);
}
.brand-text span {
  font-size: .7rem;
  color: var(--gray-500);
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color var(--transition);
}

/* Texte brand lisible sur le hero sombre (haut de page) */
.site-header:not(.is-scrolled) .brand-text strong {
  color: #fff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55);
}
.site-header:not(.is-scrolled) .brand-text span {
  color: rgba(255, 255, 255, 0.82);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

/* Après scroll : texte sombre sur header blanc */
.site-header.is-scrolled .brand-text strong {
  color: var(--black);
  text-shadow: none;
}
.site-header.is-scrolled .brand-text span {
  color: var(--gray-500);
  text-shadow: none;
}

.nav { display: flex; align-items: center; gap: 8px; }
.nav a {
  position: relative;
  padding: 10px 14px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .94rem;
  color: var(--gray-900);
  border-radius: 6px;
  transition: var(--transition);
}
.nav a:hover { color: var(--red); }
.nav a.active { color: var(--red); }
.nav a.active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}
.header-cta { display: inline-flex; }

.burger {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: auto;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  background: #fff;
  position: relative;
  z-index: 160;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--black);
  position: relative;
  transition: var(--transition);
}
.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--black);
  transition: var(--transition);
}
.burger span::before { top: -7px; }
.burger span::after  { top:  7px; }
.burger.is-open span { background: transparent; }
.burger.is-open span::before { top: 0; transform: rotate(45deg); }
.burger.is-open span::after  { top: 0; transform: rotate(-45deg); }

.nav-overlay { display: none; }

/* ---------- Mobile navigation panel ---------- */
@media (max-width: 768px) {
  body.menu-open .site-header {
    z-index: 10003;
  }

  body.menu-open .burger {
    position: relative;
    z-index: 10004;
    border-color: var(--red);
  }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 10002;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin: 0;
    padding: calc(var(--header-h) + 56px) 20px 32px;
    background: #fff;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .28s ease, visibility .28s ease;
    border-top: 4px solid var(--red);
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav::before {
    content: "Navigation";
    display: block;
    font-family: var(--font-heading);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 8px;
  }

  .nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 16px;
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--black) !important;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    border-bottom: 1px solid var(--gray-200);
  }

  .nav a::after {
    content: "→";
    font-size: 1rem;
    color: var(--gray-500);
    transition: transform var(--transition), color var(--transition);
  }

  .nav a:hover,
  .nav a:focus-visible {
    color: var(--red) !important;
    border-color: var(--red);
    background: var(--red-soft);
  }

  .nav a:hover::after,
  .nav a:focus-visible::after {
    color: var(--red);
    transform: translateX(4px);
  }

  .nav a.active {
    color: var(--red) !important;
    background: var(--red-soft);
    border-color: var(--red);
    box-shadow: inset 4px 0 0 var(--red);
  }

  .nav a.active::after {
    content: "→";
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    height: auto;
    display: inline;
    color: var(--red);
    background: none;
    border-radius: 0;
  }

  .nav-mobile-cta {
    display: inline-flex !important;
    justify-content: center;
    margin-top: 12px;
    padding: 16px 20px !important;
    font-size: 1rem !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: var(--red) !important;
    color: #fff !important;
    box-shadow: 0 10px 24px rgba(230, 57, 70, .28);
  }

  .nav-mobile-cta::after {
    display: none !important;
  }

  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 10001;
    background: rgba(15, 15, 18, 0.55);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .28s ease, visibility .28s ease;
    border: 0;
    padding: 0;
    cursor: pointer;
  }

  .nav-overlay.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}

@media (min-width: 769px) {
  .nav-mobile-cta { display: none !important; }
  .nav::before { display: none; }
}

/* ---------- 7. HERO ---------- */
.hero {
  position: relative;
  z-index: 1;
  color: #fff;
  min-height: clamp(560px, 78vh, 760px);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.1s ease, transform 6s ease;
}
.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(15, 15, 18, 0.78) 0%,
    rgba(15, 15, 18, 0.45) 60%,
    rgba(15, 15, 18, 0.7) 100%
  );
  pointer-events: none;
}
.hero::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 8px;
  background: var(--red);
  z-index: 3;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  padding-block: 60px;
}
.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: transform var(--transition), background var(--transition);
}
.hero-dot.is-active {
  background: var(--red);
  transform: scale(1.15);
}
.hero-dot:hover {
  background: rgba(255, 255, 255, 0.75);
}
.hero-dot.is-active:hover {
  background: var(--red-dark);
}
.hero-content h1 { color: #fff; }
.hero-content h1 .accent { color: var(--red); }
.hero-content .eyebrow { color: #fff; }
.hero-content .eyebrow::before { background: var(--red); }
.hero-lead {
  font-size: 1.1rem;
  color: rgba(255,255,255,.86);
  margin: 22px 0 36px;
  max-width: 560px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 60px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.18);
}
.hero-meta dt {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
}
.hero-meta dd {
  font-size: .82rem;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin: 0;
}

.hero-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
}
.hero-card::after {
  content: "";
  position: absolute;
  top: -1px; right: -1px;
  width: 80px;
  height: 80px;
  border-top: 3px solid var(--red);
  border-right: 3px solid var(--red);
  border-top-right-radius: var(--radius-lg);
}
.hero-card h3 { color: #fff; margin-bottom: 8px; font-size: 1.4rem; }
.hero-card .price {
  color: var(--red);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 18px;
}
.hero-card ul { display: grid; gap: 10px; }
.hero-card li {
  display: flex;
  gap: 10px;
  color: rgba(255,255,255,.85);
  font-size: .94rem;
}
.hero-card li::before {
  content: "";
  flex: 0 0 18px;
  height: 18px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--red);
  position: relative;
}

/* ---------- 8. SERVICES CARDS (Home & Services pages) ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.service-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: var(--transition);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.service-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  height: 4px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-slow);
}
.service-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card .icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--red-soft);
  color: var(--red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}
.service-card .icon svg { width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.service-card h3 { font-size: 1.25rem; }
.service-card p { color: var(--gray-500); font-size: .96rem; }
.service-card .more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .9rem;
  color: var(--black);
}
.service-card .more::after {
  content: "→";
  transition: var(--transition);
}
.service-card:hover .more { color: var(--red); }
.service-card:hover .more::after { transform: translateX(4px); }

/* ---------- 9. ABOUT SPLIT ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split--reverse > :first-child { order: 2; }
.split-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow);
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media::after {
  content: "";
  position: absolute;
  inset: auto -20px -20px auto;
  width: 120px;
  height: 120px;
  background: var(--red);
  border-radius: var(--radius-lg);
  z-index: -1;
}
.split-text ul {
  display: grid;
  gap: 14px;
  margin: 24px 0 32px;
}
.split-text li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--gray-700);
}
.split-text li::before {
  content: "✓";
  flex: 0 0 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 700;
  margin-top: 2px;
}

/* ---------- 10. STATS ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  text-align: center;
}
.stat {
  padding: 30px 20px;
  border-right: 1px solid var(--gray-200);
}
.stat:last-child { border-right: 0; }
.stat .num {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--black);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}
.stat .num .plus { color: var(--red); }
.stat .label {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .82rem;
  font-weight: 600;
  color: var(--gray-500);
}

/* ---------- 11. FEATURED PROJECT ---------- */
.featured-project {
  position: relative;
  background: var(--black);
  color: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}
.featured-project .media { min-height: 460px; }
.featured-project .media img { width: 100%; height: 100%; object-fit: cover; }
.featured-project .body { padding: 60px 50px; }
.featured-project h3 { color: #fff; margin-bottom: 14px; font-size: 1.9rem; }
.featured-project p { color: rgba(255,255,255,.75); margin-bottom: 28px; }
.featured-project ul { display: grid; gap: 12px; margin-bottom: 32px; }
.featured-project li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.85);
}
.featured-project li::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--red);
  border-radius: 2px;
}

/* ---------- 12. CTA BAND ---------- */
.cta-band {
  background:
    radial-gradient(1200px 400px at 80% 0%, rgba(230,57,70,.18), transparent 60%),
    var(--black);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 60px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}
.cta-band h2 { color: #fff; max-width: 640px; }
.cta-band p { color: rgba(255,255,255,.75); margin-top: 14px; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }

/* ---------- 13. PAGE HEADER (sub pages) ---------- */
.page-hero {
  position: relative;
  z-index: 1;
  background:
    linear-gradient(135deg, rgba(15,15,18,.88), rgba(15,15,18,.7)),
    url("https://images.unsplash.com/photo-1486325212027-8081e485255e?auto=format&fit=crop&w=1920&q=80") center/cover no-repeat;
  color: #fff;
  padding: clamp(80px, 12vw, 160px) 0 clamp(56px, 8vw, 100px);
  text-align: center;
  border-bottom: 4px solid var(--red);
}
.page-hero h1 { color: #fff; max-width: 820px; margin: 0 auto 14px; }
.page-hero p { color: rgba(255,255,255,.78); max-width: 680px; margin: 0 auto; font-size: 1.05rem; }
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-bottom: 18px;
}
.breadcrumb a { color: var(--red); }
.breadcrumb a:hover { color: #fff; }

/* ---------- 14. SERVICE DETAIL ---------- */
.service-detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: start;
}
.service-content h2 { margin: 36px 0 14px; }
.service-content h3 { margin: 28px 0 10px; font-size: 1.3rem; }
.service-content p { margin-bottom: 14px; }
.service-content ul { margin: 14px 0 18px; display: grid; gap: 10px; }
.service-content ul li {
  display: flex; gap: 12px; align-items: flex-start;
  color: var(--gray-700);
}
.service-content ul li::before {
  content: "";
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 2px;
  margin-top: 10px;
}
.service-content img {
  width: 100%;
  border-radius: var(--radius-lg);
  margin: 20px 0;
}

.sidebar { position: sticky; top: calc(var(--header-h) + 24px); }
.sidebar-card {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 20px;
}
.sidebar-card h4 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 18px;
  color: var(--black);
}
.sidebar-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 600;
  color: var(--gray-700);
  transition: var(--transition);
}
.sidebar-list a:hover { background: #fff; color: var(--red); }
.sidebar-list a.active { background: var(--black); color: #fff; }
.sidebar-list a.active::after { content: "→"; }

.sidebar-cta {
  background: var(--black);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 30px;
}
.sidebar-cta h4 { color: #fff; margin-bottom: 10px; }
.sidebar-cta p { color: rgba(255,255,255,.75); margin-bottom: 18px; font-size: .9rem; }

/* ---------- 15. GALLERY ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: zoom-in;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--transition-slow);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(15,15,18,.92), transparent);
  color: #fff;
}
.gallery-item .caption strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.gallery-item .caption span {
  font-size: .82rem;
  color: rgba(255,255,255,.75);
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ---------- 16. VALUES ---------- */
.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.value-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
}
.value-card:hover { border-color: var(--red); transform: translateY(-4px); }
.value-card .icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: var(--black);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.value-card .icon svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.value-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.value-card p { color: var(--gray-500); font-size: .94rem; }

/* ---------- 17. CONTACT ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-info {
  display: grid;
  gap: 22px;
}
.contact-block {
  display: flex;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  transition: var(--transition);
}
.contact-block:hover {
  border-color: var(--red);
  box-shadow: var(--shadow);
  transform: translateX(4px);
}
.contact-block .icon {
  flex: 0 0 48px;
  width: 48px; height: 48px;
  border-radius: 10px;
  background: var(--red);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.contact-block .icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.contact-block h4 {
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--gray-500);
  margin-bottom: 6px;
  font-weight: 700;
}
.contact-block p, .contact-block a {
  color: var(--black);
  font-weight: 600;
  display: block;
  line-height: 1.5;
}
.contact-block a:hover { color: var(--red); }

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 100%;
  min-height: 480px;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- 18. FOOTER ---------- */
.site-footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 24px;
  border-top: 4px solid var(--red);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-grid .brand {
  align-items: flex-start;
  flex-direction: column;
  gap: 16px;
}
.footer-grid .brand img {
  height: 72px;
  width: auto;
  display: block;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid var(--gray-300);
  border-radius: 10px;
  box-shadow: none;
}
.footer-grid .brand-text { display: none; }
.footer-about p {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.65);
  font-size: .95rem;
  max-width: 320px;
}
.footer-grid h4 {
  color: #fff;
  font-size: .85rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-grid ul { display: grid; gap: 10px; }
.footer-grid ul a {
  color: rgba(255, 255, 255, 0.65);
  font-size: .94rem;
  transition: var(--transition);
}
.footer-grid ul a:hover { color: var(--red); padding-left: 4px; }

.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .94rem;
  color: rgba(255, 255, 255, 0.65);
}
.footer-contact .ico {
  flex: 0 0 18px;
  color: var(--red);
}
.footer-contact a { color: #fff; }
.footer-contact a:hover { color: var(--red); }

.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.socials a:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  transform: translateY(-3px);
}
.socials svg { width: 16px; height: 16px; fill: currentColor; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  font-size: .85rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer-bottom strong { color: #fff; font-weight: 600; }

/* ---------- 19. FLOATING ACTIONS ---------- */
.float-wa {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 12px 28px rgba(37,211,102,.4);
  transition: var(--transition);
  animation: pulse 2.4s infinite;
}
.float-wa:hover { transform: scale(1.08); color: #fff; }
.float-wa svg { width: 28px; height: 28px; fill: currentColor; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 12px 28px rgba(37,211,102,.4), 0 0 0 0 rgba(37,211,102,.5); }
  50%      { box-shadow: 0 12px 28px rgba(37,211,102,.4), 0 0 0 16px rgba(37,211,102,0); }
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 90px;
  z-index: 90;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--black);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: var(--transition);
}
.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover { background: var(--red); color: #fff; }
.back-to-top svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- 20. REVEAL ANIMATION ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 21. RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split--reverse > :first-child { order: 0; }
  .split-media { aspect-ratio: 16/10; }
  .featured-project { grid-template-columns: 1fr; }
  .featured-project .media { min-height: 280px; }
  .featured-project .body { padding: 40px 30px; }
  .service-detail-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { grid-template-columns: 1fr; padding: 40px; }
  .cta-band .actions { justify-content: flex-start; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 80px; }
  .header-inner { position: relative; align-items: center; }
  .brand {
    margin-bottom: -44px;
  }
  .brand img {
    height: 96px;
    padding: 8px 12px;
  }
  .site-header.is-scrolled .brand {
    margin-bottom: -28px;
  }
  .site-header.is-scrolled .brand img {
    height: 72px;
  }
  .brand-text { display: none; }
  .header-cta { display: none; }
  .burger { display: flex; }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-meta { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .hero-meta dt { font-size: 1.5rem; }
  .hero-card { padding: 28px 24px; }
  .stat { border-right: 0; border-bottom: 1px solid var(--gray-200); padding-block: 22px; }
  .stat:last-child { border-bottom: 0; }
  .featured-project .body { padding: 30px 22px; }
  .cta-band { padding: 32px 24px; }
  .section { padding-block: 60px; }
}

@media (max-width: 480px) {
  .hero-actions .btn { width: 100%; justify-content: center; }
  .footer-bottom { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-slide { transform: none !important; transition: none !important; }
  .hero-slide:not(.is-active) { display: none; }
}
