/* ===== EMS Pavage — style.css ===== */

:root {
  --black: #0e0e0d;
  --charcoal: #17181a;
  --charcoal-2: #201f1d;
  --gold: #cd9b3a;
  --gold-light: #e6bd66;
  --green: #2f4a35;
  --green-light: #4a6b52;
  --off-white: #f4f2ee;
  --white: #ffffff;
  --gray: #6b6b68;
  --gray-light: #a8a6a1;
  --line: rgba(255, 255, 255, 0.1);
  --line-dark: rgba(14, 14, 13, 0.1);
  --radius: 6px;
  --shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.5);
  --shadow-sm: 0 8px 24px -12px rgba(0, 0, 0, 0.35);
  --container: 1200px;
  --ff-head: "Oswald", "Arial Narrow", sans-serif;
  --ff-body: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--ff-body);
  background: var(--off-white);
  color: var(--black);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--ff-head);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.15;
  font-weight: 600;
}

p { max-width: 65ch; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-head);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
}

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 14px; }
.section-head p { color: var(--gray); font-size: 1.05rem; max-width: 640px; }
.section-head.center p { margin-left: auto; margin-right: auto; }

section { padding: 100px 0; }
@media (max-width: 700px) { section { padding: 60px 0; } }

.bg-black { background: var(--black); color: var(--white); }
.bg-black .section-head p { color: var(--gray-light); }
.bg-off { background: var(--off-white); }
.bg-white { background: var(--white); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-head);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 30px;
  border-radius: 3px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--black);
}
.btn-primary:hover { filter: brightness(1.08); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn-outline { border-color: rgba(255, 255, 255, 0.35); color: var(--white); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-light); }
.btn-outline.dark { border-color: rgba(14, 14, 13, 0.3); color: var(--black); }
.btn-outline.dark:hover { border-color: var(--green); color: var(--green); background: rgba(47,74,53,0.05); }
.btn-sm { padding: 11px 20px; font-size: 0.76rem; }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- HEADER ---------- */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: box-shadow 0.3s ease, padding 0.3s ease;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
/* backdrop-filter lives on a pseudo-element, not on #site-header itself:
   filter/backdrop-filter on the header would create a new containing block
   and break position:fixed on the mobile nav panel (its fixed child). */
#site-header::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background: rgba(14, 14, 13, 0.97);
  backdrop-filter: blur(8px);
}
#site-header.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,0.3); padding: 8px 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 48px; width: 48px; object-fit: contain; border-radius: 50%; background: var(--white); padding: 3px; transition: height 0.3s ease, width 0.3s ease; }
#site-header.scrolled .brand img { height: 40px; width: 40px; }
.brand-text { font-family: var(--ff-head); color: var(--white); line-height: 1.1; }
.brand-text strong { font-size: 1.05rem; letter-spacing: 0.04em; display: block; }
.brand-text span { font-size: 0.68rem; letter-spacing: 0.14em; color: var(--gold-light); text-transform: uppercase; }

nav.main-nav { display: flex; align-items: center; gap: 28px; }
nav.main-nav a {
  font-family: var(--ff-head);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  position: relative;
  padding: 4px 0;
}
nav.main-nav a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -4px;
  height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s ease;
}
nav.main-nav a:hover::after, nav.main-nav a.active::after { transform: scaleX(1); }
nav.main-nav a:hover, nav.main-nav a.active { color: var(--white); }
nav.main-nav .has-dropdown { position: relative; }
nav.main-nav .dropdown {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(6px);
  background: var(--black);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 10px;
  min-width: 230px;
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
@media (min-width: 961px) {
  nav.main-nav .has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
}
nav.main-nav .dropdown a { display: block; padding: 10px 12px; border-radius: 4px; font-size: 0.78rem; }
nav.main-nav .dropdown a:hover { background: rgba(255,255,255,0.06); }
nav.main-nav .dropdown a::after { display: none; }
.nav-drawer-back, .nav-drawer-title { display: none; }

.header-actions { display: flex; align-items: center; gap: 16px; }
.phone-pill { display: flex; align-items: center; gap: 8px; color: var(--white); font-family: var(--ff-head); font-size: 0.86rem; letter-spacing: 0.03em; }
.phone-pill svg { width: 16px; height: 16px; color: var(--gold); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; width: 32px; height: 24px; position: relative; z-index: 1200; }
.nav-toggle span { position: absolute; left: 0; right: 0; height: 2px; background: var(--white); transition: all 0.25s ease; }
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 11px; }
.nav-toggle span:nth-child(3) { top: 22px; }
.nav-toggle.open span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }

