/* ================================================================
   APPLE-DROP.RU — Global Stylesheet
   Design System: Dark Premium · Signature Green #00C977
   Fonts: Syne (display) + Inter (body)
   ================================================================ */

/* ── Self-hosted fonts ────────────────────────────────────────── */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/fonts/inter-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/fonts/inter-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url('/fonts/syne-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url('/fonts/syne-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;
}

/* ── Design Tokens ────────────────────────────────────────────── */
:root {
  /* Brand */
  --accent:        #00C977;
  --accent-hover:  #00E88A;
  --accent-dim:    rgba(0, 201, 119, 0.12);
  --accent-border: rgba(0, 201, 119, 0.28);
  --accent-glow:   rgba(0, 201, 119, 0.22);

  /* Background layers (base → elevated → floating) */
  --bg-base:     #070809;
  --bg-surface:  #0D0F14;
  --bg-card:     #131620;
  --bg-elevated: #1A1E2A;
  --bg-overlay:  rgba(7, 8, 9, 0.88);

  /* Borders */
  --border-subtle:  rgba(255,255,255,0.05);
  --border-default: rgba(255,255,255,0.09);
  --border-strong:  rgba(255,255,255,0.16);

  /* Text */
  --text-primary:   #F0F2F7;
  --text-secondary: #8892A4;
  --text-muted:     #4E566A;
  --text-inverse:   #070809;

  /* Layered shadows */
  --shadow-sm:     0 2px 8px rgba(0,0,0,0.35), 0 1px 2px rgba(0,0,0,0.25);
  --shadow-card:   0 4px 24px rgba(0,0,0,0.45), 0 1px 4px rgba(0,0,0,0.3);
  --shadow-lg:     0 12px 48px rgba(0,0,0,0.55), 0 4px 12px rgba(0,0,0,0.4);
  --shadow-accent: 0 4px 24px rgba(0,201,119,0.32), 0 1px 6px rgba(0,201,119,0.18);
  --shadow-btn:    0 6px 28px rgba(0,201,119,0.38), 0 2px 8px rgba(0,0,0,0.3);

  /* Typography */
  --font-display: 'Syne', sans-serif;
  --font-body:    'Inter', sans-serif;

  /* Spacing scale */
  --s1: 4px;  --s2: 8px;  --s3: 12px; --s4: 16px; --s5: 20px;
  --s6: 24px; --s8: 32px; --s10: 40px; --s12: 48px; --s16: 64px;
  --s20: 80px; --s24: 96px;

  /* Radius */
  --r-sm: 8px; --r-md: 14px; --r-lg: 20px; --r-xl: 28px; --r-full: 9999px;

  /* Transitions */
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 160ms; --t-base: 260ms; --t-slow: 380ms;
}

/* ── Reset ────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; overflow-x: hidden; width: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
  width: 100%;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
input, select, textarea, button { font: inherit; }
button { cursor: pointer; border: none; background: none; }

/* SVG noise texture filter */
body::after {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.028'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

/* ── Typography ───────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}
h1 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; font-weight: 600; }
p { color: var(--text-secondary); line-height: 1.75; }
strong { color: var(--text-primary); font-weight: 600; }
.text-accent { color: var(--accent); }
.text-muted  { color: var(--text-muted); font-size: 0.875rem; }

/* Gradient heading */
.gradient-text {
  background: linear-gradient(135deg, #fff 20%, var(--accent) 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Layout ───────────────────────────────────────────────────── */
.container {
  width: 100%; max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--s5);
}
.container-sm { max-width: 800px; margin: 0 auto; padding: 0 var(--s5); }
.section { padding: var(--s20) 0; }
.section-sm { padding: var(--s12) 0; }
.section-header { text-align: center; margin-bottom: var(--s12); }
.section-header p { max-width: 560px; margin: var(--s3) auto 0; font-size: 1.05rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s6); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s6); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s5); }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

/* ── Buttons ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--s2); padding: 14px 32px;
  border-radius: var(--r-full); font-weight: 600; font-size: 1rem;
  transition: transform var(--t-base) var(--ease-spring),
              box-shadow var(--t-base) var(--ease-out),
              background var(--t-fast) var(--ease-out),
              opacity var(--t-fast);
  white-space: nowrap;
}
.btn:active { transform: scale(0.96) !important; }

.btn-primary {
  background: var(--accent);
  color: var(--text-inverse);
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 8px 36px rgba(0,201,119,0.48), 0 3px 10px rgba(0,0,0,0.35);
  transform: translateY(-2px) scale(1.02);
}
.btn-primary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-strong);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
  transform: translateY(-2px);
}
.btn-outline:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.btn-ghost {
  background: var(--accent-dim);
  color: var(--accent);
  border: 1.5px solid var(--accent-border);
}
.btn-ghost:hover { background: rgba(0,201,119,0.2); transform: translateY(-2px); }
.btn-ghost:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.btn-sm  { padding: 10px 22px; font-size: 0.9rem; }
.btn-lg  { padding: 18px 44px; font-size: 1.1rem; }
.btn-full { width: 100%; }

/* ── Header / Nav ─────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 900;
  padding: var(--s3) 0;
  background: rgba(7, 8, 9, 0.82);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
  transition: box-shadow var(--t-base) var(--ease-out);
}
.site-header.scrolled { box-shadow: 0 2px 32px rgba(0,0,0,0.6); }

.nav {
  display: flex; align-items: center; gap: var(--s6);
  height: 56px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0;
}
.logo-icon {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--accent), #00a862);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  /* Apple-style bite at top-right corner */
  clip-path: path('M9,0 L23.3,0 A7,7 0 0,0 34,7.7 L34,25 Q34,34 25,34 L9,34 Q0,34 0,25 L0,9 Q0,0 9,0 Z');
}
.logo-icon svg { width: 20px; height: 20px; fill: #fff; }
.logo-text {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-primary);
}
.logo-text span { color: var(--accent); }

