/* =========================================================
   NOX DETAILING STUDIO
   ========================================================= */
:root {
  --bg: #0a0a0b;
  --bg-2: #0f0f11;
  --panel: rgba(28, 28, 31, 0.78);
  --panel-solid: #161618;
  --line: rgba(255, 255, 255, 0.08);
  --yellow: #ffc61a;
  --yellow-2: #ffb800;
  --white: #ffffff;
  --muted: #a9a9ad;
  --ease: cubic-bezier(0.2, 0.75, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1240px;
  --gutter: clamp(16px, calc(4 * var(--u, 1vw)), 40px);
  --radius: 10px;
  --header-h: clamp(64px, calc(8 * var(--u, 1vw)), 96px);
  --f-head: "Montserrat", system-ui, sans-serif;
  --f-cond: "Oswald", "Arial Narrow", sans-serif;
  --f-body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--f-body);
  font-size: clamp(14px, calc(1 * var(--u, 1vw)) + 8px, 16px);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--yellow); color: #000; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(56px, calc(8 * var(--u, 1vw)), 100px) 0; position: relative; }

.ic {
  width: 1em; height: 1em; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}
.is-missing { opacity: 0 !important; }

/* ---------- Buttons ---------- */
.btn {
  --h: clamp(44px, calc(4 * var(--u, 1vw)), 50px);
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--h); padding: 0 clamp(20px, calc(2.2 * var(--u, 1vw)), 28px);
  font-family: var(--f-cond); font-weight: 600; font-size: clamp(14px, calc(1.1 * var(--u, 1vw)), 16px);
  text-transform: uppercase; letter-spacing: 0.02em;
  border-radius: 6px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s, color .35s;
}
.btn .ic { font-size: 1.25em; stroke-width: 2; transition: transform .35s var(--ease); }
.btn:hover .ic { transform: translateX(5px); }
.btn--yellow { background: var(--yellow); color: #000; box-shadow: 0 6px 24px -8px rgba(255, 198, 26, .55); }
.btn--yellow::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.65) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .8s var(--ease);
}
.btn--yellow:hover { transform: translateY(-3px); box-shadow: 0 14px 34px -10px rgba(255, 198, 26, .8); }
.btn--yellow:hover::before { transform: translateX(120%); }
.btn--outline {
  border: 1.5px solid rgba(255,255,255,.8); border-radius: 40px; height: 42px;
  font-size: 13px; letter-spacing: .03em;
}
.btn--outline::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--yellow);
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.btn--outline:hover { color: #000; border-color: var(--yellow); }
.btn--outline:hover::before { transform: scaleX(1); transform-origin: left; }
.btn--block { width: 100%; }
.ripple {
  position: absolute; border-radius: 50%; pointer-events: none;
  background: rgba(255,255,255,.5); transform: scale(0);
  animation: ripple .7s ease-out forwards;
}
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

/* ---------- Labels & Titles ---------- */
.label {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--yellow); font-family: var(--f-cond); font-weight: 500;
  font-size: clamp(12px, calc(1 * var(--u, 1vw)), 14px); text-transform: uppercase; letter-spacing: .04em;
  margin-bottom: 10px;
}
.label::before {
  content: ""; width: 26px; height: 4px; background: var(--yellow); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .8s .3s var(--ease);
}
.label.in::before { transform: scaleX(1); }
.label--small::before { width: 6px; height: 12px; }
.label--center { display: flex; justify-content: center; }
.title {
  font-family: var(--f-head); font-weight: 800; text-transform: uppercase;
  font-size: clamp(22px, calc(2.6 * var(--u, 1vw)), 34px); line-height: 1.15; letter-spacing: .01em;
  margin-bottom: clamp(20px, calc(2.5 * var(--u, 1vw)), 30px);
}
.title--md { font-size: clamp(22px, calc(2.3 * var(--u, 1vw)), 30px); margin-bottom: 14px; }

