/* ================================================================
   DELTA 3D SARL AU — Feuille de style principale
   Primaire : #030667  |  Accent : #0ba408
   Architecture inspirée de 3HK CONSTRUCTION (multipage)
   ================================================================ */

/* ── VARIABLES ── */
:root {
  --primary:        #030667;
  --primary-dark:   #020450;
  --primary-light:  #0d10a0;
  --accent:         #0ba408;
  --accent-dark:    #088a05;
  --accent-light:   #13c910;
  --white:          #ffffff;
  --off-white:      #f5f6fb;
  --gray-100:       #eef0f7;
  --gray-200:       #d8dce8;
  --gray-400:       #8b90a8;
  --gray-600:       #545970;
  --gray-800:       #2a2d3e;
  --text:           #1a1d2e;

  --font-heading: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  --font-body:    'Open Sans', 'Segoe UI', Arial, sans-serif;

  --radius:     6px;
  --radius-lg:  12px;
  --shadow-sm:  0 2px 8px rgba(3,6,103,.08);
  --shadow-md:  0 6px 24px rgba(3,6,103,.13);
  --shadow-lg:  0 12px 48px rgba(3,6,103,.18);
  --transition: 250ms ease;

  --header-h: 72px;
  --container: 1180px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ── SKIP LINK ── */
.skip-link {
  position: absolute; top: -100px; left: 1rem;
  background: var(--accent); color: var(--white);
  padding: .4rem 1rem; border-radius: var(--radius);
  font-weight: 600; z-index: 9999;
  transition: top var(--transition);
}
.skip-link:focus { top: 1rem; }

/* ── CONTAINER ── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
}
h1 { font-size: clamp(1.9rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .7rem 1.75rem;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-weight: 600; font-size: .95rem;
  border: 2px solid transparent;
  transition: all var(--transition);
  cursor: pointer; white-space: nowrap;
}
.primary-btn {
  background: var(--accent); color: var(--white); border-color: var(--accent);
}
.primary-btn:hover {
  background: var(--accent-dark); border-color: var(--accent-dark);
  transform: translateY(-2px); box-shadow: var(--shadow-md);
}
.secondary-btn {
  background: transparent; color: var(--white); border-color: rgba(255,255,255,.7);
}
.secondary-btn:hover {
  background: var(--white); color: var(--primary); border-color: var(--white);
  transform: translateY(-2px);
}
.outline-btn {
  background: transparent; color: var(--primary); border-color: var(--primary);
}
.outline-btn:hover {
  background: var(--primary); color: var(--white);
  transform: translateY(-2px);
}
.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* ── SECTION TITLE ── */
.section-title {
  margin-bottom: 2.5rem;
}
.section-title h2 { color: var(--primary); margin-bottom: .6rem; }
.section-title p   { color: var(--gray-600); font-size: 1.05rem; max-width: 660px; }
.section-title.center { text-align: center; }
.section-title.center p { margin: 0 auto; }

.section-label {
  display: inline-block;
  font-size: .78rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent); margin-bottom: .5rem;
}
.section-rule {
  width: 48px; height: 4px;
  background: var(--accent);
  border-radius: 99px;
  margin-top: .6rem;
}
.section-title.center .section-rule { margin: .6rem auto 0; }

/* ================================================================
   HEADER & NAV
   ================================================================ */
.main-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(3,6,103,.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  height: var(--header-h);
  transition: box-shadow var(--transition);
}
.main-header.scrolled { box-shadow: var(--shadow-md); }

.header-container {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
}

/* Logo */
.logo a {
  display: flex; align-items: center; gap: .7rem;
  text-decoration: none;
}
.logo-svg { flex-shrink: 0; }
.logo-text { line-height: 1.1; }
.logo-name {
  font-family: var(--font-heading);
  font-size: 1.1rem; font-weight: 800;
  color: var(--white); letter-spacing: .02em;
}
.logo-sub {
  font-size: .68rem; font-weight: 600;
  color: var(--accent); letter-spacing: .08em;
  text-transform: uppercase;
}

