﻿/* ========================================================================
   Харума — "Грядка перед заходом сонця"
   Palette: sage-mint cool-light + deep forest + terracotta rust
   Fonts:   Fraunces (display) + Inter (body)
   ======================================================================== */

:root {
  /* Backgrounds */
  --bg: #e8efe5;
  --bg-alt: #dde6da;
  --surface: #f4f7f2;
  --surface-elev: #ffffff;

  /* Brand */
  --primary: #1f3826;
  --primary-rgb: 31, 56, 38;
  --primary-deep: #142519;
  --secondary: #4a6e54;

  /* Accent */
  --accent: #c2562b;
  --accent-rgb: 194, 86, 43;
  --accent-deep: #9e4221;
  --accent-soft: #e89773;
  --accent-soft-bg: rgba(194, 86, 43, 0.1);

  /* Text */
  --text-primary: #15241a;
  --text-body: #2e3f33;
  --text-muted: #6b7a6f;
  --text-on-dark: #f4f7f2;

  /* Functional */
  --success: #3d8b4f;
  --warning: #d89a2e;
  --danger: #b5301e;

  /* Borders / shadows */
  --border: rgba(31, 56, 38, 0.12);
  --border-strong: rgba(31, 56, 38, 0.24);
  --shadow-sm: 0 2px 8px rgba(20, 37, 25, 0.06);
  --shadow-md: 0 8px 24px rgba(20, 37, 25, 0.1);
  --shadow-lg: 0 20px 50px rgba(20, 37, 25, 0.15);
  --shadow-cta: 0 12px 28px rgba(194, 86, 43, 0.32);

  /* Type */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, system-ui, sans-serif;

  --h1: clamp(2rem, 5.5vw + 0.5rem, 3.8rem);
  --h2: clamp(1.55rem, 3.8vw + 0.4rem, 2.6rem);
  --h3: clamp(1.25rem, 2.5vw + 0.3rem, 1.6rem);
  --body: clamp(1.02rem, 0.5vw + 0.95rem, 1.18rem);

  /* Spacing */
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;

  --section-y-mobile: 72px;
  --section-y-desktop: 120px;
  --container-px: 18px;
  --container-max: 1180px;
}