@media (max-width: 960px) {
  nav.main-nav {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: min(320px, 86vw);
    background: var(--black);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 6px;
    padding: 100px 32px 40px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    box-shadow: -10px 0 40px rgba(0,0,0,0.4);
    overflow-y: auto;
  }
  nav.main-nav.open { transform: translateX(0); }
  nav.main-nav a { padding: 14px 0; width: 100%; border-bottom: 1px solid rgba(255,255,255,0.08); }
  nav.main-nav .has-dropdown { position: static; width: 100%; }
  nav.main-nav .has-dropdown > a { display: flex; align-items: center; justify-content: space-between; }
  nav.main-nav .has-dropdown > a::before {
    content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: rotate(-45deg); opacity: 0.7; order: 2;
  }
  nav.main-nav .has-dropdown > a::after { display: none; }

  /* Sliding drawer: the submenu covers the whole nav panel and slides in from the right */
  nav.main-nav .dropdown {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    transform: translateX(100%); opacity: 1; visibility: visible;
    display: flex; flex-direction: column;
    box-shadow: none; border: none; background: var(--black);
    margin: 0; padding: 100px 32px 40px; min-width: 0;
    transition: transform 0.35s ease;
    overflow-y: auto; z-index: 5;
  }
  nav.main-nav .has-dropdown.open .dropdown { transform: translateX(0); }
  nav.main-nav .dropdown a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.08); border-radius: 0; font-size: 0.8rem; }
  nav.main-nav .dropdown a:hover { background: none; }

  .nav-drawer-back {
    display: flex; align-items: center; gap: 8px;
    background: none; border: none; cursor: pointer;
    color: rgba(255,255,255,0.7); font-family: var(--ff-head);
    font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em;
    padding: 0 0 24px; margin: 0;
  }
  .nav-drawer-back svg { width: 16px; height: 16px; }
  .nav-drawer-title {
    font-family: var(--ff-head); font-size: 0.72rem; font-weight: 600;
    letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-light);
    margin: 0 0 8px;
  }

  .nav-toggle { display: block; }
  .header-actions .phone-pill { display: none; }
}

/* ---------- BREADCRUMB ---------- */
.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-family: var(--ff-head);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb .sep { opacity: 0.5; }
.breadcrumb .current { color: var(--gold-light); }

/* ---------- HERO (home) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--white);
  isolation: isolate;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 65%; }
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,9,0.75) 0%, rgba(10,10,9,0.55) 40%, rgba(10,10,9,0.92) 100%);
}
.hero-content { padding-top: 130px; padding-bottom: 60px; max-width: 760px; }
.hero .eyebrow { color: var(--gold-light); }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); margin-bottom: 22px; text-shadow: 0 4px 24px rgba(0,0,0,0.35); }
.hero h1 em { font-style: normal; color: var(--gold-light); }
.hero p.lead { font-size: 1.15rem; color: rgba(255,255,255,0.88); max-width: 560px; margin-bottom: 38px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }

.trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; border-top: 1px solid rgba(255,255,255,0.18); padding-top: 28px; }
.trust-strip .item { display: flex; align-items: center; gap: 12px; }
.trust-strip svg { width: 26px; height: 26px; color: var(--gold-light); flex-shrink: 0; }
.trust-strip .item strong { display: block; font-family: var(--ff-head); font-size: 0.95rem; letter-spacing: 0.02em; }
.trust-strip .item span { font-size: 0.8rem; color: rgba(255,255,255,0.65); }

@media (max-width: 860px) { .trust-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) {
  .hero-content { padding-top: 118px; }
  .hero-ctas .btn { flex: 1 1 100%; justify-content: center; }
}

/* ---------- PAGE HERO (subpages) ---------- */
.page-hero {
  position: relative;
  min-height: 46vh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  isolation: isolate;
  overflow: hidden;
}
.page-hero-media { position: absolute; inset: 0; z-index: -2; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,9,0.55) 0%, rgba(10,10,9,0.75) 100%);
}
.page-hero-content { padding: 150px 0 40px; width: 100%; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin: 14px 0 0; text-shadow: 0 4px 24px rgba(0,0,0,0.35); }
.page-hero .lead { color: rgba(255,255,255,0.85); max-width: 620px; margin-top: 16px; font-size: 1.05rem; }
@media (max-width: 700px) { .page-hero { min-height: 38vh; } .page-hero-content { padding: 130px 0 32px; } }

