/* =========================================================
   СлайдПрофиль — Design System
   Palette: graphite ink + warm paper + bronze accent
   Type: Unbounded (display) + Manrope (text)
   Fonts are self-hosted so the first paint does not wait
   on fonts.googleapis.com.
========================================================= */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/manrope-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url("fonts/unbounded-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url("fonts/unbounded-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Metric-matched fallbacks so the swap does not shift the layout. */
@font-face {
  font-family: "Manrope Fallback";
  src: local("Arial");
  size-adjust: 105%;
  ascent-override: 92%;
  descent-override: 24%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Unbounded Fallback";
  src: local("Arial");
  size-adjust: 90%;
  ascent-override: 98%;
  descent-override: 22%;
  line-gap-override: 0%;
}
:root {
  /* Color */
  --ink: #101114;
  --ink-2: #191b1f;
  --ink-3: #26282d;
  --paper: #f5f2ec;
  --paper-2: #ffffff;
  --sand: #ece5d9;
  --muted: #6e6a63;
  --line: rgba(16, 17, 20, 0.10);
  --line-strong: rgba(16, 17, 20, 0.18);
  --accent: #b4824a;
  --accent-2: #9c6f3b;
  --accent-soft: rgba(180, 130, 74, 0.12);

  /* Radius */
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --pill: 999px;

  /* Shadow */
  --sh-1: 0 1px 2px rgba(16, 17, 20, 0.05), 0 6px 20px rgba(16, 17, 20, 0.06);
  --sh-2: 0 20px 60px rgba(16, 17, 20, 0.16);
  --sh-card: 0 24px 70px rgba(16, 17, 20, 0.10);

  /* Layout */
  --maxw: 1200px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);

  --font-display: "Unbounded", "Unbounded Fallback", system-ui, sans-serif;
  --font-text: "Manrope", "Manrope Fallback", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* Kept on <html> (not <body>) on purpose: overflow-x on <body> breaks
     position:fixed elements (e.g. the mobile nav) on iOS Safari/WebKit. */
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-text);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; margin: 0; }

.section { padding: clamp(3.5rem, 8vw, 7rem) 0; }

.section-head { max-width: 640px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-text);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
}
.eyebrow-light { color: var(--accent); }

.center { text-align: center; margin-top: 2.5rem; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--accent);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.6rem;
  border-radius: var(--pill);
  font-family: var(--font-text);
  font-weight: 700;
  font-size: 0.97rem;
  letter-spacing: 0.01em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
  background: var(--btn-bg);
  color: var(--btn-fg);
  line-height: 1;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 26px rgba(180, 130, 74, 0.34); }