/* ================ RESET ================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--body);
  line-height: 1.6;
  color: var(--text-body);
  background: var(--bg);
  padding-bottom: calc(70px + env(safe-area-inset-bottom));
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@media (min-width: 900px) {
  body {
    padding-bottom: 0;
  }
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}
a {
  color: inherit;
  text-decoration: none;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--text-primary);
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
p {
  margin: 0 0 0.6em;
  overflow-wrap: break-word;
}

/* ================ CONTAINERS ================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-px);
  padding-right: var(--container-px);
  width: 100%;
}
@media (min-width: 700px) {
  :root {
    --container-px: 24px;
  }
}

.section {
  padding-top: var(--section-y-mobile);
  padding-bottom: var(--section-y-mobile);
}
@media (min-width: 900px) {
  .section {
    padding-top: var(--section-y-desktop);
    padding-bottom: var(--section-y-desktop);
  }
}

.section-title {
  font-size: var(--h2);
  font-weight: 900;
  text-align: center;
  margin-bottom: var(--space-4);
}
.section-sub {
  font-size: clamp(0.98rem, 0.3vw + 0.94rem, 1.1rem);
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-7);
  color: var(--text-body);
}

.accent-mark {
  color: var(--accent);
  font-style: italic;
}
.muted {
  color: var(--text-muted);
  font-weight: 400;
}
.big-number {
  display: inline-block;
  font-size: 1.3em;
  font-weight: 900;
  color: var(--accent);
  line-height: 0.9;
}

/* ================ BUTTONS ================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 60px;
  padding: 18px 24px;
  border-radius: 14px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(0.98rem, 0.3vw + 0.95rem, 1.08rem);
  letter-spacing: 0.02em;
  text-align: center;
  transition:
    transform 220ms ease-out,
    box-shadow 220ms ease-out,
    background 220ms ease-out;
  white-space: normal;
  line-height: 1.2;
  -webkit-tap-highlight-color: transparent;
}
.btn-primary {
  background: linear-gradient(
    135deg,
    var(--accent) 0%,
    var(--accent-deep) 100%
  );
  color: #fff;
  box-shadow: var(--shadow-cta);
  position: relative;
  overflow: hidden;
  animation: breath 2.5s ease-in-out infinite;
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.45);
  animation: ctaGlow 2.5s ease-in-out infinite;
  pointer-events: none;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(194, 86, 43, 0.42);
}
.btn-primary:active {
  transform: translateY(0);
}
.btn-primary:hover .btn-arrow {
  transform: translateX(4px);
}
.btn-secondary {
  background: var(--primary);
  color: var(--text-on-dark);
}
.btn-secondary:hover {
  background: var(--primary-deep);
  transform: translateY(-2px);
}
.btn-arrow {
  display: inline-block;
  transition: transform 220ms ease-out;
  font-size: 1.2em;
  flex-shrink: 0;
}
@keyframes breath {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.018);
  }
}
@keyframes ctaGlow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.42);
  }
  50% {
    box-shadow: 0 0 0 14px rgba(var(--accent-rgb), 0);
  }
}

/* ================ HEADER ================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(232, 239, 229, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 12px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.logo-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  background: radial-gradient(
    circle at 30% 30%,
    var(--accent),
    var(--accent-deep) 65%,
    var(--primary) 100%
  );
  box-shadow:
    inset 0 -3px 6px rgba(0, 0, 0, 0.18),
    0 4px 10px rgba(194, 86, 43, 0.32);
  position: relative;
}
.logo-mark::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 60% 60%,
    transparent 55%,
    rgba(255, 255, 255, 0.16) 56%,
    transparent 70%
  );
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  min-width: 0;
}
.logo-text strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--primary);
  white-space: nowrap;
}
.logo-text em {
  font-style: normal;
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.header-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.header-schedule {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: none;
}
@media (min-width: 720px) {
  .header-schedule {
    display: inline;
  }
}
.header-cta {
  display: inline-flex;
  align-items: center;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(194, 86, 43, 0.28);
  transition:
    background 200ms,
    transform 200ms;
  white-space: nowrap;
}
.header-cta:hover {
  background: var(--accent-deep);
  transform: translateY(-1px);
}

/* ================ HERO ================ */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: 36px;
  padding-bottom: 48px;
  background: var(--bg);
}
.hero-bg-decor {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      60% 50% at 18% 20%,
      rgba(31, 56, 38, 0.1) 0%,
      transparent 70%
    ),
    radial-gradient(
      50% 45% at 88% 78%,
      rgba(194, 86, 43, 0.1) 0%,
      transparent 70%
    ),
    radial-gradient(70% 60% at 50% 50%, var(--bg) 0%, var(--bg-alt) 100%);
  z-index: 0;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--space-5);
}
@media (min-width: 960px) {
  .hero {
    padding-top: 72px;
    padding-bottom: 100px;
  }
  .hero-inner {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
  }
}
.eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--secondary);
  background: rgba(74, 110, 84, 0.1);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: var(--space-4);
}
.hero-title {
  font-size: var(--h1);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--primary);
  margin-bottom: var(--space-4);
}
.hero-sub {
  font-size: clamp(1rem, 0.4vw + 0.96rem, 1.14rem);
  color: var(--text-body);
  max-width: 540px;
  margin-bottom: var(--space-5);
  line-height: 1.55;
}

