/* 01 — Design tokens */
:root {
  --color-bg:#0b0b0c;
  --color-surface:#121214;
  --color-text:#f0f0f0;
  --color-muted:#a2a2a8;
  --color-red:#bd101b;
  --color-red-hover:#dc1825;
  --color-metal:#b9bbc1;
  --container-width:1440px;
  --radius:2px;
  --transition:350ms;
  --reveal-duration:800ms;
  --hero-duration:1600ms;
  --line:#ffffff24;
  --gutter:clamp(20px,5vw,88px);
}

* {
  box-sizing:border-box;
}
html {
  scroll-behavior:smooth;
  scroll-padding-top:146px;
}
body {
  margin:0;
  background:var(--color-bg);
  color:var(--color-text);
  font-family:Arial,Helvetica,sans-serif;
  font-size:16px;
  line-height:1.6;
}
body:has(dialog[open]) {
  overflow:hidden;
}
button,input,textarea {
  font:inherit;
}
button,a {
  -webkit-tap-highlight-color:transparent;
}
a {
  color:inherit;
  text-decoration:none;
}
button {
  cursor:pointer;
}
button:disabled {
  cursor:default;
}
img {
  max-width:100%;
  display:block;
}
button {
  color:inherit;
}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,[tabindex]:focus-visible {
  outline:2px solid var(--color-red);
  outline-offset:6px;
}
::selection {
  background:var(--color-red);
  color:white;
}
.container {
  width:min(100%,var(--container-width));
  padding-inline:var(--gutter);
  margin-inline:auto;
}
.section {
  padding:72px 0;
  scroll-margin-top:15px;
}
h1,h2,h3,p {
  margin:0;
}
h1,h2,h3 {
  line-height:1.03;
  letter-spacing:-.055em;
  font-weight:900;
}
h1 {
  font-size:clamp(52px,7.6vw,116px);
  letter-spacing:-.065em;
}
h2 {
  font-size:clamp(34px,4.4vw,65px);
}
h3 {
  font-size:24px;
  letter-spacing:-.035em;
}
.metal {
  color:var(--color-metal);
}
.red-period {
  color:var(--color-red);
}
.eyebrow,.section-kicker {
  font-size:12px;
  letter-spacing:.13em;
  font-weight:600;
}
.eyebrow {
  margin-bottom:28px;
}
.red-dot {
  display:inline-block;
  width:6px;
  height:6px;
  background:var(--color-red);
  border-radius:50%;
  flex-shrink:0;
}
.section-kicker {
  display:flex;
  justify-content:space-between;
  gap:20px;
  color:var(--color-muted);
  border-top:1px solid var(--line);
  padding-top:20px;
  margin-bottom:55px;
}
.section-kicker span:first-child {
  color:var(--color-text);
}
.section-heading {
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:30px;
  margin-bottom:45px;
}
.section-heading>p {
  color:var(--color-muted);
}
.button-row {
  display:flex;
  align-items:center;
  gap:20px;
  flex-wrap:wrap;
}
.button {
  display:inline-flex;
  align-items:center;
  justify-content:space-between;
  gap:32px;
  min-height:58px;
  padding:16px 24px;
  background:var(--color-red);
  border:1px solid var(--color-red);
  border-radius:var(--radius);
  color:white;
  text-transform:uppercase;
  font-size:12px;
  font-weight:700;
  letter-spacing:.08em;
  transition:background var(--transition),transform var(--transition);
}
.button:hover {
  background:var(--color-red-hover);
  transform:translateY(-2px);
}
.button span {
  font-size:19px;
}
.button-outline {
  background:#11111136;
  border-color:#ffffff45;
}
.button-outline:hover {
  background:#ffffff12;
  border-color:var(--color-red);
}
.button-small {
  min-height:44px;
  padding:10px 17px;
}
.text-link {
  font-size:14px;
  border-bottom:1px solid #ffffff55;
  padding-bottom:5px;
}
.text-link:hover {
  color:var(--color-red);
}
.icon-button {
  width:50px;
  height:50px;
  background:transparent;
  border:1px solid var(--line);
  font-size:25px;
  line-height:1;
}
.icon-button:hover {
  background:var(--color-red);
  border-color:var(--color-red);
}
.skip-link {
  position:fixed;
  left:20px;
  top:-100px;
  z-index:100;
  background:var(--color-red);
  padding:12px;
}
.skip-link:focus {
  top:15px;
}
/* 02 — Header and full-screen navigation */
.header {
  position:fixed;
  inset:0 0 auto;
  z-index:20;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:8px var(--gutter);
  height:146px;
  border-bottom:1px solid #ffffff14;
  transition:background var(--transition),height var(--transition);
  background:linear-gradient(#000a,transparent);
}
.header.scrolled {
  height:126px;
  background:#080809eb;
  backdrop-filter:blur(18px);
}
.header.scrolled .brand img {
  height:114px;
}
.brand {
  display:block;
  width:158px;
  flex-shrink:0;
  position:relative;
  overflow:hidden;
}
.brand img {
  width:100%;
  height:132px;
  object-fit:contain;
}
.brand:after {
  content:'';
  position:absolute;
  inset:-20% auto -20% -60%;
  width:30%;
  background:linear-gradient(90deg,transparent,#ffffff25,transparent);
  transform:skew(-20deg);
  animation:logo-shine 1800ms 400ms forwards;
  pointer-events:none;
}
.header-caption {
  font-size:11px;
  letter-spacing:.11em;
  margin-right:auto;
  color:#b0b0b6;
  margin-left:18px;
}
.header-actions {
  display:flex;
  align-items:center;
  gap:30px;
}
.menu-toggle {
  width:44px;
  height:44px;
  padding:10px 4px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:7px;
  background:none;
  border:0;
}
.menu-toggle span {
  display:block;
  background:white;
  height:1px;
  width:32px;
}
.menu-toggle span:last-child {
  width:22px;
  align-self:flex-end;
}
.navigation {
  position:fixed;
  inset:0 0 0 auto;
  width:min(440px,90vw);
  max-width:none;
  height:100dvh;
  max-height:none;
  margin:0;
  border:0;
  background:#0b0b0c;
  color:var(--color-text);
  padding:22px 28px;
  overflow:auto;
  border-left:1px solid var(--line);
}
.navigation[open] {
  animation:drawer-in 300ms ease both;
}
.menu-top {
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.menu-logo {
  width:90px;
  height:132px;
  object-fit:contain;
}
.menu-links {
  display:grid;
  grid-template-columns:1fr;
  gap:0;
  max-width:1100px;
  margin:25px auto;
}
.menu-links a {
  display:flex;
  align-items:center;
  gap:22px;
  font-size:28px;
  font-weight:800;
  letter-spacing:-.04em;
  line-height:1.25;
  padding:12px 0;
  border-bottom:1px solid var(--line);
  text-transform:uppercase;
}
.menu-links a span {
  font-size:12px;
  color:var(--color-red);
  letter-spacing:0;
}
.menu-links a:hover,.menu-links a.active {
  color:var(--color-red);
}
.navigation[open] .menu-links a {
  animation:menu-in 500ms both;
  animation-delay:calc(var(--i)*45ms);
}
.menu-bottom {
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:20px;
  border-top:1px solid var(--line);
  padding-top:24px;
  font-size:14px;
  color:var(--color-muted);
}
/* 03 — Hero */
.hero {
  min-height:820px;
  height:100svh;
  max-height:1150px;
  position:relative;
  isolation:isolate;
  overflow:hidden;
  display:flex;
  align-items:center;
  background:#050505;
}
.hero-image {
  position:absolute;
  width:84%;
  height:100%;
  object-fit:cover;
  object-position:55% 65%;
  right:-10%;
  top:0;
  z-index:-3;
  animation:car-in var(--hero-duration) ease both;
}
.hero:after {
  content:'';
  position:absolute;
  inset:0;
  z-index:-1;
  background:linear-gradient(90deg,#050505 0%,#050505eb 19%,#0505056b 52%,transparent 80%),linear-gradient(0deg,#050505 0%,transparent 30%);
}
.hero-glow {
  position:absolute;
  right:5%;
  top:30%;
  width:45%;
  height:50%;
  background:#a200162c;
  filter:blur(90px);
  z-index:-2;
  animation:breathe 7s infinite alternate;
}
.hero-content {
  padding-top:95px;
  padding-bottom:110px;
}
.hero .eyebrow {
  display:flex;
  align-items:center;
  gap:11px;
  color:#b9b9bd;
}
.hero h1 {
  max-width:800px;
  animation:text-in 1100ms both;
}
.hero-description {
  color:#b4b4b9;
  margin:27px 0 30px;
  font-size:14px;
}
.hero-bottom {
  position:absolute;
  bottom:34px;
  left:0;
  right:0;
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:12px;
  color:var(--color-muted);
}
.hero-address {
  display:flex;
  align-items:center;
  gap:14px;
  max-width:310px;
}
.scroll-link {
  letter-spacing:.12em;
  font-size:10px;
  display:flex;
  align-items:center;
  gap:24px;
}
.scroll-link span {
  font-size:25px;
  color:white;
}
.hero-index {
  font-variant-numeric:tabular-nums;
}
/* 04 — Location and work comparison */
.location-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:48px;
  align-items:center;
}
.location h2 {
  font-size:clamp(32px,3.8vw,55px);
}
.location-brand {
  font-weight:700;
  margin:32px 0 10px;
}
.address {
  color:var(--color-muted);
  max-width:280px;
}
.phone-large {
  display:block;
  font-size:clamp(19px,2vw,27px);
  font-weight:600;
  letter-spacing:-.03em;
  margin:14px 0 28px;
}
.location .button-row {
  gap:20px;
}
.map-shell {
  height:420px;
  border:1px solid var(--line);
  background:#1c1c1e;
  position:relative;
}
/* Static contact panel; external map opens only after a click. */
.location-card {
  height:100%;
  padding:30px 32px 85px;
  background:radial-gradient(ellipse at top right,#69101730,transparent 65%),#141416;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
}
.location-card .eyebrow { color:var(--color-muted); margin-bottom:12px; font-size:10px; }
.location-mark { color:var(--color-red); font-size:48px; line-height:1; margin-bottom:15px; }
.location-card h3 { font-size:clamp(22px,2.5vw,34px); }
.location-card p { font-size:13px; color:var(--color-muted); margin:14px 0 22px; }
.location-card .button { min-height:48px; font-size:10px; }
.map-caption {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:15px;
  background:#171719;
  position:absolute;
  bottom:0;
  inset-inline:0;
  padding:18px;
  font-size:11px;
}
.map-caption span:first-child {
  display:flex;
  gap:10px;
  align-items:center;
}
.works {
  background:var(--color-surface);
}
.comparison {
  position:relative;
  height:550px;
  overflow:hidden;
  background:#202023;
  --position:50%;
  touch-action:pan-y;
}
.comparison>img,.comparison-after {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
}
.comparison img {
  object-fit:cover;
  object-position:50% 58%;
  width:100%;
  height:100%;
}
.comparison-after {
  clip-path:inset(0 0 0 var(--position));
}
.compare-divider {
  position:absolute;
  left:var(--position);
  top:0;
  bottom:0;
  width:2px;
  background:white;
  pointer-events:none;
}
.compare-divider:after {
  content:'↔';
  display:grid;
  place-items:center;
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  width:52px;
  height:52px;
  border-radius:50%;
  color:#111;
  background:#fff;
  font-size:24px;
  box-shadow:0 0 0 8px #ffffff14;
}
.compare-input {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  opacity:0;
  cursor:ew-resize;
  margin:0;
  z-index:2;
}
.comparison:focus-within {
  outline:2px solid var(--color-red);
  outline-offset:4px;
}
.compare-label {
  position:absolute;
  top:22px;
  left:25px;
  background:#09090999;
  padding:5px 12px;
  font-size:11px;
  letter-spacing:.12em;
  pointer-events:none;
}
.compare-label.after {
  left:auto;
  right:25px;
}
.work-info {
  display:flex;
  justify-content:space-between;
  gap:30px;
  margin-top:24px;
  align-items:center;
}
.work-info h3 {
  font-size:23px;
  margin-bottom:8px;
}
.work-info p {
  color:var(--color-muted);
  font-size:13px;
}
.work-tag {
  font-size:10px;
  letter-spacing:.1em;
  color:var(--color-muted);
  border:1px solid var(--line);
  padding:8px 12px;
  white-space:nowrap;
}
.demo-note {
  font-size:12px;
  color:var(--color-muted);
  margin-top:20px;
}
/* 05 — Service cards, process */
.services-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:20px;
  margin-top:50px;
}
.service-card {
  border-bottom:1px solid var(--line);
  padding-bottom:25px;
  position:relative;
}
.service-image {
  overflow:hidden;
  height:260px;
  background:#191919;
}
.service-image img {
  width:100%;
  height:100%;
  object-fit:cover;
  filter:saturate(.65);
  transition:transform 700ms;
}
.service-card:hover .service-image img {
  transform:scale(1.05);
}
.service-number {
  font-size:11px;
  color:var(--color-muted);
  display:block;
  margin:20px 0 12px;
}
.service-card h3 {
  font-size:24px;
  min-height:52px;
}
.service-card p {
  font-size:14px;
  color:var(--color-muted);
  margin:15px 0 25px;
  min-height:132px;
}
.service-card button {
  background:none;
  border:0;
  padding:8px 0;
  color:white;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.service-card button span {
  color:var(--color-red);
  margin-left:15px;
}
.service-card:after {
  content:'';
  position:absolute;
  bottom:0;
  left:0;
  width:0;
  height:2px;
  background:var(--color-red);
  transition:width var(--transition);
}
.service-card:hover:after {
  width:100%;
}
.approach {
  background:#101012;
}
.principles {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:32px;
  margin-top:65px;
}
.principles article>span {
  font-size:12px;
  color:var(--color-red);
}
.principles h3 {
  font-size:18px;
  letter-spacing:-.02em;
  margin:18px 0 15px;
}
.principles p {
  color:var(--color-muted);
  font-size:14px;
}
.process {
  list-style:none;
  display:grid;
  grid-template-columns:repeat(5,1fr);
  padding:0;
  margin:80px 0 0;
}
.process li {
  position:relative;
  font-size:12px;
  letter-spacing:.05em;
  border-top:1px solid #414145;
  padding-top:28px;
  transition:border-color 600ms;
}
.process li:before {
  position:absolute;
  content:'';
  width:9px;
  height:9px;
  top:-5px;
  left:0;
  background:#414145;
  border-radius:50%;
  transition:background 600ms,box-shadow 600ms;
}
.process li span {
  display:block;
  font-size:25px;
  color:#65656b;
  line-height:1;
  margin-bottom:16px;
  transition:color 600ms;
}
.process li.active {
  border-color:var(--color-red);
}
.process li.active:before {
  background:var(--color-red);
  box-shadow:0 0 12px #bd101b88;
}
.process li.active span {
  color:var(--color-red);
}
/* 06 — Estimate and final CTA */
.estimate,.final-cta {
  position:relative;
  isolation:isolate;
  overflow:hidden;
}
.estimate {
  padding-block:85px;
}
.estimate>img {
  position:absolute;
  inset:0 0 0 auto;
  width:70%;
  height:100%;
  object-fit:cover;
  z-index:-2;
}
.estimate:after {
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,#090909 15%,#090909d9 45%,#09090933);
  z-index:-1;
}
.estimate h2 {
  font-size:clamp(32px,4.3vw,62px);
}
.estimate p:not(.eyebrow) {
  color:var(--color-muted);
  margin:28px 0;
}
.final-cta {
  min-height:620px;
  display:flex;
  align-items:center;
  text-align:center;
}
.final-cta>img {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 65%;
  z-index:-2;
}
.final-cta:after {
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(#080808e8,#08080899 50%,#080808dd);
  z-index:-1;
}
.final-cta .button-row {
  justify-content:center;
  margin-top:35px;
}
.final-cta .eyebrow {
  color:#b3b3ba;
}
/* 07 — Reviews and feedback */
.carousel-controls {
  display:flex;
  gap:10px;
}
.reviews-track {
  --columns:4;
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:calc((100% - 60px)/4);
  gap:20px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  scrollbar-width:none;
  cursor:grab;
  margin-top:30px;
  touch-action:pan-x pan-y;
}
.reviews-track::-webkit-scrollbar {
  display:none;
}
.reviews-track.dragging {
  cursor:grabbing;
  scroll-snap-type:none;
  user-select:none;
}
.review-card {
  background:#151517;
  padding:28px 24px;
  min-height:420px;
  display:flex;
  flex-direction:column;
  scroll-snap-align:start;
  border:1px solid #ffffff0b;
}
.review-stars {
  color:var(--color-red);
  letter-spacing:4px;
  font-size:17px;
}
.review-card>p {
  font-size:14px;
  color:#c5c5ca;
  margin:24px 0 30px;
}
.review-person {
  margin-top:auto;
  font-size:14px;
}
.review-person small {
  display:block;
  font-size:12px;
  color:var(--color-muted);
  margin-top:3px;
}
.review-demo {
  font-size:9px;
  letter-spacing:.11em;
  color:var(--color-muted);
  margin-top:17px;
}
.carousel-footer {
  display:flex;
  justify-content:space-between;
  font-size:10px;
  letter-spacing:.12em;
  color:var(--color-muted);
  border-bottom:1px solid var(--line);
  padding:24px 0;
}
.feedback {
  background:var(--color-surface);
}
.feedback-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:100px;
}
.feedback-grid>div>p:not(.eyebrow) {
  margin-top:25px;
}
.rating {
  padding:0;
  border:0;
  margin:0 0 25px;
}
.rating legend,form>label {
  display:block;
  font-size:12px;
  color:var(--color-muted);
  margin-bottom:10px;
}
.stars {
  display:flex;
  gap:7px;
}
.star-option {
  position:relative;
  display:block;
}
.star-option input {
  position:absolute;
  width:100%;
  height:100%;
  opacity:0;
  cursor:pointer;
  margin:0;
}
.star-option span {
  display:block;
  font-size:38px;
  line-height:1.3;
  color:#74747a;
  pointer-events:none;
}
.star-option.selected span {
  color:var(--color-red);
}
.star-option:focus-within {
  outline:2px solid var(--color-red);
}
form>input,form>textarea {
  display:block;
  width:100%;
  border:0;
  border-bottom:1px solid #ffffff35;
  background:transparent;
  border-radius:0;
  color:white;
  padding:8px 0 14px;
  margin-bottom:25px;
  font-size:16px;
  resize:vertical;
}
form>input::placeholder,form>textarea::placeholder {
  color:#74747b;
}
form>.button {
  width:100%;
}
.form-status {
  min-height:26px;
  font-size:14px;
  margin-top:12px;
  color:var(--color-metal);
}
/* 08 — Footer and dialogs */
.footer {
  padding:65px 0 25px;
  background:#070708;
}
.footer-grid {
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:50px;
}
.footer .brand {
  width:155px;
}
.footer .brand img {
  height:155px;
}
.footer-grid p {
  font-size:13px;
  color:var(--color-muted);
  max-width:290px;
}
.footer-grid>div:nth-child(2) {
  padding-top:27px;
}
.footer-grid nav {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  padding-top:27px;
  font-size:13px;
  align-content:start;
}
.footer-grid nav a:hover {
  color:var(--color-red);
}
.footer-bottom {
  border-top:1px solid var(--line);
  padding-top:25px;
  margin-top:50px;
  display:flex;
  justify-content:space-between;
  gap:25px;
  font-size:11px;
  color:var(--color-muted);
}
.plain-button {
  padding:0;
  background:none;
  border:0;
  color:inherit;
  font-size:inherit;
}
.contact-dialog {
  background:#171719;
  color:var(--color-text);
  border:1px solid #ffffff25;
  padding:50px;
  width:min(600px,calc(100% - 32px));
  max-height:85dvh;
}
.contact-dialog h2 {
  font-size:32px;
  margin:15px 0 25px;
}
.contact-dialog p {
  font-size:14px;
  color:var(--color-muted);
  margin-block:16px;
}
.contact-dialog>.button {
  display:flex;
  margin-bottom:18px;
}
.contact-dialog .button-row {
  gap:15px;
}
.dialog-close {
  position:absolute;
  right:12px;
  top:12px;
  width:35px;
  height:35px;
}
dialog::backdrop {
  background:#000c;
  backdrop-filter:blur(6px);
}
.noscript {
  position:fixed;
  bottom:0;
  background:#242426;
  padding:20px;
  z-index:30;
  width:100%;
}
/* 09 — Motion: content is visible even if JS is unavailable */
.reveal {
  opacity:0;
  transform:translateY(24px);
  filter:blur(3px);
  transition:opacity var(--reveal-duration),transform var(--reveal-duration),filter var(--reveal-duration);
}
.reveal.visible {
  opacity:1;
  transform:none;
  filter:none;
}
@keyframes car-in {
  from {
    opacity:0;
    transform:scale(1.04);
  }
  to {
    opacity:1;
    transform:scale(1);
  }
}
@keyframes text-in {
  from {
    opacity:0;
    transform:translateY(20px);
    filter:blur(5px);
  }
  to {
    opacity:1;
    transform:none;
    filter:none;
  }
}
@keyframes menu-in {
  from {
    opacity:0;
    transform:translateY(18px);
  }
  to {
    opacity:1;
    transform:none;
  }
}
@keyframes breathe {
  to {
    opacity:.4;
    transform:scale(1.15);
  }
}
@keyframes logo-shine {
  to {
    left:140%;
  }
}
/* 10 — Tablet / phone */
@media(min-width:1600px) {
  .hero-image {
    right:0;
    width:75%;
  }
}
@media(max-width:1100px) {
  .header-caption {
    display:none;
  }
  .hero {
    min-height:760px;
  }
  .hero-image {
    width:100%;
    right:-20%;
  }
  .location-grid {
    gap:30px;
  }
  .location .button-row {
    align-items:start;
    flex-direction:column;
  }
  .services-grid {
    grid-template-columns:repeat(2,1fr);
    gap:40px 22px;
  }
  .service-card p {
    min-height:45px;
  }
  .principles {
    gap:25px;
    grid-template-columns:repeat(2,1fr);
  }
  .reviews-track {
    --columns:2;
    grid-auto-columns:calc((100% - 20px)/2);
  }
  .feedback-grid {
    gap:45px;
  }
  .footer-grid {
    gap:25px;
  }
}
@media(max-width:700px) {
  :root {
    --gutter:22px;
  }
  .section {
    padding:40px 0;
  }
  .header {
    height:112px;
    padding-block:3px;
  }
  .header.scrolled {
    height:102px;
  }
  .brand {
    width:114px;
  }
  .brand img {
    height:104px;
  }
  .header.scrolled .brand img {
    height:94px;
  }
  .header-estimate {
    display:none;
  }
  .header-actions {
    gap:0;
  }
  .hero {
    min-height:800px;
    height:100svh;
    max-height:950px;
    align-items:start;
  }
  .hero-content {
    padding-top:154px;
    padding-bottom:200px;
  }
  .hero h1 {
    font-size:clamp(46px,10.6vw,72px);
    max-width:100%;
  }
  .hero .eyebrow {
    font-size:9px;
    letter-spacing:.08em;
    margin-bottom:24px;
  }
  .hero-image {
    width:150%;
    max-width:none;
    right:-37%;
    top:160px;
    height:70%;
    object-fit:cover;
    object-position:50% 72%;
  }
  .hero:after {
    background:linear-gradient(180deg,#050505 5%,#050505dd 27%,#05050520 58%,#05050544 76%,#050505 97%);
  }
  .hero-description {
    font-size:13px;
    max-width:280px;
    margin:23px 0;
  }
  .hero .button-row {
    gap:10px;
    max-width:380px;
  }
  .button {
    min-height:54px;
    padding:15px 18px;
    font-size:10px;
    gap:18px;
  }
  .hero .button {
    flex:1;
    white-space:nowrap;
    min-width:0;
  }
  .hero .button span {
    display:none;
  }
  .hero-bottom {
    bottom:calc(25px + env(safe-area-inset-bottom));
    font-size:11px;
    align-items:end;
  }
  .hero-address {
    max-width:210px;
    gap:10px;
  }
  .scroll-link {
    display:none;
  }
  .section-kicker {
    font-size:10px;
    margin-bottom:35px;
    gap:15px;
  }
  .section-kicker span:last-child {
    display:none;
  }
  .section-heading {
    align-items:start;
    gap:20px;
  }
  .section-heading>p {
    display:none;
  }
  h2 {
    font-size:clamp(31px,7.5vw,46px);
  }
  .location-grid {
    grid-template-columns:1fr;
    gap:35px;
  }
  .location h2 {
    font-size:clamp(29px,7.8vw,44px);
  }
  .location .button-row {
    flex-direction:row;
    align-items:center;
  }
  .location-brand {
    margin-top:25px;
  }
  .phone-large {
    margin-bottom:22px;
  }
  .map-shell {
    height:420px;
  }
  .map-caption {
    padding:14px;
    font-size:9px;
  }
  .comparison {
    height:400px;
  }
  .comparison img {
    object-position:center;
  }
  .work-info {
    display:block;
  }
  .work-tag {
    display:inline-block;
    margin-top:18px;
  }
  .work-info h3 {
    font-size:21px;
  }
  .work-info p {
    font-size:12px;
  }
  .services-grid {
    gap:32px 14px;
    margin-top:35px;
  }
  .service-image {
    height:205px;
  }
  .service-card h3 {
    font-size:21px;
    min-height:62px;
  }
  .service-card p {
    font-size:13px;
    min-height:105px;
    margin-bottom:12px;
  }
  .service-card button {
    font-size:10px;
    text-align:left;
  }
  .service-card button span {
    margin-left:5px;
  }
  .principles {
    gap:30px 25px;
    margin-top:40px;
  }
  .principles h3 {
    font-size:17px;
  }
  .principles p {
    font-size:13px;
  }
  .process {
    grid-template-columns:1fr;
    margin-top:45px;
    margin-left:4px;
  }
  .process li {
    border-top:0;
    border-left:1px solid #414145;
    padding:12px 0 28px 30px;
    display:flex;
    gap:25px;
    align-items:center;
  }
  .process li:before {
    top:21px;
    left:-5px;
  }
  .process li span {
    margin:0;
    font-size:24px;
  }
  .process li:last-child {
    padding-bottom:10px;
  }
  .estimate {
    padding-block:55px;
  }
  .estimate>img {
    width:100%;
    opacity:.6;
  }
  .estimate:after {
    background:linear-gradient(90deg,#090909e8,#09090966);
  }
  .estimate h2 {
    font-size:clamp(29px,7.5vw,44px);
  }
  .estimate p:not(.eyebrow) {
    font-size:14px;
  }
  .estimate .button-row {
    gap:22px;
  }
  .reviews-track {
    --columns:1;
    grid-auto-columns:100%;
  }
  .review-card {
    min-height:310px;
  }
  .carousel-controls {
    gap:6px;
  }
  .carousel-controls .icon-button {
    width:40px;
    height:40px;
    font-size:20px;
  }
  .feedback-grid {
    grid-template-columns:1fr;
    gap:35px;
  }
  .final-cta {
    min-height:520px;
  }
  .final-cta h2 {
    font-size:clamp(27px,7vw,44px);
  }
  .final-cta .eyebrow {
    font-size:9px;
  }
  .final-cta .button-row {
    gap:12px;
  }
  .final-cta>img {
    width:170%;
    max-width:none;
    left:-35%;
  }
  .footer {
    padding-top:35px;
  }
  .footer-grid {
    grid-template-columns:1fr;
    gap:10px;
  }
  .footer-grid>div:nth-child(2) {
    padding-top:15px;
  }
  .footer-grid nav {
    padding-top:10px;
  }
  .footer-bottom {
    flex-wrap:wrap;
    gap:16px;
    font-size:10px;
  }
  .footer-bottom>a {
    margin-left:auto;
  }
  .menu-links {
    grid-template-columns:1fr;
    gap:0;
    margin:15px auto 25px;
  }
  .menu-links a {
    font-size:23px;
    padding:11px 0;
    gap:12px;
  }
  .menu-bottom {
    flex-direction:column;
    gap:9px;
    padding-bottom:env(safe-area-inset-bottom);
  }
  .menu-logo {
    width:75px;
    height:75px;
  }
  .contact-dialog {
    padding:50px 22px 22px;
  }
  .contact-dialog h2 {
    font-size:27px;
  }
  .contact-dialog .button {
    font-size:11px;
  }
  .contact-dialog .button-row {
    align-items:start;
    flex-direction:column;
  }
}
@media(max-width:360px) {
  :root {
    --gutter:16px;
  }
  .hero h1 {
    font-size:43px;
  }
  .hero .button-row {
    flex-direction:column;
    align-items:start;
  }
  .hero .button {
    min-width:205px;
  }
  .hero {
    min-height:830px;
  }
  .services-grid {
    grid-template-columns:1fr;
  }
  .service-image {
    height:240px;
  }
  .service-card h3,.service-card p {
    min-height:0;
  }
  .principles {
    grid-template-columns:1fr;
  }
  .section-heading h2 {
    font-size:29px;
  }
  .carousel-controls {
    flex-direction:column;
  }
  .comparison {
    height:340px;
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto;
  }
  *,*:before,*:after {
    animation:none!important;
    transition:none!important;
  }
  .reveal {
    opacity:1;
    transform:none;
    filter:none;
  }
}

/* Side drawer and static geographic map */
.navigation.closing { animation:drawer-out 250ms ease both; }
@keyframes drawer-in { from { transform:translateX(100%); } to { transform:translateX(0); } }
@keyframes drawer-out { to { transform:translateX(100%); } }
.location-map { display:block; height:100%; padding-bottom:56px; overflow:hidden; }
.location-map img { width:100%; height:100%; object-fit:contain; background:#111316; }
@media(max-width:700px) {
  .navigation { padding:16px 20px; }
  .section-kicker { margin-bottom:26px; }
  .section-heading { margin-bottom:28px; }
  .services-grid { margin-top:28px; }
}

/* Compact wordmark: retained original logo is archived beside this asset. */
.header { height:112px; }
.header.scrolled { height:96px; }
.header .brand { width:190px; }
.header .brand img, .header.scrolled .brand img { height:86px; object-fit:cover; }
.menu-logo { width:150px; height:70px; object-fit:cover; }
.footer .brand { width:220px; }
.footer .brand img { height:100px; object-fit:cover; }
@media(max-width:700px) {
  .header { height:92px; }
  .header.scrolled { height:84px; }
  .header .brand { width:145px; }
  .header .brand img, .header.scrolled .brand img { height:66px; }
  .hero-content { padding-top:132px; }
  .menu-logo { width:132px; height:60px; }
}

/* Tighter vertical rhythm across desktop, tablet and mobile. */
.section { padding-block:36px; }
.section-kicker { padding-top:14px; margin-bottom:24px; }
.section-heading { margin-bottom:24px; }
.services-grid { margin-top:26px; row-gap:26px; }
.principles { margin-top:32px; }
.process { margin-top:42px; }
.estimate { padding-block:54px; }
.review-card { min-height:0; padding:22px; }
.review-card>p { margin:16px 0 22px; }
.review-person { margin-top:auto; }
.reviews-track { align-items:stretch; margin-top:22px; }
.carousel-footer { padding-block:16px; }
.feedback form>.button { width:auto; min-height:44px; padding:12px 20px; font-size:11px; }
.location-map { height:calc(100% - 56px); padding:0; --map-zoom:1.5; }
.location-map img { transform:scale(var(--map-zoom)); transform-origin:50% 49.7%; transition:transform 250ms ease; }
.map-zoom { position:absolute; top:14px; right:14px; display:grid; gap:6px; }
.map-zoom button { width:40px; height:40px; border:1px solid #ffffff35; background:#171719; color:white; font-size:24px; }
.map-zoom button:disabled { opacity:.4; }
.map-zoom button:hover:not(:disabled) { background:var(--color-red); }
.map-attribution { position:absolute; bottom:62px; left:10px; font-size:9px; background:#111316cc; padding:2px 5px; color:#bfc0c4; }
@media(max-width:700px) {
  .section { padding-block:28px; }
  .section-kicker { margin-bottom:20px; }
  .section-heading { margin-bottom:22px; }
  .review-card { min-height:0; padding:20px; }
  .estimate { padding-block:40px; }
  .footer { padding-top:28px; }
}

.contact-icon { width:20px; height:20px; flex-shrink:0; }
@media(max-width:700px) { .hero [data-telegram-direct] { gap:12px; } .contact-icon { width:18px; height:18px; } }
@media(max-width:430px) { .hero .button { flex-basis:185px; } }

/* Compact services and feedback. */
.service-card h3 { min-height:0; }
.service-card p { min-height:0; margin:12px 0 16px; }
.service-card .service-button { display:inline-flex; min-height:42px; padding:11px 14px; background:var(--color-red); border:1px solid var(--color-red); color:white; font-size:10px; }
.service-card .service-button:hover { background:var(--color-red-hover); }
.feedback { padding-block:28px; }
.feedback h2 { font-size:clamp(28px,3.1vw,44px); }
.feedback-grid { gap:40px; }
.feedback-grid>div>p:not(.eyebrow) { margin-top:16px; }
.feedback .rating { margin-bottom:14px; }
.feedback .star-option span { font-size:30px; }
.feedback form>input,.feedback form>textarea { padding-bottom:8px; margin-bottom:14px; }
.feedback form>label,.feedback legend { margin-bottom:6px; }
.feedback .form-status:empty { display:none; }
@media(max-width:700px) {
  .service-card h3,.service-card p { min-height:0; }
  .feedback { padding-block:24px; }
  .feedback-grid { gap:22px; }
}

/* Location: clearer access roads and a larger map. */
.location-grid { grid-template-columns:.9fr 1.1fr; gap:40px; }
.location .map-shell { height:470px; border-color:#ffffff20; }
.location-benefit { display:flex; align-items:center; gap:10px; margin-top:24px; color:#e8b5b9; font-size:11px; letter-spacing:.08em; }
.location-intro { margin-top:10px; color:var(--color-metal); font-size:17px; line-height:1.5; }
.location-brand { margin-top:22px; }
.location-map { --map-zoom:1.65; }
.map-caption { border-top:1px solid #ffffff15; }
@media(max-width:700px) {
  .location-grid { grid-template-columns:1fr; gap:26px; }
  .location .map-shell { height:410px; }
  .location-intro { font-size:16px; }
}

/* Balanced typography, aligned service actions, compact feedback panel. */
.hero h1 { font-size:clamp(44px,6.1vw,88px); }
.comparison { height:420px; }
.service-card { display:flex; flex-direction:column; align-items:flex-start; }
.service-image { width:100%; flex-shrink:0; }
.service-card .service-button { margin-top:auto; }
.principles h3 { margin-top:0; }
.feedback-grid { grid-template-columns:1fr; max-width:1000px; gap:20px; }
.feedback h2 { font-size:clamp(25px,3vw,34px); }
.feedback-grid>div>.demo-note { margin-top:8px; }
.feedback-grid>div>.demo-note br { display:none; }
#review-form { display:grid; grid-template-columns:1fr 1.5fr auto; column-gap:24px; align-items:end; }
#review-form .rating { grid-column:1/-1; margin-bottom:12px; }
#review-form label[for="review-name"] { grid-column:1; grid-row:2; }
#review-name { grid-column:1; grid-row:3; }
#review-form label[for="review-text"] { grid-column:2; grid-row:2; }
#review-text { grid-column:2; grid-row:3; height:48px; min-height:48px; }
#review-form>.button { grid-column:3; grid-row:3; margin-bottom:14px; }
#feedback-status { grid-column:1/-1; }
@media(max-width:700px) {
 .hero h1 { font-size:clamp(38px,9.4vw,58px); }
 .comparison { height:320px; }
 #review-form { grid-template-columns:1fr; gap:0; }
 #review-form .rating,#review-form label[for],#review-name,#review-text,#review-form>.button { grid-column:auto; grid-row:auto; }
 #review-form>.button { justify-self:start; margin-bottom:0; }
}

#works .work { max-width:860px; margin-inline:auto; }

.location .route-button { gap:14px; min-height:52px; padding:16px 22px; border-radius:4px; }
.route-button svg { width:22px; height:22px; flex-shrink:0; }

/* Compact hero and damage-focused comparison crop. */
.hero { min-height:620px; height:76svh; max-height:760px; }
.hero-content { padding-top:115px; padding-bottom:80px; }
.hero h1 { font-size:clamp(38px,4.6vw,66px); max-width:650px; }
.hero-description { margin:20px 0 24px; }
.hero-bottom { bottom:24px; }
.comparison img { object-position:50% 24%; }
@media(max-width:700px) {
 .hero { min-height:640px; height:auto; max-height:none; }
 .hero-content { padding-top:128px; padding-bottom:110px; }
 .hero h1 { font-size:clamp(34px,8.7vw,48px); }
 .hero-bottom { bottom:22px; }
 .comparison img { object-position:50% 24%; }
}

.header .brand img, .header.scrolled .brand img, .footer .brand img, .menu-logo { object-fit:contain; }

/* Shared content width and slimmer header. */
#works .work { max-width:none; width:100%; }
.feedback-grid { max-width:var(--container-width); }
.header, .header.scrolled { height:84px; }
.header .brand img, .header.scrolled .brand img { height:70px; }
.header-actions { margin-left:auto; }
.telegram-link { display:inline-flex; align-items:center; justify-content:center; width:48px; height:48px; margin-top:18px; border:1px solid #ffffff30; border-radius:50%; color:white; transition:background .2s,border-color .2s; }
.telegram-link svg { width:25px; height:25px; }
.telegram-link:hover { background:var(--color-red); border-color:var(--color-red); }
@media(max-width:700px) {
 .header, .header.scrolled { height:74px; }
 .header .brand img, .header.scrolled .brand img { height:58px; }
 .location h2 { font-size:clamp(28px,7.3vw,42px); }
}

/* One consistent scale for all main section headings. */
#main h1, #main h2 { font-size:clamp(26px,3.6vw,43px); line-height:1.08; letter-spacing:-.045em; }
@media(max-width:700px) {
 #main h1, #main h2 { font-size:clamp(24px,6.5vw,32px); }
}

.header-socials { display:flex; align-items:center; gap:10px; margin-left:auto; margin-right:28px; }
.social-icon { display:inline-flex; width:36px; height:36px; align-items:center; justify-content:center; color:#eee; border:1px solid #ffffff24; border-radius:50%; transition:color .2s,border-color .2s,background .2s; }
.social-icon svg { width:20px; height:20px; }
a.social-icon:hover { color:white; border-color:var(--color-red); background:var(--color-red); }
.social-pending { opacity:.5; }
.header-actions { margin-left:0; }
@media(max-width:900px) { .header-socials { gap:6px; margin-right:16px; } .header-estimate { display:none; } }
@media(max-width:520px) { .header .brand { width:112px; } .header-socials { gap:4px; margin-right:8px; } .social-icon { width:28px; height:32px; border:0; } .social-icon svg { width:19px; height:19px; } .header-actions { gap:0; } .menu-toggle { width:30px; } }

/* Tighter hero, branded social icons and consistent dark form fields. */
.hero { min-height:560px; height:68svh; max-height:660px; }
#services.section { padding-top:44px; }
.header-socials .social-icon { width:40px; height:40px; border-width:2px; background:#171719; }
.header-socials .social-icon[aria-label="Telegram"] { color:#fff; background:#229ed9; border-color:#229ed9; }
.header-socials .social-icon[aria-label="Instagram"] { color:#fff; background:linear-gradient(135deg,#833ab4,#fd1d1d,#fcb045); border-color:#e1306c; opacity:1; }
.header-socials .social-icon[aria-label="Яндекс Карты"] { color:#fff; background:#e6322b; border-color:#e6322b; }
.header-socials .social-icon[aria-label="MAX"] { color:#fff; background:#6c5ce7; border-color:#6c5ce7; opacity:1; }
.header-socials .social-icon[aria-label="WhatsApp"] { color:#fff; background:#25d366; border-color:#25d366; }
.telegram-link { color:#fff; background:#229ed9; border-color:#229ed9; }
#review-form input, #review-form textarea { color:#f4f4f5; background:#111113 !important; border-radius:0; caret-color:#fff; }
#review-form input:-webkit-autofill, #review-form input:-webkit-autofill:hover, #review-form input:-webkit-autofill:focus { -webkit-text-fill-color:#f4f4f5; -webkit-box-shadow:0 0 0 1000px #111113 inset; transition:background-color 9999s ease-out; }
@media(max-width:700px) { .hero { min-height:560px; } #services.section { padding-top:34px; } }

/* Refined menu control and shorter opening section. */
.hero { min-height:520px; height:62svh; max-height:600px; }
.hero-content { padding-bottom:44px; }
.menu-toggle { width:44px; height:44px; padding:11px; gap:5px; align-items:center; justify-content:center; border:1px solid #ffffff35; border-radius:10px; background:#ffffff08; transition:background .2s,border-color .2s; }
.menu-toggle span, .menu-toggle span:last-child { width:20px; height:2px; margin:0; border-radius:2px; background:#f4f4f5; }
.menu-toggle:hover { background:#bd101b; border-color:#bd101b; }
.menu-toggle:focus-visible { outline:2px solid #fff; outline-offset:3px; }
@media(max-width:700px) { .hero { min-height:520px; height:auto; } .hero-content { padding-bottom:44px; } }
@media(max-width:520px) { .header-socials .social-icon { width:30px; height:30px; } .menu-toggle { width:36px; height:36px; padding:7px; } }

.header, .header.scrolled { background:#000; backdrop-filter:none; -webkit-backdrop-filter:none; }

/* Consistent action spacing and unified location card. */
:root { --action-space:32px; }
.hero-description { margin-bottom:var(--action-space); }
.estimate .button-row, .location .button-row { margin-top:var(--action-space); }
.service-card h3 { margin-top:20px; }
.location-grid { gap:0; grid-template-columns:1fr 1.25fr; align-items:stretch; border:1px solid #ffffff20; border-radius:12px; overflow:hidden; background:#111113; }
.location-details { padding:36px; display:flex; flex-direction:column; justify-content:center; }
.location-brand { display:flex; align-items:center; gap:10px; margin-top:28px; font-size:15px; letter-spacing:.04em; }
.location-details .address { margin-top:12px; font-size:16px; line-height:1.7; }
.location-details .button-row { gap:0; }
.location .map-shell { height:440px; border:0; border-left:1px solid #ffffff15; }
.location .route-button { min-height:48px; padding:14px 20px; }
.location .map-caption { background:#161618; }
@media(max-width:700px) {
 :root { --action-space:24px; }
 .location-grid { grid-template-columns:1fr; }
 .location-details { padding:24px; }
 .location .map-shell { height:380px; border-left:0; border-top:1px solid #ffffff15; }
}

/* Simplified opening: title and description only. */
.hero { min-height:430px; height:52svh; max-height:520px; }
.hero-content { padding-top:105px; padding-bottom:40px; }
.hero-description { margin-bottom:0; }
@media(max-width:700px) {
 .hero { min-height:440px; height:auto; }
 .hero-content { padding-top:120px; padding-bottom:80px; }
}

/* Process motion follows each segment in sequence. */
.process li { overflow:visible; }
.process li:after { content:''; position:absolute; top:-1px; left:0; height:2px; width:100%; background:var(--color-red); transform:scaleX(0); transform-origin:left; }
.process.running li:after { animation:process-segment 6s linear infinite; animation-delay:calc(var(--step) * 1s); }
@keyframes process-segment { 0% { transform:scaleX(0); opacity:1; } 17%,80% { transform:scaleX(1); opacity:1; } 100% { transform:scaleX(1); opacity:0; } }
.photo-button { gap:16px; border-radius:8px; padding:16px 24px; box-shadow:0 6px 22px #bd101b25; }
.photo-button svg { width:24px; height:24px; }
.photo-button:hover { transform:translateY(-2px); box-shadow:0 9px 26px #bd101b45; }
#review-form { grid-template-columns:1fr 1fr 1.5fr auto; }
#review-form label[for="review-car"] { grid-column:2; grid-row:2; }
#review-car { grid-column:2; grid-row:3; min-width:0; }
#review-form label[for="review-text"], #review-text { grid-column:3; }
#review-form>.button { grid-column:4; }
.footer-contact-actions { display:flex; flex-wrap:wrap; gap:16px; margin-top:20px; align-items:center; }
.footer-socials { margin:0; }
@media(max-width:700px) {
 #review-form { grid-template-columns:1fr; }
 #review-form label[for], #review-form input, #review-text, #review-form>.button { grid-column:1; grid-row:auto; }
}
@media(prefers-reduced-motion:reduce) { .process.running li:after { animation:none; transform:scaleX(1); } }
.process li.active { border-color:#414145; }
.process.running li:before { animation:process-dot 6s linear infinite; animation-delay:calc(var(--step) * 1s); }
@keyframes process-dot { 0%,80% { background:#bd101b; box-shadow:0 0 12px #bd101b88; } 100% { background:#414145; box-shadow:none; } }
@media(prefers-reduced-motion:reduce) { .process.running li:before { animation:none; } }

/* Compact footer and clearer comparison controls. */
.footer { padding-top:28px; }
.footer-grid { gap:28px; padding-bottom:24px; }
.footer .brand { width:170px; }
.footer .brand img { height:68px; }
.footer-grid p { margin-top:8px; }
.footer-contact-actions { margin-top:14px; }
.footer-bottom { margin-top:0; padding-block:18px; }
#reviews .carousel-controls .icon-button { background:var(--color-red); border-color:var(--color-red); color:#fff; border-radius:6px; }
#reviews .carousel-controls .icon-button:hover { background:var(--color-red-hover); }
.comparison { border-radius:12px; border:1px solid #ffffff25; isolation:isolate; }
.compare-input { touch-action:pan-y; }
.compare-divider { background:#fff; z-index:1; }
.compare-divider:after { color:#fff; background:var(--color-red); box-shadow:0 0 0 6px #bd101b30,0 4px 20px #0007; }
.compare-label { border-radius:5px; padding:8px 12px; background:#080808bc; z-index:1; }
.location-map img { transform:scale(1.65); transition:none; }
@media(max-width:700px) { .footer-grid { gap:20px; } .footer { padding-top:24px; } }
/* Shared sizes for red text actions and icon-only actions. */
:root { --action-width:220px; --action-height:48px; }
.button:not(.button-outline) { width:var(--action-width); min-width:0; height:var(--action-height); min-height:var(--action-height); padding:12px 18px; font-size:12px; line-height:1.2; justify-content:center; gap:12px; box-sizing:border-box; }
.header .header-estimate, .service-card .service-button, .location .route-button, .estimate .photo-button, #review-form>.button { width:var(--action-width); min-width:0; height:var(--action-height); min-height:var(--action-height); padding:12px 18px; font-size:12px; justify-content:center; }
.photo-button span { font-size:inherit; }
.service-card .service-button { max-width:100%; }
#reviews .carousel-controls .icon-button { width:48px; height:48px; }
@media(max-width:700px) { .button:not(.button-outline) { max-width:100%; } }

/* Two Mercedes in the established dark studio hero. */
.hero-image { width:100%; right:0; top:30px; height:100%; object-fit:cover; object-position:center; }
.hero:after { background:linear-gradient(90deg,#050505 0%,#050505b8 23%,transparent 48%),linear-gradient(0deg,#050505 0%,transparent 15%); }
@media(max-width:700px) {
 .hero { min-height:520px; }
 .hero-content { padding-bottom:250px; }
 .hero-image { width:150%; max-width:none; right:-3%; top:auto; bottom:0; height:270px; object-fit:cover; object-position:right center; }
 .hero:after { background:linear-gradient(180deg,#050505 0%,#050505 35%,transparent 62%); }
}
/* Responsive QA fixes: prevent intrinsic grid overflow. */
.service-card, .service-image, #review-form, #review-form>input, #review-form>textarea { min-width:0; }
#review-form { grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.5fr) auto; }
@media(max-width:700px) {
 .services-grid { grid-template-columns:1fr; }
 .service-image { height:260px; }
 .service-card h3,.service-card p { min-height:0; }
 #review-form { display:flex; flex-direction:column; align-items:stretch; }
 #review-form>.button { align-self:flex-start; }
 #review-form .rating { width:100%; }
 .hero-image { width:100%; height:250px; right:0; object-fit:contain; object-position:center bottom; }
}

.location-map img { transform:none; object-fit:cover; }
.location-map.map-close img { transform:scale(1.65); }
.map-level { position:absolute; top:14px; left:14px; padding:8px 12px; background:#111113e8; border:1px solid #ffffff25; border-radius:6px; color:#fff; font-size:12px; }
.map-zoom { z-index:2; }

/* Navigation: compact icon rows and restrained motion. */
.navigation { background:#08090a; padding:28px; width:min(440px,94vw); }
.menu-links { gap:6px; margin:28px 0; }
.menu-links a { gap:16px; padding:14px 12px; border:1px solid transparent; border-radius:10px; transition:background .2s,border-color .2s,color .2s; }
.menu-links a .menu-title { font-size:19px; font-weight:700; letter-spacing:-.025em; color:inherit; }
.menu-icon { width:23px; height:23px; flex-shrink:0; color:#96999e; }
.menu-arrow { width:18px; height:18px; margin-left:auto; color:#777; transition:transform .2s; }
.menu-links a:hover,.menu-links a.active { background:#c6101d18; border-color:#c6101d50; color:#fff; }
.menu-links a:hover .menu-icon,.menu-links a.active .menu-icon { color:#ee2030; }
.menu-links a:hover .menu-arrow { transform:translateX(3px); color:#fff; }
.menu-bottom { gap:10px; padding-top:18px; font-size:13px; }
@media(max-width:480px) { .navigation { padding:22px 18px; } .menu-links { margin:20px 0; gap:3px; } .menu-links a { padding:12px 10px; } .menu-links a .menu-title { font-size:17px; } }
@media(prefers-reduced-motion:reduce) { .navigation[open],.navigation[open] .menu-links a { animation:none; } .menu-links a,.menu-arrow { transition:none; } }

/* Responsive parity: preserve the desktop visual language on compact screens. */
@media (max-width:700px) {
  :root { --gutter:20px; }
  .section { padding-block:52px; }
  #main h1,#main h2 { font-size:clamp(32px,9vw,38px); line-height:1.02; }
  .hero { min-height:540px; }
  .hero-content { padding-top:112px; padding-bottom:255px; }
  .hero h1 { max-width:310px; }
  .hero-description { max-width:290px; font-size:13px; line-height:1.55; }
  .hero-image { height:285px; object-fit:cover; object-position:center bottom; }
  .hero:after { background:linear-gradient(180deg,#050505 0%,#050505 38%,transparent 68%),linear-gradient(90deg,#050505 0%,transparent 45%); }

  .services-grid { display:grid; grid-template-columns:none; grid-auto-flow:column; grid-auto-columns:min(82vw,310px); gap:16px; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; padding:0 var(--gutter) 10px; margin-inline:calc(var(--gutter) * -1); }
  .services-grid::-webkit-scrollbar { display:none; }
  .service-card { scroll-snap-align:start; min-height:100%; }
  .service-image { width:100%; height:245px; }
  .service-card h3 { font-size:22px; }
  .service-card p { font-size:14px; line-height:1.55; }

  .location-grid { border-radius:12px; }
  .location-details { padding:32px 24px; }
  .map-shell { height:370px; border-left:0; border-top:1px solid #ffffff18; }
  .location-map { min-height:315px; }

  .section-heading { align-items:flex-end; }
  .principles { grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px 18px; }
  .principles h3 { font-size:15px; }
  .principles p { font-size:12px; line-height:1.5; }
  .process { display:grid; grid-template-columns:repeat(5,minmax(120px,1fr)); overflow-x:auto; margin:36px calc(var(--gutter) * -1) 0; padding:0 var(--gutter) 8px; scrollbar-width:none; }
  .process::-webkit-scrollbar { display:none; }
  .process li { border-left:0; border-top:1px solid #414145; padding:24px 10px 8px 0; display:block; }
  .process li:before { top:-5px; left:0; }
  .process li:after { top:-1px; }

  .estimate { min-height:430px; padding-block:58px; }
  .estimate h2 { font-size:clamp(32px,9vw,38px); }
  .reviews-track { grid-auto-columns:min(86vw,330px); }
  .review-card { min-height:300px; }
  #review-form { gap:10px; }
  #review-form input,#review-form textarea { width:100%; }
  .footer-grid { grid-template-columns:1fr 1fr; column-gap:18px; }
  .footer-grid>nav { grid-column:1/-1; grid-template-columns:1fr 1fr; }
}
@media (max-width:390px) {
  .header .brand { width:120px; }
  .header-socials { margin-right:5px; }
  .principles { grid-template-columns:1fr 1fr; }
  .footer-grid { grid-template-columns:1fr; }
  .footer-grid>nav { grid-column:auto; }
}

/* Mobile composition refinements from production review. */
@media (max-width:700px) {
  .hero { min-height:500px; overflow:hidden; }
  .hero-content { position:relative; z-index:2; padding-top:104px; padding-bottom:145px; }
  .hero-image { top:auto; bottom:-8px; right:-8%; width:116%; max-width:none; height:365px; object-fit:contain; object-position:center bottom; opacity:.92; }
  .hero:after { z-index:1; background:linear-gradient(180deg,#050505 0%,#050505e8 25%,#05050582 52%,transparent 76%),linear-gradient(90deg,#050505 0%,#05050580 42%,transparent 78%),linear-gradient(0deg,#050505 0%,transparent 16%); }
  .hero-description { color:#d2d3d6; text-shadow:0 2px 16px #000; }

  .location { padding-block:38px; }
  .location-details { padding:24px 20px; }
  .location-brand { margin-top:18px; }
  .location .address { margin:22px 0 20px; }
  .location .button-row { margin-top:0; }
  .map-shell { height:300px; }
  .location-map { min-height:244px; height:300px; }
  .map-level { top:10px; left:10px; padding:6px 9px; }

  .approach .section-heading { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(0,.65fr); align-items:end; gap:14px; }
  .approach .section-heading p { font-size:11px; line-height:1.5; margin-bottom:2px; }
  .principles { grid-template-columns:repeat(4,minmax(145px,1fr)); overflow-x:auto; gap:18px; margin:28px calc(var(--gutter) * -1) 0; padding:0 var(--gutter) 8px; scrollbar-width:none; scroll-snap-type:x mandatory; }
  .principles::-webkit-scrollbar { display:none; }
  .principles article { scroll-snap-align:start; }
  .principles h3 { min-height:38px; font-size:14px; }
  .principles p { font-size:11px; }
  .process { grid-template-columns:repeat(5,minmax(130px,1fr)); margin-top:24px; }

  #reviews .section-heading { grid-template-columns:1fr auto; gap:12px; }
  #reviews .section-heading h2 { font-size:30px; }
  .reviews-track { grid-auto-columns:calc((100% - 12px)/2); gap:12px; }
  .review-card { min-height:270px; padding:18px 14px; }
  .review-stars { font-size:17px; letter-spacing:1px; }
  .review-card>p { font-size:11px; line-height:1.55; }
  .review-person { font-size:13px; }
  .review-person small { font-size:10px; }
  .carousel-controls .icon-button { width:38px; height:38px; }

  .footer .brand { width:130px; }
  .footer .brand img { width:130px; height:54px; object-fit:cover; }
  .footer-grid p { font-size:11px; }
}
@media (max-width:390px) {
  .hero-image { width:122%; right:-11%; height:350px; }
  .reviews-track { grid-auto-columns:calc((100% - 10px)/2); gap:10px; }
  .review-card { min-height:260px; padding:16px 12px; }
  .review-card>p { font-size:10.5px; }
}

/* Branded map presentation and final compact-layout tuning. */
.location-map { background:radial-gradient(circle at 64% 55%,#3a1117 0,#15171b 24%,#0b0d10 70%); }
.location-map:after { content:''; position:absolute; inset:0 0 56px; pointer-events:none; background:radial-gradient(circle at 64% 54%,transparent 0 20%,#07080926 50%,#05060799 100%); box-shadow:inset 0 0 0 1px #ffffff08; }
.location-map img { filter:contrast(1.15) brightness(1.08); transition:opacity .25s ease,transform .4s ease; }
.map-zoom { top:14px; right:14px; display:flex; flex-direction:column; gap:6px; }
.map-zoom button { width:42px; height:42px; border:1px solid #ffffff29; border-radius:8px; background:#0b0d10e8; backdrop-filter:blur(8px); }
.map-level { z-index:3; border-color:#ffffff20; background:#090a0ce8; font-weight:700; letter-spacing:.02em; }
.map-attribution { z-index:3; opacity:.62; }
.map-caption { background:#0b0c0ef5; }

@media (max-width:700px) {
  .location h2 { font-size:30px; }
  .location-details { padding:21px 20px 20px; }
  .location-brand { margin-top:14px; font-size:14px; }
  .location .address { margin:14px 0 16px; font-size:13px; line-height:1.45; }
  .location .route-button { height:44px; }
  .map-shell { height:240px; }
  .location-map { height:240px; min-height:240px; padding-bottom:0; }
  .location-map:after { inset:0; }
  .location-map img { height:100%; }
  .map-caption { display:none; }
  .map-attribution { bottom:8px; left:10px; font-size:7px; }
  .map-zoom { top:10px; right:10px; gap:5px; }
  .map-zoom button { width:34px; height:34px; border-radius:7px; }
  .approach .section-heading { display:block; }
  .approach .section-heading h2 { width:100%; font-size:30px; line-height:1.04; }
  .approach .section-heading p { display:none; }
}
@media (max-width:700px) {
  .location .map-shell { height:240px; }
}

/* Compact mobile system: tuned at 375–450 px. */
@media (max-width:700px) {
  .section { padding-block:38px; }
  .hero { min-height:460px; }
  .hero-content { padding-top:100px; padding-bottom:105px; }
  .hero-image { bottom:-5px; right:-5%; width:110%; height:350px; }
  .hero:after { background:linear-gradient(180deg,#050505 0%,#050505e8 18%,#050505a8 38%,transparent 64%),linear-gradient(90deg,#050505 0%,#0505059c 38%,transparent 76%),linear-gradient(0deg,#050505 0%,transparent 12%); }

  #services.section { padding-block:36px; }
  .services-grid { display:grid; grid-template-columns:1fr; grid-auto-flow:row; grid-auto-columns:auto; gap:14px; overflow:visible; margin:22px 0 0; padding:0; }
  .service-card { display:grid; grid-template-columns:42% minmax(0,1fr); grid-template-rows:auto 1fr auto; gap:8px 14px; min-height:180px; padding-bottom:14px; border-bottom:1px solid #ffffff18; }
  .service-image { grid-row:1/4; width:100%; height:180px; margin:0; }
  .service-card h3 { margin:2px 0 0; min-height:0; font-size:18px; line-height:1.05; }
  .service-card p { margin:0; min-height:0; font-size:11px; line-height:1.45; }
  .service-card .service-button { width:100%; height:40px; min-height:40px; font-size:9px; padding:8px; }

  .location { padding-block:30px; }
  .location-details { padding:17px 18px 16px; }
  .location h2 { font-size:25px; line-height:1; }
  .location-brand { margin-top:10px; font-size:12px; }
  .location .address { margin:10px 0 12px; font-size:11px; line-height:1.35; }
  .location .route-button { width:185px; height:40px; min-height:40px; font-size:10px; }
  .location .map-shell,.location-map { height:210px; min-height:210px; }

  .approach .section-heading h2 { font-size:26px; line-height:1.02; }
  .principles { display:grid; grid-template-columns:1fr 1fr; gap:20px 16px; overflow:visible; margin:22px 0 0; padding:0; }
  .principles h3 { min-height:0; font-size:13px; line-height:1.12; }
  .principles p { font-size:10.5px; line-height:1.4; margin-top:8px; }
  .process { grid-template-columns:repeat(5,minmax(105px,1fr)); margin-top:22px; }
  .process li { font-size:10px; padding-top:18px; }

  /* Keep the complete five-step line visible without clipping on phones. */
  .approach .process { grid-template-columns:repeat(5,minmax(0,1fr)); overflow:hidden; margin-inline:0; padding-inline:0; }
  .approach .process li { min-width:0; padding-right:4px; font-size:7px; line-height:1.25; letter-spacing:0; overflow-wrap:anywhere; }

  .estimate { min-height:300px; padding-block:38px; }
  .estimate>img { height:100%; object-fit:cover; object-position:center; }
  .estimate h2 { max-width:350px; font-size:28px; line-height:1.02; }
  .estimate .button-row { margin-top:20px; }
  .estimate .photo-button { height:44px; }

  #reviews.section { padding-block:38px; }
  #reviews .section-heading h2 { font-size:27px; }
  .review-card { min-height:0; height:245px; padding:16px 13px; justify-content:flex-start; }
  .review-card>p { flex:0 0 auto; margin:14px 0 0; font-size:10px; line-height:1.45; }
  .review-person { margin-top:18px; font-size:12px; }

  .feedback { padding-block:34px; }
  .feedback h2 { font-size:27px!important; }
  .feedback-grid { gap:14px; }
  #review-form { gap:6px; }
  #review-form legend,#review-form label { margin-top:5px; font-size:11px; }
  #review-form input { min-height:42px; padding-block:8px; font-size:13px; }
  #review-form textarea { min-height:65px; padding-block:8px; font-size:13px; }
  #review-form>.button { margin-top:10px; height:44px; }

  .footer { padding:18px 0 14px; }
  .footer .brand { width:105px; }
  .footer .brand img { width:105px; height:44px; }
  .footer-grid { gap:12px 16px; padding-bottom:14px; }
  .footer-grid p { margin-top:4px; font-size:9px; line-height:1.4; }
  .footer-socials { margin-top:8px; }
  .footer-grid>nav { gap:6px 16px; padding-top:4px; font-size:10px; }
  .footer-bottom { padding-top:12px; font-size:8px; }
}

/* Final compact pass for mobile services, location and reviews. */
.location-title { margin-bottom:24px; }
@media (max-width:700px) {
  .service-card { grid-template-columns:40% minmax(0,1fr); align-items:start; }
  .service-card .service-image { grid-column:1; grid-row:1/4; }
  .service-card h3,.service-card p,.service-card .service-button { grid-column:2; }
  .service-card .service-button { grid-row:3; align-self:end; margin:0; width:100%; }

  .location-title { margin-bottom:14px; font-size:25px!important; }
  .location-details { padding:14px 16px; }
  .location-brand { margin-top:0; }
  .location .address { margin:8px 0 10px; }
  .location .map-shell,.location-map { height:190px; min-height:190px; }

  #reviews.section { padding-block:30px; }
  .reviews-track { align-items:start; }
  .review-card { height:auto; min-height:190px; padding:13px 12px; }
  .review-stars { font-size:15px; }
  .review-card>p { margin-top:9px; font-size:9.5px; line-height:1.38; }
  .review-person { margin-top:12px; font-size:11px; }
  .review-person small { margin-top:1px; font-size:8.5px; }

  .feedback { padding-block:22px; }
  .feedback h2 { font-size:24px!important; }
  .feedback-grid { gap:8px; }
  #review-form { gap:2px; }
  #review-form .rating { margin-bottom:5px; }
  .feedback .star-option span { font-size:25px; }
  #review-form legend,#review-form label { margin:2px 0 3px; font-size:9px; }
  #review-form input { min-height:34px; padding-block:5px; margin-bottom:5px; font-size:12px; }
  #review-form textarea { min-height:48px; height:48px; padding-block:5px; margin-bottom:5px; font-size:12px; }
  #review-form>.button { margin-top:7px; height:40px; min-height:40px; }
}
