/* ===== Variables ===== */
:root {
  --primary: #24dd1f;        /* неоновый зелёный из логотипа — кнопки и акценты */
  --primary-dark: #1fc41a;   /* hover кнопок */
  --green-ink: #178a12;      /* читаемый зелёный для текста/иконок на светлом фоне */
  --green-soft: rgba(36, 221, 31, 0.12);
  --gold: #bd9640;           /* золото (рамка логотипа) — второй, благородный акцент */
  --gold-dark: #a07e2e;
  --dark: #131313;           /* почти чёрный — фон логотипа, фундамент сайта */
  --dark-2: #1f1f1f;
  --gray: #6b7280;
  --light-gray: #f5f6f5;
  --border: #e6e7e6;
  --white: #ffffff;
  --green: #16a34a;          /* зелёный «успеха» формы / галочки */
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.14);
  --max: 1180px;
  --font: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* ===== Reset ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--dark);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-light { background: var(--light-gray); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.section-head h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.section-head p { color: var(--gray); font-size: 1.05rem; }
.eyebrow {
  display: inline-block;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #0c0c0c; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(36, 221, 31, 0.4); }
.btn-outline { background: transparent; border-color: var(--border); color: var(--dark); }
.btn-outline:hover { border-color: var(--green-ink); color: var(--green-ink); }
.btn-light { background: #fff; color: var(--dark); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(19, 19, 19, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(189, 150, 64, 0.25);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em; color: #fff; }
.logo-img { height: 44px; width: auto; display: block; }
.logo-mark {
  width: 38px; height: 38px;
  background: var(--primary);
  border-radius: 10px;
  display: grid; place-items: center;
  color: #0c0c0c;
}
.logo span { color: var(--primary); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-weight: 500; color: rgba(255, 255, 255, 0.82); transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-phone { font-weight: 700; display: flex; align-items: center; gap: 6px; color: #fff; }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.burger span { width: 26px; height: 2px; background: #fff; border-radius: 2px; transition: 0.3s; }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(36, 221, 31, 0.32) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center; padding: 90px 0; position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 7px 16px; border-radius: 50px;
  font-size: 0.85rem; margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.hero h1 em { color: var(--primary); font-style: normal; }
.hero p { font-size: 1.15rem; color: rgba(255, 255, 255, 0.8); margin-bottom: 32px; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.hero-stat strong { display: block; font-size: 2rem; font-weight: 800; color: var(--primary); }
.hero-stat span { color: rgba(255, 255, 255, 0.7); font-size: 0.9rem; }

.hero-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 30px;
  backdrop-filter: blur(6px);
}
.hero-card h3 { font-size: 1.2rem; margin-bottom: 18px; }
.hero-card ul li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.hero-card ul li:last-child { border-bottom: none; }
.hero-card .check { color: var(--primary); flex-shrink: 0; }

/* ===== Features ===== */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all 0.25s ease;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.feature-icon {
  width: 56px; height: 56px;
  background: var(--green-soft);
  color: var(--green-ink);
  border-radius: 14px;
  display: grid; place-items: center;
  margin-bottom: 20px;
}
.feature h3 { font-size: 1.2rem; margin-bottom: 10px; }
.feature p { color: var(--gray); font-size: 0.97rem; }

/* ===== Audience ===== */
.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.audience-card {
  border-radius: 20px;
  padding: 40px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.audience-card.indiv { background: linear-gradient(135deg, #138a10, #1fc41a); color: #06250a; }
.audience-card.indiv p { opacity: 1; }
.audience-card.biz { background: linear-gradient(135deg, var(--dark), #2c2c2c); }
.audience-card.biz li::before { color: var(--gold); }
.audience-card h3 { font-size: 1.5rem; margin-bottom: 14px; }
.audience-card p { opacity: 0.9; margin-bottom: 20px; }
.audience-card ul li { padding: 7px 0; display: flex; gap: 10px; align-items: center; }
.audience-card ul li::before { content: '✓'; font-weight: 700; }

/* ===== Steps ===== */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { text-align: center; position: relative; }
.step-num {
  width: 60px; height: 60px;
  margin: 0 auto 18px;
  background: linear-gradient(135deg, var(--dark), var(--green-ink));
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1.4rem; font-weight: 800;
  box-shadow: 0 8px 20px rgba(36, 221, 31, 0.28);
}
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { color: var(--gray); font-size: 0.93rem; }

/* ===== Pricing ===== */
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 800px; margin: 0 auto; }
.price-card {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 20px;
  padding: 38px 34px;
  text-align: center;
  transition: all 0.25s ease;
  position: relative;
}
.price-card.featured { border-color: var(--gold); box-shadow: var(--shadow-lg); }
.price-card.featured::before {
  content: 'Популярный';
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: #1a1306;
  font-size: 0.75rem; font-weight: 700;
  padding: 5px 16px; border-radius: 50px;
}
.price-card:hover { transform: translateY(-6px); }
.price-card h3 { font-size: 1.3rem; margin-bottom: 6px; }
.price-card .vol { color: var(--gray); font-size: 0.9rem; margin-bottom: 20px; }
.price-amount { font-size: 2.6rem; font-weight: 800; color: var(--green-ink); line-height: 1; }
.price-amount sup { font-size: 1.1rem; }
.price-amount span { font-size: 1rem; font-weight: 500; color: var(--gray); }
.price-month { color: var(--gray); margin: 8px 0 24px; }
.price-card ul { text-align: left; margin-bottom: 26px; }
.price-card ul li { padding: 9px 0; border-bottom: 1px solid var(--border); display: flex; gap: 10px; align-items: center; }
.price-card ul li:last-child { border-bottom: none; }
.price-card ul li::before { content: '✓'; color: var(--green); font-weight: 700; }
.price-note { text-align: center; color: var(--gray); margin-top: 36px; font-size: 0.95rem; }

/* ===== Sizes table ===== */
.size-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.size-table th, .size-table td { padding: 16px 22px; text-align: left; border-bottom: 1px solid var(--border); }
.size-table th { background: var(--dark); color: #fff; font-weight: 600; }
.size-table tr:last-child td { border-bottom: none; }
.size-table tr:hover td { background: var(--light-gray); }
.size-table td:first-child { font-weight: 700; }

/* ===== CTA banner ===== */
.cta-banner {
  background: linear-gradient(135deg, #1aa015, var(--primary));
  border-radius: 24px;
  padding: 56px;
  text-align: center;
  color: #06250a;
}
.cta-banner h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); font-weight: 800; margin-bottom: 14px; }
.cta-banner p { opacity: 0.92; font-size: 1.1rem; margin-bottom: 28px; max-width: 540px; margin-left: auto; margin-right: auto; }

/* ===== FAQ ===== */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 22px 26px; font-size: 1.05rem; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--dark); }
.faq-q .icon { color: var(--green-ink); font-size: 1.5rem; transition: transform 0.3s; flex-shrink: 0; }
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; color: var(--gray); }
.faq-item.open .faq-a { max-height: 300px; }
.faq-a p { padding: 0 26px 22px; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info-list { display: grid; gap: 20px; margin-bottom: 30px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.contact-item .ci-icon { width: 48px; height: 48px; flex-shrink: 0; background: var(--green-soft); color: var(--green-ink); border-radius: 12px; display: grid; place-items: center; }
.contact-item h4 { font-size: 1.05rem; margin-bottom: 4px; }
.contact-item p, .contact-item a { color: var(--gray); }
.contact-item a:hover { color: var(--green-ink); }
.contact-form { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 36px; box-shadow: var(--shadow); }
.contact-form h3 { font-size: 1.4rem; margin-bottom: 8px; }
.contact-form > p { color: var(--gray); margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 500; margin-bottom: 7px; font-size: 0.92rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 16px;
  border: 1px solid var(--border); border-radius: 10px;
  font-family: inherit; font-size: 0.98rem;
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-success { background: rgba(22, 163, 74, 0.1); color: var(--green); padding: 14px 18px; border-radius: 10px; margin-top: 16px; display: none; }
.form-success.show { display: block; }
.map-embed { border-radius: 20px; overflow: hidden; border: 1px solid var(--border); height: 340px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* ===== Page hero ===== */
.page-hero { background: linear-gradient(135deg, var(--dark), var(--dark-2)); color: #fff; padding: 70px 0; text-align: center; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; }
.page-hero p { color: rgba(255, 255, 255, 0.8); font-size: 1.1rem; }
.breadcrumb { color: rgba(255,255,255,0.6); font-size: 0.9rem; margin-bottom: 14px; }
.breadcrumb a:hover { color: var(--primary); }

/* ===== Footer ===== */
.footer { background: var(--dark); color: rgba(255, 255, 255, 0.7); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer .logo { color: #fff; margin-bottom: 16px; }
.footer-col h4 { color: #fff; font-size: 1.05rem; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a:hover { color: var(--primary); }
.footer-about p { font-size: 0.95rem; max-width: 280px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 24px; text-align: center; font-size: 0.88rem; }

/* ===== Калькулятор бокса ===== */
.calc { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
.calc-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.calc-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 16px 14px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}
.calc-item:hover { border-color: var(--green-ink); transform: translateY(-3px); box-shadow: var(--shadow); }
.calc-item.active { border-color: var(--green-ink); background: var(--green-soft); }
.calc-item-icon { font-size: 1.9rem; line-height: 1; margin-bottom: 8px; }
.calc-item-name { font-weight: 600; font-size: 0.92rem; }
.calc-item-vol { color: var(--gray); font-size: 0.78rem; margin-top: 2px; }
.calc-stepper {
  display: inline-flex; align-items: center; gap: 0;
  margin-top: 12px;
  border: 1px solid var(--border); border-radius: 50px;
  overflow: hidden; background: #fff;
}
.calc-stepper button {
  width: 30px; height: 30px; border: none; background: none;
  font-size: 1.1rem; font-weight: 700; color: var(--green-ink);
  cursor: pointer; display: grid; place-items: center; transition: background 0.15s;
}
.calc-stepper button:hover { background: var(--green-soft); }
.calc-stepper .calc-count { min-width: 30px; font-weight: 700; font-size: 0.95rem; }

.calc-result {
  position: sticky; top: 92px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.calc-empty { text-align: center; color: var(--gray); padding: 20px 4px; }
.calc-empty-icon { font-size: 2.4rem; margin-bottom: 12px; }
.calc-empty p { font-size: 0.95rem; }
.calc-vol-row { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 16px; border-bottom: 1px solid var(--border); margin-bottom: 16px; }
.calc-vol-row span { color: var(--gray); font-size: 0.95rem; }
.calc-vol-row strong { font-size: 1.5rem; font-weight: 800; color: var(--dark); }
.calc-box-card { background: var(--green-soft); border-radius: var(--radius); padding: 18px; text-align: center; margin-bottom: 16px; }
.calc-box-name { font-size: 1.2rem; font-weight: 800; color: var(--green-ink); }
.calc-box-desc { color: var(--gray); font-size: 0.85rem; margin: 4px 0 10px; }
.calc-box-price { font-size: 1.35rem; font-weight: 800; color: var(--green-ink); }
.calc-summary { font-size: 0.88rem; color: var(--gray); margin-bottom: 18px; max-height: 130px; overflow-y: auto; }
.calc-summary li { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px dashed var(--border); }
.calc-summary li:last-child { border-bottom: none; }
.calc-book { width: 100%; justify-content: center; }
.calc-reset { width: 100%; margin-top: 10px; background: none; border: none; color: var(--gray); font-size: 0.9rem; cursor: pointer; padding: 6px; }
.calc-reset:hover { color: var(--primary); }
.calc-note { font-size: 0.78rem; color: var(--gray); text-align: center; margin-top: 12px; line-height: 1.4; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .calc { grid-template-columns: 1fr; }
  .calc-result { position: static; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .audience-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .nav-links { position: fixed; top: 72px; left: 0; right: 0; background: #131313; flex-direction: column; padding: 24px; gap: 18px; border-bottom: 1px solid rgba(189, 150, 64, 0.25); transform: translateY(-150%); transition: transform 0.3s; box-shadow: var(--shadow); }
  .nav-links.open { transform: translateY(0); }
  .burger { display: flex; }
  .nav-phone span { display: none; }
  .features-grid, .steps-grid, .pricing-grid { grid-template-columns: 1fr; }
  .calc-items { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 56px 0; }
  .cta-banner { padding: 40px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 26px; }
}

/* ===== Плавающая кнопка WhatsApp ===== */
.wa-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 200;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wa-fab:hover { transform: scale(1.08); box-shadow: 0 10px 30px rgba(37, 211, 102, 0.6); }
.wa-fab svg { position: relative; z-index: 2; }
.wa-fab-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  z-index: 1;
  animation: wa-pulse 2s infinite;
}
@keyframes wa-pulse {
  0%   { transform: scale(1);   opacity: 0.6; }
  70%  { transform: scale(1.8); opacity: 0; }
  100% { transform: scale(1.8); opacity: 0; }
}
@media (max-width: 680px) {
  .wa-fab { width: 54px; height: 54px; right: 16px; bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .wa-fab-pulse { animation: none; }
}

/* ===== SEO-текст ===== */
.seo-text { max-width: 860px; }
.seo-text h2 { font-size: 1.6rem; margin-bottom: 18px; }
.seo-text p { color: var(--gray); line-height: 1.7; margin-bottom: 16px; }
.seo-text a { color: var(--green-ink); font-weight: 600; }
.seo-text a:hover { text-decoration: underline; }

/* ===== Уведомление о cookie ===== */
.cookie-bar {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 190;
  max-width: 440px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.cookie-bar.show { opacity: 1; transform: translateY(0); }
.cookie-text { margin: 0; font-size: 0.92rem; line-height: 1.5; color: var(--gray); }
.cookie-accept { padding: 10px 26px; }
@media (max-width: 680px) {
  .cookie-bar { left: 12px; right: 12px; bottom: 84px; max-width: none; padding: 16px 18px; }
}