/* Hero photo — mobile (між підзаголовком і checks) */
.hero-photo-mobile {
  display: block;
  margin: var(--space-5) 0;
  position: relative;
}
.hero-photo-mobile::before {
  content: "";
  position: absolute;
  inset: -10% -5% 5%;
  background: radial-gradient(
    60% 50% at 50% 60%,
    rgba(194, 86, 43, 0.18) 0%,
    transparent 70%
  );
  z-index: 0;
  filter: blur(20px);
  pointer-events: none;
}
.hero-photo-mobile img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.hero-photo-desktop {
  display: none;
}
@media (min-width: 960px) {
  .hero-photo-mobile {
    display: none;
  }
  .hero-photo-desktop {
    display: block;
    position: relative;
  }
  .hero-photo-desktop img {
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    animation: floaty 5s ease-in-out infinite;
  }
  .hero-photo-desktop::before {
    content: "";
    position: absolute;
    inset: -30px;
    background: radial-gradient(
      60% 50% at 50% 50%,
      rgba(194, 86, 43, 0.16) 0%,
      transparent 70%
    );
    z-index: -1;
    filter: blur(20px);
  }
}
@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.hero-checks {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: var(--space-5) 0;
}
.hero-checks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: clamp(0.98rem, 0.3vw + 0.94rem, 1.05rem);
  font-weight: 500;
  color: var(--text-primary);
}
.check-icon {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--success);
  position: relative;
  margin-top: 2px;
}
.check-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 12px;
  height: 6px;
  border-left: 2.5px solid #fff;
  border-bottom: 2.5px solid #fff;
  transform: rotate(-45deg);
  top: -3px;
}
.check-icon-sm {
  width: 18px;
  height: 18px;
  display: inline-block;
  border-radius: 50%;
  background: var(--success);
  position: relative;
  vertical-align: middle;
  margin-right: 4px;
  flex-shrink: 0;
}
.check-icon-sm::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  width: 9px;
  height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

.hero-cta {
  width: 100%;
  max-width: 480px;
  margin-bottom: var(--space-5);
}

.hero-timer {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(216, 154, 46, 0.14);
  border: 1.5px solid var(--warning);
  border-radius: 999px;
  margin-bottom: var(--space-5);
  max-width: 100%;
  flex-wrap: wrap;
}
.timer-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-body);
}
.timer-clock {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--accent-deep);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}
.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ================ PAIN ================ */
.pain-section {
  background: var(--bg-alt);
}
.pain-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .pain-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1100px) {
  .pain-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.pain-card {
  background: var(--surface-elev);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow-sm);
  transition:
    transform 280ms ease,
    box-shadow 280ms ease;
}
.pain-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.pain-photo {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin-bottom: 14px;
  background: var(--bg-alt);
}
.pain-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pain-card p {
  font-weight: 500;
  color: var(--text-primary);
  font-size: 0.98rem;
  line-height: 1.45;
  margin: 0;
}

/* ================ SOLUTION / STEPS ================ */
.solution-section {
  background: var(--bg);
}
.steps-grid {
  display: grid;
  gap: 36px 28px;
  grid-template-columns: 1fr;
  counter-reset: step;
  margin-top: 14px;
}
@media (min-width: 900px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

.step-card {
  background: var(--surface-elev);
  border-radius: 20px;
  padding: 22px;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.step-num {
  position: absolute;
  top: -22px;
  left: 22px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--surface-elev);
  border: 3px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.6rem;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.step-photo {
  margin-top: 14px;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin-bottom: 16px;
}
.step-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.step-card h3 {
  font-size: 1.18rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--primary);
}
.step-card p {
  font-size: 0.96rem;
  margin: 0;
}

/* ================ BENEFITS ================ */
.benefits-section {
  background: var(--surface);
}
.benefits-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .benefits-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1000px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.benefit-card {
  position: relative;
  background: var(--surface-elev);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition:
    transform 280ms ease,
    box-shadow 280ms ease;
}
.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.benefit-photo {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  margin-bottom: 16px;
  background: var(--bg-alt);
}
.benefit-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.benefit-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--primary);
  color: var(--text-on-dark);
  font-family: var(--font-display);
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.88rem;
  box-shadow: var(--shadow-sm);
}
.benefit-card h3 {
  font-size: 1.16rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--primary);
}
.benefit-card p {
  font-size: 0.96rem;
  margin: 0;
  color: var(--text-body);
}

