/* ============================================================
   COURIER LANDING — MAIN STYLES
   Яндекс Еда | eda-i-dostavka.ru
   ============================================================ */

/* === VARIABLES === */
:root {
  --accent:        #f97316;
  --accent-dark:   #ea6f0a;
  --accent-light:  rgba(249,115,22,0.12);
  --dark:          #1c1c1e;
  --dark-2:        #2c2c2e;
  --dark-3:        #3c3c3e;
  --text:          #1c1c1e;
  --text-muted:    #6c757d;
  --text-light:    rgba(255,255,255,0.75);
  --light-bg:      #f5f5f7;
  --white:         #ffffff;
  --border:        rgba(0,0,0,0.08);
  --border-dark:   rgba(255,255,255,0.1);
  --radius:        14px;
  --radius-lg:     24px;
  --shadow:        0 4px 24px rgba(0,0,0,0.07);
  --shadow-lg:     0 12px 48px rgba(0,0,0,0.14);
  --transition:    0.28s cubic-bezier(0.4,0,0.2,1);
  --container:     1200px;
  --section-py:    88px;
  --nav-h:         72px;
}

/* === RESET === */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; font-size: 16px; }
body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* === LAYOUT === */
.wrapper { display: flex; flex-direction: column; min-height: 100vh; }
.wrap    { flex: 1; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
}
.btn-primary {
  background: var(--accent);
  color: var(--dark);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(249,115,22,0.45);
}
.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
}
.btn-dark {
  background: var(--dark);
  color: var(--white);
}
.btn-dark:hover {
  background: #000;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.35);
}
.btn-lg { padding: 17px 40px; font-size: 17px; }

/* === TYPOGRAPHY === */
h1,h2,h3,h4 { font-weight: 800; line-height: 1.2; }
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-dark);
  margin-bottom: 12px;
}
.section-title  { font-size: clamp(26px,3.5vw,42px); margin-bottom: 14px; }
.section-subtitle { font-size: 17px; color: var(--text-muted); max-width: 600px; line-height: 1.7;
    margin-left: auto; margin-right: auto; }
.text-accent { color: var(--accent); }
.text-center { text-align: center; }
.text-white  { color: var(--white); }
.mx-auto { margin-left: auto; margin-right: auto; }

/* === NAVIGATION === */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background var(--transition), box-shadow var(--transition), height var(--transition);
}
.site-nav.scrolled {
  background: rgba(28,28,30,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.35);
  height: 60px;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-text { display: flex; flex-direction: column; }
.nav-logo-main { font-size: 16px; font-weight: 800; line-height: 1.1; }
.nav-logo-sub  { font-size: 10px; font-weight: 500; color: rgba(255,255,255,0.5); }
.nav-menu {
  display: none;
  gap: 32px;
  align-items: center;
}
.nav-menu a {
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  font-weight: 600;
  transition: color var(--transition);
}
.nav-menu a:hover { color: var(--accent); }
.nav-cta { display: none; padding: 10px 22px; font-size: 14px; }
@media (min-width: 768px) {
  .nav-menu { display: flex; }
  .nav-cta  { display: inline-flex; }
}

/* Nav burger (rendered by React NavIsland) */
.nav-burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
@media (min-width: 768px) { .nav-burger { display: none; } }

/* Mobile menu (React island) */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(28,28,30,0.97);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
.mobile-menu.open { transform: none; }
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.mobile-menu a {
  color: var(--white);
  font-size: 22px;
  font-weight: 700;
  transition: color var(--transition);
}
.mobile-menu a:hover { color: var(--accent); }
.mobile-menu-close {
  position: absolute;
  top: 20px; right: 20px;
  color: rgba(255,255,255,0.5);
  font-size: 24px;
  padding: 8px;
  transition: color var(--transition);
}
.mobile-menu-close:hover { color: var(--white); }

/* Island nav container — needs no visible size */
#island-nav { display: contents; }

/* === HERO SECTION === */
.section-hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #1c1c1e 0%, #1a1200 60%, #241a00 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 40px) 0 80px;
}
.section-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(249,115,22,0.18) 0%, transparent 65%);
  pointer-events: none;
}
.section-hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(249,115,22,0.08) 0%, transparent 65%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (min-width: 992px) {
  .hero-inner { grid-template-columns: 1fr 420px; }
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(249,115,22,0.12);
  border: 1px solid rgba(249,115,22,0.3);
  color: var(--accent);
  padding: 7px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 28px;
}
.hero-title {
  font-size: clamp(34px,5vw,68px);
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.08;
  letter-spacing: -0.5px;
}