/* Desktop nav */
.main-nav ul {
  display: flex; align-items: center; gap: .25rem;
}
.main-nav a {
  display: block;
  color: rgba(255,255,255,.82);
  font-family: var(--font-heading);
  font-size: .88rem; font-weight: 500;
  padding: .45rem 1rem;
  border-radius: var(--radius);
  letter-spacing: .03em;
  transition: color var(--transition);
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute; bottom: 4px; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 2px;
  background: var(--accent); border-radius: 99px;
  transition: width var(--transition);
}
.main-nav a:hover, .main-nav a.active { color: var(--white); }
.main-nav a:hover::after, .main-nav a.active::after { width: calc(100% - 2rem); }
.main-nav a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* CTA nav */
.nav-cta {
  margin-left: 1rem;
  background: var(--accent); color: var(--white) !important;
  border-radius: var(--radius); padding: .45rem 1.2rem !important;
  font-weight: 700 !important; border: 2px solid var(--accent);
  transition: all var(--transition) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--accent-dark) !important; border-color: var(--accent-dark) !important; }

/* Hamburger */
.mobile-menu-toggle {
  display: none;
  flex-direction: column; justify-content: space-around;
  width: 32px; height: 28px;
  cursor: pointer; z-index: 1100;
  padding: 2px;
}
.mobile-menu-toggle span {
  display: block; width: 100%; height: 2px;
  background: var(--white); border-radius: 99px;
  transition: all var(--transition);
  transform-origin: center;
}
.mobile-menu-toggle.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.mobile-menu-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-menu-toggle.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
  background: var(--primary-dark);
  flex-direction: column;
  padding: 2rem 1.5rem;
  gap: .25rem;
  z-index: 999; overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav ul { display: flex; flex-direction: column; gap: .25rem; }
.mobile-nav a {
  display: block; color: rgba(255,255,255,.88);
  font-family: var(--font-heading); font-size: 1.15rem; font-weight: 500;
  padding: 1rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
  transition: color var(--transition);
}
.mobile-nav a:hover, .mobile-nav a.active { color: var(--accent); }
.mobile-nav .nav-cta {
  margin-top: 1.5rem; text-align: center;
  background: var(--accent); color: var(--white) !important;
  padding: 1rem 1.5rem !important;
  border-radius: var(--radius); font-weight: 700 !important;
  border-bottom: none !important;
  display: block;
}

/* ================================================================
   HERO SLIDER (page accueil)
   ================================================================ */
.hero-slider {
  position: relative;
  width: 100%; height: 100vh; min-height: 580px;
  overflow: hidden;
  margin-top: var(--header-h);
}

/* Slides */
.slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity .9s cubic-bezier(.4,0,.2,1);
  z-index: 0;
}
.slide.active { opacity: 1; z-index: 1; }

/* Slide background */
.slide-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.04);
  transition: transform 6s ease;
}
.slide.active .slide-bg { transform: scale(1); }

/* Overlay gradient */
.slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    100deg,
    rgba(3,6,103,.88) 0%,
    rgba(3,6,103,.65) 55%,
    rgba(3,6,103,.3) 100%
  );
  z-index: 1;
}

/* Slide content */
.slide-content {
  position: absolute; inset: 0;
  z-index: 2;
  display: flex; align-items: center;
}
.slide-content .container { width: 100%; }
.slide-inner {
  max-width: 680px;
  transform: translateY(20px); opacity: 0;
  transition: transform .7s .3s ease, opacity .7s .3s ease;
}
.slide.active .slide-inner { transform: translateY(0); opacity: 1; }

.slide-label {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent-light); margin-bottom: 1rem;
}
.slide-label-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  animation: blink 2s infinite;
}
@keyframes blink {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:.5; transform:scale(1.5); }
}

.slide-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800; color: var(--white);
  line-height: 1.1; letter-spacing: -.02em;
  margin-bottom: 1rem;
}
.slide-title span { color: var(--accent-light); }