/* ================ BEFORE/AFTER ================ */
.ba-section {
  background: var(--bg-alt);
}
.ba-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) {
  .ba-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.ba-card {
  background: var(--surface-elev);
  border-radius: 18px;
  padding: 14px;
  box-shadow: var(--shadow-sm);
  margin: 0;
}
.ba-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}
.ba-pair::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--accent);
  z-index: 2;
  transform: translateX(-50%);
}
.ba-half {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--bg-alt);
  overflow: hidden;
}
.ba-half img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ba-label {
  position: absolute;
  top: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  padding: 4px 9px;
  border-radius: 6px;
  z-index: 3;
  white-space: nowrap;
}
.ba-label-before {
  left: 10px;
  background: rgba(20, 37, 25, 0.78);
  color: #fff;
}
.ba-label-after {
  right: 10px;
  background: var(--accent);
  color: #fff;
}
.ba-card figcaption {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 12px;
  font-weight: 500;
}

/* ================ COMPARE TABLE ================ */
.compare-section {
  background: var(--bg);
}
.compare-scroll {
  overflow-x: auto;
  margin: 0 calc(var(--container-px) * -1);
  padding: 4px var(--container-px);
  -webkit-overflow-scrolling: touch;
  position: relative;
  scrollbar-width: thin;
}
.compare-table {
  width: 100%;
  min-width: 680px;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--surface-elev);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.compare-table thead th {
  background: var(--bg-alt);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-primary);
  padding: 14px 12px;
  text-align: left;
  border-bottom: 2px solid var(--border-strong);
}
.compare-table th.compare-our {
  background: rgba(31, 56, 38, 0.08);
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.02rem;
  border-bottom: 2.5px solid var(--primary);
}
.compare-table td {
  padding: 13px 12px;
  border-bottom: 1px solid var(--border);
  font-size: 0.94rem;
  vertical-align: middle;
}
.compare-table td.compare-our {
  background: rgba(31, 56, 38, 0.04);
  border-left: 2px solid var(--primary);
  border-right: 2px solid var(--primary);
  color: var(--primary);
  font-weight: 600;
}
.compare-table tbody tr:last-child td {
  border-bottom: none;
}
.compare-table tbody tr:last-child td.compare-our {
  border-bottom: 2px solid var(--primary);
}
.compare-table .compare-param {
  font-weight: 600;
  color: var(--text-primary);
}
.yes {
  color: var(--success);
  font-weight: 600;
  white-space: nowrap;
}
.no {
  color: var(--danger);
  font-weight: 600;
  white-space: nowrap;
}
.compare-hint {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 12px;
}
@media (min-width: 900px) {
  .compare-hint {
    display: none;
  }
}