/* Counter island placeholder */
#island-counter { margin: 20px 0 32px; min-height: 100px; }
.hero-counter { display: flex; flex-direction: column; }
.hero-counter-label { font-size: 16px; color: rgba(255,255,255,0.5); font-weight: 500; margin-bottom: 4px; }
.hero-counter-value {
  font-size: clamp(52px,8vw,96px);
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -2px;
}
.hero-counter-currency { font-size: 36px; font-weight: 700; }
.hero-counter-period   { font-size: 18px; color: rgba(255,255,255,0.5); margin-top: 4px; }

.hero-subtitle {
  font-size: 17px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.55);
  font-size: 13px;
  font-weight: 500;
}
.hero-trust-item::before { content: '✓'; color: var(--accent); font-weight: 800; }

/* Hero visual — phone mockup */
.hero-visual { display: flex; justify-content: center; }
.phone-wrap {
  position: relative;
  width: 240px;
}
.phone-mockup {
  width: 240px; height: 480px;
  background: var(--dark-2);
  border-radius: 40px;
  border: 2px solid var(--dark-3);
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04);
  position: relative;
  overflow: hidden;
}
.phone-notch {
  width: 100px; height: 26px;
  background: var(--dark);
  border-radius: 0 0 20px 20px;
  margin: 0 auto;
  position: relative; z-index: 1;
}
.phone-screen {
  position: absolute;
  inset: 0;
  padding: 40px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.phone-app-bar {
  display: flex;
  align-items: center;
  gap: 8px;
}
.phone-app-icon {
  width: 32px; height: 32px;
  background: var(--accent);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 14px; color: var(--dark);
}
.phone-app-name { color: var(--white); font-size: 13px; font-weight: 700; }
.phone-balance-label { color: rgba(255,255,255,0.4); font-size: 11px; margin-top: 12px; }
.phone-balance-amount {
  color: var(--accent);
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -1px;
}
.phone-stat-row { display: flex; gap: 10px; margin-top: 8px; }
.phone-stat {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  padding: 10px;
}
.phone-stat-val { color: var(--white); font-size: 16px; font-weight: 800; }
.phone-stat-lbl { color: rgba(255,255,255,0.35); font-size: 10px; }
.phone-orders-title { color: rgba(255,255,255,0.4); font-size: 11px; margin-top: 8px; }
.phone-order {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  padding: 8px 10px;
}
.phone-order-name { color: rgba(255,255,255,0.7); font-size: 11px; }
.phone-order-amount { color: var(--accent); font-size: 12px; font-weight: 700; }

/* Floating badge */
.phone-badge {
  position: absolute;
  right: -20px; bottom: 80px;
  background: var(--white);
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: var(--shadow-lg);
  white-space: nowrap;
}
.phone-badge-val { font-size: 18px; font-weight: 900; color: var(--dark); }
.phone-badge-lbl { font-size: 10px; color: var(--text-muted); }

/* === STATS BAR === */
.section-stats {
  background: var(--accent);
  padding: 28px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 24px;
  text-align: center;
}
@media (min-width: 640px) { .stats-grid { grid-template-columns: repeat(4,1fr); } }
.stat-val {
  display: block;
  font-size: clamp(24px,3vw,38px);
  font-weight: 900;
  color: var(--dark);
  line-height: 1;
}
.stat-lbl { font-size: 12px; color: rgba(28,28,30,0.65); font-weight: 600; margin-top: 4px; }

/* === BENEFITS === */
.section-benefits {
  padding: var(--section-py) 0;
  background: var(--light-bg);
}
.benefits-header {
  text-align: center;
  margin-bottom: 56px;
}
.benefits-header .section-subtitle { margin-left: auto; margin-right: auto; }

/* React island BenefitsIsland renders .benefits-grid */
#island-benefits { display: block; }
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 540px)  { .benefits-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .benefits-grid { grid-template-columns: repeat(4,1fr); } }

