/* LOFT & GRILL — premium industrial */
:root {
  --bg: #12100e;
  --bg-elev: #1a1714;
  --bg-soft: #221e19;
  --line: rgba(232, 220, 200, 0.12);
  --text: #f2ebe1;
  --muted: #a89f92;
  --oak: #c9a36a;
  --ember: #d2642e;
  --ember-deep: #a8481c;
  --steel: #8a9098;
  --viber: #7360f2;
  --radius: 2px;
  --header-h: 72px;
  --page-max: 1120px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Instrument Sans", system-ui, sans-serif;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  text-align: left;
  text-rendering: optimizeLegibility;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(210, 100, 46, 0.14), transparent 55%),
    radial-gradient(900px 500px at 100% 20%, rgba(138, 144, 152, 0.08), transparent 50%),
    linear-gradient(180deg, #161310 0%, var(--bg) 28%, #0e0c0a 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ember);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.eyebrow {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--oak);
  line-height: 1.4;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.35rem, 5.8vw, 4.25rem);
  max-width: 16rem;
}

h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.65rem);
  max-width: 28rem;
}

h3 {
  font-size: 1.2rem;
  letter-spacing: 0;
  line-height: 1.3;
  max-width: none;
}

p {
  margin: 0 0 1rem;
  max-width: 42rem;
}

p:last-child {
  margin-bottom: 0;
}

.section {
  padding: clamp(3.5rem, 7vw, 6rem) var(--gutter);
  max-width: var(--page-max);
  margin: 0 auto;
  width: 100%;
}

.section-head {
  max-width: 36rem;
  margin: 0 0 2.5rem;
}

.section-lead {
  color: var(--muted);
  margin: 0;
  max-width: 36rem;
  line-height: 1.65;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(18, 16, 14, 0.72);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  min-height: var(--header-h);
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  white-space: nowrap;
}

.logo-mark {
  width: 1.15rem;
  height: 1.15rem;
  background: linear-gradient(135deg, var(--ember), var(--oak));
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
}

.logo-text em {
  font-style: normal;
  color: var(--oak);
  font-weight: 500;
}

.nav {
  display: none;
  gap: 1.35rem;
}

.nav a {
  color: var(--muted);
  font-size: 0.92rem;
  transition: color 0.25s var(--ease);
}

.nav a:hover {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.phone-link {
  display: none;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 500;
}

.nav-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  display: grid;
  place-content: center;
  gap: 6px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
}

.mobile-nav {
  display: grid;
  gap: 0.25rem;
  padding: 0.5rem var(--gutter) 1.25rem;
  border-bottom: 1px solid var(--line);
  background: rgba(18, 16, 14, 0.96);
}

.mobile-nav[hidden] {
  display: none !important;
}

.mobile-nav a {
  padding: 0.85rem 0.25rem;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.7rem 1.25rem;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(180deg, #e0743a 0%, var(--ember) 55%, var(--ember-deep) 100%);
  color: #fff;
  box-shadow: 0 10px 28px rgba(210, 100, 46, 0.28);
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

.btn-ghost:hover {
  border-color: rgba(232, 220, 200, 0.28);
  background: rgba(255, 255, 255, 0.05);
}

.btn-viber {
  background: rgba(115, 96, 242, 0.16);
  border-color: rgba(115, 96, 242, 0.45);
  color: #d7d1ff;
}

.btn-block {
  width: 100%;
}

/* Hero — one composition, full-bleed image plane */
.hero {
  position: relative;
  min-height: min(72vh, 720px);
  display: grid;
  align-items: end;
  overflow: clip;
  padding-bottom: 4.75rem; /* место под нижний dock, без пустоты экрана */
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 60%;
  transform: scale(1.04);
  animation: heroDrift 18s var(--ease) infinite alternate;
}

@keyframes heroDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 8, 6, 0.88) 0%, rgba(10, 8, 6, 0.55) 42%, rgba(10, 8, 6, 0.2) 70%, rgba(10, 8, 6, 0.45) 100%),
    linear-gradient(180deg, rgba(10, 8, 6, 0.35) 0%, rgba(10, 8, 6, 0.15) 35%, rgba(10, 8, 6, 0.92) 100%);
}

