/* ============================================
   DANKEN MOTORS — головні стилі (v2 — editorial)
   ============================================ */

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/montserrat-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/montserrat-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;
}

:root {
  --bg: #0f0f0f;
  --bg-soft: #161616;
  --surface: #1c1c1c;
  --border: #2a2a2a;
  --border-strong: #3a3a3a;

  --text: #f3f3f3;
  --text-dim: #b0b0b0;
  --text-mute: #6b6b6b;

  --red: #DC2626;
  --red-hover: #ef4444;

  --container: 1280px;
  --radius: 4px;

  --font: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, system-ui, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; padding: 0; }
ul { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; }
p { margin: 0; }
input, textarea, select { font-family: inherit; font-size: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 768px) {
  .container { padding: 0 40px; }
}

/* ============================================
   Кнопки
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 22px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: left;
  min-width: 220px;
  background: transparent;
  color: var(--text);
}
.btn .btn-arrow {
  display: inline-block;
  transition: transform var(--transition);
}
.btn:hover .btn-arrow { transform: translateX(6px); }

.btn-primary {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.btn-primary:hover {
  background: var(--red-hover);
  border-color: var(--red-hover);
}
.btn-ghost {
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}
.btn-block { width: 100%; }

/* ============================================
   Header
   ============================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 80px;
  padding: 14px 0;
}

.logo {
  display: block;
  flex-shrink: 0;
}
.logo svg {
  display: block;
  height: 52px;
  width: auto;
  transition: filter 400ms ease;
}

/* "Заряджається" — біла смужка під MOTORS зсувається зліва направо при hover.
   Метафора рівня заряду / енергії, що тече. */
.logo .logo-charge {
  transform: scaleX(0);
  transform-origin: left center;
  transform-box: fill-box;
  opacity: 0;
  transition:
    transform 900ms cubic-bezier(0.65, 0, 0.35, 1),
    opacity 250ms ease;
}

/* "LED" — точка в куті, що дихає (живий індикатор) */
.logo .logo-led {
  transform-origin: center;
  transform-box: fill-box;
  animation: logo-led-pulse 2.4s ease-in-out infinite;
}
@keyframes logo-led-pulse {
  0%, 100% { opacity: 0.35; }
  50%      { opacity: 0.95; }
}

/* Hover/focus — полоска заряджається, з'являється червоне свічення */
.logo:hover svg,
.logo:focus-visible svg {
  filter: drop-shadow(0 0 14px rgba(220, 38, 38, 0.55));
}
.logo:hover .logo-charge,
.logo:focus-visible .logo-charge {
  opacity: 0.9;
  transform: scaleX(1);
}
.logo:hover .logo-led,
.logo:focus-visible .logo-led {
  animation-duration: 0.9s; /* пульсація прискорюється — "система активна" */
}

/* у футері — без анімації (логотип маленький, ефект буде набридати) */
.footer .logo svg { transition: none; }
.footer .logo:hover svg { filter: none; }
.footer .logo .logo-led { animation: none; opacity: 0.4; }
.footer .logo .logo-charge { display: none; }

@media (prefers-reduced-motion: reduce) {
  .logo .logo-led { animation: none; }
  .logo .logo-charge { transition: none; }
}

.nav {
  display: none;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.nav a {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  white-space: nowrap;
  padding: 6px 0;
  position: relative;
}
.nav a:hover { color: var(--text); }
.nav a.active { color: var(--text); }
.nav a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--red);
}

.header-right {
  display: none;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}
.header-phone svg { color: var(--red); flex-shrink: 0; }

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  background: var(--red);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  border-radius: 2px;
  transition: background var(--transition);
}
.header-cta:hover { background: var(--red-hover); }

.burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 42px;
  height: 42px;
  gap: 5px;
  flex-shrink: 0;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 0 auto;
  transition: all var(--transition);
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 1280px) {
  .nav { display: flex; }
  .header-right { display: flex; }
  .burger { display: none; }
}

/* Мобільне меню */
.mobile-nav {
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg);
  z-index: 99;
  padding: 24px 20px 40px;
  transform: translateX(100%);
  transition: transform 320ms cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  font-size: 17px;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}