/* ================ HOWTO ================ */
.howto-section {
  background: var(--bg-alt);
}
.howto-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 900px;
  margin: 0 auto;
}
.howto-card {
  position: relative;
  background: var(--surface-elev);
  border-radius: 20px;
  padding: 22px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  overflow: hidden;
}
@media (min-width: 700px) {
  .howto-card {
    grid-template-columns: minmax(160px, 200px) 1fr;
    align-items: center;
    padding: 26px;
  }
  .howto-card:nth-child(even) {
    grid-template-columns: 1fr minmax(160px, 200px);
  }
  .howto-card:nth-child(even) .howto-photo {
    order: 2;
  }
}
.howto-bignum {
  position: absolute;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(6rem, 12vw, 9rem);
  color: rgba(194, 86, 43, 0.16);
  line-height: 0.85;
  right: -8px;
  bottom: -30px;
  pointer-events: none;
  user-select: none;
}
.howto-photo {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-alt);
}
.howto-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.howto-text h3 {
  font-size: clamp(1.2rem, 0.8vw + 1rem, 1.4rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}
.howto-text p {
  font-size: 0.98rem;
  margin: 0;
}

/* ================ REVIEWS ================ */
.reviews-section {
  background: var(--surface);
}
.reviews-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) {
  .reviews-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.review-card {
  position: relative;
  background: var(--surface-elev);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.review-hot {
  border: 2px solid var(--accent-soft);
}
.review-hot-badge {
  position: absolute;
  top: -12px;
  right: 16px;
  background: var(--surface-elev);
  border: 1.5px solid var(--accent);
  color: var(--accent-deep);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  max-width: calc(100% - 32px);
}
.fire-pulse {
  display: inline-block;
  animation: firePulse 1.8s ease-in-out infinite;
}
@keyframes firePulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
    filter: drop-shadow(0 0 0 rgba(255, 120, 40, 0));
  }
  50% {
    transform: scale(1.22);
    opacity: 0.92;
    filter: drop-shadow(0 0 6px rgba(255, 120, 40, 0.55));
  }
}
.review-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.review-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-alt);
  flex-shrink: 0;
}
.review-head strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--primary);
}
.review-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.review-text {
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--text-body);
  margin-bottom: 12px;
}
.review-foot {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ================ BUNDLES ================ */
.bundles-section {
  background: var(--primary);
  color: var(--text-on-dark);
  position: relative;
}
.bundles-section .section-title,
.bundles-section .section-sub {
  color: var(--text-on-dark);
}
.bundles-section .section-sub {
  opacity: 0.85;
}
.bundles-title .accent-mark {
  color: var(--accent-soft);
  font-style: italic;
}

/* Sotki calculator */
.sotki-calc {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 20px 18px 24px;
  max-width: 720px;
  margin: 0 auto var(--space-7);
}
@media (min-width: 700px) {
  .sotki-calc {
    padding: 22px 26px 26px;
  }
}
.sotki-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
  gap: 16px;
  flex-wrap: wrap;
}
.sotki-label {
  font-weight: 600;
  font-size: clamp(0.95rem, 0.3vw + 0.9rem, 1.05rem);
  color: var(--text-on-dark);
}
.sotki-value {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--accent-soft);
  font-size: 1.2rem;
  font-variant-numeric: tabular-nums;
}
.sotki-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--accent) 0%,
    var(--accent-deep) 16%,
    rgba(255, 255, 255, 0.18) 16%
  );
  outline: none;
  transition: background 350ms ease;
  cursor: pointer;
  touch-action: pan-y;
}
.sotki-slider:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25);
}
.sotki-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid #fff;
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.45),
    0 0 0 0 rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
  animation: thumbPulse 2.4s ease-in-out infinite;
}
.sotki-slider:active::-webkit-slider-thumb,
.sotki-slider.is-touched::-webkit-slider-thumb {
  animation: none;
  transform: scale(1.08);
}
.sotki-slider::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid #fff;
  cursor: pointer;
}
@keyframes thumbPulse {
  0%,
  100% {
    box-shadow:
      0 4px 14px rgba(0, 0, 0, 0.45),
      0 0 0 0 rgba(255, 255, 255, 0.45);
  }
  50% {
    box-shadow:
      0 4px 14px rgba(0, 0, 0, 0.45),
      0 0 0 10px rgba(255, 255, 255, 0);
  }
}
.sotki-marks {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 0.78rem;
  color: rgba(244, 247, 242, 0.55);
  font-variant-numeric: tabular-nums;
}
.sotki-recommend {
  margin-top: 16px;
  font-size: clamp(0.96rem, 0.3vw + 0.92rem, 1.05rem);
  text-align: center;
  color: var(--text-on-dark);
  line-height: 1.5;
}
.sotki-recommend strong {
  color: var(--accent-soft);
  font-family: var(--font-display);
  font-weight: 800;
  transition: color 350ms;
}

/* Bundle cards */
.bundles-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
  margin-bottom: var(--space-6);
  margin-top: 24px;
}
@media (min-width: 800px) {
  .bundles-grid {
    grid-template-columns: 1fr 1fr 1fr;
    align-items: stretch;
    gap: 20px;
  }
}