.slide-desc {
  color: rgba(255,255,255,.82);
  font-size: 1.05rem; line-height: 1.75;
  margin-bottom: 2rem; max-width: 560px;
}
.slide-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Slider controls */
.slider-controls {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex; align-items: center; gap: 1.5rem;
}
.slider-dots {
  display: flex; gap: .6rem;
}
.slider-dot {
  width: 10px; height: 10px;
  border-radius: 99px;
  background: rgba(255,255,255,.4);
  border: none; cursor: pointer;
  transition: all var(--transition);
  padding: 0;
}
.slider-dot.active {
  background: var(--accent);
  width: 28px;
}
.slider-arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  color: var(--white);
  font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
}
.slider-arrow:hover {
  background: var(--accent); border-color: var(--accent);
}
.slider-arrow:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Progress bar */
.slider-progress {
  position: absolute; bottom: 0; left: 0;
  height: 3px; background: var(--accent);
  z-index: 10;
  transition: width 5s linear;
}

/* ================================================================
   PAGE HERO (pages internes)
   ================================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: calc(var(--header-h) + 3.5rem) 0 3rem;
  position: relative; overflow: hidden;
  margin-top: 0;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: .75rem; }
.page-hero p  { color: rgba(255,255,255,.82); font-size: 1.05rem; max-width: 680px; line-height: 1.7; }
.breadcrumb {
  display: flex; align-items: center; gap: .5rem;
  font-size: .82rem; color: rgba(255,255,255,.6);
  margin-bottom: 1rem; font-family: var(--font-heading);
}
.breadcrumb a { color: rgba(255,255,255,.75); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--accent-light); }
.breadcrumb i { font-size: .65rem; color: var(--accent); }

/* ================================================================
   INTRO SECTION (accueil)
   ================================================================ */
.intro {
  padding: 5rem 0;
  background: var(--white);
}
.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 0;
}
.intro-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.intro-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--accent);
}
.intro-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-md);
  border-color: var(--gray-200);
}
.intro-card-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 1.35rem;
  margin-bottom: 1.25rem;
}
.intro-card h3 { color: var(--primary); margin-bottom: .5rem; }
.intro-card p  { color: var(--gray-600); font-size: .95rem; line-height: 1.7; }

/* ================================================================
   FEATURED PROJECTS (slider défilant)
   ================================================================ */
.featured-projects {
  padding: 5rem 0;
  background: var(--off-white);
  overflow: hidden;
}
.slider-wrapper {
  overflow: hidden;
  width: 100%;
  margin: 2rem 0 1.5rem;
  position: relative;
}
.slider-wrapper::before,
.slider-wrapper::after {
  content: '';
  position: absolute; top: 0; bottom: 0;
  width: 80px; z-index: 2; pointer-events: none;
}
.slider-wrapper::before { left: 0; background: linear-gradient(to right, var(--off-white), transparent); }
.slider-wrapper::after  { right: 0; background: linear-gradient(to left,  var(--off-white), transparent); }
.slider-track {
  display: flex;
  gap: 1rem;
  animation: scrollTrack 28s linear infinite;
  width: max-content;
}
.slider-track:hover { animation-play-state: paused; }
.slider-track img {
  height: 260px; width: auto;
  border-radius: var(--radius-lg);
  object-fit: cover;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  flex-shrink: 0;
}
.slider-track img:hover {
  transform: scale(1.03); box-shadow: var(--shadow-lg);
}
@keyframes scrollTrack {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.featured-projects-link {
  text-align: center; margin-top: 2rem;
}
.featured-projects-link .btn { color: var(--primary); border-color: var(--primary); }
.featured-projects-link .btn:hover { background: var(--primary); color: var(--white); }

/* ================================================================
   SERVICES PREVIEW (accueil)
   ================================================================ */
.services-preview {
  padding: 5rem 0;
  background: var(--white);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: all var(--transition);
  position: relative; overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--gray-100);
}
.service-card:hover::after { transform: scaleX(1); }
.service-card-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 1.5rem;
  margin-bottom: 1.25rem;
}
.service-card h3 { color: var(--primary); margin-bottom: .5rem; }
.service-card p  { color: var(--gray-600); font-size: .95rem; line-height: 1.75; flex: 1; }
.service-link {
  display: inline-flex; align-items: center; gap: .4rem;
  color: var(--accent); font-weight: 600; font-size: .9rem;
  font-family: var(--font-heading);
  margin-top: 1rem;
  transition: gap var(--transition), color var(--transition);
}
.service-link:hover { color: var(--accent-dark); gap: .7rem; }