.btn-primary:hover { background: var(--accent-2); box-shadow: 0 14px 30px rgba(180, 130, 74, 0.4); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.btn-sm { padding: 0.7rem 1.15rem; font-size: 0.88rem; }
.full-width { width: 100%; }

/* ---------- Top bar ---------- */
.topbar { background: var(--ink); color: rgba(255, 255, 255, 0.72); font-size: 0.8rem; }
.topbar-inner { display: flex; align-items: center; gap: 0.6rem; height: 40px; }
.topbar-dot { opacity: 0.4; }
.topbar-phone { margin-left: auto; color: #fff; font-weight: 700; }
.topbar-phone:hover { color: var(--accent); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
/* The blur lives on a pseudo-element (not on .site-header itself) because
   backdrop-filter/filter on an ancestor makes Safari/WebKit treat it as the
   containing block for descendant position:fixed elements (e.g. the mobile
   nav panel), breaking its full-screen positioning. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(245, 242, 236, 0.82);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  transition: background 0.25s ease;
}
.site-header.scrolled { box-shadow: 0 8px 30px rgba(16, 17, 20, 0.08); border-color: var(--line); }
.header-flex { display: flex; align-items: center; justify-content: space-between; height: 74px; }

.logo { display: inline-flex; align-items: center; gap: 0.6rem; }
.logo-mark { width: 26px; height: 26px; border-radius: 7px; background: var(--ink); position: relative; }
.logo-mark::before { content: ""; position: absolute; inset: 6px; border-left: 2px solid var(--accent); border-right: 2px solid #fff; }
.logo-text { font-family: var(--font-display); font-weight: 700; font-size: 1.18rem; letter-spacing: -0.02em; }
.logo-text span { color: var(--accent); }

.main-nav ul { list-style: none; display: flex; align-items: center; gap: clamp(0.7rem, 1.4vw, 1.4rem); margin: 0; padding: 0; flex-wrap: nowrap; }
.main-nav a { font-weight: 600; font-size: clamp(0.8rem, 0.9vw, 0.92rem); color: var(--ink); transition: color 0.2s; white-space: nowrap; }
.main-nav a:hover { color: var(--accent); }
.nav-cta { color: #fff; font-size: clamp(0.78rem, 0.85vw, 0.88rem) !important; padding: 0.65rem 1rem !important; }
.nav-cta:hover { color: #fff; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: none; cursor: pointer; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); transition: transform 0.25s, opacity 0.25s; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(92vh, 860px); display: flex; align-items: center; color: #fff; padding: 5rem 0 3rem; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-scrim { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(12, 12, 14, 0.86) 0%, rgba(12, 12, 14, 0.55) 42%, rgba(12, 12, 14, 0.15) 75%),
  linear-gradient(0deg, rgba(12, 12, 14, 0.6), rgba(12, 12, 14, 0.05)); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.35fr 0.9fr; column-gap: clamp(2rem, 5vw, 4rem); row-gap: clamp(1.4rem, 2.5vw, 2rem); align-items: center; width: 100%; }

.hero-copy h1 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); font-weight: 800; margin-bottom: 1rem; }
.hero-sub { font-size: clamp(1rem, 1.6vw, 1.2rem); color: rgba(255, 255, 255, 0.86); max-width: 34ch; margin: 0 0 1.4rem; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chip { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.5rem 0.95rem; border-radius: var(--pill); background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.2); font-size: 0.85rem; font-weight: 600; backdrop-filter: blur(6px); }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* Hero offer badge — the headline promise */
.hero-offer {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.1rem;
  padding: 0.5rem 1.15rem 0.5rem 0.9rem;
  border-radius: var(--pill);
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: clamp(0.82rem, 1.5vw, 1rem);
  letter-spacing: 0.01em;
  line-height: 1.25;
  box-shadow: 0 10px 26px rgba(180, 130, 74, 0.34);
}
.hero-offer::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.28); }

/* Hero cases — social proof with entry price, next to the lead form */
.hero-cases { position: relative; z-index: 2; grid-column: 1; grid-row: 2; align-self: start; }
.hero-cases-title { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.58); margin-bottom: 0.7rem; }
.hero-cases-list { display: grid; gap: 0.5rem; max-width: 540px; }
.hero-case {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 0.85rem;
  padding: 0.5rem 0.95rem 0.5rem 0.5rem;
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  color: #fff;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.hero-case:hover { background: rgba(255, 255, 255, 0.17); border-color: rgba(255, 255, 255, 0.36); transform: translateY(-2px); }
.hero-case img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; }
.hero-case-name { display: block; font-weight: 700; font-size: 0.92rem; line-height: 1.25; }
.hero-case-meta { display: block; font-size: 0.78rem; color: rgba(255, 255, 255, 0.66); }
.hero-case-price { font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; color: #e0b483; white-space: nowrap; }

/* Hero form */
.hero-form { grid-column: 2; grid-row: 1 / span 2; align-self: center; background: rgba(255, 255, 255, 0.97); color: var(--ink); border-radius: var(--r-lg); padding: 1.7rem; box-shadow: var(--sh-2); border: 1px solid rgba(255, 255, 255, 0.6); }
.hero-form-head { margin-bottom: 1.1rem; }
.hero-form-head strong { display: block; font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; }
.hero-form-head span { display: block; color: var(--muted); font-size: 0.9rem; margin-top: 0.25rem; }
.hero-form-note { font-size: 0.78rem; color: var(--muted); margin: 0.9rem 0 0; text-align: center; }

/* ---------- Forms ---------- */
.form-group { margin-bottom: 0.85rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--muted); margin-bottom: 0.4rem; }
input, select, textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-sm);
  font-family: var(--font-text);
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
textarea { resize: vertical; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236e6a63' d='M6 8 0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.4rem; }

.consent-mini { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.78rem; color: var(--muted); margin-top: 0.6rem; line-height: 1.4; }
.consent-mini input { width: auto; margin-top: 0.15rem; accent-color: var(--accent); }
.consent-mini a { color: var(--accent); text-decoration: underline; }