.benefit-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--border);
  transition: box-shadow var(--transition), border-color var(--transition);
  will-change: transform;
}
.benefit-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(249,115,22,0.3);
}
.benefit-icon {
  width: 52px; height: 52px;
  background: var(--accent-light);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-dark);
  margin-bottom: 20px;
}
.benefit-icon svg { width: 24px; height: 24px; }
.benefit-title { font-size: 18px; font-weight: 800; margin-bottom: 10px; }
.benefit-desc  { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* === EARNINGS === */
.section-earnings {
  padding: var(--section-py) 0;
  background: var(--white);
}
.earnings-inner {
  display: grid;
  gap: 60px;
  align-items: center;
}
@media (min-width: 992px) { .earnings-inner { grid-template-columns: 1fr 1fr; } }
.earnings-cards {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 16px;
}
.earnings-card {
  background: var(--light-bg);
  border-radius: var(--radius);
  padding: 24px 20px;
  transition: transform var(--transition);
}
.earnings-card:hover { transform: translateY(-4px); }
.earnings-card-val {
  display: block;
  font-size: 30px;
  font-weight: 900;
  color: var(--accent-dark);
  margin-bottom: 6px;
}
.earnings-card-lbl { font-size: 13px; color: var(--text-muted); font-weight: 500; }
.earnings-note {
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}
.earnings-table {
  margin-top: 32px;
  border-collapse: collapse;
  width: 100%;
}
.earnings-table th,
.earnings-table td {
  text-align: left;
  padding: 12px 16px;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}
.earnings-table th { font-weight: 700; color: var(--text-muted); font-size: 12px; text-transform: uppercase; }
.earnings-table td:last-child { font-weight: 700; color: var(--accent-dark); }

/* === STEPS === */
.section-steps {
  padding: var(--section-py) 0;
  background: var(--dark);
}
.section-steps .section-title    { color: var(--white); }
.section-steps .section-subtitle { color: rgba(255,255,255,0.45); }
.steps-inner {
  display: grid;
  gap: 60px;
  align-items: center;
}
@media (min-width: 992px) { .steps-inner { grid-template-columns: 1fr 1fr; gap: 80px; } }
.steps-list { display: flex; flex-direction: column; gap: 0; }
.step-item {
  display: flex;
  gap: 20px;
  will-change: transform, opacity;
}
.step-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}
.step-number {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.step-line {
  width: 2px;
  flex: 1;
  min-height: 32px;
  background: linear-gradient(to bottom, rgba(249,115,22,0.4), rgba(249,115,22,0.05));
  margin: 8px 0;
}
.step-content { padding: 0 0 40px; }
.step-icon { font-size: 24px; margin-bottom: 8px; }
.step-title { font-size: 20px; font-weight: 800; color: var(--white); margin-bottom: 8px; }
.step-desc  { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.7; }
.steps-cta  { margin-top: 8px; }
.steps-cta-note { color: rgba(255,255,255,0.35); font-size: 13px; margin-top: 14px; }

/* === REVIEWS === */
.section-reviews {
  padding: var(--section-py) 0;
  background: var(--dark-2);
}
.section-reviews .section-title { color: var(--white); }
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 48px;
}
@media (min-width: 768px) { .reviews-grid { grid-template-columns: repeat(3,1fr); } }
.review-card {
  background: var(--dark);
  border: 1px solid var(--dark-3);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color var(--transition);
}
.review-card:hover { border-color: rgba(249,115,22,0.3); }
.review-stars { color: var(--accent); font-size: 14px; margin-bottom: 16px; }
.review-text  { color: rgba(255,255,255,0.75); line-height: 1.75; font-style: italic; margin-bottom: 20px; font-size: 15px; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--dark);
  font-size: 18px;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.review-name { color: var(--white); font-weight: 700; font-size: 15px; }