/* ---------- Scroll reveal ---------- */
[data-anim] {
  opacity: 0;
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out), filter 1s var(--ease-out);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
[data-anim="up"]    { transform: translateY(40px); }
[data-anim="left"]  { transform: translateX(-60px); }
[data-anim="right"] { transform: translateX(60px); }
[data-anim="zoom"]  { transform: scale(.8); filter: blur(4px); }
[data-anim].in { opacity: 1; transform: none; filter: none; }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 1000; background: #050506;
  display: grid; place-items: center;
  transition: opacity .7s var(--ease), visibility .7s;
}
.preloader.done { opacity: 0; visibility: hidden; }
.preloader__inner { display: grid; justify-items: center; gap: 14px; }
.preloader__logo { width: 84px; height: 84px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.preloader__logo circle { stroke-dasharray: 280; stroke-dashoffset: 280; animation: draw 1.4s var(--ease) forwards; transform: rotate(-90deg); transform-origin: center; }
.preloader__logo path { stroke: var(--yellow); stroke-width: 6; stroke-dasharray: 200; stroke-dashoffset: 200; animation: draw 1.1s .5s var(--ease) forwards; }
.preloader__text { font-family: var(--f-head); font-weight: 800; letter-spacing: .5em; padding-left: .5em; font-size: 18px; opacity: 0; animation: fadeIn .8s .8s forwards; }
.preloader__bar { width: 140px; height: 2px; background: rgba(255,255,255,.1); overflow: hidden; border-radius: 2px; }
.preloader__bar span { display: block; height: 100%; width: 40%; background: var(--yellow); animation: loadbar 1.1s ease-in-out infinite; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes loadbar { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }

.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 200;
  background: linear-gradient(90deg, var(--yellow-2), var(--yellow));
  transform: scaleX(0); transform-origin: left;
  box-shadow: 0 0 10px var(--yellow);
}

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  transition: background .4s, height .4s var(--ease), box-shadow .4s, transform .5s var(--ease);
  transform: translateY(-100%);
}
body.loaded .header { transform: none; transition-delay: 0s, 0s, 0s, .2s; }
.header.scrolled {
  height: 70px;
  background: rgba(8, 8, 9, .82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -10px rgba(0,0,0,.6);
}
.header__inner { height: 100%; display: flex; align-items: center; gap: 24px; }

.logo { display: flex; align-items: center; flex-shrink: 0; position: relative; z-index: 2; }
.logo__img { height: clamp(42px, calc(5.6 * var(--u, 1vw)), 68px); width: auto; transition: height .4s var(--ease), transform .4s var(--ease); }
.header.scrolled .logo__img { height: 48px; }
.logo:hover .logo__img { transform: scale(1.04); }
.logo__fallback { display: none; align-items: center; gap: 14px; }
.logo--text .logo__img { display: none; }
.logo--text .logo__fallback { display: flex; }
.logo__mark { width: clamp(40px, calc(4.6 * var(--u, 1vw)), 58px); height: auto; fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; transition: transform .8s var(--ease); }
.logo:hover .logo__mark { transform: rotate(360deg); }
.logo__words { display: grid; line-height: 1; padding-left: 14px; border-left: 1px solid rgba(255,255,255,.5); }
.logo__words b { font-family: var(--f-head); font-weight: 600; font-size: clamp(26px, calc(3.2 * var(--u, 1vw)), 44px); letter-spacing: .08em; }
.logo__words small { font-size: clamp(7px, calc(.7 * var(--u, 1vw)), 9px); letter-spacing: .3em; margin-top: 4px; color: #ddd; }

.nav { margin-left: auto; display: flex; align-items: center; }
.nav__link {
  position: relative; padding: 6px clamp(10px, calc(1.3 * var(--u, 1vw)), 18px);
  font-size: 14px; font-weight: 500; color: #eee;
  transition: color .3s;
}
.nav__link + .nav__link::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 14px;
  background: rgba(255,255,255,.3); transform: translateY(-50%);
}
.nav__link::after {
  content: ""; position: absolute; left: 50%; right: 50%; bottom: -2px; height: 2px;
  background: var(--yellow); transition: left .35s var(--ease), right .35s var(--ease);
}
.nav__link:hover, .nav__link.active { color: var(--yellow); }
.nav__link:hover::after, .nav__link.active::after { left: clamp(10px, calc(1.3 * var(--u, 1vw)), 18px); right: clamp(10px, calc(1.3 * var(--u, 1vw)), 18px); }
.nav__phone-mobile { display: none; }

.header__phone {
  display: inline-flex; align-items: center; gap: 10px;
  margin-left: clamp(16px, calc(3 * var(--u, 1vw)), 44px);
  height: 42px; padding: 0 20px; border-radius: 30px;
  background: var(--yellow); color: #000;
  font-family: var(--f-cond); font-weight: 600; font-size: 16px; white-space: nowrap;
  animation: glowPulse 2.6s ease-in-out infinite;
  transition: transform .3s var(--ease);
}
.header__phone:hover { transform: scale(1.05); }
.header__phone .ic { font-size: 22px; stroke-width: 2; fill: #000; stroke: #000; }
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,198,26,.55); }
  50% { box-shadow: 0 0 0 10px rgba(255,198,26,0); }
}
.ring { animation: ring 3s ease-in-out infinite; transform-origin: 50% 50%; }
@keyframes ring {
  0%, 60%, 100% { transform: rotate(0); }
  64% { transform: rotate(-18deg); } 68% { transform: rotate(16deg); }
  72% { transform: rotate(-14deg); } 76% { transform: rotate(10deg); }
  80% { transform: rotate(-6deg); } 84% { transform: rotate(0); }
}