/* ================================================================
   CTA BAND
   ================================================================ */
.cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 4rem 0;
  position: relative; overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4z'/%3E%3C/g%3E%3C/svg%3E");
}
.cta-container {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.cta-text h2 { color: var(--white); font-size: clamp(1.3rem, 2.5vw, 1.85rem); margin-bottom: .4rem; }
.cta-text p  { color: rgba(255,255,255,.8); max-width: 600px; }

/* ================================================================
   STATS BAND
   ================================================================ */
.stats-band {
  background: var(--off-white);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 3rem 0;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 2rem; text-align: center;
}
.stat-item {}
.stat-number {
  font-family: var(--font-heading); font-size: 2.5rem; font-weight: 800;
  color: var(--primary); line-height: 1; display: block;
}
.stat-unit {
  font-size: .8rem; color: var(--accent); font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
}
.stat-label { font-size: .9rem; color: var(--gray-600); margin-top: .3rem; }

/* ================================================================
   SERVICES DETAIL PAGE
   ================================================================ */
.services-detail { padding: 5rem 0; }

.service-detail-card {
  display: grid; grid-template-columns: 2fr 1fr;
  gap: 3rem; align-items: start;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--gray-200);
}
.service-detail-card:last-child { border-bottom: none; }

.service-detail-header {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 1.25rem;
}
.service-detail-icon {
  width: 56px; height: 56px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 1.5rem;
}
.service-detail-text h2 { color: var(--primary); }
.service-detail-text p {
  color: var(--gray-600); line-height: 1.8;
  margin-bottom: 1rem; font-size: .97rem;
}

.service-detail-side {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border-left: 4px solid var(--accent);
  position: sticky; top: calc(var(--header-h) + 1.5rem);
}
.service-detail-side h3 {
  color: var(--primary); font-size: 1rem;
  margin-bottom: 1rem;
}
.service-detail-side ul { display: flex; flex-direction: column; gap: .6rem; }
.service-detail-side li {
  display: flex; align-items: flex-start; gap: .6rem;
  color: var(--gray-600); font-size: .92rem; line-height: 1.5;
}
.service-detail-side li i {
  color: var(--accent); margin-top: .2rem; flex-shrink: 0;
}

/* ================================================================
   RÉALISATIONS PAGE
   ================================================================ */
.projects { padding: 5rem 0; }
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.project-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.project-card:hover {
  transform: translateY(-5px); box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}
.project-image {
  position: relative; overflow: hidden;
  height: 220px;
}
.project-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: transform .5s ease;
}
.project-card:hover .project-image img { transform: scale(1.06); }
.project-zoom-hint {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(3,6,103,.85));
  color: var(--white); font-size: .8rem;
  padding: 2rem .75rem .6rem;
  display: flex; align-items: center; justify-content: center; gap: .4rem;
  opacity: 0; transition: opacity var(--transition);
}
.project-card:hover .project-zoom-hint { opacity: 1; }
.project-content { padding: 1.5rem; }
.project-content h2 { font-size: 1.1rem; color: var(--primary); margin-bottom: .35rem; }
.project-type {
  font-size: .78rem; font-weight: 700;
  color: var(--accent); text-transform: uppercase;
  letter-spacing: .06em; margin-bottom: .6rem;
  display: flex; align-items: center; gap: .4rem;
}
.project-content p { color: var(--gray-600); font-size: .9rem; line-height: 1.65; }

/* ================================================================
   À PROPOS PAGE
   ================================================================ */
.about { padding: 5rem 0; }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
}
.about-block {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  border-top: 3px solid var(--accent);
  transition: box-shadow var(--transition);
}
.about-block:hover { box-shadow: var(--shadow-md); }
.about-block-icon {
  width: 50px; height: 50px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 1rem;
}
.about-block h2 { font-size: 1.2rem; color: var(--primary); margin-bottom: .75rem; }
.about-block p { color: var(--gray-600); font-size: .95rem; line-height: 1.8; margin-bottom: .7rem; }
.about-block p:last-child { margin-bottom: 0; }

