/* ---------- Tokens ---------- */
:root {
  --red: #8E2419;
  --red-600: #741C13;
  --red-50: #F6E9E7;
  --ink: #0F1113;
  --ink-2: #1A1D20;
  --paper: #F7F5F2;
  --tint: #EFECE7;
  --white: #FFFFFF;
  --mute: #5B666F;
  --line: rgba(15, 17, 19, .1);

  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(15, 17, 19, .04), 0 4px 14px rgba(15, 17, 19, .05);
  --shadow: 0 2px 4px rgba(15, 17, 19, .04), 0 18px 40px -12px rgba(15, 17, 19, .16);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -.03em; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 12px; }

/* ---------- Type helpers ---------- */
.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.eyebrow--light { color: #F0B9B2; }
.lead { font-size: 1.125rem; color: var(--mute); max-width: 52ch; margin-top: 16px; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.25rem; letter-spacing: -.02em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--red); color: #fff; font-weight: 600; font-size: .98rem; line-height: 1;
  box-shadow: 0 8px 20px -8px rgba(142, 36, 25, .55);
  transition: background .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { background: var(--red-600); transform: translateY(-1px); box-shadow: 0 12px 24px -10px rgba(142, 36, 25, .6); }
.btn:active { transform: translateY(0); }
.btn--sm { padding: 11px 20px; font-size: .92rem; }
.btn--lg { padding: 17px 30px; font-size: 1.02rem; }
.btn--glass { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .2); color: rgba(255, 255, 255, .9); font-weight: 500; box-shadow: none; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--glass:hover { background: rgba(255, 255, 255, .14); box-shadow: none; }
.link { background: none; border: 0; padding: 0; cursor: pointer; font-weight: 600; color: var(--red); display: inline-flex; gap: 6px; align-items: center; }
.link span { transition: transform .25s var(--ease); }
.link:hover span { transform: translateX(4px); }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h); color: #fff; transition: background .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease); }
.header.is-solid { background: rgba(247, 245, 242, .95); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo__mark { flex: none; filter: drop-shadow(0 4px 10px rgba(142, 36, 25, .35)); transition: transform .4s var(--ease); }
.logo:hover .logo__mark { transform: rotate(-4deg) scale(1.04); }
.logo__text { display: flex; flex-direction: column; line-height: 1; gap: 5px; }
.logo__text b { font-weight: 800; font-size: 1.12rem; letter-spacing: .16em; }
.logo__text small { font-weight: 600; font-size: .6rem; letter-spacing: .5em; opacity: .65; padding-left: 1px; }
.nav { display: flex; align-items: center; gap: 30px; font-size: .95rem; font-weight: 500; }
.nav a:not(.btn) { opacity: .85; transition: opacity .2s; }
.nav a:not(.btn):hover { opacity: 1; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: inherit; cursor: pointer; border-radius: 12px; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; background: var(--ink); overflow: hidden; padding-top: calc(var(--header-h) + 40px); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 88% 50%; }
.hero__shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(15, 17, 19, .88) 0%, rgba(15, 17, 19, .6) 38%, rgba(15, 17, 19, 0) 72%),
  linear-gradient(0deg, rgba(15, 17, 19, .8) 0%, rgba(15, 17, 19, 0) 40%); }
.hero__content { position: relative; padding-bottom: clamp(56px, 9vh, 96px); }
.hero h1 { font-size: clamp(2.2rem, 4.3vw, 3.6rem); max-width: 16ch; line-height: 1.08; }
.hero__lead { margin-top: 22px; max-width: 46ch; font-size: 1.15rem; color: rgba(255, 255, 255, .82); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.stats { padding: clamp(28px, 4vw, 44px) 0 0; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.facts li { padding: 22px 24px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 2px; }
.facts strong { font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -.03em; color: var(--red); line-height: 1.1; font-variant-numeric: tabular-nums; }
.facts li > span { font-size: .9rem; color: var(--mute); }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--ink); color: #fff; }
.section__head { margin-bottom: clamp(36px, 5vw, 60px); }
.section__head--light .lead { color: rgba(255, 255, 255, .68); }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__media { aspect-ratio: 4 / 3; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__body p { color: var(--mute); font-size: .97rem; flex: 1; }
.card__body .link { margin-top: 6px; align-self: flex-start; }

/* ---------- Calculators ---------- */
.calc { background: var(--paper); color: var(--ink); border-radius: 28px; padding: clamp(20px, 3.5vw, 40px); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .6); }
.calc__tabs { display: inline-flex; gap: 4px; padding: 5px; background: var(--tint); border-radius: 999px; margin-bottom: 28px; max-width: 100%; overflow-x: auto; }
.calc__tab { border: 0; background: transparent; cursor: pointer; padding: 11px 20px; border-radius: 999px; font-weight: 600; font-size: .94rem; color: var(--mute); white-space: nowrap; transition: background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease); }
.calc__tab[aria-selected="true"] { background: var(--white); color: var(--ink); box-shadow: var(--shadow-sm); }
.calc__panel[hidden] { display: none; }
.calc__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.calc__form { display: grid; gap: 22px; }
.field > label, .field > .field__label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; font-size: .94rem; margin-bottom: 10px; }
.field output { color: var(--red); font-weight: 700; }
.field input[type="number"], .field select { width: 100%; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--white); transition: border-color .2s, box-shadow .2s; }
.field input[type="number"]:focus, .field select:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(142, 36, 25, .12); }
.field__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hint { font-size: .85rem; color: var(--mute); margin-top: 8px; }