.mobile-nav a::after {
  content: '→';
  color: var(--text-mute);
  font-weight: 400;
}
.mobile-nav-extras {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mobile-nav .header-phone {
  font-size: 18px;
}
@media (min-width: 1280px) {
  .mobile-nav { display: none; }
}

/* ============================================
   Hero — editorial, без декору
   ============================================ */
.hero {
  position: relative;
  padding: 56px 0 80px;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: -1px -1px;
  pointer-events: none;
  z-index: 0;
}
.hero > * { position: relative; z-index: 1; }

.hero-meta-top {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 64px;
}
.hero-meta-top span:nth-child(2) {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: end;
}

.hero-title {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.03em;
  max-width: 820px;
}
.hero-title .red { color: var(--red); }
.hero-lead {
  margin-top: 28px;
  font-size: 16px;
  color: var(--text-dim);
  max-width: 540px;
  line-height: 1.6;
}

.hero-side {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
}
.hero-info {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
}
.hero-info strong {
  display: block;
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 4px;
}

@media (min-width: 640px) {
  .hero-title { font-size: 64px; }
}
@media (min-width: 1024px) {
  .hero { padding: 80px 0 120px; }
  .hero-grid {
    grid-template-columns: 1.6fr 1fr;
    gap: 80px;
    align-items: end;
  }
  .hero-title { font-size: 88px; }
  .hero-side { align-items: flex-end; text-align: right; }
  .hero-buttons { min-width: 280px; }
  .hero-info { width: 100%; max-width: 320px; text-align: left; }
}
@media (min-width: 1440px) {
  .hero-title { font-size: 104px; }
}

/* ============================================
   Section base
   ============================================ */
.section {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 1024px) {
  .section { padding: 120px 0; }
}

.section-head {
  margin-bottom: 56px;
  max-width: 880px;
}
.section-head h2 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 16px;
}
.section-head .lead {
  font-size: 16px;
  color: var(--text-dim);
  max-width: 640px;
}
@media (min-width: 1024px) {
  .section-head { margin-bottom: 72px; }
  .section-head h2 { font-size: 56px; }
  .section-head .lead { font-size: 18px; }
}

/* ============================================
   Каталог — editorial list
   ============================================ */
.catalog-list {
  border-top: 1px solid var(--border);
}
.catalog-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  column-gap: 20px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
  transition: padding var(--transition);
}
.catalog-row::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: var(--red);
  transition: width var(--transition);
}
.catalog-row:hover { padding-left: 20px; }
.catalog-row:hover::before { width: 3px; }
.catalog-row:hover .catalog-arrow { color: var(--red); transform: translateX(6px); }
.catalog-row:hover .catalog-title { color: var(--red); }
.catalog-row:hover .catalog-img { color: var(--red); transform: scale(1.05); }

.catalog-img {
  width: 72px;
  height: 72px;
  background: #f4f4f4;
  border-radius: 4px;
  padding: 6px;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform var(--transition);
}
.catalog-row:hover .catalog-img { transform: scale(1.05); }
.catalog-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.catalog-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: color var(--transition);
  line-height: 1.15;
}
.catalog-desc {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.45;
  max-width: 680px;
}
.catalog-arrow {
  width: 28px;
  height: 28px;
  color: var(--text-mute);
  transition: all var(--transition);
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .catalog-row {
    grid-template-columns: 110px 1fr auto;
    column-gap: 32px;
    padding: 32px 0;
  }
  .catalog-img { width: 96px; height: 96px; padding: 8px; }
  .catalog-title { font-size: 24px; }
  .catalog-desc { font-size: 15px; }
}
@media (min-width: 1200px) {
  .catalog-row {
    grid-template-columns: 160px 340px 1fr auto;
    column-gap: 40px;
    padding: 40px 0;
    align-items: center;
  }
  .catalog-text { display: contents; }
  .catalog-img { width: 130px; height: 130px; padding: 10px; }
  .catalog-title { font-size: 30px; line-height: 1.1; }
  .catalog-desc { font-size: 16px; max-width: none; }
}

/* ============================================
   Сегменти (без іконок-в-кружках)
   ============================================ */
.segments {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--border);
}
.segment {
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  gap: 14px;
}
.segment h3 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.segment p {
  color: var(--text-dim);
  max-width: 580px;
  font-size: 15px;
  line-height: 1.6;
}
@media (min-width: 768px) {
  .segments {
    grid-template-columns: repeat(3, 1fr);
    border-top: none;
  }
  .segment {
    padding: 0 32px;
    border-bottom: none;
    border-left: 1px solid var(--border);
    min-height: 200px;
    align-content: start;
  }
  .segment:first-child { padding-left: 0; border-left: none; }
  .segment h3 { font-size: 28px; }
}

/* ============================================
   About — простий текстовий блок (заміна "переваг")
   ============================================ */
.about {
  background: var(--bg-soft);
}
.about-text {
  max-width: 880px;
}
.about-text p {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 20px;
}
.about-text p:last-of-type { margin-bottom: 0; }
.about-text p.dim { color: var(--text-dim); font-size: 16px; }

.about-meta {
  margin: 48px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}
