/* ============================================================
   RK Concrete — Design System v3
   Premium construction landing · light theme
   ============================================================ */

:root {
  --bg:       #F5F7F8;
  --surface:  #FFFFFF;
  --surf2:    #EEF1F3;
  --surf3:    #E2E6E9;

  --ink:      #3A3228;
  --ink2:     #5C5348;
  --ink3:     #8A8175;

  --line:     #D9D5CE;
  --line2:    #C4BFB6;

  --accent:   #B85A2A;
  --accent-d: #934820;
  --accent-l: #FBF0E8;

  --earth:    #6B5344;
  --blue:     #3A5F7D;
  --blue-d:   #2B4A63;
  --blue-l:   #E8F0F5;
  --sand:     #E8E4DC;
  --green:    #3D6B4F;
  --footer:   #2A2118;

  /* Shadows — brown/blue tinted, not black */
  --sh:    0 1px 2px rgba(58,50,40,.06), 0 3px 10px rgba(58,95,125,.05);
  --sh-md: 0 6px 28px rgba(58,50,40,.11);
  --sh-lg: 0 16px 56px rgba(58,50,40,.14);

  /* Easing — custom curves (Emil principle) */
  --ease-out:  cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io:   cubic-bezier(0.77, 0, 0.175, 1);

  /* Type */
  --fd: "Montserrat", system-ui, sans-serif;
  --fb: "Open Sans", system-ui, sans-serif;

  /* Radius — 14px cap on cards, 8px default */
  --r:    8px;
  --r-sm: 4px;
  --r-lg: 14px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--fb);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: var(--fb); cursor: pointer; }
.container { max-width: 1220px; margin: 0 auto; padding: 0 24px; }

h1,h2,h3 {
  font-family: var(--fd); font-weight: 600;
  line-height: 1.12; letter-spacing: -.02em;
  text-wrap: balance;
  overflow-wrap: break-word;
}
h1 { font-size: clamp(32px, 4vw, 48px); }
h2 { font-size: clamp(20px, 2.6vw, 30px); margin-bottom: 8px; }
h3 { font-size: clamp(20px, 2vw, 26px); }

/* Price / марка / м³ hooks */
.text-price {
  font-family: var(--fd); font-weight: 700;
  font-size: 18px; color: var(--accent); line-height: 1.2;
}
.text-mark {
  font-family: var(--fd); font-weight: 700;
  font-size: 16px; color: var(--ink); line-height: 1.2;
}
.text-unit {
  font-family: var(--fb); font-weight: 600;
  font-size: 14px; color: var(--ink3);
}
.text-spec {
  font-family: var(--fb); font-weight: 700;
  font-size: 16px; color: var(--ink); line-height: 1.3;
}

.section { padding: 88px 0; }
.section-label {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.section-sub { color: var(--ink3); max-width: 520px; font-size: 15px; margin-top: 8px; }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; margin-bottom: 44px; flex-wrap: wrap;
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px;
  font-weight: 700; font-size: 14px; letter-spacing: .01em;
  border: 2px solid transparent; cursor: pointer;
  font-family: var(--fb);
  transition: background .18s var(--ease-out),
              color .18s var(--ease-out),
              border-color .18s var(--ease-out),
              transform .13s var(--ease-out),
              box-shadow .18s var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover {
  background: var(--accent-d);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(184,90,42,.3);
}
.btn-primary:active { transform: scale(0.97); }
.btn-ghost {
  background: var(--surface); color: var(--ink2);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-white { background: #fff; color: var(--accent); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,255,255,.22); }
.btn-outline-accent { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-outline-accent:hover { background: var(--accent); color: #fff; }

/* ── Header — floating glass dock ── */
.header {
  position: sticky; top: 0; z-index: 100;
  padding: 12px 16px 0;
  background: transparent;
  border: none;
  box-shadow: none;
}
.header::after { display: none; }
.header-inner {
  display: flex; align-items: center; gap: 20px;
  height: 58px;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 10px 0 22px;
  background: rgba(42, 33, 24, .90);
  backdrop-filter: blur(22px) saturate(1.2);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .06) inset,
    0 10px 36px rgba(44, 36, 28, .22);
}
.header .logo {
  font-family: var(--fd); font-size: 18px; font-weight: 700;
  letter-spacing: -.02em; white-space: nowrap; flex-shrink: 0;
  color: #fff;
}
.header .logo span { color: #E08A52; }
.nav {
  display: flex; align-items: center; gap: 2px;
  margin: 0 auto;
}
.nav a {
  font-size: 13px; font-weight: 600;
  color: rgba(255, 255, 255, .72);
  transition: color .18s var(--ease-out), background .18s var(--ease-out);
  padding: 8px 13px;
  border-radius: 999px;
  border-bottom: none;
  white-space: nowrap;
}
.nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, .1);
  border-bottom-color: transparent;
}
.nav a[aria-current="page"] {
  color: #fff;
  background: rgba(255, 255, 255, .14);
}
.header-contacts { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-phone {
  font-weight: 700; font-size: 13px; white-space: nowrap;
  color: rgba(255, 255, 255, .88);
  transition: color .18s;
}
.header-phone:hover { color: #fff; }
.header .msg-icons { display: flex; gap: 6px; }
.header .msg-icons a {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .1);
  display: grid; place-items: center;
  transition: background .18s, transform .13s, color .18s, border-color .18s;
  color: rgba(255, 255, 255, .78);
}
.header .msg-icons a:hover {
  background: var(--accent); color: #fff;
  border-color: transparent;
  transform: translateY(-1px);
}
.header .msg-icons a:active { transform: scale(0.94); }
.header .msg-icons svg { width: 16px; height: 16px; fill: currentColor; }
.header .btn-primary {
  padding: 9px 18px;
  font-size: 13px;
  box-shadow: 0 0 0 1px rgba(224, 138, 82, .25), 0 6px 18px rgba(184, 90, 42, .35);
}
.header .burger {
  display: none; background: none; border: none;
  color: #fff; padding: 6px; border-radius: 50%;
  transition: background .18s;
}
.header .burger:hover { background: rgba(255, 255, 255, .1); }

/* fallback for pages that still use unscoped logo rules */
.logo {
  font-family: var(--fd); font-size: 19px; font-weight: 700;
  letter-spacing: -.02em; white-space: nowrap; flex-shrink: 0;
}
.logo span { color: var(--accent); }
.msg-icons { display: flex; gap: 6px; }
.msg-icons a {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--sand); display: grid; place-items: center;
  transition: background .18s, transform .13s; color: var(--ink2);
}
.msg-icons a:hover { background: var(--accent-l); color: var(--accent); transform: translateY(-2px); }
.msg-icons a:active { transform: scale(0.94); }
.msg-icons svg { width: 17px; height: 17px; fill: currentColor; }
.burger { display: none; background: none; border: none; font-size: 24px; color: var(--ink); padding: 4px; }

/* ── Hero ── */
.hero { overflow: hidden; position: relative; }

.hero-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100dvh - 68px);
}

.hero-content {
  padding: 56px 60px 56px clamp(24px, calc((100vw - 1220px) / 2 + 24px), 160px);
  padding-top: max(56px, calc((100dvh - 68px - 560px) / 2));
  display: flex; flex-direction: column; justify-content: flex-start;
  position: relative;
}
/* Subtle concrete texture on hero left side */
.hero-content::before {
  content: "";
  position: absolute; inset: 0;
  background: url('../assets/img/cats/cat-fibro.jpg') center/cover;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}
.hero-content > * { position: relative; z-index: 1; }
/* Large decorative text in hero background */
.hero-content::after {
  content: "М³";
  position: absolute; right: 32px; bottom: 24px;
  font-family: var(--fd); font-size: clamp(80px, 12vw, 140px);
  font-weight: 700; line-height: 1;
  color: var(--surf3); opacity: 0.7;
  letter-spacing: -0.03em; pointer-events: none;
  z-index: 0; user-select: none;
}

.hero-loc {
  font-size: 12px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink3); margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  margin-bottom: 10px; line-height: 1.06; letter-spacing: -.025em;
}
.hero-subhead {
  font-family: var(--fb);
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 500;
  color: var(--earth);
  letter-spacing: .02em;
  line-height: 1.35;
  margin: 0 0 18px;
  max-width: 440px;
}
.hero-subhead strong {
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}
.hero-sub {
  font-size: 17px; color: var(--ink2); max-width: 440px;
  line-height: 1.6; margin-bottom: 28px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-stats { display: flex; gap: 0; }
.hero-stat {
  padding: 0 28px 0 0;
  margin-right: 28px;
  border-right: 1px solid var(--line);
}
.hero-stat:last-child { border-right: none; padding-right: 0; margin-right: 0; }
.hero-stat strong {
  display: block;
  font-family: var(--fd); font-size: 26px; font-weight: 700;
  color: var(--accent); line-height: 1;
}
.hero-stat span { display: block; font-size: 12px; color: var(--ink3); margin-top: 4px; }

.hero-img-wrap {
  position: relative; overflow: hidden;
  /* architectural: no border-radius, no box-shadow */
}
.hero-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  filter: saturate(.92) contrast(1.03);
  transition: transform 7s ease;
}
.hero-body:hover .hero-img-wrap img { transform: scale(1.04); }