.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--page-max);
  width: 100%;
  margin: 0 auto;
  padding: clamp(4.25rem, 7vh, 5.5rem) var(--gutter) 1.25rem;
}

.hero-lead {
  max-width: 34rem;
  color: #d8d0c4;
  font-size: 1.0625rem;
  line-height: 1.65;
  margin: 0 0 1.35rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
}

.hero-meta {
  list-style: none;
  margin: 0;
  padding: 1rem 0 0;
  display: grid;
  gap: 0.85rem;
  border-top: 1px solid var(--line);
  max-width: 40rem;
}

.hero-meta li {
  display: grid;
  gap: 0.2rem;
}

.hero-meta strong {
  font-family: var(--font-display);
  font-size: 1.02rem;
  letter-spacing: 0;
  line-height: 1.3;
}

.hero-meta span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Unique: steel thickness ruler */
.steel-ruler {
  padding: 0 var(--gutter) 1rem;
  max-width: var(--page-max);
  margin: -1.5rem auto 0;
  position: relative;
  z-index: 2;
  width: 100%;
}

.steel-ruler-track {
  background: linear-gradient(180deg, rgba(34, 30, 25, 0.95), rgba(26, 23, 20, 0.92));
  border: 1px solid var(--line);
  padding: 1.25rem 1.25rem 1.4rem;
  box-shadow: var(--shadow);
}

.steel-ruler-label {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.4;
}

.steel-bars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  align-items: end;
  min-height: 88px;
}

.steel-bar {
  --h: calc(var(--t) * 10px);
  height: var(--h);
  min-height: 36px;
  background: linear-gradient(180deg, #6b7178, #3a3e44);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0.5rem 0.45rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.steel-bar span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.steel-bar em {
  font-style: normal;
  font-size: 0.68rem;
  color: var(--muted);
  line-height: 1.25;
  margin-top: 0.15rem;
}

.steel-bar.is-active {
  background: linear-gradient(180deg, #9aa1a8, #4d5258);
  box-shadow: inset 0 0 0 1px rgba(201, 163, 106, 0.55), 0 0 24px rgba(210, 100, 46, 0.18);
}

.steel-bar:hover {
  transform: translateY(-4px);
}

/* Services — no card chrome unless interaction needs it */
.service-grid {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.service-item {
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 0.55rem;
  align-content: start;
}

.service-item h3 {
  margin-bottom: 0.15rem;
}

.service-item:hover {
  padding-left: 0;
}

.service-item p {
  margin: 0;
  color: var(--muted);
  max-width: 34rem;
  line-height: 1.65;
}

.service-item a {
  color: var(--oak);
  font-family: var(--font-display);
  font-weight: 500;
  width: fit-content;
  margin-top: 0.25rem;
  line-height: 1.4;
}

.service-item a:hover {
  color: var(--text);
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  min-height: 280px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.7s var(--ease);
}

.gallery-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 45%, rgba(8, 6, 4, 0.78) 100%),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 31px,
      rgba(201, 163, 106, 0) 31px,
      rgba(201, 163, 106, 0) 32px
    );
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}

/* Unique: blueprint overlay on hover */
.gallery-item:hover::before {
  opacity: 1;
  background:
    linear-gradient(180deg, transparent 35%, rgba(8, 6, 4, 0.82) 100%),
    linear-gradient(rgba(201, 163, 106, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 163, 106, 0.07) 1px, transparent 1px);
  background-size: auto, 28px 28px, 28px 28px;
}

.gallery-item:hover img {
  transform: scale(1.04);
  filter: saturate(1.05) contrast(1.04);
}

.gallery-item figcaption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  display: grid;
  gap: 0.25rem;
}

.gallery-item figcaption strong {
  font-family: var(--font-display);
  letter-spacing: 0;
  line-height: 1.3;
}

.gallery-item figcaption span {
  color: #cfc5b6;
  font-size: 0.9rem;
  line-height: 1.35;
}

.gallery-slot {
  min-height: 220px;
  border: 1px dashed rgba(232, 220, 200, 0.22);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.02), transparent),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 10px,
      rgba(255, 255, 255, 0.015) 10px,
      rgba(255, 255, 255, 0.015) 11px
    );
  display: grid;
  place-content: center;
  text-align: center;
  gap: 0.35rem;
  color: var(--muted);
}

