/* ==========================================================================
   Delmotte borne de charge – Landing page
   V2 – design calqué sur delmottelec.be (thème Vastcon) – couleurs du logo
   ========================================================================== */

:root {
  --primary: #3e9dd6;
  --primary-dark: #2a7fb5;
  --primary-light: #e8f4fb;
  --secondary: #47494d;
  --dark: #1c1c1c;
  --darker: #141414;
  --text: #6b6e73;
  --heading: #47494d;
  --grey-bg: #ececec;
  --light-bg: #f5f5f5;
  --border: #e3e3e3;
  --white: #fff;

  --font: 'Roboto', sans-serif;

  --topbar-h: 44px;
  --header-h: 86px;
  --shadow: 0 10px 40px rgba(0, 0, 0, .08);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, .18);
  --ease: cubic-bezier(.25, .8, .25, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; transition: color .3s var(--ease); }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font); color: var(--heading); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; }
p { margin: 0 0 1em; }
strong { color: inherit; }
button { font: inherit; cursor: pointer; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.container-fluid { width: 100%; padding: 0 16px; }
@media (min-width: 768px) {
  .container { padding: 0 24px; }
  .container-fluid { padding: 0 40px; }
}

/* ---------- Typography helpers ---------- */
.subtitle {
  display: block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}

.title {
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -.005em;
}
.title span { color: var(--primary); }
.title--light { color: #fff; }
.lead { font-size: 17px; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border: 1.5px solid var(--primary);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
  overflow: hidden;
  z-index: 1;
  transition: color .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}
.btn::before {
  content: "";
  position: absolute; inset: 0;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease);
  z-index: -1;
}
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn i { font-size: .9em; transition: transform .3s var(--ease); }
.btn:hover i.bi-arrow-up-right { transform: translate(2px, -2px); }
.btn:hover i.bi-arrow-right { transform: translateX(4px); }

.btn--primary { background: var(--primary); color: #fff; }
.btn--primary::before { background: var(--primary-dark); }
.btn--primary:hover { border-color: var(--primary-dark); }

.btn--outline { background: transparent; color: var(--primary); }
.btn--outline::before { background: var(--primary); }
.btn--outline:hover { color: #fff; }
.btn--on-dark { color: #fff; }

.btn--on-blue { border-color: #fff; color: #fff; }
.btn--on-blue::before { background: #fff; }
.btn--on-blue:hover { color: var(--primary); }

.btn--white { background: #fff; border-color: #fff; color: var(--primary); }
.btn--white::before { background: var(--dark); }
.btn--white:hover { color: #fff; border-color: var(--dark); }

.btn--block { width: 100%; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
@media (min-width: 992px) { .section { padding: 110px 0; } }
.section--grey { background: var(--grey-bg); }
.section--dark { background: var(--dark); color: rgba(255,255,255,.75); }
.section--dark strong { color: #fff; }
.section--secondary { background: var(--secondary); }
.section__head { max-width: 700px; margin: 0 auto 56px; text-align: center; }

/* ---------- Checklist ---------- */
.checklist { display: grid; gap: 12px; margin: 24px 0 36px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--heading); font-weight: 500; }
.section--dark .checklist li { color: #fff; }
.checklist i { color: var(--primary); font-size: 18px; line-height: 1.45; }
@media (min-width: 576px) { .checklist--cols { grid-template-columns: 1fr 1fr; } }

/* ==========================================================================
   TOP BAR + HEADER (transparent par-dessus le hero)
   ========================================================================== */
.site-top { position: absolute; top: 0; left: 0; right: 0; z-index: 100; }

.topbar { background: var(--dark); color: #fff; font-size: 14px; font-weight: 500; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: var(--topbar-h); gap: 16px; }
.topbar__infos { display: flex; gap: 28px; }
.topbar__infos li, .topbar__infos a { display: inline-flex; align-items: center; gap: 10px; }
.topbar__icon { display: grid; place-items: center; width: 28px; height: 28px; background: #333; color: var(--primary); font-size: 13px; }
.topbar a:hover { color: var(--primary); }
.topbar__social { color: #fff; font-size: 16px; }
@media (max-width: 991px) { .topbar__address { display: none !important; } }
@media (max-width: 575px) {
  .topbar__infos { gap: 14px; font-size: 13px; }
  .topbar__infos li:nth-child(2) a { font-size: 0; gap: 0; }
}

.header {
  position: relative;
  background: transparent;
  transition: background .3s;
}
.header.is-sticky {
  position: fixed; top: 0; left: 0; right: 0;
  background: var(--dark);
  box-shadow: 0 6px 30px rgba(0,0,0,.25);
  animation: slideDown .45s var(--ease);
}
@keyframes slideDown { from { transform: translateY(-100%); } to { transform: none; } }

.header__inner { display: flex; align-items: stretch; justify-content: space-between; height: var(--header-h); gap: 24px; padding-right: 0 !important; }
.header__logo { display: flex; align-items: center; }
.header__logo img { height: 58px; width: auto; }

.nav { display: flex; align-items: center; margin-left: auto; }
.nav__list { display: flex; gap: 4px; }
.nav__link {
  position: relative;
  display: block;
  padding: 10px 16px;
  font-weight: 500;
  font-size: 17px;
  color: #fff;
}
.nav__link:hover, .nav__link.is-active { color: var(--primary); }
.nav__cta-mobile { display: none; }

.header__actions { display: flex; align-items: stretch; gap: 16px; }
.header__cta {
  display: flex; align-items: center; gap: 12px;
  padding: 0 48px;
  background: var(--primary);
  color: #fff;
  font-size: 17px; font-weight: 700; text-transform: uppercase;
  transition: background .3s;
}
.header__cta:hover { background: var(--primary-dark); }
.header__cta i { transition: transform .3s var(--ease); }
.header__cta:hover i { transform: translateX(4px); }

.burger { display: none; align-self: center; width: 46px; height: 46px; border: 0; background: transparent; padding: 13px 10px; flex-direction: column; justify-content: space-between; }
.burger span { display: block; height: 2px; background: #fff; transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1199px) { .header__cta { padding: 0 32px; } .nav__link { padding: 10px 12px; } }
@media (max-width: 991px) {
  :root { --header-h: 74px; }
  .header__logo img { height: 46px; }
  .burger { display: flex; }
  .nav {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(340px, 86vw);
    display: block;
    background: var(--dark);
    padding: 110px 28px 32px;
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform .4s var(--ease);
    z-index: -1;
    overflow-y: auto;
  }
  .nav.is-open { transform: none; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__link { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 18px; }
  .nav__cta-mobile { display: flex; margin-top: 28px; }
  body.nav-open .header { background: var(--dark); }
  body.nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 90; }
}
@media (max-width: 575px) { .header__cta { display: none; } .header__inner { padding-right: 16px !important; } }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--topbar-h) + var(--header-h) + 60px) 0 160px;
  color: #fff;
  overflow: hidden;
  background: var(--dark);
}
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(20,20,20,.88) 0%, rgba(20,20,20,.65) 50%, rgba(20,20,20,.3) 100%),
    linear-gradient(180deg, rgba(20,20,20,.55) 0%, transparent 35%);
}
.hero__content { position: relative; }
.hero__title { font-size: clamp(30px, 5.2vw, 60px); font-weight: 700; text-transform: uppercase; color: #fff; line-height: 1.1; margin-bottom: 24px; }
.hero__title span { display: block; }
.hero__title span + span { color: var(--primary); }
@media (min-width: 576px) { .hero__title span { white-space: nowrap; } }
.hero__text { font-size: 18px; color: rgba(255,255,255,.88); max-width: 620px; margin-bottom: 36px; }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 16px; }
.hero__reviews {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 6px 18px 6px 6px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(6px);
  transition: background .3s, border-color .3s;
}
.hero__reviews:hover { background: rgba(255,255,255,.14); border-color: var(--primary); }
.hero__reviews-logo { display: grid; place-items: center; width: 38px; height: 38px; background: #fff; }
.hero__reviews-logo svg { width: 22px; height: 22px; }
.hero__reviews-text { display: flex; flex-direction: column; line-height: 1.3; }
.hero__reviews-score { display: flex; align-items: center; gap: 8px; }
.hero__reviews-score strong { font-size: 17px; color: #fff; }
.hero__reviews small { font-size: 12px; color: rgba(255,255,255,.75); }
@media (max-width: 575px) {
  .hero { padding-bottom: 120px; }
  .hero__buttons .btn { width: 100%; }
}

/* ==========================================================================
   4 POINTS FORTS
   ========================================================================== */
.highlights { position: relative; background: var(--grey-bg); }
.highlights__grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: -90px;
  background: #fff;
  box-shadow: var(--shadow-lg);
}
.highlight { padding: 44px 24px 36px; text-align: center; border-right: 1px solid var(--border); transition: background .3s; }
.highlight:last-child { border-right: 0; }
.highlight__icon {
  display: block; width: 66px; height: 66px; margin: 0 auto 18px;
  fill: none; stroke: var(--dark); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .35s var(--ease);
}
.highlight__icon .fill-bg { fill: #fff; }
.highlight:hover .highlight__icon { transform: translateY(-4px); }
.highlight h3 { font-size: 21px; color: var(--primary); text-transform: uppercase; margin-bottom: 8px; }
.highlight p { margin: 0; color: var(--dark); }
@media (max-width: 991px) {
  .highlights__grid { grid-template-columns: 1fr 1fr; }
  .highlight:nth-child(2) { border-right: 0; }
  .highlight:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
}
@media (max-width: 575px) {
  .highlights__grid { margin-top: -70px; }
  .highlight { padding: 28px 12px 24px; }
  .highlight__icon { width: 52px; height: 52px; margin-bottom: 14px; }
  .highlight h3 { font-size: 17px; }
  .highlight p { font-size: 14px; line-height: 1.4; }
}

/* ==========================================================================
   ABOUT (section sombre)
   ========================================================================== */
.about { padding-top: 90px; }
.about__grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 992px) { .about__grid { grid-template-columns: 1fr 1fr; gap: 80px; } }
.about .lead { color: #fff; }

.about__media { position: relative; padding-bottom: 90px; }
.about__media img { width: 100%; aspect-ratio: 4/3.4; object-fit: cover; }
.about__card {
  position: absolute; left: -40px; bottom: 0;
  width: min(380px, 85%);
  padding: 30px 30px 32px;
  background: var(--primary);
  color: #fff;
}
.about__card h3 { color: #fff; font-size: 21px; text-transform: uppercase; margin-bottom: 10px; }
.about__card p { font-size: 15px; margin-bottom: 20px; }
@media (max-width: 991px) { .about__card { left: 16px; } }

/* ==========================================================================
   INSTALLATION
   ========================================================================== */
.steps { display: grid; gap: 24px; }
@media (min-width: 576px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }

.step {
  position: relative;
  padding: 36px 28px 30px;
  background: #fff;
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.step::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.step:hover::before { transform: scaleX(1); }
.step__icon { display: grid; place-items: center; width: 62px; height: 62px; margin-bottom: 22px; background: var(--primary); color: #fff; font-size: 26px; }
.step h3 { font-size: 18px; text-transform: uppercase; }
.step p { margin: 0; font-size: 15px; }

/* ==========================================================================
   SERVICE (maintenance / réparation)
   ========================================================================== */
.service__grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 992px) {
  .service__grid { grid-template-columns: 1fr 1fr; gap: 80px; }
  .service--reverse .service__media { order: 2; }
}
.service__media { position: relative; }
.service__media img { width: 100%; aspect-ratio: 5/4; object-fit: cover; }
.service__media-card {
  position: absolute; left: 24px; bottom: -28px;
  display: flex; align-items: center; gap: 16px;
  padding: 20px 26px;
  background: #fff; box-shadow: var(--shadow-lg);
  color: var(--text); line-height: 1.35;
}
.service__media-card strong { color: var(--heading); font-size: 17px; text-transform: uppercase; }
.service__media-card i { display: grid; place-items: center; width: 52px; height: 52px; background: var(--primary); color: #fff; font-size: 22px; }
.service--reverse .service__media-card { left: auto; right: 24px; }

.service__items { display: grid; gap: 22px; margin-top: 32px; }
@media (min-width: 576px) { .service__items { grid-template-columns: 1fr 1fr; } }
.service__item { display: flex; gap: 16px; }
.service__item > i { flex: none; display: grid; place-items: center; width: 48px; height: 48px; background: var(--primary); color: #fff; font-size: 20px; }
.service__item h3 { font-size: 16px; text-transform: uppercase; margin-bottom: 4px; }
.service__item p { margin: 0; font-size: 15px; line-height: 1.55; }

/* ==========================================================================
   GALLERY
   ========================================================================== */
.gallery { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; } }
.gallery__item { position: relative; overflow: hidden; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery__item::after {
  content: "\F52A";
  font-family: "bootstrap-icons";
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: 28px; color: #fff;
  background: rgba(62,157,214,.75);
  opacity: 0; transition: opacity .35s var(--ease);
}
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item:hover::after { opacity: 1; }
.gallery__item--tall { grid-row: span 2; }
@media (min-width: 768px) { .gallery__item--wide { grid-column: span 2; } }

/* ==========================================================================
   MODÈLES V2C
   ========================================================================== */
.models__grid { display: grid; gap: 24px; }
@media (min-width: 640px) { .models__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .models__grid { grid-template-columns: repeat(4, 1fr); } }

.model { display: flex; flex-direction: column; background: #fff; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.model:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.model__media { position: relative; overflow: hidden; aspect-ratio: 4/3; background: var(--light-bg); }
.model__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.model:hover .model__media img { transform: scale(1.05); }
.model__tag { position: absolute; left: 0; bottom: 0; padding: 8px 14px; background: var(--primary); color: #fff; font-size: 13px; font-weight: 700; text-transform: uppercase; }
.model__body { display: flex; flex-direction: column; flex: 1; padding: 26px 24px 24px; }
.model h3 { font-size: 22px; text-transform: uppercase; margin-bottom: 10px; }
.model h3 span { color: var(--primary); font-size: .72em; }
.model__body > p { font-size: 15px; line-height: 1.6; }
.model__specs { display: grid; gap: 8px; margin: 4px 0 24px; padding-top: 16px; border-top: 1px solid var(--border); }
.model__specs li { display: flex; align-items: center; gap: 10px; color: var(--heading); font-size: 15px; font-weight: 500; }
.model__specs i { flex: none; display: grid; place-items: center; width: 28px; height: 28px; background: var(--primary-light); color: var(--primary); font-size: 14px; }
.model .btn { margin-top: auto; }
.models { padding-top: 90px; }
.models__cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px;
  margin-top: 40px; padding: 36px 40px;
  background: #fff; border-left: 4px solid var(--primary);
}
.models__cta h3 { font-size: 22px; text-transform: uppercase; margin-bottom: 6px; }
.models__cta p { margin: 0; max-width: 560px; }
.models__cta-buttons { display: flex; flex-wrap: wrap; gap: 14px; }
@media (max-width: 575px) { .models__cta { padding: 28px 22px; } .models__cta-buttons .btn { width: 100%; } }

/* ==========================================================================
   RÉALISONS VOTRE PROJET – split photo / panneau bleu
   ========================================================================== */
.project { display: grid; background: var(--primary); }
@media (min-width: 992px) { .project { grid-template-columns: 1fr 1fr; min-height: 600px; } }
.project__media { position: relative; min-height: 320px; overflow: hidden; }
.project__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.project__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 55%, rgba(62,157,214,.35)); }
.project__badge {
  position: absolute; left: 24px; bottom: 24px; z-index: 1;
  display: flex; align-items: center; gap: 14px;
  padding: 18px 22px; background: #fff; box-shadow: var(--shadow-lg);
  line-height: 1.3; color: var(--text);
}
.project__badge i { font-size: 30px; color: var(--primary); }
.project__badge strong { display: block; color: var(--heading); text-transform: uppercase; }

.project__panel { position: relative; padding: 72px 24px; color: rgba(255,255,255,.9); overflow: hidden; }
@media (min-width: 992px) { .project__panel { padding: 90px 8% 90px 7%; } }
.project__panel::before {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(-45deg, rgba(255,255,255,.05) 0 2px, transparent 2px 24px);
  pointer-events: none;
}
.project__panel > * { position: relative; }
.project__panel .subtitle { color: var(--dark); }
.project__panel .title { margin-bottom: 14px; }
.project__phone { display: inline-flex; align-items: center; gap: 18px; margin: 18px 0 28px; color: #fff; line-height: 1.1; }
.project__phone small { display: block; font-size: 14px; font-weight: 500; text-transform: uppercase; opacity: .8; margin-bottom: 4px; }
.project__phone > span:last-child { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; letter-spacing: .01em; }
.project__phone-icon { display: grid; place-items: center; width: 68px; height: 68px; background: #fff; color: var(--primary); font-size: 26px; transition: transform .3s var(--ease); }
.project__phone:hover .project__phone-icon { transform: rotate(-12deg); }
.project__list { display: grid; gap: 10px; margin-bottom: 34px; }
.project__list li { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 500; }
.project__list i { color: var(--dark); font-size: 18px; }
.project__buttons { display: flex; flex-wrap: wrap; gap: 14px; }
@media (max-width: 575px) { .project__buttons .btn { width: 100%; } }

/* ==========================================================================
   AVIS – note globale + cartes identiques en carrousel
   ========================================================================== */
.stars { display: inline-flex; align-items: center; gap: 3px; color: #fbbc04; font-size: 16px; }
.reviews__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 48px; }
.reviews__head .title { margin: 0; }
.reviews__rating { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 24px; padding: 18px 18px 18px 22px; background: #fff; box-shadow: var(--shadow); }
.reviews__glogo { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid var(--border); }
.reviews__glogo svg { width: 28px; height: 28px; }
.reviews__rating-score { display: flex; align-items: center; gap: 14px; }
.reviews__rating-score strong { font-size: 46px; font-weight: 800; line-height: 1; color: var(--heading); }
.reviews__rating-score .stars { font-size: 18px; }
.reviews__rating-score small { display: block; font-size: 13px; }
@media (max-width: 575px) { .reviews__rating { width: 100%; } .reviews__rating .btn { width: 100%; } }

.reviews__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 0 8px;
  scrollbar-width: none;
}
.reviews__track::-webkit-scrollbar { display: none; }
@media (min-width: 640px) { .reviews__track { grid-auto-columns: calc((100% - 24px) / 2); } }
@media (min-width: 992px) { .reviews__track { grid-auto-columns: calc((100% - 72px) / 4); } }

.review-card {
  scroll-snap-align: start;
  display: flex; flex-direction: column;
  padding: 28px 26px 24px;
  background: #fff;
  border-bottom: 3px solid transparent;
  transition: border-color .3s, transform .35s var(--ease), box-shadow .35s var(--ease);
}
.review-card:hover { border-bottom-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow); }
.review-card__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.review-card__top small { font-size: 13px; }
.review-card p { flex: 1; margin: 0 0 22px; font-size: 15px; line-height: 1.65; color: var(--heading); }
.review-card__author { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--border); }
.review-card__author strong { display: block; color: var(--heading); font-size: 15px; line-height: 1.3; }
.review-card__author small { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; }
.review-card__author small i { color: #4285f4; }
.review-card__avatar { flex: none; display: grid; place-items: center; width: 42px; height: 42px; background: var(--primary); color: #fff; font-weight: 700; }

.reviews__nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; }
.reviews__dots { display: flex; gap: 8px; }
.reviews__dots button { width: 28px; height: 4px; padding: 0; border: 0; background: #cfd3d8; transition: background .3s, width .3s; }
.reviews__dots button.is-active { width: 44px; background: var(--primary); }
.reviews__arrows { display: flex; gap: 8px; margin-left: auto; }
.reviews__btn { display: grid; place-items: center; width: 50px; height: 50px; border: 0; background: var(--primary); color: #fff; font-size: 18px; transition: background .3s, opacity .3s; }
.reviews__btn:hover { background: var(--primary-dark); }
.reviews__btn:disabled { opacity: .35; cursor: default; }

/* ==========================================================================
   QUOTE / DEVIS
   ========================================================================== */
.quote__grid { display: grid; gap: 48px; }
@media (min-width: 992px) { .quote__grid { grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; } }
.quote__contacts { display: grid; gap: 22px; margin: 36px 0; }
.quote__contacts li { display: flex; align-items: center; gap: 16px; color: #fff; font-weight: 500; line-height: 1.4; }
.quote__contacts small { display: block; color: rgba(255,255,255,.55); font-weight: 400; font-size: 13px; }
.quote__contacts i { flex: none; display: grid; place-items: center; width: 54px; height: 54px; background: var(--primary); color: #fff; font-size: 20px; }
.quote__contacts a:hover { color: var(--primary); }
.quote__zone { display: flex; gap: 10px; padding: 16px 20px; border: 1px dashed rgba(255,255,255,.25); font-size: 15px; }
.quote__zone i { color: var(--primary); }

.quote__form { padding: 40px 36px; background: #fff; box-shadow: var(--shadow-lg); border-top: 4px solid var(--primary); color: var(--text); }
@media (max-width: 575px) { .quote__form { padding: 28px 20px; } }
.form__group { border: 0; padding: 0; margin: 0 0 22px; }
.form__group legend { font-weight: 700; color: var(--heading); text-transform: uppercase; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 1.5px solid var(--border); font-size: 15px; font-weight: 500; color: var(--heading); cursor: pointer; transition: all .25s; }
.chip span:hover { border-color: var(--primary); }
.chip input:checked + span { background: var(--primary); border-color: var(--primary); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--primary); outline-offset: 2px; }

.form__row { display: grid; gap: 0 18px; }
@media (min-width: 576px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 500; color: var(--heading); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  background: var(--light-bg);
  font: inherit; font-size: 15px; color: var(--heading);
  transition: border-color .25s, background .25s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--primary); background: #fff; }
.field.has-error input { border-color: #d9534f; background: #fdf3f3; }
.consent { display: flex; gap: 12px; margin: 6px 0 24px; font-size: 14px; line-height: 1.5; cursor: pointer; }
.consent input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--primary); }
.consent a { color: var(--primary); text-decoration: underline; }
.consent.has-error span { color: #d9534f; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.quote__form { position: relative; }
.quote__form button[disabled] { opacity: .7; cursor: wait; }
.form__msg { margin: 16px 0 0; font-size: 15px; font-weight: 500; }
.form__msg.is-success { color: #2e9e5b; }
.form__msg.is-error { color: #d9534f; }
.form__msg a { color: inherit; text-decoration: underline; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--darker); color: rgba(255,255,255,.7); padding-top: 80px; font-size: 15px; }
.footer__grid { display: grid; gap: 40px; padding-bottom: 56px; }
@media (min-width: 640px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 48px; } }
.footer__logo { display: inline-block; margin-bottom: 22px; }
.footer__logo img { height: 64px; width: auto; }
.footer__social { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-top: 22px; background: var(--primary); color: #fff !important; }
.footer__social:hover { background: var(--primary-dark); }
.footer h4 { position: relative; color: #fff; font-size: 18px; text-transform: uppercase; padding-bottom: 14px; margin-bottom: 22px; }
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; background: var(--primary); }
.footer ul { display: grid; gap: 12px; }
.footer a:hover { color: var(--primary); }
.footer__contact li { display: flex; gap: 12px; }
.footer__contact i { color: var(--primary); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; font-size: 14px; }
.footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.footer__bottom p { margin: 0; }
.footer__sep { margin: 0 8px; opacity: .4; }
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__bottom a { color: #fff; }

/* ==========================================================================
   MISC
   ========================================================================== */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 50;
  display: grid; place-items: center;
  width: 48px; height: 48px;
  background: var(--primary); color: #fff; font-size: 18px;
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: all .35s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--primary-dark); }

.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; background: rgba(20,20,20,.92); opacity: 0; visibility: hidden; transition: opacity .3s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-height: 88vh; max-width: 100%; }
.lightbox__close { position: absolute; top: 20px; right: 20px; width: 48px; height: 48px; border: 0; background: var(--primary); color: #fff; font-size: 18px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; animation: none !important; }
}