.hero-badge {
  position: absolute; bottom: 24px; left: 24px;
  background: rgba(255,255,255,.95); backdrop-filter: blur(8px);
  border-radius: 12px; padding: 12px 18px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--sh-md);
}
.hero-badge-stars { color: #F5A623; font-size: 14px; letter-spacing: 1px; }
.hero-badge-num { font-family: var(--fd); font-size: 22px; font-weight: 700; line-height: 1; }
.hero-badge-sub { font-size: 11px; color: var(--ink3); margin-top: 2px; }

/* ── Marquee ── */
.marquee {
  background: var(--ink);
  overflow: hidden; padding: 14px 0;
}
.marquee-track {
  display: flex; gap: 0; width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee-track span {
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.5); white-space: nowrap; padding: 0 24px;
  border-right: 1px solid rgba(255,255,255,.1);
}
.marquee-track span:last-child { border-right: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Category cards ── */
.cats-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}
.cat-card {
  position: relative; border-radius: var(--r-lg);
  overflow: hidden; display: flex; align-items: flex-end;
  cursor: pointer; text-decoration: none;
  transition: transform .28s var(--ease-out);
}
.cat-card:hover { transform: translateY(-4px); }
.cat-card img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform .5s var(--ease-out);
}
.cat-card:hover img { transform: scale(1.06); }
.cat-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(14,10,5,.80));
}
.cat-info { position: relative; z-index: 2; padding: 18px 20px; color: #fff; width: 100%; }
.cat-info h3 { font-size: 15px; margin-bottom: 2px; letter-spacing: -.01em; }
.cat-info .cat-price { font-size: 15px; color: rgba(255,210,170,.95); font-weight: 700; }
.cat-info .cat-count { font-size: 11px; opacity: .65; margin-top: 2px; }

/* Mosaic layout — explicit row heights so every row is perfectly even */
.cats-grid {
  grid-template-rows: 340px 240px 240px;
}
.cat-card:nth-child(1) { grid-column: 1/8;  grid-row: 1; }
.cat-card:nth-child(2) { grid-column: 8/13; grid-row: 1; }
.cat-card:nth-child(3) { grid-column: 1/5;  grid-row: 2; }
.cat-card:nth-child(4) { grid-column: 5/9;  grid-row: 2; }
.cat-card:nth-child(5) { grid-column: 9/13; grid-row: 2; }
.cat-card:nth-child(6) { grid-column: 1/5;  grid-row: 3; }
.cat-card:nth-child(7) { grid-column: 5/9;  grid-row: 3; }
.cat-card:nth-child(8) { grid-column: 9/13; grid-row: 3; }

/* ── Popular products grid ── */
.popular-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

/* Card with image on top */
.prod-card {
  background: var(--surface);
  border-radius: var(--r);
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  box-shadow: var(--sh);
  transition: transform .22s var(--ease-out), box-shadow .22s var(--ease-out);
}
.prod-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.prod-card:active { transform: scale(0.98); }

/* Card with image */
.prod-card-img {
  aspect-ratio: 16/10; overflow: hidden; flex-shrink: 0;
}
.prod-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease-out);
}
.prod-card:hover .prod-card-img img { transform: scale(1.06); }

.prod-card-body {
  padding: 20px 22px 24px; flex: 1;
  display: flex; flex-direction: column; gap: 6px;
  position: relative;
}