/* ---------- SERVICES GRID (home) ---------- */
.services-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.service-card { background: var(--white); padding: 40px 26px; transition: background 0.25s ease, transform 0.25s ease; display: flex; flex-direction: column; }
.service-card:hover { background: var(--black); transform: translateY(-2px); }
.service-card .icon { width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--gold); border-radius: 50%; margin-bottom: 22px; color: var(--gold); }
.service-card:hover .icon { border-color: var(--gold-light); color: var(--gold-light); }
.service-card .icon svg { width: 22px; height: 22px; }
.service-card h3 { font-size: 1.02rem; margin-bottom: 10px; letter-spacing: 0.03em; }
.service-card:hover h3 { color: var(--white); }
.service-card p { font-size: 0.9rem; color: var(--gray); flex: 1; }
.service-card:hover p { color: var(--gray-light); }
.service-card .more { margin-top: 18px; font-family: var(--ff-head); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); display: inline-flex; align-items: center; gap: 6px; }
.service-card:hover .more { color: var(--gold-light); }
.service-card .more svg { width: 14px; height: 14px; transition: transform 0.2s ease; }
.service-card:hover .more svg { transform: translateX(3px); }

@media (max-width: 980px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services-grid { grid-template-columns: 1fr; } }

/* ---------- WHY-US GRID ---------- */
.why-section { background: var(--black); color: var(--white); }
.why-section .section-head p { color: var(--gray-light); }
.why-section .section-head .eyebrow { color: var(--gold-light); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.why-item .num { font-family: var(--ff-head); font-size: 0.85rem; color: var(--gold); letter-spacing: 0.1em; margin-bottom: 16px; display: block; }
.why-item h3 { font-size: 1.1rem; margin-bottom: 12px; }
.why-item p { color: var(--gray-light); font-size: 0.92rem; }
@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; } }
@media (max-width: 540px) { .why-grid { grid-template-columns: 1fr; } }

/* ---------- GALLERY ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.gallery-item { position: relative; overflow: hidden; border-radius: 4px; cursor: zoom-in; box-shadow: var(--shadow); aspect-ratio: 4 / 5; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.55) 100%); opacity: 0; transition: opacity 0.25s ease; }
.gallery-item:hover::after { opacity: 1; }
.gallery-item .tag { position: absolute; left: 14px; bottom: 14px; font-family: var(--ff-head); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--white); opacity: 0; transform: translateY(6px); transition: all 0.25s ease; }
.gallery-item:hover .tag { opacity: 1; transform: translateY(0); }
.gallery-more { text-align: center; margin-top: 44px; }

/* Homepage teaser gallery -> horizontal swipe carousel on mobile (realisations.html grid untouched) */
@media (max-width: 700px) {
  .gallery-carousel {
    display: flex; flex-wrap: nowrap; gap: 14px;
    overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    margin: 0 -24px; padding: 4px 24px 10px;
    scrollbar-width: none;
  }
  .gallery-carousel::-webkit-scrollbar { display: none; }
  .gallery-carousel .gallery-item { flex: 0 0 82%; scroll-snap-align: center; }
}