/* Legal info table */
.about-legal {
  background: var(--primary);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-bottom: 3rem;
}
.about-legal h2 { color: var(--white); margin-bottom: 1.5rem; font-size: 1.3rem; }
.legal-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1.25rem;
}
.legal-item {}
.legal-label {
  font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: rgba(255,255,255,.55); margin-bottom: .2rem;
}
.legal-value {
  font-weight: 600; color: var(--white);
  font-family: var(--font-heading); font-size: .92rem;
}

/* Client focus */
.client-focus { padding: 5rem 0; background: var(--off-white); }
.process-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1.5rem; counter-reset: step;
}
.process-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  position: relative; overflow: hidden;
  counter-increment: step;
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}
.process-item::before {
  content: counter(step);
  position: absolute; top: -10px; right: -4px;
  font-family: var(--font-heading);
  font-size: 5rem; font-weight: 900;
  color: var(--primary); opacity: .06;
  line-height: 1;
}
.process-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.process-icon {
  width: 50px; height: 50px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; margin-bottom: 1.25rem;
}
.process-item h3 { color: var(--primary); margin-bottom: .5rem; }
.process-item p  { color: var(--gray-600); font-size: .92rem; line-height: 1.7; }

/* ================================================================
   CONTACT PAGE
   ================================================================ */
.contact-section { padding: 5rem 0; }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.5fr;
  gap: 3.5rem; align-items: start;
}
.contact-info-block h2 { color: var(--primary); margin-bottom: 1rem; }
.contact-info-block > p {
  color: var(--gray-600); margin-bottom: 2rem; line-height: 1.75;
}
.contact-info-cards {
  display: flex; flex-direction: column; gap: 1rem;
}
.contact-info-item {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.25rem;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}
.contact-info-item:hover {
  border-color: var(--accent); box-shadow: var(--shadow-sm);
}
.contact-info-item-icon {
  width: 46px; height: 46px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 1.1rem;
}
.contact-info-label {
  font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--gray-400); margin-bottom: .2rem;
}
.contact-info-value {
  color: var(--primary); font-weight: 600;
  font-size: .92rem; line-height: 1.5;
}
.contact-info-value a { color: var(--primary); transition: color var(--transition); }
.contact-info-value a:hover { color: var(--accent); }

/* Form */
.contact-form-block {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}
.contact-form-block h2 {
  color: var(--primary); margin-bottom: 1.5rem;
  padding-bottom: 1rem; border-bottom: 2px solid var(--gray-100);
}
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label {
  font-size: .85rem; font-weight: 700;
  color: var(--gray-800); font-family: var(--font-heading);
}
.form-group label span { color: var(--accent); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: .7rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: .97rem; color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--white); width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(3,6,103,.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-400); }
textarea { resize: vertical; min-height: 130px; }
.contact-note { font-size: .8rem; color: var(--gray-400); margin-top: .5rem; }
.form-success {
  display: none; padding: 1rem;
  background: rgba(11,164,8,.1); border: 1px solid var(--accent);
  border-radius: var(--radius); color: var(--accent-dark);
  font-weight: 600; text-align: center;
}
.form-success.visible { display: block; }

/* ================================================================
   IMAGE OVERLAY (zoom)
   ================================================================ */
.image-overlay,
.project-gallery-overlay {
  position: fixed; inset: 0;
  background: rgba(2,4,80,.95);
  z-index: 2000;
  display: none; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .3s ease;
}
.image-overlay.open,
.project-gallery-overlay.open {
  display: flex; opacity: 1;
}
.image-overlay-inner,
.project-gallery-inner {
  position: relative;
  max-width: 90vw; max-height: 90vh;
  display: flex; align-items: center; justify-content: center;
}
.image-overlay-inner img,
.project-gallery-image-wrapper img {
  max-width: 88vw; max-height: 88vh;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: contain;
}
.image-overlay-close,
.project-gallery-close {
  position: absolute; top: -2.5rem; right: 0;
  color: var(--white); background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%; width: 36px; height: 36px;
  font-size: 1.4rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background var(--transition);
}
.image-overlay-close:hover,
.project-gallery-close:hover { background: var(--accent); }