/* Featured dark card (first) */
.prod-card--featured {
  background: var(--ink); color: #fff;
  box-shadow: none;
}
.prod-card--featured .prod-cat,
.prod-card--featured .prod-desc,
.prod-card--featured .prod-price small { color: rgba(255,255,255,.45); }
.prod-card--featured .prod-price { color: #FFD9C2; }
.prod-card--featured .hit { background: rgba(255,255,255,.12); color: rgba(255,255,255,.9); }
.prod-card--featured:hover { box-shadow: var(--sh-md); }

/* Featured content area (no image, more padding) */
.prod-card--featured .prod-card-body {
  padding: 32px 28px;
  flex: 1; justify-content: flex-end;
  position: relative; overflow: hidden;
  min-height: 200px;
}
.prod-card--featured .prod-card-body::before {
  content: "М\B3"; /* м³ hint */
  position: absolute; right: -12px; bottom: -28px;
  font-family: var(--fd); font-size: 120px; font-weight: 700;
  color: rgba(255,255,255,.04); line-height: 1; pointer-events: none;
  letter-spacing: -.04em;
}

.hit {
  position: absolute; top: 14px; right: 14px;
  font-size: 10px; font-weight: 800; letter-spacing: .1em;
  padding: 4px 10px; border-radius: 999px;
  background: var(--accent-l); color: var(--accent);
}
.prod-cat {
  font-size: 10px; text-transform: uppercase; letter-spacing: .12em;
  color: var(--ink3); font-weight: 700;
}
.prod-card h3 { font-size: 18px; margin: 2px 0; line-height: 1.2; }
.prod-desc { font-size: 13px; color: var(--ink3); flex: 1; line-height: 1.5; }
.prod-price {
  font-family: var(--fd); font-size: 20px; font-weight: 700;
  color: var(--accent); margin-top: 8px; line-height: 1.2;
}
.prod-price small {
  font-family: var(--fb); font-size: 14px; color: var(--ink3); font-weight: 600;
}

/* ── Steps section dark anchor ── */
.steps-section {
  background: var(--ink); padding: 72px 0;
}
.steps-section h2 { color: #fff; }

/* ── How to order: steps ── */
.steps-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 0; position: relative; padding-top: 8px;
}
.steps-grid::before {
  content: ""; position: absolute;
  top: 29px;
  left: calc(10% + 24px);
  right: calc(10% + 24px);
  height: 1px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--line2) 50%, var(--line2) 100%);
  z-index: 0;
}
.step-item {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 0 8px; position: relative;
}
.step-icon-wrap {
  width: 48px; height: 48px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.07);
  display: grid; place-items: center;
  z-index: 1; flex-shrink: 0; margin-bottom: 16px;
  transition: border-color .2s, background .2s;
}
.step-icon-wrap svg {
  width: 20px; height: 20px; stroke: rgba(255,255,255,.6); fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  transition: stroke .2s;
}
.step-item:first-child .step-icon-wrap {
  border-color: var(--accent);
  background: rgba(184,90,42,.25);
}
.step-item:first-child .step-icon-wrap svg { stroke: #FFD9C2; }
.step-item:hover .step-icon-wrap {
  border-color: var(--accent); background: rgba(184,90,42,.3);
}
.step-item:hover .step-icon-wrap svg { stroke: #FFD9C2; }
.step-title { font-family: var(--fd); font-size: 12px; font-weight: 600; margin-bottom: 6px; color: #fff; }
.step-desc { font-size: 12px; color: rgba(255,255,255,.5); line-height: 1.5; }
/* Update connecting line for dark bg */
.steps-grid::before {
  background: linear-gradient(90deg, var(--accent) 0%, rgba(255,255,255,.15) 50%, rgba(255,255,255,.15) 100%);
}

/* ── Request form ── */
.request-wrap {
  border-radius: var(--r-lg);
  overflow: hidden; display: grid; grid-template-columns: 1fr 1fr;
  box-shadow: var(--sh-lg);
}
.request-left {
  padding: 52px 48px; display: flex; flex-direction: column; justify-content: center;
  background: var(--footer);
  position: relative; overflow: hidden;
}
.request-left::before {
  content: "15";
  position: absolute; right: -24px; bottom: -28px;
  font-family: var(--fd); font-size: 200px; font-weight: 700;
  color: rgba(255,255,255,.04); line-height: 1; pointer-events: none;
  letter-spacing: -0.04em;
}
.request-left h2 { color: #fff; font-size: clamp(22px, 2.4vw, 30px); margin-bottom: 12px; }
.request-left p { color: rgba(255,255,255,.5); font-size: 14px; margin-bottom: 28px; }
.request-contacts { display: flex; flex-direction: column; gap: 10px; }
.request-contacts a {
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,.75); font-weight: 700; font-size: 15px;
  transition: color .18s;
}
.request-contacts a:hover { color: #fff; }
.request-contacts svg { width: 18px; height: 18px; fill: currentColor; opacity: .55; }

.request-right { padding: 52px 48px; background: #fff; }
.request-form { display: grid; gap: 12px; height: 100%; }
.request-form select,
.request-form input {
  padding: 14px 16px; border-radius: var(--r);
  border: 1.5px solid var(--line); font-size: 15px;
  font-family: var(--fb); background: var(--bg); color: var(--ink);
  width: 100%;
  transition: border-color .18s;
  -webkit-appearance: none; appearance: none;
}
.request-form select:focus,
.request-form input:focus { outline: none; border-color: var(--accent); }
.request-form .btn { justify-content: center; margin-top: 4px; }
.form-note { font-size: 11px; color: var(--ink3); text-align: center; }

/* ── Grade comparison ── */
.grades {
  width: 100%; border-collapse: collapse;
  background: var(--surface); border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}
.grades th, .grades td {
  padding: 16px 22px; text-align: left;
  border-bottom: 1px solid var(--line); font-size: 14px;
}
.grades th {
  background: var(--surf2); font-family: var(--fd);
  font-size: 11px; font-weight: 600; letter-spacing: .08em;
}
.grades tr:last-child td { border-bottom: none; }
.grades td:nth-child(2) {
  font-family: var(--fd); font-weight: 700; color: var(--ink); font-size: 16px;
}
.grades td:last-child {
  font-family: var(--fd); font-size: 16px; font-weight: 700;
  color: var(--accent); white-space: nowrap;
}

/* ── Collapsible concrete price table (home) ── */
.price-fold-section {
  padding-top: 48px;
  padding-bottom: 48px;
}
.price-fold {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.price-fold-summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 28px;
  user-select: none;
}
.price-fold-summary::-webkit-details-marker { display: none; }
.price-fold-summary-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.price-fold-title {
  font-family: var(--fd);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}
.price-fold-meta {
  font-size: 15px;
  color: var(--ink2);
  line-height: 1.4;
}
.price-fold-meta strong {
  color: var(--accent);
  font-weight: 700;
}
.price-fold-toggle {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--accent-l);
  transition: background .2s, transform .2s;
}
.price-fold-toggle svg {
  transition: transform .25s ease;
}
.price-fold:not([open]) .price-fold-toggle-open { display: none; }
.price-fold[open] .price-fold-toggle-closed { display: none; }
.price-fold[open] .price-fold-toggle svg { transform: rotate(180deg); }
.price-fold-summary:hover .price-fold-toggle { background: #f3e0d4; }
.price-fold-body {
  padding: 0 28px 28px;
  border-top: 1px solid var(--line);
}
.price-fold-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 20px;
}
.price-table { margin: 0; }
.price-table td:nth-child(2) {
  font-family: var(--fd);
  font-weight: 700;
  color: var(--ink);
  font-size: 16px;
}
.price-fold-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
.price-fold-note {
  margin-top: 14px;
  font-size: 12px;
  color: var(--ink3);
  line-height: 1.45;
}

@media (max-width: 640px) {
  .price-fold-section { padding-top: 36px; padding-bottom: 36px; }
  .price-fold-summary { padding: 18px 18px; gap: 12px; }
  .price-fold-body { padding: 0 18px 20px; }
  .price-fold-toggle { padding: 8px 12px; font-size: 12px; }
  .price-fold-toggle-open,
  .price-fold-toggle-closed { display: none !important; }
}

/* ── CTA Mid-page strip ── */
.cta-strip { background: var(--accent); padding: 28px 0; }
.cta-strip-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.cta-strip-text { color: #fff; font-size: 18px; font-weight: 700; }
.cta-strip-text span { opacity: .75; font-size: 14px; font-weight: 500; display: block; margin-top: 2px; }
.cta-strip-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-strip {
  padding: 12px 24px; border-radius: 999px; font-weight: 700;
  font-size: 14px; cursor: pointer;
  transition: background .18s, transform .13s, box-shadow .18s;
  border: 2px solid transparent; font-family: var(--fb);
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
}
.btn-strip:active { transform: scale(0.97); }
.btn-strip-white { background: #fff; color: var(--accent); }
.btn-strip-white:hover { background: rgba(255,255,255,.9); transform: translateY(-2px); }
.btn-strip-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-strip-outline:hover { border-color: #fff; }

/* ── About ── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-quote {
  font-family: var(--fd); font-size: clamp(17px, 1.9vw, 21px);
  line-height: 1.45; color: var(--ink); margin: 24px 0;
  padding-left: 20px; border-left: 3px solid var(--accent);
}
.about-list { display: grid; gap: 12px; margin-top: 24px; }
.about-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14px; color: var(--ink2); line-height: 1.5;
}
.about-list li::before {
  content: ""; flex-shrink: 0;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent-l);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%232D6841' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
  margin-top: 2px;
}
.about-img-wrap { position: relative; }
.about-img-wrap img {
  border-radius: var(--r-lg);
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}
.about-stamp {
  position: absolute; top: -16px; right: -16px;
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(184,90,42,.35);
}
.about-stamp .stamp-num { font-family: var(--fd); font-size: 20px; font-weight: 700; line-height: 1; }
.about-stamp .stamp-text { font-size: 9px; text-transform: uppercase; letter-spacing: .1em; opacity: .85; }

/* ── Works ── photos are portrait 3:4, videos are landscape 16:9 */
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.work {
  position: relative; border-radius: var(--r-lg);
  overflow: hidden; cursor: pointer;
}
.work img, .work video {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .5s var(--ease-out);
}
.work:hover img { transform: scale(1.04); }
.work-tag {
  position: absolute; left: 12px; bottom: 12px;
  background: rgba(249,249,247,.92); backdrop-filter: blur(6px);
  padding: 5px 12px; border-radius: 999px;
  font-size: 11px; font-weight: 700; color: var(--ink2); z-index: 2;
}
/* Portrait photos — correct 3:4 ratio */
.work.work-photo { aspect-ratio: 3/4; }
/* Landscape videos */
.work.work-video { aspect-ratio: 16/9; }

/* ── Reviews ── */
/* 2 cols: featured spans full width (row 1), two regular below (row 2) */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* Featured large review (spans full width) */
.review-featured {
  grid-column: 1 / -1;
  background: var(--ink);
  border-radius: var(--r-lg); padding: 48px;
  color: #fff; position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
}
.review-featured::before {
  content: "\201C";
  position: absolute; right: 36px; top: 16px;
  font-family: Georgia, serif; font-size: 180px;
  color: rgba(255,255,255,.05); line-height: 1; pointer-events: none;
}
.review-featured .review-text {
  font-size: clamp(16px, 1.6vw, 19px); font-weight: 600;
  line-height: 1.6; color: rgba(255,255,255,.92);
  max-width: 560px; margin-bottom: 28px; position: relative;
}
.review-featured .review-stars { color: #F5A623; letter-spacing: 2px; font-size: 15px; margin-bottom: 18px; }
.review-featured .review-name { font-size: 14px; font-weight: 700; color: #fff; }
.review-featured .review-src { font-size: 12px; color: rgba(255,255,255,.4); margin-top: 3px; }

/* Regular review cards */
.review {
  background: var(--surface);
  border-radius: var(--r-lg); padding: 28px 24px;
  display: flex; flex-direction: column; gap: 0; position: relative;
  border: 1px solid var(--line);
}
.review-quote {
  font-family: Georgia, serif; font-size: 48px; line-height: 1;
  color: var(--accent); opacity: .2; position: absolute; top: 18px; right: 20px;
}
.review-stars { color: #F5A623; font-size: 14px; letter-spacing: 2px; margin-bottom: 14px; }
.review-text { font-size: 14px; color: var(--ink2); line-height: 1.65; flex: 1; margin-bottom: 20px; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--sand); display: grid; place-items: center;
  font-family: var(--fd); font-size: 13px; font-weight: 700; color: var(--ink2);
  flex-shrink: 0;
}
.review-name { font-size: 13px; font-weight: 700; }
.review-src { font-size: 11px; color: var(--ink3); }

/* ── FAQ ── */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-top: 1px solid var(--line); overflow: hidden; }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary {
  padding: 22px 4px; font-weight: 700; font-size: 15px;
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  transition: color .18s;
}
.faq-item summary:hover { color: var(--accent); }
.faq-item summary::after { content: "+"; font-size: 20px; color: var(--accent); flex-shrink: 0; transition: transform .22s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item div { padding: 0 4px 22px; color: var(--ink2); font-size: 14px; line-height: 1.65; }

/* ── Contacts ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px; align-items: stretch; }
.contact-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 36px;
  display: flex; flex-direction: column; gap: 24px;
}
.contact-label { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink3); margin-bottom: 6px; }
.contact-val { font-weight: 700; font-size: 16px; }
.contact-val a:hover { color: var(--accent); }
.contact-msg {
  display: flex; align-items: center; gap: 14px;
}
.contact-msg-icon {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  background: var(--accent-l); color: var(--accent);
  display: grid; place-items: center;
  transition: background .18s var(--ease-out), color .18s var(--ease-out), transform .13s var(--ease-out);
}
a.contact-msg-icon:hover {
  background: var(--accent); color: #fff;
  transform: translateY(-1px);
}
a.contact-msg-icon:active { transform: scale(0.96); }
.contact-msg-icon svg { width: 20px; height: 20px; fill: currentColor; }
.contact-msg-body { min-width: 0; }
.contact-msg-icons a {
  width: 42px; height: 42px;
  background: var(--accent-l); color: var(--accent);
}
.contact-msg-icons a:hover {
  background: var(--accent); color: #fff;
}
.contact-msg-icons svg { width: 20px; height: 20px; }
.map-frame { border-radius: var(--r-lg); overflow: hidden; min-height: 360px; }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ── Footer ── */
.footer { background: var(--footer); color: rgba(255,255,255,.5); padding: 60px 0 28px; margin-top: 88px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 40px; margin-bottom: 48px; }
.footer .logo { color: #fff; }
.footer-about { font-size: 13px; margin-top: 16px; line-height: 1.6; }
.footer h4 { color: #fff; font-size: 11px; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 18px; font-family: var(--fd); }
.footer a { display: block; padding: 4px 0; font-size: 13px; transition: color .15s; }
.footer a:hover { color: #fff; }
.footer .msg-icons {
  display: flex; gap: 8px; margin: 12px 0 14px;
}
.footer .msg-icons a {
  display: grid; place-items: center;
  width: 36px; height: 36px; padding: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.78);
  transition: background .18s, color .18s, transform .13s;
}
.footer .msg-icons a:hover {
  background: var(--accent); color: #fff; transform: translateY(-1px);
}
.footer .msg-icons svg { width: 17px; height: 17px; fill: currentColor; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px;
  font-size: 12px; color: rgba(255,255,255,.28);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}

/* ── Geography (Vistino-style hub / city landings) ── */
.geo-hero .geo-crumbs { margin-bottom: 16px; }

.geo-trust {
  background: var(--ink);
  padding: 22px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.geo-trust-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px 20px;
}
.geo-trust-item {
  padding: 4px 0;
  border-left: 1px solid rgba(255,255,255,.12);
  padding-left: 18px;
}
.geo-trust-item:first-child { border-left: none; padding-left: 0; }
.geo-trust-item strong {
  display: block;
  font-family: var(--fd);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.01em;
  margin-bottom: 4px;
}
.geo-trust-item span {
  display: block;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255,255,255,.55);
}

.geo-crumbs {
  font-size: 13px; color: var(--ink3); margin-bottom: 12px;
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
}
.geo-crumbs a { color: var(--ink3); }
.geo-crumbs a:hover { color: var(--accent); }
.geo-price-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(20px, 3vw, 32px);
  box-shadow: var(--sh);
}
.geo-price-panel-head {
  display: flex; justify-content: space-between; gap: 16px;
  align-items: flex-start; flex-wrap: wrap; margin-bottom: 18px;
}
.geo-price-panel-head .section-sub { margin-top: 6px; max-width: 520px; }
.geo-price-actions {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 18px; margin-bottom: 10px;
}
.geo-facts {
  display: flex; flex-wrap: wrap; gap: 10px 14px;
  margin-bottom: 18px; font-size: 13px; color: var(--ink2);
}
.geo-facts span {
  background: var(--surf2); border: 1px solid var(--line);
  border-radius: var(--r); padding: 8px 12px;
}
.geo-cats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.geo-cat {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .28s var(--ease-out), box-shadow .28s var(--ease-out), border-color .2s;
}
.geo-cat:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-md);
  border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
}
.geo-cat img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: saturate(.92) contrast(1.03);
  transition: transform 5s var(--ease-out);
}
.geo-cat:hover img { transform: scale(1.04); }
.geo-cat-body { padding: 16px 18px 18px; }
.geo-cat-body h3 {
  font-size: 17px;
  margin-bottom: 6px;
}
.geo-cat-price {
  font-family: var(--fd);
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
}
.geo-cat-meta {
  font-size: 12px;
  color: var(--ink3);
}
.geo-why { align-items: center; }
.geo-split {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start;
}
.geo-side {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
}
.geo-side h3 { margin-bottom: 14px; font-size: 18px; }
.geo-side ul { display: grid; gap: 10px; margin-bottom: 14px; }
.geo-side li {
  font-size: 14px; color: var(--ink2); line-height: 1.55;
  padding-left: 14px; position: relative;
}
.geo-side li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}
.geo-usecase-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px;
}
.geo-usecase {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 18px;
  transition: border-color .2s var(--ease-out), transform .2s var(--ease-out);
}
.geo-usecase:hover {
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
  transform: translateY(-2px);
}
.geo-usecase-mark {
  display: inline-block; font-family: var(--fd); font-size: 12px; font-weight: 700;
  color: var(--accent); margin-bottom: 8px;
}
.geo-usecase h3 { font-size: 17px; margin-bottom: 8px; }
.geo-usecase p { font-size: 14px; color: var(--ink2); line-height: 1.55; }
.geo-chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.geo-chip {
  display: inline-flex; align-items: center;
  padding: 10px 14px; border-radius: var(--r);
  border: 1px solid var(--line); background: var(--surface);
  font-size: 14px; font-weight: 600; color: var(--ink);
  transition: border-color .15s, color .15s, transform .13s var(--ease-out);
}
.geo-chip:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
.geo-chip:active { transform: scale(0.98); }
.geo-chip--muted { font-weight: 500; color: var(--ink2); }
.geo-card-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
}
.geo-card {
  display: block; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 22px;
  transition: border-color .2s var(--ease-out), transform .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.geo-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--sh-md); }
.geo-card:active { transform: scale(0.99); }
.geo-card-tier {
  display: inline-block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent); font-weight: 700; margin-bottom: 10px;
}
.geo-card h3 { font-size: 20px; margin-bottom: 8px; }
.geo-card p { font-size: 14px; color: var(--ink2); margin-bottom: 14px; }
.geo-card-cta { font-size: 14px; font-weight: 600; color: var(--accent); }
.geo-card--hub {
  display: flex; flex-direction: column;
  min-height: 100%;
  background:
    linear-gradient(165deg, color-mix(in srgb, var(--accent-l) 55%, var(--surface)) 0%, var(--surface) 42%),
    var(--surface);
}
.geo-card--hub .geo-card-eta {
  font-family: var(--fd);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  letter-spacing: -.03em;
  color: var(--ink);
  margin: 4px 0 10px;
  line-height: 1.1;
}
.geo-card--hub p { flex: 1; }
.geo-card--hub .geo-card-cta { margin-top: auto; }

.geo-chip-row--eta .geo-chip {
  gap: 10px;
}
.geo-chip-row--eta .geo-chip em {
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink3);
  font-family: var(--fd);
}