.nav-links {
  display: flex; align-items: center; gap: var(--s1);
  flex: 1;
}
.nav-links a {
  padding: var(--s2) var(--s3);
  border-radius: var(--r-sm);
  font-size: 0.9rem; font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--text-primary);
  background: var(--bg-elevated);
}
.nav-links a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.nav-actions { display: flex; align-items: center; gap: var(--s3); margin-left: auto; }
.nav-phone {
  font-size: 0.95rem; font-weight: 600;
  color: var(--text-primary);
  transition: color var(--t-fast);
}
.nav-phone:hover { color: var(--accent); }
.nav-phone:focus-visible { outline: 2px solid var(--accent); }

/* ── Desktop dropdown ─────────────────────────────────────────── */
.nav-dropdown { position: relative; }
.nav-dropdown-btn {
  display: flex; align-items: center; gap: 5px;
  padding: var(--s2) var(--s3);
  border-radius: var(--r-sm);
  font-size: 0.9rem; font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav-dropdown-btn:hover,
.nav-dropdown-btn.active { color: var(--text-primary); background: var(--bg-elevated); }
.nav-dropdown-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.nav-arrow { transition: transform var(--t-base) var(--ease-spring); flex-shrink: 0; }
.nav-dropdown:hover .nav-arrow,
.nav-dropdown:focus-within .nav-arrow,
.nav-dropdown.open .nav-arrow { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--r-lg);
  padding: var(--s2);
  min-width: 200px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,0.04);
  opacity: 0; pointer-events: none;
  transition: opacity var(--t-base) var(--ease-out),
              transform var(--t-base) var(--ease-out);
  z-index: 901;
  list-style: none;
}
/* caret */
.nav-dropdown-menu::before {
  content: '';
  position: absolute; top: -5px; left: 50%; transform: translateX(-50%) rotate(45deg);
  width: 10px; height: 10px;
  background: var(--bg-card);
  border-left: 1px solid var(--border-default);
  border-top: 1px solid var(--border-default);
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1; pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  display: flex; align-items: center; gap: var(--s3);
  padding: var(--s3) var(--s4);
  border-radius: var(--r-md);
  font-size: 0.9rem; font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--t-fast), background var(--t-fast);
  white-space: nowrap;
}
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active { color: var(--accent); background: var(--accent-dim); }
.nav-dropdown-menu a svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.8; flex-shrink: 0; }
.nav-dropdown-menu a.active svg { stroke: var(--accent); }

/* ── Mobile nav accordion ─────────────────────────────────────── */
.mobile-nav-group { display: flex; flex-direction: column; }
.mobile-nav-group-btn {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--s4);
  border-radius: var(--r-md);
  font-size: 1.1rem; font-weight: 600;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
  text-align: left; width: 100%;
}
.mobile-nav-group-btn:hover { background: var(--bg-elevated); border-color: var(--accent-border); }
.mobile-nav-group-btn[aria-expanded="true"] {
  background: var(--accent-dim); border-color: var(--accent); color: var(--accent);
}
.mobile-nav-group-btn svg { transition: transform var(--t-base) var(--ease-spring); flex-shrink: 0; }
.mobile-nav-group-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.mobile-nav-group-items {
  max-height: 0; overflow: hidden;
  transition: max-height var(--t-slow) var(--ease-out), padding var(--t-slow) var(--ease-out);
  display: flex; flex-direction: column; gap: var(--s2);
  padding: 0 0 0 var(--s4);
}
.mobile-nav-group-items.open { max-height: 400px; padding: var(--s2) 0 0 var(--s4); }
.mobile-nav-group-items a { font-size: 1rem !important; }

/* Burger */
.burger {
  display: none; flex-direction: column; gap: 5px;
  width: 36px; height: 36px;
  align-items: center; justify-content: center;
  border-radius: var(--r-sm);
  transition: background var(--t-fast);
}
.burger:hover { background: var(--bg-elevated); }
.burger:focus-visible { outline: 2px solid var(--accent); }
.burger span {
  display: block; width: 22px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--t-base) var(--ease-spring),
              opacity var(--t-fast);
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed; inset: 0; top: 64px;
  background: var(--bg-overlay);
  backdrop-filter: blur(24px);
  z-index: 899;
  padding: var(--s6);
  flex-direction: column; gap: var(--s2);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: var(--s4) var(--s4);
  border-radius: var(--r-md);
  font-size: 1.1rem; font-weight: 600;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  transition: background var(--t-fast), border-color var(--t-fast);
}
.mobile-nav a:hover { background: var(--bg-elevated); border-color: var(--accent); }

/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  padding: var(--s24) 0 var(--s20);
  text-align: center;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(0,201,119,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(0,100,60,0.12) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 20% 90%, rgba(0,50,30,0.1) 0%, transparent 50%);
}
.hero-content { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: var(--s2);
  padding: var(--s2) var(--s4);
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: var(--r-full);
  font-size: 0.85rem; font-weight: 600; color: var(--accent);
  margin-bottom: var(--s5);
}
.hero-badge svg { width: 14px; height: 14px; }
.hero h1 { max-width: 780px; margin: 0 auto var(--s5); }
.hero-sub {
  max-width: 540px; margin: 0 auto var(--s8);
  font-size: 1.1rem; color: var(--text-secondary);
}
.hero-actions { display: flex; align-items: center; justify-content: center; gap: var(--s4); flex-wrap: wrap; }
.hero-stats {
  display: flex; align-items: center; justify-content: center;
  gap: var(--s10); margin-top: var(--s10);
  flex-wrap: wrap;
}
.hero-stat-value {
  font-family: var(--font-display); font-size: 2.2rem; font-weight: 800;
  color: var(--text-primary); line-height: 1;
  letter-spacing: -0.04em;
}
.hero-stat-value span { color: var(--accent); }
.hero-stat-label { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }

/* ── Cards ────────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: var(--s6);
  box-shadow: var(--shadow-card);
  transition: transform var(--t-base) var(--ease-spring),
              box-shadow var(--t-base) var(--ease-out),
              border-color var(--t-fast);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-default);
}

.card-link { display: block; }
.card-link:focus-visible { outline: 3px solid var(--accent); border-radius: var(--r-lg); }

/* Category card */
.cat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: var(--s8) var(--s6);
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform var(--t-base) var(--ease-spring),
              box-shadow var(--t-base) var(--ease-out),
              border-color var(--t-base);
  position: relative; overflow: hidden;
}
.cat-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity var(--t-base);
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--accent-border); }
.cat-card:hover::before { opacity: 1; }
.cat-card:focus-within { outline: 3px solid var(--accent); border-radius: var(--r-lg); }

.cat-icon {
  width: 64px; height: 64px; margin: 0 auto var(--s4);
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
}
.cat-icon svg { width: 32px; height: 32px; fill: var(--accent); }
.cat-title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; margin-bottom: var(--s2); }
.cat-price { font-size: 0.9rem; color: var(--text-muted); }
.cat-price strong { color: var(--accent); font-weight: 600; }
.cat-arrow {
  display: inline-flex; align-items: center; gap: var(--s1);
  font-size: 0.85rem; font-weight: 600; color: var(--accent);
  margin-top: var(--s4);
  transition: gap var(--t-fast) var(--ease-spring);
}
.cat-card:hover .cat-arrow { gap: var(--s2); }

/* Feature/benefit card */
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: var(--s6);
}
.feature-icon {
  width: 48px; height: 48px; margin-bottom: var(--s4);
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
}
.feature-icon svg { width: 24px; height: 24px; stroke: var(--accent); fill: none; stroke-width: 2; }
.feature-card h3 { margin-bottom: var(--s2); font-size: 1.05rem; }

/* ── Steps ────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s6); position: relative; }
.steps::before {
  content: '';
  position: absolute; top: 24px; left: calc(16.66% + 24px); right: calc(16.66% + 24px);
  height: 2px;
  background: linear-gradient(90deg, var(--accent-border), var(--accent-border));
  z-index: 0;
}
.step { text-align: center; position: relative; z-index: 1; }
.step-num {
  width: 48px; height: 48px; margin: 0 auto var(--s4);
  background: var(--accent); color: var(--text-inverse);
  border-radius: var(--r-full);
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-accent);
}
.step h3 { margin-bottom: var(--s2); font-size: 1.05rem; }

/* ── Table wrapper (horizontal scroll on mobile) ──────────────── */
.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--r-lg);
  border: 1px solid var(--border-subtle);
}
.table-action {
  margin-top: var(--s6);
  display: flex; justify-content: flex-start;
}

