/* ============================================================
   binet.com.ua — layout.css
   ============================================================ */

/* — vars — */
:root {
  --hero:    #060C1A;
  --soft:    #F5F7FF;
  --p1:      #4F6EF7;
  --p2:      #9D50FF;
  --grad:    linear-gradient(135deg, #4F6EF7, #9D50FF);
  --text:    #0D1224;
  --mid:     #5A6785;
  --muted:   #9BABC8;
  --border:  #E8EDFF;
  --orb1:    rgba(79, 110, 247, 0.18);
  --orb2:    rgba(157, 80, 255, 0.13);
  --white:   #ffffff;
  --radius:  12px;
  --radius-sm: 8px;
  --shadow:  0 2px 20px rgba(79, 110, 247, 0.08);
}

/* — reset — */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: 'Onest', system-ui, sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
ul, ol {
  list-style: none;
}
button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* — type — */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.15;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
p  { font-size: 1rem; line-height: 1.7; }

/* — layout — */
.canvas {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.band-dark  { background: var(--hero); color: var(--white); }
.band-soft  { background: var(--soft); }
.band-white { background: var(--white); }
.section-pad { padding: 88px 0; }
.section-pad-sm { padding: 64px 0; }

/* — buttons — */
.spark-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--grad);
  color: var(--white);
  font-family: 'Onest', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: opacity .2s, transform .15s;
  text-decoration: none;
  white-space: nowrap;
}
.spark-btn:hover  { opacity: .88; transform: translateY(-1px); }
.spark-btn:active { transform: translateY(0); }

.edge-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--p1);
  font-family: 'Onest', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 13px 31px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--p1);
  cursor: pointer;
  transition: background .2s, color .2s;
  text-decoration: none;
  white-space: nowrap;
}
.edge-btn:hover { background: var(--p1); color: var(--white); }

.spark-btn-sm {
  padding: 10px 22px;
  font-size: .9rem;
}

/* — cards — */
.glow-card {
  background: var(--white);
  border: 1px solid rgba(79, 110, 247, 0.14);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color .2s, box-shadow .2s;
}
.glow-card:hover {
  border-color: rgba(79, 110, 247, 0.35);
  box-shadow: 0 4px 28px rgba(79, 110, 247, 0.09);
}

/* — badges — */
.dot-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: .82rem;
  font-weight: 500;
  color: var(--muted);
  background: transparent;
}
.dot-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--p1);
  flex-shrink: 0;
}
.dot-badge-green .dot { background: #22c55e; }

/* — grade text — */
.grade-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* — orb — */
.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  z-index: 0;
}
.orb-1 {
  width: 600px;
  height: 600px;
  top: -120px;
  left: -100px;
  background: radial-gradient(circle, var(--orb1) 0%, transparent 70%);
}
.orb-2 {
  width: 500px;
  height: 500px;
  top: 50px;
  right: -80px;
  background: radial-gradient(circle, var(--orb2) 0%, transparent 70%);
}
.orb-3 {
  width: 350px;
  height: 350px;
  bottom: -60px;
  left: 40%;
  background: radial-gradient(circle, rgba(79, 110, 247, 0.1) 0%, transparent 70%);
}