.bundle-card {
  position: relative;
  background: var(--surface-elev);
  color: var(--text-body);
  border-radius: 22px;
  padding: 26px 20px 22px;
  text-align: center;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition:
    transform 350ms cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 350ms,
    border-color 350ms,
    opacity 250ms;
  border: 3px solid transparent;
  opacity: 0.94;
  cursor: pointer;
}
.bundle-card:hover {
  transform: translateY(-4px);
}
.bundle-card.is-active {
  border-color: var(--accent);
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
  opacity: 1;
}
@media (min-width: 800px) {
  .bundle-hit.is-active {
    transform: scale(1.05);
  }
}
.bundles-grid.has-active .bundle-card:not(.is-active) {
  opacity: 0.72;
}

.bundle-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.84rem;
  padding: 6px 22px;
  border-radius: 8px;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 10px rgba(194, 86, 43, 0.4);
  white-space: nowrap;
  z-index: 2;
}
.bundle-ribbon-best {
  background: var(--primary);
  color: var(--text-on-dark);
}
.bundle-photo {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-alt);
  margin: 4px -4px 4px;
}
.bundle-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bundle-qty {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary);
  margin: 0;
}
.bundle-desc {
  font-size: 0.94rem;
  color: var(--text-muted);
  margin: 0;
}
.bundle-prices {
  margin: 6px 0 4px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}
.bundle-old {
  font-size: 0.94rem;
  color: var(--text-muted);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}
.bundle-new {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.2rem, 5vw + 0.5rem, 2.6rem);
  color: var(--accent);
  line-height: 1;
}
.bundle-new small {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-left: 4px;
}
.bundle-per {
  font-size: 0.86rem;
  color: var(--secondary);
  font-weight: 600;
}
.bundle-discount {
  align-self: center;
  background: var(--accent-soft-bg);
  color: var(--accent-deep);
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.84rem;
}
.bundle-discount-best {
  background: rgba(31, 56, 38, 0.1);
  color: var(--primary);
}
.bundle-btn {
  margin-top: auto;
  width: 100%;
  padding-left: 16px;
  padding-right: 16px;
}

/* Live block */
.bundles-live {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.live-chip {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-on-dark);
}
.live-chip strong {
  color: var(--accent-soft);
  font-family: var(--font-display);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.live-timer {
  border-color: var(--warning);
  background: rgba(216, 154, 46, 0.18);
}
.live-timer strong {
  color: var(--warning);
}
.live-stock {
  border-color: var(--danger);
  background: rgba(181, 48, 30, 0.18);
}
.live-stock strong {
  color: #ffb4a8;
  animation: stockBlink 2.6s ease-in-out infinite;
}
@keyframes stockBlink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}
.live-dot {
  width: 8px;
  height: 8px;
  background: var(--warning);
  border-radius: 50%;
  animation: pulseDot 1.6s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulseDot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(216, 154, 46, 0.5);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.3);
    box-shadow: 0 0 0 6px rgba(216, 154, 46, 0);
  }
}

/* Bundle highlight pulse (signature slider) */
.bundle-card.is-recommend-flash {
  animation: bundleFlash 700ms ease-out;
}
@keyframes bundleFlash {
  0% {
    box-shadow:
      var(--shadow-lg),
      0 0 0 0 rgba(var(--accent-rgb), 0.55);
  }
  100% {
    box-shadow:
      var(--shadow-lg),
      0 0 0 18px rgba(var(--accent-rgb), 0);
  }
}

