/* ===== Design tokens ===== */
:root {
  --bg: #14110e;
  --bg-2: #1c1814;
  --bg-3: #26211b;
  --text: #f1ece3;
  --text-muted: #a89f92;
  --line: rgba(241, 236, 227, 0.14);
  --gold: #c9a45c;
  --gold-hover: #dbb873;
  --cream: #f1ece3;
  --on-cream: #14110e;
  --error: #ff8a7a;

  --font-display: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  --fs-hero: clamp(2.75rem, 2rem + 3.2vw, 5.25rem);
  --fs-h2: clamp(2rem, 1.45rem + 1.4vw, 2.75rem);
  --fs-h3: clamp(1.5rem, 1.1rem + 1vw, 2.125rem);
  --fs-lead: clamp(1.0625rem, 1.2vw, 1.1875rem);
  --fs-body: 1rem;
  --fs-label: 0.8125rem;

  --pad-x: clamp(1rem, 4vw, 3rem);
  --section-y: clamp(3rem, 4.5vw, 4.25rem);
  --radius: 10px;
  --header-h: 64px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--pad-x); }
.section { padding: var(--section-y) 0; }
.label {
  font-family: var(--font-display);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 0;
}
.h2 em { font-style: normal; color: var(--gold); }
.lead { font-size: var(--fs-lead); color: var(--text-muted); max-width: 38ch; margin: 0; }
.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}
@media (min-width: 900px) {
  .section-head { grid-template-columns: 1fr 2fr; align-items: end; }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 48px; padding: 0.75rem 1.5rem;
  border: 1px solid transparent; border-radius: 8px;
  font-family: var(--font-display); font-weight: 500; font-size: 1rem;
  text-decoration: none; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn--gold { background: var(--gold); color: var(--on-cream); }
.btn--gold:hover { background: var(--gold-hover); }
.btn--cream { background: var(--cream); color: var(--on-cream); }
.btn--cream:hover { background: #fff; }
.btn--ghost { border-color: var(--line); color: var(--text); background: rgba(20, 17, 14, 0.35); }
.btn--ghost:hover { border-color: var(--text); }
.btn svg { width: 20px; height: 20px; flex: none; }
.link-line {
  display: flex; justify-content: space-between; align-items: center;
  width: 100%; max-width: 260px; padding: 0.9rem 0.5rem 0;
  border-top: 1px solid var(--line);
  font-family: var(--font-display); font-weight: 600; font-size: 0.875rem;
  letter-spacing: 0.03em; text-transform: uppercase; text-decoration: none;
}
.link-line span:last-child { transition: transform .25s var(--ease); }
.link-line:hover span:last-child { transform: translateX(6px); }

/* ===== Header ===== */
.header {
  position: fixed; top: 12px; left: 0; right: 0; z-index: 50;
  padding: 0 var(--pad-x);
}
.header__bar {
  position: relative; max-width: 1280px; margin: 0 auto; height: var(--header-h);
  display: flex; align-items: center; gap: 1.5rem;
  padding: 0 0.75rem 0 1.25rem;
  background: rgba(28, 24, 20, 0.55);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(241, 236, 227, 0.08);
  border-radius: 12px;
}
.logo { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; flex: none; }
.nav { display: none; margin: 0 auto; }
.nav > ul { list-style: none; display: flex; align-items: center; gap: clamp(0.875rem, 1.4vw, 1.375rem); margin: 0; padding: 0; }
.nav > ul > li > a { text-decoration: none; color: var(--text-muted); font-size: 0.9375rem; white-space: nowrap; transition: color .2s; }
.nav > ul > li > a:hover, .nav > ul > li > a[aria-current="page"], .has-sub.is-open > a { color: var(--text); }
.header__actions { display: flex; align-items: center; gap: 0.5rem; margin-left: auto; }
.header__phone { display: none; text-decoration: none; font-family: var(--font-display); font-weight: 500; margin-right: 0.5rem; }
.header__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 8px; border: 1px solid var(--line);
  text-decoration: none;
}
.header__icon svg { width: 20px; height: 20px; }
.lang { font-family: var(--font-display); font-size: 0.875rem; color: var(--text-muted); text-decoration: none; padding: 0 0.5rem; min-height: 44px; display: inline-flex; align-items: center; }
.lang:hover { color: var(--text); }
.header .btn { min-height: 44px; padding: 0.5rem 1.1rem; }
.header__cta { display: none; white-space: nowrap; }
.header__phone { white-space: nowrap; }
@media (min-width: 768px) { .header__cta { display: inline-flex; } }
@media (min-width: 1280px) {
  .nav { display: block; }
  .header__phone { display: inline; }
  .header__icon--phone { display: none; }
  .burger { display: none; }
}

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 6rem) 0 clamp(2rem, 5vw, 4rem);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media picture { display: contents; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s ease; }
.hero__video.is-playing { opacity: 1; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,17,14,0.55) 0%, rgba(20,17,14,0.1) 35%, rgba(20,17,14,0.55) 65%, rgba(20,17,14,0.96) 100%);
}
.hero__title {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: -0.04em;
  margin: 0 0 1.75rem;
  max-width: 13ch;
}
.hero__title em { font-style: normal; color: var(--gold); }
.hero__bottom {
  display: grid; gap: 2rem;
  padding-top: 2rem; border-top: 1px solid var(--line);
}
.hero__sub { font-size: var(--fs-lead); margin: 0; max-width: 34ch; }
.hero__sub strong { color: var(--gold); font-weight: 600; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.hero__note { width: 100%; font-size: 0.875rem; color: var(--text-muted); margin: 0.25rem 0 0; }
@media (min-width: 900px) {
  .hero__bottom { grid-template-columns: 1fr auto; align-items: end; }
  .hero__note { text-align: right; }
}

/* ===== Stats ===== */
.stats { border-bottom: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.stat { padding: 2.5rem 0 2.5rem; border-top: 1px solid var(--line); }
.stat:nth-child(odd) { padding-right: 1rem; }
.stat__num {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.75rem, 4.2vw, 4rem); line-height: 1; letter-spacing: -0.04em;
}
.stat__num small { font-size: 0.4em; letter-spacing: -0.01em; color: var(--gold); margin-left: 0.15em; }
.stat__text { color: var(--text-muted); margin: 0.75rem 0 0; max-width: 22ch; }
@media (min-width: 900px) {
  .stats__grid { grid-template-columns: repeat(4, 1fr); }
  .stat { border-top: 0; padding: 2.5rem 1.5rem 2.5rem 0; }
  .stat + .stat { border-left: 1px solid var(--line); padding-left: 1.5rem; }
}

/* ===== Services (popular types) ===== */
.services { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 0.75rem; }
.service { position: relative; display: flex; flex-direction: column; gap: 0.75rem; }
.service__media { overflow: hidden; border-radius: var(--radius); aspect-ratio: 3 / 4; background: var(--bg-3); }
.service__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.service:hover .service__media img { transform: scale(1.04); }
.service__body { display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.service__title { font-family: var(--font-display); font-size: clamp(1.125rem, 1.5vw, 1.375rem); font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
.service__desc { display: none; color: var(--text-muted); margin: 0; font-size: 0.9375rem; }
.service__price { font-family: var(--font-display); font-size: 0.9375rem; margin: 0; color: var(--text-muted); }
.service__price b { color: var(--gold); font-weight: 600; }
/* the whole card is the link */
.service .link-line { position: absolute; inset: 0; z-index: 1; max-width: none; opacity: 0; padding: 0; border: 0; }
.service:focus-within { outline: 2px solid var(--gold); outline-offset: 4px; }
.services__more { display: flex; justify-content: center; margin-top: 2rem; }
@media (max-width: 767px) { .services__more .btn { width: 100%; } }
@media (min-width: 600px) { .service__media { aspect-ratio: 4 / 5; } .service__desc { display: block; } }
@media (min-width: 900px) {
  .services { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
  .service .link-line { position: static; opacity: 1; margin-top: auto; padding-top: 0.75rem; border-top: 1px solid var(--line); }
  .service .link-line::after { content: ""; position: absolute; inset: 0; }
}

/* ===== Calculator ===== */
.calc { background: var(--bg-2); }
.calc__grid { display: grid; gap: 3rem; }
.calc__form { display: grid; gap: 1.75rem; }
.field { display: grid; gap: 0.5rem; }
.field label, .field legend { font-family: var(--font-display); font-weight: 500; }
.field__hint { font-size: 0.875rem; color: var(--text-muted); }
.range-row { display: flex; align-items: center; gap: 1rem; }
.range-row output {
  min-width: 5.5rem; text-align: right;
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em;
}
input[type="range"] { flex: 1; accent-color: var(--gold); height: 44px; }
.input, .select, .textarea {
  width: 100%; min-height: 52px; padding: 0.8rem 1rem;
  background: transparent; border: 1px solid var(--line); border-radius: 8px;
  font-size: 1rem; transition: border-color .2s;
}
.textarea { min-height: 96px; resize: vertical; }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-muted) 50%), linear-gradient(135deg, var(--text-muted) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.5rem; }
.select option { background: var(--bg-2); }
.input:hover, .select:hover, .textarea:hover { border-color: rgba(241,236,227,.35); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--gold); }
.input[aria-invalid="true"] { border-color: var(--error); }
.calc__result {
  position: relative;
  padding: clamp(1.75rem, 4vw, 3rem);
  border: 1px solid var(--line); border-radius: var(--radius);
  display: flex; flex-direction: column; gap: 1.25rem;
}
.calc__sum {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.75rem, 4.5vw, 4.25rem); line-height: 1; letter-spacing: -0.045em;
}
.calc__sum span { color: var(--gold); }
.calc__breakdown { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; color: var(--text-muted); font-size: 0.9375rem; }
.calc__breakdown li { display: flex; justify-content: space-between; border-bottom: 1px dashed var(--line); padding-bottom: 0.5rem; }
@media (min-width: 900px) {
  .calc__grid { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
}

/* ===== Works gallery ===== */
.works__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
.works__item { position: relative; overflow: hidden; border-radius: 4px; background: var(--bg-3); aspect-ratio: 3 / 4; margin: 0; }
.works__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.works__item:hover img { transform: scale(1.04); }
.works__item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 3.5rem 1.25rem 1.1rem;
  background: linear-gradient(transparent, rgba(20,17,14,.9));
  font-family: var(--font-display); font-size: clamp(1rem, 1.4vw, 1.25rem); font-weight: 500; align-items: baseline; display: flex; justify-content: space-between; gap: 0.5rem;
}
.works__item figcaption span:last-child { color: var(--gold); font-size: 0.8em; }
.works__more { margin-top: 2.5rem; }
@media (min-width: 900px) {
  .works__grid { grid-template-columns: repeat(12, 1fr); gap: 0.75rem; }
  .works__item { aspect-ratio: auto; height: clamp(240px, 24vw, 360px); }
  .works__item:nth-child(1) { grid-column: span 7; }
  .works__item:nth-child(2) { grid-column: span 5; }
  .works__item:nth-child(3) { grid-column: span 4; }
  .works__item:nth-child(4) { grid-column: span 4; }
  .works__item:nth-child(5) { grid-column: span 4; }
  .works__item:nth-child(6) { grid-column: span 5; }
  .works__item:nth-child(7) { grid-column: span 7; }
}

