/* Bouwbedrijf SLD — huisstijl: antraciet en oranje uit het logo */

:root {
  color-scheme: light;
  --ink: #262122;
  --ink-soft: #332d2e;
  --text: #3f3a3b;
  --muted: #6b6465;
  --line: #e3dfdc;
  --surface: #f5f3f1;
  --white: #fff;
  --orange: #d4431b;
  --orange-dark: #b3370f;
  --orange-light: #ff8a64;
  --font: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --header-h: 84px;
  --radius: 3px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

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

body:has(.lightbox[open]) { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

h1, h2, h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.005em;
}

h2 { font-size: clamp(34px, 4.2vw, 50px); }
h3 { font-size: 23px; font-weight: 600; line-height: 1.2; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

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

.skip-link {
  position: fixed;
  z-index: 30;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--orange);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
}

.skip-link:focus { transform: none; }

.wrap {
  width: min(100% - var(--gutter) * 2, var(--wrap));
  margin-inline: auto;
}

.section { padding-block: clamp(64px, 9vw, 112px); }
.section--surface { background: var(--surface); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 48px;
  margin-bottom: clamp(32px, 4vw, 48px);
}

.section-head > div { max-width: 640px; }
.section-head h2 + p { margin-top: 14px; color: var(--muted); font-size: 18px; }

/* Knoppen en links */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.button svg { width: 18px; height: 18px; flex: 0 0 auto; }
.button-primary { color: var(--white); background: var(--orange); }
.button-primary:hover { background: var(--orange-dark); }
.button-ghost { border-color: rgba(255, 255, 255, .6); color: var(--white); }
.button-ghost:hover { border-color: var(--white); color: var(--ink); background: var(--white); }
.button-outline { border-color: var(--ink); color: var(--ink); }
.button-outline:hover { color: var(--white); background: var(--ink); }

.button-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link {
  flex: 0 0 auto;
  padding-bottom: 3px;
  border-bottom: 2px solid var(--orange);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  transition: color .2s ease;
}

.link:hover { color: var(--orange-dark); }

.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Header */

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  color: var(--white);
  background: var(--ink);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
}

.brand { display: inline-flex; flex: 0 0 auto; margin-right: auto; }
.brand img { width: 64px; height: 64px; border-radius: 50%; }

.primary-navigation {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
  font-size: 16px;
  font-weight: 500;
}

.primary-navigation > a {
  position: relative;
  padding-block: 10px;
  color: #e9e4e3;
  text-decoration: none;
  transition: color .2s ease;
}

.primary-navigation > a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  background: var(--orange);
  content: '';
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}

.primary-navigation > a:hover { color: var(--white); }
.primary-navigation > a:hover::after,
.primary-navigation > a[aria-current="page"]::after { transform: scaleX(1); }
.primary-navigation > a[aria-current="page"] { color: var(--white); }

.header-cta { min-height: 46px; padding: 0 20px; }

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-left: 8px;
  padding-left: 24px;
  border-left: 1px solid rgba(255, 255, 255, .16);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.header-phone .icon { color: var(--orange-light); }
.header-phone:hover span { color: var(--orange-light); }

.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 4px 0 10px;
  border: 0;
  color: var(--white);
  background: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.menu-icon { display: grid; gap: 6px; width: 22px; }
.menu-icon span { height: 2px; background: currentColor; transition: transform .2s ease; }
.menu-toggle[aria-expanded="true"] .menu-icon span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Homepage hero */

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(84vh, 760px);
  color: var(--white);
  background: var(--ink);
  isolation: isolate;
}

.hero > img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 45%;
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: '';
  background:
    linear-gradient(90deg, rgba(38, 33, 34, .9) 0%, rgba(38, 33, 34, .72) 38%, rgba(38, 33, 34, .15) 72%, rgba(38, 33, 34, 0) 100%),
    linear-gradient(0deg, rgba(38, 33, 34, .55) 0%, rgba(38, 33, 34, 0) 45%);
}

.hero-content { padding-block: 140px clamp(56px, 8vw, 96px); }
.hero-content > * { max-width: 620px; }