/* ── Price table ──────────────────────────────────────────────── */
.price-table {
  width: 100%; min-width: 520px; border-collapse: collapse;
  background: var(--bg-card);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.price-table thead tr { background: var(--bg-elevated); }
.price-table th {
  padding: var(--s4) var(--s5); text-align: left;
  font-family: var(--font-display); font-size: 0.9rem;
  font-weight: 700; letter-spacing: 0.02em;
  text-transform: uppercase; color: var(--text-muted);
  white-space: nowrap;
}
.price-table th:not(:first-child), .price-table td:not(:first-child) { text-align: right; }
.price-table tbody tr {
  border-top: 1px solid var(--border-subtle);
  transition: background var(--t-fast);
}
.price-table tbody tr:hover { background: var(--bg-elevated); }
.price-table td {
  padding: var(--s4) var(--s5);
  font-size: 0.95rem; color: var(--text-secondary);
}
.price-table td:first-child { color: var(--text-primary); font-weight: 500; }
.price-table .price-val {
  font-family: var(--font-display); font-size: 1rem; font-weight: 700;
  color: var(--accent);
}
.price-cell { white-space: nowrap; font-weight: 600; color: var(--accent) !important; }
.price-badge {
  display: inline-block; padding: 2px 10px;
  background: var(--accent-dim); border: 1px solid var(--accent-border);
  border-radius: var(--r-full); font-size: 0.78rem; font-weight: 600; color: var(--accent);
}

/* ── Reviews ──────────────────────────────────────────────────── */
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: var(--s6);
  box-shadow: var(--shadow-card);
}
.review-stars { display: flex; gap: 3px; margin-bottom: var(--s3); }
.star { color: #FFB830; fill: #FFB830; width: 16px; height: 16px; }
.review-text { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: var(--s4); }
.review-author { display: flex; align-items: center; gap: var(--s3); }
.review-avatar {
  width: 40px; height: 40px; border-radius: var(--r-full);
  background: var(--bg-elevated);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; color: var(--accent);
  font-size: 0.9rem; flex-shrink: 0;
}
.review-name { font-weight: 600; font-size: 0.9rem; }
.review-device { font-size: 0.8rem; color: var(--text-muted); }
.review-source { font-size: 0.75rem; color: var(--text-muted); margin-top: 2px; }

/* ── Rating Summary ───────────────────────────────────────────── */
.rating-summary-card {
  display: flex; flex-wrap: wrap; gap: var(--s8);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: var(--s8);
  align-items: flex-start;
}
.rating-big-block {
  display: flex; flex-direction: column; align-items: center;
  gap: var(--s3); min-width: 130px;
}
.rating-big-num {
  font-family: var(--font-display); font-size: 3.5rem;
  font-weight: 800; color: var(--text-primary); line-height: 1;
}
.rating-stars { display: flex; gap: 4px; }
.rating-stars .star { width: 22px; height: 22px; flex-shrink: 0; fill: #FFB830; }
.rating-total { font-size: 0.85rem; color: var(--text-muted); text-align: center; }
.rating-breakdown { flex: 1; display: flex; flex-direction: column; gap: var(--s3); min-width: 200px; }
.rating-row { display: flex; align-items: center; gap: var(--s3); }
.rating-label { font-size: 0.85rem; color: var(--text-secondary); min-width: 70px; }
.rating-bar-wrap {
  flex: 1; height: 8px; background: var(--bg-elevated);
  border-radius: var(--r-full); overflow: hidden;
}
.rating-bar { height: 100%; background: #FFB830; border-radius: var(--r-full); }
.rating-count { font-size: 0.85rem; color: var(--text-muted); min-width: 24px; text-align: right; }
.platform-links { min-width: 180px; }
.platform-links h3 { font-size: 0.95rem; font-weight: 600; margin-bottom: var(--s4); }
.platform-btns { display: flex; flex-direction: column; gap: var(--s2); }
.platform-btn {
  display: flex; align-items: center; gap: var(--s3);
  padding: 10px 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  color: var(--text-primary); font-size: 0.88rem; font-weight: 500;
  text-decoration: none; transition: border-color 0.2s, background 0.2s;
}
.platform-btn:hover { border-color: var(--accent); background: var(--bg-surface); }
.platform-btn svg { fill: var(--text-muted); flex-shrink: 0; }
@media (max-width: 640px) {
  .rating-summary-card { flex-direction: column; align-items: center; padding: var(--s6); }
  .rating-big-block { flex-direction: row; flex-wrap: wrap; justify-content: center; min-width: unset; }
  .platform-btns { flex-direction: row; flex-wrap: wrap; }
}

/* ── Forms ────────────────────────────────────────────────────── */
.form-group { margin-bottom: var(--s5); }
.form-group label {
  display: block; margin-bottom: var(--s2);
  font-size: 0.9rem; font-weight: 600; color: var(--text-primary);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 14px 18px;
  background: var(--bg-elevated);
  border: 1.5px solid var(--border-default);
  border-radius: var(--r-md);
  color: var(--text-primary);
  font-size: 1rem;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover { border-color: var(--border-strong); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,201,119,0.14);
  background: var(--bg-card);
}
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238892A4' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 44px;
  cursor: pointer;
}
.form-group select option { background: var(--bg-elevated); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-note {
  margin-top: var(--s3);
  font-size: 0.8rem; color: var(--text-muted); text-align: center;
}
.form-note a { color: var(--accent); }
.form-note a:hover { text-decoration: underline; }

/* Contact form section */
.contact-section {
  background: var(--bg-surface);
  border-radius: var(--r-xl);
  padding: var(--s12);
  border: 1px solid var(--border-subtle);
}

/* ── FAQ Accordion ────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: var(--s3); }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.faq-item.open { border-color: var(--accent-border); box-shadow: 0 0 0 1px var(--accent-border); }
.faq-q {
  width: 100%; padding: var(--s5) var(--s6);
  display: flex; align-items: center; justify-content: space-between; gap: var(--s4);
  font-weight: 600; font-size: 1rem; color: var(--text-primary);
  text-align: left;
  transition: color var(--t-fast);
}
.faq-q:hover { color: var(--accent); }
.faq-q:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.faq-icon {
  width: 24px; height: 24px; flex-shrink: 0;
  background: var(--bg-elevated);
  border-radius: var(--r-full);
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--t-base) var(--ease-spring), background var(--t-fast);
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--accent); }
.faq-icon svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.5; }
.faq-item.open .faq-icon svg { stroke: var(--text-inverse); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height var(--t-slow) var(--ease-out);
}
.faq-item.open .faq-a { max-height: 400px; }
.faq-a-inner {
  padding: 0 var(--s6) var(--s5);
  color: var(--text-secondary); font-size: 0.95rem;
}

/* ── FAQ accordion variant (dostavka / faq pages) ────────────── */
.faq-question {
  width: 100%; padding: var(--s5) var(--s6);
  display: flex; align-items: center; justify-content: space-between; gap: var(--s4);
  background: none; border: none; text-align: left; cursor: pointer;
  font-size: 1rem; font-weight: 600; color: var(--text-primary);
  transition: color var(--t-fast);
}
.faq-question:hover { color: var(--accent); }
.faq-chevron {
  width: 20px; height: 20px; flex-shrink: 0;
  stroke: currentColor; fill: none; stroke-width: 2;
  transition: transform 0.3s var(--ease-out);
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height var(--t-slow) var(--ease-out);
}
.faq-item.open .faq-answer { max-height: 700px; }
.faq-answer p, .faq-answer ul, .faq-answer ol {
  padding: 0 var(--s6) var(--s5);
  color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7;
}
.faq-answer ul, .faq-answer ol { padding-left: calc(var(--s6) + 1.4em); }
.faq-answer li { margin-bottom: var(--s2); }

/* ── FAQ page layout (sidebar + content) ─────────────────────── */
.faq-layout {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: var(--s10);
  align-items: start;
}
.faq-sidebar { position: sticky; top: 90px; }
.faq-nav { display: flex; flex-direction: column; gap: 2px; }
.faq-nav-link {
  display: block; padding: 10px 14px;
  border-radius: var(--r-sm);
  font-size: 0.9rem; font-weight: 500; color: var(--text-secondary);
  text-decoration: none; transition: color var(--t-fast), background var(--t-fast);
}
.faq-nav-link:hover, .faq-nav-link.active { color: var(--accent); background: var(--bg-elevated); }
.faq-category { margin-bottom: var(--s10); }
.faq-category-title {
  display: flex; align-items: center; gap: var(--s3);
  font-size: 1.2rem; font-weight: 700; margin-bottom: var(--s5);
  padding-bottom: var(--s4); border-bottom: 1px solid var(--border-subtle);
}
.faq-category-title svg {
  width: 22px; height: 22px; flex-shrink: 0;
  stroke: var(--accent); fill: none; stroke-width: 1.5;
}

/* ── FAQ CTA block ────────────────────────────────────────────── */
.faq-cta-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
  padding: var(--s12);
  text-align: center;
  max-width: 640px; margin: 0 auto;
}
.faq-cta-icon {
  width: 56px; height: 56px; margin: 0 auto var(--s5);
  background: var(--bg-elevated); border-radius: var(--r-full);
  display: flex; align-items: center; justify-content: center;
}
.faq-cta-icon svg { width: 28px; height: 28px; stroke: var(--accent); fill: none; stroke-width: 1.5; }
.faq-cta-card h2 { font-size: 1.5rem; margin-bottom: var(--s4); }
.faq-cta-card > p { color: var(--text-secondary); margin-bottom: var(--s6); }
.faq-cta-actions {
  display: flex; justify-content: center; gap: var(--s4); flex-wrap: wrap;
  margin-bottom: var(--s4);
}
.faq-cta-address { font-size: 0.85rem; color: var(--text-muted); font-style: normal; }
@media (max-width: 768px) {
  .faq-layout { grid-template-columns: 1fr; }
  .faq-sidebar { position: static; }
}

/* ── Trust bar static 4-col (dostavka) ───────────────────────── */
.trust-bar-section { background: var(--bg-surface); border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); padding: var(--s6) 0; }
.trust-bar-4 {
  overflow: visible;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s5);
  background: none; border: none; padding: 0;
}
.trust-bar-4 .trust-item { white-space: normal; flex-shrink: unset; flex-direction: column; align-items: flex-start; }
.trust-bar-4 .trust-item::after { display: none; }
.trust-bar-4 .trust-item strong { display: block; font-size: 0.95rem; color: var(--text-primary); }
.trust-bar-4 .trust-item span { font-size: 0.82rem; color: var(--text-muted); }
@media (max-width: 640px) { .trust-bar-4 { grid-template-columns: repeat(2, 1fr); } }