.review-meta { color: rgba(255,255,255,0.35); font-size: 12px; margin-top: 2px; }

/* === FAQ === */
.section-faq {
  padding: var(--section-py) 0;
  background: var(--light-bg);
}
.faq-header  { text-align: center; margin-bottom: 48px; }
.faq-wrapper { max-width: 760px; margin: 0 auto; }
.faq-list    { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 0;
  text-align: left;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--accent-dark); }
.faq-item--open .faq-question { color: var(--accent-dark); }
.faq-icon { flex-shrink: 0; color: var(--accent-dark); }
.faq-answer { overflow: hidden; }
.faq-answer-inner {
  padding: 0 0 20px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
}

/* === CTA SECTION === */
.section-cta {
  padding: var(--section-py) 0;
  background: var(--accent);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.section-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.15) 0%, transparent 70%);
}
.section-cta .section-title    { color: var(--dark); position: relative; }
.section-cta .section-subtitle { color: rgba(28,28,30,0.65); margin: 0 auto 36px; position: relative; }
.section-cta .btn-dark         { position: relative; }
.cta-sub { font-size: 13px; color: rgba(28,28,30,0.5); margin-top: 16px; }

/* === BLOG PREVIEW === */
.section-blog {
  padding: var(--section-py) 0;
  background: var(--white);
}
.blog-preview-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.blog-all-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-dark);
  white-space: nowrap;
}
.blog-all-link:hover { text-decoration: underline; }
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 640px)  { .blog-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: repeat(3,1fr); } }
.blog-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-card-img {
  height: 196px;
  background: var(--light-bg);
  overflow: hidden;
  position: relative;
}
.blog-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.blog-card:hover .blog-card-img img { transform: scale(1.06); }
.blog-card-img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--dark) 0%, #2d1f00 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 48px;
}
.blog-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.blog-card-cat  { font-size: 11px; font-weight: 700; color: var(--accent-dark); text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 8px; }
.blog-card-title { font-size: 17px; font-weight: 800; margin-bottom: 10px; line-height: 1.35; }
.blog-card-desc  { font-size: 13px; color: var(--text-muted); line-height: 1.65; flex: 1; }
.blog-card-date  { font-size: 12px; color: var(--text-muted); margin-top: 14px; }

/* === FOOTER === */
.site-footer { background: #111; padding: 60px 0 24px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
@media (min-width: 768px) { .footer-inner { grid-template-columns: 2fr 1fr 1fr; } }
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand p { color: rgba(255,255,255,0.4); font-size: 13px; line-height: 1.75; margin-top: 0; }
.footer-heading { color: var(--white); font-size: 14px; font-weight: 800; margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; padding-left: 0;}
.footer-links a { color: rgba(255,255,255,0.4); font-size: 13px; transition: color var(--transition); }
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { color: rgba(255,255,255,0.25); font-size: 12px; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,0.35); font-size: 12px; transition: color var(--transition); }
.footer-bottom-links a:hover { color: var(--accent); }

/* === BLOG PAGE === */
.blog-page-hero {
  background: var(--dark);
  padding: calc(var(--nav-h) + 60px) 0 60px;
  text-align: center;
}
.blog-page-hero .section-title    { color: var(--white); }
.blog-page-hero .section-subtitle { color: rgba(255,255,255,0.45); margin: 0 auto; }
.blog-page-content { padding: 60px 0 80px; }
.blog-page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 640px)  { .blog-page-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .blog-page-grid { grid-template-columns: repeat(3,1fr); } }

