/* Vodoinstalater Mario — Duboka voda */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ground: #060C12;
  --deep: #0C1A26;
  --deep-2: #12273A;
  --ink: #E9F1F5;
  --muted: #8FA6B4;
  --light: #CFE6F2;       /* liquid light: pipe water, active states */
  --call: #4CC3FF;        /* reserved for calling */
  --call-ink: #03121C;

  --m: clamp(16px, 4vw, 56px);
  --gap: clamp(16px, 2.2vw, 32px);
  --sec: clamp(104px, 11vw, 160px);

  --t-display: clamp(3.75rem, 10.6vw, 10.5rem);
  --t-h2: clamp(2.6rem, 6vw, 6rem);
  --t-statement: clamp(1.5rem, 2.5vw, 2.25rem);
  --t-lead: clamp(1.1875rem, 1.45vw, 1.375rem);
  --t-body: 1.125rem;
  --t-small: 0.9375rem;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --bar-h: 76px;
  --r: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; background: var(--ground); color-scheme: dark; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: "Archivo", system-ui, sans-serif;
  font-size: var(--t-body);
  line-height: 1.55;
  font-weight: 380;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
  overflow-x: clip;
}
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
svg { display: block; }
img, iframe { display: block; max-width: 100%; }

::selection { background: var(--light); color: var(--ground); }
:focus-visible { outline: 3px solid var(--light); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html { scrollbar-color: var(--deep-2) var(--ground); }

.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { padding-left: var(--m); padding-right: var(--m); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--ground); padding: 12px 18px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 12px; }

/* Placeholders stay visibly marked */
.ph-text {
  font-weight: 560;
  color: #FFD27A;
  background: rgba(255, 210, 122, 0.1);
  padding: 0.05em 0.35em;
  border-radius: 0.3em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ---------- Header ---------- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 30;
  transition: transform 420ms var(--ease-out), background-color 300ms ease;
}
.bar.is-solid { background: var(--ground); }
.bar.is-hidden { transform: translateY(-100%); }
.bar:focus-within { transform: none; }
.bar-in { height: var(--bar-h); display: flex; align-items: center; gap: clamp(20px, 3vw, 48px); }
.mark { text-decoration: none; display: grid; align-content: center; gap: 4px; line-height: 1; min-height: 48px; }
.mark-word { font-weight: 800; font-stretch: 125%; font-size: var(--t-lead); letter-spacing: -0.01em; }
.mark-sub { font-size: var(--t-small); color: var(--ink); }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: clamp(18px, 2.2vw, 36px); }
.nav a, .foot-links a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-size: var(--t-body); color: var(--ink);
}
.nav a::after, .foot-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 2px; background: var(--light);
  transform: scaleX(0); transform-origin: right; transition: transform 320ms var(--ease-out);
}
.bar-tel {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px;
  font-weight: 650; font-size: var(--t-body); color: var(--call); text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.bar-tel svg { width: 20px; height: 20px; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 60px; padding: 0 32px;
  background: var(--call); color: var(--call-ink);
  border: 0; border-radius: 999px;
  font-weight: 700; font-size: var(--t-body); text-decoration: none; cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 200ms ease;
  -webkit-user-select: none; user-select: none;
}
.btn svg { width: 22px; height: 22px; }
.btn:active { transform: scale(0.97); }
.btn-quiet { background: var(--deep-2); color: var(--ink); }
.btn-small { min-height: 44px; padding: 0 20px; font-size: var(--t-small); background: var(--deep-2); color: var(--ink); }
.link { color: var(--light); text-decoration-thickness: 1.5px; text-underline-offset: 0.2em; }
.link-call { white-space: nowrap; color: var(--call); font-weight: 650; text-decoration-thickness: 1.5px; text-underline-offset: 0.2em; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; min-height: 44px; font-weight: 560; text-decoration: none; color: var(--ink); }
.link-arrow svg { width: 22px; height: 22px; color: var(--light); transition: transform 240ms var(--ease-out); }

@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: #7DD5FF; }
  .btn-quiet:hover, .btn-small:hover { background: #1A3550; }
  .nav a:hover::after, .foot-links a:hover::after { transform: scaleX(1); transform-origin: left; }
  .link-arrow:hover svg { transform: translateX(5px); }
  .link:hover, .link-call:hover { text-decoration-thickness: 3px; }
}

/* ---------- Photo placeholders: film frames with ripple rings ---------- */
.ph { position: relative; overflow: hidden; background: var(--deep); border-radius: var(--r); color: rgba(207, 230, 242, 0.14); }
.ph-rip { position: absolute; inset: 0; width: 100%; height: 100%; }
.ph-label {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  background: var(--ground); color: #FFD27A;
  font-weight: 560; font-size: var(--t-small); line-height: 1.3; text-align: center;
  padding: 10px 18px; border-radius: 999px; white-space: nowrap;
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; overflow: hidden; background: var(--deep); }
.hero-gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; }
.hero-in {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: end;
  padding-top: calc(var(--bar-h) + 40px); padding-bottom: clamp(36px, 6vh, 72px);
}
.hero-title {
  font-weight: 300; font-stretch: 112%; font-size: var(--t-display);
  line-height: 0.88; letter-spacing: -0.045em; max-width: 6.4em;
}
.hero-side { padding-bottom: 0.4em; }
.hero-lede { max-width: 32ch; font-size: var(--t-lead); line-height: 1.5; }
.hero-lede strong { display: block; font-weight: 600; font-size: var(--t-statement); line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 10px; }
.hero-tip { margin-top: 14px; font-size: var(--t-body); }
.hero-num {
  display: inline-flex; align-items: center; min-height: 48px; margin-top: 18px;
  font-weight: 560; font-stretch: 118%; font-size: var(--t-statement); letter-spacing: -0.02em; line-height: 1;
  color: var(--call); text-decoration: none; font-variant-numeric: tabular-nums;
}
.hero-act { margin-top: 22px; }
.hero-meta { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; font-size: var(--t-small); }