/* ── Steps (dostavka) ────────────────────────────────────────── */
.steps-grid { display: grid; gap: var(--s6); }
.steps-grid-3 { grid-template-columns: repeat(3, 1fr); }
.step-card {
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg); padding: var(--s6); text-align: center;
}
.step-card .step-num {
  font-family: var(--font-display); font-size: 2rem; font-weight: 800;
  color: var(--accent); margin-bottom: var(--s3); line-height: 1;
}
.step-card .step-icon {
  width: 48px; height: 48px; margin: 0 auto var(--s4);
  background: var(--bg-elevated); border-radius: var(--r-full);
  display: flex; align-items: center; justify-content: center;
}
.step-card .step-icon svg { width: 22px; height: 22px; stroke: var(--accent); fill: none; stroke-width: 1.5; }
.step-card h3 { font-size: 1.05rem; margin-bottom: var(--s3); }
.step-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; }
.step-card a { color: var(--accent); }
@media (max-width: 768px) { .steps-grid-3 { grid-template-columns: 1fr; } }

/* ── Delivery zones (dostavka) ───────────────────────────────── */
.zones-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5);
}
.zone-card {
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg); padding: var(--s6);
}
.zone-card.zone-card-cta { border-color: var(--accent-border); }
.zone-icon {
  width: 40px; height: 40px; margin-bottom: var(--s4);
  background: var(--bg-elevated); border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
}
.zone-icon svg { width: 20px; height: 20px; stroke: var(--accent); fill: none; stroke-width: 1.5; }
.zone-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: var(--s2); }
.zone-card p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: var(--s3); }
.zone-time { display: flex; align-items: center; gap: var(--s2); font-size: 0.82rem; color: var(--text-muted); font-weight: 500; }
.zone-time svg { width: 14px; height: 14px; stroke: var(--text-muted); fill: none; flex-shrink: 0; }
@media (max-width: 900px) { .zones-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .zones-grid { grid-template-columns: 1fr; } }

/* ── Benefits grid (dostavka) ────────────────────────────────── */
.benefits-grid { display: grid; gap: var(--s5); }
.benefits-grid-3 { grid-template-columns: repeat(3, 1fr); }
.benefit-card {
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg); padding: var(--s6);
}
.benefit-icon {
  width: 44px; height: 44px; margin-bottom: var(--s4);
  background: var(--bg-elevated); border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
}
.benefit-icon svg { width: 22px; height: 22px; stroke: var(--accent); fill: none; stroke-width: 1.5; }
.benefit-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: var(--s2); }
.benefit-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; }
@media (max-width: 900px) { .benefits-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .benefits-grid-3 { grid-template-columns: 1fr; } }