/* — header — */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: background .3s, backdrop-filter .3s, box-shadow .3s, padding .3s;
}
.site-header.scrolled {
  background: rgba(6, 12, 26, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 14px 0;
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

/* nav item with dropdown */
.nav-item {
  position: relative;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.nav-item:hover .nav-link-arrow { transform: rotate(180deg); }

.nav-link {
  color: rgba(255,255,255,0.75);
  font-size: .92rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  transition: color .2s, background .2s;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link:hover { color: var(--white); background: rgba(255,255,255,0.07); }
.nav-link-arrow {
  font-size: .58rem;
  opacity: .55;
  transition: transform .2s;
  line-height: 1;
}

/* dropdown panel */
.nav-dropdown {
  position: absolute;
  top: 100%;          /* без зазору — hover-зона суцільна */
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  /* padding-top: місце для стрілки + повітря, але в hover-зоні */
  padding: 14px 6px 6px;
  min-width: 188px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 200;
}
/* реальна панель — псевдоелемент із фоном */
.nav-dropdown::after {
  content: '';
  position: absolute;
  inset: 10px 0 0 0;
  background: rgba(6, 12, 26, 0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
  z-index: -1;
}
/* стрілка вгорі */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px; height: 10px;
  background: rgba(6,12,26,0.97);
  border-left: 1px solid rgba(255,255,255,0.1);
  border-top: 1px solid rgba(255,255,255,0.1);
  z-index: 1;
}
.nav-dd-link {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border-radius: 8px;
  color: rgba(255,255,255,0.65);
  font-size: .87rem;
  font-weight: 500;
  transition: color .15s, background .15s;
  text-decoration: none;
  white-space: nowrap;
}
.nav-dd-link:hover {
  background: rgba(79,110,247,0.18);
  color: var(--white);
}
.nav-dd-icon {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background: rgba(79,110,247,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  flex-shrink: 0;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  overflow: hidden;
}
.lang-btn {
  background: transparent;
  color: rgba(255,255,255,0.55);
  font-size: .78rem;
  font-weight: 600;
  padding: 5px 10px;
  border: none;
  cursor: pointer;
  transition: background .2s, color .2s;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.lang-btn.active,
.lang-btn:hover {
  background: rgba(79, 110, 247, 0.4);
  color: var(--white);
}
.burger-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.07);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: background .2s;
}
.burger-btn:hover { background: rgba(255,255,255,0.12); }
.burger-line {
  display: block;
  width: 18px;
  height: 2px;
  background: rgba(255,255,255,0.85);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.burger-btn.open .burger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger-btn.open .burger-line:nth-child(2) { opacity: 0; }
.burger-btn.open .burger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 12px 0 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 12px;
}
.mobile-nav.open { display: flex; }
.mobile-nav .nav-link {
  padding: 9px 14px;
  font-size: .95rem;
  border-radius: 8px;
  color: rgba(255,255,255,0.7);
}
.mobile-nav .nav-link:hover { color: var(--white); }

/* mobile nav groups — accordion */
.mob-group { margin-bottom: 2px; }
.mob-group-title {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  font-size: .88rem;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background .15s, color .15s;
}
.mob-group-title:hover { background: rgba(255,255,255,0.06); color: var(--white); }
.mob-group-title::after {
  content: '▾';
  margin-left: auto;
  font-size: .65rem;
  opacity: .45;
  transition: transform .22s ease, opacity .22s;
  line-height: 1;
}
.mob-group.open .mob-group-title { color: var(--white); }
.mob-group.open .mob-group-title::after {
  transform: rotate(180deg);
  opacity: .8;
}
.mob-group-links {
  display: flex;
  flex-direction: column;
  gap: 1px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s cubic-bezier(.4,0,.2,1);
  padding-left: 10px;
}
.mob-group.open .mob-group-links { max-height: 180px; }
.mob-divider {
  height: 1px;
  background: rgba(255,255,255,0.06);
  margin: 4px 14px;
}

/* — hero — */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 152px 0 96px;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.hero-content { padding-top: 16px; }
.hero-inner.hero-centered {
  grid-template-columns: 1fr;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.hero-inner.hero-centered .hero-badges {
  justify-content: center;
}
.hero-h1 {
  color: var(--white);
  margin-bottom: 20px;
}
.hero-sub {
  color: rgba(255,255,255,0.65);
  font-size: 1.1rem;
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 520px;
}
.hero-inner.hero-centered .hero-sub {
  margin-left: auto;
  margin-right: auto;
}
.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-inner.hero-centered .hero-cta-row {
  justify-content: center;
}
.hero-widget {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 32px;
  backdrop-filter: blur(10px);
}

/* — stats — */
.stats-section { padding: 64px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.stat-item {
  text-align: center;
  padding: 32px 16px;
  border-right: 1px solid rgba(255,255,255,0.07);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  line-height: 1.1;
  margin-bottom: 6px;
}
.stat-label {
  color: rgba(255,255,255,0.55);
  font-size: .9rem;
  font-weight: 500;
}

/* — steps — */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.step-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.step-num {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--white);
  flex-shrink: 0;
}
.step-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.step-desc {
  color: var(--mid);
  font-size: .95rem;
  line-height: 1.6;
}
.section-heading {
  text-align: center;
  margin-bottom: 16px;
}
.section-sub {
  text-align: center;
  color: var(--mid);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 48px;
}

/* — advantages — */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.adv-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.adv-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(79,110,247,0.12), rgba(157,80,255,0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.adv-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}
.adv-desc {
  color: var(--mid);
  font-size: .93rem;
  line-height: 1.65;
}

/* — services index — */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.service-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
  color: var(--text);
}
.service-card:hover { color: var(--text); }
.service-platform {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}
.service-platform-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--white);
  flex-shrink: 0;
}
.service-platform-name {
  font-weight: 700;
  font-size: 1rem;
}
.service-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.service-link-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--mid);
  font-size: .9rem;
  font-weight: 500;
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  transition: color .2s;
}
.service-link-item:last-child { border-bottom: none; }
.service-link-item:hover { color: var(--p1); }
.service-link-item::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--p1);
  flex-shrink: 0;
}

