/* ==========================================================
   Shers Designs Vloeren
   Palet: zwart, antraciet, cementgrijs, gebroken wit, staalblauw
   ========================================================== */

:root {
  --black: #111214;
  --anthracite: #2b2e31;
  --graphite: #3a3e42;
  --cement: #8b9094;
  --concrete: #e6e7e8;
  --paper: #f6f6f4;
  --text: #1c1d1f;
  --text-soft: #4a4e52;
  --blue: #14498f;
  --blue-hover: #0f3a75;
  --blue-light: #5b93e0;

  --font-head: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1180px;
  --pad: clamp(20px, 4vw, 40px);
  --radius: 2px;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--pad) * 2);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--blue);
  color: #fff;
  padding: 10px 16px;
  z-index: 200;
}
.skip:focus { left: 8px; }

:focus-visible {
  outline: 3px solid var(--blue-light);
  outline-offset: 3px;
}

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}
h1 { font-size: clamp(2.7rem, 5.2vw, 4.6rem); }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); max-width: 24ch; }
h3 { font-size: 1.7rem; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

.lead { font-size: 1.15rem; max-width: 52ch; color: var(--text-soft); }

/* ---------- Beton-texturen (puur CSS, geen foto's) ---------- */
.concrete-dark {
  background-color: var(--anthracite);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 .22 0 0 0 -.02'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='900'%3E%3Cfilter id='c'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.006 .009' numOctaves='3' seed='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0 0 0 -.12'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23c)'/%3E%3C/svg%3E");
  color: var(--paper);
}
.concrete-dark .eyebrow { color: var(--blue-light); }
.concrete-dark .lead,
.concrete-dark .section-intro { color: #c3c6c9; }

/* ---------- Knoppen ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 15px 26px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.18s, border-color 0.18s, color 0.18s;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-hover); }
.btn-ghost { border-color: rgba(246, 246, 244, 0.45); color: var(--paper); }
.btn-ghost:hover { border-color: var(--paper); background: rgba(246, 246, 244, 0.08); }
.btn-sm { padding: 10px 18px; font-size: 0.88rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--black);
  color: var(--paper);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.logo-mark {
  width: 14px;
  height: 36px;
  background: var(--blue);
}
.logo-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  line-height: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.logo-text small {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.42em;
  color: var(--cement);
}

.nav { display: flex; gap: 28px; }
.nav a {
  white-space: nowrap;
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  color: #d7d9db;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.nav a:hover { color: #fff; border-bottom-color: var(--blue-light); }

.header-actions { display: flex; align-items: center; gap: 20px; }
.header-phone {
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  color: #d7d9db;
}
.header-phone:hover { color: #fff; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
}
.menu-toggle span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: var(--paper);
  transition: transform 0.2s, top 0.2s;
}
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Foto-placeholders ---------- */
.ph {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  background-color: #34383c;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 .2 0 0 0 -.02'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='900'%3E%3Cfilter id='c'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.006 .009' numOctaves='3' seed='9' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .6 0 0 0 -.14'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23c)'/%3E%3C/svg%3E");
}
/* Glans, alsof licht over een natte vloer valt */
.ph::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, 0.09) 48%, transparent 58%);
  pointer-events: none;
}
.ph img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ph:has(img)::before { display: none; }
.ph-label {
  z-index: 1;
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(17, 18, 20, 0.88);
  color: #d7d9db;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
}
.ph-label span {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.68rem;
  color: var(--blue-light);
}
.ph-tall { min-height: 460px; }
.ph-wide { min-height: 320px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(560px, 82vh, 780px);
  background: var(--black);
  color: var(--paper);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 70%;
}
/* Donkere sluier links, zodat de tekst leesbaar blijft en de vloer rechts zichtbaar is */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(17, 18, 20, 0.9) 0%, rgba(17, 18, 20, 0.72) 40%, rgba(17, 18, 20, 0.15) 75%, rgba(17, 18, 20, 0) 100%),
    linear-gradient(0deg, rgba(17, 18, 20, 0.35) 0%, rgba(17, 18, 20, 0) 30%);
}
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: var(--blue);
  z-index: 2;
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding-top: clamp(72px, 10vw, 120px);
  padding-bottom: clamp(72px, 10vw, 120px);
}
.hero-copy { max-width: 780px; }
.hero-copy .eyebrow { color: var(--blue-light); }
.hero-copy h1 { margin-bottom: 24px; }
.hero-copy .lead { margin-bottom: 36px; max-width: 40ch; color: #d3d6d9; }
.hero-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-bottom: 44px; }

