/* ============================================================
   Maison Charpentier — Toiture & Façade
   Shared stylesheet
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --orange:        #F15A22;
  --orange-600:    #e24d16;
  --orange-700:    #c5400f;
  --orange-soft:   #fdeee7;
  --orange-tint:   #fbdccd;

  --navy:          #16284C;   /* headings */
  --navy-deep:     #0e1f44;   /* footer */
  --charcoal:      #181d28;   /* header / hero overlay */

  --ink:           #1b2740;
  --muted:         #6b7686;
  --muted-light:   #9aa3b2;
  --line:          #e7eaf0;

  --paper:         #ffffff;
  --paper-2:       #f6f8fb;
  --paper-3:       #eef1f6;

  --maxw:          1240px;
  --gutter:        clamp(20px, 5vw, 64px);

  --radius:        14px;
  --radius-lg:     22px;
  --radius-pill:   999px;

  --shadow-sm:     0 4px 16px rgba(22, 40, 76, .06);
  --shadow-md:     0 18px 44px rgba(22, 40, 76, .10);
  --shadow-lg:     0 34px 80px rgba(22, 40, 76, .16);
  --shadow-orange: 0 18px 40px rgba(241, 90, 34, .34);

  --ease:          cubic-bezier(.22, .61, .36, 1);
  --ease-out:      cubic-bezier(.16, 1, .3, 1);

  --font-head:     "Poppins", system-ui, sans-serif;
  --font-body:     "Mulish", system-ui, sans-serif;

  --header-h:      88px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); color: var(--navy); line-height: 1.12; font-weight: 700; letter-spacing: -.01em; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 9vw, 140px); position: relative; }
.section--tight { padding-block: clamp(56px, 6vw, 96px); }

/* ---------- Eyebrow label ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-head); font-weight: 600;
  text-transform: uppercase; letter-spacing: .22em;
  font-size: 12.5px; color: var(--orange);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: ""; width: 34px; height: 2px; background: var(--orange); display: inline-block;
}
.eyebrow--center { justify-content: center; }
.eyebrow--light { color: #ffd9c6; }
.eyebrow--light::before { background: #ffd9c6; }

/* ---------- Headings ---------- */
.h-xl { font-size: clamp(2.4rem, 5.2vw, 4.1rem); line-height: 1.04; }
.h-lg { font-size: clamp(2rem, 3.8vw, 3rem); }
.h-md { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.lead { font-size: 1.08rem; color: var(--muted); max-width: 60ch; }
.text-muted { color: var(--muted); }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  --bg: var(--orange); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-head); font-weight: 600; font-size: 13.5px;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 17px 32px; border-radius: var(--radius-pill);
  background: var(--bg); color: var(--fg);
  overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), color .35s ease;
}
.btn .btn__icon { transition: transform .4s var(--ease-out); display: inline-flex; }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--navy);
  transform: translateY(101%); transition: transform .5s var(--ease-out);
}
.btn:hover { box-shadow: var(--shadow-orange); transform: translateY(-3px); }
.btn:hover::before { transform: translateY(0); }
.btn:hover .btn__icon { transform: translateX(5px); }