.hero h1 {
  color: var(--white);
  font-size: clamp(44px, 6.4vw, 78px);
  line-height: 1;
}

.hero p {
  margin: 22px 0 0;
  color: #ebe7e6;
  font-size: clamp(18px, 1.6vw, 20px);
  line-height: 1.6;
}

.hero .button-row { margin-top: 34px; }

/* Diensten-tegels op de homepage */

.service-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-tile {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 420px;
  overflow: hidden;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--ink);
  text-decoration: none;
  isolation: isolate;
}

.service-tile img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.service-tile::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: '';
  background: linear-gradient(0deg, rgba(38, 33, 34, .92) 0%, rgba(38, 33, 34, .55) 42%, rgba(38, 33, 34, 0) 70%);
}

.service-tile::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  background: var(--orange);
  content: '';
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}

.service-tile:hover img { transform: scale(1.04); }
.service-tile:hover::after,
.service-tile:focus-visible::after { transform: scaleX(1); }

.service-tile-body { display: block; padding: 24px; }
.service-tile h3 { color: var(--white); font-size: 28px; }
.service-tile-body p { margin-top: 6px; color: #e2dddc; font-size: 15px; line-height: 1.5; }

/* Tekst + foto */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(36px, 6vw, 88px);
}

.split-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  object-fit: cover;
}

.split-photo--team img { aspect-ratio: 5 / 4; object-position: 50% 72%; }

.split-text h2 { margin-bottom: 20px; }
.split-text p { max-width: 540px; }
.split-text .lead { color: var(--ink); font-size: 20px; font-weight: 500; line-height: 1.5; }
.split-text .button-row { margin-top: 30px; }

/* Recent werk */

.work-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: repeat(2, clamp(180px, 20vw, 250px));
  gap: 12px;
}

.work-grid a {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink);
}

.work-grid .big { grid-row: span 2; }
.work-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.work-grid a:hover img { transform: scale(1.04); }

/* Contactband */

.contact-band {
  padding-block: clamp(64px, 8vw, 96px);
  color: #d9d3d2;
  background: var(--ink);
  border-top: 4px solid var(--orange);
}

.contact-band-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(36px, 6vw, 88px);
}

.contact-band h2 { margin-bottom: 16px; color: var(--white); }
.contact-band p { max-width: 480px; font-size: 18px; }
.contact-band .button-row { margin-top: 30px; }

.contact-list { margin: 0; }
.contact-list > div { padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.contact-list > div:first-child { border-top: 1px solid rgba(255, 255, 255, .14); }
.contact-list dt { margin-bottom: 2px; color: var(--orange-light); font-size: 15px; font-weight: 600; }
.contact-list dd { margin: 0; color: var(--white); font-size: 19px; line-height: 1.5; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--orange-light); }

/* Paginakop subpagina's */

.page-hero {
  position: relative;
  padding-block: clamp(64px, 9vw, 120px) clamp(48px, 6vw, 72px);
  color: var(--white);
  background: var(--ink);
  isolation: isolate;
}

.page-hero > img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: '';
  background: linear-gradient(90deg, rgba(38, 33, 34, .94) 0%, rgba(38, 33, 34, .8) 50%, rgba(38, 33, 34, .55) 100%);
}

.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; color: #cfc9c8; font-size: 15px; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb [aria-current] { color: var(--white); }