/* ---------- Interactive door showcase (scroll-driven) ---------- */
.door-showcase { position: relative; height: 240vh; background: var(--ink); }
.door-showcase-sticky {
  position: sticky;
  top: 0;
  height: min(100vw, 100vh);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.door-reveal {
  position: relative;
  z-index: 1;
  max-width: 640px;
  text-align: center;
  padding: 0 1.5rem;
  color: #fff;
  opacity: 0;
  will-change: opacity, transform;
}
.door-reveal .eyebrow { color: var(--accent); }
.door-reveal h2 { font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 1.2rem; }
.door-reveal p { color: rgba(255, 255, 255, 0.78); font-size: clamp(1rem, 1.6vw, 1.15rem); max-width: 46ch; margin: 0 auto 1.8rem; }

.door-panel {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  z-index: 2;
  background-repeat: no-repeat;
  background-size: 200% auto;
  background-position-y: center;
  will-change: transform;
}
/* Photo is attached only once the section is near the viewport (see script.js),
   so the door image does not compete with the hero on a slow mobile network. */
.door-showcase.is-armed .door-panel { background-image: url("images/opt/door-800.webp"); }
.door-panel-left { left: 0; background-position-x: left; box-shadow: inset -14px 0 30px rgba(0, 0, 0, 0.4); }
.door-panel-right { right: 0; background-position-x: right; box-shadow: inset 14px 0 30px rgba(0, 0, 0, 0.4); }

.door-hint {
  position: absolute;
  bottom: clamp(1.5rem, 5vh, 3rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: opacity 0.3s ease;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
  white-space: nowrap;
}
.door-hint-arrow { display: inline-block; animation: door-hint-bounce 1.6s ease-in-out infinite; font-size: 1.05rem; }
@keyframes door-hint-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

@media (max-width: 768px) {
  /* The photo pins in the vertical center of the screen (not the top) and
     stays there — untouched by scroll position — until it has fully slid
     open; only then does normal scrolling resume and carry it upward. */
  .door-showcase-sticky { top: calc(50vh - min(50vw, 50vh)); }
  /* Sticky square (min(100vw,100vh)) + a hold buffer to open across. */
  .door-showcase { height: calc(100vw + 60vh); }
  .door-reveal {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 1.5rem;
  }
  .door-reveal h2 { font-size: clamp(1.65rem, 6.5vw, 2.2rem); }
  .door-reveal p { max-width: 32ch; font-size: 0.95rem; }
  .door-hint { bottom: 1rem; font-size: 0.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  .door-showcase { height: auto; }
  .door-showcase-sticky { position: relative; height: auto; padding: clamp(3.5rem, 8vw, 7rem) 0; }
  .door-panel { display: none; }
  .door-reveal { opacity: 1; position: static; }
  .door-hint { display: none; }
}

/* ---------- Stats ---------- */
.stats { background: var(--ink); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: clamp(2rem, 4vw, 3rem) var(--gutter); }
.stat { text-align: center; padding: 0.5rem; }
.stat-num { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 3.5vw, 2.5rem); color: #fff; letter-spacing: -0.02em; }
.stat-label { display: block; color: rgba(255, 255, 255, 0.62); font-size: 0.88rem; margin-top: 0.35rem; }

/* ---------- Solutions ---------- */
.solutions-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 1rem; }
.tile { position: relative; border-radius: var(--r); overflow: hidden; display: block; box-shadow: var(--sh-1); }
.tile-lg { grid-column: span 2; grid-row: span 2; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12, 12, 14, 0.78) 0%, rgba(12, 12, 14, 0.12) 45%, rgba(12, 12, 14, 0) 70%); transition: background 0.3s; }
.tile:hover img { transform: scale(1.06); }
.tile-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 1.15rem 1.25rem; color: #fff; display: flex; flex-direction: column; gap: 0.15rem; }
.tile-title { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.tile-price { font-size: 0.85rem; color: var(--accent); font-weight: 700; }
.tile-lg .tile-title { font-size: 1.5rem; }

/* ---------- Why ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.why-item { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r); padding: 1.7rem; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.why-item:hover { transform: translateY(-4px); box-shadow: var(--sh-card); }
.why-item h3 { font-size: 1.12rem; margin-bottom: 0.4rem; }
.why-item p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.why-ic { display: flex; width: 52px; height: 52px; border-radius: 14px; background: var(--accent-soft); margin-bottom: 1.1rem; position: relative; }
.why-ic::before { content: ""; position: absolute; inset: 0; margin: auto; width: 26px; height: 26px; background: var(--accent); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain; }
.why-ic[data-ic="price"]::before { -webkit-mask-image: 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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='12' y1='1' x2='12' y2='23'/%3E%3Cpath d='M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6'/%3E%3C/svg%3E"); mask-image: 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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='12' y1='1' x2='12' y2='23'/%3E%3Cpath d='M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6'/%3E%3C/svg%3E"); }
.why-ic[data-ic="clean"]::before { -webkit-mask-image: 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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21v-4a4 4 0 0 1 4-4h4'/%3E%3Cpath d='m14 7 3 3'/%3E%3Cpath d='M5 6c1-1 3-1 4 0l9 9c1 1 1 3 0 4s-3 1-4 0L5 10c-1-1-1-3 0-4Z'/%3E%3C/svg%3E"); mask-image: 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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21v-4a4 4 0 0 1 4-4h4'/%3E%3Cpath d='m14 7 3 3'/%3E%3Cpath d='M5 6c1-1 3-1 4 0l9 9c1 1 1 3 0 4s-3 1-4 0L5 10c-1-1-1-3 0-4Z'/%3E%3C/svg%3E"); }
.why-ic[data-ic="glass"]::before { -webkit-mask-image: 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' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Cline x1='12' y1='3' x2='12' y2='21'/%3E%3C/svg%3E"); mask-image: 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' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Cline x1='12' y1='3' x2='12' y2='21'/%3E%3C/svg%3E"); }
.why-ic[data-ic="mm"]::before { -webkit-mask-image: 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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 3 3 21'/%3E%3Cpath d='M15 3h6v6'/%3E%3Cpath d='M3 15v6h6'/%3E%3C/svg%3E"); mask-image: 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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 3 3 21'/%3E%3Cpath d='M15 3h6v6'/%3E%3Cpath d='M3 15v6h6'/%3E%3C/svg%3E"); }
.why-ic[data-ic="quiet"]::before { -webkit-mask-image: 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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='11 5 6 9 2 9 2 15 6 15 11 19 11 5'/%3E%3Cline x1='23' y1='9' x2='17' y2='15'/%3E%3Cline x1='17' y1='9' x2='23' y2='15'/%3E%3C/svg%3E"); mask-image: 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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='11 5 6 9 2 9 2 15 6 15 11 19 11 5'/%3E%3Cline x1='23' y1='9' x2='17' y2='15'/%3E%3Cline x1='17' y1='9' x2='23' y2='15'/%3E%3C/svg%3E"); }
.why-ic[data-ic="shield"]::before { -webkit-mask-image: 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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10Z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); mask-image: 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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10Z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); }
.why-ic[data-ic="user"]::before { -webkit-mask-image: 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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E"); mask-image: 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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E"); }
.why-ic[data-ic="cert"]::before { -webkit-mask-image: 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' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='6'/%3E%3Cpath d='M15.477 12.89 17 22l-5-3-5 3 1.523-9.11'/%3E%3C/svg%3E"); mask-image: 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' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='6'/%3E%3Cpath d='M15.477 12.89 17 22l-5-3-5 3 1.523-9.11'/%3E%3C/svg%3E"); }

/* ---------- Packages / комплектации ---------- */
.packages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; align-items: stretch; }
.pkg { position: relative; display: flex; flex-direction: column; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r); padding: 1.9rem 1.7rem; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.pkg:hover { transform: translateY(-4px); box-shadow: var(--sh-card); }
.pkg-featured { background: var(--ink); color: #fff; border-color: var(--ink); }
.pkg-featured .pkg-desc { color: rgba(255, 255, 255, 0.72); }
.pkg-featured h3 { color: #fff; }
.pkg-badge { position: absolute; top: -0.7rem; left: 1.7rem; background: var(--accent); color: #fff; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 0.35rem 0.8rem; border-radius: var(--pill); }
.pkg-tier { font-family: var(--font-display); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.pkg h3 { font-size: 1.4rem; margin: 0.4rem 0 0.7rem; }
.pkg-desc { color: var(--muted); font-size: 0.95rem; margin: 0 0 1.4rem; flex: 1; }
.pkg-price { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; margin-bottom: 1.3rem; }
.pkg-featured .pkg-price { color: var(--accent); }

.center-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; }
.designers-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }

/* ---------- Feature split ---------- */
.feature { background: var(--sand); }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.feature-media { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-card); aspect-ratio: 4/5; background: var(--ink); }
.feature-media img, .feature-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.feature-copy h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); margin-bottom: 1.4rem; }
.feature-list { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: 0.9rem; }
.feature-list li { padding-left: 1.9rem; position: relative; color: var(--ink); }
.feature-list li strong { color: var(--ink); }
.feature-list li::before { content: ""; position: absolute; left: 0; top: 0.5rem; width: 12px; height: 12px; border-radius: 50%; border: 3px solid var(--accent); }