/* ---------- Section type ---------- */
.h2 { font-weight: 320; font-stretch: 112%; font-size: var(--t-h2); line-height: 0.95; letter-spacing: -0.04em; text-wrap: balance; }
.lede { margin-top: 24px; max-width: 46ch; font-size: var(--t-lead); color: var(--ink); }

/* ---------- Services ---------- */
.services { padding-top: var(--sec); }
.services-in { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 96px); align-items: start; }
.services-photo { aspect-ratio: 4 / 5; position: sticky; top: calc(var(--bar-h) + 32px); max-height: calc(100svh - var(--bar-h) - 64px); }
.groups { margin-top: clamp(48px, 5vw, 72px); display: grid; gap: clamp(48px, 5vw, 72px); }
.group-title { font-size: var(--t-statement); font-weight: 400; font-stretch: 112%; letter-spacing: -0.02em; line-height: 1.2; }
.points { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 40px; }
.points h4 { position: relative; font-size: var(--t-body); font-weight: 620; line-height: 1.3; padding-top: 18px; }
.points h4::before { content: ""; position: absolute; left: 0; top: 0; width: 28px; height: 3px; border-radius: 3px; background: var(--light); }
.points p { margin-top: 8px; font-size: var(--t-body); color: var(--muted); line-height: 1.5; }
.services-foot {
  margin-top: 36px; display: grid; gap: 14px;
  background: var(--deep); border-radius: var(--r); padding: clamp(24px, 3vw, 40px);
}
.tip { font-size: var(--t-lead); max-width: 52ch; }
.tip strong { font-weight: 650; }
.price { color: var(--muted); }