.burger { display: none; width: 44px; height: 44px; position: relative; z-index: 2; margin-left: 12px; }
.burger span {
  position: absolute; left: 10px; right: 10px; height: 2px; background: #fff; border-radius: 2px;
  transition: transform .4s var(--ease), opacity .3s, top .4s var(--ease), background .3s;
}
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 21px; right: 16px; }
.burger span:nth-child(3) { top: 28px; }
.burger.open span { background: var(--yellow); }
.burger.open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: translateX(10px); }
.burger.open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: clamp(520px, calc(52 * var(--u, 1vw)), 760px);
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 20px) 0 clamp(50px, calc(6 * var(--u, 1vw)), 80px);
  background: radial-gradient(ellipse at 75% 40%, #1d1d21 0%, #0a0a0b 60%);
}
.hero__media { position: absolute; inset: 0 0 0 auto; width: 74%; }
.hero__img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  opacity: 0; transform: scale(1.15) translateX(6%);
  transition: opacity 1.6s var(--ease-out), transform 2.2s var(--ease-out);
}
body.loaded .hero__img { opacity: 1; transform: scale(1.02) translateX(0); }
.hero__media.parallax-ready .hero__img { transition: opacity 1.6s var(--ease-out); }
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(10,10,11,.85) 18%, rgba(10,10,11,.2) 45%, transparent 70%),
    linear-gradient(0deg, var(--bg) 0%, transparent 25%),
    linear-gradient(180deg, rgba(10,10,11,.7) 0%, transparent 22%);
}
.hero__sweep {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.14) 50%, transparent 60%);
  transform: translateX(-100%);
  animation: sweep 7s 2s ease-in-out infinite;
}
@keyframes sweep { 0% { transform: translateX(-100%); } 40%, 100% { transform: translateX(100%); } }
.hero__particles { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

.hero__content { position: relative; z-index: 2; }
.hero__title {
  font-family: var(--f-head); font-weight: 800; text-transform: uppercase;
  font-size: clamp(26px, calc(3.9 * var(--u, 1vw)), 50px); line-height: 1.12; letter-spacing: .005em;
  text-shadow: 0 4px 30px rgba(0,0,0,.6);
}
.hero__title .split { display: block; }
.hero__title em { font-style: normal; color: var(--yellow); }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; }
.w > span { display: inline-block; transform: translateY(110%) rotate(6deg); transition: transform 1s var(--ease-out); transition-delay: var(--d, 0s); }
body.loaded .w > span { transform: none; }

.hero__sub {
  margin-top: clamp(16px, calc(2 * var(--u, 1vw)), 26px);
  font-family: var(--f-body); font-weight: 500; text-transform: uppercase;
  letter-spacing: .32em; font-size: clamp(11px, calc(1.15 * var(--u, 1vw)), 15px); line-height: 2; color: #e6e6e6;
}
.hero__sub span { display: block; opacity: 0; transform: translateX(-30px); transition: all 1s var(--ease-out); }
.hero__sub span:nth-child(1) { transition-delay: .9s; }
.hero__sub span:nth-child(2) { transition-delay: 1.05s; }
body.loaded .hero__sub span { opacity: 1; transform: none; }
.hero__line {
  display: block; width: 74px; height: 3px; background: var(--yellow);
  margin: clamp(14px, calc(1.6 * var(--u, 1vw)), 20px) 0 clamp(22px, calc(2.4 * var(--u, 1vw)), 30px);
  transform: scaleX(0); transform-origin: left; transition: transform 1s 1.3s var(--ease-out);
}
body.loaded .hero__line { transform: scaleX(1); }
.hero__cta { opacity: 0; transform: translateY(20px); transition: opacity .8s 1.5s var(--ease-out), transform .8s 1.5s var(--ease-out), box-shadow .35s; }
body.loaded .hero__cta { opacity: 1; transform: none; }
body.loaded .hero__cta:hover { transform: translateY(-3px); transition-delay: 0s; }

.scroll-hint {
  position: absolute; left: 50%; bottom: 18px; z-index: 3;
  width: 24px; height: 38px; border: 2px solid rgba(255,255,255,.5); border-radius: 14px;
  transform: translateX(-50%); opacity: 0; transition: opacity 1s 2s;
}
body.loaded .scroll-hint { opacity: 1; }
.scroll-hint span {
  position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px;
  background: var(--yellow); border-radius: 2px; animation: scrollDot 1.8s infinite;
}
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Features bar ---------- */
.features {
  position: relative; z-index: 3;
  background: linear-gradient(180deg, #111113, #0b0b0c);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.features::before {
  content: ""; position: absolute; top: -1px; left: 0; height: 1px; width: 30%;
  background: linear-gradient(90deg, transparent, var(--yellow), transparent);
  animation: lineRun 6s linear infinite;
}
@keyframes lineRun { from { transform: translateX(-100%); } to { transform: translateX(430%); } }
.features__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.feature {
  display: flex; align-items: center; justify-content: center; gap: clamp(12px, calc(1.6 * var(--u, 1vw)), 22px);
  padding: clamp(20px, calc(2.6 * var(--u, 1vw)), 30px) 10px;
  position: relative; cursor: default;
}
.feature + .feature::before {
  content: ""; position: absolute; left: 0; top: 50%; height: 40%; width: 1px;
  background: rgba(255,255,255,.18); transform: translateY(-50%);
}
.feature__ic { font-size: clamp(30px, calc(3 * var(--u, 1vw)), 40px); stroke-width: 1.2; transition: transform .6s var(--ease), color .3s; }
.feature__ic--wide { font-size: clamp(36px, calc(3.6 * var(--u, 1vw)), 48px); }
.feature span { font-family: var(--f-cond); font-size: clamp(11px, calc(1 * var(--u, 1vw)), 13px); text-transform: uppercase; line-height: 1.35; letter-spacing: .04em; color: #e6e6e6; }
.feature:hover .feature__ic { color: var(--yellow); transform: translateY(-4px) rotateY(180deg); }

/* ---------- Services ---------- */
.services { overflow: hidden; background: var(--bg); padding-bottom: clamp(60px, calc(8 * var(--u, 1vw)), 110px); }
.services__bg { position: absolute; top: 0; right: 0; bottom: 0; width: 62%; }
.services__bg img { width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.services__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(10,10,11,.6) 35%, rgba(10,10,11,.1) 70%),
    linear-gradient(0deg, var(--bg) 0%, transparent 25%),
    linear-gradient(180deg, var(--bg) 0%, transparent 20%);
}
.services__inner { position: relative; z-index: 2; }
.services__grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px clamp(14px, calc(2 * var(--u, 1vw)), 22px); max-width: 760px;
}
.service {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 14px;
  min-height: clamp(48px, calc(4.6 * var(--u, 1vw)), 54px); padding: 8px clamp(12px, calc(1.4 * var(--u, 1vw)), 16px);
  background: var(--panel);
  border: 1px solid var(--line); border-radius: 8px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font-family: var(--f-cond); font-weight: 400; text-transform: uppercase;
  font-size: clamp(13px, calc(1.25 * var(--u, 1vw)), 16px); line-height: 1.2; letter-spacing: .01em;
  transition: border-color .4s, background .4s, transform .5s var(--ease), box-shadow .4s,
              opacity 1s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.btn[data-anim] {
  transition: opacity 1s var(--ease-out), transform .8s var(--ease-out), filter 1s, box-shadow .35s, background .35s, color .35s, border-color .35s;
  transition-delay: var(--d, 0s);
}
.service .ic { font-size: clamp(24px, calc(2.2 * var(--u, 1vw)), 30px); stroke-width: 1.3; transition: color .4s, transform .5s var(--ease); }
.service::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 3px; background: var(--yellow);
  transform: scaleY(0); transition: transform .4s var(--ease);
}
.service::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.12) 50%, transparent 65%);
  transform: translateX(-100%); transition: transform .9s var(--ease);
}
.service:hover { border-color: rgba(255,198,26,.45); background: rgba(36,34,28,.85); transform: translateX(6px); box-shadow: 0 10px 30px -14px rgba(255,198,26,.35); }
.service:hover::before { transform: scaleY(1); }
.service:hover::after { transform: translateX(100%); }
.service:hover .ic { color: var(--yellow); transform: scale(1.15) rotate(-6deg); }