/* ── Map placeholder ─────────────────────────────────────────── */
.map-placeholder {
  border: 2px dashed var(--border-default);
  border-radius: var(--r-lg);
  background: var(--bg-surface);
  min-height: 260px;
  display: flex; align-items: center; justify-content: center;
}
.map-placeholder-inner { text-align: center; padding: var(--s8); }
.map-placeholder-inner h3 { margin: var(--s4) 0 var(--s3); font-size: 1.1rem; }
.map-placeholder-inner p { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: var(--s5); }

/* ── Calculator ───────────────────────────────────────────────── */
.calc-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
  padding: var(--s10);
  box-shadow: var(--shadow-lg);
}
.calc-steps { display: flex; gap: var(--s4); margin-bottom: var(--s8); flex-wrap: wrap; }
.calc-step-btn {
  flex: 1; min-width: 80px;
  padding: var(--s3) var(--s4);
  background: var(--bg-elevated);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--r-md);
  font-size: 0.85rem; font-weight: 600; color: var(--text-muted);
  transition: all var(--t-fast);
}
.calc-step-btn.active {
  background: var(--accent-dim); border-color: var(--accent);
  color: var(--accent);
}
.calc-result {
  background: var(--bg-elevated);
  border: 1px solid var(--accent-border);
  border-radius: var(--r-lg);
  padding: var(--s8);
  text-align: center;
}
.calc-result-value {
  font-family: var(--font-display); font-size: 3rem; font-weight: 800;
  color: var(--accent); letter-spacing: -0.04em;
  margin: var(--s4) 0 var(--s2);
}
.calc-result-label { font-size: 0.9rem; color: var(--text-muted); }

/* ── Breadcrumbs ──────────────────────────────────────────────── */
.breadcrumbs {
  display: flex; align-items: center; gap: var(--s2);
  flex-wrap: wrap; font-size: 0.85rem; color: var(--text-muted);
  margin-bottom: var(--s6);
}
.breadcrumbs a { color: var(--text-muted); transition: color var(--t-fast); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs .sep { color: var(--text-muted); }
.breadcrumbs .current { color: var(--text-secondary); }

/* ── Page hero (inner pages) ──────────────────────────────────── */
.page-hero {
  padding: var(--s16) 0 var(--s12);
  position: relative; overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 0%, rgba(0,201,119,0.1) 0%, transparent 60%);
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1, .page-hero-title { margin-bottom: var(--s4); }
.page-hero .lead, .page-hero-sub {
  font-size: 1.1rem; color: var(--text-secondary); max-width: 600px; margin-bottom: var(--s6);
}

/* ── Notice box ───────────────────────────────────────────────── */
.notice-box {
  display: flex; align-items: flex-start; gap: var(--s3);
  padding: var(--s4) var(--s5);
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: var(--r-md);
  font-size: 0.9rem; color: var(--text-secondary);
  margin-top: var(--s6);
}
.notice-box svg { width: 20px; height: 20px; stroke: var(--accent); fill: none; stroke-width: 2; flex-shrink: 0; margin-top: 1px; }

/* ── Price factors ────────────────────────────────────────────── */
.factors-box {
  margin-top: var(--s10);
  padding: var(--s8);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
}
.factors-box h3 { margin-bottom: var(--s6); }
.factors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s5);
}
.factor-item {
  display: flex; align-items: flex-start; gap: var(--s4);
}
.factor-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--accent-dim); border: 1px solid var(--accent-border);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
}
.factor-icon svg { width: 18px; height: 18px; stroke: var(--accent); fill: none; stroke-width: 2; }
.factor-item strong { display: block; font-size: 0.95rem; margin-bottom: 2px; color: var(--text-primary); }
.factor-item p { font-size: 0.85rem; margin: 0; }

/* ── Trust bar ────────────────────────────────────────────────── */
.trust-bar {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: var(--s3) 0;
  overflow: hidden;
}
.trust-bar-inner {
  display: flex; align-items: center;
  gap: var(--s10); flex-wrap: nowrap;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.trust-bar:hover .trust-bar-inner { animation-play-state: paused; }
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.trust-item {
  display: flex; align-items: center; gap: var(--s3);
  font-size: 0.9rem; font-weight: 500; color: var(--text-secondary);
  white-space: nowrap; flex-shrink: 0;
}
.trust-item::after {
  content: '·';
  margin-left: var(--s10);
  color: var(--text-muted);
  font-size: 1.2rem;
}
.trust-item svg { width: 20px; height: 20px; stroke: var(--accent); fill: none; stroke-width: 2; }

/* ── Tabs ─────────────────────────────────────────────────────── */
.tabs, .tab-nav { display: flex; gap: var(--s2); margin-bottom: var(--s8); flex-wrap: wrap; }
.tab-btn {
  padding: var(--s3) var(--s5);
  border-radius: var(--r-full);
  font-size: 0.9rem; font-weight: 600; color: var(--text-secondary);
  border: 1.5px solid var(--border-subtle);
  transition: all var(--t-fast);
}
.tab-btn:hover { color: var(--text-primary); border-color: var(--border-strong); }
.tab-btn.active {
  background: var(--accent-dim); border-color: var(--accent); color: var(--accent);
}
.tab-btn:focus-visible { outline: 2px solid var(--accent); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── CTA banner ───────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, rgba(0,201,119,0.15) 0%, rgba(0,100,60,0.08) 100%);
  border: 1px solid var(--accent-border);
  border-radius: var(--r-xl);
  padding: var(--s12) var(--s10);
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; top: -80px; left: 50%; transform: translateX(-50%);
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(0,201,119,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner h2 { margin-bottom: var(--s4); }
.cta-banner p { max-width: 480px; margin: 0 auto var(--s8); }
.cta-banner .btn-group { display: flex; justify-content: center; gap: var(--s4); flex-wrap: wrap; }
.cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s8); flex-wrap: wrap; text-align: left;
}
.cta-text { flex: 1; min-width: 200px; }
.cta-text h2 { margin-bottom: var(--s3); }
.cta-text p  { margin: 0; }
.cta-actions { display: flex; gap: var(--s4); flex-wrap: wrap; flex-shrink: 0; }