input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--red) var(--fill, 50%), #DDD8D1 var(--fill, 50%)); cursor: pointer; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 3px solid var(--red); box-shadow: 0 2px 8px rgba(0, 0, 0, .2); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--red); box-shadow: 0 2px 8px rgba(0, 0, 0, .2); }

.options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.option { position: relative; }
.option input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.option span { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--white); font-weight: 600; font-size: .95rem; transition: border-color .2s, background .2s, box-shadow .2s; }
.option small { font-weight: 500; color: var(--mute); font-size: .8rem; }
.option input:checked + span { border-color: var(--red); background: var(--red-50); box-shadow: 0 0 0 3px rgba(142, 36, 25, .1); }
.option input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }

.toggles { display: grid; gap: 10px; }
.toggle { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--white); border: 1px solid var(--line); cursor: pointer; font-weight: 500; font-size: .95rem; }
.toggle input { width: 20px; height: 20px; accent-color: var(--red); }

.result { background: var(--ink); color: #fff; border-radius: 24px; padding: clamp(24px, 3vw, 34px); position: sticky; top: calc(var(--header-h) + 16px); }
.result__label { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.result__value { font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.05; margin-top: 8px; }
.result__value small { font-size: .45em; font-weight: 500; opacity: .7; letter-spacing: 0; }
.result__rows { margin-top: 22px; display: grid; gap: 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.result__rows li { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); font-size: .95rem; }
.result__rows span { color: rgba(255, 255, 255, .65); }
.result__rows strong { font-weight: 600; text-align: right; white-space: nowrap; }
.result .btn { width: 100%; margin-top: 22px; }
.result__note { font-size: .8rem; color: rgba(255, 255, 255, .5); margin-top: 14px; line-height: 1.5; }

/* ---------- Before / after ---------- */
.ba-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.ba-layout .section__head { margin-bottom: 0; }
.ticks { margin: 28px 0 32px; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--red-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5.5 10.5 3 3 6-6.5' fill='none' stroke='%238E2419' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.ba { position: relative; aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); touch-action: pan-y; cursor: ew-resize; user-select: none; -webkit-user-select: none; background: var(--ink); }
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__tag { position: absolute; top: 16px; padding: 7px 14px; border-radius: 999px; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; background: rgba(15, 17, 19, .55); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); pointer-events: none; }
.ba__tag--before { left: 16px; }
.ba__tag--after { right: 16px; background: var(--red); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; transform: translateX(-1px); pointer-events: none; box-shadow: 0 0 18px rgba(0, 0, 0, .35); }
.ba__handle span { position: absolute; top: 50%; left: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0, 0, 0, .3); }
.ba__range { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.ba:has(.ba__range:focus-visible) { outline: 3px solid var(--red); outline-offset: 3px; }

/* Stogo spalvos vizualizatorius */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.viz-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.viz__stage { position: relative; aspect-ratio: 1352 / 1163; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--ink); }
.viz__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s var(--ease); }
.viz__img.is-active { opacity: 1; }
.viz__tag { position: absolute; left: 16px; bottom: 16px; padding: 7px 14px; border-radius: 999px; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; background: rgba(15, 17, 19, .55); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.viz__panel .lead { margin-bottom: 28px; }
.viz__swatches { border: 0; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.swatch { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; cursor: pointer; }
.swatch input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.swatch span { width: 100%; aspect-ratio: 1; max-width: 76px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 6px 16px -6px rgba(15, 17, 19, .4); outline: 2px solid transparent; outline-offset: 4px; transition: transform .3s var(--ease), outline-color .2s; }
.swatch:hover span { transform: translateY(-2px); }
.swatch input:checked + span { outline-color: var(--red); }
.swatch input:focus-visible + span { outline: 3px solid var(--ink); }
.swatch b { font-size: .88rem; font-weight: 600; }
@media (max-width: 860px) {
  .viz-layout { grid-template-columns: 1fr; }
  .viz-layout { gap: 24px; }
  .viz__panel { display: contents; }
  .viz__panel .lead { margin-bottom: 0; }
  .viz__stage { order: 1; }
  .viz__swatches { order: 2; margin: 0; }
  .viz__panel .btn { order: 3; justify-self: start; }
}

/* ---------- Showcase (atlikti darbai) ---------- */
.showcase { display: flex; gap: 12px; height: clamp(460px, 62vh, 600px); }
.work { position: relative; flex: 1 1 0; min-width: 0; border-radius: var(--radius); overflow: hidden; background: var(--ink); color: #fff; cursor: pointer; transition: flex-grow .7s var(--ease); outline-offset: 4px; }
.work.is-active { flex-grow: 5.2; cursor: default; }
.work img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); filter: brightness(.7) saturate(.9); transition: transform 1.1s var(--ease), filter .7s var(--ease); }
.work.is-active img { transform: scale(1); filter: none; }
.work::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15, 17, 19, .85) 0%, rgba(15, 17, 19, .1) 55%, rgba(15, 17, 19, .25) 100%); pointer-events: none; }
.work__num { position: absolute; z-index: 2; left: 20px; bottom: 20px; font-size: 1.05rem; font-weight: 600; letter-spacing: .08em; opacity: .9; transition: opacity .3s; }
.work.is-active .work__num { opacity: 0; }
.work__info { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: clamp(20px, 3vw, 36px); display: flex; flex-direction: column; align-items: flex-start; gap: 14px; opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .35s var(--ease), transform .5s var(--ease); }
.work.is-active .work__info { opacity: 1; transform: none; pointer-events: auto; transition-delay: .25s; }
.work__tag { padding: 6px 14px; border-radius: 999px; background: var(--red); font-size: .76rem; font-weight: 600; letter-spacing: .05em; }
.work__info h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.work__specs { display: flex; flex-wrap: wrap; gap: 10px; }
.work__specs li { display: flex; flex-direction: column; padding: 10px 16px; border-radius: 14px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-size: .76rem; color: rgba(255, 255, 255, .75); }
.work__specs strong { font-size: 1.1rem; color: #fff; letter-spacing: -.02em; }
.work__link { font-weight: 600; display: inline-flex; gap: 8px; }
.work__link span { transition: transform .25s var(--ease); }
.work__link:hover span { transform: translateX(4px); }
.showcase__hint { margin-top: 16px; text-align: center; font-size: .85rem; color: var(--mute); }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.process .section__head { margin-bottom: 36px; }
.steps { display: grid; gap: 6px; }
.steps li { display: grid; grid-template-columns: 48px 1fr; gap: 20px; padding: 22px; border-radius: var(--radius); transition: background .3s var(--ease); }
.steps li:hover { background: var(--white); box-shadow: var(--shadow-sm); }
.steps__n { width: 48px; height: 48px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-weight: 700; }
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--mute); font-size: .98rem; }
.process__media { display: grid; gap: 16px; position: sticky; top: calc(var(--header-h) + 24px); }
.process__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-sm); }