.big-phone {
  display: inline-flex; align-items: center; gap: clamp(14px, calc(2 * var(--u, 1vw)), 24px);
  margin-top: clamp(28px, calc(3.5 * var(--u, 1vw)), 40px);
  font-family: var(--f-head); font-weight: 500; text-transform: uppercase;
  font-size: clamp(24px, calc(3.2 * var(--u, 1vw)), 38px); color: var(--yellow); line-height: 1;
}
.big-phone b { font-weight: 800; }
.big-phone__ic { position: relative; display: grid; place-items: center; width: 1.4em; height: 1.4em; }
.big-phone__ic .ic { font-size: 1em; stroke-width: 1.8; position: relative; z-index: 1; }
.big-phone__ic::before, .big-phone__ic::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 3px solid var(--yellow);
  border-right-color: transparent; border-top-color: transparent; transform: rotate(-20deg);
}
.big-phone__ic::after { border: 2px solid var(--yellow); animation: pulseRing 2.2s ease-out infinite; transform: none; }
@keyframes pulseRing { 0% { transform: scale(.7); opacity: 1; } 100% { transform: scale(1.7); opacity: 0; } }
.big-phone__txt { transition: letter-spacing .4s var(--ease), text-shadow .4s; }
.big-phone:hover .big-phone__txt { letter-spacing: .03em; text-shadow: 0 0 24px rgba(255,198,26,.6); }

.services__stripe {
  position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: clamp(50px, calc(9 * var(--u, 1vw)), 120px);
  fill: none; stroke: var(--yellow); stroke-width: 6; vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 8px rgba(255,198,26,.6));
}
.services__stripe path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2s var(--ease-out); vector-effect: non-scaling-stroke; stroke-width: 6; }
.services__stripe.in path { stroke-dashoffset: 0; }