/* — reviews — */
.reviews-section { padding: 88px 0; overflow: hidden; }
.reviews-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}
.reviews-header h2 { color: var(--white); }
.slider-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}
.slider-arrow {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.slider-arrow:hover {
  background: rgba(79,110,247,0.25);
  border-color: rgba(79,110,247,0.5);
  color: var(--white);
}
.slider-track-wrap { overflow: hidden; }
.slider-track {
  display: flex;
  gap: 20px;
  transition: transform .4s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.review-card {
  flex: 0 0 calc(33.333% - 14px);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.review-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 12px;
}
.star { color: #fbbf24; font-size: 1rem; }
.review-text {
  color: rgba(255,255,255,0.75);
  font-size: .95rem;
  line-height: 1.65;
  margin-bottom: 18px;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.review-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  color: var(--white);
  flex-shrink: 0;
}
.review-name {
  font-weight: 600;
  font-size: .9rem;
  color: var(--white);
  margin-bottom: 2px;
}
.review-date {
  font-size: .78rem;
  color: rgba(255,255,255,0.4);
}

/* — seo — */
.seo-section { padding: 80px 0; }
.seo-inner { max-width: 780px; }
.seo-body h3 {
  margin: 28px 0 10px;
  color: var(--text);
}
.seo-body p {
  color: var(--mid);
  margin-bottom: 14px;
}
.seo-body ul, .seo-body ol {
  list-style: none;
  margin: 16px 0 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.seo-body ul li::before {
  content: '→';
  color: var(--p1);
  margin-right: 8px;
  font-weight: 600;
}
.seo-body ol { counter-reset: seo-ol; }
.seo-body ol li {
  counter-increment: seo-ol;
  display: flex;
  gap: 10px;
}
.seo-body ol li::before {
  content: counter(seo-ol);
  min-width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--grad);
  color: var(--white);
  font-size: .78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.seo-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: .93rem;
}
.seo-table th, .seo-table td {
  padding: 11px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.seo-table th {
  font-weight: 600;
  color: var(--text);
  background: var(--soft);
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.seo-table td { color: var(--mid); }
.seo-table tr:last-child td { border-bottom: none; }

/* — faq — */
.faq-section { padding: 80px 0; }
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 48px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item.open { border-color: rgba(79,110,247,0.35); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  user-select: none;
}
.faq-q-text {
  font-weight: 600;
  font-size: .97rem;
  color: var(--text);
}
.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: rgba(79,110,247,0.08);
  color: var(--p1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: background .2s, transform .25s;
  font-weight: 400;
}
.faq-item.open .faq-icon {
  background: var(--grad);
  color: var(--white);
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s cubic-bezier(.4,0,.2,1), padding .3s;
  padding: 0 24px;
}
.faq-item.open .faq-a {
  max-height: 400px;
  padding-bottom: 20px;
}
.faq-a p {
  color: var(--mid);
  font-size: .95rem;
  line-height: 1.7;
}

/* — payment — */
.payment-section { padding: 72px 0; }
.payment-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}
.pay-logo {
  height: 44px;
  padding: 8px 18px;
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 700;
  color: var(--mid);
  background: var(--white);
  min-width: 90px;
  letter-spacing: .03em;
}

/* — cta — */
.cta-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(79,110,247,0.12) 0%, rgba(157,80,255,0.1) 100%);
  z-index: 0;
}
.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 0 auto;
}
.cta-h2 {
  color: var(--white);
  margin-bottom: 16px;
}
.cta-sub {
  color: rgba(255,255,255,0.6);
  font-size: 1.1rem;
  margin-bottom: 36px;
}
.cta-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* — footer — */
.site-footer {
  padding: 60px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-desc {
  color: rgba(255,255,255,0.45);
  font-size: .88rem;
  line-height: 1.6;
  max-width: 240px;
}
.footer-col-title {
  font-weight: 700;
  font-size: .88rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-link {
  color: rgba(255,255,255,0.6);
  font-size: .9rem;
  font-weight: 500;
  transition: color .2s;
}
.footer-link:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copy {
  color: rgba(255,255,255,0.35);
  font-size: .82rem;
}

/* — scroll reveal — */
[data-scroll] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .55s ease, transform .55s ease;
}
[data-scroll].visible {
  opacity: 1;
  transform: none;
}

/* — partner badge — */
.partner-strip {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}
.partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: .84rem;
  color: var(--mid);
  background: var(--white);
  box-shadow: 0 1px 6px rgba(79,110,247,0.06);
}
.partner-badge-icon { font-size: .95rem; line-height: 1; }
.partner-badge-link {
  color: var(--p1);
  font-weight: 600;
  text-decoration: none;
  transition: color .15s;
}
.partner-badge-link:hover { color: var(--p2); }

/* — media — */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid .stat-item:nth-child(2) { border-right: none; }
  .steps-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .review-card { flex: 0 0 calc(50% - 10px); }
  .reviews-header { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 768px) {
  .section-pad { padding: 64px 0; }
  .main-nav { display: none; }
  .burger-btn { display: flex; }
  .hero-section { padding: 112px 0 64px; }
  /* hero widget: прибираємо декор-обгортку, залишаємо тільки ширину */
  .hero-widget {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    margin-top: 8px;
  }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .adv-grid { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .review-card { flex: 0 0 100%; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  h1 { font-size: 2rem; }
  .hero-cta-row { flex-direction: column; align-items: stretch; }
  .spark-btn, .edge-btn { width: 100%; text-align: center; justify-content: center; }
  .cta-btns { flex-direction: column; }
}
