@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --green: #76B82A;
  --green-dark: #4e8f17;
  --dark: #111111;
  --white: #ffffff;
  --gray: #f3f5f2;
  --text: #202020;
  --muted: #636363;
  --border: rgba(17, 17, 17, .1);
  --shadow: 0 24px 70px rgba(0,0,0,.14);
  --radius: 24px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  color: var(--text);
  background: var(--white);
}

body.menu-open { overflow: visible; }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

svg {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo img {
  width: 230px;
  height: auto;
}

.nav {
  display: flex;
  gap: 22px;
  font-weight: 700;
  color: #333;
}

.nav a:hover { color: var(--green-dark); }

.burger {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 14px;
  background: var(--green);
  padding: 11px;
  cursor: pointer;
}

.burger span {
  display: block;
  height: 3px;
  margin: 5px 0;
  background: var(--white);
  border-radius: 99px;
  transition: .25s ease;
}

body.menu-open .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
  font-weight: 900;
  border: 2px solid var(--green);
  box-shadow: 0 14px 34px rgba(118,184,42,.35);
  transition: .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  background: var(--green-dark);
  border-color: var(--green-dark);
}

.btn-small {
  min-height: 42px;
  padding: 0 18px;
  font-size: 14px;
}

.btn-outline {
  background: transparent;
  color: var(--dark);
  border-color: rgba(17,17,17,.18);
  box-shadow: none;
}

.btn-outline:hover { color: var(--white); }

.btn-full {
  width: 100%;
  margin-top: auto;
}

.hero {
  position: relative;
  padding: 76px 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(118,184,42,.22), transparent 32%),
    linear-gradient(135deg, #ffffff 0%, #f4f8ef 100%);
}

.hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -140px;
  bottom: -180px;
  background: var(--green);
  opacity: .16;
  border-radius: 50%;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 520px;
  align-items: center;
  gap: 54px;
}

.badge {
  display: inline-flex;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(118,184,42,.14);
  color: var(--green-dark);
  font-weight: 900;
}

.hero h1 {
  margin: 20px 0 18px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: .95;
  letter-spacing: -.07em;
  color: var(--dark);
}

.hero p {
  max-width: 610px;
  font-size: 20px;
  line-height: 1.6;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-card {
  border-radius: 32px;
  padding: 16px;
  background: var(--white);
  box-shadow: var(--shadow);
  transform: rotate(1deg);
}

.hero-card img { border-radius: 24px; }

.section { padding: 86px 0; }

.section-title {
  text-align: center;
  margin-bottom: 38px;
}

.section-title.left {
  text-align: left;
  margin-bottom: 18px;
}

.section-title span {
  color: var(--green-dark);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: .12em;
}

.section-title h2 {
  margin: 10px 0 0;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.08;
  letter-spacing: -.05em;
  color: var(--dark);
}

.section-title.light h2,
.section-title.light span { color: var(--white); }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.step {
  position: relative;
  padding: 28px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff, var(--gray));
  border: 1px solid var(--border);
  overflow: hidden;
}

.step::after {
  content: "";
  position: absolute;
  inset: auto -25px -35px auto;
  width: 105px;
  height: 105px;
  border-radius: 50%;
  background: rgba(118,184,42,.12);
}

.number-icon {
  position: relative;
  z-index: 1;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--dark);
  color: var(--green);
  font-size: 22px;
  font-weight: 900;
  animation: numberFloat 3s ease-in-out infinite;
  box-shadow: 0 14px 28px rgba(17,17,17,.16);
}

.step:nth-child(2) .number-icon { animation-delay: .2s; }
.step:nth-child(3) .number-icon { animation-delay: .4s; }
.step:nth-child(4) .number-icon { animation-delay: .6s; }

.step h3 {
  margin: 22px 0 8px;
  font-size: 21px;
}

.step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.section-dark {
  background:
    radial-gradient(circle at 10% 0%, rgba(118,184,42,.28), transparent 30%),
    var(--dark);
}

.tariffs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.tariff {
  position: relative;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 20px 60px rgba(0,0,0,.18);
  transition: .25s ease;
}

.tariff:hover { transform: translateY(-6px); }

.tariff.popular { border: 3px solid var(--green); }

.label {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
}

.tariff h3 {
  margin: 0 0 14px;
  font-size: 28px;
  letter-spacing: -.04em;
}

.price {
  font-size: 30px;
  font-weight: 900;
  color: var(--green-dark);
}

.price span {
  display: block;
  font-size: 14px;
  color: var(--muted);
  font-weight: 700;
}

.tariff p,
.tariff li {
  color: var(--muted);
  line-height: 1.5;
}

.tariff ul {
  padding-left: 18px;
  margin-bottom: 22px;
}

.audience {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.audience-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--gray);
  overflow: hidden;
}

.audience-card::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  right: -35px;
  bottom: -45px;
  border-radius: 50%;
  background: rgba(118,184,42,.15);
}

.line-icon {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--dark);
  color: var(--green);
  font-size: 30px;
  animation: softPulse 2.8s ease-in-out infinite;
}

.line-icon svg { width: 30px; height: 30px; }

.audience-card:nth-child(2) .line-icon { animation-delay: .2s; }
.audience-card:nth-child(3) .line-icon { animation-delay: .4s; }
.audience-card:nth-child(4) .line-icon { animation-delay: .6s; }