/* ---------- Quotes ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote { margin: 0; background: var(--white); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 20px; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.quote:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.quote p { font-size: 1.05rem; line-height: 1.65; flex: 1; }
.stars { display: flex; gap: 3px; color: #E2A72E; }
.stars svg { width: 20px; height: 20px; }
.quote footer { display: flex; align-items: center; gap: 14px; font-size: .92rem; padding-top: 20px; border-top: 1px solid var(--line); }
.quote footer div { display: flex; flex-direction: column; line-height: 1.35; }
.quote footer span:not(.avatar) { color: var(--mute); font-size: .86rem; }
.avatar { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--red-50); color: var(--red); font-weight: 700; font-size: .85rem; letter-spacing: .02em; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 800px; }
.section__head--center { text-align: center; }
.section__head--center .lead { margin-inline: auto; }
.faq { display: grid; gap: 12px; }
.faq__item { background: var(--white); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
.faq__item.is-open { box-shadow: var(--shadow); }
.faq__item h3 { font-size: inherit; letter-spacing: 0; line-height: inherit; }
.faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 26px; border: 0; background: none; cursor: pointer; text-align: left; font-weight: 600; font-size: 1.05rem; border-radius: var(--radius-sm); }
.faq__icon { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--red-50); transition: background .3s var(--ease), transform .45s var(--ease); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--red); transition: transform .45s var(--ease), background .3s var(--ease); }
.faq__icon::after { transform: rotate(90deg); }
.faq__item.is-open .faq__icon { background: var(--red); transform: rotate(180deg); }
.faq__item.is-open .faq__icon::before, .faq__item.is-open .faq__icon::after { background: #fff; }
.faq__item.is-open .faq__icon::after { transform: rotate(0deg); }
.faq__a { display: grid; grid-template-rows: 0fr; visibility: hidden; opacity: 0; transition: grid-template-rows .5s var(--ease), opacity .4s var(--ease), visibility 0s linear .5s; }
.faq__a > div { overflow: hidden; min-height: 0; }
.faq__a p { padding: 0 26px 24px; color: var(--mute); max-width: 62ch; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; visibility: visible; opacity: 1; transition-delay: 0s; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact .lead { color: rgba(255, 255, 255, .68); }
.contact__list { margin-top: 36px; display: grid; gap: 18px; }
.contact__list li { display: flex; flex-direction: column; font-size: 1.15rem; font-weight: 600; }
.contact__list span { font-size: .8rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .5); margin-bottom: 2px; }
.contact__list a:hover { color: #F0B9B2; }
.form { background: var(--paper); color: var(--ink); padding: clamp(22px, 3.5vw, 40px); border-radius: 28px; display: grid; gap: 18px; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .6); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 8px; font-weight: 600; font-size: .92rem; }
.form em { font-style: normal; font-weight: 400; color: var(--mute); }
.form input:not([type="checkbox"]), .form textarea { width: 100%; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--white); font-weight: 400; resize: vertical; transition: border-color .2s, box-shadow .2s; }
.form input:not([type="checkbox"]):focus, .form textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(142, 36, 25, .12); }
.form .check { display: flex; align-items: flex-start; gap: 12px; font-weight: 400; color: var(--mute); font-size: .88rem; }
.form .check input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--red); flex: none; }
.form .btn { width: 100%; }
.form__status { min-height: 1.4em; font-size: .92rem; font-weight: 500; }
.form__status.is-ok { color: #1E6B3A; }
.form__status.is-err { color: var(--red); }
.form .is-invalid { border-color: var(--red) !important; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255, 255, 255, .6); padding: 28px 0 36px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .9rem; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.logo--light { color: #fff; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .calc__grid, .ba-layout, .process, .contact { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .result, .process__media { position: static; }
  .process__media { grid-template-columns: 1fr 1fr; }
  .quotes { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .burger { display: block; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 24px; background: rgba(247, 245, 242, .97); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); color: var(--ink); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a:not(.btn) { padding: 16px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--line); opacity: 1; }
  .nav__cta { margin-top: 16px; padding: 16px; }
  .header:has(.nav.is-open) { background: rgba(247, 245, 242, .97); color: var(--ink); }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .hero { min-height: 100svh; padding-top: calc(var(--header-h) + 24px); }
  .hero__img { object-position: 78% 50%; }
  .hero__shade { background:
    linear-gradient(0deg, rgba(15, 17, 19, .94) 0%, rgba(15, 17, 19, .62) 50%, rgba(15, 17, 19, .12) 100%); }
  .hero h1 { max-width: 14ch; font-size: clamp(2rem, 9vw, 2.6rem); }
  .hero__actions .btn { flex: 1 1 100%; }
  .facts li { padding: 18px; }
  .cards { grid-template-columns: 1fr; }
  .showcase { height: auto; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: -20px; padding: 0 20px 8px; scrollbar-width: none; }
  .showcase::-webkit-scrollbar { display: none; }
  .work { flex: 0 0 82%; height: 460px; scroll-snap-align: center; transition: none; }
  .work.is-active { flex-grow: 0; }
  .work img { transform: none; filter: none; }
  .work__num { display: none; }
  .work__info { opacity: 1; transform: none; pointer-events: auto; padding: 20px; }
  .showcase__hint { display: none; }
  .options { grid-template-columns: 1fr; }
  .field__pair, .form__row { grid-template-columns: 1fr; }
  .process__media { grid-template-columns: 1fr; }
  .steps li { grid-template-columns: 40px 1fr; gap: 14px; padding: 16px 8px; }
  .steps__n { width: 40px; height: 40px; }
  .calc__tabs { display: flex; width: 100%; }
  .calc__tab { flex: 1; padding: 11px 12px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}