/* ---------- Bathrooms: the frame opens ---------- */
.bath { padding-top: clamp(48px, 6vw, 96px); }
.bath-stage { position: relative; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.bath-frame { position: absolute; inset: 0; border-radius: 0; }
.bath-gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.bath-frame .ph-label { top: auto; bottom: calc(14% + 12px); transform: translateX(-50%); z-index: 1; }
.bath-head { position: relative; z-index: 1; max-width: 1240px; text-align: center; display: grid; justify-items: center; }
.bath-title { font-weight: 300; font-stretch: 112%; font-size: var(--t-display); line-height: 0.9; letter-spacing: -0.045em; text-wrap: balance; max-width: 9em; }
.bath-lede { margin-top: clamp(28px, 3vw, 40px); max-width: 52ch; font-size: var(--t-lead); }

.detail {
  padding-top: var(--sec);
  display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 96px); align-items: center;
}
.detail-frame { position: relative; aspect-ratio: 4 / 3; }
.detail-frame .ph { position: absolute; inset: 0; opacity: 0; filter: blur(8px); transition: opacity 450ms var(--ease-out), filter 450ms var(--ease-out); }
.detail-frame .ph.is-on { opacity: 1; filter: blur(0); }
.detail-head { font-size: var(--t-statement); font-weight: 520; font-stretch: 112%; letter-spacing: -0.03em; line-height: 1.12; }
.detail-tabs { display: grid; justify-items: start; margin-top: 16px; }
.detail-tabs button {
  background: none; border: 0; padding: 4px 0; min-height: 44px; cursor: pointer; text-align: left;
  font-size: var(--t-statement); font-weight: 300; font-stretch: 112%; letter-spacing: -0.03em; line-height: 1.12;
  color: var(--muted); display: inline-flex; align-items: center; gap: 0.35em;
  transition: color 200ms ease;
}
.detail-tabs button::before {
  content: ""; width: 0.9em; height: 3px; border-radius: 3px; background: var(--light); flex: none;
  transform: scaleX(0); transform-origin: left; transition: transform 320ms var(--ease-out);
  margin-right: -0.9em;
}
.detail-tabs button[aria-selected="true"] { color: var(--ink); font-weight: 520; }
.detail-tabs button[aria-selected="true"]::before { transform: scaleX(1); margin-right: 0; }
@media (hover: hover) and (pointer: fine) { .detail-tabs button:hover { color: var(--ink); } }
.detail-facts { margin-top: 28px; min-height: 5.5em; }
.detail-facts > p { max-width: 36ch; }
.detail-facts > p[hidden] { display: none; }
.detail-side .btn { margin-top: 24px; }

/* ---------- How I work: the line of light ---------- */
.flow { padding-top: var(--sec); }
.flow-head { display: grid; }
.flow-body { position: relative; margin-top: clamp(56px, 7vw, 112px); }
.pipe { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.pipe path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.pipe-wall { stroke: var(--deep-2); stroke-width: 22; }
.pipe-bore { stroke: var(--ground); stroke-width: 12; }
.pipe-water { stroke: var(--light); stroke-width: 12; }
.pipe-flow { stroke: #ffffff; stroke-width: 4; stroke-dasharray: 2 30; }
.steps { position: relative; display: grid; gap: clamp(40px, 6vh, 72px); padding: 24px 0 64px; }
.step { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); align-items: center; }
.joint {
  position: relative; z-index: 1;
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--ground); border: 11px solid var(--deep-2);
  transition: border-color 400ms ease;
}
.joint::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--light); opacity: 0; transform: scale(0.4); transition: transform 600ms var(--ease-out), opacity 300ms ease; }
.step.is-wet .joint { border-color: var(--light); }
.step.is-wet .joint::after { transform: scale(1); opacity: 1; }
.step-text { min-width: 0; }
.step-text p { max-width: 34ch; }
.step:nth-child(even) .step-text p { margin-left: auto; }
.step-title { font-size: var(--t-h2); font-weight: 300; font-stretch: 112%; letter-spacing: -0.04em; line-height: 0.98; }
.step-text p { margin-top: 16px; font-size: var(--t-lead); color: var(--ink); }
.step:nth-child(odd) .joint { grid-column: 3; justify-self: center; }
.step:nth-child(odd) .step-text { grid-column: 4 / span 6; grid-row: 1; padding-left: 28px; }
.step:nth-child(even) .joint { grid-column: 10; justify-self: center; grid-row: 1; }
.step:nth-child(even) .step-text { grid-column: 3 / span 6; grid-row: 1; justify-self: end; text-align: right; padding-right: 28px; }

/* ---------- Reviews ---------- */
.reviews { padding-top: var(--sec); }
.reviews-in { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); }
.reviews-title { grid-column: 1 / -1; margin-bottom: clamp(48px, 6vw, 88px); }
.reviews-portrait { grid-column: 1 / span 5; grid-row: 2 / span 2; width: 100%; aspect-ratio: 3 / 4; align-self: start; }
.quote blockquote p { text-wrap: pretty; }
.quote figcaption { margin-top: 20px; font-size: var(--t-small); color: var(--muted); }
.quote-main { grid-column: 7 / span 6; grid-row: 2; margin-top: clamp(40px, 8vw, 120px); }
.quote-main p { font-size: var(--t-statement); line-height: 1.25; letter-spacing: -0.015em; font-weight: 320; max-width: 26ch; }
.quote-b, .quote-c { margin-top: clamp(48px, 6vw, 88px); }
.quote-b { grid-column: 7 / span 3; grid-row: 3; }
.quote-c { grid-column: 10 / span 3; grid-row: 3; margin-top: clamp(120px, 12vw, 176px); }
.quote-b p, .quote-c p { font-size: var(--t-body); line-height: 1.45; }
.reviews-more { grid-column: 1 / span 6; grid-row: 4; margin-top: clamp(40px, 5vw, 64px); font-size: var(--t-body); }