/* ── Map section ──────────────────────────────────────────────── */
.map-wrap {
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--border-subtle);
  height: 400px; background: var(--bg-elevated);
}
.map-wrap iframe { width: 100%; height: 100%; border: none; filter: invert(0.85) hue-rotate(160deg); }

/* ── Blog cards ───────────────────────────────────────────────── */
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--t-base) var(--ease-spring),
              box-shadow var(--t-base) var(--ease-out),
              border-color var(--t-fast);
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--border-default); }
.blog-card:focus-within { outline: 3px solid var(--accent); border-radius: var(--r-lg); }
.blog-card-img {
  height: 200px; background: var(--bg-elevated);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.blog-card-img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(7,8,9,0.7) 0%, transparent 60%);
}
.blog-card-body { padding: var(--s5); }
.blog-tag {
  display: inline-block; padding: 2px 10px;
  background: var(--accent-dim); border: 1px solid var(--accent-border);
  border-radius: var(--r-full); font-size: 0.78rem; font-weight: 600; color: var(--accent);
  margin-bottom: var(--s3);
}
.blog-card h3 { font-size: 1.05rem; margin-bottom: var(--s2); line-height: 1.35; }
.blog-card p { font-size: 0.875rem; color: var(--text-secondary); margin-bottom: var(--s4); }
.blog-meta { display: flex; align-items: center; gap: var(--s4); font-size: 0.8rem; color: var(--text-muted); }

/* ── Article content ──────────────────────────────────────────── */
.article-content { max-width: 760px; }
.article-content h2 { margin: var(--s10) 0 var(--s4); }
.article-content h3 { margin: var(--s8) 0 var(--s3); }
.article-content p  { margin-bottom: var(--s5); }
.article-content ul, .article-content ol { margin: var(--s4) 0 var(--s5) var(--s6); }
.article-content li { margin-bottom: var(--s2); color: var(--text-secondary); }
.article-content li::marker { color: var(--accent); }
.article-content blockquote {
  border-left: 3px solid var(--accent); padding: var(--s4) var(--s6);
  background: var(--accent-dim); border-radius: 0 var(--r-md) var(--r-md) 0;
  margin: var(--s6) 0;
}
.article-content blockquote p { margin: 0; color: var(--text-primary); }

/* ── Contacts info ────────────────────────────────────────────── */
.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: var(--s6);
}
.contact-info-item {
  display: flex; align-items: flex-start; gap: var(--s4);
  padding: var(--s4) 0;
  border-bottom: 1px solid var(--border-subtle);
}
.contact-info-item:last-child { border-bottom: none; }
.contact-info-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--accent-dim); border: 1px solid var(--accent-border);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
}
.contact-info-icon svg { width: 18px; height: 18px; stroke: var(--accent); fill: none; stroke-width: 2; }
.contact-info-label { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 2px; }
.contact-info-value { font-weight: 600; color: var(--text-primary); }
.contact-info-value a { color: var(--text-primary); transition: color var(--t-fast); }
.contact-info-value a:hover { color: var(--accent); }

/* ── Modal ────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(7,8,9,0.85);
  backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center;
  padding: var(--s5);
  opacity: 0; pointer-events: none;
  transition: opacity var(--t-base) var(--ease-out);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--r-xl);
  padding: var(--s10);
  width: 100%; max-width: 500px;
  position: relative;
  transform: translateY(20px) scale(0.96);
  transition: transform var(--t-base) var(--ease-spring);
  box-shadow: var(--shadow-lg);
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute; top: var(--s5); right: var(--s5);
  width: 36px; height: 36px;
  background: var(--bg-elevated); border-radius: var(--r-full);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary); font-size: 1.2rem;
  transition: background var(--t-fast), color var(--t-fast);
}
.modal-close:hover { background: var(--bg-elevated); color: var(--text-primary); }
.modal-close:focus-visible { outline: 2px solid var(--accent); }
.modal h3 { font-size: 1.4rem; margin-bottom: var(--s2); }
.modal .modal-sub { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: var(--s6); }

/* Honeypot */
.hp-field { display: none !important; }

/* Success message */
.form-success {
  text-align: center; padding: var(--s8);
  display: none;
}
.form-success.visible { display: block; }
.form-success svg { width: 56px; height: 56px; stroke: var(--accent); fill: none; stroke-width: 1.5; margin: 0 auto var(--s4); }
.form-success h3 { margin-bottom: var(--s2); }

/* ── Footer ───────────────────────────────────────────────────── */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: var(--s16) 0 var(--s8);
  margin-top: var(--s20);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: var(--s8);
  padding-bottom: var(--s10);
  border-bottom: 1px solid var(--border-subtle);
}
.footer-brand .logo { margin-bottom: var(--s4); }
.footer-brand p { font-size: 0.9rem; max-width: 260px; margin-bottom: var(--s5); }
.footer-col h4 {
  font-family: var(--font-display); font-size: 0.9rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--text-muted); margin-bottom: var(--s4);
}
.footer-col ul { display: flex; flex-direction: column; gap: var(--s3); }
.footer-col a {
  font-size: 0.9rem; color: var(--text-secondary);
  transition: color var(--t-fast);
}
.footer-col a:hover { color: var(--accent); }
.footer-col a:focus-visible { outline: 2px solid var(--accent); border-radius: 2px; }
.footer-contacts { display: flex; flex-direction: column; gap: var(--s3); }
.footer-contacts a { font-size: 0.9rem; color: var(--text-secondary); }
.footer-contacts a:hover { color: var(--accent); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: var(--s6); flex-wrap: wrap; gap: var(--s4);
}
.footer-bottom p { font-size: 0.82rem; color: var(--text-muted); }
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--accent); }