/* ===== Included + process ===== */
.split { display: grid; gap: 4rem; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 6rem; } }
.list-num { list-style: none; margin: 2.5rem 0 0; padding: 0; counter-reset: n; }
.list-num li {
  counter-increment: n;
  display: grid; grid-template-columns: 3rem 1fr; gap: 1rem;
  padding: 1.5rem 0; border-top: 1px solid var(--line);
}
.list-num li::before { content: "0" counter(n); font-family: var(--font-display); color: var(--gold); font-weight: 600; }
.list-num b { display: block; font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 0.25rem; }
.list-num p { margin: 0; color: var(--text-muted); }
.included { display: grid; gap: 0; margin: 2.5rem 0 0; padding: 0; list-style: none; }
.included li { display: flex; gap: 1rem; align-items: baseline; padding: 1.1rem 0; border-top: 1px solid var(--line); font-size: 1.125rem; }
.included li::before {
  content: ""; flex: none; width: 18px; height: 18px; align-self: center;
  background: var(--gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.included li span { margin-left: auto; color: var(--text-muted); font-size: 0.9375rem; text-align: right; }

/* ===== Brands ===== */
.brands { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 2.5rem 0; }
.brands__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2.5rem; }
.brands__name { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.375rem, 2vw, 1.875rem); letter-spacing: -0.02em; color: var(--text-muted); }

/* ===== Reviews ===== */
.reviews__grid { display: grid; gap: 1rem; }
@media (min-width: 900px) { .reviews__grid { grid-template-columns: repeat(3, 1fr); } }
.review { border: 1px dashed var(--line); border-radius: var(--radius); padding: 2rem; display: flex; flex-direction: column; gap: 1.25rem; min-height: 240px; }
.review__stars { color: var(--gold); letter-spacing: 0.2em; }
.review p { margin: 0; color: var(--text-muted); }
.review footer { margin-top: auto; font-family: var(--font-display); font-size: 0.875rem; color: var(--text-muted); }

/* ===== FAQ ===== */
.faq__list { border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.25rem 0; min-height: 44px;
  font-family: var(--font-display); font-size: clamp(1.0625rem, 1.3vw, 1.25rem); font-weight: 500; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.75rem; color: var(--gold); transition: transform .25s var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 0.75rem; color: var(--text-muted); max-width: 70ch; }
.faq details p:last-child { margin-bottom: 1.75rem; }

/* ===== Lead form ===== */
.lead-section { position: relative; overflow: hidden; }
.lead-section__media { position: absolute; inset: 0; z-index: -1; }
.lead-section__media img { width: 100%; height: 100%; object-fit: cover; }
.lead-section__media::after { content: ""; position: absolute; inset: 0; background: rgba(20,17,14,.82); }
.lead-grid { display: grid; gap: 3rem; }
@media (min-width: 900px) { .lead-grid { grid-template-columns: 1.1fr 1fr; gap: 5rem; align-items: start; } }
.contact-alt { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.5rem; }
.form { display: grid; gap: 1rem; }
.form__row { display: grid; gap: 1rem; }
@media (min-width: 600px) { .form__row { grid-template-columns: 1fr 1fr; } }
.check { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.8125rem; color: var(--text-muted); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--gold); flex: none; }
.check a { color: var(--text); }
.form__error { color: var(--error); font-size: 0.875rem; margin: 0; min-height: 1.2em; }
.form .btn { width: 100%; }
.hp { position: absolute; left: -9999px; }

/* ===== Footer ===== */
.footer { padding: 5rem 0 2rem; border-top: 1px solid var(--line); }
.footer__big {
  font-family: var(--font-display); font-weight: 700; letter-spacing: -0.05em; line-height: 0.85;
  font-size: clamp(4rem, 11vw, 9.5rem); margin: 0 0 2.5rem; color: var(--bg-3);
  white-space: nowrap;
}
.footer__grid { display: grid; gap: 2.5rem; font-size: 0.9375rem; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.footer h3 { font-family: var(--font-display); font-size: var(--fs-label); font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--text-muted); margin: 0 0 1rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.footer a { text-decoration: none; color: var(--text); }
.footer a:hover { color: var(--gold); }
.footer address { font-style: normal; color: var(--text-muted); line-height: 1.7; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; margin-top: 4rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--text-muted); font-size: 0.8125rem; }

/* ===== Mobile action bar ===== */

/* ===== Dialog ===== */
.dialog {
  width: min(560px, calc(100% - 2rem)); max-height: calc(100svh - 2rem);
  padding: clamp(1.5rem, 4vw, 2.5rem); border: 1px solid var(--line); border-radius: 14px;
  background: var(--bg-2); color: var(--text);
}
.dialog::backdrop { background: rgba(10,8,6,.7); backdrop-filter: blur(4px); }
.dialog__close { position: absolute; top: 0.75rem; right: 0.75rem; width: 44px; height: 44px; border: 0; background: transparent; font-size: 1.75rem; cursor: pointer; color: var(--text-muted); }
.dialog__close:hover { color: var(--text); }
.dialog h2 { font-family: var(--font-display); font-size: clamp(1.75rem, 4vw, 2.5rem); letter-spacing: -0.03em; line-height: 1.05; margin: 0 0 0.75rem; padding-right: 2rem; }
.dialog p { margin: 0 0 1.5rem; color: var(--text-muted); }

/* ===== Cookie banner ===== */
.cookie {
  position: fixed; z-index: 70; left: 1rem; right: 1rem; bottom: calc(80px + env(safe-area-inset-bottom));
  max-width: 460px; padding: 1.25rem; border-radius: 12px;
  background: var(--bg-3); border: 1px solid var(--line); font-size: 0.875rem; color: var(--text-muted);
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
.cookie[hidden] { display: none; }
.cookie p { margin: 0 0 1rem; }
.cookie a { color: var(--text); }
.cookie__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.cookie .btn { min-height: 44px; font-size: 0.9375rem; padding: 0.5rem; }
@media (min-width: 1280px) { .cookie { bottom: 1.5rem; left: 1.5rem; right: auto; } }

/* ===== Reveal on scroll ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .service__media img, .works__item img, .shot img { transition: none; }
  .shot.is-new { animation: none; }
}
.no-js .reveal { opacity: 1; transform: none; }
.section--flush-top { padding-top: 0; }
.lead--spaced { margin-top: 1.5rem; }
.hero--short { min-height: 88svh; }

/* WhatsApp brand green: dark text keeps contrast above 4.5:1 */
.btn--wa { background: #25d366; color: #052e16; }
.btn--wa:hover { background: #3ee07a; }
.header__icon--wa { background: #25d366; border-color: #25d366; color: #052e16; }
.header__icon--wa:hover { background: #3ee07a; }

.h2--md { font-size: clamp(1.625rem, 1.2rem + 1.2vw, 2.25rem); line-height: 1.05; letter-spacing: -0.03em; }
.stat__num .stat__pre { color: var(--text-muted); margin: 0 0.15em 0 0; }
.stats__note { margin: 0; padding: 1.25rem 0; border-top: 1px solid var(--line); color: var(--gold); font-family: var(--font-display); font-weight: 500; }

/* ===================== Inner pages ===================== */
.page-hero {
  position: relative; overflow: hidden;
  min-height: 62svh; display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 7rem) 0 clamp(2rem, 5vw, 4rem);
}
.page-hero--plain { min-height: auto; padding-bottom: clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line); }
.page-hero .hero__title { font-size: clamp(2.5rem, 1.7rem + 2.7vw, 4.5rem); max-width: 18ch; }
.page-hero--plain { padding-top: calc(var(--header-h) + 4rem); }
@media (max-width: 599px) { .page-hero--plain { padding-top: calc(var(--header-h) + 2.5rem); } }
.page-hero--plain .hero__title { font-size: clamp(2.125rem, 1.5rem + 1.9vw, 3.25rem); line-height: 1.04; max-width: none; margin-bottom: 1.25rem; }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; margin: 0 0 1.5rem; padding: 0; font-size: 0.8125rem; color: var(--text-muted); }
.crumbs li + li::before { content: "/"; margin-right: 0.5rem; opacity: .5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--text); }

.prose { max-width: 72ch; }
.prose p, .prose li { color: var(--text-muted); font-size: 1.0625rem; }
.prose h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2.25rem); letter-spacing: -0.02em; line-height: 1.1; margin: 3rem 0 1rem; color: var(--text); }
.prose h3 { font-family: var(--font-display); font-size: 1.25rem; margin: 2rem 0 0.5rem; color: var(--text); }
.prose strong { color: var(--text); }
.prose a { color: var(--gold); }
.draft-note { border: 1px dashed var(--gold); border-radius: var(--radius); padding: 1rem 1.25rem; color: var(--gold); font-size: 0.9375rem; margin: 0 0 2rem; }