/* === ARTICLE PAGE === */
.article-hero {
  background: var(--dark);
  padding: calc(var(--nav-h) + 40px) 0 40px;
}
.article-breadcrumb {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}
.article-breadcrumb a { color: rgba(255,255,255,0.4); }
.article-breadcrumb a:hover { color: var(--accent); }
.article-breadcrumb span { margin: 0 8px; }
.article-hero-cat   { font-size: 12px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.article-hero-title { font-size: clamp(26px,4vw,48px); color: var(--white); line-height: 1.2; }
.article-hero-meta  { color: rgba(255,255,255,0.4); font-size: 13px; margin-top: 16px; }
.article-body-wrap  { max-width: 820px; margin: 0 auto; padding: 60px 0 80px; }
.article-body h2 { font-size: 26px; margin: 48px 0 16px; color: var(--dark); }
.article-body h3 { font-size: 20px; font-weight: 700; margin: 32px 0 12px; color: var(--dark); }
.article-body p  { margin-bottom: 18px; line-height: 1.85; font-size: 16px; color: #333; }
.article-body ul,
.article-body ol { padding-left: 24px; margin-bottom: 18px; }
.article-body li { margin-bottom: 10px; line-height: 1.7; font-size: 16px; }
.article-body strong { color: var(--dark); font-weight: 700; }
.article-body blockquote {
  border-left: 4px solid var(--accent);
  padding: 16px 24px;
  margin: 28px 0;
  background: var(--light-bg);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text-muted);
}
.article-cta-box {
  background: var(--dark);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin: 48px 0;
  text-align: center;
}
.article-cta-box h3 { color: var(--white); margin-bottom: 8px; font-size: 22px; }
.article-cta-box p  { color: rgba(255,255,255,0.55); margin-bottom: 24px; font-style: normal; font-size: 15px; }
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); }
.article-tag {
  padding: 5px 14px;
  background: var(--light-bg);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

/* === CALCULATOR === */
.section-calc {
  padding: 60px 0;
  background: var(--light-bg);
}
.calc-wrap { max-width: 960px; margin: 0 auto; padding: 0 16px; }
.calc-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.calc-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 32px 36px 24px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.calc-title {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800;
  color: var(--dark);
  margin: 0 0 4px;
}
.calc-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}
.calc-updated { opacity: 0.65; }
.calc-total-mobile {
  text-align: right;
  flex-shrink: 0;
}
.calc-total-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.calc-total-value {
  font-size: 26px;
  font-weight: 900;
  color: var(--dark);
  line-height: 1;
}
.calc-currency { font-size: 18px; }

.calc-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width: 768px) {
  .calc-body { grid-template-columns: 1fr 1fr; }
}

.calc-controls {
  padding: 28px 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (max-width: 767px) { .calc-controls { padding: 24px 20px; } }

.calc-field { display: flex; flex-direction: column; gap: 8px; }
.calc-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.calc-hours-value {
  font-size: 14px;
  font-weight: 900;
  color: var(--accent-dark);
  text-transform: none;
  letter-spacing: 0;
}

/* City tabs */
.calc-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.calc-tab {
  padding: 7px 14px;
  border-radius: 50px;
  border: 2px solid var(--border);
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.calc-tab:hover { border-color: var(--accent); color: var(--dark); }
.calc-tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--dark);
  box-shadow: 0 2px 8px rgba(249,115,22,0.35);
}

/* Transport grid */
.calc-transport-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.calc-transport-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 6px;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
}
.calc-transport-btn:hover { border-color: var(--accent); }
.calc-transport-btn.active {
  border-color: var(--accent);
  background: rgba(249,115,22,0.1);
}
.calc-transport-icon { font-size: 22px; line-height: 1; }
.calc-transport-label { font-size: 11px; font-weight: 700; color: var(--dark); }