.audience-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 20px;
  line-height: 1.45;
  font-weight: 800;
}

.order-section {
  background: linear-gradient(135deg, #eef7e5 0%, #ffffff 100%);
}

.order-box {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: center;
  padding: 34px;
  border-radius: 34px;
  background: var(--dark);
  color: var(--white);
  overflow: hidden;
}

.order-box h2 {
  margin: 18px 0 12px;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1;
  letter-spacing: -.05em;
}

.order-box p {
  max-width: 640px;
  color: rgba(255,255,255,.76);
  line-height: 1.6;
  font-size: 18px;
}

.order-box img {
  border-radius: 24px;
  animation: floatImage 4s ease-in-out infinite;
}

.faq {
  display: grid;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}

details {
  border-radius: 18px;
  background: var(--gray);
  border: 1px solid var(--border);
  padding: 20px 22px;
}

summary {
  cursor: pointer;
  font-weight: 900;
  font-size: 18px;
}

details p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.contacts-section { background: var(--gray); }

.contacts-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 34px;
  align-items: center;
}

.contacts-card {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 30px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 40px rgba(0,0,0,.08);
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: 18px;
  background: var(--gray);
  transition: .2s ease;
}

.contact-row:hover { transform: translateY(-3px); }

.contact-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--white);
  font-size: 22px;
  animation: softPulse 3s ease-in-out infinite;
}

.contact-icon svg {
  width: 23px;
  height: 23px;
  stroke: currentColor;
}

.telegram-icon { background: #229ED9; }
.viber-icon { background: #7360F2; }
.whatsapp-icon { background: #25D366; }
.instagram-icon { background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af, #515bd4); }
.phone-icon,
.mail-icon,
.time-icon { background: var(--green); }

.contact-row p {
  margin: 0;
  font-weight: 800;
}

.footer {
  padding: 46px 0;
  background: var(--dark);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr 1.2fr;
  gap: 34px;
}

.footer .logo img {
  width: 230px;
  padding: 8px;
  border-radius: 14px;
  background: var(--white);
}

.footer p,
.footer a {
  color: rgba(255,255,255,.72);
  line-height: 1.6;
}

.footer a {
  display: block;
  margin: 8px 0;
}

.footer a:hover { color: var(--green); }

.footer h4 {
  margin: 0 0 14px;
  color: var(--white);
}

.footer-logo { margin-bottom: 14px; }

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: .65s ease;
}

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

@keyframes numberFloat {
  0%, 100% { transform: translateY(0); box-shadow: 0 14px 28px rgba(17,17,17,.16); }
  50% { transform: translateY(-7px); box-shadow: 0 22px 34px rgba(118,184,42,.28); }
}

@keyframes softPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(118,184,42,.28); }
  50% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(118,184,42,0); }
}

@keyframes floatImage {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 980px) {
  .burger { display: block; }

  .header-order { display: none; }

  .nav {
    position: fixed;
    top: 74px;
    left: 16px;
    right: 16px;
    display: grid;
    gap: 8px;
    padding: 18px;
    border-radius: 22px;
    background: var(--white);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transform: translateY(-18px);
    opacity: 0;
    pointer-events: none;
    transition: .25s ease;
  }

  body.menu-open .nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 14px;
    border-radius: 14px;
    background: var(--gray);
  }

  .nav::after {
    content: "Замовити";
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 999px;
    background: var(--green);
    color: var(--white);
    font-weight: 900;
  }

  .hero-grid,
  .order-box,
  .contacts-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    max-width: 560px;
    margin: 0 auto;
  }

  .steps,
  .tariffs {
    grid-template-columns: repeat(2, 1fr);
  }

  .order-box img { max-width: 360px; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 22px, 1180px); }

  .header-inner { min-height: 66px; }

  .logo img { width: 190px; }

  .nav { top: 66px; }

  .hero { padding: 46px 0; }

  .hero p { font-size: 17px; }

  .hero-actions { flex-direction: column; }

  .btn { width: 100%; }

  .section { padding: 58px 0; }

  .steps,
  .tariffs,
  .audience,
  .contacts-card {
    grid-template-columns: 1fr;
  }

  .tariff { min-height: auto; }

  .order-box { padding: 24px; }

  .footer-grid { gap: 20px; }
}

/* ===== PROMO BLOCK FIX ===== */

.promo-box{
  grid-template-columns: 1.05fr .95fr;
}

.promo-visual{
  position: relative;
  z-index: 1;
  min-height: 430px;
  border-radius: 30px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
}

.promo-visual img{
  width: 135%;
  max-width: none;
  height: auto;
  display: block;
  margin: 0 auto;
  transform: scale(1.15);
  transform-origin: center;
  filter: drop-shadow(0 22px 38px rgba(0,0,0,.26));
}

@media (max-width: 980px){
  .promo-box{
    grid-template-columns: 1fr;
  }

  .promo-visual{
    min-height: 360px;
  }

  .promo-visual img{
    width: 125%;
    transform: scale(1.12);
  }
}

@media (max-width: 640px){
  .promo-visual{
    min-height: 300px;
    padding: 0;
  }

  .promo-visual img{
    width: 125%;
    transform: scale(1.08);
  }
}