/* Cards grid (catalog, related, cities) */
.cards { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 600px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { position: relative; display: flex; flex-direction: column; text-decoration: none; border-top: 1px solid var(--line); padding-top: 1rem; }
.card__media { overflow: hidden; border-radius: 4px; aspect-ratio: 4 / 3; background: var(--bg-3); margin-bottom: 1.25rem; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__num { margin-bottom: 0.75rem; }
.card__title { font-family: var(--font-display); font-size: clamp(1.25rem, 1.6vw, 1.5rem); font-weight: 600; letter-spacing: -0.025em; line-height: 1.05; margin: 0 0 0.5rem; }
.card__text { color: var(--text-muted); margin: 0 0 1rem; font-size: 0.9375rem; }
.card__price { margin-top: auto; font-family: var(--font-display); color: var(--gold); }

/* Two-column text block */
.duo { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .duo { grid-template-columns: 1fr 1.6fr; gap: 5rem; } }
.duo__text p { font-size: var(--fs-lead); color: var(--text-muted); margin: 0 0 1.25rem; max-width: 60ch; }
.duo__text p:first-child { color: var(--text); }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.5rem 0 0; padding: 0; }
.tags li { border: 1px solid var(--line); border-radius: 999px; padding: 0.45rem 1rem; font-size: 0.9375rem; }


/* ===== Price list ===== */
.prices { padding-top: clamp(2.5rem, 4vw, 3.5rem); }
.prices__wrap { display: grid; gap: clamp(3rem, 5vw, 4.5rem); }
.price-head { display: grid; gap: 0.25rem; margin-bottom: 1.5rem; }
.price-head p { margin: 0; }
.price-title { font-family: var(--font-display); font-size: clamp(1.5rem, 1.2rem + 1vw, 2.125rem); font-weight: 600; letter-spacing: -0.025em; line-height: 1.15; margin: 0; }
.price-title em { font-style: normal; color: var(--gold); }
.pcards, .prows, .plines { list-style: none; margin: 0; padding: 0; }
.pcards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem 0.75rem; }
@media (min-width: 900px) { .pcards { grid-template-columns: repeat(3, 1fr); gap: 2.25rem 1.25rem; } }
.pcard { display: flex; flex-direction: column; }
.pcard__media { overflow: hidden; border-radius: 14px; aspect-ratio: 1; background: var(--bg-3); margin-bottom: 0.875rem; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 600px) { .pcard__media { aspect-ratio: 4 / 3; } }
.pcard__name { font-family: var(--font-display); font-size: clamp(1.0625rem, 1.5vw, 1.375rem); font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; margin: 0; }
.pcard__pl { color: var(--text-muted); font-size: 0.875rem; margin: 0.15rem 0 0.75rem; }
.pcard__price { font-family: var(--font-display); font-size: clamp(1.375rem, 2vw, 1.75rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; color: var(--gold); margin: auto 0 0; }
.pcard__unit { color: var(--text-muted); font-size: 0.875rem; margin: 0.2rem 0 0; }
.price-hint { color: var(--text-muted); font-size: 0.9375rem; margin: 1.5rem 0 0; }
.prows { display: grid; gap: 0.75rem; }
@media (min-width: 900px) { .prows { grid-template-columns: 1fr 1fr; gap: 1rem; } }
.prow { display: grid; grid-template-columns: 76px 1fr auto; align-items: center; gap: 0.875rem; padding: 0.75rem; background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; }
.prow__media { width: 76px; height: 76px; overflow: hidden; border-radius: 10px; background: var(--bg-3); }
.prow__media img { width: 100%; height: 100%; object-fit: cover; }
.prow h3 { font-family: var(--font-display); font-size: 1.0625rem; font-weight: 600; line-height: 1.2; margin: 0; }
.prow__text p { color: var(--text-muted); font-size: 0.875rem; line-height: 1.4; margin: 0.25rem 0 0; }
.prow__price { margin: 0; text-align: right; white-space: nowrap; display: grid; }
.prow__price b, .plines b { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; color: var(--gold); }
.prow__price span { color: var(--text-muted); font-size: 0.8125rem; }
@media (min-width: 600px) { .prow { grid-template-columns: 104px 1fr auto; gap: 1.25rem; padding-right: 1.25rem; } .prow__media { width: 104px; height: 104px; } }
@media (max-width: 479px) {
  .prow { grid-template-columns: 76px 1fr; }
  .prow__media { grid-row: span 2; align-self: start; }
  .prow__price { grid-column: 2; text-align: left; display: flex; align-items: baseline; gap: 0.4rem; }
}
.plines { display: grid; column-gap: 3rem; }
@media (min-width: 900px) { .plines { grid-template-columns: 1fr 1fr; } }
.plines li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--line); font-family: var(--font-display); font-weight: 500; font-size: 1.0625rem; }
.plines li > span small { display: block; font-family: var(--font-body); font-weight: 400; color: var(--text-muted); font-size: 0.875rem; }
.plines p { margin: 0; text-align: right; white-space: nowrap; display: grid; }
.plines p small { font-family: var(--font-body); font-weight: 400; color: var(--text-muted); font-size: 0.8125rem; }
.price-info { border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: var(--radius); padding: clamp(1.25rem, 2.5vw, 2rem); display: grid; gap: 0.75rem; }
.price-info p { margin: 0; color: var(--text-muted); max-width: 90ch; }
.price-info strong { color: var(--text); font-weight: 600; }
.calc__breakdown li[hidden] { display: none; }

/* Contacts */
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { display: grid; gap: 0.25rem; padding: 1.5rem 0; border-top: 1px solid var(--line); }
.contact-list a, .contact-list b { font-family: var(--font-display); font-size: clamp(1.375rem, 2.4vw, 2rem); font-weight: 600; letter-spacing: -0.02em; text-decoration: none; }
.contact-list a:hover { color: var(--gold); }

/* City list */
.city-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 2rem; }
@media (min-width: 900px) { .city-list { columns: 4; } }
.city-list li { padding: 0.75rem 0; border-top: 1px solid var(--line); break-inside: avoid; display: flex; justify-content: space-between; gap: 0.5rem; }
.city-list span { color: var(--text-muted); font-size: 0.875rem; }
.city-list a { text-decoration: none; color: var(--gold); }

/* Radius visual */
.radius { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; margin: 0 auto; }
.radius svg { width: 100%; height: 100%; }

/* Header: disabled language switch in the draft */
.lang--off { opacity: .45; cursor: default; }

/* 404 */
.nf { min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 4rem) 0 6rem; position: relative; overflow: hidden; }
.nf__code { font-family: var(--font-display); font-weight: 700; font-size: clamp(7rem, 26vw, 22rem); line-height: .8; letter-spacing: -0.06em; color: var(--bg-3); margin: 0 0 1rem; }
.nf__links { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

.calc__form .input[type="number"] { -moz-appearance: textfield; }
.contact-list .link-line { font-size: 0.875rem; font-weight: 600; letter-spacing: 0.03em; margin-top: 0.75rem; }

/* Catalog groups */
.section--tight { padding: 2rem 0 0; }
.section--group { padding-top: clamp(3rem, 7vw, 6rem); padding-bottom: 0; }
.section--group:last-of-type { padding-bottom: var(--section-y); }
.group-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.group-nav a {
  display: inline-flex; align-items: baseline; gap: 0.6rem; min-height: 44px; padding: 0.7rem 1.25rem;
  border: 1px solid var(--line); border-radius: 999px; text-decoration: none;
  font-family: var(--font-display); font-weight: 500; font-size: 1.0625rem; transition: border-color .2s, color .2s;
}
.group-nav a span { color: var(--gold); font-size: 0.8125rem; }
.group-nav a:hover { border-color: var(--gold); }
.card__rooms { list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem 0.9rem; margin: 0 0 1rem; padding: 0; font-size: 0.8125rem; color: var(--text-muted); }
.card__rooms li::before { content: "["; } .card__rooms li::after { content: "]"; }

/* ===================== Responsive refinements ===================== */
/* Burger */
.burger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 6px;
  width: 44px; height: 44px; padding: 0 11px; border: 1px solid var(--line); border-radius: 8px;
  background: transparent; cursor: pointer;
}
.burger span { display: block; height: 1.5px; background: var(--text); border-radius: 2px; transition: transform .25s var(--ease); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
@media (min-width: 1280px) { .burger { display: none; } }

/* Mobile menu panel */
.mmenu {
  max-width: 1280px; margin: 8px auto 0;
  max-height: calc(100svh - var(--header-h) - 40px); overflow-y: auto;
  padding: 1.25rem 1.25rem 1.5rem;
  background: rgba(28, 24, 20, 0.97);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(241, 236, 227, 0.08); border-radius: 12px;
}
.mmenu[hidden] { display: none; }
.mmenu__nav { list-style: none; margin: 0; padding: 0; }
.mmenu__nav a {
  display: flex; align-items: baseline; gap: 1rem; padding: 0.85rem 0;
  border-bottom: 1px solid var(--line); text-decoration: none;
  font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em;
  font-size: clamp(1.5rem, 6vw, 2.25rem); line-height: 1.1;
}
.mmenu__nav a[aria-current="page"] { color: var(--gold); }
.mmenu__contacts { margin-top: 2.25rem; }
.mmenu__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.mmenu__btns .btn { white-space: nowrap; padding: 0.75rem 0.5rem; }
.mmenu__btns .btn--gold { grid-column: 1 / -1; }
.menu-open, .menu-open body { overflow: hidden; }
@media (min-width: 1280px) { .mmenu { display: none !important; } }

/* Header on small screens */
@media (max-width: 639px) {
  .header { top: 8px; }
  .header__bar { gap: 0.75rem; padding: 0 0.5rem 0 1rem; }
  .header__actions { gap: 0.375rem; }
  .lang { padding: 0 0.25rem; }
}
@media (max-width: 380px) {
  .logo__text { font-size: 0.85rem; letter-spacing: 0.08em; }
  .lang { display: none; }
}

/* Hero: keep buttons above the mobile bar */
@media (max-width: 1279px) {
  .hero { min-height: calc(100svh - 72px); }
  .page-hero { min-height: 60svh; }
}
@media (max-width: 599px) {
  .hero__ctas .btn { flex: 1 1 auto; }
  .hero__title { margin-bottom: 1.5rem; }
  .hero__bottom { gap: 1.5rem; padding-top: 1.5rem; }
}

/* Materials: even grid instead of ragged wrapping */
.brands__row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; align-items: center; justify-items: start; }
.brands__row .label { grid-column: 1 / -1; }
@media (min-width: 600px) { .brands__row { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 1100px) { .brands__row { grid-template-columns: auto repeat(5, 1fr); justify-items: center; } .brands__row .label { grid-column: auto; justify-self: start; } }

/* Footer: compact on phones */
.footer { overflow: hidden; }
@media (max-width: 899px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
  .footer__grid > div:first-child { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; gap: 0.75rem; }
}

/* Section heads on tablets */
@media (min-width: 900px) and (max-width: 1099px) {
  .section-head { grid-template-columns: 1fr; }
}

/* Long words in big headings never overflow */
.h2, .hero__title, .service__title, .card__title, .price-title, .pcard__name { overflow-wrap: break-word; hyphens: manual; }
/* Phone number text only on wide screens; icon in between */
@media (min-width: 1280px) and (max-width: 1439px) {
  .header__phone { display: none; }
  .header__icon--phone { display: inline-flex; }
}
@media (max-width: 380px) {
  .header__icon--phone { display: none; } /* phone stays in the bottom bar */
}

/* Mobile: header already has phone + WhatsApp, keep the hero to one CTA */
@media (max-width: 767px) { .hero__ctas .btn--wa { display: none; } .hero__ctas .btn--gold { width: 100%; } }

/* ===================== Client photos ===================== */
/* Portfolio filter */
.filter { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.no-js .filter { display: none; }
.chip { min-height: 44px; padding: 0.4rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--text); font: inherit; font-size: 0.9375rem; cursor: pointer; }
.chip:hover { border-color: var(--gold); }
.chip[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--bg); }