/* Slider */
.calc-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: var(--border);
  outline: none;
  cursor: pointer;
}
.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 2px 8px rgba(249,115,22,0.5);
  cursor: pointer;
  transition: transform 0.15s ease;
}
.calc-slider::-webkit-slider-thumb:hover { transform: scale(1.2); }
.calc-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  box-shadow: 0 2px 8px rgba(249,115,22,0.5);
  cursor: pointer;
}
.calc-slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Result panel */
.calc-result {
  padding: 28px 36px 32px;
  background: var(--dark);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (max-width: 767px) { .calc-result { padding: 24px 20px; } }

.calc-result-main { text-align: center; }
.calc-result-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 6px;
}
.calc-result-total {
  font-size: clamp(36px, 6vw, 54px);
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}
.calc-result-currency { font-size: 0.6em; }

/* Breakdown */
.calc-breakdown { display: flex; flex-direction: column; gap: 8px; }
.calc-breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.calc-breakdown-label { font-size: 13px; color: rgba(255,255,255,0.5); }
.calc-breakdown-val { font-size: 14px; font-weight: 700; color: var(--white); white-space: nowrap; }
.calc-breakdown-divider { height: 1px; background: rgba(255,255,255,0.1); margin: 4px 0; }
.calc-breakdown-total .calc-breakdown-label,
.calc-breakdown-total span:first-child { font-size: 14px; font-weight: 700; color: rgba(255,255,255,0.8); }
.calc-breakdown-total span:last-child { font-size: 16px; font-weight: 900; color: var(--accent); }