.geo-hub-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  counter-reset: none;
}
.geo-hub-step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px 20px 20px;
  transition: border-color .2s var(--ease-out), transform .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.geo-hub-step:hover {
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
  transform: translateY(-2px);
  box-shadow: var(--sh);
}
.geo-hub-step-num {
  display: block;
  font-family: var(--fd);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--accent);
  margin-bottom: 12px;
}
.geo-hub-step h3 {
  font-size: 17px;
  margin-bottom: 8px;
}
.geo-hub-step p {
  font-size: 14px;
  color: var(--ink2);
  line-height: 1.55;
}

.geo-zone-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 20px;
  margin-top: 22px;
}

.geo-home-section { background: var(--surf2); }
@media (max-width: 960px) {
  .geo-split { grid-template-columns: 1fr; }
  .geo-usecase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .geo-card-grid { grid-template-columns: 1fr; }
  .geo-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .geo-hub-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .geo-trust-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .geo-trust-item { border-left: none; padding-left: 0; border-top: 1px solid rgba(255,255,255,.1); padding-top: 12px; }
  .geo-trust-item:nth-child(-n+2) { border-top: none; padding-top: 0; }
}
@media (max-width: 560px) {
  .geo-usecase-grid { grid-template-columns: 1fr; }
  .geo-cats { grid-template-columns: 1fr; }
  .geo-hub-steps { grid-template-columns: 1fr; }
  .geo-zone-list { grid-template-columns: 1fr; }
  .geo-trust-row { grid-template-columns: 1fr; }
  .geo-trust-item { border-top: 1px solid rgba(255,255,255,.1); padding-top: 12px; }
  .geo-trust-item:first-child { border-top: none; padding-top: 0; }
  .geo-price-actions { flex-direction: column; }
  .geo-price-actions .btn { width: 100%; justify-content: center; }
}