/* Video */
.video { display: block; width: 100%; max-width: 420px; height: auto; margin: 0 auto; border-radius: var(--radius); background: var(--bg-3); }

/* Catalog cards: two per row on phones */
.card__media { aspect-ratio: 4 / 3; }
@media (min-width: 1000px) { .cards--four { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 599px) {
  .cards { grid-template-columns: 1fr 1fr; gap: 1.5rem 0.75rem; }
  .card__media { aspect-ratio: 3 / 4; margin-bottom: 0.75rem; }
  .card__num, .card__text, .card__rooms { display: none; }
  .card__title { font-size: 1.125rem; line-height: 1.15; }
  .card__price { font-size: 0.875rem; }
}

@media (max-width: 899px) { .works__grid .works__item:nth-child(7) { display: none; } }

/* Label stays readable over the moving video */
.hero .label { color: var(--text); text-shadow: 0 1px 8px rgba(20,17,14,.9); }

/* Dropdown with ceiling types (desktop) */
.has-sub > .sub-toggle { display: inline-flex; align-items: center; gap: 0.4rem; height: var(--header-h); }
.sub-toggle svg { width: 10px; height: 7px; transition: transform .25s var(--ease); }
.has-sub.is-open .sub-toggle svg { transform: rotate(180deg); }
.sub { position: absolute; left: 0; top: 100%; width: min(800px, 100%); padding-top: 8px; visibility: hidden; opacity: 0; transform: translateY(-6px); transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s .2s; }
.has-sub.is-open .sub, .no-js .has-sub:hover .sub, .no-js .has-sub:focus-within .sub { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.sub__box { display: grid; grid-template-columns: 230px 1fr; background: #1c1814; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.5); }
.sub__groups { display: flex; flex-direction: column; gap: 0.25rem; padding: 0.75rem; border-right: 1px solid var(--line); }
.sub__group { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; min-height: 44px; padding: 0.5rem 0.75rem; border: 0; border-radius: 8px; background: transparent; text-align: left; font-family: var(--font-display); font-weight: 500; font-size: 0.9375rem; cursor: pointer; }
.sub__group span { color: var(--gold); opacity: 0; transform: translateX(-4px); transition: opacity .2s, transform .2s var(--ease); }
.sub__group[aria-pressed="true"] { background: var(--bg-3); color: var(--gold); }
.sub__group[aria-pressed="true"] span { opacity: 1; transform: none; }
.sub__all { margin-top: auto; padding: 0.75rem 0.75rem 0.25rem; border-top: 1px solid var(--line); font-size: 0.875rem; color: var(--text-muted); text-decoration: none; }
.sub__all:hover { color: var(--gold); }
.sub__panel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; padding: 0.75rem; animation: subIn .3s var(--ease); }
.sub__panel[hidden] { display: none; }
.sub__item { display: flex; flex-direction: column; text-decoration: none; }
.sub__item img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; margin-bottom: 0.5rem; transition: opacity .2s; }
.sub__item b { font-family: var(--font-display); font-weight: 600; font-size: 0.9375rem; line-height: 1.2; }
.sub__item small { color: var(--text-muted); font-size: 0.8125rem; }
.sub__item:hover b { color: var(--gold); }
.sub__item:hover img { opacity: .85; }
@keyframes subIn { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: none; } }

/* Ceiling types inside the phone menu */
.mm-types summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 1rem; }
.mm-types summary::-webkit-details-marker { display: none; }
.mm-types summary::after { content: "+"; margin-left: auto; color: var(--gold); font-weight: 400; transition: transform .25s var(--ease); }
.mm-types details[open] > summary::after { transform: rotate(45deg); }
.mm-head { display: flex; align-items: stretch; border-bottom: 1px solid var(--line); }
.mmenu__nav .mm-head a { flex: 1; border: 0; }
.mm-types--current .mm-head a { color: var(--gold); }
.mm-toggle { width: 56px; text-align: right; padding: 0 1px 0 0; border: 0; background: transparent; cursor: pointer; color: var(--gold); font-size: 1.75rem; }
.mm-toggle::after { content: "+"; display: inline-block; transition: transform .25s var(--ease); }
.mm-toggle[aria-expanded="true"]::after { transform: rotate(45deg); }
.mm-sub[hidden] { display: none; }
.mm-group { border-bottom: 1px solid var(--line); padding-left: 1rem; }
.mm-group summary { min-height: 48px; font-family: var(--font-display); font-weight: 500; font-size: 1.125rem; }
.mm-group summary::after { font-size: 1.5rem; }
.mmenu__nav .mm-group a { justify-content: space-between; border: 0; padding: 0.7rem 0 0.7rem 1rem; font-family: var(--font-body); font-weight: 400; font-size: 1rem; letter-spacing: 0; }
.mmenu__nav .mm-group a small { color: var(--text-muted); font-size: 0.8125rem; white-space: nowrap; }
.mmenu__nav .mm-all { padding-left: 1rem; font-size: 1rem; font-weight: 500; color: var(--gold); letter-spacing: 0; }