@media (min-width: 768px) {
  .about-meta { grid-template-columns: repeat(4, 1fr); }
}
.about-meta dt {
  font-size: 13px;
  color: var(--text-mute);
  margin-bottom: 8px;
}
.about-meta dd {
  margin: 0;
  font-size: 16px;
  color: var(--text);
  font-weight: 600;
}

/* ============================================
   Brands marquee
   ============================================ */
.brands {
  padding: 72px 0;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.marquee {
  display: flex;
  overflow: hidden;
  width: 100%;
  margin-bottom: 12px;
}
.marquee:last-child { margin-bottom: 0; }
.marquee-track {
  display: flex;
  flex-shrink: 0;
  gap: 56px;
  padding-right: 56px;
  animation: marquee-scroll 60s linear infinite;
  will-change: transform;
}
.marquee-reverse .marquee-track {
  animation-direction: reverse;
  animation-duration: 70s;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}
.brand-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 48px;
  min-width: 140px;
  opacity: 0.45;
  transition: opacity var(--transition);
}
.brand-item:hover { opacity: 0.95; }
.brand-item img {
  max-height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .marquee { flex-wrap: wrap; justify-content: center; gap: 32px; }
}

/* ============================================
   Контакти + форма
   ============================================ */
.contact-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 1024px) {
  .contact-section { padding: 120px 0; }
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
}
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr 1.3fr; gap: 80px; align-items: start; }
}

.contact-info h2 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  line-height: 1.05;
}
@media (min-width: 1024px) {
  .contact-info h2 { font-size: 52px; }
}
.contact-info .lead {
  color: var(--text-dim);
  font-size: 16px;
  max-width: 460px;
  margin-bottom: 40px;
}

.contact-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--border);
}
.contact-row {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  align-items: baseline;
}
.contact-row dt {
  font-size: 13px;
  color: var(--text-mute);
}
.contact-row dd {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
}
.contact-row a:hover { color: var(--red); }

/* Форма */
.form-wrap {
  border: 1px solid var(--border);
  background: var(--bg-soft);
  padding: 28px 24px;
}
@media (min-width: 768px) {
  .form-wrap { padding: 40px; }
}
.form-wrap-head {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.form-wrap-head h3 {
  font-size: 22px;
  font-weight: 700;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
@media (min-width: 640px) {
  .form-row.cols-2 { grid-template-columns: 1fr 1fr; }
}
.form-field { display: flex; flex-direction: column; }
.form-field label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.form-field label .req { color: var(--red); }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 0;
  color: var(--text);
  font-size: 15px;
  transition: border-color var(--transition);
  outline: none;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--text);
}
.form-field textarea { resize: vertical; min-height: 100px; }
.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'><path d='M1 1l4 4 4-4' stroke='%23b0b0b0' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 20px 0 24px;
}
.form-consent input[type="checkbox"] {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  accent-color: var(--red);
  cursor: pointer;
}
.form-consent label {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.5;
  cursor: pointer;
}
.form-consent a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-underline-offset: 3px;
}

.form-msg {
  padding: 14px 16px;
  font-size: 14px;
  margin-bottom: 16px;
  display: none;
}
.form-msg.is-visible { display: block; }
.form-msg.success { background: rgba(34, 197, 94, 0.08); border-left: 3px solid #22c55e; color: #86efac; }
.form-msg.error { background: rgba(220, 38, 38, 0.08); border-left: 3px solid var(--red); color: #fca5a5; }

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 18px 22px;
  background: var(--red);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: none;
  transition: background var(--transition);
}
.form-submit:hover { background: var(--red-hover); }
.form-submit:disabled { opacity: 0.6; cursor: wait; }
.form-submit .btn-arrow { transition: transform var(--transition); }
.form-submit:hover .btn-arrow { transform: translateX(6px); }

.recaptcha-notice {
  margin-top: 16px;
  font-size: 11px;
  color: var(--text-mute);
  line-height: 1.5;
}
.recaptcha-notice a {
  color: var(--text-dim);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.grecaptcha-badge { visibility: hidden !important; }

/* ============================================
   Footer
   ============================================ */
.footer {
  background: #0a0a0a;
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 56px; }
}

.footer-brand .logo svg { height: 48px; margin-bottom: 20px; }
.footer-brand p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.6;
  max-width: 320px;
}

.footer h5 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
}
.footer-list { display: flex; flex-direction: column; gap: 12px; }
.footer-list a, .footer-list span {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.5;
}
.footer-list a:hover { color: var(--text); }
.footer-list strong { color: var(--text); font-weight: 600; display: block; }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 12px;
  color: var(--text-mute);
}
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}
.footer-bottom a { color: var(--text-mute); }
.footer-bottom a:hover { color: var(--text); }

/* ============================================
   Page hero — для категорій та внутрішніх сторінок
   ============================================ */