/* Stats pills */
.calc-stats-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.calc-stat-pill {
  flex: 1;
  min-width: 70px;
  background: rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 10px 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.calc-stat-pill strong {
  font-size: 18px;
  font-weight: 900;
  color: var(--white);
}
.calc-stat-pill span {
  font-size: 10px;
  color: rgba(255,255,255,0.4);
}

/* CTA */
.calc-cta {
  width: 100%;
  text-align: center;
  background: var(--accent);
  color: var(--dark);
  font-weight: 800;
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 15px;
  text-decoration: none;
  display: block;
  transition: all var(--transition);
}
.calc-cta:hover {
  background: #ea6f0a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249,115,22,0.4);
}
.calc-disclaimer {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  text-align: center;
  margin: 0;
  line-height: 1.5;
}

/* Hide mobile total on desktop (it shows in header area) */
@media (min-width: 768px) {
  .calc-total-mobile { display: none; }
}
@media (max-width: 767px) {
  .calc-transport-grid { grid-template-columns: repeat(2, 1fr); }
  .calc-header { padding: 20px 20px 16px; }
}

/* === SCROLL REVEAL === */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* === UTILITIES === */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ================================================================
   MOBILE RESPONSIVE — 2026-03
   ================================================================ */

/* ── CTA section ── */
.cta-disclaimer {
  font-size: 12px;
  color: rgba(28,28,30,0.5);
  margin-top: 16px;
  line-height: 1.6;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
/* CTA button: allow wrap + full-width on narrow screens */
.cta-btn {
  white-space: normal;
  max-width: 100%;
}
@media (max-width: 480px) {
  .cta-btn { width: 100%; display: block; box-sizing: border-box; }
}
/* btn-lg on mobile */
@media (max-width: 576px) {
  .btn-lg { padding: 14px 20px; font-size: 14px; }
}

/* ── Navigation ── */
.nav-burger { padding: 10px; }         /* tap target ≥ 40px */
.mobile-menu {
  overflow-y: auto;
  height: 100vh; /* fallback */
  height: 100dvh; /* dynamic viewport height — accounts for iOS/Android browser chrome */
}
@media (max-width: 380px) {
  .nav-logo-main { font-size: 14px; }
  .nav-logo-sub  { font-size: 9px; }
}

/* ── Hero ── */
@media (max-width: 991px) {
  .hero-visual { display: none; }      /* hide phone mockup on mobile/tablet */
}
@media (max-width: 480px) {
  .hero-title      { line-height: 1.15; }
  .hero-subtitle   { font-size: 15px; margin-bottom: 24px; }
  .hero-cta        { flex-direction: column; gap: 10px; }
  .hero-cta .btn   { width: 100%; justify-content: center; }
  .hero-counter-value    { font-size: clamp(40px, 10vw, 52px); letter-spacing: -1px; }
  .hero-counter-currency { font-size: 28px; }
}

/* ── Global section padding reduction ── */
@media (max-width: 600px) {
  .section-benefits, .section-earnings, .section-steps,
  .section-reviews, .section-faq, .section-cta,
  .section-blog, .section-calc { padding: 56px 0; }
}

/* ── Stats bar ── */
@media (max-width: 360px) {
  .stats-grid { gap: 16px; }
  .stat-lbl   { font-size: 11px; }
}

/* ── Benefits ── */
@media (max-width: 540px) {
  .benefit-card { padding: 24px 20px; }
}

/* ── Steps ── */
@media (max-width: 480px) {
  .step-number { width: 44px; height: 44px; font-size: 12px; }
  .step-item   { gap: 16px; }
}

/* ── FAQ ── */
@media (max-width: 480px) {
  .faq-question { font-size: 15px; gap: 8px; }
}
.faq-answer-inner { overflow-wrap: break-word; word-break: break-word; }

/* ── Calculator: larger slider thumb on touch screens ── */
@media (hover: none) and (pointer: coarse) {
  .calc-slider::-webkit-slider-thumb { width: 28px; height: 28px; }
  .calc-slider::-moz-range-thumb     { width: 28px; height: 28px; }
}
/* Small phones — compact tabs and breakdown rows */
@media (max-width: 400px) {
  .calc-tab { padding: 6px 10px; font-size: 12px; }
  .calc-breakdown-row { flex-direction: column; gap: 2px; }
  .calc-breakdown-val { text-align: left; }
}
@media (max-width: 480px) {
  .calc-stat-pill        { min-width: 0; }
  .calc-stat-pill strong { font-size: 14px; }
  .calc-cta              { font-size: 14px; padding: 14px 18px; }
}

/* ── Stories ── */
@media (max-width: 480px) {
  .stories-grid { gap: 16px; }
  .story-card   { padding: 20px 18px; }
}
@media (max-width: 380px) {
  .story-income { flex-direction: column; align-items: flex-start; gap: 4px; }
}

/* ── Footer ── */
@media (max-width: 767px) {
  .footer-inner { gap: 28px; }
}
@media (max-width: 480px) {
  .footer-bottom       { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-bottom-links { flex-wrap: wrap; gap: 12px; }
}

/* === CITY / SEO PAGES — 2026-03 === */
/* Hero modifier: not full-viewport, flex-start, proper top padding */
.section-hero--city {
  min-height: auto;
  padding-top: calc(var(--nav-h) + 28px);
  padding-bottom: 60px;
  align-items: flex-start;
}
/* Breadcrumb inside blog-page-hero: override centred text-align */
.blog-page-hero .article-breadcrumb {
  text-align: left;
  margin-bottom: 20px;
}
.article-body ul {
    list-style-type: disc;
}

/* =====================================================
   AI Chat Widget
   ===================================================== */

/* Floating action button */
.chat-fab {
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #fc3f1d;
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(252, 63, 29, 0.45);
  transition: transform 0.2s, box-shadow 0.2s;
}
.chat-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(252, 63, 29, 0.55);
}
.chat-fab--open { background: #333; box-shadow: 0 4px 16px rgba(0,0,0,0.3); }
.chat-fab__badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #f97316;
  color: #111;
  font-size: 11px;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Chat window */
.chat-window {
  position: fixed;
  bottom: 88px;
  right: 16px;
  z-index: 9998;
  width: 360px;
  max-width: calc(100vw - 32px);
  max-height: 560px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: chatSlideUp 0.25s ease;
}
@keyframes chatSlideUp {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Header */
.chat-header {
  background: linear-gradient(135deg, #fc3f1d 0%, #e03318 100%);
  color: #fff;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.chat-header__close {
  display: none;
  margin-left: auto;
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.8);
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  flex-shrink: 0;
}
.chat-header__close:hover { color: #fff; }
@media (max-width: 480px) {
  .chat-header__close { display: flex; align-items: center; justify-content: center; }
}
.chat-header__avatar {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.chat-header__name {
  font-size: 14px;
  font-weight: 600;
  display: block;
  line-height: 1.2;
}
.chat-header__status {
  font-size: 12px;
  opacity: 0.85;
  display: flex;
  align-items: center;
  gap: 5px;
}
.chat-header__dot {
  width: 7px;
  height: 7px;
  background: #4cff91;
  border-radius: 50%;
  display: inline-block;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

/* Messages */
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-behavior: smooth;
}
.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-thumb { background: #ddd; border-radius: 2px; }

.chat-msg { display: flex; }
.chat-msg--user     { justify-content: flex-end; }
.chat-msg--assistant { justify-content: flex-start; }

.chat-msg__bubble {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
}
.chat-msg--user .chat-msg__bubble {
  background: #fc3f1d;
  color: #fff;
  border-bottom-right-radius: 4px;
}
.chat-msg--assistant .chat-msg__bubble {
  background: #f4f4f5;
  color: #222;
  border-bottom-left-radius: 4px;
}

/* Typing indicator */
.chat-msg__bubble--typing {
  display: flex;
  gap: 5px;
  align-items: center;
  padding: 12px 16px;
}
.chat-msg__bubble--typing span {
  width: 8px;
  height: 8px;
  background: #aaa;
  border-radius: 50%;
  animation: typingBounce 1.2s infinite;
}
.chat-msg__bubble--typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-msg__bubble--typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); }
  30%           { transform: translateY(-6px); }
}

/* Quick questions */
.chat-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.chat-quick__btn {
  background: #fff;
  border: 1.5px solid #fc3f1d;
  color: #fc3f1d;
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.chat-quick__btn:hover {
  background: #fc3f1d;
  color: #fff;
}

/* Error */
.chat-error {
  background: #fff0f0;
  color: #c00;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 13px;
  text-align: center;
}

/* Link */
.chat-link {
  color: #fc3f1d;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(252,63,29,0.3);
}
.chat-link:hover { border-bottom-color: #fc3f1d; }
.chat-msg--user .chat-link { color: #ffe0d9; border-bottom-color: rgba(255,224,217,0.5); }

/* Input */
.chat-input-wrap {
  padding: 12px 14px;
  border-top: 1px solid #f0f0f0;
  display: flex;
  gap: 8px;
  align-items: flex-end;
  flex-shrink: 0;
  background: #fff;
}
.chat-input {
  flex: 1;
  border: 1.5px solid #e5e5e5;
  border-radius: 12px;
  padding: 9px 13px;
  font-size: 14px;
  font-family: inherit;
  resize: none;
  outline: none;
  max-height: 100px;
  transition: border-color 0.2s;
}
.chat-input:focus { border-color: #fc3f1d; }
.chat-send {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fc3f1d;
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.15s;
}
.chat-send:hover:not(:disabled) { background: #e03318; transform: scale(1.05); }
.chat-send:disabled { background: #ddd; cursor: default; }

/* Mobile */
@media (max-width: 540px) {
  .chat-window {
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    max-width: 100%;
    max-height: 75dvh;
    border-radius: 20px 20px 0 0;
    box-sizing: border-box;
  }
  /* Отступ снизу для home indicator на iPhone */
  .chat-input-wrap {
    padding-bottom: max(12px, env(safe-area-inset-bottom, 12px));
  }
  /* Увеличиваем зону касания кнопки отправки */
  .chat-send {
    width: 44px;
    height: 44px;
  }
  /* Скрываем FAB когда чат открыт — закрытие через кнопку в шапке */
  .chat-fab--open {
    display: none;
  }
}