/* Photo strips: equal tiles, scrolled sideways */
.ribbon { --gap: 0.5rem; }
@media (min-width: 900px) { .ribbon { --gap: 0.75rem; } }
.ribbon__view { position: relative; }
.ribbon__track { display: grid; grid-auto-flow: column; grid-auto-columns: 84%; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
.ribbon__track::-webkit-scrollbar { display: none; }
@media (min-width: 600px) { .ribbon__track { grid-auto-columns: calc((100% - var(--gap)) / 2); } }
@media (min-width: 900px) {
  .ribbon__track { grid-auto-columns: calc((100% - 2 * var(--gap)) / 3); }
  .ribbon[data-rows="2"] .ribbon__track { grid-auto-columns: calc((100% - 3 * var(--gap)) / 4); }
  .ribbon__track.is-double { grid-template-rows: auto auto; }
  .ribbon__track.is-odd .shot.is-first { grid-column: span 2; grid-row: span 2; }
}
.shot { position: relative; margin: 0; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); background: var(--bg-3); scroll-snap-align: start; }
.shot[hidden] { display: none; }
.shot__open { position: absolute; inset: 0; display: block; cursor: zoom-in; }
.shot__open:focus-visible { outline-offset: -4px; }
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.shot:hover img { transform: scale(1.06); }
.shot figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem 0.9rem 0.7rem; font-size: 0.8125rem; color: var(--text); background: linear-gradient(transparent, rgba(20,17,14,.85)); pointer-events: none; }
.shot.is-new { animation: shotIn .6s var(--ease) var(--d, 0ms) both; }
@keyframes shotIn { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
.ribbon__arrow { position: absolute; top: 50%; z-index: 2; width: 52px; height: 52px; margin-top: -26px; padding: 0; border-radius: 50%; border: 1px solid rgba(241,236,227,.2); background: rgba(20,17,14,.78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 1.375rem; cursor: pointer; transition: background-color .2s, color .2s, opacity .2s; }
.ribbon__arrow:hover { background: var(--gold); color: var(--on-cream); }
.ribbon__arrow:disabled { opacity: 0; pointer-events: none; }
.ribbon__arrow[hidden], .ribbon__foot[hidden] { display: none; }
.ribbon__arrow--prev { left: 0.5rem; }
.ribbon__arrow--next { right: 0.5rem; }
@media (min-width: 1380px) { .ribbon__arrow--prev { left: -26px; } .ribbon__arrow--next { right: -26px; } }
@media (max-width: 599px) { .ribbon__arrow { width: 44px; height: 44px; margin-top: -22px; } }
.ribbon__foot { display: flex; align-items: center; gap: 1.25rem; margin-top: 1.25rem; }
.ribbon__bar { position: relative; flex: 1; height: 2px; background: var(--line); overflow: hidden; }
.ribbon__bar i { position: absolute; top: 0; bottom: 0; left: 0; background: var(--gold); }
.ribbon__count { color: var(--text-muted); font-size: 0.875rem; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Full-size viewer */
.viewer { width: 100%; height: 100%; max-width: 100%; max-height: 100%; margin: 0; padding: 4rem 1rem 3.5rem; border: 0; background: rgba(10,8,6,.95); color: var(--text); touch-action: pan-y; }
.viewer[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.viewer::backdrop { background: rgba(10,8,6,.9); }
.viewer img { max-width: 100%; max-height: calc(100% - 2.5rem); width: auto; height: auto; min-height: 0; object-fit: contain; border-radius: var(--radius); user-select: none; -webkit-user-drag: none; }
.viewer__cap { margin: 1rem 0 0; color: var(--text-muted); font-size: 0.875rem; }
.viewer__close, .viewer__arrow { position: absolute; width: 48px; height: 48px; padding: 0; border-radius: 50%; border: 1px solid var(--line); background: rgba(20,17,14,.8); cursor: pointer; font-size: 1.375rem; }
.viewer__close { top: 0.75rem; right: 0.75rem; font-size: 1.75rem; }
.viewer__arrow { top: 50%; margin-top: -24px; }
.viewer__arrow--prev { left: 0.75rem; }
.viewer__arrow--next { right: 0.75rem; }
.viewer__arrow[hidden] { display: none; }
.viewer__arrow:hover, .viewer__close:hover { background: var(--gold); color: var(--on-cream); }
@media (max-width: 599px) { .viewer__arrow { top: auto; bottom: 0.5rem; margin: 0; } }

/* Longer search-friendly text under page titles */
.page-hero .hero__sub { max-width: 62ch; }

/* ===================== First screen: photo panels ===================== */
.showcase { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; padding: calc(var(--header-h) + 28px) 0 clamp(1.5rem, 4vh, 2.75rem); }
.showcase__panels { flex: 1 0 auto; height: 46vh; height: 46svh; min-height: 300px; display: flex; gap: 0.375rem; list-style: none; margin: 0; padding: 0 clamp(0.5rem, 1.5vw, 1.25rem); }
.hpanel { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: var(--radius); background: var(--bg-3); transition: flex-grow .9s cubic-bezier(.2,.7,.2,1); animation: panelIn 1s cubic-bezier(.2,.7,.2,1) calc(var(--i) * 90ms) backwards; }
.hpanel.is-active { flex-grow: 7; }
.hpanel a { position: absolute; inset: 0; display: block; text-decoration: none; }
.hpanel a:focus-visible { outline-offset: -4px; }
.hpanel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos); filter: brightness(.72); transform: scale(1.08); transition: filter .7s var(--ease), transform 1.6s var(--ease); }
.hpanel.is-active img { filter: none; transform: scale(1); }
.hpanel__cap { position: absolute; z-index: 1; left: 0; right: 0; top: 0; display: grid; gap: 0.25rem; padding: 1.1rem 1.25rem 3rem; background: linear-gradient(rgba(14,11,9,.72), transparent); opacity: 0; transform: translateY(-8px); transition: opacity .3s, transform .5s var(--ease); }
.hpanel.is-active .hpanel__cap { opacity: 1; transform: none; transition-delay: .45s; }
.hpanel__type { font-family: var(--font-display); font-weight: 600; font-size: 0.8125rem; letter-spacing: .08em; text-transform: uppercase; text-shadow: 0 1px 10px rgba(0,0,0,.7); }
.hpanel__type i { font-style: normal; display: inline-block; margin-left: .35rem; color: var(--gold-hover); transition: transform .25s var(--ease); }
.hpanel a:hover .hpanel__type i { transform: translateX(5px); }
/* thin line showing when the next photo opens */
.hpanel a::after { content: ""; position: absolute; z-index: 2; top: 0; left: 0; height: 3px; width: 0; background: var(--gold); }
.showcase.is-playing .hpanel.is-active a::after { animation: panelTime 4.5s linear forwards; }
@keyframes panelTime { to { width: 100%; } }
@keyframes panelIn { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
/* shade under the title that runs onto the photos */
.hpanel::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 42%; pointer-events: none; background: linear-gradient(transparent, rgba(20,17,14,.55) 55%, rgba(20,17,14,.92)); }
.showcase__text { position: relative; z-index: 3; display: grid; gap: 1rem; margin-top: -2.25rem; pointer-events: none; }
.showcase__text a, .showcase__text button { pointer-events: auto; }
.showcase__text .label { margin: 0 0 .5rem; color: var(--text); text-shadow: 0 1px 8px rgba(0,0,0,.9); }
.showcase__text .hero__title { font-size: clamp(2.25rem, 1.4rem + 3.1vw, 4.5rem); line-height: 1; max-width: 17ch; margin: 0; text-shadow: 0 2px 28px rgba(0,0,0,.85); }
.showcase__text .hero__sub { max-width: 46ch; }
.showcase__side { display: grid; gap: 1.25rem; }
@media (min-width: 1000px) {
  .showcase__panels { gap: 0.5rem; height: 50svh; }
  .showcase__text { grid-template-columns: 1.35fr 1fr; gap: 3rem; align-items: start; margin-top: -6rem; }
  .showcase__side { padding-top: 7rem; }
  .showcase__text .hero__sub { font-size: 1.0625rem; }
}
@media (max-width: 599px) {
  .showcase { min-height: 0; padding-top: calc(var(--header-h) + 18px); }
  .showcase__panels { flex: none; height: 52svh; gap: 0.25rem; padding: 0 0.5rem; }
  .hpanel__cap { padding: 0.75rem 0.75rem 2.5rem; }
  .hpanel__type { font-size: 0.75rem; letter-spacing: .05em; }
  .showcase__text { margin-top: -3.25rem; }
  .showcase__text .label { font-size: 0.6875rem; }
  .showcase__text .hero__sub { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) { .hpanel, .hpanel img, .hpanel__cap { transition: none; animation: none; } }
@media (max-width: 599px) and (max-height: 700px) {
  .showcase__panels { height: 38svh; min-height: 220px; }
  .showcase__text .hero__title { font-size: 1.875rem; }
  .showcase__side { gap: 0.875rem; }
  .showcase__text .hero__sub { font-size: .9375rem; line-height: 1.45; }
}
@media (max-width: 599px) {
  .hpanel.is-active { flex-grow: 9; }
  .hpanel img { object-position: var(--pos-m); }
  .hpanel::after { height: 30%; }
  .showcase__panels { height: 47svh; }
}
@media (max-width: 599px) and (max-height: 700px) { .showcase__panels { height: 40svh; } }

/* ===================== Blog «Советы и идеи» ===================== */
.section--posts { padding-top: clamp(2.5rem, 4vw, 3.5rem); }
.posts { display: grid; gap: 2.5rem 1.25rem; }
@media (min-width: 640px) { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .posts { grid-template-columns: repeat(3, 1fr); } }
.section--related .posts > :nth-child(3) { display: flex; }
@media (min-width: 640px) and (max-width: 999px) { .section--related .posts > :nth-child(3) { display: none; } }
.post { display: flex; flex-direction: column; text-decoration: none; }
.post__media { overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; background: var(--bg-3); margin-bottom: 1rem; }
.post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post:hover .post__media img { transform: scale(1.05); }
.post__meta { margin: 0 0 .5rem; font-size: .8125rem; color: var(--gold); text-transform: uppercase; letter-spacing: .05em; }
.post__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.1875rem, 1.5vw, 1.375rem); line-height: 1.2; letter-spacing: -0.015em; margin: 0 0 .6rem; }
.post__text { margin: 0 0 1rem; color: var(--text-muted); font-size: .9375rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post__more { margin-top: auto; padding-top: .75rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; font-family: var(--font-display); font-weight: 600; font-size: .875rem; text-transform: uppercase; letter-spacing: .03em; }
.post__more i { font-style: normal; color: var(--gold); transition: transform .25s var(--ease); }
.post:hover .post__more i { transform: translateX(6px); }

.article__head { padding-top: calc(var(--header-h) + 4.5rem); }
@media (max-width: 599px) { .article__head { padding-top: calc(var(--header-h) + 2.5rem); } }
.article__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 1.35rem + 2.4vw, 3.5rem); line-height: 1.08; letter-spacing: -0.03em; margin: .75rem 0 1.5rem; max-width: 22ch; overflow-wrap: break-word; }
.article__lead { max-width: 68ch; margin-bottom: 2.25rem; }
.article__lead p { margin: 0 0 .75rem; font-size: var(--fs-lead); color: #d8d0c3; }
.article__cover { overflow: hidden; border-radius: 14px; aspect-ratio: 4 / 3; background: var(--bg-3); }
@media (min-width: 700px) { .article__cover { aspect-ratio: 2 / 1; } }
.article__cover img { width: 100%; height: 100%; object-fit: cover; }
.article__grid { display: grid; gap: 1.5rem; padding-top: clamp(2rem, 4vw, 3.5rem); padding-bottom: var(--section-y); }
@media (min-width: 1000px) { .article__grid { grid-template-columns: 300px minmax(0, 760px); gap: 4rem; } .toc { position: sticky; top: calc(var(--header-h) + 36px); align-self: start; max-height: calc(100vh - var(--header-h) - 60px); overflow-y: auto; } }
.toc details { border: 1px solid var(--line); border-radius: var(--radius); padding: .25rem 1.25rem; }
.toc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; min-height: 48px; font-family: var(--font-display); font-weight: 600; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: "+"; color: var(--gold); font-size: 1.375rem; font-weight: 400; transition: transform .25s var(--ease); }
.toc details[open] summary::after { transform: rotate(45deg); }
.toc ol { list-style: none; margin: 0 0 .75rem; padding: 0; }
.toc li { border-top: 1px solid var(--line); }
.toc a { display: block; padding: .65rem 0; font-size: .875rem; line-height: 1.4; color: var(--text-muted); text-decoration: none; }
.toc a:hover { color: var(--gold); }
.article__body { min-width: 0; font-size: 1.0625rem; line-height: 1.7; color: #d8d0c3; }
.article__body > * { margin: 0 0 1rem; }
.article__body h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.4375rem, 1.15rem + 1vw, 1.9375rem); line-height: 1.2; letter-spacing: -0.02em; color: var(--text); margin: 3rem 0 1.25rem; scroll-margin-top: calc(var(--header-h) + 32px); }
.article__body > h2:first-child { margin-top: 0; }
.article__body h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.1875rem; line-height: 1.3; color: var(--text); margin: 1.75rem 0 .5rem; }
.article__body ul, .article__body ol { padding: 0; list-style: none; }
.article__body li { position: relative; padding: .3rem 0 .3rem 1.75rem; }
.article__body ul li::before { content: ""; position: absolute; left: .25rem; top: 1.05rem; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.article__body ol { counter-reset: step; }
.article__body ol li { counter-increment: step; padding-left: 2.25rem; }
.article__body ol li::before { content: counter(step); position: absolute; left: 0; top: .3rem; font-family: var(--font-display); font-weight: 600; color: var(--gold); }
.article__body .tip { border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: var(--radius); padding: 1rem 1.25rem; background: var(--bg-2); color: var(--text); }
.tip b { display: block; font-family: var(--font-display); color: var(--gold); font-size: .8125rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .25rem; }
.article__body .read-more { padding: .875rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .9375rem; color: var(--text-muted); }
.read-more a { color: var(--gold); }
.article__body figure { margin: 2rem 0; }
.article__body figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.article__body figcaption { margin-top: .5rem; font-size: .8125rem; color: var(--text-muted); }
.article__body .about-box { margin: 3rem 0 1.25rem; padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: 14px; }
.about-box p { margin: 0; }
.about-box .label { margin-bottom: 1rem; }
.article__body .about-box__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 0 0 1.25rem; }
.article__body .about-box__facts li { padding: 0; font-size: .875rem; line-height: 1.4; color: var(--text-muted); }
.article__body .about-box__facts li::before { content: none; }
.about-box__facts b { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 3.5vw, 2.25rem); line-height: 1.1; color: var(--gold); margin-bottom: .25rem; }
.cta-box { padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: 14px; background: var(--bg-3); border-top: 3px solid var(--gold); }
.cta-box p { margin: 0 0 .75rem; }
.cta-box .cta-box__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); line-height: 1.2; letter-spacing: -0.02em; color: var(--text); }
.cta-box__buttons { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }
@media (max-width: 599px) { .cta-box__buttons .btn { width: 100%; } }
.section--related { border-top: 1px solid var(--line); }
/* first article is shown wide, so ten cards fill even rows */
@media (min-width: 1000px) {
  .posts--lead > .post:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: auto auto 1fr auto; column-gap: 2rem; }
  .posts--lead > .post:first-child .post__media { grid-row: 1 / -1; aspect-ratio: 16 / 9; margin: 0; }
  .posts--lead > .post:first-child > :not(.post__media) { grid-column: 2; }
  .posts--lead > .post:first-child .post__title { font-size: clamp(1.5rem, 2.2vw, 2rem); }
  .posts--lead > .post:first-child .post__text { -webkit-line-clamp: 6; align-self: start; }
}
.article__body .kicker { font-family: var(--font-display); font-weight: 500; font-size: 1.1875rem; color: var(--gold); margin-top: -.5rem; }
.article__body strong { color: var(--text); font-weight: 600; }