.btn--ghost {
  --bg: transparent; --fg: var(--navy);
  border: 2px solid var(--line); padding: 15px 30px;
}
.btn--ghost::before { background: var(--navy); }
.btn--ghost:hover { --fg: #fff; border-color: var(--navy); box-shadow: var(--shadow-md); }

.btn--white { --bg: #fff; --fg: var(--orange); }
.btn--white::before { background: var(--navy-deep); }
.btn--white:hover { --fg: #fff; box-shadow: 0 18px 40px rgba(0,0,0,.25); }

.btn--lg { padding: 20px 40px; font-size: 14px; }

/* text link with arrow */
.tlink {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head); font-weight: 600; font-size: 12px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--navy);
  transition: color .3s ease, gap .3s var(--ease-out);
}
.tlink .tlink__line { width: 22px; height: 2px; background: var(--orange); transition: width .35s var(--ease-out); }
.tlink:hover { color: var(--orange); gap: 13px; }
.tlink:hover .tlink__line { width: 32px; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(24, 29, 40, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: height .4s var(--ease), background .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header.is-scrolled { height: 72px; background: rgba(20, 25, 35, .98); box-shadow: 0 10px 40px rgba(0,0,0,.28); }
.site-header .wrap { display: flex; align-items: center; gap: 16px; width: 100%; }

/* Logo (recreated) */
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 46px; height: 40px; flex: none; position: relative;
  display: grid; place-items: center;
}
.brand__mark svg { width: 100%; height: 100%; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-head); font-weight: 400; font-size: 15px; color: #fff; letter-spacing: .02em; }
.brand__name b { font-weight: 800; font-size: 21px; letter-spacing: .04em; display: block; margin-top: 1px; }
.brand__tag {
  margin-top: 5px; align-self: flex-start;
  font-family: var(--font-head); font-weight: 700; font-size: 8.5px; letter-spacing: .24em;
  white-space: nowrap;
  color: #fff; background: var(--orange); padding: 2.5px 7px; border-radius: 3px;
}

/* Nav */
.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  padding: 10px 12px; color: rgba(255,255,255,.82);
  font-family: var(--font-head); font-weight: 500; font-size: 13.5px;
  transition: color .25s ease;
}
.header-cta { font-size: 12.5px; padding: 14px 22px; letter-spacing: .08em; }
.nav__link:hover, .nav__item:hover .nav__link { color: #fff; }
.nav__link .caret { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .3s ease; opacity: .7; }
.nav__item:hover .nav__link .caret { transform: rotate(225deg) translateY(-2px); }

/* dropdown */
.dropdown {
  position: absolute; top: calc(100% + 6px); left: 50%; translate: -50% 0;
  min-width: 270px; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 10px; 
  opacity: 0; visibility: hidden; transform: translateY(10px); 
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.dropdown::before { content:""; position:absolute; top:-10px; left:0; right:0; height:10px; }
.nav__item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: block; padding: 11px 16px; border-radius: 9px;
  font-family: var(--font-head); font-weight: 500; font-size: 14px; color: var(--ink);
  transition: background .2s ease, color .2s ease, padding-left .25s var(--ease);
}
.dropdown a:hover { background: var(--orange-soft); color: var(--orange-700); padding-left: 22px; }

.header-cta { display: inline-flex; }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 11px; background: rgba(255,255,255,.08); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: #fff; margin-inline: auto; border-radius: 2px; transition: transform .3s var(--ease), opacity .3s; position: relative;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding-top: var(--header-h); color: #fff; overflow: hidden;
  background: var(--charcoal);
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media image-slot { width: 100%; height: 100%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(15,19,28,.93) 0%, rgba(15,19,28,.74) 42%, rgba(15,19,28,.30) 100%),
    linear-gradient(0deg, rgba(15,19,28,.6), rgba(15,19,28,.2));
}
.hero .wrap { position: relative; z-index: 2; padding-block: 80px; }
.hero__inner { max-width: 660px; }
.hero h1 { color: #fff; margin: 6px 0 24px; }
.hero__lead { color: rgba(255,255,255,.82); font-size: 1.12rem; max-width: 52ch; margin-bottom: 38px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

/* hero stats strip */
.hero__stats { display: flex; gap: 40px; margin-top: 56px; flex-wrap: wrap; }
.hero__stat .num { font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; color: #fff; line-height: 1; }
.hero__stat .num span { color: var(--orange); }
.hero__stat .lbl { font-size: 13.5px; color: rgba(255,255,255,.62); margin-top: 8px; letter-spacing: .02em; }
.hero__stat + .hero__stat { padding-left: 40px; border-left: 1px solid rgba(255,255,255,.14); }

.hero__scroll {
  position: absolute; bottom: 30px; left: 50%; translate: -50% 0; z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: .25em; text-transform: uppercase; color: rgba(255,255,255,.6);
}
.hero__scroll .mouse { width: 22px; height: 36px; border: 2px solid rgba(255,255,255,.4); border-radius: 14px; position: relative; }
.hero__scroll .mouse::before { content:""; position:absolute; top:7px; left:50%; translate:-50% 0; width:3px; height:7px; background:var(--orange); border-radius:3px; animation: scrollDot 1.8s var(--ease) infinite; }
@keyframes scrollDot { 0%{opacity:0;transform:translate(-50%,0)} 30%{opacity:1} 70%{opacity:1} 100%{opacity:0;transform:translate(-50%,12px)} }

/* ============================================================
   Services cards
   ============================================================ */
.section-head { max-width: 620px; }
.section-head--center { margin-inline: auto; text-align: center; }

.services-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 60px;
}
.scard {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 40px 30px 34px;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .5s;
  overflow: hidden;
}
.scard::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out);
}
.scard:hover { transform: translateY(-10px); box-shadow: var(--shadow-md); border-color: transparent; }
.scard:hover::after { transform: scaleX(1); }
.scard__icon {
  width: 76px; height: 76px; border-radius: 22px; display: grid; place-items: center;
  background: var(--orange-soft); color: var(--orange); margin-bottom: 26px;
  transition: background .45s var(--ease), color .45s var(--ease), transform .5s var(--ease-out);
}
.scard__icon svg { width: 34px; height: 34px; }
.scard:hover .scard__icon { background: var(--orange); color: #fff; transform: rotate(-6deg) scale(1.05); }
.scard h3 { font-size: 1.22rem; margin-bottom: 12px; }
.scard p { color: var(--muted); font-size: .98rem; margin-bottom: 22px; }

/* dotted decoration */
.dots-deco { position: absolute; width: 130px; height: 130px; background-image: radial-gradient(var(--orange-tint) 2px, transparent 2px); background-size: 18px 18px; opacity: .8; z-index: 0; }

/* ============================================================
   About
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.about__copy p { color: var(--muted); margin-bottom: 18px; }
.about__copy .btn { margin-top: 16px; }
.about__media { position: relative; }
.about__photo { position: relative; z-index: 2; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.about__photo image-slot { width: 100%; height: 540px; }
.about__block { position: absolute; right: -22px; bottom: -22px; width: 200px; height: 240px; background: var(--orange); border-radius: var(--radius-lg); z-index: 1; }
.about__since {
  position: absolute; top: 36px; right: -30px; z-index: 3;
  background: var(--navy); color: #fff; padding: 14px 22px; border-radius: var(--radius-pill);
  font-family: var(--font-head); font-weight: 700; letter-spacing: .12em; font-size: 13px; box-shadow: var(--shadow-md);
}
.about__since span { color: var(--orange); }

.feature-list { display: grid; gap: 18px; margin: 30px 0 6px; }
.feature-list li { display: flex; gap: 16px; align-items: flex-start; }
.feature-list .tick { flex: none; width: 30px; height: 30px; border-radius: 9px; background: var(--orange-soft); color: var(--orange); display: grid; place-items: center; margin-top: 2px; }
.feature-list .tick svg { width: 16px; height: 16px; }
.feature-list b { color: var(--navy); font-family: var(--font-head); font-weight: 700; }
.feature-list span { color: var(--muted); }

/* ============================================================
   Why choose (orange band)
   ============================================================ */
.band-orange { background: var(--orange); color: #fff; position: relative; overflow: hidden; }
.band-orange::before, .band-orange::after {
  content: ""; position: absolute; border-radius: 22px; background: rgba(255,255,255,.07);
}
.band-orange::before { width: 320px; height: 320px; top: -120px; right: -80px; transform: rotate(20deg); }
.band-orange::after { width: 220px; height: 220px; bottom: -90px; left: 6%; transform: rotate(-12deg); }
.why-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 80px); align-items: center; position: relative; z-index: 2; }
.why h2 { color: #fff; margin-bottom: 30px; }
.why .why-list { display: grid; gap: 22px; }
.why .why-list li { display: flex; gap: 18px; }
.why .why-list .ico { flex: none; width: 52px; height: 52px; border-radius: 14px; background: rgba(255,255,255,.16); display: grid; place-items: center; }
.why .why-list .ico svg { width: 24px; height: 24px; color: #fff; }
.why .why-list h4 { color: #fff; font-size: 1.12rem; margin-bottom: 4px; }
.why .why-list p { color: rgba(255,255,255,.86); font-size: .98rem; }

.video-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.video-card image-slot { width: 100%; height: 460px; }
.video-card__play {
  position: absolute; inset: 0; margin: auto; width: 92px; height: 92px; border-radius: 50%;
  background: #fff; color: var(--orange); display: grid; place-items: center;
  box-shadow: 0 14px 40px rgba(0,0,0,.3);
  transition: transform .4s var(--ease-out);
}
.video-card__play svg { width: 30px; height: 30px; margin-left: 4px; }
.video-card__play::before, .video-card__play::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255,255,255,.55); animation: ripple 2.6s var(--ease) infinite; }
.video-card__play::after { animation-delay: 1.3s; }
@keyframes ripple { 0%{transform:scale(1);opacity:.8} 100%{transform:scale(1.7);opacity:0} }
.video-card:hover .video-card__play { transform: scale(1.08); }

/* Façade vidéo cliquable (perf) : le <video> n'est injecté qu'au clic — cf. site.js [data-video]. */
.video-facade { width: 100%; max-width: 430px; aspect-ratio: 9 / 16; background: var(--paper-3); cursor: pointer; }
/* Visionneuse plein écran (clic sur une photo de contenu) — cf. site.js. */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  padding: clamp(16px, 4vw, 56px); background: rgba(1, 16, 55, .92); cursor: zoom-out;
}
.lightbox[hidden] { display: none; }
.lightbox__frame { margin: 0; max-width: min(1200px, 100%); max-height: 100%; display: flex; flex-direction: column; gap: 12px; }
.lightbox__frame img {
  max-width: 100%; max-height: calc(100vh - clamp(90px, 12vw, 160px)); width: auto; height: auto;
  display: block; margin-inline: auto; border-radius: var(--radius-lg); box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}
.lightbox__caption { color: rgba(255, 255, 255, .82); font-size: 14px; text-align: center; }
.lightbox__close, .lightbox__nav {
  position: absolute; border: 0; cursor: pointer; color: var(--navy); background: #fff;
  border-radius: 50%; display: grid; place-items: center; box-shadow: var(--shadow-md);
  transition: transform .3s var(--ease-out);
}
.lightbox__close { top: 18px; right: 18px; width: 44px; height: 44px; font-size: 26px; line-height: 1; }
.lightbox__nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 30px; line-height: 1; }
.lightbox__nav--prev { left: 18px; }
.lightbox__nav--next { right: 18px; }
.lightbox__close:hover { transform: scale(1.08); }
.lightbox__nav:hover { transform: translateY(-50%) scale(1.08); }
.lightbox__nav[hidden] { display: none; }
@media (max-width: 600px) {
  .lightbox__nav { width: 42px; height: 42px; font-size: 24px; }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
}