.link-arrow {
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--paper);
  padding: 6px 0;
  border-bottom: 2px solid rgba(246, 246, 244, 0.35);
  transition: border-color 0.15s, color 0.15s;
}
.link-arrow::after { content: " \2192"; }
.link-arrow:hover { border-color: var(--blue-light); color: #fff; }

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 0;
  font-size: 0.88rem;
  font-weight: 500;
  color: #d3d6d9;
}
.hero-facts li { padding-right: 18px; margin-right: 18px; border-right: 1px solid rgba(255, 255, 255, 0.25); }
.hero-facts li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }

/* ---------- Cijferstrook ---------- */
.stats { background: var(--paper); border-bottom: 1px solid var(--concrete); padding-top: 40px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 36px 24px 36px 0;
  border-right: 1px solid var(--concrete);
  padding-left: 24px;
}
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1;
  color: var(--black);
  margin-bottom: 8px;
}
.stat span { font-size: 0.92rem; color: var(--text-soft); }

/* ---------- Secties ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-light { background: var(--concrete); }
.section-head { margin-bottom: clamp(40px, 6vw, 72px); }
.section-head h2 { margin-bottom: 20px; }
.section-intro { max-width: 56ch; color: var(--text-soft); }
.section-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}
.section-head-row .section-intro { max-width: 38ch; }

/* ---------- Diensten ---------- */
.service {
  display: grid;
  grid-template-columns: 90px 1fr 1.1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  padding: 48px 0;
  border-top: 1px solid #cfd1d3;
}
.service:last-child { border-bottom: 1px solid #cfd1d3; }
.service-flip { grid-template-columns: 90px 1.1fr 1fr; }
.service-flip .ph { order: 2; }
.service-flip .service-body { order: 3; }
.service-flip .service-num { order: 1; }

.service-num {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 3.6rem;
  line-height: 1;
  color: var(--blue);
}
.service-body h3 { margin-bottom: 16px; font-size: 2.1rem; }
.service-body > p { color: var(--text-soft); margin-bottom: 20px; max-width: 48ch; }

.ticks { margin-bottom: 22px; }
.ticks li {
  position: relative;
  padding: 7px 0 7px 26px;
  font-weight: 500;
  border-bottom: 1px solid #e0e1e2;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 12px;
  height: 2px;
  background: var(--blue);
}
.service-for { font-size: 0.9rem; color: var(--text-soft); }
.service-for span {
  font-weight: 600;
  color: var(--black);
  margin-right: 8px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
}

/* ---------- Galerij: bewust niet-symmetrisch ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 150px;
  gap: 16px;
}
.gallery .ph { min-height: 0; }
.g1 { grid-column: 1 / span 7; grid-row: 1 / span 3; }
.g2 { grid-column: 8 / span 5; grid-row: 1 / span 2; }
.g3 { grid-column: 8 / span 5; grid-row: 3 / span 3; }
.g4 { grid-column: 1 / span 4; grid-row: 4 / span 2; }
.g5 { grid-column: 5 / span 3; grid-row: 4 / span 2; }

/* ---------- Werkwijze ---------- */
.process h2 { color: #fff; }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.steps li {
  padding: 32px 28px 8px 0;
  margin-right: 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}
.steps li:last-child { border-right: 0; margin-right: 0; }
.step-num {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 3rem;
  line-height: 1;
  color: var(--blue-light);
  margin-bottom: 18px;
}
.steps h3 { color: #fff; font-size: 1.55rem; margin-bottom: 12px; }
.steps p { color: #c3c6c9; font-size: 0.97rem; }

/* ---------- Waarom ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 7vw, 96px);
  align-items: start;
}
.why-grid h2 { margin-bottom: 20px; }
.specs div {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid #cfd1d3;
}
.specs div:last-child { border-bottom: 1px solid #cfd1d3; }
.specs dt {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.45rem;
  text-transform: uppercase;
  line-height: 1.1;
}
.specs dd { color: var(--text-soft); }

/* ---------- FAQ ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(32px, 7vw, 96px);
  align-items: start;
}
.faq-grid h2 { margin-bottom: 20px; }
.faq details { border-top: 1px solid #bfc2c5; }
.faq details:last-child { border-bottom: 1px solid #bfc2c5; }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 48px 22px 0;
  font-weight: 600;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before,
.faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 16px;
  height: 2px;
  background: var(--blue);
  transition: transform 0.2s;
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq summary:hover { color: var(--blue); }
.faq details p { padding: 0 48px 24px 0; color: var(--text-soft); max-width: 60ch; }

/* ---------- Contact ---------- */
.contact { border-top: 6px solid var(--blue); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 7vw, 96px);
  align-items: start;
}
.contact h2 { color: #fff; margin-bottom: 22px; max-width: 16ch; }
.contact-list { margin-top: 40px; }
.contact-list li {
  display: grid;
  grid-template-columns: 120px 1fr;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: #e6e7e8;
}
.contact-list li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
.contact-list span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cement);
  align-self: center;
}
.contact-list a { text-decoration: none; font-weight: 500; }
.contact-list a:hover { color: var(--blue-light); }

.form {
  background: var(--paper);
  color: var(--text);
  padding: clamp(24px, 4vw, 40px);
}
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: #fff;
  border: 1px solid #b4b7ba;
  border-radius: var(--radius);
  padding: 12px 14px;
}
.field textarea { resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--blue);
  outline-offset: 0;
  border-color: var(--blue);
}
.field.has-error input { border-color: #b3261e; }
.error { color: #b3261e; font-size: 0.82rem; margin-top: 4px; min-height: 0; }
.form-status { margin-top: 14px; font-size: 0.95rem; font-weight: 500; }
.form-status.ok { color: #1b6b3a; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: #c3c6c9; padding-top: 56px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
}
.footer-logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  color: #fff;
  margin-bottom: 6px;
}
.footer-logo span { color: var(--cement); font-weight: 500; }
.footer-small { font-size: 0.9rem; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
  color: var(--cement);
}
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Hulpklasse ---------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* ---------- Kleurenkiezer ---------- */
.color-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.color-copy h2 { margin-bottom: 20px; }

.swatches {
  border: 0;
  padding: 0;
  margin: 32px 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px 14px;
  max-width: 420px;
}
.swatch { position: relative; display: block; cursor: pointer; }
.swatch input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.swatch-chip {
  display: block;
  aspect-ratio: 1;
  background: var(--chip);
  border: 1px solid rgba(0, 0, 0, 0.2);
  position: relative;
  transition: transform 0.15s;
}
.swatch-chip::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0) 45%);
}
.swatch:hover .swatch-chip { transform: translateY(-2px); }
.swatch input:checked + .swatch-chip { outline: 3px solid var(--blue); outline-offset: 3px; }
.swatch input:focus-visible + .swatch-chip { outline: 3px solid var(--blue-light); outline-offset: 3px; }
.swatch-ral {
  display: block;
  margin-top: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-soft);
}
.swatch input:checked ~ .swatch-ral { color: var(--black); }