/* ================ FORM ================ */
.form-section {
  background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 100%);
}
.form-container {
  display: flex;
  justify-content: center;
}
.form-card {
  width: 100%;
  max-width: 580px;
  background: var(--surface-elev);
  border-radius: 24px;
  padding: 28px 20px;
  box-shadow: var(--shadow-lg);
}
@media (min-width: 700px) {
  .form-card {
    padding: 44px 40px;
  }
}
.form-title {
  font-size: clamp(1.4rem, 3vw + 0.4rem, 2rem);
  font-weight: 800;
  text-align: center;
  color: var(--primary);
  margin-bottom: 8px;
}
.form-sub {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: var(--space-6);
  font-size: 0.96rem;
}
.form-field {
  margin-bottom: 16px;
}
.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.form-field input {
  width: 100%;
  background: var(--bg);
  border: 1.5px solid var(--border-strong);
  border-radius: 12px;
  padding: 16px 16px;
  font-family: var(--font-body);
  font-size: 16px; /* prevent iOS zoom */
  font-weight: 500;
  color: var(--text-primary);
  transition:
    border-color 180ms,
    box-shadow 180ms;
  min-height: 56px;
}
.form-field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(194, 86, 43, 0.12);
}


.form-bundles {
  border: none;
  padding: 0;
  margin: 0 0 22px;
}
.form-bundles legend {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-primary);
  margin-bottom: 10px;
  padding: 0;
}
.form-bundle {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg);
  border: 1.5px solid var(--border-strong);
  border-radius: 12px;
  padding: 14px 14px;
  margin-bottom: 10px;
  cursor: pointer;
  transition:
    border-color 220ms,
    background 220ms;
  min-height: 56px;
}
.form-bundle input {
  accent-color: var(--accent);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.form-bundle.is-active {
  border-color: var(--accent);
  background: var(--accent-soft-bg);
}
.form-bundle-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.form-bundle-info strong {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary);
  font-size: 1.02rem;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.form-bundle-price {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.form-bundle-hit {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  vertical-align: middle;
  letter-spacing: 0.04em;
}
.form-bundle-best {
  display: inline-block;
  background: var(--primary);
  color: var(--text-on-dark);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
}

.form-submit {
  width: 100%;
  margin-top: 8px;
  font-size: clamp(1rem, 0.3vw + 0.95rem, 1.1rem);
  min-height: 64px;
}

.form-trust {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 22px;
}
.form-trust li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-body);
}
.form-note {
  text-align: center;
  font-size: 0.84rem;
  color: var(--text-muted);
  margin: 14px 0 0;
}

/* ================ FAQ ================ */
.faq-section {
  background: var(--bg-alt);
}
.faq-container {
  max-width: 800px;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--surface-elev);
  border-radius: 14px;
  padding: 2px 20px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 220ms;
}
.faq-item[open] {
  box-shadow: var(--shadow-md);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 36px 18px 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1rem, 0.4vw + 0.95rem, 1.08rem);
  color: var(--primary);
  position: relative;
  min-height: 56px;
  display: flex;
  align-items: center;
  outline: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 24px;
  height: 24px;
  background:
    linear-gradient(var(--accent), var(--accent)) center / 16px 2.5px no-repeat,
    linear-gradient(var(--accent), var(--accent)) center / 2.5px 16px no-repeat;
  transform: translateY(-50%) rotate(0deg);
  transition: transform 280ms ease;
}
.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
  background: linear-gradient(var(--accent), var(--accent)) center / 16px 2.5px
    no-repeat;
}
.faq-item p {
  padding: 0 0 18px;
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--text-body);
}

/* ================ FOOTER ================ */
.site-footer {
  background: var(--primary-deep);
  color: var(--text-on-dark);
  padding: var(--space-7) 0 0;
  margin-top: 0;
}
.footer-inner {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
  padding-bottom: var(--space-6);
}
@media (min-width: 800px) {
  .footer-inner {
    grid-template-columns: 1.4fr 1fr 1.2fr;
  }
}