.project-gallery-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3);
  color: var(--white); font-size: 1.8rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background var(--transition);
  z-index: 2;
}
.project-gallery-nav:hover { background: var(--accent); }
.project-gallery-nav.prev { left: -4rem; }
.project-gallery-nav.next { right: -4rem; }
.project-gallery-caption {
  position: absolute; bottom: -2.2rem; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.7); font-size: .85rem;
  white-space: nowrap;
}
.project-gallery-image-wrapper { width: 100%; display: flex; justify-content: center; }

/* ================================================================
   FOOTER
   ================================================================ */
.main-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,.75);
  padding-top: 4rem;
}
.footer-container {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem; padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-col {}
.footer-col h4 {
  font-family: var(--font-heading);
  font-size: .82rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .09em;
  color: var(--white); margin-bottom: 1.25rem;
  padding-bottom: .75rem;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}
.footer-logo-wrap {
  display: flex; align-items: center; gap: .6rem;
  margin-bottom: 1rem;
}
.footer-logo-name { color: var(--white); font-family: var(--font-heading); font-weight: 800; font-size: 1rem; }
.footer-logo-sub  { color: var(--accent); font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.footer-col p { font-size: .88rem; line-height: 1.8; margin-bottom: .5rem; }
.footer-col a { color: rgba(255,255,255,.7); font-size: .88rem; transition: color var(--transition); display: block; }
.footer-col a:hover { color: var(--accent); }
.footer-nav a {
  padding: .2rem 0; display: flex; align-items: center; gap: .4rem;
}
.footer-nav a i { color: var(--accent); font-size: .65rem; }
.footer-socials {
  display: flex; gap: .75rem; margin-top: .5rem;
}
.footer-social-btn {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius); color: var(--white) !important;
  font-size: .95rem;
  display: flex !important; align-items: center; justify-content: center;
  transition: all var(--transition) !important;
}
.footer-social-btn:hover { background: var(--accent) !important; border-color: var(--accent) !important; }
.footer-contact-row {
  display: flex; align-items: flex-start; gap: .6rem;
  margin-bottom: .75rem; font-size: .88rem; color: rgba(255,255,255,.7);
}
.footer-contact-row i { color: var(--accent); margin-top: .15rem; flex-shrink: 0; }
.footer-contact-row a { color: rgba(255,255,255,.7); }
.footer-contact-row a:hover { color: var(--accent); }

.footer-bottom {
  padding: 1.4rem 0;
  text-align: center;
}
.footer-bottom p { font-size: .82rem; color: rgba(255,255,255,.4); }
.footer-bottom strong { color: var(--accent); }

/* ================================================================
   SCROLL-TO-TOP
   ================================================================ */
.scroll-top {
  position: fixed; bottom: 2rem; right: 2rem;
  width: 46px; height: 46px;
  background: var(--accent); color: var(--white);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; box-shadow: var(--shadow-md);
  opacity: 0; pointer-events: none;
  transition: all var(--transition); z-index: 990; border: none; cursor: pointer;
}
.scroll-top.visible { opacity: 1; pointer-events: all; }
.scroll-top:hover { background: var(--accent-dark); transform: translateY(-3px); }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
  .services-grid    { grid-template-columns: 1fr 1fr; }
  .projects-grid    { grid-template-columns: repeat(2,1fr); }
  .stats-grid       { grid-template-columns: repeat(2,1fr); }
  .service-detail-card { grid-template-columns: 1fr; }
  .service-detail-side { position: static; }
  .footer-container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --container: 100%; }
  .main-nav { display: none; }
  .nav-cta  { display: none; }
  .mobile-menu-toggle { display: flex; }

  .intro-grid   { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .about-grid   { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .legal-grid   { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; }
  .cta-container { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }

  .slide-title { font-size: 2rem; }
  .slide-actions { flex-direction: column; }
  .slide-actions .btn { width: 100%; justify-content: center; }

  .project-gallery-nav.prev { left: -2.5rem; }
  .project-gallery-nav.next { right: -2.5rem; }
}

@media (max-width: 480px) {
  .stats-grid   { grid-template-columns: 1fr 1fr; }
  .legal-grid   { grid-template-columns: 1fr; }
  .contact-form-block { padding: 1.5rem; }
  .scroll-top   { bottom: 1rem; right: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .slider-track { animation: none; }
  .slide-bg     { transform: none !important; }
}
