:root {
  --bg: #f6f7f3;
  --surface: #ffffff;
  --text: #1e2522;
  --muted: #66706b;
  --line: #dce2dd;
  --accent: #2f8f5b;
  --accent-dark: #216944;
  --soft: #e8f5ed;
  --warning: #f4cf72;
  --shadow: 0 12px 40px rgba(20, 30, 25, 0.08);
  --radius: 24px;
  --radius-sm: 18px;
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.section { padding: 88px 0; }
.section-tight { padding: 64px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 700;
}

.section-head {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-head h2,
.section-head h1,
.hero-copy h1,
.page-hero-copy h1 {
  font-size: clamp(30px, 4.2vw, 50px);
  line-height: 1.08;
  margin: 16px 0 12px;
  letter-spacing: -0.03em;
}

.section-head p,
.hero-copy p,
.page-hero-copy p {
  font-size: 18px;
  color: var(--muted);
  margin: 0;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 15px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: 0.25s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-primary:hover { background: var(--accent-dark); }

.btn-secondary {
  background: transparent;
  border-color: var(--line);
}

.btn-light {
  background: #fff;
  color: var(--text);
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(246, 247, 243, 0.86);
  border-bottom: 1px solid rgba(220, 226, 221, 0.75);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}

.logo {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.logo span { color: var(--accent); }

.main-nav,
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.main-nav a,
.header-phone {
  color: var(--muted);
  font-weight: 600;
  font-size: 15px;
}

.header-actions .btn-primary {
  padding: 11px 18px;
  font-size: 15px;
  line-height: 1.2;
  min-height: 46px;
  box-shadow: none;
}

.mobile-menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 28px;
}

.mobile-drawer {
  display: none;
  border-top: 1px solid var(--line);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 16px 24px;
}

/* HERO */
.hero {
  padding: 46px 0 58px;
}

.hero-grid,
.page-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: stretch;
}

.hero-copy,
.page-hero-copy,
.hero-visual,
.page-hero-visual,
.card,
.stat-card,
.feature-card,
.benefit-card,
.process-card,
.audience-card,
.faq-item,
.result-panel,
.contact-panel,
.product-card,
.teaser-card,
.example-card,
.cta-panel,
.info-panel {
  background: var(--surface);
  border: 1px solid rgba(220, 226, 221, 0.7);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-copy,
.page-hero-copy {
  padding: 42px;
}

.hero-copy p + .hero-points,
.page-hero-copy p + .hero-points {
  margin-top: 24px;
}

.hero-points,
.check-list,
.result-list,
.footer-grid,
.contact-lines {
  display: grid;
  gap: 12px;
}

.hero-points span,
.check-list li,
.result-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-points span::before,
.check-list li::before,
.result-list li::before {
  content: "✓";
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--soft);
  color: var(--accent-dark);
  font-size: 13px;
  flex: 0 0 auto;
}

.hero-cta-row,
.cta-row,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-visual,
.page-hero-visual {
  padding: 20px;
  display: grid;
  gap: 18px;
}

/* IMAGE SLOTS */
.image-slot {
  width: 100%;
  height: 220px;
  border-radius: 24px;
  border: 1px solid rgba(198, 208, 200, 0.9);
  background: linear-gradient(135deg, #f3f6f4, #e7ede9);
  display: block;
  overflow: hidden;
  margin: 0;
}

.image-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-slot.tall { height: 340px; }
.image-slot.medium { height: 280px; }
.image-slot.small { height: 150px; }

.floating-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.stat-card,
.benefit-card,
.process-card,
.audience-card,
.feature-card,
.faq-item,
.product-card,
.teaser-card,
.example-card,
.info-panel,
.contact-panel,
.result-panel {
  padding: 26px;
}

.stat-card strong,
.benefit-card strong,
.example-card strong,
.result-panel strong {
  display: block;
  font-size: 28px;
  margin-top: 6px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.trust-item {
  padding: 18px 20px;
  background: #fff;
  border-radius: 999px;
  border: 1px solid rgba(220, 226, 221, 0.8);
  text-align: center;
  font-weight: 700;
}

.grid-3,
.gallery-grid,
.example-grid,
.footer-grid,
.product-grid,
.audience-grid,
.process-grid,
.benefits-grid,
.faq-grid,
.info-grid,
.contact-grid {
  display: grid;
  gap: 22px;
}

.grid-3,
.product-grid,
.audience-grid,
.process-grid,
.benefits-grid,
.example-grid,
.info-grid {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-grid { grid-template-columns: repeat(4, 1fr); }
.faq-grid { grid-template-columns: repeat(2, 1fr); }
.contact-grid { grid-template-columns: 1.1fr 0.9fr; }
.footer-grid { grid-template-columns: 1.2fr repeat(3, 1fr); }

.product-card .image-slot,
.audience-card .image-slot,
.teaser-card .image-slot,
.feature-card .image-slot,
.example-card .image-slot {
  margin-bottom: 18px;
}

.product-card h3,
.audience-card h3,
.process-card h3,
.benefit-card h3,
.faq-item h3,
.example-card h3,
.feature-card h3,
.info-panel h3,
.contact-panel h3,
.result-panel h3,
.teaser-card h3 {
  margin: 0 0 10px;
  font-size: 24px;
}

.product-card p,
.audience-card p,
.process-card p,
.benefit-card p,
.faq-item p,
.example-card p,
.feature-card p,
.info-panel p,
.contact-panel p,
.result-panel p,
.teaser-card p {
  margin: 0;
  color: var(--muted);
}

.highlight-banner,
.bottom-cta {
  background: linear-gradient(135deg, #20362b, #2d4d3c);
  color: #fff;
}

.highlight-wrap,
.cta-panel {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 24px;
  align-items: center;
}

.highlight-wrap {
  padding: 34px;
  border-radius: var(--radius);
}

.highlight-wrap p,
.cta-panel p {
  color: rgba(255,255,255,0.82);
}

.bottom-cta { padding: 0; }

.cta-panel {
  padding: 38px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #20362b, #2d4d3c);
}

/* FOOTER */
.site-footer {
  background: #17211d;
  color: rgba(255,255,255,0.88);
  padding-top: 56px;
}

.site-footer h4 {
  margin: 0 0 16px;
  color: #fff;
}

.site-footer a {
  display: block;
  color: rgba(255,255,255,0.8);
  margin-bottom: 10px;
}

.site-footer .footer-logo { color: #fff; }

.footer-text {
  color: rgba(255,255,255,0.75);
  max-width: 460px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  margin-top: 32px;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255,255,255,0.62);
}

/* PAGE HERO */
.page-hero { padding: 48px 0 64px; }

.breadcrumbs {
  display: inline-flex;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.tag-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.tag {
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--accent-dark);
  font-weight: 700;
  font-size: 14px;
}

/* MODAL */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(16, 23, 20, 0.62);
  z-index: 80;
}

.modal.active { display: flex; }

.modal-card {
  width: min(100%, 960px);
  max-height: calc(100vh - 32px);
  overflow: auto;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 40px 80px rgba(0,0,0,0.18);
}

.modal-head {
  padding: 22px 24px 10px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}

.modal-close {
  border: 0;
  background: #eff3ef;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 22px;
}

.modal-body { padding: 24px; }

.progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--muted);
}

.progress-bar {
  height: 10px;
  width: 100%;
  background: #edf1ed;
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 14.2%;
  background: linear-gradient(90deg, var(--accent), #53b67d);
  border-radius: 999px;
  transition: width 0.25s ease;
}

.step {
  display: none;
  grid-template-columns: 1fr 0.9fr;
  gap: 24px;
  align-items: start;
}

.step.active { display: grid; }

.step-copy h3 {
  font-size: 30px;
  line-height: 1.12;
  margin: 0 0 12px;
}

.step-copy p {
  color: var(--muted);
  margin: 0 0 16px;
}

.choice-grid,
.form-grid {
  display: grid;
  gap: 14px;
}

.choice-grid.two { grid-template-columns: repeat(2, 1fr); }

.choice-btn {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
  text-align: left;
  font-weight: 700;
}

.choice-btn small {
  display: block;
  color: var(--muted);
  font-weight: 500;
  margin-top: 6px;
}

.choice-btn.selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(47,143,91,0.10);
  background: var(--soft);
}

.form-grid.two { grid-template-columns: repeat(2, 1fr); }

.input-field,
.select-field,
.textarea-field {
  width: 100%;
  padding: 15px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
}

.textarea-field {
  min-height: 120px;
  resize: vertical;
}

.form-card {
  background: #f9fbf9;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 20px;
}

.step-actions {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 20px;
}

.step-actions .right-actions {
  display: flex;
  gap: 12px;
}

.summary-box {
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(135deg, #20362b, #2d4d3c);
  color: #fff;
}

.summary-box p { color: rgba(255,255,255,0.8); }

.summary-box strong {
  font-size: 34px;
  display: block;
  margin-top: 8px;
}

.loading-dots::after {
  content: '';
  display: inline-block;
  animation: dots 1.4s infinite steps(4, end);
  width: 0;
}

@keyframes dots {
  0% { content: ''; }
  25% { content: '.'; }
  50% { content: '..'; }
  75% { content: '...'; }
  100% { content: ''; }
}

.hidden { display: none !important; }

.notice {
  font-size: 14px;
  color: var(--muted);
  margin-top: 14px;
}

/* RESPONSIVE */
@media (max-width: 1080px) {
  .hero-grid,
  .page-hero-grid,
  .grid-3,
  .product-grid,
  .audience-grid,
  .process-grid,
  .benefits-grid,
  .example-grid,
  .gallery-grid,
  .faq-grid,
  .contact-grid,
  .footer-grid,
  .highlight-wrap,
  .cta-panel,
  .step,
  .form-grid.two,
  .choice-grid.two,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .main-nav,
  .header-phone,
  .header-actions .btn-primary {
    display: none;
  }

  .mobile-menu-toggle { display: inline-flex; }
  .mobile-drawer.active { display: block; }

  .hero-copy,
  .page-hero-copy,
  .stat-card,
  .benefit-card,
  .process-card,
  .audience-card,
  .faq-item,
  .product-card,
  .teaser-card,
  .example-card,
  .cta-panel,
  .info-panel,
  .contact-panel,
  .result-panel,
  .modal-body {
    padding: 20px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .section { padding: 70px 0; }
  .hero { padding-top: 30px; }

  .trust-strip { grid-template-columns: 1fr; }
  .floating-cards { grid-template-columns: 1fr; }

  .step-copy h3 { font-size: 26px; }

  .step-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .step-actions .right-actions {
    flex-direction: column;
  }

  .btn { width: 100%; }

  .image-slot.tall { height: 260px; }
  .image-slot.medium { height: 220px; }
  .image-slot.small { height: 140px; }

  .logo { font-size: 22px; }
}
.logo {
  display: inline-flex;
  align-items: center;
}

.logo img {
  height: 42px;
  width: auto;
  display: block;
}