/* ─── HERO (светлый, с пилюлями) ─── */
#hero {
  background: var(--n900);
  position: relative;
  padding: 120px 56px 80px;
  text-align: center;
  overflow: hidden;
}
.hero-content { position: relative; z-index: 1; width: 100%; max-width: 760px; margin: 0 auto; }
.hero-title {
  font-size: 54px; font-weight: 700;
  letter-spacing: -.03em; line-height: 1;
  color: #0A1A35; margin-bottom: 20px;
}
.hero-title span {
  background: linear-gradient(135deg, var(--bp) 0%, var(--be) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 18px; font-weight: 400;
  color: var(--g4); line-height: 1.65;
  margin-bottom: 16px;
}
.hero-pills {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center;
  margin-bottom: 24px;
}
.hero-pill {
  background: #fff;
  border: 1.5px solid rgba(29,78,216,.15);
  border-radius: 100px;
  padding: 8px 18px;
  font-size: 14px; font-weight: 600;
  color: var(--bp);
  box-shadow: 0 2px 8px rgba(29,78,216,.08);
  transition: border-color .2s, box-shadow .2s;
}
.hero-pill:hover {
  border-color: var(--bn);
  color: var(--bn);
  box-shadow: 0 4px 14px rgba(249,115,22,.15);
}

/* ─── PARTNER CARDS ─── */
#partners { background: var(--n950); }
.partners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 1100px;
  position: relative; z-index: 1;
}
.partner-card {
  background: #fff;
  border: 1px solid rgba(29,78,216,.12);
  border-radius: 24px;
  padding: 44px 44px 40px;
  display: flex; flex-direction: column;
  position: relative;
  transition: border-color .3s, box-shadow .3s, transform .3s;
  overflow: hidden;
}
.partner-card:hover {
  border-color: rgba(29,78,216,.28);
  box-shadow: 0 20px 64px rgba(29,78,216,.12);
  transform: translateY(-4px);
}
.partner-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  border-radius: 24px 24px 0 0;
  background: linear-gradient(90deg, var(--bp), var(--be));
}
.partner-head { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; }
.partner-icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 26px; font-weight: 900;
  background: var(--n800);
  color: var(--bp);
}
.partner-card.unisender .partner-icon,
.partner-card.jivo .partner-icon {
  background: rgba(249,115,22,.1);
  color: var(--bn);
}
.partner-card.unisender::before,
.partner-card.jivo::before { background: linear-gradient(90deg, var(--bn), #fb923c); }
.partner-name { font-size: 24px; font-weight: 700; color: #0A1A35; letter-spacing: -.01em; }
.partner-category {
  font-size: 12px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--g6);
  margin-top: 3px;
}
.partner-desc { font-size: 15px; color: var(--g4); line-height: 1.7; margin-bottom: 24px; }
.partner-features {
  list-style: none;
  display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 32px; flex: 1;
}
.partner-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: #0A1A35; line-height: 1.5;
}
.partner-features li::before {
  content: '';
  width: 18px; height: 18px;
  background: var(--n900);
  border-radius: 50%;
  flex-shrink: 0; margin-top: 1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%231D4ED8'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: contain;
}
.partner-footer {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px;
  padding-top: 28px;
  border-top: 1px solid rgba(29,78,216,.08);
}
.partner-domain {
  font-size: 13px; color: var(--g6);
  display: flex; align-items: center; gap: 6px;
}
.partner-domain svg { width: 14px; height: 14px; fill: var(--g6); }
.btn-partner {
  background: var(--bp); color: #fff;
  padding: 11px 26px; border-radius: 10px;
  font-size: 14px; font-weight: 700; text-decoration: none;
  box-shadow: 0 4px 16px rgba(29,78,216,.28);
  transition: all .2s;
  display: inline-flex; align-items: center; gap: 8px;
  white-space: nowrap;
}
.btn-partner:hover {
  background: var(--bi);
  box-shadow: 0 6px 24px rgba(29,78,216,.4);
  transform: translateY(-1px);
}
.btn-partner svg { width: 14px; height: 14px; fill: #fff; }

/* ─── WHY SECTION ─── */
#why { background: var(--n900); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 960px;
  position: relative; z-index: 1;
}
.why-card {
  background: #fff;
  border: 1px solid rgba(29,78,216,.1);
  border-radius: 18px;
  padding: 32px 28px;
  transition: box-shadow .25s, transform .25s;
}
.why-card:hover {
  box-shadow: 0 12px 40px rgba(29,78,216,.1);
  transform: translateY(-2px);
}
.why-icon {
  width: 48px; height: 48px;
  background: var(--n800);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.why-icon svg { width: 24px; height: 24px; fill: var(--bp); }
.why-title { font-size: 16px; font-weight: 700; color: #0A1A35; margin-bottom: 10px; }
.why-text { font-size: 14px; color: var(--g4); line-height: 1.65; }

/* ─── CTA (синий градиент) ─── */
#cta {
  background: linear-gradient(135deg, var(--bp) 0%, var(--be) 100%);
  position: relative; overflow: hidden;
}
#cta .grid-bg {
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 60px 60px;
}
.cta-inner {
  position: relative; z-index: 1;
  text-align: center; max-width: 640px; margin: 0 auto;
}
.cta-label {
  font-size: 11px; font-weight: 600; letter-spacing: .25em;
  color: rgba(255,255,255,.7); text-transform: uppercase;
  margin-bottom: 16px;
}
.cta-title {
  font-size: 42px; font-weight: 700; color: #fff;
  letter-spacing: -.02em; line-height: 1.1;
  margin-bottom: 16px;
}
.cta-desc {
  font-size: 17px; color: rgba(255,255,255,.8); line-height: 1.65;
  margin-bottom: 36px;
}
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-consent {
  margin-top: 16px; font-size: 12px;
  color: rgba(255,255,255,.5); text-align: center;
}
.btn-cta-primary {
  background: var(--bn); color: #fff;
  padding: 14px 36px; border-radius: 12px;
  font-size: 15px; font-weight: 700; text-decoration: none;
  box-shadow: 0 6px 24px rgba(249,115,22,.45);
  transition: all .2s; display: inline-block;
}
.btn-cta-primary:hover {
  background: #ea6700;
  box-shadow: 0 8px 32px rgba(249,115,22,.6);
  transform: translateY(-1px);
}
.btn-cta-outline {
  background: rgba(255,255,255,.15); color: #fff;
  padding: 14px 36px; border-radius: 12px;
  font-size: 15px; font-weight: 600; text-decoration: none;
  border: 1.5px solid rgba(255,255,255,.4);
  transition: all .2s; display: inline-block;
  backdrop-filter: blur(8px);
}
.btn-cta-outline:hover {
  background: rgba(255,255,255,.25);
  border-color: rgba(255,255,255,.7);
}

/* ─── SHARE BANNER ─── */
.share-banner {
  background: linear-gradient(135deg, var(--n800) 0%, #fff 100%);
  border-top: 1px solid rgba(29,78,216,.1);
  border-bottom: 1px solid rgba(29,78,216,.1);
  padding: 28px 56px;
}
.share-banner-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.share-banner-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: var(--bp);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
}
.share-banner-icon svg { width: 22px; height: 22px; fill: #fff; }
.share-banner-text { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.share-banner-text strong { font-size: 16px; color: #0A1A35; font-weight: 700; }
.share-banner-text span { font-size: 14px; color: var(--g4); }
.share-banner-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bn); color: #fff; border: none;
  padding: 10px 22px; border-radius: 10px;
  font-family: 'Lato', sans-serif; font-size: 14px; font-weight: 700;
  cursor: pointer; white-space: nowrap;
  box-shadow: 0 4px 16px rgba(249,115,22,.35);
  transition: all .2s;
}
.share-banner-btn svg { width: 16px; height: 16px; fill: #fff; }
.share-banner-btn:hover {
  background: #ea6700;
  box-shadow: 0 6px 22px rgba(249,115,22,.5);
  transform: translateY(-1px);
}

/* ─── RESPONSIVE спец-стили ─── */
.why-grid--2col { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 900px) {
  #hero { padding: 100px 24px 64px; }
  .hero-title { font-size: 38px; }
  .partners-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .why-grid--2col { grid-template-columns: 1fr; }
  .cta-title { font-size: 32px; }
  .partner-card { padding: 32px 28px 28px; }
}
