/* ============================================
   D2 GROUP IMPORT — HERO + HEADER STYLES
   ============================================ */

/* ── RESET ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--text);
  transition: background-color 0.3s ease, color 0.3s ease;
}
body {
  font-family: 'Manrope', sans-serif;
  background: transparent;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }

/* ── CSS VARIABLES ──────────────────────────── */
:root {
  --bg:        #07080A;
  --bg-card:   #0F0F14;
  --text:      #FFFFFF;
  --red:       #8B1A08;
  --red2:      #C41E08;
  --cream:     #EDFFC4;
  --gray:      #888888;
  --border:    rgba(255,255,255,0.08);
  --hdr-h:     72px;
}

/* ── CONTAINER ──────────────────────────────── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ══════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--hdr-h);
  transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(7,8,10,0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
}

.header__inner {
  height: var(--hdr-h);
  display: flex;
  align-items: center;
}

/* Logo */
.header__logo { flex-shrink: 0; display: flex; align-items: center; }
.header__logo-text {
  font-family: 'Manrope', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.025em;
  line-height: 1;
  transition: color 0.3s ease;
}

/* Nav */
.header__nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  margin-right: 28px;
}
.header__link {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
  white-space: nowrap;
}
.header__link:hover { color: #FFFFFF; }

/* Header CTA */
.header__cta {
  flex-shrink: 0;
  padding: 10px 22px;
  background: linear-gradient(135deg, var(--red), var(--red2));
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
  border-radius: 10px;
  transition: opacity 0.2s, box-shadow 0.2s, transform 0.15s;
  white-space: nowrap;
}
@media (hover: hover) {
  .header__cta:hover {
    opacity: 0.9;
    box-shadow: 0 4px 20px rgba(196,30,8,0.45);
    transform: translateY(-1px);
  }
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: 16px;
  flex-shrink: 0;
  touch-action: manipulation;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #FFFFFF;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s, width 0.3s;
  transform-origin: center;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; width: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Theme toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: transparent;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  flex-shrink: 0;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  touch-action: manipulation;
  margin-right: 12px;
}
@media (hover: hover) {
  .theme-toggle:hover {
    color: #FFFFFF;
    border-color: rgba(255,255,255,0.22);
    background: rgba(255,255,255,0.06);
  }
}
.theme-icon { width: 18px; height: 18px; display: block; }
.theme-icon--sun { display: none; }

/* ══════════════════════════════════════════════
   MOBILE MENU
══════════════════════════════════════════════ */
.mob-menu {
  position: fixed;
  top: var(--hdr-h);
  left: 0; right: 0;
  background: rgba(7,8,10,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 99;
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.35s, background-color 0.3s ease;
  border-bottom: 1px solid var(--border);
}
.mob-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.mob-menu__inner {
  display: flex;
  flex-direction: column;
  padding: 24px 32px 32px;
  gap: 4px;
}
.mob-menu__link {
  font-size: 17px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.mob-menu__link:hover { color: #FFFFFF; }
.mob-menu__cta {
  margin-top: 20px;
  padding: 16px 24px;
  background: linear-gradient(135deg, var(--red), var(--red2));
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 700;
  border-radius: 12px;
  text-align: center;
  display: block;
}
body.locked { overflow: hidden; }

/* ══════════════════════════════════════════════
   HERO SECTION
══════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

/* ── Content (left) ─────────────────────────── */
.hero__content {
  position: relative;
  z-index: 2;
  width: 58%;
  min-height: 100vh;
  padding-top: calc(var(--hdr-h) + 72px);
  padding-bottom: 80px;
  padding-left: max(32px, calc((100vw - 1280px) / 2 + 32px));
  padding-right: 48px;
  display: flex;
  flex-direction: column;
}

/* ── Map wrap (right) ───────────────────────── */
.hero__map-wrap {
  position: absolute;
  top: 0; right: 0;
  width: 52%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  background: var(--bg);
}
/* Veil: fades the left edge into background */
.hero__map-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    var(--bg) 0%,
    rgba(7,8,10,0.90) 15%,
    rgba(7,8,10,0.50) 42%,
    transparent 100%
  );
  z-index: 10;
  pointer-events: none;
}

/* Hero SVG fills the container */
.hero-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* ── Badge ──────────────────────────────────── */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(237,255,196,0.2);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 26px;
  width: fit-content;
  letter-spacing: 0.01em;
}
.hero__badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cream);
  box-shadow: 0 0 8px var(--cream);
  flex-shrink: 0;
  animation: pulse-dot 2.4s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.45; transform: scale(0.7); }
}

/* ── Title ──────────────────────────────────── */
.hero__title {
  font-size: clamp(36px, 4vw, 64px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: #FFFFFF;
  margin-bottom: 22px;
}
.hero__title-accent {
  color: var(--cream);
  text-shadow:
    0 0 30px rgba(237,255,196,0.4),
    0 0 70px rgba(237,255,196,0.18);
}

/* ── Subtitle ───────────────────────────────── */
.hero__sub {
  font-size: clamp(14px, 1.1vw, 16.5px);
  font-weight: 500;
  line-height: 1.7;
  color: rgba(255,255,255,0.68);
  margin-bottom: 14px;
}

/* ── Short desc ─────────────────────────────── */
.hero__desc {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255,255,255,0.42);
  margin-bottom: 28px;
}

/* ── Benefits list ──────────────────────────── */
.hero__list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 36px;
}
.hero__list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
}
.hero__list-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(237,255,196,0.05);
  border: 1px solid rgba(237,255,196,0.14);
  border-radius: 7px;
}
.hero__list-icon svg {
  width: 16px;
  height: 16px;
}

/* ── Buttons row ────────────────────────────── */
.hero__btns {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

/* Primary — red gradient */
.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 30px;
  background: linear-gradient(135deg, #6B1306 0%, var(--red) 45%, var(--red2) 100%);
  color: #FFFFFF;
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 700;
  border-radius: 12px;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.18s;
  touch-action: manipulation;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.25s;
}
@media (hover: hover) {
  .btn-primary:hover {
    box-shadow: 0 8px 32px rgba(196,30,8,0.55), 0 2px 8px rgba(0,0,0,0.4);
    transform: translateY(-2px);
  }
  .btn-primary:hover::after { background: rgba(255,255,255,0.06); }
}
.btn-primary:active { transform: translateY(0); }

/* Animated SVG border */
.btn-border-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}
.btn-border-rect {
  fill: none;
}

/* Ghost button */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 30px;
  background: transparent;
  color: var(--cream);
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 600;
  border: 1.5px solid rgba(237,255,196,0.32);
  border-radius: 12px;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s, transform 0.18s;
  touch-action: manipulation;
}
@media (hover: hover) {
  .btn-ghost:hover {
    border-color: rgba(237,255,196,0.65);
    background: rgba(237,255,196,0.05);
    transform: translateY(-2px);
  }
}

/* ── Under-buttons note ─────────────────────── */
.hero__note {
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.75;
  color: #666666;
}

/* ══════════════════════════════════════════════
   ENTRANCE ANIMATIONS
══════════════════════════════════════════════ */
.animate-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease, color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}
.animate-up.vis {
  opacity: 1;
  transform: translateY(0);
}

.hero__badge.animate-up   { transition-delay: 0s; }
.hero__title.animate-up   { transition-delay: 0.08s; }
.hero__sub.animate-up     { transition-delay: 0.16s; }
.hero__desc.animate-up    { transition-delay: 0.23s; }
.hero__list.animate-up    { transition-delay: 0.3s; }
.hero__btns.animate-up    { transition-delay: 0.42s; }
.hero__note.animate-up    { transition-delay: 0.5s; }

/* List items stagger (applied when .hero__list gets .vis) */
.hero__list.vis .hero__list-item { animation: item-in 0.45s ease forwards; opacity: 0; }
.hero__list.vis .hero__list-item:nth-child(1) { animation-delay: 0s; }
.hero__list.vis .hero__list-item:nth-child(2) { animation-delay: 0.07s; }
.hero__list.vis .hero__list-item:nth-child(3) { animation-delay: 0.14s; }
.hero__list.vis .hero__list-item:nth-child(4) { animation-delay: 0.21s; }
.hero__list.vis .hero__list-item:nth-child(5) { animation-delay: 0.28s; }

@keyframes item-in {
  from { opacity: 0; transform: translateX(-10px); }
  to   { opacity: 1; transform: translateX(0); }
}

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

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */

@media (max-width: 1100px) {
  .header__nav { gap: 20px; }
  .header__nav .header__link:nth-child(n+6) { display: none; }
  .hero__content { width: 60%; }
  .hero__map-wrap { width: 50%; }
}

@media (max-width: 900px) {
  .header__nav { display: none; }
  .header__cta { display: none; }
  .burger { display: flex; }
  .theme-toggle { margin-left: auto; margin-right: 0; }

  .hero { min-height: auto; padding-bottom: 0; flex-direction: column; }
  .hero__content {
    width: 100%;
    padding: calc(var(--hdr-h) + 40px) 24px 40px;
    min-height: auto;
  }
  .hero__map-wrap {
    position: relative;
    width: 100%;
    height: 280px;
    top: auto; right: auto;
  }
  .hero__map-wrap::before {
    background: linear-gradient(to bottom, transparent 0%, var(--bg) 100%);
    height: 70%;
    top: auto;
    bottom: 0;
    width: 100%;
  }
}

@media (max-width: 768px) {
  /* Hero: china becomes subtle full-screen backdrop */
  .hero {
    min-height: 100vh;
    position: relative;
    flex-direction: column;
  }
  .hero__content {
    width: 100%;
    min-height: 100vh;
    padding: calc(var(--hdr-h) + 36px) 16px 56px;
    position: relative;
    z-index: 2;
  }
  .hero__title { font-size: clamp(32px, 9vw, 40px); }
  .hero__sub   { font-size: 14px; }
  .hero__desc  { font-size: 12.5px; }

  /* China map: absolute backdrop at low opacity */
  .hero__map-wrap {
    position: absolute !important;
    top: 0 !important; left: 0 !important;
    right: 0 !important; bottom: 0 !important;
    width: 100% !important; height: 100% !important;
    z-index: 0 !important;
    opacity: 0.12;
  }
  .hero__map-wrap::before { display: none; }

  /* Buttons full-width */
  .hero__btns { flex-direction: column; align-items: stretch; gap: 10px; }
  .btn-primary, .btn-ghost { width: 100%; text-align: center; padding: 16px 20px; }

  .container { padding: 0 16px; }
}

@media (max-width: 480px) {
  .hero__title   { font-size: clamp(28px, 8vw, 34px); }
  .hero__content { padding: calc(var(--hdr-h) + 24px) 16px 48px; }
  .mob-menu__inner { padding: 20px 16px 28px; }
}

/* ══════════════════════════════════════════════
   LIGHT THEME
══════════════════════════════════════════════ */

/* Variable overrides — всі кольорові зміни через змінні */
[data-theme="light"] {
  --bg:      #F5F5F0;
  --bg-card: #FFFFFF;
  --text:    #0A0806;
  --border:  rgba(0,0,0,0.08);
  --cream:   #8B1A08;
}