/* ---------- About ---------- */
.about {
  display: grid; grid-template-columns: 48% 1fr; align-items: center;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: #0c0c0d;
}
.about__media { position: relative; overflow: hidden; height: clamp(220px, calc(22 * var(--u, 1vw)), 290px); background: radial-gradient(circle at 50% 50%, #26262a, #0c0c0d 70%); }
.about__img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.6s var(--ease-out); }
.about__media.in .about__img { transform: scale(1); }
.about__media:hover .about__img { transform: scale(1.06); }
.about__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 65%, #0c0c0d 100%);
}
.about__glare {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.14), transparent 40%);
  opacity: 0; transition: opacity .4s;
}
.about__media:hover .about__glare { opacity: 1; }
.about__content { padding: clamp(28px, calc(4 * var(--u, 1vw)), 50px) var(--gutter) clamp(28px, calc(4 * var(--u, 1vw)), 50px) clamp(20px, calc(3 * var(--u, 1vw)), 36px); max-width: 640px; }
.about__content p { font-size: clamp(12.5px, calc(1 * var(--u, 1vw)), 14px); color: #d6d6d8; margin-bottom: 22px; line-height: 1.75; }

/* ---------- Gallery ---------- */
.gallery { background: linear-gradient(180deg, #0c0c0d, #0a0a0b); }
.gallery__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(8px, calc(1.2 * var(--u, 1vw)), 14px); }
.g-item {
  position: relative; overflow: hidden; border-radius: 6px; aspect-ratio: 1.15;
  background: linear-gradient(135deg, #1b1b1e, #111113);
  cursor: zoom-in;
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.1s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.g-item.in, .gallery__grid.in .g-item:not(.is-extra) { clip-path: inset(0 0 0 0); }
.gallery__grid.in .g-item:not(.is-extra) img { transform: scale(1); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.25); transition: transform 1.4s var(--ease-out), filter .6s; transition-delay: var(--d, 0s); }
.g-item.in img { transform: scale(1); }
.g-item:hover img { transform: scale(1.12); filter: brightness(.65); transition-delay: 0s; }
.g-item::after {
  content: ""; position: absolute; inset: 0; border: 2px solid var(--yellow); border-radius: 6px;
  opacity: 0; transform: scale(1.05); transition: all .45s var(--ease);
}
.g-item:hover::after { opacity: 1; transform: scale(1); }
.g-item__plus {
  position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; z-index: 1;
  display: grid; place-items: center; border-radius: 50%; background: var(--yellow); color: #000;
  transform: translate(-50%, -50%) scale(0) rotate(-90deg); transition: transform .45s var(--ease);
}
.g-item__plus .ic { font-size: 22px; stroke-width: 2.2; }
.g-item:hover .g-item__plus { transform: translate(-50%, -50%) scale(1) rotate(0); }
.g-item.is-extra { display: none; }
.gallery.expanded .g-item.is-extra { display: block; }
.g-item--empty { cursor: default; display: grid; place-items: center; }
.g-item--empty .ic { font-size: 34px; color: #333; }
.g-item--empty::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.05) 50%, transparent 70%);
  animation: shimmer 2.2s infinite;
}
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.gallery__more { display: flex; justify-content: center; margin-top: clamp(14px, calc(2 * var(--u, 1vw)), 22px); }
#galleryMore .ic { transition: transform .4s var(--ease); }
.gallery.expanded #galleryMore .ic { transform: rotate(-90deg); }

/* ---------- Advantages ---------- */
.advantages {
  position: relative; overflow: hidden;
  padding: clamp(36px, calc(4 * var(--u, 1vw)), 50px) 0 clamp(36px, calc(4 * var(--u, 1vw)), 50px);
  background: linear-gradient(160deg, #141416 0%, #0b0b0c 60%);
  border-top: 1px solid var(--line);
}
.advantages__stripe {
  position: absolute; height: 5px; width: 34%; background: var(--yellow);
  box-shadow: 0 0 14px rgba(255,198,26,.6);
  transform-origin: left center; transition: transform 1.4s var(--ease-out);
}
.advantages__stripe--tl { top: 0; left: -6%; transform: rotate(-38deg) scaleX(0); transform-origin: right center; top: 60%; }
.advantages__stripe--br { bottom: 30%; right: -10%; transform: rotate(-38deg) scaleX(0); }
.advantages.in .advantages__stripe--tl { transform: rotate(-38deg) scaleX(1); }
.advantages.in .advantages__stripe--br { transform: rotate(-38deg) scaleX(1); transition-delay: .3s; }
.advantages::before {
  content: ""; position: absolute; left: -5%; top: 0; width: 26%; height: 100%;
  background: linear-gradient(115deg, rgba(255,255,255,.04), transparent 60%);
  transform: skewX(-38deg);
}
.advantages__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  max-width: 900px; margin: 16px auto 0; position: relative; z-index: 1;
}
.adv { display: grid; justify-items: center; gap: 12px; text-align: center; }
.adv__circle {
  position: relative; width: clamp(56px, calc(5.4 * var(--u, 1vw)), 66px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; background: #121214;
  transition: transform .5s var(--ease);
}
.adv__circle::before {
  content: ""; position: absolute; inset: -3px; border-radius: 50%; z-index: -1;
  background: conic-gradient(from 0deg, var(--yellow) 0 60%, rgba(255,255,255,.15) 60% 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  animation: spin 6s linear infinite;
}
.adv__circle { isolation: isolate; }
.adv__circle .ic { font-size: 46%; width: 46%; height: 46%; color: var(--yellow); stroke-width: 1.5; transition: transform .6s var(--ease); }
.adv:hover .adv__circle { transform: translateY(-6px) scale(1.08); }
.adv:hover .adv__circle::before { animation-duration: 1.2s; }
.adv:hover .adv__circle .ic { transform: rotateY(360deg); }
@keyframes spin { to { transform: rotate(360deg); } }
.adv span { font-family: var(--f-cond); font-size: clamp(11px, calc(1 * var(--u, 1vw)), 13px); text-transform: uppercase; letter-spacing: .04em; line-height: 1.3; }

/* ---------- Contact ---------- */
.contact {
  position: relative; overflow: hidden;
  padding: clamp(50px, calc(6 * var(--u, 1vw)), 80px) 0;
  background: linear-gradient(135deg, #101012, #0a0a0b);
}
.contact__bg { position: absolute; inset: 0 0 0 30%; }
.contact__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.contact__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #0d0d0f 0%, rgba(13,13,15,.6) 40%, rgba(13,13,15,.75) 100%); }
.contact__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr minmax(0, 420px); gap: clamp(30px, calc(6 * var(--u, 1vw)), 90px); align-items: center; }
.contact__text { position: relative; }
.contact__text::after {
  content: ""; position: absolute; top: -30%; bottom: -30%; right: clamp(-50px, -calc(3 * var(--u, 1vw)), -20px); width: 4px;
  background: var(--yellow); transform: skewX(-14deg) scaleY(0); transform-origin: top;
  box-shadow: 0 0 14px rgba(255,198,26,.5);
  transition: transform 1.4s var(--ease-out);
}
.contact.in .contact__text::after { transform: skewX(-14deg) scaleY(1); }
.contact__title {
  font-family: var(--f-head); font-weight: 800; text-transform: uppercase;
  font-size: clamp(24px, calc(2.8 * var(--u, 1vw)), 36px); line-height: 1.2;
}
.contact__title em { font-style: normal; color: var(--yellow); }
.contact__lead { font-size: clamp(16px, calc(1.6 * var(--u, 1vw)), 21px); margin: 10px 0 26px; color: #eee; }
.contact__info { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; font-family: var(--f-cond); }
.contact__info a, .contact__info > span:not(.contact__sep) { display: inline-flex; align-items: center; gap: 10px; }
.contact__info a { font-size: clamp(20px, calc(2 * var(--u, 1vw)), 26px); font-weight: 600; transition: color .3s; }
.contact__info a:hover { color: var(--yellow); }
.contact__info > span:not(.contact__sep) { font-family: var(--f-body); font-size: clamp(15px, calc(1.3 * var(--u, 1vw)), 18px); }
.contact__info .ic { color: var(--yellow); font-size: 1.3em; stroke-width: 1.8; }
.contact__sep { width: 2px; height: 30px; background: var(--yellow); }
.contact__info a.contact__addr { font-family: var(--f-body); font-weight: 500; font-size: clamp(15px, calc(1.3 * var(--u, 1vw)), 18px); line-height: 1.3; }
.contact__addr small { display: block; font-size: 12.5px; font-weight: 400; color: #bdbdc1; margin-top: 3px; }

/* ---------- Location / map ---------- */
.location { position: relative; min-height: clamp(380px, calc(38 * var(--u, 1vw)), 460px); display: flex; align-items: center; background: #0c0c0d; border-top: 1px solid var(--line); overflow: hidden; }
.location__map { position: absolute; inset: 0; }
.location__map iframe {
  width: 100%; height: 100%; border: 0; display: block;
  filter: invert(.92) hue-rotate(180deg) saturate(.6) brightness(.95) contrast(.95);
}
.location__map::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(10,10,11,.85) 0%, rgba(10,10,11,.25) 45%, transparent 70%);
}
.location__inner { position: relative; z-index: 1; pointer-events: none; padding-top: 40px; padding-bottom: 40px; }
.location__card {
  pointer-events: auto; max-width: 360px; display: grid; gap: 14px; justify-items: start;
  background: rgba(14,14,16,.92); border: 1px solid rgba(255,255,255,.1); border-left: 4px solid var(--yellow);
  border-radius: 10px; padding: 24px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.9);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.location__card .label { margin: 0; }
.location__title { font-family: var(--f-head); font-weight: 800; text-transform: uppercase; font-size: clamp(18px, calc(1.8 * var(--u, 1vw)), 22px); line-height: 1.25; }
.location__addr { font-style: normal; display: flex; gap: 10px; font-size: 14.5px; line-height: 1.6; color: #e0e0e3; }
.location__addr .ic, .location__phone .ic { color: var(--yellow); font-size: 22px; stroke-width: 1.8; margin-top: 1px; }
.location__phone { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-cond); font-weight: 600; font-size: 22px; transition: color .3s; }
.location__phone:hover { color: var(--yellow); }
/* mobile layout (html.m) */
  html.m .location { flex-direction: column; align-items: stretch; min-height: 0; }
  html.m .location__map { position: relative; height: 300px; }
  html.m .location__map::after { background: linear-gradient(0deg, #0c0c0d 0%, transparent 30%); }
  html.m .location__inner { padding-top: 0; padding-bottom: 40px; margin-top: -60px; }
  html.m .location__card { max-width: none; }


.form {
  background: rgba(16, 16, 18, .88); border: 1px solid rgba(255,255,255,.1); border-radius: 12px;
  padding: clamp(16px, calc(2 * var(--u, 1vw)), 20px); display: grid; gap: 10px; position: relative; overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.8);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.form::before {
  content: ""; position: absolute; inset: 0; border-radius: 12px; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--a, 0deg), transparent 0 75%, var(--yellow) 88%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: borderSpin 5s linear infinite;
}
@property --a { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes borderSpin { to { --a: 360deg; } }

/* Call-now card */
.callcard { justify-items: center; text-align: center; gap: 6px; padding: clamp(26px, calc(3 * var(--u, 1vw)), 36px) clamp(20px, calc(2.4 * var(--u, 1vw)), 30px); }
.callcard__icon {
  position: relative; display: grid; place-items: center;
  width: 78px; height: 78px; border-radius: 50%; margin-bottom: 14px;
  background: var(--yellow); color: #000;
  box-shadow: 0 10px 30px -8px rgba(255,198,26,.7);
  transition: transform .4s var(--ease);
}
.callcard__icon:hover { transform: scale(1.08); }
.callcard__icon .ic { font-size: 34px; stroke-width: 1.8; fill: #000; position: relative; z-index: 1; }
.callcard__wave {
  position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--yellow);
  animation: pulseRing 2.4s ease-out infinite;
}
.callcard__wave + .callcard__wave { animation-delay: 1.2s; }
.callcard__label {
  font-family: var(--f-cond); font-weight: 500; text-transform: uppercase;
  letter-spacing: .2em; font-size: 13px; color: var(--yellow);
}
.callcard__number {
  font-family: var(--f-head); font-weight: 800; line-height: 1.1;
  font-size: clamp(30px, calc(3.2 * var(--u, 1vw)), 40px); letter-spacing: .01em; white-space: nowrap;
  background: linear-gradient(90deg, #fff 0%, #fff 40%, var(--yellow) 50%, #fff 60%, #fff 100%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: textShine 4s linear infinite;
}
@keyframes textShine { from { background-position: 100% 0; } to { background-position: -150% 0; } }
.callcard__note { font-size: 13.5px; color: #bdbdc1; margin: 4px 0 16px; }
.callcard .btn { height: 54px; font-size: 17px; animation: glowPulse 2.6s ease-in-out infinite; }
.callcard .btn .ic { fill: #000; stroke-width: 1.8; }
.callcard .btn:hover .ic { transform: rotate(-15deg) scale(1.1); }

/* ---------- Footer ---------- */
.footer { background: #060607; padding: clamp(24px, calc(3 * var(--u, 1vw)), 34px) 0 18px; border-top: 1px solid var(--line); }
.footer__top { display: flex; align-items: center; gap: 30px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.logo--footer .logo__img { height: clamp(44px, calc(4.6 * var(--u, 1vw)), 56px); }
.logo--footer .logo__mark { width: 46px; }
.logo--footer .logo__words b { font-size: 32px; }
.footer__nav { display: flex; gap: clamp(16px, calc(2.6 * var(--u, 1vw)), 30px); margin: 0 auto; font-size: 13px; }
.footer__nav a { position: relative; transition: color .3s; }
.footer__nav a:hover { color: var(--yellow); }
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 34px; height: 34px; border-radius: 50%; background: #fff; color: #000;
  display: grid; place-items: center; transition: transform .4s var(--ease), background .3s;
}
.footer__social a .ic { font-size: 18px; }
.footer__social a:hover { background: var(--yellow); transform: translateY(-4px) rotate(360deg); }
.footer__bottom { display: flex; justify-content: space-between; gap: 10px; padding-top: 14px; font-size: 11.5px; color: #bbb; flex-wrap: wrap; }
.footer__nap { font-style: normal; }
.footer__nap a { color: var(--yellow); }

/* ---------- About: keyword text ---------- */
.about__content strong { color: #fff; font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { background: linear-gradient(180deg, #0a0a0b, #0f0f11); border-top: 1px solid var(--line); }
.faq__inner { max-width: 900px; }
.faq__list { display: grid; gap: 10px; }
.faq__item {
  background: var(--panel); border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
  transition: border-color .4s, background .4s, opacity 1s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.faq__item:hover { border-color: rgba(255,198,26,.35); }
.faq__item[open] { border-color: rgba(255,198,26,.55); background: rgba(30,29,25,.85); }
.faq__item summary {
  position: relative; list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 18px; font-family: var(--f-cond); font-weight: 500;
  font-size: clamp(15px, calc(1.4 * var(--u, 1vw)), 18px); text-transform: uppercase; letter-spacing: .01em; line-height: 1.3;
  transition: color .3s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover, .faq__item[open] summary { color: var(--yellow); }
.faq__icon { position: relative; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid currentColor; transition: transform .45s var(--ease), background .3s; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px;
  background: currentColor; border-radius: 2px; transition: transform .45s var(--ease);
}
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon { transform: rotate(180deg); background: var(--yellow); color: #000; border-color: var(--yellow); }
.faq__item[open] .faq__icon::after { transform: rotate(0); }
.faq__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.faq__body > p { overflow: hidden; padding: 0 18px; color: #d0d0d3; font-size: 14.5px; line-height: 1.7; transition: padding .5s var(--ease); }
.faq__item.is-open .faq__body { grid-template-rows: 1fr; }
.faq__item.is-open .faq__body > p { padding-bottom: 18px; }
.faq__body a { color: var(--yellow); font-weight: 600; }

.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--yellow); color: #000; box-shadow: 0 8px 24px -6px rgba(255,198,26,.6);
  opacity: 0; visibility: hidden; transform: translateY(20px) scale(.8);
  transition: all .4s var(--ease);
}
.to-top .ic { font-size: 20px; stroke-width: 2.2; transform: rotate(-90deg); }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-4px); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 500; background: rgba(5,5,6,.94);
  display: grid; place-items: center; padding: 60px 70px;
  opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox__figure { max-width: 100%; max-height: 100%; }
.lightbox__figure img {
  max-width: min(1200px, 100%); max-height: calc(100 * var(--vh, 1vh) - 140px);
  border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,.8);
  transform: scale(.9); opacity: 0; transition: transform .5s var(--ease-out), opacity .4s;
}
.lightbox.open .lightbox__figure img.ready { transform: none; opacity: 1; }
.lightbox__close, .lightbox__nav {
  position: absolute; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  transition: background .3s, color .3s, transform .3s var(--ease);
}
.lightbox__close:hover, .lightbox__nav:hover { background: var(--yellow); color: #000; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__close:hover { transform: rotate(90deg); }
.lightbox__close .ic, .lightbox__nav .ic { font-size: 22px; stroke-width: 2; }
.lightbox__nav { top: 50%; margin-top: -24px; }
.lightbox__prev { left: 14px; } .lightbox__prev .ic { transform: rotate(180deg); }
.lightbox__next { right: 14px; }
.lightbox__count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); font-family: var(--f-cond); letter-spacing: .1em; color: #bbb; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
/* mobile layout (html.m) */
  html.m .header__phone span { display: none; }
  html.m .header__phone { width: 42px; padding: 0; justify-content: center; }


/* mobile layout (html.m) */
  html.m .burger { display: block; }
  html.m .header__phone { margin-left: auto; }
  html.m .nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; justify-content: center; gap: 8px;
    background: rgba(6,6,7,.97);
    clip-path: circle(0 at calc(100% - 40px) 40px);
    transition: clip-path .7s var(--ease);
  }
  html.m .nav.open { clip-path: circle(150% at calc(100% - 40px) 40px); }
  html.m .nav__link {
    font-family: var(--f-head); font-weight: 800; text-transform: uppercase; font-size: 26px; padding: 10px 20px;
    opacity: 0; transform: translateY(24px); transition: opacity .5s, transform .5s var(--ease), color .3s;
  }
  html.m .nav__link + .nav__link::before { display: none; }
  html.m .nav.open .nav__link { opacity: 1; transform: none; }
  html.m .nav.open .nav__link:nth-child(1) { transition-delay: .2s; }
  html.m .nav.open .nav__link:nth-child(2) { transition-delay: .27s; }
  html.m .nav.open .nav__link:nth-child(3) { transition-delay: .34s; }
  html.m .nav.open .nav__link:nth-child(4) { transition-delay: .41s; }
  html.m .nav__phone-mobile { display: inline-flex; margin-top: 24px; opacity: 0; transition: opacity .5s .5s; }
  html.m .nav.open .nav__phone-mobile { opacity: 1; }
  html.m .nav__link::after { bottom: 4px; }

  html.m .services__bg { width: 100%; opacity: .45; }
  html.m .about { grid-template-columns: 1fr 1fr; }
  html.m .gallery__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }


/* mobile layout (html.m) */
  /* Hero: image on the bottom/back, text on top */
  html.m .hero { min-height: calc(100 * var(--vh, 1vh)); align-items: flex-start; padding-top: calc(var(--header-h) + 30px); }
  html.m .hero__media { width: 100%; top: auto; height: 62%; }
  html.m .hero__img { object-position: 60% center; }
  html.m .hero__shade {
    background:
      linear-gradient(180deg, var(--bg) 0%, rgba(10,10,11,.4) 30%, transparent 55%),
      linear-gradient(0deg, var(--bg) 0%, transparent 25%);
  }
  html.m .hero__title { font-size: clamp(24px, calc(7.4 * var(--u, 1vw)), 40px); }
  html.m .hero__sub { letter-spacing: .22em; }

  html.m .features__grid { grid-template-columns: repeat(2, 1fr); }
  html.m .feature { justify-content: flex-start; padding: 18px 12px; }
  html.m .feature:nth-child(3)::before { display: none; }
  html.m .feature:nth-child(n+3) { border-top: 1px solid var(--line); }

  html.m .services__grid { grid-template-columns: 1fr; }
  html.m .services__bg { opacity: .35; }

  html.m .about { grid-template-columns: 1fr; }
  html.m .about__media { height: clamp(200px, calc(56 * var(--u, 1vw)), 320px); }
  html.m .about__media::after { background: linear-gradient(0deg, #0c0c0d 0%, transparent 40%); }
  html.m .about__content { padding: 28px var(--gutter) 40px; }

  html.m .gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html.m .gallery__grid .g-item:first-child { grid-column: span 2; aspect-ratio: 1.8; }

  html.m .advantages__grid { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  html.m .advantages__stripe { width: 50%; }

  html.m .contact__bg { inset: 0; }
  html.m .contact__inner { grid-template-columns: 1fr; }
  html.m .contact__text::after { display: none; }
  html.m .contact__text { padding-left: 18px; border-left: 4px solid var(--yellow); }

  html.m .footer__top { flex-direction: column; text-align: center; gap: 20px; }
  html.m .footer__nav { margin: 0; flex-wrap: wrap; justify-content: center; }
  html.m .footer__bottom { justify-content: center; text-align: center; }

  html.m .lightbox { padding: 60px 10px; }
  html.m .lightbox__nav { top: auto; bottom: 14px; margin-top: 0; }
  html.m .lightbox__count { bottom: 30px; }


/* mobile layout (html.m) */
  html.m .hero__cta { width: 100%; }
  html.m .feature { gap: 10px; }
  html.m .big-phone { font-size: 22px; }


@media (hover: none) {
  .service:hover { transform: none; }
}

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