/* Articles in the dropdown: landscape photos and two-line titles */
.has-sub--blog .sub__item img { aspect-ratio: 4 / 3; }
.has-sub--blog .sub__item b { line-height: 1.3; margin-bottom: .15rem; }
.mm-types--blog .mm-group a small { display: none; }

.toc__cta { display: none; }
@media (min-width: 1000px) {
  .toc__cta { display: block; margin-top: 1rem; padding: 1.25rem; border-radius: var(--radius); background: var(--bg-3); border-top: 3px solid var(--gold); }
  .toc__cta p { margin: 0 0 .875rem; font-family: var(--font-display); font-weight: 600; line-height: 1.35; }
  .toc__cta .btn { width: 100%; }
  .toc__cta a { display: block; margin-top: .75rem; text-align: center; font-size: .875rem; color: var(--text-muted); }
  .toc__cta a:hover { color: var(--gold); }
}
.cta-box .cta-box__calc { margin: 1rem 0 0; font-size: .9375rem; color: var(--text-muted); }
.cta-box__calc a { color: var(--gold); }

/* ===================== Compact blocks: each fits on one screen ===================== */
/* shared field size */
.form { gap: .75rem; }
.form .form__row { gap: .75rem; }
.form .field { gap: .3rem; }
.form label { font-size: .875rem; }
.form .check { font-size: .75rem; line-height: 1.45; }
.form .input { min-height: 44px; padding: .5rem .875rem; }
.form .textarea { min-height: 64px; height: 64px; padding: .5rem .875rem; }
.form .btn { min-height: 46px; }
.form__error { min-height: 0; }
.form__error:empty { display: none; }
.dialog { padding: clamp(1.25rem, 3vw, 2rem); }
.dialog h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.dialog p { margin-bottom: 1rem; }

/* questions a little tighter */
.faq summary { padding-top: 1rem; padding-bottom: 1rem; }

/* ===================== Calculator and request: tidy cards ===================== */
.calc { padding: clamp(2rem, 3.5vw, 3rem) 0; background: var(--bg); scroll-margin-top: var(--header-h); }
.calc .container, .lead-section .container { max-width: calc(1040px + 2 * var(--pad-x)); }