.page-hero {
  padding: 48px 0 56px;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 1024px) {
  .page-hero { padding: 72px 0 88px; }
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 28px;
  transition: color var(--transition), gap var(--transition);
}
.back-link:hover {
  color: var(--text);
  gap: 12px;
}
.page-hero h1 {
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 20px;
}
@media (min-width: 768px) { .page-hero h1 { font-size: 56px; } }
@media (min-width: 1200px) { .page-hero h1 { font-size: 72px; } }
.page-hero .lead {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 720px;
  line-height: 1.55;
}

/* Prose — звичайний текстовий блок */
.prose { max-width: 760px; }
.prose p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-dim);
  margin-bottom: 20px;
}
.prose p:last-child { margin-bottom: 0; }
.prose p.intro {
  font-size: 19px;
  color: var(--text);
  line-height: 1.6;
}
.prose a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-underline-offset: 3px;
}
.prose a:hover { color: var(--red); }

/* Privacy text */
.privacy-text h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 48px 0 16px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.privacy-text h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.privacy-list {
  margin: 0 0 20px 0;
  padding-left: 0;
  list-style: none;
}
.privacy-list li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dim);
  padding-left: 22px;
  position: relative;
  margin-bottom: 6px;
}
.privacy-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 1px;
  background: var(--red);
}
.privacy-date {
  margin-top: 48px !important;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px !important;
  color: var(--text-mute) !important;
}

/* Spec list (dl) — параметри підбору */
.spec-list {
  border-top: 1px solid var(--border);
  margin: 0;
  padding: 0;
}
.spec-list > div {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.spec-list dt {
  font-size: 13px;
  color: var(--text-mute);
  margin: 0;
}
.spec-list dd {
  margin: 0;
  font-size: 17px;
  color: var(--text);
  font-weight: 500;
}
@media (min-width: 768px) {
  .spec-list > div {
    grid-template-columns: 300px 1fr;
    gap: 32px;
    align-items: baseline;
    padding: 22px 0;
  }
}

/* CTA row внизу сторінок */
.cta-row {
  padding: 64px 0;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}
@media (min-width: 1024px) { .cta-row { padding: 88px 0; } }
.cta-row-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
@media (min-width: 900px) {
  .cta-row-inner { grid-template-columns: 1fr auto; gap: 56px; }
}
.cta-row h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  max-width: 560px;
}
@media (min-width: 1024px) { .cta-row h2 { font-size: 40px; } }
.cta-row-actions {
  display: flex;
  gap: 12px;
  flex-direction: column;
}
@media (min-width: 480px) {
  .cta-row-actions { flex-direction: row; flex-wrap: wrap; }
}

/* Product intro — 2-col: текст + фото */
.product-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}
@media (min-width: 900px) {
  .product-intro {
    grid-template-columns: 1.4fr 1fr;
    gap: 64px;
    align-items: center;
  }
}
@media (min-width: 1200px) {
  .product-intro { gap: 96px; }
}
.product-intro .prose { max-width: none; }
.product-intro-photo {
  background: #f4f4f4;
  border-radius: 6px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
}
.product-intro-photo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Types list — види продукції з описами */
.types-list { border-top: 1px solid var(--border); }
.type-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 900px) {
  .type-row {
    grid-template-columns: 280px 1fr;
    gap: 48px;
    padding: 44px 0;
    align-items: start;
  }
}
.type-name h3 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
@media (min-width: 900px) { .type-name h3 { font-size: 28px; } }
.type-tag {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(220, 38, 38, 0.12);
  color: #fca5a5;
  font-size: 11px;
  font-weight: 600;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.type-desc p {
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.65;
  margin: 0 0 16px 0;
  max-width: 720px;
}
.type-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 24px;
  margin: 16px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  max-width: 640px;
}
@media (min-width: 600px) {
  .type-specs { grid-template-columns: repeat(3, 1fr); }
}
.type-specs > div { display: flex; flex-direction: column; }
.type-specs dt {
  font-size: 12px;
  color: var(--text-mute);
  margin: 0 0 4px;
}
.type-specs dd {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  margin: 0;
}

/* Як замовити — короткий список кроків */
.order-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 760px;
}
@media (min-width: 768px) {
  .order-steps { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}
.order-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.order-step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border: 1px solid var(--red);
  color: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}
.order-step-text strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}
.order-step-text span {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.5;
}

/* Бренди — статична сітка для сторінок категорій */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 640px) { .brand-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .brand-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.brand-grid .brand-item {
  height: 100px;
  min-width: 0;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  transition: border-color var(--transition), background var(--transition);
}
.brand-grid .brand-item:hover {
  border-color: var(--border-strong);
  background: var(--surface);
}
.brand-grid .brand-item img {
  max-height: 36px;
}

.no-scroll { overflow: hidden; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