/* ── Scroll reveal (non-gating: visible by default, JS enhances) ── */
.reveal {
  opacity: 1; transform: none;
}
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0; transform: translateY(20px);
    transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
  }
  .reveal.visible { opacity: 1; transform: none; }
}

/* Stagger siblings */
.reveal:nth-child(2) { transition-delay: .07s; }
.reveal:nth-child(3) { transition-delay: .14s; }
.reveal:nth-child(4) { transition-delay: .21s; }
.reveal:nth-child(5) { transition-delay: .28s; }
.reveal:nth-child(6) { transition-delay: .35s; }

/* ── CATALOG PAGE ── */
.catalog-hero {
  background: var(--surf2); border-bottom: 1px solid var(--line);
  padding: 44px 0 36px;
}
.catalog-hero h1 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 8px; }
.catalog-hero .section-sub { max-width: 600px; margin: 8px 0 0; }

.catalog-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px; align-items: start;
  padding-top: 36px;
  padding-bottom: 80px;
}

.cat-sidebar {
  position: sticky; top: 88px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
}
.sidebar-search { padding: 16px; border-bottom: 1px solid var(--line); }
.sidebar-search input {
  width: 100%; padding: 10px 14px;
  border: 1.5px solid var(--line); border-radius: var(--r);
  font-size: 14px; font-family: var(--fb); background: var(--bg);
  transition: border-color .18s;
}
.sidebar-search input:focus { outline: none; border-color: var(--accent); }
.sidebar-section { padding: 20px 20px; border-bottom: 1px solid var(--line); }
.sidebar-section:last-child { border-bottom: none; }
.sidebar-title { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--ink3); margin-bottom: 12px; }
.snav-item {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 9px 12px; border-radius: var(--r-sm);
  background: none; border: none; font-size: 13px; font-weight: 600;
  color: var(--ink2); cursor: pointer; text-align: left; transition: background .16s, color .16s;
}
.snav-item:hover { background: var(--surf2); color: var(--ink); }
.snav-item.active { background: var(--accent-l); color: var(--accent); }
.snav-count {
  font-size: 11px; font-weight: 700; padding: 2px 8px;
  border-radius: 999px; background: var(--sand); color: var(--ink3);
  flex-shrink: 0;
}
.snav-item.active .snav-count { background: rgba(184,90,42,.15); color: var(--accent); }
.grade-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.grade-chip {
  padding: 5px 10px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--surface);
  font-size: 12px; font-weight: 700; color: var(--ink3);
  cursor: pointer; transition: border-color .15s, color .15s, background .15s;
}
.grade-chip:hover { border-color: var(--accent); color: var(--accent); }
.grade-chip.active { background: var(--accent); border-color: var(--accent); color: #fff; }

.catalog-main {}
.catalog-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px; flex-wrap: wrap; gap: 12px;
}
.catalog-count { font-size: 14px; color: var(--ink3); font-weight: 600; }