.gallery-slot em {
  font-style: normal;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--oak);
}

/* Craft */
.craft-layout {
  display: grid;
  gap: 2.25rem;
  align-items: start;
}

.craft-copy p {
  color: var(--muted);
  max-width: 34rem;
  line-height: 1.65;
}

.check-list {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.check-list li {
  padding-left: 1.35rem;
  position: relative;
  line-height: 1.45;
  max-width: 34rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--ember);
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
}

.craft-visuals {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0.85rem;
  align-items: stretch;
}

.craft-main,
.craft-side {
  border: 1px solid var(--line);
  width: 100%;
  object-fit: cover;
}

.craft-main {
  min-height: 380px;
  max-height: 520px;
  height: 100%;
}

.craft-side {
  min-height: 220px;
  max-height: none;
  height: 100%;
  align-self: end;
  transform: none;
}

/* Why */
.why-grid {
  display: grid;
  gap: 1.25rem;
}

.why-grid article {
  padding: 1.4rem 0;
  border-top: 1px solid var(--line);
}

.why-num {
  display: block;
  font-family: var(--font-display);
  color: var(--oak);
  letter-spacing: 0.06em;
  margin-bottom: 0.55rem;
  font-size: 0.82rem;
  line-height: 1.3;
}

.why-grid h3 {
  margin-bottom: 0.55rem;
}

.why-grid p {
  margin: 0;
  color: var(--muted);
  max-width: 32rem;
  line-height: 1.65;
}

/* Process */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
  display: grid;
  gap: 0;
}

.steps li {
  counter-increment: step;
  padding: 1.4rem 0 1.4rem 3rem;
  border-top: 1px solid var(--line);
  position: relative;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1.45rem;
  font-family: var(--font-display);
  color: var(--ember);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.2;
}

.steps h3 {
  margin-bottom: 0.45rem;
}

.steps p {
  margin: 0;
  color: var(--muted);
  max-width: 28rem;
  line-height: 1.65;
}

/* Prices */
.price-table {
  border: 1px solid var(--line);
  background: rgba(26, 23, 20, 0.65);
}

.price-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.4rem;
  padding: 1.1rem 1.15rem;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.price-row:last-child {
  border-bottom: 0;
}

.price-row--head {
  display: none;
}

.price-row span:first-child {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.35;
}

.price-row span:nth-child(2) {
  color: var(--muted);
  line-height: 1.45;
}

.price-row span:last-child {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--oak);
  letter-spacing: 0;
  line-height: 1.35;
}

.price-row.is-featured {
  background: linear-gradient(90deg, rgba(210, 100, 46, 0.14), transparent 70%);
  box-shadow: inset 3px 0 0 var(--ember);
}

.price-note {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.price-note p {
  margin: 0;
  color: var(--muted);
  max-width: 36rem;
  line-height: 1.65;
}

/* Calculator */
.calc-card {
  display: grid;
  gap: 1.75rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(210, 100, 46, 0.08), transparent 40%),
    rgba(26, 23, 20, 0.8);
}

.calc-form {
  display: grid;
  gap: 1rem;
}

.calc-form label,
.lead-form label,
.modal-panel label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.calc-form select,
.lead-form input,
.lead-form select,
.lead-form textarea,
.modal-panel input {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  background: rgba(8, 6, 4, 0.45);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.25s var(--ease);
}

.calc-form select:focus,
.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus,
.modal-panel input:focus {
  border-color: rgba(210, 100, 46, 0.65);
}

.calc-result {
  margin: 0.5rem 0 0;
  font-size: 1.2rem;
  font-family: var(--font-display);
}

.calc-result strong {
  color: var(--oak);
}

/* Reviews */
.review-grid {
  display: grid;
  gap: 1rem;
}

.review-grid blockquote {
  margin: 0;
  padding: 1.35rem 1.25rem;
  border-left: 2px solid var(--ember);
  background: rgba(255, 255, 255, 0.02);
  display: grid;
  align-content: start;
  gap: 0.85rem;
}

.review-grid p {
  margin: 0;
  line-height: 1.65;
  max-width: none;
}

.review-grid footer {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0.65rem;
}