/* ---------- Area ---------- */
.area { padding-top: var(--sec); }
.area-in { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 96px); align-items: center; }
.area-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.chip {
  min-height: 46px; padding: 0 18px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--deep); color: var(--ink); font-weight: 480; font-size: var(--t-small);
  transition: background-color 200ms ease, color 200ms ease, transform 160ms var(--ease-out);
}
.chip:active { transform: scale(0.96); }
.chip[aria-pressed="true"] { background: var(--light); color: var(--ground); font-weight: 620; }
@media (hover: hover) and (pointer: fine) { .chip:hover { background: var(--deep-2); } .chip[aria-pressed="true"]:hover { background: var(--light); } }
.area-out { margin-top: 28px; font-size: var(--t-statement); line-height: 1.25; letter-spacing: -0.015em; font-weight: 320; min-height: 2.5em; max-width: 22ch; }
.area-out strong { font-weight: 620; color: var(--light); }
.area-note { margin-top: 18px; font-size: var(--t-small); color: var(--muted); }
.area-map { background: var(--deep); border-radius: 50%; aspect-ratio: 1; overflow: hidden; }
.ripples { width: 100%; height: 100%; }
.rings circle { fill: none; stroke: var(--deep-2); stroke-width: 2; }
.rings text { fill: var(--muted); font-size: 15px; }
.pulse circle { fill: none; stroke: var(--light); stroke-width: 3; opacity: 0; }
.place { cursor: pointer; }
.place circle { fill: var(--muted); transition: fill 200ms ease; }
.place text { fill: var(--ink); font-size: 19px; font-weight: 480; paint-order: stroke; stroke: var(--deep); stroke-width: 6px; stroke-linejoin: round; }
.place.is-home circle, .place.is-on circle { fill: var(--light); }
.place.is-on text { font-weight: 700; }