.footer-col h4 {
  color: var(--text-on-dark);
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.18rem;
  color: var(--text-on-dark);
  margin-bottom: 10px;
}
.footer-tagline {
  font-size: 0.9rem;
  color: rgba(244, 247, 242, 0.7);
  max-width: 360px;
}
.footer-col p {
  font-size: 0.9rem;
  color: rgba(244, 247, 242, 0.78);
  margin-bottom: 6px;
  word-break: break-word;
}
.footer-links li {
  margin-bottom: 8px;
}
.footer-links a {
  color: rgba(244, 247, 242, 0.85);
  font-size: 0.92rem;
  transition: color 180ms;
  border-bottom: 1px solid transparent;
}
.footer-links a:hover {
  color: var(--accent-soft);
  border-bottom-color: var(--accent-soft);
}
.footer-bottom {
  border-top: 1px solid rgba(244, 247, 242, 0.1);
  padding-top: 20px;
  padding-bottom: 20px;
  font-size: 0.84rem;
  color: rgba(244, 247, 242, 0.55);
  text-align: center;
}

/* ================ STICKY CTA (mobile) ================ */
.sticky-cta {
  display: none;
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: calc(10px + env(safe-area-inset-bottom));
  background: var(--surface-elev);
  border-radius: 16px;
  padding: 8px 10px 8px 16px;
  box-shadow:
    0 -4px 24px rgba(20, 37, 25, 0.18),
    var(--shadow-md);
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  z-index: 100;
  border: 1px solid var(--border);
  animation: stickyIn 320ms ease-out;
}
@keyframes stickyIn {
  from {
    transform: translateY(120%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.sticky-cta.show {
  display: flex;
}
.sticky-cta-info {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  min-width: 0;
}
.sticky-cta-price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--primary);
}
.sticky-cta-price strong {
  color: var(--accent);
}
.sticky-cta-timer {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  margin-top: 2px;
}
.sticky-cta-btn {
  min-height: 48px;
  padding: 12px 16px;
  font-size: 0.94rem;
  border-radius: 12px;
  white-space: nowrap;
  animation: none;
  flex-shrink: 0;
}
.sticky-cta-btn::after {
  display: none;
}
@media (min-width: 900px) {
  .sticky-cta {
    display: none !important;
  }
}

/* ================ LIVE TOAST ================ */
.live-toast {
  position: fixed;
  left: 12px;
  right: auto;
  bottom: calc(82px + env(safe-area-inset-bottom));
  background: var(--surface-elev);
  border-left: 4px solid var(--success);
  border-radius: 12px;
  padding: 12px 16px 12px 14px;
  box-shadow: var(--shadow-md);
  font-size: 0.9rem;
  color: var(--text-primary);
  z-index: 90;
  opacity: 0;
  transform: translateX(-110%);
  transition:
    opacity 280ms ease,
    transform 380ms cubic-bezier(0.22, 1, 0.36, 1);
  max-width: min(320px, calc(100vw - 24px));
  pointer-events: none;
}
.live-toast.show {
  opacity: 1;
  transform: translateX(0);
}
.live-toast strong {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary);
}
@media (min-width: 900px) {
  .live-toast {
    bottom: 24px;
    left: 24px;
  }
}

/* ================ ANIMATIONS / REVEAL ================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 600ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero word reveal */
.js-word-reveal .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 500ms ease,
    transform 500ms ease;
}
.js-word-reveal .word.shown {
  opacity: 1;
  transform: translateY(0);
}

/* ================ REDUCED MOTION ================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .js-word-reveal .word {
    opacity: 1;
    transform: none;
  }
  .hero-photo-desktop img {
    animation: none;
  }
  .btn-primary {
    animation: none;
  }
  .btn-primary::after {
    animation: none;
  }
  .fire-pulse {
    animation: none;
  }
  .live-dot {
    animation: none;
  }
  .sotki-slider::-webkit-slider-thumb {
    animation: none;
  }
  .live-stock strong {
    animation: none;
  }
}

/* Volume fieldset soldout */
.form-bundle--soldout {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}
.soldout-badge {
  display: inline-block;
  background: #f5e0e0;
  color: #c0392b;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid #e8b4b4;
  margin-top: 3px;
}