.color-readout { display: flex; align-items: baseline; gap: 14px; margin-bottom: 8px; }
.color-readout strong {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.color-readout span { color: var(--text-soft); }
.color-note { font-size: 0.85rem; color: var(--text-soft); max-width: 44ch; margin-bottom: 28px; }

.room {
  --floor: polygon(0 67.2%, 3.9% 65.9%, 96.1% 65.9%, 100% 67.2%, 100% 100%, 0 100%);
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #ddd;
}
.room-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.room-tint,
.room-gloss {
  position: absolute;
  inset: 0;
  clip-path: var(--floor);
  pointer-events: none;
}
.room-tint {
  background: var(--tint, #c5c7c4);
  mix-blend-mode: multiply;
  transition: background-color 0.4s ease;
}
/* Weerspiegeling van het raam, zodat donkere kleuren glans houden */
.room-gloss {
  background: linear-gradient(90deg, transparent 36%, rgba(255, 255, 255, 0.26) 50%, transparent 64%);
  mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 80%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 80%);
}
.room .ph-label em { font-style: normal; }

/* ---------- Doorsnede: opbouw van de vloer ---------- */
.layers {
  margin-top: clamp(56px, 8vw, 96px);
  padding-top: clamp(40px, 6vw, 64px);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.layers-intro h3 { color: #fff; font-size: 2.2rem; margin-bottom: 14px; }
.layers-intro p:last-child { color: #c3c6c9; max-width: 38ch; }

.layer { display: grid; grid-template-columns: 1fr 1.3fr; }
.layer-bar { display: block; min-height: var(--h); }
.layer-label {
  position: relative;
  align-self: center;
  padding: 10px 0 10px 40px;
  font-size: 0.93rem;
  color: #c3c6c9;
}
.layer-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 28px;
  height: 1px;
  background: rgba(255, 255, 255, 0.55);
}
.layer-label b {
  display: block;
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 2px;
}
.layer-top    { --h: 56px; }
.layer-cast   { --h: 78px; }
.layer-primer { --h: 56px; }
.layer-base   { --h: 104px; }
.layer-top .layer-bar    { background: var(--blue-light); }
.layer-cast .layer-bar   { background: #4d535a; }
.layer-primer .layer-bar { background: #9aa0a5; }
.layer-base .layer-bar {
  background-color: #63676b;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.14) 0 3px, transparent 4px),
    radial-gradient(circle at 62% 62%, rgba(0, 0, 0, 0.28) 0 4px, transparent 5px),
    radial-gradient(circle at 82% 22%, rgba(255, 255, 255, 0.12) 0 2px, transparent 3px);
  background-size: 70px 42px, 92px 52px, 54px 34px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .header-phone { display: none; }
}

@media (max-width: 1100px) {
  .menu-toggle { display: block; }
  .nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--black);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px var(--pad) 20px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); font-size: 1rem; }
}

@media (max-width: 1020px) {
  .header-phone { display: none; }
  .hero::before {
    background:
      linear-gradient(90deg, rgba(17, 18, 20, 0.9) 0%, rgba(17, 18, 20, 0.7) 60%, rgba(17, 18, 20, 0.35) 100%),
      linear-gradient(0deg, rgba(17, 18, 20, 0.45) 0%, rgba(17, 18, 20, 0) 35%);
  }
  .service,
  .service-flip { grid-template-columns: 64px 1fr; }
  .service .ph,
  .service-flip .ph { grid-column: 1 / -1; order: 4; }
  .service-flip .service-body { order: 2; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li { margin-right: 0; padding-right: 24px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); padding-bottom: 28px; }
  .steps li:nth-child(2) { border-right: 0; }
  .why-grid,
  .faq-grid,
  .color-grid,
  .layers,
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .header-actions .btn { display: none; }

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { border-right: 0; padding-left: 0; border-bottom: 1px solid var(--concrete); }
  .stat:nth-last-child(-n+2) { border-bottom: 0; }

  .section-head-row { flex-direction: column; align-items: flex-start; gap: 16px; }

  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; }
  .g1 { grid-column: 1 / -1; grid-row: auto / span 2; }
  .g2, .g3, .g4, .g5 { grid-column: auto; grid-row: auto / span 1; }
  .g5 { grid-column: 1 / -1; }

  .specs div { grid-template-columns: 1fr; gap: 6px; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .steps { grid-template-columns: 1fr; }
  .steps li { border-right: 0; }
  .service,
  .service-flip { grid-template-columns: 1fr; gap: 14px; }
  .service-num { font-size: 2.6rem; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .contact-list li { grid-template-columns: 1fr; gap: 2px; }
  .hero-buttons .btn { width: 100%; }
  .hero-facts { flex-direction: column; gap: 6px; }
  .hero-facts li { border-right: 0; margin-right: 0; padding-right: 0; }
  .hero-bg { object-position: 72% 70%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