/* ---------- Contact ---------- */
.contact { padding-top: var(--sec); padding-bottom: clamp(80px, 9vw, 150px); }
.contact-in { display: grid; grid-template-columns: 6fr 6fr; gap: clamp(32px, 5vw, 96px); align-items: center; }
.contact-num {
  display: block; margin-top: 20px;
  font-weight: 480; font-stretch: 112%; font-size: clamp(3rem, 7.4vw, 7.5rem); line-height: 1; letter-spacing: -0.045em;
  text-decoration: none; color: var(--call); font-variant-numeric: tabular-nums; white-space: nowrap;
}
.contact-act { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.facts { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; }
.facts dt { font-size: var(--t-small); color: var(--muted); }
.facts dd { margin-top: 6px; font-weight: 560; font-size: var(--t-body); line-height: 1.4; }
.contact-map { display: grid; gap: 20px; justify-items: start; }
.map { position: relative; width: 100%; aspect-ratio: 4 / 3; background: var(--deep); border-radius: var(--r); overflow: hidden; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: invert(0.92) hue-rotate(180deg) saturate(0.5) brightness(0.9); }

/* ---------- Footer ---------- */
.foot { background: var(--deep); color: var(--ink); padding-top: clamp(64px, 8vw, 120px); padding-bottom: 40px; }
.foot-mark {
  display: flex; justify-content: space-between;
  font-weight: 800; font-stretch: 125%; font-size: 17.5vw; line-height: 0.8; letter-spacing: -0.04em;
  overflow: hidden; padding-bottom: 0.04em;
}
.foot-mark span { display: inline-block; }
.foot-cols { margin-top: clamp(48px, 6vw, 88px); display: grid; grid-template-columns: 8fr 4fr; gap: 40px; align-items: start; }
.foot-links { display: grid; grid-template-columns: repeat(3, max-content); gap: 0 56px; align-content: start; }
.foot-contact { display: grid; gap: 6px; color: var(--muted); }
.foot-tel { display: inline-flex; align-items: center; min-height: 48px; font-weight: 560; font-stretch: 112%; font-size: var(--t-statement); color: var(--call); text-decoration: none; letter-spacing: -0.02em; margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.foot-last { margin-top: clamp(48px, 6vw, 80px); display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: var(--t-small); }

/* ---------- Sticky call bar (phones) ---------- */
.callbar {
  position: fixed; z-index: 40;
  left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  display: none; align-items: center; justify-content: center; gap: 10px;
  min-height: 60px; border-radius: 999px;
  background: var(--call); color: var(--call-ink); text-decoration: none;
  font-weight: 700; font-size: var(--t-body);
  outline: 4px solid var(--ground);
  transition: transform 160ms var(--ease-out);
}
.callbar svg { width: 22px; height: 22px; }
.callbar-b { font-weight: 560; font-variant-numeric: tabular-nums; }
.callbar:active { transform: scale(0.97); }
.callbar:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }

/* ---------- Entrance states (only with JS, only with motion) ---------- */
@media (prefers-reduced-motion: no-preference) {
  html.js [data-rise] { opacity: 0; }
  html.js.hold .hero-title { opacity: 0; }
  html.js.safe [data-rise] { opacity: 1; }
}

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  body { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .callbar { display: flex; }
  .nav { display: none; }
  .bar-tel { margin-left: auto; }
  .hero-in { grid-template-columns: 1fr; align-content: end; }
  .hero-title { max-width: none; }
  .points { grid-template-columns: repeat(2, 1fr); }
  .detail { grid-template-columns: 1fr; }
}

/* ---------- Phone ---------- */
@media (max-width: 760px) {
  :root { --bar-h: 64px; --sec: 104px; }
  .bar-tel { display: none; }
  .mark { margin-right: auto; }

  .hero { min-height: 100svh; }
  .hero-in { gap: 22px; padding-bottom: 104px; }
  .hero-lede strong { font-size: var(--t-lead); }
  .hero-title { font-size: clamp(3.25rem, 16.5vw, 5.5rem); }
  .hero-num { margin-top: 20px; }
  .hero-act { display: none; }

  .services-in { grid-template-columns: 1fr; }
  .services-photo { position: relative; top: auto; aspect-ratio: 4 / 3; max-height: none; }
  .points { grid-template-columns: 1fr; gap: 28px; }

  .bath-stage { height: 92svh; }
  .bath-title { font-size: clamp(2.75rem, 13vw, 4.75rem); }
  .bath-frame .ph-label { bottom: calc(10% + 16px); }
  .detail-tabs { display: flex; flex-wrap: wrap; gap: 2px 20px; }
  .detail-tabs button { font-size: var(--t-lead); min-height: 44px; }
  .detail-tabs button::before { display: none; }
  .detail-tabs button[aria-selected="true"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.25em; }

  .steps { gap: 72px; padding: 16px 0 40px; }
  .step { grid-template-columns: 56px 1fr; align-items: start; column-gap: 16px; }
  .joint { width: 46px; height: 46px; border-width: 8px; }
  .step:nth-child(n) .joint { grid-column: 1; grid-row: 1; justify-self: center; }
  .step:nth-child(n) .step-text { grid-column: 2; grid-row: 1; justify-self: start; text-align: left; padding: 0; }
  .step-title { font-size: var(--t-statement); font-weight: 400; }
  .step-text p { font-size: var(--t-body); }
  .pipe-wall { stroke-width: 18; }
  .pipe-bore, .pipe-water { stroke-width: 9; }

  .reviews-in { grid-template-columns: 1fr; }
  .reviews-title, .reviews-portrait, .quote-main, .quote-b, .quote-c, .reviews-more { grid-column: 1; grid-row: auto; }
  .reviews-portrait { width: 72%; }
  .quote-main { margin-top: 32px; }
  .quote-main p { font-size: var(--t-lead); }
  .quote-b, .quote-c { margin-top: 44px; }
  .quote-c { width: 86%; justify-self: end; }

  .area-in { grid-template-columns: 1fr; }
  .area-map { width: 100%; margin-top: 8px; }
  .rings text { font-size: 24px; }
  .place text { font-size: 30px; stroke-width: 9px; }
  .place:not(.is-on):not(.is-home):not(.is-core) text { display: none; }
  .rings text:nth-of-type(3) { display: none; }

  .contact-in { grid-template-columns: 1fr; }
  .contact-num { font-size: clamp(2.6rem, 13vw, 4rem); }
  .contact-act .btn { flex: 1 1 auto; }
  .facts { grid-template-columns: 1fr; gap: 22px; }

  .foot-cols { grid-template-columns: 1fr; }
  .foot-links { grid-template-columns: repeat(2, max-content); gap: 0 40px; }
  .foot-last { gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; }
}