.prod-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.pg-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .24s var(--ease-out), box-shadow .24s;
  cursor: pointer;
}
.pg-card:hover { box-shadow: var(--sh-md); transform: translateY(-4px); border-color: rgba(184,90,42,.2); }
.pg-card.hidden { display: none; }

.pg-img { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.pg-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.pg-card:hover .pg-img img { transform: scale(1.06); }
.pg-badge {
  position: absolute; top: 12px; left: 12px;
  font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(6px);
  color: var(--ink2);
}
.pg-variants {
  position: absolute; top: 12px; right: 12px;
  font-size: 11px; font-weight: 700;
  background: rgba(20,20,18,.65); backdrop-filter: blur(6px);
  color: rgba(255,255,255,.9); padding: 4px 10px; border-radius: 999px;
}
.pg-body { padding: 20px 20px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pg-price { font-family: var(--fd); font-size: 18px; font-weight: 700; color: var(--accent); }
.pg-price small { font-family: var(--fb); font-size: 14px; color: var(--ink3); font-weight: 600; }
.pg-name { font-family: var(--fd); font-size: 15px; font-weight: 600; line-height: 1.2; }
.pg-grades { display: flex; flex-wrap: wrap; gap: 4px; margin: 4px 0; }
.pg-grade-tag {
  font-size: 10px; font-weight: 700; padding: 2px 8px;
  border-radius: 999px; border: 1px solid var(--line);
  color: var(--ink3); background: var(--surf2);
}
.pg-desc { font-size: 12px; color: var(--ink3); line-height: 1.5; flex: 1; }
.pg-cta {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700; color: var(--accent);
  margin-top: 12px; transition: gap .18s;
}
.pg-card:hover .pg-cta { gap: 10px; }
.pg-detail { display: none; padding: 0 20px 20px; border-top: 1px solid var(--line); }
.pg-card.expanded .pg-detail { display: block; }
.pg-detail-table { width: 100%; border-collapse: collapse; margin-top: 12px; }
.pg-detail-table th,
.pg-detail-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); font-size: 12px; }
.pg-detail-table th { font-weight: 700; color: var(--ink3); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.pg-detail-table tr:last-child td { border-bottom: none; }
.pg-detail-price { font-weight: 700; color: var(--accent); font-family: var(--fd); font-size: 16px; }
.catalog-empty { padding: 60px 0; text-align: center; color: var(--ink3); }
.catalog-empty h3 { font-size: 18px; margin-bottom: 8px; }

/* ── Product page ── */
.prod-page-hero {
  background: var(--surf2); border-bottom: 1px solid var(--line);
  padding: 0;
  overflow: hidden;
}
.prod-page-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 520px;
}
.prod-page-info {
  padding: 52px 60px 52px clamp(24px, calc((100vw - 1220px) / 2 + 24px), 180px);
  display: flex; flex-direction: column; justify-content: center;
}
.prod-page-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--ink3); margin-bottom: 20px;
}
.prod-page-breadcrumb a { color: var(--ink3); transition: color .18s; }
.prod-page-breadcrumb a:hover { color: var(--accent); }
.prod-page-breadcrumb span { color: var(--line2); }
.prod-page-badge { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.prod-page-badge-pill {
  background: var(--accent); color: #fff; border-radius: 999px;
  font-size: 10px; font-weight: 800; letter-spacing: .1em; padding: 4px 12px; text-transform: uppercase;
}
.prod-page-gost { font-size: 12px; color: var(--ink3); font-weight: 600; }
.prod-page-h1 { font-size: clamp(32px, 3.5vw, 44px); margin-bottom: 12px; }
.prod-page-price {
  font-family: var(--fd); font-size: clamp(22px, 2.8vw, 28px);
  font-weight: 700; color: var(--accent); margin-bottom: 16px;
}
.prod-page-desc { font-size: 15px; color: var(--ink2); line-height: 1.6; max-width: 440px; margin-bottom: 20px; }
.prod-page-grades { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 28px; }
.prod-page-grade {
  padding: 5px 12px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--surface);
  font-size: 12px; font-weight: 700; color: var(--ink3);
  cursor: pointer; transition: .15s;
}
.prod-page-grade:hover { border-color: var(--accent); color: var(--accent); }
.prod-page-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.prod-page-img-wrap { position: relative; overflow: hidden; }
.prod-page-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.prod-page-img-overlay { position: absolute; top: 24px; right: 24px; }
.prod-page-img-rating {
  background: rgba(255,255,255,.95); backdrop-filter: blur(8px);
  border-radius: 12px; padding: 10px 14px; text-align: center;
  font-size: 11px; color: var(--ink3);
}
.prod-page-img-rating .stars { color: #F5A623; font-size: 12px; letter-spacing: 1px; margin-bottom: 2px; }

.prod-specs-bar {
  display: flex; gap: 0; background: var(--ink);
  padding: 22px max(24px, calc((100vw - 1220px) / 2 + 24px));
}
.prod-spec {
  flex: 1; padding: 0 24px; border-right: 1px solid rgba(255,255,255,.1);
  text-align: center;
}
.prod-spec:last-child { border-right: none; }
.prod-spec-val {
  font-family: var(--fd); font-size: 22px; font-weight: 700;
  color: #FFD9C2; line-height: 1;
}
.prod-spec-lbl { font-size: 11px; color: rgba(255,255,255,.45); margin-top: 4px; }

.prod-content-grid {
  display: grid; grid-template-columns: 1fr 360px;
  gap: 40px; align-items: start; padding: 56px 0;
}
.prod-section-title { font-family: var(--fd); font-size: 18px; font-weight: 600; margin-bottom: 20px; }
.prod-props { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.prop-item {
  background: var(--surf2); border-radius: var(--r);
  padding: 14px 16px;
}
.prop-label { font-size: 11px; color: var(--ink3); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.prop-val { font-size: 16px; font-weight: 700; color: var(--ink); }
.prod-uses { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.prod-use-tag {
  padding: 6px 14px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--surface);
  font-size: 13px; color: var(--ink2); font-weight: 600;
}

.order-card {
  background: var(--ink); color: #fff;
  border-radius: var(--r-lg); padding: 32px;
  position: sticky; top: 88px;
}
.order-card h3 { font-size: 18px; color: #fff; margin-bottom: 6px; }
.order-card p { font-size: 13px; color: rgba(255,255,255,.5); margin-bottom: 20px; }
.order-form { display: grid; gap: 10px; }
.order-form select,
.order-form input {
  padding: 12px 14px; border-radius: var(--r);
  border: 1.5px solid rgba(255,255,255,.15); font-size: 14px;
  font-family: var(--fb); background: rgba(255,255,255,.06); color: #fff;
  width: 100%; transition: border-color .18s;
}
.order-form select:focus,
.order-form input:focus { outline: none; border-color: rgba(255,255,255,.4); }
.order-form .btn { justify-content: center; width: 100%; margin-top: 4px; }
.order-contacts { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.order-contact-link {
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,.6); font-size: 14px; font-weight: 700; transition: color .18s;
}
.order-contact-link:hover { color: #fff; }
.order-contact-link svg { width: 16px; height: 16px; fill: currentColor; opacity: .5; }

.variants-section { margin-top: 48px; }
.variants-table { width: 100%; border-collapse: collapse; border-radius: var(--r-lg); overflow: hidden; }
.variants-table th { background: var(--surf2); padding: 12px 16px; text-align: left; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink3); }
.variants-table td { padding: 13px 16px; border-top: 1px solid var(--line); font-size: 14px; }
.variants-table tr:hover td { background: var(--surf2); }
.variants-table td:last-child {
  font-family: var(--fd); font-weight: 700; font-size: 16px; color: var(--accent);
}
.variants-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.vf-btn {
  padding: 6px 14px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--surface);
  font-size: 12px; font-weight: 700; color: var(--ink3);
  cursor: pointer; font-family: var(--fb); transition: .15s;
}
.vf-btn:hover { border-color: var(--accent); color: var(--accent); }
.vf-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; }

.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.rel-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
  transition: transform .22s, box-shadow .22s; cursor: pointer;
}
.rel-card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.rel-card img { aspect-ratio: 16/10; width: 100%; object-fit: cover; }
.rel-card-body { padding: 14px 16px; }
.rel-card-name { font-family: var(--fd); font-size: 13px; font-weight: 600; margin-bottom: 4px; line-height: 1.2; }
.rel-card-price { font-size: 13px; font-weight: 700; color: var(--accent); }

/* Mobile nav contact strip (injected / optional markup) */
.nav-mobile-contacts { display: none; }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .nav a { padding: 7px 10px; font-size: 12px; }
  .header-phone { display: none; }
  .cats-grid { grid-template-columns: repeat(6, 1fr); grid-template-rows: 300px 220px 220px; }
  .cat-card:nth-child(1) { grid-column: 1/5; grid-row: 1; }
  .cat-card:nth-child(2) { grid-column: 5/7; grid-row: 1; }
  .cat-card:nth-child(3) { grid-column: 1/3; grid-row: 2; }
  .cat-card:nth-child(4) { grid-column: 3/5; grid-row: 2; }
  .cat-card:nth-child(5) { grid-column: 5/7; grid-row: 2; }
  .cat-card:nth-child(6) { grid-column: 1/3; grid-row: 3; }
  .cat-card:nth-child(7) { grid-column: 3/5; grid-row: 3; }
  .cat-card:nth-child(8) { grid-column: 5/7; grid-row: 3; }
  .popular-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr 1fr; }
  .review-featured { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-layout { grid-template-columns: 200px 1fr; gap: 20px; }
  .hero-body { grid-template-columns: 1fr 1fr; }
  .hero-content { padding: 60px 40px 60px 24px; }
  .hero h1 { font-size: clamp(32px, 4.2vw, 48px); }
}