.page-hero h1 { color: var(--white); font-size: clamp(44px, 6vw, 72px); line-height: 1; }
.page-hero p { max-width: 640px; margin-top: 18px; color: #e4dfde; font-size: clamp(18px, 1.6vw, 20px); }

/* Subnavigatie (diensten en projecten) */

.subnav {
  position: sticky;
  z-index: 10;
  top: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.subnav-inner {
  display: flex;
  gap: 8px;
  padding-block: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}

.subnav-inner::-webkit-scrollbar { display: none; }

.subnav a {
  flex: 0 0 auto;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.subnav a:hover { border-color: var(--orange); color: var(--orange-dark); }
.subnav a.is-active { border-color: var(--ink); color: var(--white); background: var(--ink); }

/* Dienstenpagina */

.service-block { padding-block: clamp(56px, 8vw, 104px); scroll-margin-top: calc(var(--header-h) + 60px); }
.service-block + .service-block { border-top: 1px solid var(--line); }
.service-block--alt { background: var(--surface); border-top: 0 !important; }
.service-block--alt + .service-block { border-top: 0; }

.service-block-inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: start;
  gap: clamp(36px, 6vw, 88px);
}

.service-block--alt .service-block-inner { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.service-block--alt .service-media { order: 2; }

.service-media { position: sticky; top: calc(var(--header-h) + 88px); margin: 0; }
.service-media img { width: 100%; aspect-ratio: 4 / 5; border-radius: var(--radius); object-fit: cover; }

.service-body h2 { margin-bottom: 18px; }
.service-lead { max-width: 620px; color: var(--ink); font-size: 20px; line-height: 1.55; }

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 36px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.service-list li { padding-top: 18px; border-top: 2px solid var(--line); }
.service-list h3 { font-size: 22px; }
.service-list p { margin-top: 6px; color: var(--muted); font-size: 16px; }

.check-list { display: grid; gap: 14px; margin: 32px 0 0; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 14px; color: var(--ink); font-size: 18px; font-weight: 500; }
.check-list svg { flex: 0 0 auto; width: 26px; height: 26px; margin-top: 1px; padding: 5px; border-radius: 50%; color: var(--white); background: var(--orange); }

.service-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 40px; }

/* Projectenpagina */

.project-galleries { padding-block: 16px clamp(64px, 8vw, 96px); }
.gallery-category { padding-top: clamp(40px, 5vw, 64px); scroll-margin-top: calc(var(--header-h) + 64px); }
.gallery-category h2 { margin-bottom: 20px; font-size: clamp(30px, 3.4vw, 40px); }

.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }

.gallery-image {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--surface);
  cursor: zoom-in;
}

.gallery-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease, opacity .2s ease; }
.gallery-image:hover img { transform: scale(1.03); }

.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.video-grid iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); background: var(--surface); }

.lightbox {
  width: min(94vw, 1200px);
  max-width: none;
  max-height: 92vh;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}

.lightbox::backdrop { background: rgba(20, 17, 18, .92); }
.lightbox img { width: 100%; max-height: 86vh; margin-inline: auto; object-fit: contain; }

.lightbox button {
  position: absolute;
  z-index: 1;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, .94);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}

.lightbox button:hover { color: var(--white); background: var(--orange); }
.lightbox-close { top: 12px; right: 12px; }
.lightbox-nav { top: 50%; transform: translateY(-50%); }
.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }

.lightbox-count {
  position: absolute;
  z-index: 1;
  top: 18px;
  left: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(38, 33, 34, .8);
  font-size: 14px;
  font-weight: 600;
}

/* Over ons */

.values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 48px);
}

.values article { padding-top: 22px; border-top: 3px solid var(--orange); }
.values h3 { margin-bottom: 10px; }
.values p { color: var(--muted); }

/* Contactpagina */

.contact-page {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: clamp(36px, 6vw, 80px);
}

.contact-page h2 { margin-bottom: 24px; font-size: clamp(30px, 3.2vw, 40px); }

.contact-items { display: grid; gap: 10px; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--white);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  transition: border-color .2s ease;
}

.contact-item:hover { border-color: var(--orange); }
.contact-item small { display: block; color: var(--muted); font-size: 14px; font-weight: 400; }

.contact-icon {
  display: grid;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--ink);
}

.contact-map { display: block; width: 100%; min-height: 300px; margin-top: 16px; border: 0; border-radius: var(--radius); background: var(--surface); }
.contact-meta { margin-top: 20px; color: var(--muted); font-size: 15px; }

.form-card { padding: clamp(24px, 4vw, 44px); border-top: 4px solid var(--orange); border-radius: var(--radius); background: var(--white); box-shadow: 0 1px 2px rgba(38, 33, 34, .06), 0 12px 32px rgba(38, 33, 34, .07); }
.form-card > h2 { margin-bottom: 8px; }
.form-card > p { margin-bottom: 28px; color: var(--muted); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }

.contact-form label { display: block; margin-bottom: 18px; color: var(--ink); font-size: 15px; font-weight: 600; }
.contact-form .optional { color: var(--muted); font-weight: 400; }

.contact-form input:not([type="checkbox"]),
.contact-form select,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  border: 1px solid #cfc9c7;
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  font-weight: 400;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.contact-form input:not([type="checkbox"]):focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: var(--orange); outline: none; box-shadow: 0 0 0 3px rgba(212, 67, 27, .18); }
.contact-form ::placeholder { color: #9a9392; }
.contact-form textarea { min-height: 140px; resize: vertical; }

.terms-check { display: flex !important; align-items: flex-start; gap: 10px; font-weight: 400 !important; line-height: 1.5; }
.terms-check input { width: 18px; height: 18px; flex: 0 0 18px; margin: 2px 0 0; accent-color: var(--orange); }
.terms-check a { color: var(--orange-dark); text-underline-offset: 2px; }

.form-submit-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 6px; }
.form-status { margin: 0; color: var(--orange-dark); font-size: 15px; }
.form-note { margin-top: 16px; color: var(--muted); font-size: 14px; }

/* Footer */

.site-footer { color: #cfc9c8; background: #1d191a; font-size: 16px; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-block: clamp(56px, 7vw, 80px) 48px;
}

.footer-brand img { width: 76px; height: 76px; margin-bottom: 18px; border-radius: 50%; }
.footer-brand p { max-width: 300px; }

.site-footer h2 { margin-bottom: 14px; color: var(--white); font-size: 20px; font-weight: 600; letter-spacing: .01em; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li + li { margin-top: 8px; }
.site-footer a { text-decoration: none; transition: color .2s ease; }
.site-footer a:hover { color: var(--orange-light); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: #a39c9b;
  font-size: 14px;
}

.footer-bottom a { color: #cfc9c8; text-decoration: underline; text-underline-offset: 3px; }

/* Responsief */

@media (max-width: 1180px) {
  .header-phone span { display: none; }
  .header-phone { padding-left: 18px; }
}

@media (max-width: 1080px) {
  .service-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-tile { min-height: 340px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1000px) {
  :root { --header-h: 72px; }

  .brand img { width: 54px; height: 54px; }
  .header-inner { gap: 6px; }
  .header-phone { width: 44px; height: 44px; justify-content: center; margin: 0; padding: 0; border: 0; }
  .header-phone .icon { width: 22px; height: 22px; }
  .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }

  .primary-navigation {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--ink);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    font-size: 18px;
  }

  .primary-navigation.is-open { display: flex; }
  .primary-navigation > a { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .primary-navigation > a::after { display: none; }
  .primary-navigation > a[aria-current="page"] { color: var(--orange-light); }
}

@media (max-width: 900px) {
  .split,
  .contact-band-inner,
  .contact-page { grid-template-columns: 1fr; }

  .service-block-inner,
  .service-block--alt .service-block-inner { grid-template-columns: 1fr; }
  .service-block--alt .service-media { order: 0; }
  .service-media { position: static; }
  .service-media img { aspect-ratio: 16 / 10; }

  .values { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  body { font-size: 16px; }

  .section-head { flex-direction: column; align-items: flex-start; }

  .hero { min-height: 560px; }
  .hero > img { object-position: 70% 50%; }
  .hero::before { background: linear-gradient(0deg, rgba(38, 33, 34, .94) 0%, rgba(38, 33, 34, .7) 50%, rgba(38, 33, 34, .2) 100%); }
  .hero-content { padding-top: 200px; }

  .work-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 240px repeat(2, 150px); gap: 8px; }
  .work-grid .big { grid-column: span 2; grid-row: auto; }

  .service-list { grid-template-columns: 1fr; gap: 22px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .video-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .lightbox button { width: 40px; height: 40px; font-size: 22px; }
}

@media (max-width: 560px) {
  .service-tiles { grid-template-columns: 1fr; }
  .service-tile { min-height: 280px; }
  .button-row .button { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