/* ---------- Portfolio ---------- */
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.portfolio-grid figure { margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--sh-1); }
.portfolio-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.portfolio-grid figure:hover img { transform: scale(1.05); }

/* ---------- Process ---------- */
.process-track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; counter-reset: step; }
.pstep { position: relative; padding-top: 1.4rem; border-top: 2px solid var(--line-strong); }
.pnum { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--accent); display: block; margin-bottom: 0.7rem; }
.pstep h3 { font-size: 1.1rem; margin-bottom: 0.35rem; }
.pstep p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* ---------- Form benefit block ---------- */
.form-why {
  background: var(--accent-soft);
  border: 1px solid rgba(180, 130, 74, 0.22);
  border-radius: var(--r-sm);
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
}
.form-why-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 0.35rem;
}
.form-why-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.25rem;
}
.form-why-list li {
  font-size: 0.8rem;
  color: var(--ink);
  padding-left: 1.4rem;
  position: relative;
}
.form-why-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.72rem;
  top: 0.07rem;
}

/* ---------- Designers section ---------- */
.designers-section { background: var(--sand); }
.designers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.designers-copy h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 1.1rem; }
.designers-intro { color: var(--muted); margin-bottom: 1.8rem; font-size: 1rem; line-height: 1.7; }
.designers-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0;
}
.designers-list li {
  padding: 1rem 0 1rem 2rem;
  border-bottom: 1px solid var(--line-strong);
  position: relative;
  font-size: 1rem;
  color: var(--ink);
}
.designers-list li:first-child { border-top: 1px solid var(--line-strong); }
.designers-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.3rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- Reviews ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.review { margin: 0; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r); padding: 1.8rem; position: relative; }
.review::before { content: "\201C"; font-family: var(--font-display); font-size: 3.5rem; line-height: 0.6; color: var(--accent); opacity: 0.35; display: block; margin-bottom: 0.4rem; }
.review p { margin: 0 0 1.1rem; font-size: 1.02rem; }
.review footer { font-weight: 700; color: var(--ink); font-size: 0.92rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: #fff; }
.cta-inner { display: grid; grid-template-columns: 1fr 0.9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.cta-copy h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 1rem; }
.cta-copy p { color: rgba(255, 255, 255, 0.72); margin-bottom: 1.5rem; }
.cta-phone { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 3vw, 2rem); color: #fff; }
.cta-phone:hover { color: var(--accent); }
.cta-form-card { background: var(--paper-2); color: var(--ink); border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2.2rem); box-shadow: var(--sh-2); }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 820px; }
.faq-list { display: grid; gap: 0.7rem; }
.faq-item { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; padding: 1.15rem 1.4rem; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--font-text); font-size: 1.5rem; color: var(--accent); transition: transform 0.25s; line-height: 1; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0; padding: 0 1.4rem 1.3rem; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.7); padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; }
.footer-flex { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2rem; }
.footer-logo { color: #fff; font-size: 1.4rem; display: inline-block; margin-bottom: 0.9rem; }
.footer-brand p { margin: 0; max-width: 36ch; font-size: 0.95rem; }
.footer-col { display: flex; flex-direction: column; gap: 0.55rem; font-size: 0.95rem; }
.footer-col a:hover { color: var(--accent); }
.footer-phone { color: #fff !important; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.82rem; color: rgba(255, 255, 255, 0.5); }

.footer-msgr { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 0.3rem; }
.footer-msgr a { font-weight: 600; padding: 0.3rem 0.7rem; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: var(--pill); font-size: 0.85rem; transition: border-color 0.2s, color 0.2s; }
.footer-msgr a:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Floating messenger buttons ---------- */
/* Stacked above the sticky call pill (58px tall) in the same bottom-right corner. */
.msgr-fab { position: fixed; right: clamp(0.9rem, 2vw, 1.4rem); bottom: calc(clamp(0.9rem, 2vw, 1.4rem) + 58px + 0.6rem); z-index: 56; display: flex; flex-direction: column; align-items: flex-end; gap: 0.6rem; }
.msgr-btn { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 50%; color: #fff; box-shadow: 0 8px 22px rgba(16, 17, 20, 0.28); transition: transform 0.18s ease, box-shadow 0.2s ease; }
.msgr-btn:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 12px 28px rgba(16, 17, 20, 0.34); }
.msgr-btn svg { width: 28px; height: 28px; fill: currentColor; }
.msgr-wa { background: #25d366; }
.msgr-tg { background: #29a9eb; }
.msgr-max { background: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.02em; }
.msgr-max span { line-height: 1; }

/* ---------- Mobile sticky CTA ---------- */
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: none; flex-direction: column; gap: 0.45rem; padding: 0.55rem clamp(0.8rem, 4vw, 1.2rem) 0.7rem; background: rgba(245, 242, 236, 0.96); backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
.mobile-cta-note { display: flex; align-items: center; justify-content: center; gap: 0.45rem; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.02em; color: var(--muted); }
.mobile-cta-note::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #2ecc71; box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.22); }
.mobile-cta-row { display: flex; gap: 0.6rem; }
.mobile-cta-row .btn { flex: 1; padding: 0.9rem 1rem; }

/* ---------- Desktop sticky call button ---------- */
.call-sticky { position: fixed; right: clamp(0.9rem, 2vw, 1.4rem); bottom: clamp(0.9rem, 2vw, 1.4rem); z-index: 56; }
.call-sticky-btn { display: inline-flex; align-items: center; gap: 0.7rem; padding: 0.55rem 1.2rem 0.55rem 0.55rem; border-radius: var(--pill); background: var(--ink); color: #fff; box-shadow: 0 12px 30px rgba(16, 17, 20, 0.3); transition: transform 0.18s ease, background 0.2s ease, box-shadow 0.2s ease; }
.call-sticky-btn:hover { transform: translateY(-3px); background: var(--accent-2); box-shadow: 0 16px 36px rgba(180, 130, 74, 0.4); }
.call-sticky-ic { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); transition: background 0.2s ease; }
.call-sticky-btn:hover .call-sticky-ic { background: rgba(255, 255, 255, 0.2); }
.call-sticky-ic svg { width: 20px; height: 20px; fill: currentColor; }
.call-sticky-text { display: flex; flex-direction: column; line-height: 1.2; }
.call-sticky-text b { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; }
.call-sticky-text small { font-size: 0.72rem; font-weight: 600; color: rgba(255, 255, 255, 0.72); }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 1.2rem; }
.modal[hidden] { display: none; }
.modal-overlay { position: absolute; inset: 0; background: rgba(12, 12, 14, 0.6); backdrop-filter: blur(4px); animation: fade 0.25s ease; }
.modal-dialog { position: relative; z-index: 2; background: var(--paper-2); width: 100%; max-width: 440px; border-radius: var(--r-lg); padding: clamp(1.6rem, 4vw, 2.4rem); box-shadow: var(--sh-2); animation: pop 0.28s cubic-bezier(0.2, 0.8, 0.2, 1); }
.modal-dialog h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.modal-sub { color: var(--muted); font-size: 0.95rem; margin: 0 0 1.3rem; }
.modal-topic { display: inline-block; margin: -0.6rem 0 1.1rem; padding: 0.4rem 0.9rem; border-radius: var(--pill); background: var(--accent-soft); border: 1px solid rgba(180, 130, 74, 0.24); color: var(--accent-2); font-size: 0.82rem; font-weight: 700; }
.modal-topic[hidden] { display: none; }
.modal-close { position: absolute; top: 0.9rem; right: 1rem; width: 40px; height: 40px; border: none; background: none; font-size: 1.8rem; line-height: 1; color: var(--muted); cursor: pointer; border-radius: 50%; transition: background 0.2s, color 0.2s; }
.modal-close:hover { background: var(--line); color: var(--ink); }

/* =========================================================
   Subpages (projects / process / for-designers)
========================================================= */
.subhero { position: relative; background: var(--ink); color: #fff; padding: clamp(4.5rem, 9vw, 7.5rem) 0 clamp(2.8rem, 5vw, 3.8rem); overflow: hidden; }
.subhero-media { position: absolute; inset: 0; z-index: 0; }
.subhero-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.32; }
.subhero .container { position: relative; z-index: 2; }
.subhero .eyebrow { color: var(--accent); }
.subhero h1 { font-size: clamp(2rem, 5vw, 3.4rem); max-width: 20ch; margin-bottom: 1rem; }
.subhero p { color: rgba(255, 255, 255, 0.78); max-width: 62ch; font-size: clamp(1rem, 1.6vw, 1.15rem); }
.subhero-actions { margin-top: 1.7rem; display: flex; gap: 0.8rem; flex-wrap: wrap; }
.breadcrumb { font-size: 0.85rem; color: rgba(255, 255, 255, 0.55); margin-bottom: 1.3rem; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { opacity: 0.5; margin: 0 0.4rem; }

/* Projects filter + gallery */
.filter-bar { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2.2rem; }
.filter-group-label { width: 100%; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0.6rem 0 0.1rem; }
.filter-btn { padding: 0.55rem 1.1rem; border-radius: var(--pill); border: 1.5px solid var(--line-strong); background: transparent; font-family: var(--font-text); font-weight: 600; font-size: 0.9rem; cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s; color: var(--ink); }
.filter-btn:hover { border-color: var(--ink); }
.filter-btn.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.projects-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.project-card { border-radius: var(--r); overflow: hidden; background: var(--paper-2); border: 1px solid var(--line); box-shadow: var(--sh-1); display: flex; flex-direction: column; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.project-card:hover { transform: translateY(-4px); box-shadow: var(--sh-card); }
.project-card figure { margin: 0; aspect-ratio: 4/3; overflow: hidden; }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.project-card:hover img { transform: scale(1.05); }
.project-info { padding: 1.1rem 1.2rem 1.3rem; }
.project-jk { font-size: 0.82rem; color: var(--accent); font-weight: 700; }
.project-info h3 { font-size: 1.12rem; margin: 0.25rem 0 0.4rem; }
.project-meta { color: var(--muted); font-size: 0.9rem; }
.project-card[hidden] { display: none; }
.projects-empty { color: var(--muted); padding: 2rem 0; }

/* Process page steps */
.proc-list { display: grid; gap: 1.2rem; }
.proc-row { display: grid; grid-template-columns: 88px 1fr; gap: clamp(1rem, 3vw, 2.4rem); align-items: start; padding: 1.6rem 0; border-top: 1px solid var(--line-strong); }
.proc-row:first-child { border-top: none; }
.proc-n { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 5vw, 3rem); color: var(--accent); line-height: 1; }
.proc-row h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.proc-row p { color: var(--muted); margin: 0 0 0.6rem; }
.proc-row ul { margin: 0; padding-left: 1.1rem; color: var(--muted); display: grid; gap: 0.3rem; }
.prod-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.prod-gallery figure { margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--sh-1); }
.prod-gallery img { width: 100%; height: 100%; object-fit: cover; }

/* For-designers page */
.partner-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.partner-benefits .why-item h3 { margin-bottom: 0.4rem; }
.terms-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.term-card { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r); padding: 1.4rem 1.5rem; }
.term-card span { display: block; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.4rem; }
.term-card b { font-family: var(--font-display); font-size: 1.05rem; }
.designer-form-section { background: var(--sand); }
.designer-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.designer-form-card { background: var(--paper-2); border-radius: var(--r-lg); padding: clamp(1.6rem, 3vw, 2.2rem); box-shadow: var(--sh-2); }

@media (max-width: 1020px) {
  .projects-gallery { grid-template-columns: repeat(2, 1fr); }
  .prod-gallery { grid-template-columns: repeat(2, 1fr); }
  .partner-benefits { grid-template-columns: repeat(2, 1fr); }
  .terms-cards { grid-template-columns: 1fr; }
  .designer-form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .projects-gallery { grid-template-columns: 1fr; }
  .prod-gallery { grid-template-columns: 1fr; }
  .partner-benefits { grid-template-columns: 1fr; }
  .proc-row { grid-template-columns: 1fr; gap: 0.6rem; }
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.is-visible { opacity: 1; transform: none; }
/* Hero copy and the lead form are the first screen: show them with the CSS,
   do not wait for the scroll observer. */
.hero .reveal { opacity: 1; transform: none; }

@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(0.98); } to { opacity: 1; transform: none; } }

/* =========================================================
   Responsive
========================================================= */
@media (max-width: 1200px) {
  .hero-grid { grid-template-columns: 1.1fr 0.95fr; }
  .solutions-grid { grid-auto-rows: 200px; }
}

@media (max-width: 1020px) {
  /* Blur over the full-screen hero is expensive on mid-range phones. */
  .site-header::before { background: rgba(245, 242, 236, 0.97); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .chip { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255, 255, 255, 0.16); }
  .mobile-cta { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(245, 242, 236, 0.98); }
  .nav-toggle { display: flex; }
  .main-nav { position: fixed; inset: 0 0 0 auto; width: min(84vw, 340px); background: var(--paper); box-shadow: var(--sh-2); transform: translateX(100%); transition: transform 0.3s ease; padding: 5.5rem 1.6rem 2rem; z-index: 59; }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0.4rem; }
  .main-nav li a { display: block; padding: 0.75rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav-cta { text-align: center; margin-top: 0.6rem; border: none; font-size: 1rem !important; padding: 0.85rem 1.4rem !important; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { min-height: auto; padding: 3rem 0 3rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-scrim { background: linear-gradient(0deg, rgba(12,12,14,0.9) 0%, rgba(12,12,14,0.5) 60%, rgba(12,12,14,0.35) 100%); }
  /* Stacked: copy → form → cases, so the form stays above the fold. */
  .hero-form { grid-column: auto; grid-row: auto; }
  .hero-cases { grid-column: auto; grid-row: auto; }
  .hero-cases-list { max-width: none; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.4rem 1rem; }
  .solutions-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .tile-lg { grid-column: span 2; grid-row: span 1; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-media { aspect-ratio: 16/11; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .process-track { grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
  .reviews-grid { grid-template-columns: 1fr; }
  .cta-inner { grid-template-columns: 1fr; }
  .footer-flex { grid-template-columns: 1fr; gap: 1.6rem; }
  .designers-grid { grid-template-columns: 1fr; gap: 2rem; }

  .topbar-item:nth-child(3), .topbar-dot:nth-of-type(2) { display: none; }
  .mobile-cta { display: flex; }
  .call-sticky { display: none; }
  body { padding-bottom: 100px; }

  .packages-grid { grid-template-columns: 1fr; }

  /* Lift floating messengers above the sticky mobile CTA bar */
  .msgr-fab { bottom: calc(100px + 0.7rem); flex-direction: row; }
  .msgr-btn { width: 48px; height: 48px; }
  .msgr-btn svg { width: 25px; height: 25px; }

  /* Hero form on mobile — full readable width */
  .hero-form { border-radius: var(--r); }
  .hero-form-head strong { font-size: 1.15rem; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .form-row { grid-template-columns: 1fr; }
  .solutions-grid { grid-template-columns: 1fr; grid-auto-rows: 210px; }
  .tile-lg { grid-column: span 1; }
  .why-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
  .process-track { grid-template-columns: 1fr; }
  .hero-copy h1 { font-size: clamp(1.8rem, 7.5vw, 2.4rem); }
  .hero-case { grid-template-columns: 44px 1fr auto; gap: 0.7rem; padding: 0.45rem 0.75rem 0.45rem 0.45rem; }
  .hero-case img { width: 44px; height: 44px; }
  .hero-case-name { font-size: 0.86rem; }
  .hero-case-meta { font-size: 0.74rem; }
  .hero-case-price { font-size: 0.82rem; }
  .topbar-inner { justify-content: space-between; }
  .topbar-item, .topbar-dot { display: none; }
  .topbar-phone { margin: 0 auto; }

  /* Designers on small phones */
  .designers-copy h2 { font-size: clamp(1.7rem, 8vw, 2.2rem); }
  .designers-list li { font-size: 0.95rem; }

  /* Stats on small phones */
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  /* Modal full-screen on very small */
  .modal-dialog { max-width: 100%; border-radius: var(--r) var(--r) 0 0; margin-top: auto; }
  .modal { align-items: flex-end; padding: 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