.calc__grid { display: grid; gap: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--bg-2); }
.calc__main { padding: clamp(1.25rem, 3vw, 2rem); display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; min-width: 0; }
.calc__head .label { margin: 0 0 .35rem; }
.calc__head .h2 { font-size: clamp(1.5rem, 1.15rem + 1vw, 2rem); line-height: 1.15; }
.calc__form { display: grid; gap: 1.125rem 1.5rem; align-content: start; }
.calc__form .field { display: grid; gap: .35rem; align-content: start; min-width: 0; }
.calc__form label { font-size: .875rem; }
.calc__form .field__hint { font-size: .75rem; }
.calc__form .input, .calc__form .select { min-height: 44px; padding-top: .5rem; padding-bottom: .5rem; font-size: .9375rem; }
.range-row { gap: .75rem; min-height: 44px; }
.range-row input[type="range"] { min-width: 0; height: 32px; }
.range-row output { min-width: 5.25rem; text-align: right; font-size: 1.125rem; white-space: nowrap; }
.calc__result { position: static; display: flex; flex-direction: column; justify-content: center; gap: .875rem; padding: clamp(1.25rem, 3vw, 2rem); border: 0; border-radius: 0; background: var(--bg-3); border-top: 3px solid var(--gold); }
.calc__result .label { margin: 0; }
.calc__sum { font-size: clamp(2.25rem, 1.6rem + 1.6vw, 3rem); }
.calc__breakdown { gap: .4rem; font-size: .875rem; }
.calc__breakdown li { padding-bottom: .4rem; }
.calc__result .field__hint { margin: 0; font-size: .75rem; line-height: 1.5; }
@media (min-width: 640px) {
  .calc__form { grid-template-columns: 1fr 1fr; }
  .calc__form[data-calc="short"] .field:last-child { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .calc__grid { grid-template-columns: 1.55fr 1fr; align-items: stretch; }
  .calc__result { border-top: 0; border-left: 1px solid var(--line); }
}

/* phones */
@media (max-width: 599px) {
  .calc { padding: 1.5rem 0; }
  .calc .container { padding: 0 .75rem; }
  .calc__main { gap: 1rem; padding: 1.125rem; }
  .calc__form { gap: .625rem; }
  .calc__form .field { gap: .2rem; }
  .range-row { min-height: 36px; }
  .calc__result { padding: 1.125rem; gap: .625rem; }
}

/* contacts page: calmer type */
.contact-list li { padding: 1rem 0; }
.contact-list a, .contact-list b { font-size: clamp(1.125rem, 1.4vw, 1.375rem); }
.contact-list .link-line { font-size: .8125rem; }

/* ===================== Three blocks, three different looks ===================== */
/* request form: a light band from edge to edge */
.lead-section { --text: #14110e; --text-muted: #5a5146; --line: rgba(20,17,14,.2); --error: #a8231b; --gold-ink: #7a5c1c;
  background: var(--cream); color: var(--text); padding: clamp(2.5rem, 4vw, 3.5rem) 0; scroll-margin-top: var(--header-h); }
.lead-card { display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1fr); }
.lead-card__info .label { margin: 0 0 .5rem; }
.lead-card__info .h2 { font-size: clamp(1.625rem, 1.1rem + 1.7vw, 2.625rem); line-height: 1.1; }
.lead-section .h2 em { color: var(--gold-ink); text-shadow: none; }
.lead-card__info .lead { margin: .875rem 0 0; font-size: 1rem; max-width: 40ch; }
.lead-section .input, .lead-section .textarea { background: #fff; border-color: var(--line); color: var(--text); }
.lead-section .input:hover, .lead-section .textarea:hover { border-color: rgba(20,17,14,.45); }
.lead-section .input:focus, .lead-section .textarea:focus { border-color: var(--gold-ink); box-shadow: 0 0 0 1px var(--gold-ink); }
.lead-section .input[aria-invalid="true"] { border-color: var(--error); }
.lead-section .input::placeholder { color: #756c60; }
.lead-section .check input { accent-color: var(--gold-ink); }
.lead-section :focus-visible { outline-color: var(--gold-ink); }
.lead-section .btn--gold { background: var(--on-cream); color: var(--cream); }
.lead-section .btn--gold:hover { background: #33291f; }
.lead-section .btn--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.lead-section .btn--ghost:hover { border-color: var(--text); }
.lead-card .contact-alt { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin: 0; max-width: 26rem; }
.lead-card .contact-alt .btn { min-height: 44px; padding: .45rem .5rem; font-size: .875rem; white-space: nowrap; }
@media (min-width: 760px) {
  .lead-card { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); grid-template-rows: 1fr auto auto 1fr; column-gap: 3.5rem; }
  .lead-card__info { grid-column: 1; grid-row: 2; }
  .lead-card .contact-alt { grid-column: 1; grid-row: 3; }
  .lead-card .form { grid-column: 2; grid-row: 1 / -1; }
}
@media (max-width: 759px) { .lead-card .contact-alt { order: 3; max-width: none; } }
@media (max-width: 599px) {
  .lead-section { padding: 1.75rem 0; }
  .lead-card { gap: 1rem; }
  .lead-card__info .h2 { font-size: 1.5rem; }
  .lead-card__info .lead { margin-top: .5rem; font-size: .875rem; line-height: 1.45; }
  .lead-card .form { gap: .625rem; }
  .lead-card .form .form__row { grid-template-columns: 1fr 1fr; gap: .5rem; }
  .lead-card .form label:not(.check) { font-size: .8125rem; }
  .lead-card .form .input { min-height: 42px; }
  .lead-card .form .textarea { min-height: 46px; height: 46px; line-height: 1.4; resize: none; }
  .lead-card .form .check { font-size: .6875rem; gap: .5rem; }
  .lead-card .check input { width: 18px; height: 18px; }
  .lead-card .form .btn { min-height: 44px; }
}

/* article: one slim line between two hairlines, no card */
.teaser-section { padding-top: clamp(1.5rem, 3vw, 2.25rem); padding-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.teaser-section.section--flush-top { padding-top: 0; }
.teaser-section .container { max-width: calc(1040px + 2 * var(--pad-x)); }
.teaser-section + .faq { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.teaser { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: .75rem 1rem; align-items: center; padding: 1.125rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.teaser__media { grid-column: 1; grid-row: 1 / span 2; align-self: center; display: block; position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 10px; background: var(--bg-3); }
.teaser__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.teaser__media:hover img { transform: scale(1.07); }
.teaser__body { display: contents; }
.teaser__hook { grid-column: 2; margin: 0; align-self: end; font-size: .8125rem; font-weight: 600; font-family: var(--font-display); color: var(--gold); }
.teaser__title { grid-column: 2; margin: 0; align-self: start; font-family: var(--font-display); font-weight: 600; font-size: 1rem; line-height: 1.3; letter-spacing: -0.01em; }
.teaser__title a { text-decoration: none; }
.teaser__title a:hover { color: var(--gold); }
.teaser__text, .teaser__meta { display: none; }
.teaser__buttons { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.teaser__buttons .btn { min-height: 42px; padding: .45rem 1.1rem; font-size: .9375rem; border-color: var(--gold); white-space: nowrap; }
.teaser__buttons .btn i { font-style: normal; color: var(--gold); transition: transform .25s var(--ease); }
.teaser__buttons .btn:hover i { transform: translateX(4px); }
.teaser__all { font-size: .875rem; color: var(--text-muted); padding: .5rem 0; white-space: nowrap; }
.teaser__all:hover { color: var(--gold); }
@media (min-width: 900px) {
  .teaser { grid-template-columns: 190px minmax(0, 1fr) auto; grid-template-rows: auto auto auto; gap: .25rem 1.75rem; }
  .teaser__media { grid-column: 1; grid-row: 1 / -1; aspect-ratio: 4 / 3; }
  .teaser__title { font-size: 1.3125rem; }
  .teaser__text { display: block; grid-column: 2; margin: .125rem 0 0; font-size: .875rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .teaser__buttons { grid-column: 3; grid-row: 1 / -1; flex-direction: column; justify-content: center; gap: .25rem; }
}

/* ===================== Company figures: a slim row without dividers ===================== */
.stats { border-bottom: 0; }
.stats__grid { column-gap: 1.5rem; row-gap: 0; }
.stat, .stat:nth-child(odd), .stat + .stat { border: 0; padding: 1.125rem 0; }
.stat__num { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 .3rem; font-size: clamp(2.25rem, 1.6rem + 1.8vw, 3.25rem); line-height: 1; letter-spacing: -0.03em; }
.stat__num small { margin: 0; font-size: .42em; letter-spacing: -0.01em; }
.stat__num .stat__pre { margin: 0; }
.count { display: inline-block; font-variant-numeric: tabular-nums; }
.stat__text { margin-top: .4rem; font-size: .875rem; line-height: 1.45; max-width: 32ch; }
@media (min-width: 900px) {
  .stats__grid { column-gap: 2.5rem; }
  .stat, .stat:nth-child(odd), .stat + .stat { padding: 1.75rem 0; }
}

/* four equal blocks: the space between them matches the space at the sides */
.stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1rem; padding-left: 1rem; padding-right: 1rem; }
.stat, .stat:nth-child(odd), .stat + .stat { padding: 1.125rem 0; text-align: center; }
.stat__num { justify-content: center; }
.stat__text { margin-left: auto; margin-right: auto; }
@media (min-width: 900px) {
  .stats__grid { display: flex; justify-content: space-evenly; align-items: flex-start; max-width: none; column-gap: 0; padding-left: 0; padding-right: 0; }
  .stat, .stat:nth-child(odd), .stat + .stat { flex: 0 0 clamp(180px, 17vw, 240px); padding: 1.75rem 0; }
}

/* ===================== Logo ===================== */
.logo img { display: block; width: auto; height: 22px; }
@media (min-width: 1280px) {
  .header__bar { gap: 1rem; }
  .nav > ul { gap: clamp(0.75rem, 1.1vw, 1.125rem); }
  .header .btn { padding: 0.5rem 0.95rem; }
}
@media (max-width: 479px) {
  .logo img { height: 19px; }
  .header__icon--phone { display: none; }
}
@media (max-width: 359px) { .logo img { height: 15px; } }
.footer__logo { display: inline-block; margin-bottom: 2.5rem; }
.footer__logo img { width: 220px; height: auto; }

/* ===================== About page ===================== */
.film { padding: calc(var(--header-h) + 1.75rem) 0 var(--section-y); }
.film__wrap { max-width: max(640px, calc((100vh - 235px) * 16 / 9)); max-width: max(640px, calc((100svh - 235px) * 16 / 9)); margin: 0 auto; }
.film .crumbs { margin-bottom: .5rem; }
.film__title { margin: 0 0 .75rem; font-family: var(--font-body); font-weight: 500; font-size: 1rem; line-height: 1.5; letter-spacing: 0; color: #fff; }
.film__video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 16px; background: var(--bg-3); pointer-events: none; box-shadow: 0 30px 90px -40px rgba(201,164,92,.5); }
.film__facts { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem 1.5rem; margin: 1rem 0 0; padding: 0; color: var(--text); font-size: .9375rem; }
.film__facts li { display: flex; align-items: center; gap: .6rem; }
.film__facts li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
@media (max-width: 599px) {
  .film__video { border-radius: 10px; }
  .film__facts { justify-content: flex-start; flex-direction: column; }
}
.about-text { border-top: 1px solid var(--line); }
.about-text .container { max-width: calc(1040px + 2 * var(--pad-x)); row-gap: 1.25rem; align-items: start; }
.about-text .label { margin: 0 0 1rem; }
.about-text .h2 em { display: block; }
.about-text__body p { margin: 0 0 1rem; color: var(--text-muted); font-size: 1rem; line-height: 1.65; }
.about-text__body p:last-child { margin-bottom: 0; color: var(--text); }
.mounting .container { max-width: calc(1040px + 2 * var(--pad-x)); }
.mounting .label { margin: 0 0 1rem; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.step { display: grid; grid-template-columns: 112px 1fr; gap: 1rem; align-items: start; }
.step__media { overflow: hidden; border-radius: 12px; aspect-ratio: 1; background: var(--bg-3); }
.step__media img { width: 100%; height: 100%; object-fit: cover; }
.step__num { margin: 0 0 .2rem; font-family: var(--font-display); font-weight: 600; font-size: .875rem; color: var(--gold); }
.step__text h2 { font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; line-height: 1.3; margin: 0 0 .35rem; letter-spacing: -0.01em; }
.step__text p:last-child { margin: 0; color: var(--text-muted); font-size: .875rem; line-height: 1.55; }
@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
  .step { grid-template-columns: 1fr; gap: .85rem; align-content: start; }
  .step__media { aspect-ratio: 4 / 3; }
}
.materials .container { max-width: calc(1040px + 2 * var(--pad-x)); row-gap: 1.25rem; }
.materials .h2 { font-size: clamp(1.375rem, 1.15rem + .9vw, 1.875rem); }
.materials .lead { font-size: .9375rem; }
.materials .lead a { color: var(--gold); }
.materials__list { list-style: none; margin: 0; padding: 0; align-self: center; }
.materials__list li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--line); transition: padding .3s var(--ease); }
.materials__list li:hover { padding-left: .75rem; }
.materials__list b { font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; letter-spacing: .02em; }
.materials__list li:hover b { color: var(--gold); }
.materials__list span { color: var(--text-muted); font-size: .8125rem; text-align: right; }
.requisites { display: grid; gap: 2rem; align-items: center; max-width: 1040px; margin: 0 auto; padding: clamp(1.5rem, 4vw, 3rem); border-radius: 18px; background: var(--cream); color: var(--on-cream); }
.requisites img { width: 100%; max-width: 300px; height: auto; justify-self: center; }
.requisites .label { margin: 0 0 .35rem; color: #5a5146; }
.requisites h2 { margin: 0 0 1rem; font-family: var(--font-display); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); letter-spacing: -0.02em; }
.requisites dl { margin: 0; }
.requisites dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-top: 1px solid rgba(20,17,14,.15); }
.requisites dt { color: #5a5146; font-size: .875rem; }
.requisites dd { margin: 0; font-weight: 600; text-align: right; font-size: .9375rem; }
@media (min-width: 800px) { .requisites { grid-template-columns: .8fr 1fr; gap: 3.5rem; } }

/* ===================== Contact page ===================== */
body[data-page-type="contact"] .contact-list li:first-child { border-top: 0; padding-top: 0; }
/* light request form */
.form-card { --text: #14110e; --text-muted: #5a5146; --line: rgba(20,17,14,.2); --error: #a8231b; --gold-ink: #7a5c1c;
  background: var(--cream); color: var(--text); border-radius: 18px; padding: clamp(1.25rem, 2.5vw, 2rem); }
.form-card .input, .form-card .textarea { background: #fff; border-color: var(--line); color: var(--text); }
.form-card .input:hover, .form-card .textarea:hover { border-color: rgba(20,17,14,.45); }
.form-card .input:focus, .form-card .textarea:focus { border-color: var(--gold-ink); box-shadow: 0 0 0 1px var(--gold-ink); }
.form-card .input[aria-invalid="true"] { border-color: var(--error); }
.form-card .input::placeholder { color: #756c60; }
.form-card .check input { accent-color: var(--gold-ink); }
.form-card :focus-visible { outline-color: var(--gold-ink); }
.form-card .btn--gold { background: var(--on-cream); color: var(--cream); }
.form-card .btn--gold:hover { background: #33291f; }

/* ===================== One type scale for every page except the homepage ===================== */
body:not([data-page-type="home"]) { --fs-h1: clamp(1.625rem, 1.2rem + 1.5vw, 2.5rem); --fs-h2: clamp(1.375rem, 1.15rem + .9vw, 1.875rem); --fs-h2-text: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); --fs-h3: 1.125rem; --fs-lead: 1rem; }
body:not([data-page-type="home"]) .hero__title,
body:not([data-page-type="home"]) .article__title { font-size: var(--fs-h1); line-height: 1.12; }
body:not([data-page-type="home"]) .hero__title { margin-bottom: .75rem; }
body:not([data-page-type="home"]) .article__title { margin: .5rem 0 1rem; max-width: 30ch; }
body:not([data-page-type="home"]) .page-hero--plain { min-height: 0; padding-top: calc(var(--header-h) + 2rem); padding-bottom: 1.25rem; }
body:not([data-page-type="home"]) .page-hero--plain .hero__bottom { padding-top: 0; border: 0; }
body:not([data-page-type="home"]) .page-hero .hero__sub { max-width: 84ch; }
body:not([data-page-type="home"]) .page-hero--plain + .section { padding-top: 1.5rem; }
body:not([data-page-type="home"]) .h2,
body:not([data-page-type="home"]) .price-title,
body:not([data-page-type="home"]) .requisites h2,
body:not([data-page-type="home"]) .dialog h2 { font-size: var(--fs-h2); line-height: 1.18; letter-spacing: -0.02em; }
body:not([data-page-type="home"]) .prose h2,
body:not([data-page-type="home"]) .article__body h2 { font-size: var(--fs-h2-text); line-height: 1.25; }
body:not([data-page-type="home"]) .article__body h2 { margin: 2.25rem 0 .85rem; }
body:not([data-page-type="home"]) .prose h2 { margin: 2rem 0 .75rem; }
body:not([data-page-type="home"]) .posts--lead > .post:first-child .post__title { font-size: var(--fs-h2-text); }
body:not([data-page-type="home"]) .cta-box .cta-box__title { font-size: var(--fs-h2-text); }
body:not([data-page-type="home"]) .card__title,
body:not([data-page-type="home"]) .pcard__name,
body:not([data-page-type="home"]) .post__title,
body:not([data-page-type="home"]) .teaser__title { font-size: var(--fs-h3); line-height: 1.25; }
body:not([data-page-type="home"]) .prose h3,
body:not([data-page-type="home"]) .article__body h3,
body:not([data-page-type="home"]) .article__body .kicker { font-size: 1.0625rem; }
body:not([data-page-type="home"]) .article__body,
body:not([data-page-type="home"]) .prose p,
body:not([data-page-type="home"]) .prose li,
body:not([data-page-type="home"]) .included li { font-size: 1rem; }
body:not([data-page-type="home"]) .faq summary { font-size: 1.0625rem; }
body:not([data-page-type="home"]) .calc__sum { font-size: clamp(1.875rem, 1.5rem + 1vw, 2.25rem); }
body:not([data-page-type="home"]) .pcard__price { font-size: 1.375rem; }
body:not([data-page-type="home"]) .about-box__facts b { font-size: 1.5rem; }
body:not([data-page-type="home"]) .nf__code { font-size: clamp(5rem, 16vw, 11rem); }
body:not([data-page-type="home"]) { --section-y: clamp(2.5rem, 3.5vw, 3.25rem); }
body:not([data-page-type="home"]) .section-head { grid-template-columns: minmax(0, 1fr); gap: .5rem; align-items: start; margin-bottom: 1.5rem; }
body:not([data-page-type="home"]) .section--group { padding-top: var(--section-y); }
body:not([data-page-type="home"]) .page-hero .hero__title { max-width: 30ch; }
body:not([data-page-type="home"]) .page-hero:not(.page-hero--plain) .crumbs,
body:not([data-page-type="home"]) .page-hero:not(.page-hero--plain) .label { color: var(--text); text-shadow: 0 1px 12px rgba(0,0,0,.9); }
body:not([data-page-type="home"]) .nf .hero__title,
body:not([data-page-type="home"]) .hero--short .hero__title { max-width: 30ch; }

/* A page that opens with a heading needs no extra gap above it */
body:not([data-page-type="home"]) .prose > h2:first-child { margin-top: 0; }

/* ===== Glowing cursor (mouse only, see main.js) ===== */
.cur { position: fixed; inset: 0; z-index: 90; pointer-events: none; overflow: hidden; opacity: 0; transition: opacity .3s; }
.cur.is-on { opacity: 1; }
.cur__halo, .cur__dot { position: absolute; top: 0; left: 0; width: 0; height: 0; }
.cur__halo i { position: absolute; width: 90px; height: 90px; margin: -45px 0 0 -45px; border-radius: 50%; border: 1px solid transparent;
  background: radial-gradient(circle, rgba(255,226,160,.6) 0%, rgba(214,174,98,.32) 35%, rgba(201,164,92,0) 70%);
  transition: width .25s var(--ease), height .25s var(--ease), margin .25s var(--ease), border-color .25s, box-shadow .25s, opacity .25s; }
.cur__dot i { position: absolute; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: #f6dc9f;
  box-shadow: 0 0 6px 2px rgba(240,205,130,.9), 0 0 18px 6px rgba(201,164,92,.55); transition: opacity .25s; }
.cur.is-link .cur__halo i { width: 18px; height: 18px; margin: -9px 0 0 -9px; border: 1.5px solid #fff6dd;
  box-shadow: 0 0 0 1.5px rgba(45,32,10,.75), 0 0 8px 3px rgba(255,214,130,.9), 0 0 22px 8px rgba(232,186,92,.45), inset 0 0 5px rgba(255,232,180,.85); }
.cur.is-link .cur__dot i { transform: scale(.5); }
/* over form fields the light stays, only softer, so typing is not covered */
.cur.is-text .cur__halo i { opacity: .35; }
.cur.is-text .cur__dot i { opacity: 0; }
.cur__ring { position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; border: 2px solid #e5bd6a;
  box-shadow: 0 0 16px rgba(201,164,92,.8); animation: cur-ring .55s ease-out forwards; }
@keyframes cur-ring { from { transform: scale(.2); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }

/* ===== Homepage footer: starry sky behind the content ===== */
.footer--sky { position: relative; isolation: isolate; overflow: hidden; }
.footer__sky { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }

/* Footer on phones and tablets: everything centred */
@media (max-width: 899px) {
  .footer { text-align: center; }
  .footer__logo { display: block; width: -moz-fit-content; width: fit-content; margin-left: auto; margin-right: auto; }
  .footer__grid > div:nth-child(3) { order: 1; grid-column: 1 / -1; }
  .footer__grid > div:nth-child(3) ul { grid-template-columns: 1fr 1fr; column-gap: 1.5rem; }
  .footer ul { justify-items: center; }
  .footer__bottom { align-items: center; }
}

/* ===== Information note under request forms ===== */
.form .form__note { margin: 0; font-size: .75rem; line-height: 1.45; color: var(--text-muted); }
.form .form__note a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 599px) { .lead-card .form .form__note { font-size: .6875rem; } }

/* ===== Cookie banner buttons and settings window ===== */
.cookie .btn { line-height: 1.2; }
.cookie .cookie__more { grid-column: 1 / -1; }
.dialog.consent { width: min(520px, calc(100% - 2rem)); }
.consent__list { list-style: none; margin: 0 0 1rem; padding: 0; }
.consent__list li { padding: .75rem 0; border-top: 1px solid var(--line); }
.consent__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 28px; }
label.consent__head { cursor: pointer; }
.consent__head b { font-family: var(--font-display); font-weight: 600; }
.consent__always { font-size: .75rem; color: var(--gold); white-space: nowrap; }
.dialog .consent__list p { margin: .25rem 0 0; font-size: .8125rem; line-height: 1.5; }
.switch { -webkit-appearance: none; appearance: none; flex: none; width: 46px; height: 28px; margin: 0; border: 0; border-radius: 999px; cursor: pointer;
  background: radial-gradient(circle at 14px 50%, #f1ece3 0 9.5px, transparent 10.5px) rgba(241,236,227,.18); }
.switch:checked { background: radial-gradient(circle at 32px 50%, #14110e 0 9.5px, transparent 10.5px) var(--gold); }
.consent__btns { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.consent__btns .btn { min-height: 44px; padding: .5rem; font-size: .875rem; line-height: 1.2; }
.consent__btns .btn--ghost { grid-column: 1 / -1; }
.consent__policy { display: inline-block; margin-top: .875rem; font-size: .8125rem; color: var(--text-muted); }
.footer__legal { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.footer__cookies { padding: 0; border: 0; background: none; font: inherit; color: var(--text); cursor: pointer; }
.footer__cookies:hover { color: var(--gold); }
@media (max-width: 899px) { .footer__legal { justify-content: center; } }

/* ===== Email next to phone and WhatsApp ===== */
.lead-card .contact-alt .contact-alt__email { grid-column: 1 / -1; }
.footer__email, .contact-list a[href^="mailto:"] { overflow-wrap: anywhere; }
/* wider contact column so the address stays on one line */
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.3fr 1.3fr 1fr .8fr; } }
@media (max-width: 479px) { .footer__grid > div:nth-child(2), .footer__grid > div:nth-child(4) { grid-column: 1 / -1; } }

/* ===== Language switch ===== */
.langs { display: flex; align-items: center; gap: 2px; padding: 2px; border: 1px solid var(--line); border-radius: 999px; flex: none; }
.langs__item { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; height: 30px; padding: 0 .35rem; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: .75rem; letter-spacing: .02em; color: var(--text-muted); text-decoration: none; transition: color .2s, background-color .2s; }
.langs__item:hover { color: var(--text); }
.langs__item[aria-current] { background: var(--gold); color: #14110e; }
/* on phones only the other language is shown, as one square button */
@media (max-width: 599px) {
  .langs { padding: 0; border: 0; }
  .langs__item { min-width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 10px; color: var(--text); }
  .langs__item[aria-current] { display: none; }
}
@media (max-width: 599px) { .logo img { height: 16px; } }
@media (max-width: 374px) { .logo img { height: 14px; } }
@media (max-width: 359px) {
  .logo img { height: 12px; }
  .langs__item { min-width: 34px; height: 34px; }
  .header__bar { column-gap: .5rem; }
  .header__actions { gap: .35rem; }
  .header .header__icon, .header .burger { width: 40px; height: 40px; }
}
/* room for the switcher next to the full menu */
@media (min-width: 1280px) {
  .logo img { height: 18px; }
  .header__bar { gap: .75rem; }
  .nav > ul { gap: .75rem; }
  .nav > ul > li > a { font-size: .84375rem; }
  .header__actions { gap: .35rem; }
  .header .btn { padding: .5rem .75rem; font-size: .875rem; }
}

/* the menu sits in the middle of the free space between the logo and the buttons */
@media (min-width: 1280px) {
  .header__bar .nav { margin: 0 auto; }
  .header__bar .header__actions { margin-left: 0; }
}