/* Social links */
.social-links { display: flex; gap: var(--s3); }
.social-link {
  width: 36px; height: 36px;
  background: var(--bg-elevated); border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary);
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.social-link:hover { background: var(--accent-dim); border-color: var(--accent-border); color: var(--accent); }
.social-link:focus-visible { outline: 2px solid var(--accent); }
.social-link svg { width: 18px; height: 18px; fill: currentColor; }

/* ── Scroll reveal ────────────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity var(--t-slow) var(--ease-out),
              transform var(--t-slow) var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Responsive grid helpers (replaces inline grid styles) ───── */
.grid-1-1 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s10); }
.grid-1-14 { display: grid; grid-template-columns: 1fr 1.4fr; gap: var(--s8); align-items: start; }
.grid-1-1-center { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s12); align-items: center; }
.grid-3-auto { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); margin-top: var(--s8); }
@media (max-width: 768px) {
  .grid-1-1, .grid-1-14, .grid-1-1-center { grid-template-columns: 1fr; }
  .grid-3-auto { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .grid-3-auto { grid-template-columns: 1fr; }
}

/* ── Utility ──────────────────────────────────────────────────── */
.mt-4  { margin-top: var(--s4); }
.mt-6  { margin-top: var(--s6); }
.mt-8  { margin-top: var(--s8); }
.mt-10 { margin-top: var(--s10); }
.mb-4  { margin-bottom: var(--s4); }
.mb-6  { margin-bottom: var(--s6); }
.mb-8  { margin-bottom: var(--s8); }
.text-center { text-align: center; }
.tag {
  display: inline-flex; align-items: center; gap: var(--s1);
  padding: 3px 12px;
  background: var(--accent-dim); border: 1px solid var(--accent-border);
  border-radius: var(--r-full);
  font-size: 0.8rem; font-weight: 600; color: var(--accent);
}
.divider {
  height: 1px; background: var(--border-subtle);
  margin: var(--s10) 0;
}

/* ── Conditions badge row ─────────────────────────────────────── */
.conditions { display: flex; gap: var(--s3); flex-wrap: wrap; margin-bottom: var(--s8); }
.cond-btn {
  padding: var(--s2) var(--s4);
  background: var(--bg-elevated); border: 1.5px solid var(--border-default);
  border-radius: var(--r-full); font-size: 0.85rem; font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--t-fast);
}
.cond-btn:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); }
.cond-btn.active { background: var(--accent); color: var(--text-inverse); border-color: var(--accent); }
.cond-btn:focus-visible { outline: 2px solid var(--accent); }


/* ── Alert / notice ───────────────────────────────────────────── */
.notice {
  padding: var(--s4) var(--s5);
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: var(--r-md);
  font-size: 0.9rem; color: var(--text-primary);
  display: flex; align-items: flex-start; gap: var(--s3);
}
.notice svg { width: 20px; height: 20px; stroke: var(--accent); fill: none; stroke-width: 2; flex-shrink: 0; margin-top: 1px; }

/* ================================================================
   RESPONSIVE
   ================================================================ */

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s8) var(--s6); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .burger { display: flex; }
  .nav-phone { display: none; }
}

@media (max-width: 768px) {
  h1 { font-size: clamp(1.8rem, 7vw, 2.8rem); }
  h2 { font-size: clamp(1.4rem, 5vw, 2rem); }
  .section { padding: var(--s12) 0; }
  .section-sm { padding: var(--s8) 0; }
  .hero { padding: var(--s16) 0 var(--s12); }
  .hero-stats { gap: var(--s6); }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand p { max-width: 100%; }
  .nav-phone { display: none; }
  .burger { display: flex; }
  .contact-section { padding: var(--s8) var(--s5); }
  .calc-wrap { padding: var(--s6); }
  .cta-banner { padding: var(--s8) var(--s5); }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-text { min-width: unset; }
  .cta-actions { justify-content: center; width: 100%; }
  .modal { padding: var(--s6); }
  .trust-bar-inner { gap: var(--s5); }
  .hero-actions .btn-lg { width: 100%; }
  .price-table { font-size: 0.82rem; min-width: 460px; }
  .price-table th, .price-table td { padding: var(--s2) var(--s3); }
  .factors-grid { grid-template-columns: 1fr; }
  .page-hero { padding: var(--s12) 0 var(--s8); }
}

@media (max-width: 480px) {
  .container { padding: 0 var(--s4); }
  .grid-4 { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.9rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .calc-result-value { font-size: 2rem; }
  .price-table { font-size: 0.75rem; min-width: 340px; }
  .price-table th, .price-table td { padding: var(--s2) 8px; }
  .tab-btn { padding: var(--s2) var(--s3); font-size: 0.82rem; }
  .btn-lg { padding: 14px 28px; font-size: 1rem; }
  .cta-actions .btn { width: 100%; }
}

/* ── Scroll-to-top button ─────────────────────────────────────── */
#scrollTop {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 900;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #000;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,201,119,0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s, visibility 0.25s, transform 0.25s;
}
#scrollTop.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#scrollTop:hover { background: var(--accent-hover); transform: translateY(-2px); }
#scrollTop svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