/* Header */
[data-theme="light"] .header.scrolled {
  background: rgba(245,245,240,0.88);
  border-bottom-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .header__link        { color: rgba(10,8,6,0.6); }
[data-theme="light"] .header__link:hover  { color: #0A0806; }
[data-theme="light"] .header__logo-text   { color: #0A0806; }
[data-theme="light"] .burger span         { background: #0A0806; }
[data-theme="light"] .theme-toggle        { color: rgba(10,8,6,0.6); }
@media (hover: hover) {
  [data-theme="light"] .theme-toggle:hover {
    color: #0A0806;
    border-color: rgba(0,0,0,0.22);
    background: rgba(0,0,0,0.05);
  }
}

/* Show sun icon, hide moon */
[data-theme="light"] .theme-icon--sun  { display: block; }
[data-theme="light"] .theme-icon--moon { display: none; }

/* Mobile menu */
[data-theme="light"] .mob-menu         { background: rgba(245,245,240,0.97); }
[data-theme="light"] .mob-menu__link   { color: rgba(10,8,6,0.75); border-bottom-color: rgba(0,0,0,0.08); }
[data-theme="light"] .mob-menu__link:hover { color: #0A0806; }

/* Hero text */
[data-theme="light"] .hero__title      { color: #0A0806; }
[data-theme="light"] .hero__title-accent {
  text-shadow: 0 0 30px rgba(139,26,8,0.22), 0 0 70px rgba(139,26,8,0.1);
}
[data-theme="light"] .hero__sub        { color: rgba(10,8,6,0.65); }
[data-theme="light"] .hero__desc       { color: rgba(10,8,6,0.45); }
[data-theme="light"] .hero__note       { color: #888888; }
[data-theme="light"] .hero__list-item  { color: rgba(10,8,6,0.78); }

/* Badge */
[data-theme="light"] .hero__badge {
  background: rgba(139,26,8,0.05);
  border-color: rgba(139,26,8,0.22);
}
[data-theme="light"] .hero__badge-dot {
  background: #8B1A08;
  box-shadow: 0 0 8px rgba(139,26,8,0.55);
}

/* List icons */
[data-theme="light"] .hero__list-icon {
  background: rgba(139,26,8,0.04);
  border-color: rgba(139,26,8,0.14);
}
[data-theme="light"] .hero__list-icon svg path,
[data-theme="light"] .hero__list-icon svg circle { stroke: #8B1A08; }

/* Ghost button */
[data-theme="light"] .btn-ghost {
  color: #8B1A08;
  border-color: rgba(139,26,8,0.32);
}
@media (hover: hover) {
  [data-theme="light"] .btn-ghost:hover {
    border-color: rgba(139,26,8,0.6);
    background: rgba(139,26,8,0.05);
  }
}

/* Hero map veil */
[data-theme="light"] .hero__map-wrap::before {
  background: linear-gradient(
    to right,
    #F5F5F0 0%,
    rgba(245,245,240,0.90) 15%,
    rgba(245,245,240,0.50) 42%,
    transparent 100%
  );
}

/* SVG: route lines */
[data-theme="light"] .route-path { stroke: #8B1A08; opacity: 0.3; }

/* SVG: china image */
[data-theme="light"] .china-img { opacity: 0.5; }

/* SVG: planes — dark color, no glow */
[data-theme="light"] #pl { fill: #333333; }
[data-theme="light"] .tp1,
[data-theme="light"] .tp2,
[data-theme="light"] .tp3,
[data-theme="light"] .tp4,
[data-theme="light"] .tp5,
[data-theme="light"] .tp6,
[data-theme="light"] .tp7,
[data-theme="light"] .tp8,
[data-theme="light"] .tp9,
[data-theme="light"] .tp10 { filter: none; }

/* ══════════════════════════════════════════════
   SECTION BASE
══════════════════════════════════════════════ */
.section { padding: 96px 0; }

.section__head { max-width: 760px; margin-bottom: 48px; }

.section__label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red2);
  margin-bottom: 14px;
}

.section__title {
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: #FFFFFF;
  margin-bottom: 18px;
}

.s-accent { color: var(--cream); }

.section__sub {
  font-size: 16px;
  line-height: 1.72;
  color: rgba(255,255,255,0.5);
}

/* ── Scroll reveal ───────────────────────────── */
.animate-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.animate-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Divider line ────────────────────────────── */
.divider-line {
  height: 1px;
  background: var(--border);
  margin-bottom: 48px;
  overflow: hidden;
  border-radius: 1px;
}
.divider-line__fill {
  height: 100%;
  width: 0;
  background: linear-gradient(to right, var(--red2), var(--cream));
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}
.divider-line.drawn .divider-line__fill { width: 100%; }

/* ══════════════════════════════════════════════
   BLOCK 2 — FOR WHO
══════════════════════════════════════════════ */
.for-who {
  position: relative;
  overflow: hidden;
}

/* Subtle dot-grid texture */
.for-who__bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.038) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}
.for-who .container { position: relative; z-index: 1; }

/* Animated title underline */
.title-underline {
  height: 2px;
  width: 130px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  margin: 20px 0 26px;
  overflow: hidden;
}
.title-underline__fill {
  height: 100%;
  width: 0;
  background: linear-gradient(to right, var(--red), var(--cream));
  border-radius: 2px;
  transition: width 1.3s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}
.section__head.is-visible .title-underline__fill { width: 100%; }

.for-who__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Top gradient accent stripe */
.fw-card__accent {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--red), transparent 60%, var(--cream) 100%);
  border-radius: 18px 18px 0 0;
  opacity: 0.65;
  transition: opacity 0.3s ease;
}

.fw-card {
  background: rgba(255,255,255,0.022);
  border: 1px solid rgba(139,26,8,0.2);
  border-top: none;
  border-radius: 18px;
  padding: 30px 24px 28px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.fw-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 55%;
  background: linear-gradient(to top, rgba(139,26,8,0.1), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  border-radius: 0 0 18px 18px;
  z-index: 0;
}

/* Entrance initial states */
.fw-card--from-left  { opacity: 0; transform: translateX(-60px); }
.fw-card--from-right { opacity: 0; transform: translateX(60px); }
.fw-card--from-bottom{ opacity: 0; transform: translateY(60px); }

/* Visible — entrance done */
.fw-card.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.65s cubic-bezier(0.4,0,0.2,1),
              transform 0.3s ease,
              border-color 0.3s ease,
              box-shadow 0.3s ease;
}

/* Hover */
@media (hover: hover) {
  .fw-card.is-visible:hover {
    transform: translateY(-8px);
    border-color: rgba(139,26,8,0.75);
    box-shadow: 0 0 0 1px rgba(139,26,8,0.25),
                0 0 28px rgba(139,26,8,0.22),
                0 14px 44px rgba(0,0,0,0.38);
  }
  .fw-card.is-visible:hover::after { opacity: 1; }
  .fw-card.is-visible:hover .fw-card__accent { opacity: 1; }
  .fw-card.is-visible:hover .card-icon { transform: rotate(5deg) scale(1.06); }
  .fw-card.is-visible:hover .fw-card__title { color: var(--cream); }
}

/* Icon — 64px with SVG draw animation */
.fw-card__icon { width: 64px; height: 64px; margin-bottom: 24px; position: relative; z-index: 1; }
.fw-card__icon svg { width: 100%; height: 100%; display: block; }

@keyframes svg-draw-in {
  from { stroke-dashoffset: 320; opacity: 0; }
  to   { stroke-dashoffset: 0;   opacity: 1; }
}

/* All SVG stroke/fill elements in fw-card icons start hidden */
.fw-card .card-icon svg path,
.fw-card .card-icon svg circle,
.fw-card .card-icon svg rect,
.fw-card .card-icon svg ellipse {
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  opacity: 0;
}

/* When card becomes visible, draw each element in sequence */
.fw-card.is-visible .card-icon svg path,
.fw-card.is-visible .card-icon svg circle,
.fw-card.is-visible .card-icon svg rect,
.fw-card.is-visible .card-icon svg ellipse {
  animation: svg-draw-in 1.1s cubic-bezier(0.4,0,0.2,1) 0.3s forwards;
}

.fw-card__title {
  font-size: 18px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 12px;
  line-height: 1.28;
  transition: color 0.3s ease;
  position: relative; z-index: 1;
}

.fw-card__text {
  font-size: 14px;
  color: rgba(255,255,255,0.48);
  line-height: 1.78;
  position: relative; z-index: 1;
}

/* ══════════════════════════════════════════════
   BLOCK 3 — PROBLEMS
══════════════════════════════════════════════ */
.problems {
  background: linear-gradient(180deg, #09090E 0%, #0E0A0B 100%);
  position: relative;
}

/* Glow on accent word in problems title */
.problems .section__title .s-accent {
  text-shadow: 0 0 22px rgba(237,255,196,0.3);
}

.problems__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 36px;
}

.prob-card {
  background: rgba(255,255,255,0.022);
  border: 1px solid rgba(255,255,255,0.055);
  border-left: 2px solid rgba(255,255,255,0.055);
  border-radius: 16px;
  padding: 28px 24px 24px;
  opacity: 0;
  transform: translateY(38px);
  position: relative;
  overflow: hidden;
  transition: opacity 0.55s ease, transform 0.35s ease,
              border-color 0.3s ease, border-left-color 0.3s ease,
              box-shadow 0.3s ease;
}

.prob-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 45%;
  background: linear-gradient(to top, rgba(139,26,8,0.08), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  border-radius: 0 0 16px 16px;
}

.prob-card.is-visible { opacity: 1; transform: translateY(0); }

/* Decorative card number */
.prob-card__num {
  position: absolute;
  top: 16px; right: 18px;
  font-size: 38px;
  font-weight: 900;
  color: rgba(255,255,255,0.08);
  line-height: 1;
  letter-spacing: -0.04em;
  pointer-events: none;
  user-select: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

@media (hover: hover) {
  .prob-card.is-visible:hover {
    transform: translateY(-6px);
    border-left-color: var(--red);
    border-color: rgba(139,26,8,0.35);
    box-shadow: -3px 0 18px rgba(139,26,8,0.18),
                0 10px 32px rgba(0,0,0,0.32);
  }
  .prob-card.is-visible:hover::after { opacity: 1; }
  .prob-card.is-visible:hover .prob-card__num {
    color: rgba(139,26,8,0.28);
    transform: scale(1.08);
  }
  .prob-card.is-visible:hover .prob-card__icon { transform: translateY(-4px); }
}

.prob-card__icon { width: 52px; height: 52px; margin-bottom: 18px; transition: transform 0.3s ease; }
.prob-card__icon svg { width: 100%; height: 100%; display: block; }

/* Shared card-icon color (used by both blocks) */
.card-icon { color: #FFFFFF; transition: transform 0.3s ease; }
[data-theme="light"] .card-icon { color: #1A1A1A; }

.prob-card__title {
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 10px;
  line-height: 1.42;
  padding-right: 30px;
}

.prob-card__text {
  font-size: 13.5px;
  color: rgba(255,255,255,0.46);
  line-height: 1.74;
}

.problems__quote {
  border-left: 3px solid var(--cream);
  background: rgba(255,255,255,0.028);
  border-radius: 0 14px 14px 0;
  padding: 26px 40px 26px 32px;
  transition: background 0.3s ease, padding-left 0.3s ease, border-left-width 0.3s ease;
}

@media (hover: hover) {
  .problems__quote:hover {
    border-left-width: 5px;
    padding-left: 40px;
    background: rgba(255,255,255,0.055);
  }
}

.problems__quote-text {
  font-size: 18px;
  font-style: italic;
  font-weight: 500;
  color: rgba(255,255,255,0.72);
  line-height: 1.68;
}

/* ══════════════════════════════════════════════
   RESPONSIVE — SECTIONS
══════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .for-who__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .section { padding: 72px 0; }
  .problems__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .section__title { font-size: clamp(26px, 7vw, 36px); }
  .section__sub { font-size: 14px; }
  .section__head { margin-bottom: 32px; }
  .for-who__grid { grid-template-columns: 1fr; }
  .problems__grid { grid-template-columns: 1fr; }
  .title-br { display: none; }
  .problems__quote { padding: 18px 20px; }
  .problems__quote-text { font-size: 15px; }
}

@media (max-width: 480px) {
  .section { padding: 48px 0; }
  .fw-card, .prob-card { padding: 22px 18px; }
}

/* ══════════════════════════════════════════════
   LIGHT THEME — SECTIONS
══════════════════════════════════════════════ */
[data-theme="light"] .section__title { color: #0A0806; }
[data-theme="light"] .s-accent { color: #8B1A08; }
[data-theme="light"] .section__sub { color: rgba(10,8,6,0.56); }
[data-theme="light"] .section__label { color: #8B1A08; }

[data-theme="light"] .for-who__bg {
  background-image: radial-gradient(circle, rgba(0,0,0,0.045) 1px, transparent 1px);
}
[data-theme="light"] .title-underline { background: rgba(0,0,0,0.08); }

[data-theme="light"] .fw-card {
  background: #FFFFFF;
  border-color: rgba(139,26,8,0.14);
  box-shadow: 0 2px 20px rgba(0,0,0,0.07);
}
[data-theme="light"] .fw-card__title { color: #0A0806; }
[data-theme="light"] .fw-card__text  { color: rgba(10,8,6,0.56); }

@media (hover: hover) {
  [data-theme="light"] .fw-card.is-visible:hover {
    box-shadow: 0 0 0 1px rgba(139,26,8,0.22),
                0 0 22px rgba(139,26,8,0.14),
                0 12px 36px rgba(0,0,0,0.12);
  }
  [data-theme="light"] .fw-card.is-visible:hover .fw-card__title { color: #8B1A08; }
}

[data-theme="light"] .problems {
  background: linear-gradient(180deg, #E9E9E4 0%, #E5E2DF 100%);
}
[data-theme="light"] .prob-card {
  background: #FFFFFF;
  border-color: rgba(0,0,0,0.055);
  border-left-color: rgba(0,0,0,0.07);
  box-shadow: 0 2px 14px rgba(0,0,0,0.05);
}
[data-theme="light"] .prob-card__num { color: rgba(0,0,0,0.07); }
[data-theme="light"] .prob-card__title { color: #0A0806; }
[data-theme="light"] .prob-card__text  { color: rgba(10,8,6,0.56); }

@media (hover: hover) {
  [data-theme="light"] .prob-card.is-visible:hover {
    border-left-color: #8B1A08;
    border-color: rgba(139,26,8,0.25);
    box-shadow: -3px 0 14px rgba(139,26,8,0.14), 0 8px 24px rgba(0,0,0,0.1);
  }
  [data-theme="light"] .prob-card.is-visible:hover .prob-card__num { color: rgba(139,26,8,0.22); }
}

[data-theme="light"] .problems__quote {
  background: rgba(0,0,0,0.03);
  border-left-color: #8B1A08;
}
[data-theme="light"] .problems__quote-text { color: rgba(10,8,6,0.72); }

@media (hover: hover) {
  [data-theme="light"] .problems__quote:hover {
    background: rgba(0,0,0,0.07);
  }
}

/* ══════════════════════════════════════════════
   BLOCK 4 — PROCESS TIMELINE
══════════════════════════════════════════════ */
.process { position: relative; }

.process { padding: 72px 0; }

.process__timeline {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding: 8px 0 24px;
}

/* Vertical line */
.process__line {
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  transform: translateX(-50%);
  background: rgba(139,26,8,0.12);
  border-radius: 2px;
  z-index: 0;
  overflow: hidden;
}
.process__line-fill {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 0;
  background: linear-gradient(to bottom, #8B1A08, #C41E08);
  border-radius: 2px;
}

/* Cargo icon */
.process__cargo {
  position: absolute;
  left: 50%;
  top: 0;
  width: 28px; height: 28px;
  transform: translateX(-50%) translateY(0);
  color: #8B1A08;
  background: var(--bg);
  border: 1.5px solid rgba(139,26,8,0.4);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  box-shadow: 0 0 12px rgba(139,26,8,0.32);
  z-index: 3;
  will-change: transform;
}
.process__cargo svg { width: 100%; height: 100%; display: block; }

/* Step grid */
.process__step {
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  align-items: start;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}

.process__dot-wrap {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  justify-content: center;
  padding-top: 16px;
}

.process__dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #8B1A08;
  box-shadow: 0 0 0 4px rgba(139,26,8,0.15), 0 0 10px rgba(139,26,8,0.3);
  flex-shrink: 0;
}

@keyframes dot-pulse-once {
  0%   { box-shadow: 0 0 0 4px rgba(139,26,8,0.15), 0 0 10px rgba(139,26,8,0.3); }
  38%  { box-shadow: 0 0 0 13px rgba(139,26,8,0), 0 0 26px rgba(139,26,8,0.55); }
  100% { box-shadow: 0 0 0 5px rgba(139,26,8,0.2), 0 0 14px rgba(139,26,8,0.38); }
}
.process__dot.pulsed { animation: dot-pulse-once 0.85s ease-out forwards; }

/* Right step: card in col 3 */
.process__step--right .process__card { grid-column: 3; grid-row: 1; margin-left: 18px; }

/* Left step: card in col 1, dot stays in col 2 */
.process__step--left .process__card  { grid-column: 1; grid-row: 1; margin-right: 18px; }
.process__step--left .process__dot-wrap { grid-column: 2; grid-row: 1; }

/* Card */
.process__card {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(139,26,8,0.16);
  border-radius: 14px;
  padding: 16px 20px 14px;
  position: relative;
  overflow: hidden;
  transition: opacity 0.65s ease, transform 0.35s ease,
              border-color 0.3s ease, box-shadow 0.3s ease;
}

.process__card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1.5px;
  background: linear-gradient(to right, #8B1A08, transparent 60%, rgba(237,255,196,0.35) 100%);
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.process__card-num {
  position: absolute;
  top: 11px; right: 14px;
  font-size: 28px;
  font-weight: 900;
  color: rgba(255,255,255,0.06);
  line-height: 1;
  letter-spacing: -0.04em;
  pointer-events: none;
  user-select: none;
  transition: color 0.3s ease;
}

.process__card-icon {
  width: 36px; height: 36px;
  margin-bottom: 10px;
}
.process__card-icon svg { width: 100%; height: 100%; display: block; }

.process__card-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 6px;
  line-height: 1.32;
  transition: color 0.3s ease;
}

.process__card-text {
  font-size: 13px;
  color: rgba(255,255,255,0.46);
  line-height: 1.68;
}

@media (hover: hover) {
  .process__card.is-visible:hover {
    transform: translateY(-6px);
    border-color: rgba(139,26,8,0.48);
    box-shadow: 0 0 0 1px rgba(139,26,8,0.16),
                0 0 22px rgba(139,26,8,0.18),
                0 12px 36px rgba(0,0,0,0.32);
  }
  .process__card.is-visible:hover::before { opacity: 1; }
  .process__card.is-visible:hover .process__card-num { color: rgba(139,26,8,0.24); }
  .process__card.is-visible:hover .process__card-title { color: var(--cream); }
  .process__card.is-visible:hover .process__card-icon { transform: scale(1.1); }
}

/* Finale */
.process__finale {
  display: flex;
  align-items: center;
  gap: 28px;
  background: rgba(139,26,8,0.08);
  border: 1px solid rgba(139,26,8,0.24);
  border-radius: 18px;
  padding: 26px 32px;
  margin-top: 8px;
  position: relative;
  overflow: hidden;
}
.process__finale::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(139,26,8,0.07) 0%, transparent 55%);
  pointer-events: none;
}

.process__finale-icon {
  flex-shrink: 0;
  width: 56px; height: 56px;
  color: var(--cream);
  filter: drop-shadow(0 0 12px rgba(237,255,196,0.26));
}
.process__finale-icon svg { width: 100%; height: 100%; display: block; }

.process__finale-title {
  font-size: 18px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 8px;
  line-height: 1.3;
}

.process__finale-desc {
  font-size: 13.5px;
  color: rgba(255,255,255,0.52);
  line-height: 1.65;
  margin-bottom: 16px;
}

.btn-process-cta {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  background: linear-gradient(135deg, #6B1306 0%, #8B1A08 45%, #C41E08 100%);
  color: #FFFFFF;
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  transition: opacity 0.2s, box-shadow 0.2s, transform 0.15s;
}
@media (hover: hover) {
  .btn-process-cta:hover {
    opacity: 0.9;
    box-shadow: 0 6px 24px rgba(139,26,8,0.5);
    transform: translateY(-2px);
  }
}

/* Responsive */
@media (max-width: 900px) {
  .process__step { grid-template-columns: 28px 1fr; }
  .process__step--right .process__card,
  .process__step--left  .process__card {
    grid-column: 2; grid-row: 1;
    margin-left: 14px; margin-right: 0;
  }
  .process__dot-wrap,
  .process__step--left .process__dot-wrap { grid-column: 1; grid-row: 1; }
  .process__line  { left: 14px; transform: none; }
  .process__cargo { left: 14px; }
  .process__timeline { max-width: 100%; }
}
@media (max-width: 600px) {
  .process__step { margin-bottom: 18px; }
  .process__step--right .process__card,
  .process__step--left  .process__card { margin-left: 12px; padding: 14px 16px 12px; }
  .process__finale { flex-direction: column; padding: 22px 20px; gap: 16px; }
  .process__finale-title { font-size: 16px; }
  .process__line  { left: 12px; }
  .process__cargo { left: 12px; }
}

/* Light theme */
[data-theme="light"] .process__card {
  background: #FFFFFF;
  border-color: rgba(139,26,8,0.12);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
[data-theme="light"] .process__card-num   { color: rgba(0,0,0,0.06); }
[data-theme="light"] .process__card-title { color: #0A0806; }
[data-theme="light"] .process__card-text  { color: rgba(10,8,6,0.56); }
@media (hover: hover) {
  [data-theme="light"] .process__card.is-visible:hover {
    box-shadow: 0 0 0 1px rgba(139,26,8,0.16),
                0 0 16px rgba(139,26,8,0.1),
                0 10px 26px rgba(0,0,0,0.1);
  }
  [data-theme="light"] .process__card.is-visible:hover .process__card-num   { color: rgba(139,26,8,0.2); }
  [data-theme="light"] .process__card.is-visible:hover .process__card-title { color: #8B1A08; }
}
[data-theme="light"] .process__line { background: rgba(139,26,8,0.1); }
[data-theme="light"] .process__cargo {
  background: #F5F5F0;
  border-color: rgba(139,26,8,0.32);
}
[data-theme="light"] .process__finale {
  background: rgba(139,26,8,0.05);
  border-color: rgba(139,26,8,0.16);
}
[data-theme="light"] .process__finale-icon {
  color: #8B1A08;
  filter: drop-shadow(0 0 10px rgba(139,26,8,0.18));
}
[data-theme="light"] .process__finale-title { color: #0A0806; }
[data-theme="light"] .process__finale-desc  { color: rgba(10,8,6,0.56); }

/* ══════════════════════════════════════════════
   BLOCK 5 — СТАРТ ДЛЯ НОВИЧКОВ
══════════════════════════════════════════════ */
.start {
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

/* Rising bubbles */
.start__bubbles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.start__bubble {
  position: absolute;
  bottom: -40px;
  border-radius: 50%;
  background: rgba(237,255,196,0.06);
  animation: bubble-rise var(--dur, 8s) var(--delay, 0s) linear infinite;
  will-change: transform, opacity;
}
@keyframes bubble-rise {
  0%   { transform: translateY(0) scale(1); opacity: 0; }
  8%   { opacity: 1; }
  88%  { opacity: 1; }
  100% { transform: translateY(-110vh) scale(0.6); opacity: 0; }
}

/* Layout */
.start__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

/* Left side */
.start__from-text {
  font-size: 13px;
  color: rgba(255,255,255,0.42);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.start__amount-wrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 28px;
  line-height: 1;
}
.start__amount-prefix {
  font-size: 26px;
  font-weight: 600;
  color: rgba(255,255,255,0.38);
}
.start__amount {
  font-size: 108px;
  font-weight: 900;
  color: var(--cream);
  letter-spacing: -0.04em;
  line-height: 1;
  text-shadow: 0 0 48px rgba(237,255,196,0.28);
}
.start__amount-suffix {
  font-size: 52px;
  font-weight: 800;
  color: var(--cream);
  opacity: 0.65;
  letter-spacing: -0.02em;
}
.start__desc {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
  margin-bottom: 20px;
}
.start__note {
  font-size: 13px;
  color: rgba(255,255,255,0.34);
  line-height: 1.72;
  margin-bottom: 32px;
  border-left: 2px solid rgba(139,26,8,0.4);
  padding-left: 16px;
}
.btn-start-cta {
  display: inline-flex;
  align-items: center;
  padding: 15px 32px;
  background: linear-gradient(135deg, #6B1306 0%, #8B1A08 45%, #C41E08 100%);
  color: #FFFFFF;
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  transition: box-shadow 0.25s, transform 0.15s;
  box-shadow: 0 4px 20px rgba(139,26,8,0.35);
}
@media (hover: hover) {
  .btn-start-cta:hover {
    transform: scale(1.02) translateY(-2px);
    box-shadow: 0 8px 32px rgba(139,26,8,0.55);
  }
}

/* Right side: two-column lists */
.start__right { padding-top: 4px; }
.start__lists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.start__list-title {
  font-size: 11.5px;
  font-weight: 700;
  color: rgba(255,255,255,0.38);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.start__list { display: flex; flex-direction: column; gap: 13px; }
.start__list-item {
  font-size: 14px;
  color: rgba(255,255,255,0.68);
  line-height: 1.52;
  padding-left: 20px;
  position: relative;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.45s ease, transform 0.35s ease;
}
.start__list-item::before {
  content: '—';
  position: absolute;
  left: 0;
  color: #8B1A08;
  font-weight: 700;
}
.start__list-item.is-visible {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 900px) {
  .start__layout { grid-template-columns: 1fr; gap: 40px; }
  .start__amount { font-size: 80px; }
  .start__amount-suffix { font-size: 38px; }
}
@media (max-width: 600px) {
  .start__lists { grid-template-columns: 1fr; gap: 28px; }
  .start__amount { font-size: 64px; }
  .start__amount-suffix { font-size: 30px; }
  .start__amount-prefix { font-size: 20px; }
}

/* Light theme */
[data-theme="light"] .start__bubble { background: rgba(139,26,8,0.04); }
[data-theme="light"] .start__amount {
  color: #8B1A08;
  text-shadow: 0 0 36px rgba(139,26,8,0.2);
}
[data-theme="light"] .start__amount-suffix { color: #8B1A08; opacity: 0.7; }
[data-theme="light"] .start__from-text { color: rgba(10,8,6,0.4); }
[data-theme="light"] .start__desc { color: rgba(10,8,6,0.62); }
[data-theme="light"] .start__note {
  color: rgba(10,8,6,0.42);
  border-left-color: rgba(139,26,8,0.3);
}
[data-theme="light"] .start__list-title { color: rgba(10,8,6,0.36); }
[data-theme="light"] .start__list-item { color: rgba(10,8,6,0.72); }

/* ══════════════════════════════════════════════
   BLOCK 6 — СПОСОБЫ ДОСТАВКИ
══════════════════════════════════════════════ */
.delivery { padding: 96px 0; }

.delivery__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.delivery__card {
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  will-change: transform;
}
@media (hover: hover) {
  .delivery__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 56px rgba(0,0,0,0.45);
    border-color: rgba(139,26,8,0.28);
  }
}

/* Animation area at top of each card */
.delivery__card-anim {
  height: 160px;
  position: relative;
  overflow: hidden;
}

/* Card body */
.delivery__card-body {
  padding: 22px 24px 26px;
}
.delivery__card-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.delivery__card-icon i {
  font-size: 64px;
  line-height: 1;
  filter: drop-shadow(0 0 18px currentColor);
}
.delivery__card-icon--air  i { color: #EDFFC4; }
.delivery__card-icon--rail i { color: #FF8C00; }
.delivery__card-icon--sea  i { color: #00BFFF; }

[data-theme="light"] .delivery__card-icon--air  i { color: #5A7A00; filter: drop-shadow(0 0 12px rgba(90,122,0,0.4)); }
[data-theme="light"] .delivery__card-icon--rail i { color: #CC5500; filter: drop-shadow(0 0 12px rgba(204,85,0,0.4)); }
[data-theme="light"] .delivery__card-icon--sea  i { color: #0080B0; filter: drop-shadow(0 0 12px rgba(0,128,176,0.4)); }

.delivery__card-timing {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}
.delivery__card--air  .delivery__card-timing { color: var(--cream); }
.delivery__card--rail .delivery__card-timing { color: #E8A84C; }
.delivery__card--sea  .delivery__card-timing { color: #7EC8E8; }

.delivery__card-title {
  font-size: 18px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 12px;
}
.delivery__card-text {
  font-size: 13.5px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-bottom: 18px;
}
.delivery__card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.delivery__tag {
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.44);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 4px 10px;
}

/* ── CINEMATIC SCENE SYSTEM ── */
.delivery__scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Stars twinkle */
.sc-star { animation: sc-twinkle var(--sd2,2.2s) var(--sd,0s) ease-in-out infinite alternate; }
@keyframes sc-twinkle {
  from { opacity: 0.12; }
  to   { opacity: 1; }
}

/* Clouds drift */
.sc-cloud1 { animation: sc-cloud-d 24s linear infinite; will-change: transform; }
.sc-cloud2 { animation: sc-cloud-d 32s linear infinite reverse; will-change: transform; }
@keyframes sc-cloud-d {
  from { transform: translateX(0); }
  to   { transform: translateX(-60px); }
}

/* ── AIR: Plane flies bottom-left → top-right ── */
.sc-plane-g {
  animation: sc-fly 9s linear infinite;
  will-change: transform;
}
@keyframes sc-fly {
  0%   { transform: translate(-200px, 150px); opacity: 0; }
  7%   { opacity: 1; }
  88%  { opacity: 1; }
  100% { transform: translate(490px, -80px); opacity: 0; }
}
.sc-exhaust  { animation: sc-exhaust-p 0.4s ease-in-out infinite alternate; will-change: opacity; }
.sc-exhaust2 { animation: sc-exhaust-p 0.4s ease-in-out infinite alternate 0.2s; will-change: opacity; }
@keyframes sc-exhaust-p {
  from { opacity: 0.22; }
  to   { opacity: 0.7; }
}
.sc-navlight  { animation: sc-nav-blink 1.2s ease-in-out infinite; }
.sc-navlight2 { animation: sc-nav-blink 1.2s ease-in-out infinite 0.6s; }
@keyframes sc-nav-blink {
  0%, 100% { opacity: 0.2; }
  50%      { opacity: 1; }
}
.sc-beacon { animation: sc-beacon-f 1.6s ease-in-out infinite; }
@keyframes sc-beacon-f {
  0%, 100% { opacity: 0; }
  50%      { opacity: 1; }
}

/* ── RAIL: Train slides right → left ── */
.sc-train-g {
  animation: sc-train-anim 10s linear infinite;
  will-change: transform;
}
@keyframes sc-train-anim {
  from { transform: translateX(480px); }
  to   { transform: translateX(-340px); }
}
.sc-wheel-spin {
  animation: sc-spin 0.65s linear infinite;
  transform-box: fill-box;
  transform-origin: center;
  will-change: transform;
}
@keyframes sc-spin { to { transform: rotate(360deg); } }
.sc-smoke { will-change: transform, opacity; transform-box: fill-box; transform-origin: center; }
.sc-smoke1 { animation: sc-smoke-rise 1.8s ease-out infinite; }
.sc-smoke2 { animation: sc-smoke-rise 1.8s ease-out infinite 0.6s; }
.sc-smoke3 { animation: sc-smoke-rise 1.8s ease-out infinite 1.2s; }
@keyframes sc-smoke-rise {
  0%   { transform: translateY(0) scale(0.4); opacity: 0.7; }
  100% { transform: translateY(-38px) scale(2.4); opacity: 0; }
}
.sc-headlight { animation: sc-hlight 2.2s ease-in-out infinite alternate; }
@keyframes sc-hlight {
  from { opacity: 0.5; }
  to   { opacity: 0.95; }
}
.sc-coupling {
  animation: sc-coupling-m 0.65s ease-in-out infinite alternate;
  transform-box: fill-box;
  transform-origin: center;
}
@keyframes sc-coupling-m {
  from { transform: rotate(-3deg); }
  to   { transform: rotate(3deg); }
}

/* ── SEA: Ship sails left → right, parallax waves ── */
.sc-ship-g {
  animation: sc-ship-sail 16s linear infinite;
  will-change: transform;
}
@keyframes sc-ship-sail {
  from { transform: translateX(-260px); }
  to   { transform: translateX(500px); }
}
.sc-ship-rock {
  animation: sc-rock 4s ease-in-out infinite alternate;
  transform-box: fill-box;
  transform-origin: center bottom;
  will-change: transform;
}
@keyframes sc-rock {
  from { transform: rotate(-2.5deg); }
  to   { transform: rotate(2.5deg); }
}
.sc-wave1 { animation: sc-wave-s 6s ease-in-out infinite alternate; will-change: transform; }
.sc-wave2 { animation: sc-wave-s 8s ease-in-out infinite alternate-reverse; will-change: transform; }
.sc-wave3 { animation: sc-wave-s 10s ease-in-out infinite alternate; will-change: transform; }
@keyframes sc-wave-s {
  from { transform: translateX(-14px); }
  to   { transform: translateX(14px); }
}
.sc-sea-smoke1 { animation: sc-smoke-rise 2.5s ease-out infinite; }
.sc-sea-smoke2 { animation: sc-smoke-rise 2.5s ease-out infinite 0.9s; }

/* Footer */
.delivery__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 48px;
  padding: 28px 36px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
}
.delivery__footer-text {
  font-size: 14.5px;
  color: rgba(255,255,255,0.52);
  line-height: 1.66;
  max-width: 580px;
}
.btn-delivery-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  background: linear-gradient(135deg, #6B1306 0%, #8B1A08 45%, #C41E08 100%);
  color: #FFFFFF;
  font-family: 'Manrope', sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  white-space: nowrap;
  transition: box-shadow 0.25s, transform 0.15s;
  box-shadow: 0 4px 18px rgba(139,26,8,0.32);
}
@media (hover: hover) {
  .btn-delivery-cta:hover {
    transform: scale(1.02) translateY(-2px);
    box-shadow: 0 8px 28px rgba(139,26,8,0.52);
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .delivery__cards { grid-template-columns: 1fr 1fr; }
  .delivery__card:last-child { grid-column: 1 / -1; max-width: 520px; margin: 0 auto; width: 100%; }
}
@media (max-width: 680px) {
  .delivery__cards { grid-template-columns: 1fr; }
  .delivery__card:last-child { grid-column: auto; max-width: none; }
  .delivery__footer { flex-direction: column; align-items: flex-start; padding: 22px 20px; }
}

/* Light theme */
[data-theme="light"] .delivery__card {
  background: #FFFFFF;
  border-color: rgba(0,0,0,0.07);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}
[data-theme="light"] .delivery__card-anim { overflow: hidden; }
[data-theme="light"] .delivery__card-title { color: #0A0806; }
[data-theme="light"] .delivery__card-text  { color: rgba(10,8,6,0.54); }
[data-theme="light"] .delivery__tag {
  color: rgba(10,8,6,0.5);
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .delivery__card--air  .delivery__card-timing { color: #8B1A08; }
[data-theme="light"] .delivery__card--rail .delivery__card-timing { color: #B87828; }
[data-theme="light"] .delivery__card--sea  .delivery__card-timing { color: #1878A0; }
[data-theme="light"] .delivery__footer {
  background: #FFFFFF;
  border-color: rgba(0,0,0,0.07);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
[data-theme="light"] .delivery__footer-text { color: rgba(10,8,6,0.56); }

@media (hover: hover) {
  [data-theme="light"] .delivery__card:hover {
    box-shadow: 0 16px 48px rgba(0,0,0,0.14);
    border-color: rgba(139,26,8,0.2);
  }
}

/* ══════════════════════════════════════════════
   BLOCK 7: CALCULATOR
══════════════════════════════════════════════ */
.calc {
  --calc-accent: #EDFFC4;
  --calc-glow:   rgba(237,255,196,0.18);
  background: #05050A;
  position: relative;
  overflow: hidden;
}
.calc::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}
.calc .container { position: relative; z-index: 1; }

/* BODY */
.calc__body {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 24px;
  padding: 36px 40px;
}

/* TABS */
.calc__tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 32px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 6px;
}
.calc__tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 16px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 11px;
  font-family: 'Manrope', sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  color: rgba(255,255,255,0.38);
  cursor: pointer;
  transition: color 0.3s, background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.calc__tab i { font-size: 13px; }
.calc__tab.is-active {
  color: var(--calc-accent);
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
  box-shadow: 0 0 18px var(--calc-glow);
}
@media (hover: hover) {
  .calc__tab:not(.is-active):hover { color: rgba(255,255,255,0.65); }
}

/* LAYOUT */
.calc__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* FIELDS */
.calc__fields-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}
.calc__field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.calc__label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.36);
}
.calc__label i { font-size: 10px; }
.calc__input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.calc__input {
  width: 100%;
  padding: 12px 38px 12px 13px;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  outline: none;
  transition: border-color 0.22s, box-shadow 0.22s;
  -moz-appearance: textfield;
}
.calc__input::-webkit-outer-spin-button,
.calc__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc__input::placeholder { color: rgba(255,255,255,0.2); font-weight: 500; }
.calc__input:focus {
  border-color: var(--calc-accent);
  box-shadow: 0 0 0 3px var(--calc-glow);
}
.calc__unit {
  position: absolute;
  right: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.28);
  pointer-events: none;
}

/* COEF */
.calc__extra {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.calc__extra-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.34);
}
.calc__coef-btns { display: flex; gap: 6px; }
.calc__coef-btn {
  padding: 9px 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 9px;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: rgba(255,255,255,0.38);
  cursor: pointer;
  transition: all 0.2s;
}
@media (hover: hover) {
  .calc__coef-btn:not(.is-active):hover { color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.07); }
}

/* M3 price field */
.calc__m3-field { margin-bottom: 0; }
.calc__m3-field .calc__input { font-size: 18px; }

/* Hint text */
.calc__hint {
  margin-top: 20px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.32);
  line-height: 1.68;
}

/* 3D BOX SCENE */
.calc__scene {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 150px;
  margin-bottom: 24px;
  perspective: 520px;
  perspective-origin: 50% 50%;
}
.calc__box {
  transform-style: preserve-3d;
  transform: rotateX(-22deg) rotateY(-36deg);
  position: relative;
  transition: width 0.4s ease, height 0.4s ease;
}
.calc__face {
  position: absolute;
  top: 0; left: 0;
  border: 1.5px solid rgba(255,255,255,0.2);
  transition: width 0.4s ease, height 0.4s ease, left 0.4s ease, border-color 0.3s;
}
.calc__face--front {
  background: linear-gradient(135deg, rgba(255,255,255,0.09) 0%, rgba(255,255,255,0.04) 100%);
}
.calc__face--right {
  transform-origin: 0 50%;
  transform: rotateY(90deg);
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.015) 100%);
}
.calc__face--top {
  transform-origin: 50% 0%;
  transform: rotateX(-90deg);
  background: linear-gradient(135deg, rgba(255,255,255,0.13) 0%, rgba(255,255,255,0.06) 100%);
}

/* RESULT CARDS */
.calc__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}
.calc__card {
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 18px 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.calc__card.calc-pulse {
  animation: calcCardPulse 0.38s ease;
}
@keyframes calcCardPulse {
  0%   { transform: scale(1); }
  42%  { transform: scale(1.03); box-shadow: 0 0 22px var(--calc-glow); border-color: var(--calc-accent); }
  100% { transform: scale(1); }
}
.calc__card-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.32);
}
.calc__card-val-wrap {
  display: flex;
  align-items: baseline;
  gap: 5px;
}
.calc__card-value {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  transition: color 0.25s;
}
.calc__card-value.is-individual {
  font-size: 14px;
  line-height: 1.35;
  color: #FF8C00;
}
.calc__card-vunit {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.36);
}

/* AFTER NOTE */
.calc__after-note {
  font-size: 13.5px;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
  margin-bottom: 20px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.03);
  border-left: 2px solid var(--calc-accent);
  border-radius: 0 8px 8px 0;
  transition: border-color 0.3s;
}

/* CTA */
.btn-calc-cta {
  display: block;
  width: 100%;
  padding: 16px 24px;
  background: linear-gradient(135deg, #6B1306 0%, #8B1A08 45%, #C41E08 100%);
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  border-radius: 12px;
  transition: box-shadow 0.25s, transform 0.15s;
  box-shadow: 0 4px 22px rgba(139,26,8,0.36);
}
@media (hover: hover) {
  .btn-calc-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(139,26,8,0.55);
  }
}

/* RESPONSIVE */
@media (max-width: 960px) {
  .calc__layout { grid-template-columns: 1fr; gap: 36px; }
  .calc__scene { height: 130px; }
}
@media (max-width: 600px) {
  .calc__body { padding: 22px 18px; }
  .calc__tabs { gap: 4px; padding: 5px; }
  .calc__tab { padding: 11px 10px; font-size: 13px; }
  .calc__tab span { display: none; }
  .calc__tab i { font-size: 16px; }
  .calc__fields-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .calc__card-value { font-size: 22px; }
}

/* LIGHT THEME */
[data-theme="light"] .calc {
  background: #EFF1F6;
}
[data-theme="light"] .calc::before {
  background-image: radial-gradient(circle, rgba(0,0,0,0.07) 1px, transparent 1px);
}
[data-theme="light"] .calc__body {
  background: #fff;
  border-color: rgba(0,0,0,0.07);
  box-shadow: 0 2px 28px rgba(0,0,0,0.07);
}
[data-theme="light"] .calc__tabs {
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .calc__tab { color: rgba(0,0,0,0.36); }
[data-theme="light"] .calc__tab.is-active {
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.1);
}
[data-theme="light"] .calc__input {
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.12);
  color: #0A0806;
}
[data-theme="light"] .calc__input::placeholder { color: rgba(0,0,0,0.25); }
[data-theme="light"] .calc__label { color: rgba(0,0,0,0.44); }
[data-theme="light"] .calc__unit { color: rgba(0,0,0,0.32); }
[data-theme="light"] .calc__extra-label { color: rgba(0,0,0,0.44); }
[data-theme="light"] .calc__coef-btn {
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.11);
  color: rgba(0,0,0,0.4);
}
[data-theme="light"] .calc__card {
  background: rgba(0,0,0,0.025);
  border-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .calc__card-value { color: #0A0806; }
[data-theme="light"] .calc__card-label { color: rgba(0,0,0,0.38); }
[data-theme="light"] .calc__card-vunit { color: rgba(0,0,0,0.36); }
[data-theme="light"] .calc__hint { color: rgba(0,0,0,0.4); }
[data-theme="light"] .calc__after-note {
  background: rgba(0,0,0,0.025);
  color: rgba(0,0,0,0.54);
}
[data-theme="light"] .calc__face--front { background: rgba(0,0,0,0.06); }
[data-theme="light"] .calc__face--right { background: rgba(0,0,0,0.03); }
[data-theme="light"] .calc__face--top   { background: rgba(0,0,0,0.09); }
@media (hover: hover) {
  [data-theme="light"] .calc__tab:not(.is-active):hover { color: rgba(0,0,0,0.7); }
  [data-theme="light"] .calc__coef-btn:not(.is-active):hover { background: rgba(0,0,0,0.07); }
}

/* ══════════════════════════════════════════════
   BLOCK 8: CASES & STATS
══════════════════════════════════════════════ */
.cases {
  background: #07070F;
}

/* STATS */
.cases__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 56px 0 48px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  overflow: hidden;
}
.cases__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 44px 24px;
  gap: 10px;
}
.cases__stat:not(:last-child) {
  border-right: 1px solid rgba(255,255,255,0.05);
}
.cases__stat-num {
  font-size: 54px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}
.cases__stat:nth-child(1) .cases__stat-num { color: #E8DCC8; text-shadow: 0 0 40px rgba(232,220,200,0.22); }
.cases__stat:nth-child(2) .cases__stat-num { color: #F0A020; text-shadow: 0 0 40px rgba(240,160,32,0.28); }
.cases__stat:nth-child(3) .cases__stat-num { color: #2ECC71; text-shadow: 0 0 40px rgba(46,204,113,0.28); }
.cases__stat-label {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.34);
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

/* INTRO */
.cases__intro {
  font-size: 14px;
  color: rgba(255,255,255,0.38);
  line-height: 1.65;
  margin-bottom: 40px;
  max-width: 700px;
}

/* GRID */
.cases__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

/* CARD */
.cases__card {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: default;
  pointer-events: none;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.45s ease, transform 0.45s ease, border-color 0.3s, box-shadow 0.3s;
}
.cases__card.is-visible {
  pointer-events: auto;
  opacity: 1;
  transform: none;
}
.cases__card-niche {
  font-size: 17px;
  font-weight: 700;
  color: rgba(255,255,255,0.92);
  line-height: 1.25;
}
.cases__card-start {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  font-weight: 500;
}
.cases__card-result {
  font-size: 26px;
  font-weight: 800;
  color: #E8DCC8;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-top: 4px;
  transition: color 0.3s, text-shadow 0.3s;
}
.cases__card-period {
  font-size: 14px;
  font-weight: 500;
  color: rgba(232,220,200,0.5);
}
.cases__card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.cases__card-markup {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  color: #2ECC71;
  background: rgba(46,204,113,0.08);
  border: 1px solid rgba(46,204,113,0.2);
  border-radius: 20px;
  padding: 3px 9px;
}
.cases__card-market {
  font-size: 12px;
  color: rgba(255,255,255,0.38);
  font-weight: 500;
}
.cases__card-delivery {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: rgba(255,255,255,0.22);
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.cases__card-delivery i { font-size: 11px; }

/* Special card — no markup, different result color */
.cases__card--special .cases__card-result { color: #00BFFF; }
.cases__card--special .cases__card-period { color: rgba(0,191,255,0.5); }

/* DISCLAIMER */
.cases__disclaimer {
  font-size: 12px;
  color: rgba(255,255,255,0.26);
  line-height: 1.65;
  max-width: 680px;
}

/* HOVER */
@media (hover: hover) {
  .cases__card.is-visible:hover {
    transform: translateY(-8px);
    border-color: rgba(139,26,8,0.45);
    box-shadow: 0 0 28px rgba(139,26,8,0.2), 0 16px 48px rgba(0,0,0,0.35);
  }
  .cases__card.is-visible:hover .cases__card-result {
    color: #fff;
    text-shadow: 0 0 28px rgba(232,220,200,0.4);
  }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .cases__grid { grid-template-columns: repeat(2, 1fr); }
  .cases__stat-num { font-size: 42px; }
  .cases__stat { padding: 32px 20px; }
}
@media (max-width: 640px) {
  .cases__stats { grid-template-columns: 1fr; }
  .cases__stat:not(:last-child) { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .cases__grid { grid-template-columns: 1fr; }
  .cases__stat-num { font-size: 38px; }
}

/* LIGHT THEME */
[data-theme="light"] .cases { background: #F0F2F7; }
[data-theme="light"] .cases__stats {
  background: #fff;
  border-color: rgba(0,0,0,0.07);
  box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}
[data-theme="light"] .cases__stat:not(:last-child) { border-color: rgba(0,0,0,0.06); }
[data-theme="light"] .cases__stat-label { color: rgba(0,0,0,0.36); }
[data-theme="light"] .cases__stat:nth-child(1) .cases__stat-num { color: #6B5340; text-shadow: none; }
[data-theme="light"] .cases__stat:nth-child(2) .cases__stat-num { color: #9A6010; text-shadow: none; }
[data-theme="light"] .cases__stat:nth-child(3) .cases__stat-num { color: #1A8040; text-shadow: none; }
[data-theme="light"] .cases__intro { color: rgba(0,0,0,0.42); }
[data-theme="light"] .cases__card {
  background: #fff;
  border-color: rgba(0,0,0,0.07);
  box-shadow: 0 2px 16px rgba(0,0,0,0.05);
}
[data-theme="light"] .cases__card-niche { color: #0A0806; }
[data-theme="light"] .cases__card-start { color: rgba(0,0,0,0.3); }
[data-theme="light"] .cases__card-result { color: #5B3A20; }
[data-theme="light"] .cases__card-period { color: rgba(91,58,32,0.5); }
[data-theme="light"] .cases__card-market { color: rgba(0,0,0,0.42); }
[data-theme="light"] .cases__card-delivery { color: rgba(0,0,0,0.26); border-top-color: rgba(0,0,0,0.06); }
[data-theme="light"] .cases__card--special .cases__card-result { color: #0075A0; }
[data-theme="light"] .cases__card--special .cases__card-period { color: rgba(0,117,160,0.55); }
[data-theme="light"] .cases__disclaimer { color: rgba(0,0,0,0.3); }
@media (hover: hover) {
  [data-theme="light"] .cases__card.is-visible:hover {
    border-color: rgba(139,26,8,0.28);
    box-shadow: 0 0 18px rgba(139,26,8,0.1), 0 12px 40px rgba(0,0,0,0.1);
  }
  [data-theme="light"] .cases__card.is-visible:hover .cases__card-result {
    color: #0A0806;
    text-shadow: none;
  }
}

/* ══════════════════════════════════════════════
   BLOCK 9: OFFICIAL IMPORT
══════════════════════════════════════════════ */
.official {
  background: #050508;
}

.official__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.official__title {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.22;
  color: rgba(255,255,255,0.94);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.official__sub {
  font-size: 15px;
  color: rgba(255,255,255,0.42);
  line-height: 1.65;
  margin-bottom: 20px;
  font-weight: 500;
}

.official__text {
  font-size: 15px;
  color: rgba(255,255,255,0.52);
  line-height: 1.7;
}

/* LIST */
.official__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.official__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.05);
  background: rgba(255,255,255,0.02);
  cursor: default;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.4s ease, background 0.3s, border-color 0.3s;
}
.official__item.is-visible {
  opacity: 1;
  transform: none;
}

.official__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  flex-shrink: 0;
  font-size: 16px;
  color: rgba(255,255,255,0.42);
  transition: color 0.3s, background 0.3s;
}

.official__item-text {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,0.76);
  transition: transform 0.3s ease, color 0.3s;
}

/* ACCENT BLOCK */
.official__accent {
  margin-top: 64px;
  padding: 28px 32px;
  border-left: 3px solid #E8DCC8;
  background: rgba(232,220,200,0.04);
  border-radius: 0 16px 16px 0;
}
.official__accent p {
  font-size: 15px;
  color: rgba(255,255,255,0.58);
  line-height: 1.7;
  margin: 0;
}
.official__accent em { font-style: italic; }

/* HOVER */
@media (hover: hover) {
  .official__item.is-visible:hover {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.1);
  }
  .official__item.is-visible:hover .official__icon {
    color: #8B1A08;
    background: rgba(139,26,8,0.12);
  }
  .official__item.is-visible:hover .official__item-text {
    transform: translateX(8px);
    color: rgba(255,255,255,0.95);
  }
}

/* RESPONSIVE */
@media (max-width: 960px) {
  .official__layout { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 600px) {
  .official__title { font-size: 28px; }
  .official__accent { padding: 22px 22px; }
}

/* LIGHT THEME */
[data-theme="light"] .official { background: #F5F6FA; }
[data-theme="light"] .official__title { color: #0A0806; }
[data-theme="light"] .official__sub { color: rgba(0,0,0,0.42); }
[data-theme="light"] .official__text { color: rgba(0,0,0,0.52); }
[data-theme="light"] .official__item {
  background: #fff;
  border-color: rgba(0,0,0,0.07);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
[data-theme="light"] .official__icon {
  background: rgba(0,0,0,0.05);
  color: rgba(0,0,0,0.4);
}
[data-theme="light"] .official__item-text { color: rgba(0,0,0,0.74); }
[data-theme="light"] .official__accent {
  background: rgba(91,58,32,0.04);
  border-left-color: #8B5E38;
}
[data-theme="light"] .official__accent p { color: rgba(0,0,0,0.54); }
@media (hover: hover) {
  [data-theme="light"] .official__item.is-visible:hover {
    background: rgba(0,0,0,0.025);
    border-color: rgba(0,0,0,0.12);
    box-shadow: 0 4px 16px rgba(0,0,0,0.07);
  }
  [data-theme="light"] .official__item.is-visible:hover .official__icon {
    color: #8B1A08;
    background: rgba(139,26,8,0.08);
  }
  [data-theme="light"] .official__item.is-visible:hover .official__item-text { color: rgba(0,0,0,0.9); }
}

/* ══════════════════════════════════════════════
   BLOCK 10: WHY D2 GROUP (HONEYCOMB)
══════════════════════════════════════════════ */
.why { background: #060610; }

.why__layout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: center;
}

.why__left { max-width: 480px; }

.why__title {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: rgba(255,255,255,0.94);
  margin-bottom: 20px;
}

.why__text {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255,255,255,0.52);
}

.why__grid { display: flex; flex-direction: column; }

.why__row { display: flex; gap: 16px; }
.why__row + .why__row { margin-top: -44px; }
.why__row--shift { margin-left: 96px; }

.why__hex-wrapper {
  width: 176px;
  height: 176px;
  flex-shrink: 0;
  transform: scale(0);
  filter: drop-shadow(0 0 2px rgba(139,26,8,0.42)) drop-shadow(0 0 6px rgba(139,26,8,0.12));
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
}
.why__hex-wrapper.is-visible { transform: scale(1); }

@media (hover: hover) {
  .why__hex-wrapper.is-visible:hover {
    filter: drop-shadow(0 0 14px rgba(196,30,8,0.65)) drop-shadow(0 0 28px rgba(196,30,8,0.22));
  }
}

.why__hex {
  width: 100%;
  height: 100%;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: linear-gradient(145deg, #14141E, #0A0A12);
  position: relative;
}

.why__hex::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, #C41E08 0%, #7A1406 70%, #5A1005 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 0;
}
@media (hover: hover) {
  .why__hex-wrapper.is-visible:hover .why__hex::before { opacity: 1; }
}

.why__hex-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 20px 14px;
  gap: 10px;
  text-align: center;
}
.why__hex-content i {
  font-size: 36px;
  color: var(--cream);
  line-height: 1;
  transition: color 0.3s, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.why__hex-content span {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.75);
  line-height: 1.3;
  letter-spacing: 0.01em;
  transition: color 0.3s;
}
@media (hover: hover) {
  .why__hex-wrapper.is-visible:hover .why__hex-content i { color: #fff; transform: scale(1.12); }
  .why__hex-wrapper.is-visible:hover .why__hex-content span { color: rgba(255,255,255,0.92); }
}

/* Light theme — Block 10 */
[data-theme="light"] .why { background: #EEEEF6; }
[data-theme="light"] .why__title { color: rgba(0,0,0,0.88); }
[data-theme="light"] .why__text { color: rgba(0,0,0,0.55); }
[data-theme="light"] .why__hex { background: linear-gradient(145deg, #FFFFFF, #F5F5FA); }
[data-theme="light"] .why__hex-wrapper {
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.1)) drop-shadow(0 0 1px rgba(0,0,0,0.06));
}
[data-theme="light"] .why__hex-content i { color: #8B1A08; }
[data-theme="light"] .why__hex-content span { color: rgba(0,0,0,0.65); }
@media (hover: hover) {
  [data-theme="light"] .why__hex-wrapper.is-visible:hover {
    filter: drop-shadow(0 4px 20px rgba(139,26,8,0.28)) drop-shadow(0 0 2px rgba(139,26,8,0.15));
  }
  [data-theme="light"] .why__hex-wrapper.is-visible:hover .why__hex-content i { color: #fff; }
  [data-theme="light"] .why__hex-wrapper.is-visible:hover .why__hex-content span { color: rgba(255,255,255,0.9); }
}

/* Responsive — Block 10 */
@media (max-width: 1024px) {
  .why__layout { grid-template-columns: 1fr; gap: 56px; }
  .why__left { max-width: 600px; }
  .why__right { display: flex; justify-content: center; }
}
@media (max-width: 560px) {
  .why__hex-wrapper { width: 136px; height: 136px; }
  .why__row + .why__row { margin-top: -34px; }
  .why__row--shift { margin-left: 76px; }
  .why__hex-content i { font-size: 28px; }
  .why__hex-content span { font-size: 10px; }
}

/* ══════════════════════════════════════════════
   BLOCK 11: FAQ
══════════════════════════════════════════════ */
.faq { background: #07080A; }

.faq .section__head {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 880px;
  margin: 0 auto 40px;
}

.faq__item {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.4s ease, transform 0.4s ease, border-color 0.3s, background 0.3s, box-shadow 0.3s;
  border: 1px solid var(--border);
  border-left: 3px solid rgba(139,26,8,0.3);
  border-radius: 12px;
  background: rgba(15,15,22,0.7);
  overflow: hidden;
}
.faq__item.is-visible { opacity: 1; transform: none; }
.faq__item--open {
  border-left-color: var(--red2);
  background: rgba(18,18,26,0.9);
  box-shadow: -3px 0 20px -8px rgba(196,30,8,0.28);
}
@media (hover: hover) {
  .faq__item.is-visible:not(.faq__item--open):hover {
    border-left-color: rgba(196,30,8,0.5);
    background: rgba(18,18,26,0.6);
  }
}

.faq__q {
  -webkit-appearance: none;
  appearance: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  text-align: left;
  position: relative;
}

.faq__q-text {
  font-size: 15px;
  font-weight: 700;
  color: rgba(255,255,255,0.82);
  line-height: 1.45;
  flex: 1;
  padding-right: 40px;
  transition: color 0.3s;
}
.faq__item--open .faq__q-text { color: rgba(255,255,255,0.96); }
@media (hover: hover) {
  .faq__item.is-visible:not(.faq__item--open):hover .faq__q-text { color: rgba(255,255,255,0.92); }
}

.faq__icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(139,26,8,0.14);
  position: relative;
  transition: background 0.3s, transform 0.4s ease;
}
.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: rgba(196,30,8,0.9);
  border-radius: 2px;
  transition: transform 0.35s ease;
}
.faq__icon::before {
  width: 12px;
  height: 2px;
  transform: translate(-50%, -50%);
}
.faq__icon::after {
  width: 2px;
  height: 12px;
  transform: translate(-50%, -50%);
}
.faq__item--open .faq__icon {
  background: rgba(196,30,8,0.22);
  transform: rotate(45deg);
}

.faq__num {
  position: absolute;
  right: 66px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 44px;
  font-weight: 900;
  color: rgba(255,255,255,0.04);
  letter-spacing: -0.04em;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  transition: color 0.3s;
}
.faq__item--open .faq__num { color: rgba(139,26,8,0.1); }

.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease;
}
.faq__item--open .faq__a { grid-template-rows: 1fr; }

.faq__a-inner {
  overflow: hidden;
  font-size: 14px;
  line-height: 1.78;
  color: rgba(255,255,255,0.55);
  padding: 0 24px;
  opacity: 0;
  transition: opacity 0.3s ease, padding-bottom 0.4s ease;
}
.faq__item--open .faq__a-inner {
  opacity: 1;
  padding-bottom: 22px;
}

.faq__cta {
  max-width: 880px;
  margin: 0 auto;
  background: rgba(139,26,8,0.08);
  border: 1px solid rgba(139,26,8,0.2);
  border-radius: 16px;
  padding: 28px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.faq__cta-text {
  font-size: 18px;
  font-weight: 700;
  color: rgba(255,255,255,0.88);
}
.faq__cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 13px 28px;
  background: linear-gradient(135deg, var(--red), var(--red2));
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  color: #fff;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}
@media (hover: hover) {
  .faq__cta-btn:hover { opacity: 0.88; transform: translateY(-1px); }
}

/* Light theme — Block 11 */
[data-theme="light"] .faq { background: #F3F3F8; }
[data-theme="light"] .faq__item {
  background: rgba(255,255,255,0.8);
  border-color: rgba(0,0,0,0.08);
  border-left-color: rgba(139,26,8,0.25);
}
[data-theme="light"] .faq__item--open {
  background: #fff;
  border-left-color: #8B1A08;
  box-shadow: -3px 0 16px -6px rgba(139,26,8,0.18);
}
@media (hover: hover) {
  [data-theme="light"] .faq__item.is-visible:not(.faq__item--open):hover {
    background: rgba(255,255,255,0.95);
    border-left-color: rgba(196,30,8,0.45);
  }
}
[data-theme="light"] .faq__q-text { color: rgba(0,0,0,0.8); }
[data-theme="light"] .faq__item--open .faq__q-text { color: rgba(0,0,0,0.9); }
[data-theme="light"] .faq__a-inner { color: rgba(0,0,0,0.62); }
[data-theme="light"] .faq__num { color: rgba(0,0,0,0.04); }
[data-theme="light"] .faq__item--open .faq__num { color: rgba(139,26,8,0.08); }
[data-theme="light"] .faq__cta {
  background: rgba(139,26,8,0.05);
  border-color: rgba(139,26,8,0.15);
}
[data-theme="light"] .faq__cta-text { color: rgba(0,0,0,0.82); }

/* Responsive — Block 11 */
@media (max-width: 640px) {
  .faq__cta { flex-direction: column; align-items: flex-start; padding: 24px; }
  .faq__q-text { font-size: 14px; padding-right: 28px; }
  .faq__num { display: none; }
}

/* ══════════════════════════════════════════════
   BLOCK 12: CONTACT FORM
══════════════════════════════════════════════ */

@property --btn-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

.contact {
  background: #05050C;
  position: relative;
  overflow: hidden;
}

.contact__bg-glow {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 600px;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(139,26,8,0.16) 0%, transparent 70%);
  pointer-events: none;
}

.contact__head {
  max-width: 740px;
  margin: 0 auto 56px;
  text-align: center;
}

.contact__title {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: rgba(255,255,255,0.95);
  margin-bottom: 20px;
}

.contact__accent {
  color: var(--cream);
  text-shadow: 0 0 40px rgba(237,255,196,0.35), 0 0 80px rgba(237,255,196,0.1);
}

.contact__sub {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,0.52);
  margin-bottom: 12px;
}

.contact__text {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.35);
}

/* Form card */
.contact__card {
  max-width: 720px;
  margin: 0 auto;
  background: rgba(12,12,20,0.92);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 24px;
  padding: 48px;
  position: relative;
  z-index: 1;
}

/* Grid */
.cf__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 20px;
}
.cf__group--full { grid-column: 1 / -1; }

/* Field group */
.cf__group { position: relative; }

.cf__icon {
  position: absolute;
  left: 0; top: 0;
  height: 58px;
  width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.28);
  pointer-events: none;
  z-index: 2;
  font-size: 14px;
  transition: color 0.25s;
}

.cf__input {
  width: 100%;
  height: 58px;
  padding: 20px 16px 6px 48px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 10px;
  color: var(--text);
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 500;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.cf__input:focus {
  border-color: rgba(196,30,8,0.65);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 0 0 3px rgba(196,30,8,0.1);
}
.cf__input:focus ~ .cf__icon { color: rgba(196,30,8,0.75); }

/* Floating label */
.cf__label {
  position: absolute;
  left: 48px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.35);
  pointer-events: none;
  z-index: 3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: calc(100% - 64px);
  transition: top 0.2s ease, transform 0.2s ease, font-size 0.2s ease, color 0.2s ease;
}
.cf__input:focus + .cf__label,
.cf__input:not(:placeholder-shown) + .cf__label {
  top: 11px;
  transform: none;
  font-size: 11px;
  color: var(--red2);
  font-weight: 700;
}

/* Select */
.cf__select { cursor: pointer; padding-right: 44px; }
.cf__select option { background: #0F0F18; color: #fff; }

.cf__arrow {
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: rgba(255,255,255,0.28);
  font-size: 11px;
  z-index: 2;
  transition: color 0.25s, transform 0.3s ease;
}
.cf__group--select:focus-within .cf__arrow {
  color: rgba(196,30,8,0.75);
  transform: translateY(-50%) rotate(180deg);
}
.cf__group--select .cf__label { max-width: calc(100% - 80px); }

.cf__group--select .cf__input:focus + .cf__label,
.cf__group--select.has-value .cf__label {
  top: 11px;
  transform: none;
  font-size: 11px;
  color: var(--red2);
  font-weight: 700;
}

/* Error */
.cf__group--error .cf__input {
  border-color: rgba(196,30,8,0.65);
  background: rgba(196,30,8,0.04);
  animation: cf-shake 0.35s ease;
}
.cf__group--error .cf__label { color: var(--red2); }
.cf__group--error .cf__icon { color: rgba(196,30,8,0.6); }

@keyframes cf-shake {
  0%, 100% { transform: translateX(0); }
  20%       { transform: translateX(-5px); }
  40%       { transform: translateX(5px); }
  60%       { transform: translateX(-3px); }
  80%       { transform: translateX(3px); }
}

/* Button */
.cf__btn-wrap {
  --btn-angle: 0deg;
  border-radius: 14px;
  padding: 2px;
  background: conic-gradient(from var(--btn-angle), rgba(139,26,8,0.2) 0%, #C41E08 20%, rgba(196,30,8,0.35) 40%, rgba(139,26,8,0.2) 60%);
  animation: btn-border-spin 3s linear infinite;
  margin-bottom: 20px;
}
@keyframes btn-border-spin {
  to { --btn-angle: 360deg; }
}

.cf__btn {
  width: 100%;
  height: 62px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #8B1A08 0%, #C41E08 60%, #A01A0A 100%);
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.2s;
}
@media (hover: hover) {
  .cf__btn:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 32px rgba(196,30,8,0.4);
  }
}
.cf__btn:active { transform: scale(0.99); }
.cf__btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none !important; }

.cf__note {
  text-align: center;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255,255,255,0.3);
}

/* Success */
.cf__success {
  text-align: center;
  padding: 48px 24px;
}
.cf__success-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(139,26,8,0.12);
  border: 2px solid rgba(196,30,8,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 28px;
  color: var(--red2);
}
.cf__success-title {
  font-size: 28px;
  font-weight: 900;
  color: rgba(255,255,255,0.92);
  margin-bottom: 12px;
}
.cf__success-text {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  max-width: 420px;
  margin: 0 auto;
}

/* Light theme */
[data-theme="light"] .contact { background: #EDEDF5; }
[data-theme="light"] .contact__bg-glow {
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(139,26,8,0.07) 0%, transparent 70%);
}
[data-theme="light"] .contact__title { color: rgba(0,0,0,0.88); }
[data-theme="light"] .contact__accent { color: #7A1406; text-shadow: none; }
[data-theme="light"] .contact__sub { color: rgba(0,0,0,0.55); }
[data-theme="light"] .contact__text { color: rgba(0,0,0,0.4); }
[data-theme="light"] .contact__card {
  background: #fff;
  border-color: rgba(0,0,0,0.07);
  box-shadow: 0 8px 40px rgba(0,0,0,0.06);
}
[data-theme="light"] .cf__input {
  background: #F6F6FA;
  border-color: rgba(0,0,0,0.1);
  color: rgba(0,0,0,0.85);
}
[data-theme="light"] .cf__input:focus {
  background: #fff;
  border-color: rgba(139,26,8,0.5);
  box-shadow: 0 0 0 3px rgba(139,26,8,0.08);
}
[data-theme="light"] .cf__input:focus ~ .cf__icon { color: rgba(139,26,8,0.7); }
[data-theme="light"] .cf__label { color: rgba(0,0,0,0.4); }
[data-theme="light"] .cf__icon { color: rgba(0,0,0,0.3); }
[data-theme="light"] .cf__arrow { color: rgba(0,0,0,0.3); }
[data-theme="light"] .cf__select option { background: #fff; color: #000; }
[data-theme="light"] .cf__note { color: rgba(0,0,0,0.38); }
[data-theme="light"] .cf__success-title { color: rgba(0,0,0,0.86); }
[data-theme="light"] .cf__success-text { color: rgba(0,0,0,0.5); }
[data-theme="light"] .cf__success-icon { background: rgba(139,26,8,0.06); }

/* Responsive */
@media (max-width: 640px) {
  .br-desktop { display: none; }
  .contact__card { padding: 28px 20px; }
  .cf__grid { grid-template-columns: 1fr; }
  .cf__group--full { grid-column: 1; }
}
@media (max-width: 480px) {
  .contact__card { padding: 24px 16px; }
  .cf__btn { font-size: 14px; height: 56px; }
}

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */

.footer {
  background: #030305;
  position: relative;
  padding-top: 60px;
}

.footer__topline {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(139,26,8,0.45) 25%,
    rgba(196,30,8,0.75) 50%,
    rgba(139,26,8,0.45) 75%,
    transparent 100%
  );
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 52px;
}

.footer__logo {
  display: inline-block;
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  transition: color 0.2s;
}
@media (hover: hover) {
  .footer__logo:hover { color: rgba(255,255,255,0.75); }
}

.footer__desc {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255,255,255,0.38);
  max-width: 280px;
}

.footer__col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 20px;
}

.footer__col--nav nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__link {
  font-size: 14px;
  color: rgba(255,255,255,0.48);
  transition: color 0.2s;
}
@media (hover: hover) {
  .footer__link:hover { color: rgba(255,255,255,0.84); }
}

.footer__col--contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__contact {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.48);
  transition: color 0.2s;
}
.footer__contact i {
  font-size: 17px;
  color: rgba(196,30,8,0.65);
  transition: color 0.2s;
  width: 18px;
  flex-shrink: 0;
}
@media (hover: hover) {
  .footer__contact:hover { color: rgba(255,255,255,0.84); }
  .footer__contact:hover i { color: var(--red2); }
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 22px 0;
}
.footer__copy {
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.22);
}

/* Light theme */
[data-theme="light"] .footer { background: #E5E5EF; }
[data-theme="light"] .footer__topline {
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(139,26,8,0.3) 25%,
    rgba(196,30,8,0.55) 50%,
    rgba(139,26,8,0.3) 75%,
    transparent 100%
  );
}
[data-theme="light"] .footer__logo { color: rgba(0,0,0,0.85); }
[data-theme="light"] .footer__desc { color: rgba(0,0,0,0.42); }
[data-theme="light"] .footer__col-title { color: rgba(0,0,0,0.35); }
[data-theme="light"] .footer__link { color: rgba(0,0,0,0.48); }
[data-theme="light"] .footer__contact { color: rgba(0,0,0,0.48); }
[data-theme="light"] .footer__bottom { border-top-color: rgba(0,0,0,0.08); }
[data-theme="light"] .footer__copy { color: rgba(0,0,0,0.28); }
@media (hover: hover) {
  [data-theme="light"] .footer__logo:hover { color: rgba(0,0,0,0.6); }
  [data-theme="light"] .footer__link:hover { color: rgba(0,0,0,0.82); }
  [data-theme="light"] .footer__contact:hover { color: rgba(0,0,0,0.82); }
}

/* Responsive */
@media (max-width: 900px) {
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer__col--brand { grid-column: 1 / -1; }
  .footer__desc { max-width: 100%; }
}
@media (max-width: 560px) {
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__col--brand { grid-column: 1; }
}

/* ══════════════════════════════════════════════
   CHAT WIDGET
══════════════════════════════════════════════ */

.chat-wrap {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

/* ── Toggle button ── */
.chat-btn {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--red), var(--red2));
  color: #fff;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(139,26,8,0.55);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  flex-shrink: 0;
  touch-action: manipulation;
}

.chat-win.is-open ~ .chat-btn {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.8);
}

@media (hover: hover) {
  .chat-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(196,30,8,0.7);
  }
}

/* Pulse ring */
.chat-btn::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid rgba(196,30,8,0.55);
  animation: chat-pulse 2.2s ease-out infinite;
  pointer-events: none;
}

@keyframes chat-pulse {
  0%   { transform: scale(1);    opacity: 0.7; }
  70%  { transform: scale(1.38); opacity: 0;   }
  100% { transform: scale(1.38); opacity: 0;   }
}

/* Badge */
.chat-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: #fff;
  color: var(--red2);
  font-size: 11px;
  font-weight: 700;
  line-height: 21px;
  text-align: center;
  border: 2px solid var(--red2);
  pointer-events: none;
}

/* ── Chat window ── */
.chat-win {
  display: none;
  width: 360px;
  height: 480px;
  border-radius: 16px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(196,30,8,0.4);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(10,8,6,0.92);
  box-shadow: 0 8px 48px rgba(0,0,0,0.6), 0 0 0 1px rgba(196,30,8,0.18);
  transform: translateY(20px) scale(0.96);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.chat-win.is-visible {
  display: flex;
}

.chat-win.is-open {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Header */
.chat-win__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(135deg, rgba(139,26,8,0.3), rgba(196,30,8,0.15));
  border-bottom: 1px solid rgba(196,30,8,0.2);
  flex-shrink: 0;
}

.chat-win__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(196,30,8,0.18);
  border: 1.5px solid rgba(196,30,8,0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.8);
  flex-shrink: 0;
  overflow: hidden;
}

.chat-win__avatar svg { width: 28px; height: 28px; }

.chat-win__info { flex: 1; min-width: 0; }

.chat-win__name {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
}

.chat-win__status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  margin-top: 3px;
}

.chat-win__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22C55E;
  flex-shrink: 0;
  animation: chat-dot 2.5s ease infinite;
}

@keyframes chat-dot {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.45; }
}

.chat-win__close {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: none;
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.65);
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
  flex-shrink: 0;
  touch-action: manipulation;
}

@media (hover: hover) {
  .chat-win__close:hover {
    background: rgba(196,30,8,0.28);
    color: #fff;
  }
}

/* Messages area */
.chat-win__messages {
  flex: 1;
  overflow-y: auto;
  padding: 14px 14px 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-behavior: smooth;
}

.chat-win__messages::-webkit-scrollbar { width: 4px; }
.chat-win__messages::-webkit-scrollbar-track { background: transparent; }
.chat-win__messages::-webkit-scrollbar-thumb {
  background: rgba(196,30,8,0.3);
  border-radius: 2px;
}

/* Message bubbles */
.chat-msg {
  display: flex;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.chat-msg--visible { opacity: 1; transform: translateY(0); }
.chat-msg--manager { justify-content: flex-start; }
.chat-msg--client  { justify-content: flex-end; }

.chat-msg__bubble {
  max-width: 82%;
  padding: 9px 13px;
  font-size: 13.5px;
  line-height: 1.55;
}

.chat-msg--manager .chat-msg__bubble {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.9);
  border-radius: 4px 14px 14px 14px;
}

.chat-msg--client .chat-msg__bubble {
  background: linear-gradient(135deg, var(--red), var(--red2));
  color: #fff;
  border-radius: 14px 14px 4px 14px;
}

/* Typing dots */
.chat-typing {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px 0;
}

.chat-typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  animation: chat-dots 1.2s ease infinite;
}

.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes chat-dots {
  0%, 60%, 100% { transform: translateY(0);   opacity: 0.45; }
  30%            { transform: translateY(-5px); opacity: 1;    }
}

/* Input row */
.chat-win__input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 13px;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(0,0,0,0.25);
  flex-shrink: 0;
}

.chat-win__input {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 9px 13px;
  color: #fff;
  font-size: 13.5px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s;
}

.chat-win__input::placeholder { color: rgba(255,255,255,0.32); }

.chat-win__input:focus { border-color: rgba(196,30,8,0.55); }

.chat-win__send {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, var(--red), var(--red2));
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s, box-shadow 0.15s;
  flex-shrink: 0;
  touch-action: manipulation;
}

@media (hover: hover) {
  .chat-win__send:hover {
    transform: scale(1.08);
    box-shadow: 0 3px 14px rgba(196,30,8,0.5);
  }
}

/* ── Light theme ── */
[data-theme="light"] .chat-win {
  background: rgba(255,255,255,0.97);
  border-color: rgba(196,30,8,0.3);
  box-shadow: 0 8px 48px rgba(0,0,0,0.16), 0 0 0 1px rgba(196,30,8,0.12);
}

[data-theme="light"] .chat-win__head {
  background: linear-gradient(135deg, rgba(139,26,8,0.08), rgba(196,30,8,0.04));
  border-bottom-color: rgba(196,30,8,0.12);
}

[data-theme="light"] .chat-win__name { color: #1a1a1a; }
[data-theme="light"] .chat-win__status { color: #777; }

[data-theme="light"] .chat-win__avatar {
  background: rgba(196,30,8,0.08);
  border-color: rgba(196,30,8,0.25);
  color: rgba(0,0,0,0.55);
}

[data-theme="light"] .chat-win__close {
  background: rgba(0,0,0,0.05);
  color: #666;
}

@media (hover: hover) {
  [data-theme="light"] .chat-win__close:hover {
    background: rgba(196,30,8,0.1);
    color: var(--red2);
  }
}

[data-theme="light"] .chat-win__messages::-webkit-scrollbar-thumb {
  background: rgba(196,30,8,0.2);
}

[data-theme="light"] .chat-msg--manager .chat-msg__bubble {
  background: #f0f0f0;
  border-color: #e2e2e2;
  color: #1a1a1a;
}

[data-theme="light"] .chat-win__input-row {
  background: rgba(0,0,0,0.03);
  border-top-color: rgba(0,0,0,0.07);
}

[data-theme="light"] .chat-win__input {
  background: #fff;
  border-color: #ddd;
  color: #1a1a1a;
}

[data-theme="light"] .chat-win__input::placeholder { color: #aaa; }
[data-theme="light"] .chat-win__input:focus { border-color: rgba(196,30,8,0.45); }

[data-theme="light"] .chat-typing span { background: rgba(0,0,0,0.3); }

/* ── Mobile full-screen ── */
@media (max-width: 480px) {
  .chat-wrap { bottom: 16px; right: 16px; }

  .chat-win.is-visible {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    border: none;
    box-shadow: none;
  }
}

/* ══════════════════════════════════════════════
   PARTICLES CANVAS
══════════════════════════════════════════════ */
#particlesCanvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
}
[data-theme="light"] #particlesCanvas {
  mix-blend-mode: multiply;
}
@media (max-width: 767px) {
  #particlesCanvas { display: none; }
}

/* ══════════════════════════════════════════════
   МОБІЛЬНА АДАПТАЦІЯ
══════════════════════════════════════════════ */

/* ── Мобільне меню — повноекранне із stagger ── */
@media (max-width: 900px) {
  .mob-menu { bottom: 0; overflow-y: auto; }
  .mob-menu__inner {
    min-height: 100%;
    padding: 28px 28px 48px;
    gap: 0;
    align-items: center;
  }
  .mob-menu__link {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    width: 100%;
    padding: 16px 0;
    opacity: 0;
    transform: translateY(14px);
    transition: color 0.2s, opacity 0.3s ease, transform 0.3s ease;
  }
  .mob-menu.open .mob-menu__link { opacity: 1; transform: none; }
  .mob-menu.open .mob-menu__inner > .mob-menu__link:nth-child(1) { transition-delay: 0.02s; }
  .mob-menu.open .mob-menu__inner > .mob-menu__link:nth-child(2) { transition-delay: 0.07s; }
  .mob-menu.open .mob-menu__inner > .mob-menu__link:nth-child(3) { transition-delay: 0.12s; }
  .mob-menu.open .mob-menu__inner > .mob-menu__link:nth-child(4) { transition-delay: 0.17s; }
  .mob-menu.open .mob-menu__inner > .mob-menu__link:nth-child(5) { transition-delay: 0.22s; }
  .mob-menu.open .mob-menu__inner > .mob-menu__link:nth-child(6) { transition-delay: 0.27s; }
  .mob-menu.open .mob-menu__inner > .mob-menu__link:nth-child(7) { transition-delay: 0.32s; }
  .mob-menu__cta {
    opacity: 0;
    transform: translateY(14px);
    transition: background 0.2s, opacity 0.3s ease 0.37s, transform 0.3s ease 0.37s;
  }
  .mob-menu.open .mob-menu__cta { opacity: 1; transform: none; }
}

@media (max-width: 480px) {
  .mob-menu__inner { padding: 20px 20px 40px; }
  .mob-menu__link  { font-size: 22px; padding: 15px 0; }
}

/* ── Глобальне: touch-action на інтерактивних елементах ── */
@media (max-width: 900px) {
  a, button, [role="button"] { touch-action: manipulation; }
}

/* ── Блок 5: списки + padding ── */
@media (max-width: 600px) {
  .btn-start-cta { width: 100%; text-align: center; justify-content: center; }

  /* Прибираємо зайвий паддінг — .start має власний 96px що перебиває .section */
  .start { padding: 56px 0; }

  /* Картки-контейнери для кожного списку */
  .start__list-col {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 16px;
    padding: 18px 16px;
  }
  [data-theme="light"] .start__list-col {
    background: rgba(0,0,0,0.025);
    border-color: rgba(0,0,0,0.08);
  }
  .start__list-title { margin-bottom: 12px; }

  /* Крапка замість тире — компактніше */
  .start__list-item::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--red2);
    top: 8px;
    left: 1px;
  }
  .start__list-item { padding-left: 16px; font-size: 13.5px; gap: 13px; }

  /* Другий список — pills що обтікають */
  .start__list-col:last-child .start__list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 7px;
  }
  .start__list-col:last-child .start__list-item {
    padding: 6px 13px 6px 9px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 20px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 7px;
    transform: translateY(5px);
  }
  .start__list-col:last-child .start__list-item::before {
    position: static;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--red2);
    flex-shrink: 0;
    top: auto;
    left: auto;
  }
  [data-theme="light"] .start__list-col:last-child .start__list-item {
    background: rgba(0,0,0,0.04);
    border-color: rgba(0,0,0,0.09);
  }
}

@media (max-width: 480px) {
  .start { padding: 48px 0; }
}

/* ── Блок 6: карусель доставки ── */
@media (max-width: 768px) {
  .delivery__cards {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 16px;
    -webkit-overflow-scrolling: touch;
    gap: 14px;
    padding: 0 16px 16px;
    margin: 40px -16px 0;
    scrollbar-width: none;
  }
  .delivery__cards::-webkit-scrollbar { display: none; }
  .delivery__card {
    flex: 0 0 calc(100% - 60px);
    scroll-snap-align: start;
    min-width: 0;
  }
  .delivery__footer {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    align-items: center;
  }
  .btn-delivery-cta {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  /* Крапки карусель (вставляє JS) */
  .delivery-dots {
    display: flex;
    justify-content: center;
    gap: 9px;
    margin-top: 16px;
    padding: 4px;
  }
  .carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: rgba(255,255,255,0.18);
    cursor: pointer;
    touch-action: manipulation;
    transition: background 0.2s, transform 0.2s;
  }
  .carousel-dot.is-active {
    background: var(--red2);
    transform: scale(1.4);
  }
  [data-theme="light"] .carousel-dot          { background: rgba(0,0,0,0.15); }
  [data-theme="light"] .carousel-dot.is-active { background: #8B1A08; }
}


/* ── Блок 8: компактна статистика + карусель кейсів ── */
@media (max-width: 640px) {
  .cases__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-radius: 12px;
    overflow: hidden;
  }
  .cases__stat      { padding: 18px 8px; gap: 4px; }
  .cases__stat-num  { font-size: 26px; }
  .cases__stat-label{ font-size: 10px; }
  /* Карусель */
  .cases__grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 16px;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding: 0 16px 12px;
    margin: 0 -16px 0;
    scrollbar-width: none;
    grid-template-columns: unset;
  }
  .cases__grid::-webkit-scrollbar { display: none; }
  .cases__card {
    flex: 0 0 264px;
    scroll-snap-align: start;
    min-width: 0;
  }
}

/* ── Блок 10: шестикутники → прості картки 3-в-ряд ── */
@media (max-width: 480px) {
  .why__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .why__row, .why__row--shift { display: contents; }
  .why__row + .why__row  { margin-top: 0 !important; }
  .why__row--shift       { margin-left: 0 !important; }
  .why__hex-wrapper {
    width: auto !important;
    height: auto !important;
    aspect-ratio: 1;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    filter: none !important;
  }
  .why__hex-wrapper.is-visible { opacity: 1 !important; transform: none !important; }
  .why__hex {
    clip-path: none !important;
    border-radius: 14px;
    border: 1px solid rgba(139,26,8,0.25);
    background: rgba(255,255,255,0.03);
    width: 100%;
    height: 100%;
  }
  .why__hex::before         { border-radius: 14px; }
  .why__hex-content         { padding: 10px 8px; gap: 5px; }
  .why__hex-content i       { font-size: 20px; }
  .why__hex-content span    { font-size: 9px; line-height: 1.3; }
  [data-theme="light"] .why__hex {
    background: #ffffff;
    border-color: rgba(139,26,8,0.15);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  }
  [data-theme="light"] .why__hex-wrapper { filter: none !important; }
}

/* ── Блок 11: великі tap-зони для питань ── */
@media (max-width: 768px) {
  .faq__q      { min-height: 56px; padding: 16px 20px; }
  .faq__q-text { font-size: 14px; line-height: 1.45; }
  .faq__num    { font-size: 32px; }
}

/* ── Блок 12: форма — правильні типи полів вже є; підсилюємо padding ── */
@media (max-width: 480px) {
  .contact__form-grid { gap: 12px; }
}

/* ── Footer: навігація — pills на мобільному ── */
@media (max-width: 600px) {
  .footer__col--nav nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }
  .footer__link {
    display: inline-block;
    padding: 7px 14px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    font-size: 13px;
    background: rgba(255,255,255,0.03);
  }
  [data-theme="light"] .footer__link {
    border-color: rgba(0,0,0,0.1);
    background: rgba(0,0,0,0.03);
  }
}

/* ── Footer: контакти — іконки-картки на мобільному ── */
@media (max-width: 600px) {
  .footer__col--contacts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    align-items: start;
  }
  .footer__col--contacts .footer__col-title {
    grid-column: 1 / -1;
  }

  /* Телефон — повна ширина, акцентна кнопка */
  .footer__col--contacts > a:first-of-type {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    background: linear-gradient(135deg, var(--red), var(--red2));
    border-radius: 12px;
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    min-height: 48px;
  }
  .footer__col--contacts > a:first-of-type i {
    color: #fff !important;
    font-size: 15px;
    width: auto;
  }

  /* Соцмережі та месенджери — іконки-картки */
  .footer__col--contacts > a:not(:first-of-type) {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 4px 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
    font-size: 10px;
    letter-spacing: 0;
    text-align: center;
    min-height: 60px;
    transition: background 0.2s, border-color 0.2s;
  }
  .footer__col--contacts > a:not(:first-of-type) i {
    font-size: 22px;
    width: auto;
    color: rgba(196,30,8,0.75);
  }

  [data-theme="light"] .footer__col--contacts > a:not(:first-of-type) {
    background: rgba(0,0,0,0.04);
    border-color: rgba(0,0,0,0.07);
  }
}