/* Galerie masonry (colonnes CSS) : portraits et paysages s'imbriquent sans trou,
   aucun recadrage. Utilisée par _realisation_gallery.html.twig (mode non numéroté). */
.gallery-masonry { columns: 3 250px; column-gap: 22px; max-width: 980px; margin: 46px auto 0; }
.gallery-masonry figure {
  margin: 0 0 22px; -webkit-column-break-inside: avoid; break-inside: avoid;
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); background: var(--paper-3);
}
.gallery-masonry img { width: 100%; height: auto; display: block; }
@media (max-width: 700px) {
  .gallery-masonry { columns: 2 140px; column-gap: 14px; }
  .gallery-masonry figure { margin-bottom: 14px; }
}

/* Section vidéo : texte pleine largeur à gauche, vidéo portrait à droite. */
.video-split { display: grid; grid-template-columns: 1fr minmax(260px, 340px); gap: clamp(28px, 4vw, 60px); align-items: center; }
.video-split .prose h2:first-child { margin-top: 0; }
.video-section .video-facade { max-width: 340px; margin-inline: auto; }
.video-facade picture, .video-facade img, .video-facade video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.video-facade.is-playing { cursor: default; }
.video-facade.is-playing .video-card__play { display: none; }

/* ============================================================
   Testimonials
   ============================================================ */
