:root {
  color-scheme: dark;
  --background: #18191d;
  --surface: #202126;
  --surface-raised: #25262c;
  --dark: #141519;
  --line: #373940;
  --text: #f5f4f2;
  --muted: #bdbfc7;
  --red: #d32433;
  --red-hover: #b71c2a;
  --accent: #ff737c;
  --radius: 16px;
  --gutter: clamp(18px, 4.4vw, 60px);
  --dock-right: max(20px, env(safe-area-inset-right));
  --dock-bottom: calc(16px + env(safe-area-inset-bottom));
}

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

html {
  scroll-padding-top: 94px;
  scroll-padding-bottom: 90px;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font: 400 1rem/1.6 system-ui, -apple-system, "Segoe UI", sans-serif;
}

h1, h2, h3, p, figure, dl, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.screen-reader {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

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

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 5;
  padding: 10px 16px;
  background: var(--surface-raised);
  transform: translateY(-150%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--background);
  border-bottom: 1px solid var(--line);
}

.header-inner, .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.header-inner { min-height: 76px; }

.brand, .footer-brand {
  font-size: .98rem;
  font-weight: 800;
  letter-spacing: .055em;
  white-space: nowrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
}

.brand img {
  display: block;
  width: 44px;
  height: 44px;
  padding: 5px;
  border-radius: 10px;
  background: #f4f2f0;
  object-fit: contain;
}

.brand b, .footer-brand b { color: var(--accent); }

.desktop-nav, .footer-inner nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.4vw, 34px);
}

.desktop-nav a, .header-phone, .footer-inner nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: .94rem;
  font-weight: 650;
}

.desktop-nav a, .footer-inner nav a { color: var(--muted); }

.header-phone {
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  white-space: nowrap;
}

.site-menu { display: none; }

summary {
  list-style: none;
  cursor: pointer;
}

summary::-webkit-details-marker { display: none; }

.hero {
  padding: clamp(40px, 5.4vw, 76px) 0;
  background: radial-gradient(ellipse at 82% 0, #29262c 0, transparent 58%);
}

.hero-grid, .two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(24px, 4.3vw, 60px);
}

.hero-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
}

.hero-copy { min-width: 0; }

.location {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px 8px;
  width: fit-content;
  color: var(--muted);
  font-size: .875rem;
  font-weight: 620;
}

.pin {
  width: 10px;
  height: 10px;
  margin: 0 4px 3px 3px;
  flex: none;
  border: 1.5px solid var(--accent);
  border-radius: 70% 70% 70% 0;
  transform: rotate(-45deg);
}

h1, h2, h3 {
  text-wrap: balance;
  overflow-wrap: anywhere;
}

h1 {
  margin-top: 19px;
  font-size: clamp(2.45rem, 4.48vw, 4.25rem);
  font-weight: 790;
  line-height: 1.02;
  letter-spacing: -.057em;
  text-wrap: initial;
}

.hero-grid h1 span { display: block; }

h2 {
  font-size: clamp(1.85rem, 3.4vw, 3rem);
  font-weight: 770;
  line-height: 1.12;
  letter-spacing: -.045em;
}

h3 {
  font-size: 1.25rem;
  font-weight: 730;
  line-height: 1.28;
  letter-spacing: -.025em;
}

.lead {
  max-width: 51ch;
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(1rem, 1.46vw, 1.19rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 9px 19px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-weight: 750;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
}

.button.primary {
  background: var(--red);
  color: #fff;
}

.button.primary:hover { background: var(--red-hover); }

.button.secondary {
  background: var(--surface-raised);
  border-color: var(--line);
  color: var(--text);
}

.button.secondary:hover { background: #32343a; }

.button.secondary span { color: var(--accent); }

.hero-phone {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 660;
  font-variant-numeric: tabular-nums;
}

.messenger-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.messenger-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: .92rem;
  font-weight: 620;
}

.ptz {
  --pan: 0px;
  --tilt: 0px;
  --turn: 1;
  min-width: 0;
  border: 1px solid #47434e;
  border-radius: 19px;
  background: #1d1d24;
  box-shadow: 0 18px 42px #0003;
}

.ptz-header, .ptz-toolbar, .gallery-heading, .reviews-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ptz-header { padding: 13px 16px; }

.ptz-header h2 {
  font-size: 1.16rem;
  letter-spacing: -.016em;
}

.ptz-label {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: .8rem;
}

.ptz-label::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px #ff737c68;
}