@media (max-width: 860px) {
  .header { padding: 10px 12px 0; }
  .header-inner {
    justify-content: space-between;
    height: 54px;
    padding: 0 8px 0 18px;
    border-radius: 18px;
    position: relative;
  }
  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px); left: 0; right: 0;
    background: rgba(18, 17, 15, .96);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 18px;
    gap: 2px;
    z-index: 200;
    box-shadow: 0 16px 40px rgba(12, 10, 6, .35);
    max-height: min(78dvh, 560px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav a {
    padding: 14px 16px;
    min-height: 44px;
    border-radius: 12px;
    color: rgba(255, 255, 255, .78);
    display: flex;
    align-items: center;
  }
  .nav a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
  .nav.open { display: flex; }
  .header .burger {
    display: grid; place-items: center;
    width: 44px; height: 44px; padding: 0;
  }
  .burger { display: block; }
  .header-contacts .btn,
  .header-contacts .header-phone { display: none; }
  .header .msg-icons a {
    width: 40px; height: 40px;
  }
  .nav-mobile-contacts {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, .1);
  }
  .nav-mobile-contacts a {
    justify-content: center;
    min-height: 46px;
    font-weight: 700;
    font-size: 14px;
  }
  .nav-mobile-contacts .nmc-tel {
    background: var(--accent);
    color: #fff;
    border-radius: 999px;
  }
  .nav-mobile-contacts .nmc-tel:hover {
    background: var(--accent-d);
    color: #fff;
  }
  .nav-mobile-contacts .nmc-wa,
  .nav-mobile-contacts .nmc-tg {
    background: rgba(255, 255, 255, .08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
  }
  .hero-body {
    display: flex; flex-direction: column;
    min-height: auto;
    padding: 28px 24px 36px;
  }
  .hero-content { display: contents; }
  .hero-content::before,
  .hero-content::after { display: none; }
  .hero-loc { order: 1; margin-bottom: 12px; }
  .hero h1 {
    order: 2;
    font-size: clamp(28px, 6.2vw, 40px);
    line-height: 1.12;
    margin-bottom: 8px;
    max-width: 100%;
  }
  .hero-subhead {
    order: 3;
    max-width: none;
    margin-bottom: 14px;
    font-size: 17px;
  }
  .hero-img-wrap {
    order: 4;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    max-height: 280px;
    margin: 0 0 20px;
    border-radius: var(--r-lg);
    box-shadow: var(--sh-md);
    isolation: isolate;
  }
  .hero-img-wrap::after {
    content: "";
    position: absolute; inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, transparent 50%, rgba(20,20,18,.42) 100%);
    pointer-events: none; z-index: 1;
  }
  .hero-img-wrap img { border-radius: inherit; }
  .hero-body:hover .hero-img-wrap img { transform: none; }
  .hero-sub { order: 5; max-width: none; margin-bottom: 22px; }
  .hero-cta { order: 6; margin-bottom: 28px; }
  .hero-cta .btn {
    min-height: 46px;
    padding: 12px 22px;
    justify-content: center;
  }
  .hero-stats { order: 7; flex-wrap: wrap; gap: 4px 0; }
  .hero-badge { display: none; }
  .hero-stat { padding: 10px 20px 10px 0; }
  .hero-stat strong { font-size: 22px; white-space: nowrap; }
  .request-wrap { grid-template-columns: 1fr; }
  .request-left { padding: 36px 28px; }
  .request-right { padding: 36px 28px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-stamp { top: -12px; right: 12px; }
  .contact-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .steps-grid::before { display: none; }
  .works-grid { grid-template-columns: 1fr 1fr; }
  .work.work-photo { aspect-ratio: 1/1; }
  .work.work-video { aspect-ratio: 4/3; }
  .catalog-layout { grid-template-columns: 1fr; }
  .cats-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 180px 180px 180px 180px;
    gap: 12px;
  }
  .cat-card:nth-child(1) { grid-column: 1/-1; grid-row: 1; }
  .cat-card:nth-child(2) { grid-column: 1; grid-row: 2; }
  .cat-card:nth-child(3) { grid-column: 2; grid-row: 2; }
  .cat-card:nth-child(4) { grid-column: 1; grid-row: 3; }
  .cat-card:nth-child(5) { grid-column: 2; grid-row: 3; }
  .cat-card:nth-child(6) { grid-column: 1; grid-row: 4; }
  .cat-card:nth-child(7) { grid-column: 2; grid-row: 4; }
  .cat-card:nth-child(8) { grid-column: 1/-1; grid-row: 5; }
  .cat-info .cat-price,
  .prod-price,
  .pg-price,
  .text-price,
  .text-mark { overflow-wrap: anywhere; word-break: break-word; }
  .grades { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .grades th, .grades td { white-space: nowrap; }
  .cat-sidebar { position: static; }
  .prod-page-grid { grid-template-columns: 1fr; }
  .prod-page-info { padding: 36px 24px; }
  .prod-content-grid { grid-template-columns: 1fr; }
  .order-card { position: static; }
  .cta-strip-actions .btn-strip { min-height: 46px; }
  .btn, .btn-strip { min-height: 44px; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 56px 0; }
  .hero-body { padding: 24px 16px 36px; }
  .hero-img-wrap {
    aspect-ratio: 4 / 3;
    max-height: 220px;
    margin-bottom: 18px;
    box-shadow: 0 10px 36px rgba(12,10,6,.12), 0 2px 8px rgba(184,90,42,.08);
  }
  .hero h1 {
    font-size: clamp(26px, 7vw, 34px);
    margin-bottom: 8px;
    letter-spacing: -.02em;
  }
  .hero-subhead {
    font-size: 16px;
    letter-spacing: .015em;
    margin-bottom: 12px;
  }
  .hero-sub { font-size: 14.5px; line-height: 1.55; margin-bottom: 20px; }
  .hero-cta {
    margin-bottom: 28px; gap: 10px;
    display: grid; grid-template-columns: 1fr 1fr;
  }
  .hero-cta .btn {
    width: 100%;
    padding: 13px 14px;
    font-size: 13px;
  }
  .hero-stat strong { font-size: 20px; }
  .cats-grid {
    gap: 10px;
    grid-template-rows: 180px 160px 160px 160px 160px;
  }
  .cat-card:nth-child(1) { grid-column: 1/-1; grid-row: 1; }
  .cat-card:nth-child(2) { grid-column: 1; grid-row: 2; }
  .cat-card:nth-child(3) { grid-column: 2; grid-row: 2; }
  .cat-card:nth-child(4) { grid-column: 1; grid-row: 3; }
  .cat-card:nth-child(5) { grid-column: 2; grid-row: 3; }
  .cat-card:nth-child(6) { grid-column: 1; grid-row: 4; }
  .cat-card:nth-child(7) { grid-column: 2; grid-row: 4; }
  .cat-card:nth-child(8) { grid-column: 1/-1; grid-row: 5; }
  .cat-info { padding: 14px 14px; }
  .cat-info h3 { font-size: 14px; }
  .cat-info .cat-price { font-size: 14px; }
  .popular-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .review-featured { grid-column: 1 / -1; padding: 32px 24px; }
  .works-grid { grid-template-columns: 1fr; }
  .work.work-photo { aspect-ratio: 4/3; }
  .work.work-video { aspect-ratio: 16/9; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .grades th, .grades td { padding: 12px 14px; font-size: 13px; }
  .prod-grid { grid-template-columns: 1fr; }
  .prod-price { font-size: 22px; }
  .pg-price { font-size: 20px; }
  .hero-stats { flex-direction: column; gap: 8px; }
  .hero-stat {
    border-right: none; margin: 0;
    border-bottom: 1px solid var(--line);
    padding: 0 0 10px;
  }
  .hero-stat:last-child { border-bottom: none; padding-bottom: 0; }
  .catalog-layout { padding-top: 24px; padding-bottom: 60px; }
  .catalog-hero { padding: 36px 0 28px; }
  .catalog-hero h1 { font-size: clamp(28px, 8vw, 36px); }
  .steps-grid { grid-template-columns: 1fr; gap: 20px; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .prod-specs-bar { flex-wrap: wrap; padding: 16px 20px; }
  .prod-spec { flex: 1 1 45%; padding: 12px 16px; border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .prod-spec:nth-last-child(-n+2) { border-bottom: none; }
  .cta-strip-inner { gap: 16px; }
  .cta-strip-text { font-size: 16px; }
  .cta-strip-actions { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .cta-strip-actions .btn-strip { justify-content: center; padding: 12px 14px; font-size: 13px; }
  .header .logo { font-size: 16px; }
}

/* iPhone 430-ish: clean H1 + subhead stack */
@media (max-width: 430px) {
  .hero h1 { font-size: 28px; line-height: 1.12; }
  .hero-subhead { font-size: 15.5px; }
  .hero-sub { font-size: 14px; }
  .hero-cta { grid-template-columns: 1fr; }
  .hero-img-wrap { max-height: 200px; aspect-ratio: 16 / 11; }
}

@media (max-width: 390px) {
  .hero h1 { font-size: 26px; }
  .hero-subhead { font-size: 15px; }
  .hero-cta .btn { font-size: 13px; }
  .cat-info .cat-price,
  .prod-price { font-size: 15px; }
  .hero-stat strong { font-size: 18px; }
  /* Keep header dock from crowding: MAX stays in burger + footer */
  .header .msg-icons a:nth-child(3) { display: none; }
  .header .msg-icons a { width: 38px; height: 38px; }
}