.testi-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-bottom: 50px; }
.testi-nav { display: flex; gap: 12px; }
.testi-nav button { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--line); color: var(--navy); display: grid; place-items: center; transition: all .35s var(--ease); }
.testi-nav button:hover { background: var(--orange); border-color: var(--orange); color: #fff; transform: translateY(-2px); }
.testi-nav button svg { width: 18px; height: 18px; }

.testi-track-wrap { overflow: hidden; }
.testi-track { display: flex; gap: 26px; transition: transform .6s var(--ease-out); }
.tcard {
  flex: 0 0 calc((100% - 52px) / 3); background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 38px 32px; position: relative;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .45s;
}
.tcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.tcard__quote { font-family: var(--font-head); font-size: 60px; line-height: .6; color: var(--orange-tint); height: 32px; }
.tcard__stars { display: flex; gap: 3px; color: #f5a623; margin: 14px 0 16px; }
.tcard__stars svg { width: 17px; height: 17px; }
.tcard p { color: var(--muted); font-size: .98rem; margin-bottom: 26px; }
.tcard__person { display: flex; align-items: center; gap: 14px; }
.tcard__avatar { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 18px; flex: none; }
.tcard__person b { display: block; color: var(--navy); font-family: var(--font-head); font-size: 1rem; }
.tcard__person span { font-size: 13px; color: var(--muted-light); }

/* ============================================================
   Contact band
   ============================================================ */
.contact-band { background: var(--orange); color: #fff; position: relative; overflow: hidden; }
.contact-band::after { content:""; position:absolute; top:-80px; left:-60px; width:280px; height:280px; border-radius:30px; background:rgba(255,255,255,.07); transform:rotate(18deg); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 80px); align-items: center; position: relative; z-index: 2; }
.contact-band h2 { color: #fff; margin-bottom: 22px; }
.contact-band .lead { color: rgba(255,255,255,.9); }
.contact-info { margin-top: 34px; display: grid; gap: 18px; }
.contact-info li { display: flex; gap: 16px; align-items: center; font-family: var(--font-head); font-weight: 500; }
.contact-info .ico { flex:none; width: 48px; height: 48px; border-radius: 14px; background: rgba(255,255,255,.16); display: grid; place-items: center; }
.contact-info .ico svg { width: 20px; height: 20px; }
.contact-info small { display:block; font-family: var(--font-body); font-weight:400; font-size:12.5px; opacity:.78; letter-spacing:.04em; }

.form-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 46px); box-shadow: var(--shadow-lg); color: var(--ink); }
.form-card h3 { font-size: 1.5rem; margin-bottom: 6px; }
.form-card .note { color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.field { position: relative; margin-bottom: 18px; }
.field input, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 15px; color: var(--ink);
  background: var(--paper-2); border: 1.5px solid transparent; border-radius: 12px;
  padding: 16px 18px; transition: border-color .3s ease, background .3s ease, box-shadow .3s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--orange); background: #fff; box-shadow: 0 0 0 4px var(--orange-soft); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-light); }
.form-card .btn { width: 100%; justify-content: center; margin-top: 6px; }

/* ============================================================
   Newsletter strip + Footer
   ============================================================ */
.newsletter { background: var(--navy-deep); color: #fff; }
.newsletter .wrap { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-block: 40px; }
.newsletter__txt { display: flex; align-items: center; gap: 20px; }
.newsletter__txt .ico { width: 54px; height: 54px; flex:none; border-radius: 14px; background: rgba(255,255,255,.08); display:grid; place-items:center; color: var(--orange); }
.newsletter__txt .ico svg { width: 26px; height: 26px; }
.newsletter h4 { color: #fff; font-size: 1.25rem; }
.newsletter p { color: rgba(255,255,255,.6); font-size: 14px; }
.newsletter form { display: flex; gap: 12px; flex: 1; min-width: 300px; max-width: 520px; }
.newsletter input { flex: 1; background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.12); border-radius: var(--radius-pill); padding: 16px 24px; color: #fff; font-family: var(--font-body); }
.newsletter input::placeholder { color: rgba(255,255,255,.5); }
.newsletter input:focus { outline: none; border-color: var(--orange); }

.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.65); padding-block: clamp(60px, 7vw, 96px) 0; border-top: 1px solid rgba(255,255,255,.07); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 44px; }
.footer-grid .brand { margin-bottom: 24px; }
.footer__about p { font-size: 14.5px; max-width: 34ch; margin-bottom: 24px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.07); display: grid; place-items: center; color: #fff; transition: background .3s var(--ease), transform .3s var(--ease); }
.socials a:hover { background: var(--orange); transform: translateY(-3px); }
.socials svg { width: 17px; height: 17px; }
.footer-col h5 { color: #fff; font-size: 15px; letter-spacing: .04em; margin-bottom: 22px; }
.footer-col ul { display: grid; gap: 12px; }
.footer-col a, .footer-col li { font-size: 14.5px; transition: color .25s ease, padding-left .25s var(--ease); }
.footer-col a:hover { color: var(--orange); padding-left: 5px; }
.footer-bottom { margin-top: clamp(50px, 6vw, 80px); padding-block: 26px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13.5px; }
.footer-bottom a { color: #fff; }

/* ============================================================
   Page hero (interior pages)
   ============================================================ */
.page-hero { position: relative; padding: calc(var(--header-h) + 80px) 0 90px; background: var(--navy); color: #fff; overflow: hidden; }
.page-hero::before { content:""; position:absolute; inset:0; background: radial-gradient(900px 400px at 85% -10%, rgba(241,90,34,.32), transparent 60%); }
.page-hero .dots-deco { background-image: radial-gradient(rgba(255,255,255,.16) 2px, transparent 2px); }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin-bottom: 16px; }
.breadcrumb { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: 13px; letter-spacing: .04em; color: rgba(255,255,255,.7); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb .sep { opacity: .5; }
.breadcrumb .current { color: var(--orange); }

/* prose for service/about pages */
.prose-grid { display: grid; grid-template-columns: 1.6fr .9fr; gap: clamp(40px, 5vw, 72px); align-items: start; }
.prose h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin: 40px 0 18px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--muted); margin-bottom: 18px; }
.prose .img-block { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); margin: 12px 0 34px; }
.prose .img-block image-slot { width: 100%; height: 360px; }
.prose ul.checks { display: grid; gap: 14px; margin: 8px 0 28px; }
.prose ul.checks li { display: flex; gap: 14px; align-items: flex-start; color: var(--muted); }
.prose ul.checks .tick { flex:none; width:26px; height:26px; border-radius:8px; background:var(--orange-soft); color:var(--orange); display:grid; place-items:center; margin-top:2px; }
.prose ul.checks .tick svg { width:14px; height:14px; }

.sidebar-card { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; position: sticky; top: 100px; }
.sidebar-card h4 { font-size: 1.15rem; margin-bottom: 18px; }
.sidebar-nav { display: grid; gap: 8px; }
.sidebar-nav a { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-family: var(--font-head); font-weight: 500; font-size: 14px; color: var(--navy); transition: all .3s var(--ease); }
.sidebar-nav a:hover, .sidebar-nav a.active { background: var(--orange); border-color: var(--orange); color: #fff; transform: translateX(4px); }
.sidebar-nav a svg { width: 16px; height: 16px; }
.sidebar-cta { margin-top: 22px; background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: 30px; text-align: center; }
.sidebar-cta h4 { color: #fff; margin-bottom: 8px; }
.sidebar-cta p { color: rgba(255,255,255,.7); font-size: 14px; margin-bottom: 20px; }
.sidebar-cta .phone { font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; color: var(--orange); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 56px; }
.step { position: relative; padding-top: 14px; }
.step__num { font-family: var(--font-head); font-weight: 800; font-size: 3.2rem; color: var(--orange-tint); line-height: 1; margin-bottom: 14px; }
.step h4 { font-size: 1.12rem; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: .95rem; }

/* zones grid */
.zones-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 50px; }
.zone-chip { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 500; color: var(--navy); transition: all .35s var(--ease); }
.zone-chip:hover { border-color: var(--orange); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.zone-chip svg { width: 18px; height: 18px; color: var(--orange); flex: none; }

/* ============================================================
   Scroll reveal animations
   End-state is the DEFAULT (always visible). JS hides only
   below-the-fold elements via .reveal-hidden, then reveals
   them on scroll. Guarantees content is never stuck hidden.
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] { transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); will-change: opacity, transform; }
  [data-reveal].reveal-hidden { opacity: 0; transform: translateY(34px); }
  [data-reveal="left"].reveal-hidden { transform: translateX(-40px); }
  [data-reveal="right"].reveal-hidden { transform: translateX(40px); }
  [data-reveal="scale"].reveal-hidden { transform: scale(.94); }
  [data-reveal-delay="1"] { transition-delay: .08s; }
  [data-reveal-delay="2"] { transition-delay: .16s; }
  [data-reveal-delay="3"] { transition-delay: .24s; }
  [data-reveal-delay="4"] { transition-delay: .32s; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .tcard { flex: 0 0 calc((100% - 26px) / 2); }
}
@media (max-width: 900px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .about-grid, .why-grid, .contact-grid, .prose-grid, .video-split { grid-template-columns: 1fr; }
  .why-grid .video-card { order: -1; }
  .about__media { max-width: 520px; }
  .zones-grid { grid-template-columns: repeat(2,1fr); }

  /* mobile nav drawer */
  .nav.is-open { display: block; position: fixed; inset: var(--header-h) 0 0 0; background: var(--charcoal); padding: 24px var(--gutter); overflow-y: auto; }
  .nav.is-open .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav.is-open .nav__item { border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav.is-open .nav__link { padding: 16px 4px; font-size: 16px; }
  .nav.is-open .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; padding: 0 0 12px 16px; }
  .nav.is-open .dropdown a { color: rgba(255,255,255,.7); }
  .nav.is-open .dropdown a:hover { background: rgba(255,255,255,.06); color: #fff; }
  .nav.is-open .nav__link .caret { margin-left: auto; }
}
@media (max-width: 600px) {
  .services-grid, .steps, .zones-grid { grid-template-columns: 1fr; }
  .video-section .video-facade { max-width: 320px; }
  .tcard { flex: 0 0 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero__stat + .hero__stat { padding-left: 0; border-left: none; }
  .hero__stats { gap: 28px; }
  .about__since { right: 10px; }
}