/* Portfolio filter pills */
.portfolio-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 38px; }
.filter-pill {
  font-family: var(--ff-head); font-size: 0.76rem; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 10px 20px; border-radius: 30px; border: 1px solid var(--line-dark);
  background: var(--white); color: var(--gray); cursor: pointer; transition: all 0.2s ease;
}
.filter-pill:hover { border-color: var(--gold); color: var(--black); }
.filter-pill.active { background: var(--black); border-color: var(--black); color: var(--white); }
.gallery-item.hidden { display: none; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(8,8,7,0.95); display: flex; align-items: center; justify-content: center; padding: 40px; opacity: 0; visibility: hidden; transition: opacity 0.25s ease; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: 4px; box-shadow: 0 30px 80px rgba(0,0,0,0.6); }
.lightbox-close, .lightbox-prev, .lightbox-next { position: absolute; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.25); color: var(--white); width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background 0.2s ease; }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.18); }
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-close svg, .lightbox-prev svg, .lightbox-next svg { width: 20px; height: 20px; }
@media (max-width: 640px) {
  .lightbox-prev, .lightbox-next { width: 38px; height: 38px; }
  .lightbox-close { width: 38px; height: 38px; top: 14px; right: 14px; }
}

/* ---------- PROCESS ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; }
.process-grid::before { content: ""; position: absolute; top: 24px; left: 8%; right: 8%; height: 1px; background: var(--line-dark); z-index: 0; }
.process-step { position: relative; z-index: 1; }
.process-step .step-num { width: 48px; height: 48px; border-radius: 50%; background: var(--black); color: var(--gold-light); font-family: var(--ff-head); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; font-size: 1.1rem; }
.process-step h3 { font-size: 1rem; margin-bottom: 10px; }
.process-step p { font-size: 0.9rem; color: var(--gray); }
@media (max-width: 900px) { .process-grid { grid-template-columns: repeat(2, 1fr); } .process-grid::before { display: none; } }
@media (max-width: 540px) { .process-grid { grid-template-columns: 1fr; } }

/* ---------- ZONE D'INTERVENTION ---------- */
.zone-section { background: var(--green); color: var(--white); position: relative; overflow: hidden; }
.zone-section::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 30%, rgba(205,155,58,0.18), transparent 55%); }
.zone-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; position: relative; }
.zone-section .eyebrow { color: var(--gold-light); }
.zone-section h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 20px; }
.zone-section p { color: rgba(255,255,255,0.85); margin-bottom: 28px; max-width: 520px; }
.zone-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.zone-tags span { border: 1px solid rgba(255,255,255,0.3); padding: 8px 16px; border-radius: 30px; font-size: 0.82rem; letter-spacing: 0.02em; }
.zone-visual { border: 1px solid rgba(255,255,255,0.2); border-radius: 6px; padding: 36px; background: rgba(255,255,255,0.05); text-align: center; }
.zone-visual .big-num { font-family: var(--ff-head); font-size: 3.2rem; color: var(--gold-light); line-height: 1; }
.zone-visual .big-label { font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 10px; color: rgba(255,255,255,0.75); }
.zone-visual hr { border: none; border-top: 1px solid rgba(255,255,255,0.18); margin: 26px 0; }
@media (max-width: 900px) { .zone-inner { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- CITY LIST (SEO local) ---------- */
.city-list { display: flex; flex-wrap: wrap; gap: 8px 12px; margin-top: 18px; }
.city-list span { font-size: 0.88rem; color: var(--gray); }
.city-list span::after { content: "·"; margin-left: 12px; color: var(--line-dark); }
.city-list span:last-child::after { display: none; }

/* ---------- SERVICE DETAIL PAGE ---------- */
.service-detail-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.service-detail-row.reverse { direction: rtl; }
.service-detail-row.reverse > * { direction: ltr; }
.service-detail-row img { border-radius: 6px; box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.service-detail-row h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 18px; }
.service-detail-row p { color: var(--gray); margin-bottom: 20px; }
.checklist { display: flex; flex-direction: column; gap: 14px; margin: 24px 0; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.96rem; }
.checklist svg { width: 20px; height: 20px; color: var(--green); flex-shrink: 0; margin-top: 2px; }
@media (max-width: 860px) {
  .service-detail-row, .service-detail-row.reverse { grid-template-columns: 1fr; direction: ltr; gap: 28px; }
}
.service-detail-row + .service-detail-row { margin-top: 90px; }
@media (max-width: 700px) { .service-detail-row + .service-detail-row { margin-top: 56px; } }

/* ---------- RELATED SERVICES ---------- */
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.related-card { background: var(--white); border: 1px solid var(--line-dark); border-radius: 6px; padding: 28px 22px; transition: all 0.2s ease; }
.related-card:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.related-card h4 { font-size: 0.92rem; margin-bottom: 8px; }
.related-card p { font-size: 0.84rem; color: var(--gray); margin-bottom: 14px; }
.related-card .more { font-family: var(--ff-head); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--green); }
@media (max-width: 900px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .related-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 14px; max-width: 820px; }
.faq-item { background: var(--white); border: 1px solid var(--line-dark); border-radius: 6px; overflow: hidden; }
.faq-item summary {
  cursor: pointer; padding: 22px 24px; font-family: var(--ff-head);
  font-size: 0.98rem; letter-spacing: 0.01em; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 1.4rem; color: var(--gold); flex-shrink: 0; transition: transform 0.2s ease; line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-answer { padding: 0 24px 22px; color: var(--gray); font-size: 0.95rem; }

/* ---------- REVIEW CTA ---------- */
.review-cta { background: var(--white); border: 1px solid var(--line-dark); border-radius: 8px; padding: 40px; display: flex; align-items: center; gap: 32px; flex-wrap: wrap; box-shadow: var(--shadow-sm); }
.review-cta .stars { display: flex; gap: 4px; margin-bottom: 10px; }
.review-cta .stars svg { width: 20px; height: 20px; color: var(--gold); }
.review-cta h3 { font-size: 1.1rem; margin-bottom: 6px; }
.review-cta p { color: var(--gray); font-size: 0.92rem; margin-bottom: 0; }
.review-cta .cta-side { margin-left: auto; }
@media (max-width: 700px) { .review-cta { padding: 28px; } .review-cta .cta-side { margin-left: 0; width: 100%; } .review-cta .cta-side .btn { width: 100%; justify-content: center; } }

/* ---------- STATS ROW ---------- */
.stats-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; text-align: center; }
.stats-row .stat strong { display: block; font-family: var(--ff-head); font-size: 2.4rem; color: var(--gold); }
.stats-row .stat span { font-size: 0.85rem; color: var(--gray); text-transform: uppercase; letter-spacing: 0.04em; }
@media (max-width: 700px) { .stats-row { grid-template-columns: repeat(2,1fr); gap: 32px; } }

/* ---------- CONTACT ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; }
.contact-info .info-row { display: flex; gap: 18px; align-items: flex-start; padding: 22px 0; border-bottom: 1px solid var(--line-dark); }
.contact-info .info-row:first-child { padding-top: 0; }
.contact-info .icon-box { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; background: var(--black); color: var(--gold-light); display: flex; align-items: center; justify-content: center; }
.contact-info .icon-box svg { width: 20px; height: 20px; }
.contact-info h4 { font-family: var(--ff-head); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray); margin-bottom: 6px; }
.contact-info .val { font-size: 1.1rem; font-weight: 600; }
.contact-info .val a:hover { color: var(--gold); }
.contact-info .sub { font-size: 0.85rem; color: var(--gray); margin-top: 4px; }

form.quote-form { background: var(--white); padding: 40px; border-radius: 6px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.form-field label { font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase; font-family: var(--ff-head); color: var(--gray); }
.form-field input, .form-field select, .form-field textarea {
  border: 1px solid rgba(14,14,13,0.18); border-radius: 4px; padding: 13px 14px;
  font-family: var(--ff-body); font-size: 0.96rem; background: var(--off-white); transition: border-color 0.2s ease;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--gold); background: var(--white); }
.form-field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 0.8rem; color: var(--gray); margin-top: 14px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; gap: 0; } form.quote-form { padding: 26px; } }

.map-frame { border-radius: 6px; overflow: hidden; border: 1px solid var(--line-dark); margin-top: 40px; box-shadow: var(--shadow-sm); }
.map-frame iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ---------- ABOUT PAGE ---------- */
.about-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-row img { border-radius: 6px; box-shadow: var(--shadow); width: 100%; }
.about-row p { color: var(--gray); margin-bottom: 18px; }
@media (max-width: 860px) { .about-row { grid-template-columns: 1fr; gap: 32px; } }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.value-card { text-align: center; padding: 10px; }
.value-card .icon { width: 60px; height: 60px; border-radius: 50%; background: var(--black); color: var(--gold-light); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.value-card .icon svg { width: 26px; height: 26px; }
.value-card h3 { font-size: 1rem; margin-bottom: 10px; }
.value-card p { font-size: 0.9rem; color: var(--gray); margin: 0 auto; }
/* Values -> one-at-a-time swipe carousel with dot pagination on mobile */
@media (max-width: 760px) {
  .values-grid {
    display: flex; flex-wrap: nowrap; grid-template-columns: none;
    overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    gap: 0; margin: 0 -24px; padding: 4px 24px 6px;
    scrollbar-width: none;
  }
  .values-grid::-webkit-scrollbar { display: none; }
  .value-card { flex: 0 0 100%; scroll-snap-align: center; }
}
.carousel-dots { display: none; justify-content: center; gap: 8px; margin-top: 18px; }
@media (max-width: 760px) { .carousel-dots { display: flex; } }
.carousel-dot { width: 8px; height: 8px; border-radius: 50%; border: none; padding: 0; background: var(--line-dark); cursor: pointer; transition: background 0.2s ease, transform 0.2s ease; }
.carousel-dot.active { background: var(--gold); transform: scale(1.3); }

/* ---------- 404 ---------- */
.error-page { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 160px 24px 80px; }
.error-page .code { font-family: var(--ff-head); font-size: clamp(4rem, 12vw, 8rem); color: var(--gold); line-height: 1; }

/* ---------- FOOTER ---------- */
footer { background: var(--black); color: rgba(255,255,255,0.7); padding: 60px 0 26px; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 26px; }
.footer-brand { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.footer-brand img { height: 50px; width: 50px; object-fit: contain; border-radius: 50%; background: var(--white); padding: 3px; }
.footer-brand strong { font-family: var(--ff-head); color: var(--white); font-size: 1.05rem; letter-spacing: 0.03em; display:block; }
.footer-brand span { font-size: 0.7rem; color: var(--gold-light); letter-spacing: 0.12em; text-transform: uppercase; }
.footer-col h4 { font-family: var(--ff-head); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--white); margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a:hover { color: var(--gold-light); }
.footer-col p { font-size: 0.9rem; max-width: 320px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.78rem; color: rgba(255,255,255,0.45); }
.footer-bottom a:hover { color: var(--gold-light); }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- STICKY MOBILE CTA ---------- */
.mobile-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 900; background: var(--black); border-top: 1px solid rgba(255,255,255,0.1); padding: 12px 16px; gap: 10px; }
@media (max-width: 720px) { .mobile-cta { display: flex; } body { padding-bottom: 70px; } }
.mobile-cta a { flex: 1; text-align: center; }

/* ---------- FORM ALERTS ---------- */
.form-alert { padding: 12px 16px; border-radius: 4px; font-size: 0.9rem; margin-bottom: 18px; }
.form-alert-success { background: #eaf6ec; color: #1e6b2f; border: 1px solid #c3e6c9; }
.form-alert-error { background: #fdecea; color: #b3261e; border: 1px solid #f5c2bd; }

/* ---------- ADMIN ---------- */
.admin-shell { min-height: 100vh; background: var(--off-white); }
.admin-topbar { background: var(--black); color: var(--white); padding: 18px 0; display: flex; align-items: center; justify-content: space-between; }
.admin-topbar .container { display: flex; align-items: center; justify-content: space-between; }
.admin-topbar .brand-text strong { color: var(--white); }
.admin-main { padding: 48px 0 80px; }
.admin-card { background: var(--white); border-radius: 8px; box-shadow: var(--shadow-sm); padding: 36px; max-width: 440px; margin: 60px auto; }
.admin-card h1 { font-size: 1.3rem; margin-bottom: 24px; }
.admin-alert { background: #fdecea; color: #b3261e; border: 1px solid #f5c2bd; padding: 12px 16px; border-radius: 4px; font-size: 0.88rem; margin-bottom: 18px; }
.admin-alert.success { background: #eaf6ec; color: #1e6b2f; border-color: #c3e6c9; }
.upload-drop {
  border: 2px dashed var(--line-dark); border-radius: 8px; padding: 46px 24px; text-align: center; cursor: pointer;
  transition: all 0.2s ease; background: var(--white); margin-bottom: 24px;
}
.upload-drop:hover, .upload-drop.dragover { border-color: var(--gold); background: rgba(205,155,58,0.04); }
.upload-drop svg { width: 40px; height: 40px; color: var(--gray-light); margin-bottom: 14px; }
.upload-drop p { color: var(--gray); font-size: 0.92rem; }
.admin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; margin-top: 30px; }
.admin-photo-card { background: var(--white); border-radius: 6px; overflow: hidden; box-shadow: var(--shadow-sm); }
.admin-photo-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.admin-photo-card .body { padding: 14px; }
.admin-photo-card select, .admin-photo-card input { width: 100%; margin-bottom: 8px; font-size: 0.82rem; padding: 8px; border-radius: 4px; border: 1px solid var(--line-dark); }
.admin-photo-card .row { display: flex; gap: 8px; }
.btn-danger { background: #fdecea; color: #b3261e; border: 1px solid #f5c2bd; }
.btn-danger:hover { background: #f5c2bd; }

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

/* ---------- PRINT (used for client mockup PDF export) ---------- */
@media print {
  @page { margin: 0; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .mobile-cta, .lightbox, .nav-toggle { display: none !important; }
  /* relative, not static: #site-header::before is absolutely positioned
     for the header's own blur backdrop — if the header loses its own
     positioned-ancestor status, that pseudo-element escapes and covers
     the whole page instead of just the header bar. */
  #site-header { position: relative !important; }
  body { padding-bottom: 0 !important; }
  /* Chrome's print engine mishandles the absolutely-positioned photo
     layer behind the hero text (it renders as solid black in the PDF,
     though it looks correct on screen). Rather than fight that engine
     bug, print gets a simpler, guaranteed-reliable layout: photo on
     top, dark text below, instead of the overlay style. */
  .hero, .page-hero { display: block !important; min-height: 0 !important; color: var(--black) !important; }
  .hero-media, .page-hero-media { position: static !important; width: 100% !important; height: 320px !important; inset: auto !important; }
  .hero-media::after, .page-hero-media::after { display: none !important; }
  .hero-content, .page-hero-content { position: static !important; padding: 24px 0 !important; max-width: none !important; }
  .hero h1, .page-hero h1 { color: var(--black) !important; text-shadow: none !important; }
  .hero p.lead, .page-hero .lead { color: var(--gray) !important; }
  .breadcrumb, .breadcrumb a { color: var(--gray) !important; }
  .breadcrumb .current { color: var(--gold) !important; }
  .hero, .page-hero { background: var(--white) !important; }
  .trust-strip { border-top-color: var(--line-dark) !important; }
  .trust-strip .item span { color: var(--gray) !important; }
}