.faq-list details {
  border: 1px solid var(--line);
  background: rgba(26, 23, 20, 0.5);
  padding: 0 1.1rem;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 0;
  font-family: var(--font-display);
  font-weight: 600;
  position: relative;
  padding-right: 2rem;
  line-height: 1.35;
  letter-spacing: 0;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--oak);
  font-size: 1.25rem;
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list details p {
  margin: 0 0 1.1rem;
  color: var(--muted);
  max-width: 40rem;
  line-height: 1.65;
}

/* CTA / contact */
.cta-band {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.cta-band-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  gap: 2rem;
  width: 100%;
}

.cta-band-inner > div > p {
  color: var(--muted);
  max-width: 34rem;
  line-height: 1.65;
}

.cta-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.lead-form {
  padding: 1.4rem;
  border: 1px solid var(--line);
  background: rgba(18, 16, 14, 0.85);
  display: grid;
  gap: 0.9rem;
}

.lead-form h3 {
  margin-bottom: 0.15rem;
}

.form-note {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.form-success {
  margin: 0;
  color: #9ddeb0;
  font-family: var(--font-display);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 3rem var(--gutter) 7rem;
  max-width: var(--page-max);
  margin: 0 auto;
  width: 100%;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
  align-items: start;
}

.footer-grid > div {
  display: grid;
  gap: 0.35rem;
  align-content: start;
}

.footer-grid h3 {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--oak);
  margin: 0 0 0.35rem;
  line-height: 1.3;
}

.footer-grid a,
.footer-grid p {
  display: block;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
  max-width: 28rem;
}

.footer-grid a:hover {
  color: var(--text);
}

.footer-copy {
  margin: 0;
  color: #6f675d;
  font-size: 0.85rem;
  line-height: 1.4;
  max-width: none;
}

/* Magnetic dock CTA */
.dock {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  z-index: 60;
  display: flex;
  gap: 0.4rem;
  padding: 0.4rem;
  background: rgba(18, 16, 14, 0.82);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  width: min(560px, calc(100% - 1.5rem));
}

.dock-btn {
  flex: 1;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border: 0;
  background: transparent;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s var(--ease);
}

.dock-btn:hover {
  background: rgba(255, 255, 255, 0.05);
}

.dock-btn--viber {
  color: #cfc8ff;
}

.dock-btn--accent {
  background: linear-gradient(180deg, #e0743a, var(--ember));
  color: #fff;
}

.dock-btn--accent:hover {
  filter: brightness(1.05);
}

/* Modal */
.modal[hidden] {
  display: none !important;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

.modal-panel {
  position: relative;
  width: min(440px, 100%);
  background: var(--bg-elev);
  border: 1px solid var(--line);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.85rem;
}

.modal-close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
}

/* Reveal motion */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (min-width: 720px) {
  .hero-meta {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item--wide {
    grid-column: 1 / -1;
    min-height: 420px;
  }

  .gallery-item--wide img {
    min-height: 420px;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .price-row {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.45fr) minmax(7.5rem, 0.7fr);
    align-items: center;
    gap: 1rem;
  }

  .price-row--head {
    display: grid;
    color: var(--muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-family: var(--font-display);
    font-weight: 500;
  }

  .price-row--head span:first-child {
    font-weight: 500;
  }

  .price-row span:last-child {
    text-align: right;
  }

  .price-row--head span:last-child {
    color: var(--muted);
    font-weight: 500;
    text-align: right;
  }

  .review-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .phone-link {
    display: inline;
  }
}

@media (min-width: 980px) {
  .nav {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0 2.5rem;
  }

  .craft-layout {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 3rem;
  }

  .calc-card {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .cta-band-inner {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: start;
  }

  .gallery {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .gallery-item--wide {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    min-height: 100%;
  }

  .gallery-item--wide img {
    min-height: 100%;
    height: 100%;
  }

  .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
    align-items: start;
  }

  .steps li {
    border-top: 0;
    border-left: 0;
    padding: 0;
    display: grid;
    gap: 0.35rem;
    align-content: start;
  }

  .steps li + li {
    border-left: 1px solid var(--line);
    padding-left: 1.25rem;
  }

  .steps li::before {
    position: static;
    display: block;
    margin: 0 0 0.55rem;
  }

  .steps p {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-media img {
    animation: none;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