.ptz-stage {
  display: grid;
  grid-template-columns: 28% minmax(0, 1fr);
  min-height: clamp(224px, 22vw, 305px);
  margin-inline: 8px;
  overflow: hidden;
  border: 1px solid #48454e;
  border-radius: 12px;
  touch-action: pan-y pinch-zoom;
}

.ptz-device {
  position: relative;
  display: grid;
  place-items: center;
  border-right: 1px solid #65606b;
  background:
    linear-gradient(#9f9ca217 1px, transparent 1px) center / 16px 16px,
    linear-gradient(90deg, #9f9ca217 1px, transparent 1px) center / 16px 16px,
    radial-gradient(ellipse at 55% 48%, #542d3c, #29242e 63%, #1f2027);
}

.ptz-device > svg {
  width: min(96%, 154px);
  max-height: 100%;
  filter: drop-shadow(0 15px 15px #130f18bd);
}

.ptz-head {
  transform-box: fill-box;
  transform-origin: center;
  transform: translate(var(--pan), var(--tilt)) scaleX(var(--turn));
  transition: transform 560ms cubic-bezier(.24, .65, .31, 1);
}

.ptz-hover { position: absolute; inset: 0 50% 0 0; }
.ptz-hover:last-child { inset: 0 0 0 50%; }

.ptz-photo {
  position: relative;
  display: block;
  min-width: 0;
  background: #292a32;
  cursor: zoom-in;
}

.ptz-photo:focus-visible { outline-offset: -4px; }

.ptz-photo > img, .ptz-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ptz-photo > img { object-fit: cover; }

.ptz-frame {
  inset: 11px;
  width: auto;
  height: auto;
  color: #ffffffbb;
  background:
    linear-gradient(currentColor, currentColor) top left / 16px 1px,
    linear-gradient(currentColor, currentColor) top left / 1px 16px,
    linear-gradient(currentColor, currentColor) bottom left / 16px 1px,
    linear-gradient(currentColor, currentColor) bottom left / 1px 16px,
    linear-gradient(currentColor, currentColor) top right / 16px 1px,
    linear-gradient(currentColor, currentColor) top right / 1px 16px,
    linear-gradient(currentColor, currentColor) bottom right / 16px 1px,
    linear-gradient(currentColor, currentColor) bottom right / 1px 16px;
  background-repeat: no-repeat;
  filter: drop-shadow(0 0 2px #141519);
  pointer-events: none;
}

.ptz-enlarge {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid #ffffff6b;
  border-radius: 7px;
  background: #17161bc9;
}

.ptz-enlarge svg, .icon-button svg, .cycle-grid svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ptz-toolbar {
  min-height: 80px;
  padding: 9px 13px 7px 16px;
}

.ptz-counter {
  color: var(--accent);
  font-size: .75rem;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  letter-spacing: .075em;
}

#ptz-caption { font-size: .91rem; line-height: 1.3; }
.ptz-controls, .lightbox-controls { display: flex; align-items: center; gap: 5px; }
.ptz-controls[hidden] { display: none; }

.icon-button {
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #464650;
  border-radius: 8px;
  background: var(--surface-raised);
  color: var(--text);
  cursor: pointer;
}

.icon-button:hover { background: #393640; }
.ptz-play .play-mark, .ptz-play.is-paused .pause-mark { display: none; }
.ptz-play.is-paused .play-mark { display: inline; }

.text-link.ptz-gallery-link {
  width: fit-content;
  margin: 0 16px 5px;
  font-size: .89rem;
}

.cycle {
  margin-bottom: clamp(42px, 5vw, 70px);
  padding: clamp(20px, 3vw, 38px);
  border: 1px solid #6b414b;
  border-radius: var(--radius);
  background: linear-gradient(120deg, #3e2831 0%, #26232a 54%, #22232a 100%);
}

.cycle-heading p { margin-top: 8px; color: var(--muted); }

.cycle-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.cycle-grid li {
  padding: clamp(12px, 1.7vw, 21px);
  border: 1px solid #52424c;
  border-radius: 10px;
  background: #1b1b21a8;
}

.cycle-grid svg { display: block; margin-bottom: 9px; color: var(--accent); }
.cycle-grid h3 { font-size: clamp(1rem, 1.7vw, 1.22rem); }
.cycle-grid p { margin-top: 6px; color: var(--muted); font-size: .92rem; line-height: 1.45; }

.section {
  padding: clamp(47px, 5.5vw, 78px) 0;
  border-top: 1px solid var(--line);
}

.section-contrast { background: #1d1e23; }

.section-heading { margin-bottom: 26px; }

.section-heading p {
  margin-top: 9px;
  color: var(--muted);
}

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

.service-card, .info-card, .request-form {
  min-width: 0;
  padding: clamp(19px, 2vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.service-card.featured {
  background: linear-gradient(145deg, #33272d, var(--surface) 76%);
  border-color: #72464f;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 15px;
  border: 1px solid #6a3b46;
  border-radius: 10px;
  background: #41282f;
  color: var(--accent);
}

.service-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card p, .info-card p, .trust-grid p, .contact-card p, .faq p {
  margin-top: 8px;
  color: var(--muted);
}

.info-card p.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 7px;
  color: var(--accent);
  font-weight: 700;
}

.text-link:hover { text-decoration: underline; }

.gallery-heading, .reviews-heading { flex-wrap: wrap; }
.gallery-heading > span { color: var(--muted); font-size: .93rem; }

.works-grid, .reviews-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.works-grid {
  margin: 0;
  padding: 0;
  list-style: none;
}

.work-link {
  display: block;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  cursor: zoom-in;
}

.work-link:hover { border-color: #b16a76; }

.work-link img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  background: #303039;
  object-fit: cover;
}

.work-caption {
  display: block;
  padding: 9px 12px 11px;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.38;
}

.work-link:hover .work-caption { color: var(--text); }

.lightbox {
  inset: 0;
  width: min(920px, calc(100% - 28px));
  max-width: none;
  max-height: calc(100dvh - 24px);
  margin: auto;
  padding: 0;
  border: 1px solid #565660;
  border-radius: 14px;
  background: var(--dark);
  color: var(--text);
}

.lightbox::backdrop { background: #08080de6; }
html:has(.lightbox[open]) { overflow: hidden; }

.lightbox-inner { position: relative; padding: 12px; }
.lightbox-close { position: absolute; z-index: 1; top: 18px; right: 18px; }

.lightbox-image {
  display: block;
  width: 100%;
  height: min(69dvh, 740px);
  border-radius: 8px;
  background: #1c1c22;
  object-fit: contain;
}

.lightbox figcaption { margin-top: 9px; text-align: center; }
.lightbox-controls { justify-content: center; margin-top: 9px; }
.lightbox-counter { min-width: 74px; color: var(--muted); text-align: center; font-variant-numeric: tabular-nums; }

.reviews-heading { margin-top: clamp(38px, 6vw, 78px); }
.reviews-heading .text-link { margin-top: 0; }

.review-card {
  display: flex;
  flex-direction: column;
  gap: 13px;
  min-width: 0;
  padding: clamp(15px, 1.6vw, 23px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.review-rating { color: #ffbd78; font-size: .89rem; font-weight: 750; }
.review-rating [aria-hidden] { margin-right: 4px; letter-spacing: .08em; }
.review-card blockquote { margin: 0; font-size: .95rem; line-height: 1.58; }

.review-card figcaption {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: .86rem;
}

.review-card figcaption strong { margin-right: 5px; }
.review-card figcaption time, .review-card figcaption span { color: var(--muted); }
.review-card figcaption span { display: block; }

.profile-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.profile-links a {
  position: relative;
  display: grid;
  gap: 3px;
  min-height: 78px;
  padding: 12px 30px 12px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.profile-links span:not(.external-arrow) {
  color: var(--muted);
  font-size: .92rem;
}

.external-arrow {
  position: absolute;
  top: 12px;
  right: 12px;
  color: var(--accent);
}

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

.trust-grid article {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.steps {
  margin: 19px 0 0;
  padding-inline-start: 30px;
}

.steps li {
  padding: 9px 0 9px 8px;
  color: var(--muted);
}

.steps li::marker { color: var(--accent); font-weight: 750; }
.steps strong { color: var(--text); }

.info-card h2 { font-size: clamp(1.45rem, 2.4vw, 2rem); }

.price-list { margin: 13px 0; }

.price-list > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  line-height: 1.4;
}

.price-list dd { color: var(--accent); font-weight: 750; white-space: nowrap; }

.checklist {
  margin: 14px 0;
  padding-inline-start: 23px;
}

.checklist li { padding: 3px 0; }
.checklist li::marker { color: var(--accent); }

.faq-layout { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); }

.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  gap: 12px;
  padding: 11px 2px;
  font-weight: 650;
}

.faq summary::after {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  margin: 0 4px 4px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
}

.faq details[open] summary::after { transform: rotate(225deg); }

.faq details p { margin: 0 20px 12px 2px; }

.contacts {
  background: radial-gradient(ellipse at 0 95%, #3b242b, #1b1b20 68%);
}

.contact-card {
  padding: clamp(20px, 4vw, 52px);
  border: 1px solid #63444d;
  border-radius: var(--radius);
  background: #232127;
}

.request-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 14px;
  margin-top: 14px;
}

.request-form h3 { font-size: clamp(1.28rem, 2.4vw, 1.65rem); }
.request-form p { margin-top: 7px; color: var(--muted); }

.request-form fieldset {
  display: grid;
  min-width: 0;
  margin: 17px 0 0;
  padding: 0;
  border: 0;
}

.request-form label { margin-bottom: 4px; font-size: .94rem; font-weight: 650; }
.request-form label span { color: var(--muted); font-weight: 400; }

.request-form input, .request-form textarea {
  width: 100%;
  min-height: 46px;
  margin-bottom: 12px;
  padding: 9px 11px;
  border: 1px solid #4c4e57;
  border-radius: 8px;
  background: #17181d;
  color: var(--text);
}

.request-form textarea { resize: vertical; }
.request-form input[type="file"] { font-size: .87rem; }

.request-form input::file-selector-button {
  margin-right: 8px;
  padding: 4px 7px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface-raised);
  color: var(--text);
  cursor: pointer;
}

.request-form .button { justify-self: start; margin-top: 4px; }

.request-form .form-status:not(:empty) {
  margin-top: 14px;
  padding: 10px 12px;
  border: 1px solid #446c57;
  border-radius: 8px;
  background: #233b31;
  color: #e0fae9;
}

.request-form .form-status[data-state="pending"] {
  border-color: var(--line);
  background: var(--surface-raised);
  color: var(--text);
}

.request-form .form-status[data-state="error"] {
  border-color: #a06068;
  background: #432b31;
  color: #ffe6e8;
}

.request-form .form-status a { color: inherit; text-decoration: underline; }

.form-note { margin-top: 12px; color: var(--muted); }
.contact-details address {
  display: grid;
  justify-items: start;
  font-style: normal;
  overflow-wrap: anywhere;
}

.contact-phone, .contact-email {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.contact-phone {
  font-size: clamp(1.15rem, 2.3vw, 1.85rem);
  font-weight: 750;
  letter-spacing: -.025em;
}

.contact-email { color: var(--accent); }
.contact-details .messenger-links { margin: 9px 0 13px; }
.contact-owner strong { color: var(--text); }

.site-footer {
  padding: 24px 0 96px;
  border-top: 1px solid var(--line);
  background: var(--dark);
}

.footer-inner { align-items: start; }

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: .32em;
  min-height: 44px;
}

.site-footer p {
  color: var(--muted);
  font-size: .94rem;
}

.quick-actions {
  position: fixed;
  right: var(--dock-right);
  bottom: var(--dock-bottom);
  z-index: 3;
  display: flex;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--dark);
  box-shadow: 0 5px 25px #0007;
}

.quick-actions .button {
  min-height: 44px;
  padding-inline: 13px;
  font-size: .94rem;
}

.quick-messengers {
  position: fixed;
  inset: auto var(--dock-right) calc(var(--dock-bottom) + 65px) auto;
  width: min(248px, calc(100% - 24px));
  margin: 0;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-raised);
  color: var(--text);
  box-shadow: 0 6px 24px #0008;
}

.quick-messengers a, .site-menu nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 650;
}

.quick-messengers a:hover, .site-menu nav a:hover { background: #32343a; }

.desktop-nav a:hover, .header-phone:hover, .footer-inner nav a:hover,
.messenger-links a:hover, .hero-phone:hover, .contact-phone:hover,
.contact-email:hover, .profile-links a:hover, .faq summary:hover,
.breadcrumbs a:hover {
  color: var(--accent);
}

.service-hero { padding-top: 26px; }
.breadcrumbs { margin-bottom: 20px; }

.breadcrumbs a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--muted);
  font-weight: 650;
}

.service-hero h1 { margin-top: 0; }
.service-hero .location { margin-top: 16px; }
.service-estimate { align-self: center; }

@media (max-width: 1000px) {
  .hero-grid { gap: 28px; }
  .reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  html { scroll-padding-top: 18px; }

  .site-header { position: relative; }

  .header-inner {
    position: relative;
    display: block;
    padding-block: 11px;
  }

  .brand { width: fit-content; }
  .header-phone, .desktop-nav { display: none; }

  .site-menu { display: block; }

  .site-menu summary {
    position: absolute;
    top: 11px;
    right: 0;
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    padding: 0 11px;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-weight: 670;
  }

  .menu-icon {
    width: 15px;
    height: 12px;
    border-block: 1.5px solid currentColor;
    background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat;
  }

  .site-menu nav {
    margin-top: 11px;
    padding-top: 7px;
    border-top: 1px solid var(--line);
  }

  .hero-grid, .service-hero .two-column {
    grid-template-columns: minmax(0, 1fr);
  }

  h1 { font-size: clamp(1.75rem, 9vw, 3.4rem); }

  .ptz-stage { min-height: clamp(228px, 46vw, 330px); }
  .cycle-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .works-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .service-grid, .trust-grid, .profile-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  :root {
    --dock-right: max(12px, env(safe-area-inset-right));
    --dock-bottom: calc(10px + env(safe-area-inset-bottom));
  }

  .quick-actions { left: max(12px, env(safe-area-inset-left)); }
  .quick-actions .button { flex: 1; }

  .brand { gap: 8px; }
  .brand img { width: 40px; height: 40px; }

  .hero { padding-top: 33px; }
  .service-hero { padding-top: 12px; }
  .breadcrumbs { margin-bottom: 13px; }

  .lead { margin-top: 15px; }
  .hero-actions { margin-top: 19px; }
  .hero-actions .button { padding-inline: 12px; }

  .ptz-stage { min-height: clamp(176px, 56vw, 250px); }
  .ptz-header { padding-inline: 12px; }
  .ptz-header h2 { font-size: 1.04rem; }
  .ptz-label { font-size: .72rem; }
  .ptz-toolbar { min-height: 76px; padding-inline: 11px; }
  .ptz-controls { gap: 3px; }
  #ptz-caption { font-size: .82rem; }
  .text-link.ptz-gallery-link { margin-inline: 11px; }

  .section-heading { margin-bottom: 20px; }

  .two-column, .service-grid, .trust-grid, .request-grid, .reviews-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .works-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .work-caption { padding: 7px 8px 9px; font-size: .84rem; }
  .review-card { gap: 9px; }
  .reviews-grid { gap: 9px; }

  .faq-layout { gap: 0; }

  .trust-grid article { padding: 13px 0; }

  .footer-inner {
    flex-direction: column;
    gap: 8px;
  }

  .site-footer { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
}

@media (max-width: 360px) {
  .cycle { padding: 14px; }
  .cycle-grid { gap: 7px; }
  .cycle-grid li { padding: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  .ptz-head { transition: none; }
}
