/* ================================================
   Світла Пам'ять — Shared Stylesheet
   Colors: --bg #0b0f14 | --gold #d7b06b | --text #e8eef8 | --muted #a7b4c7
   ================================================ */

:root {
  --bg: #0b0f14;
  --bg2: #0f1620;
  --card: #0f1722cc;
  --stroke: #243246;
  --text: #e8eef8;
  --muted: #a7b4c7;
  --gold: #d7b06b;
  --gold2: #f2d08a;
  --accent: #7ee7d7;
  --shadow: 0 18px 60px rgba(0,0,0,.45);
  --shadow-soft: 0 4px 20px rgba(0,0,0,.2);
  --r: 16px;
  --max: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg), var(--bg2));
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

/* ============ LAYOUT ============ */
.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section {
  padding: 64px 0;
}

/* ============ TOPBAR / NAV ============ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(11,15,20,.85);
  border-bottom: 1px solid rgba(36,50,70,.5);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo svg { width: 100%; height: 100%; }

.brand-title {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.2;
  letter-spacing: .02em;
}

.brand-title-gold { color: var(--gold); }
.brand-title-muted { color: var(--stroke); }

.brand-subtitle {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}

/* Desktop links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  position: relative;
  transition: color .15s;
}

.nav-link:hover,
.nav-link.active { color: var(--text); }

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .15s;
}

.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }

/* Dropdown */
.nav-item { position: relative; }

.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  padding-top: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(11,15,20,.97);
  border: 1px solid rgba(36,50,70,.7);
  border-radius: 12px;
  padding: 8px 0;
  min-width: 200px;
  list-style: none;
  margin: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.nav-item:hover .nav-dropdown { display: block; }
.nav-item.open .nav-dropdown { display: block; }

.nav-dropdown li a {
  display: block;
  padding: 10px 18px;
  color: var(--muted);
  font-size: 14px;
  transition: color .15s, background .15s;
}

.nav-dropdown li a:hover {
  color: var(--text);
  background: rgba(36,50,70,.3);
}

/* Nav actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ============ BURGER / DRAWER ============ */
.btn-burger {
  display: none;
  background: rgba(15,23,34,.3);
  border: 1px solid rgba(36,50,70,.7);
  border-radius: 10px;
  color: var(--text);
  padding: 10px 12px;
  cursor: pointer;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
}

.btn-burger svg { width: 16px; height: 16px; display: block; }

.drawer {
  display: none;
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: rgba(11,15,20,.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(36,50,70,.6);
  padding: 16px 0;
  z-index: 40;
  transform: translateY(-10px);
  opacity: 0;
  visibility: hidden;
  transition: all .25s ease;
}

.drawer.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.drawer-links {
  display: flex;
  flex-direction: column;
  padding: 0 20px;
  gap: 4px;
}

.drawer-links .nav-link {
  padding: 12px 0;
  font-size: 15px;
  border-bottom: 1px solid rgba(36,50,70,.25);
  color: var(--text);
}

.drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 20px 0;
}

.drawer-actions .btn { width: 100%; justify-content: center; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 12px;
  border: 1px solid rgba(36,50,70,.7);
  background: rgba(15,23,34,.5);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.4;
  color: var(--text);
  cursor: pointer;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s, border-color .2s, background .2s;
  white-space: nowrap;
  min-height: 44px;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: rgba(215,176,107,.5);
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
}

.btn svg { width: 16px; height: 16px; display: block; flex-shrink: 0; }

.btn-primary {
  background: linear-gradient(135deg, rgba(215,176,107,.98), rgba(242,208,138,.7));
  border-color: rgba(215,176,107,.4);
  color: #0b0f14;
  box-shadow: 0 4px 16px rgba(215,176,107,.2);
}

.btn-primary:hover {
  box-shadow: 0 10px 28px rgba(215,176,107,.35);
  border-color: rgba(215,176,107,.6);
}

.btn-secondary {
  background: rgba(15,23,34,.55);
  border-color: rgba(36,50,70,.85);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(36,50,70,.6);
}

.btn-ghost:hover { background: rgba(15,23,34,.4); }

.btn-tg {
  background: #0088cc;
  color: #fff;
  border-color: rgba(0,136,204,.4);
}

.btn-tg:hover { background: #0077b5; }

.btn-lg {
  padding: 16px 28px;
  font-size: 16px;
  font-weight: 700;
}

/* ============ IMAGE PLACEHOLDER ============ */
.img-placeholder {
  width: 100%;
  height: 100%;
  background: rgba(36,50,70,.35);
  border-radius: var(--r);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 14px;
  gap: 8px;
  border: 1px dashed rgba(36,50,70,.6);
}

.img-placeholder svg {
  opacity: .3;
  width: 40px;
  height: 40px;
}

/* ============ CARDS ============ */
.card {
  background: rgba(15,23,34,.35);
  border: 1px solid rgba(36,50,70,.5);
  border-radius: var(--r);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  transition: border-color .2s, background .2s, transform .2s, box-shadow .2s;
}

.card:hover {
  border-color: rgba(215,176,107,.4);
  background: rgba(15,23,34,.45);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,.25);
}

/* ============ BADGE ============ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(215,176,107,.12);
  border: 1px solid rgba(215,176,107,.2);
  color: rgba(242,208,138,.95);
  font-size: 12px;
  font-weight: 700;
}

/* ============ HERO ============ */
.hero {
  padding: 72px 0 64px;
  position: relative;
}

.hero-headline {
  font-family: "Playfair Display", serif;
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin: 0 0 20px;
  letter-spacing: -.01em;
}

.hero-accent { color: var(--gold); }

.hero-sub {
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 58ch;
}

.hero-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 32px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(15,23,34,.25);
  border-radius: 12px;
  border: 1px solid rgba(36,50,70,.35);
  font-size: 14px;
}

.benefit-check {
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.proof-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 18px 24px;
  background: rgba(15,23,34,.3);
  border-radius: 14px;
  border: 1px solid rgba(36,50,70,.4);
  margin-bottom: 40px;
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

/* ============ SECTION HEADER ============ */
.section-header {
  margin-bottom: 32px;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
  margin: 0 0 12px;
  letter-spacing: -.02em;
}

.section-desc {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  max-width: 60ch;
  margin: 0;
}

/* ============ SERVICES GRID ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card { position: relative; }

.service-card .badge { margin-bottom: 12px; }

.service-title {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text);
}

.service-desc {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 16px;
}

.service-link {
  color: var(--gold);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap .15s;
}

.service-link:hover { gap: 8px; }

/* ============ PRICE CARDS ============ */
.prices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.price-card {
  background: rgba(15,23,34,.35);
  border: 1px solid rgba(36,50,70,.5);
  border-radius: var(--r);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: border-color .2s, background .2s, transform .2s, box-shadow .2s;
}

.price-card:hover {
  border-color: rgba(215,176,107,.4);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,.25);
}

.price-card-title {
  font-size: 18px;
  font-weight: 700;
  margin: 12px 0 8px;
  color: var(--text);
}

.price-card-desc {
  color: rgba(242,208,138,.8);
  font-size: 14px;
  line-height: 1.55;
  flex-grow: 1;
  margin: 0 0 16px;
}

.price-value {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(36,50,70,.5);
}

.price-amount {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
}

.price-currency {
  font-size: 18px;
  font-weight: 600;
  color: rgba(126,231,215,.8);
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.price-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

.price-features li::before {
  content: "✓";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(126,231,215,.15);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ============ TESTIMONIALS ============ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: #0b0f14;
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial-name { font-weight: 700; font-size: 14px; margin-bottom: 2px; }
.testimonial-loc { font-size: 12px; color: var(--muted); }

.testimonial-stars { display: flex; gap: 2px; margin-top: 4px; }
.testimonial-stars svg { width: 11px; height: 11px; }

.testimonial-quote {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(232,238,248,.92);
  font-style: italic;
  margin: 0 0 12px;
}

.testimonial-service {
  font-size: 12px;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
}

/* ============ STATS BAR ============ */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 28px;
  background: rgba(15,23,34,.3);
  border-radius: var(--r);
  border: 1px solid rgba(36,50,70,.4);
  margin-top: 32px;
}

.stat-item { text-align: center; }

.stat-number {
  display: block;
  font-size: 32px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}

/* ============ PROCESS STEPS ============ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
}

.process-step {
  background: rgba(15,23,34,.35);
  border: 1px solid rgba(36,50,70,.5);
  border-radius: var(--r);
  padding: 24px;
  text-align: center;
  counter-increment: step;
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(126,231,215,.15);
  border: 1px solid rgba(126,231,215,.25);
  color: var(--accent);
  font-weight: 900;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.step-num::before { content: counter(step); }

.step-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text);
}

.step-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

/* ============ FAQ ============ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: rgba(15,23,34,.28);
  border: 1px solid rgba(36,50,70,.5);
  border-radius: 12px;
  transition: border-color .2s;
}

.faq-item:hover { border-color: rgba(215,176,107,.35); }

.faq-question {
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 20px;
  color: var(--text);
  list-style: none;
  min-height: 44px;
}

.faq-question::-webkit-details-marker { display: none; }

.faq-chevron {
  width: 8px;
  height: 8px;
  border-right: 2px solid rgba(242,208,138,.8);
  border-bottom: 2px solid rgba(242,208,138,.8);
  transform: rotate(45deg);
  transition: transform .18s;
  flex-shrink: 0;
}

.faq-item[open] .faq-chevron { transform: rotate(-135deg); }

.faq-answer {
  padding: 0 20px 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

/* ============ CONTACT FORM ============ */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-field { display: flex; flex-direction: column; }

.form-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: rgba(232,238,248,.85);
  margin-bottom: 6px;
}

.form-input,
.form-textarea,
.form-select {
  padding: 13px 15px;
  border-radius: 10px;
  border: 1px solid rgba(36,50,70,.6);
  background: rgba(11,15,20,.5);
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  min-height: 44px;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: rgba(215,176,107,.65);
  box-shadow: 0 0 0 3px rgba(215,176,107,.1);
}

.form-input::placeholder,
.form-textarea::placeholder { color: var(--muted); }

.form-textarea { min-height: 110px; resize: vertical; }

.form-hint {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

/* ============ CTA SECTION ============ */
.cta-section {
  padding: 56px 0;
  background: rgba(15,23,34,.25);
  border-top: 1px solid rgba(36,50,70,.4);
  border-bottom: 1px solid rgba(36,50,70,.4);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-headline {
  font-family: "Playfair Display", serif;
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--text);
}

.cta-sub {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 220px;
}

/* ============ BREADCRUMBS ============ */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
  padding: 12px 0;
  margin-bottom: 8px;
}

.breadcrumbs a {
  color: var(--gold);
  transition: opacity .15s;
}

.breadcrumbs a:hover { opacity: .8; }

.breadcrumbs span { opacity: .5; }

/* ============ FLOATING BUTTONS (mobile) ============ */
.floating-btns {
  display: none;
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 60;
  flex-direction: column;
  gap: 10px;
}

.floating-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(0,0,0,.35);
  transition: transform .15s;
  border: none;
}

.floating-btn:hover { transform: translateY(-2px); }

.floating-btn-call {
  background: linear-gradient(135deg, rgba(215,176,107,.95), rgba(242,208,138,.6));
  color: #0b0f14;
}

.floating-btn-tg {
  background: linear-gradient(135deg, #0088cc, #00aaff);
  color: #fff;
}

.floating-btn svg { width: 16px; height: 16px; display: block; }

/* ============ FOOTER ============ */
.footer {
  padding: 40px 0 28px;
  border-top: 1px solid rgba(36,50,70,.4);
  background: rgba(11,15,20,.4);
  color: var(--muted);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.footer-brand { font-size: 16px; color: var(--text); margin-bottom: 4px; }
.footer-brand strong { color: var(--text); }

.footer-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-copy {
  text-align: center;
  font-size: 13px;
  padding-top: 16px;
  border-top: 1px solid rgba(36,50,70,.35);
  opacity: .8;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .nav-links { display: none; }
  /* Ховаємо CTA кнопку поруч з burger — вона є в drawer */
  .nav-actions .btn:not(.btn-burger) { display: none; }
  .btn-burger { display: flex; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .prices-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .floating-btns { display: flex; }
  /* proof-bar — переносити на мобільному */
  .proof-bar { flex-direction: column; gap: 8px; padding: 14px 20px; }
}

@media (max-width: 600px) {
  .hero-benefits { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .prices-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); padding: 20px; }
  .process-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { min-width: auto; width: 100%; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; flex-direction: column; }
  .hero { padding: 40px 0 36px; }
  /* Hero CTA кнопки — вертикально на мобільному */
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  /* Contacts flex → column */
  .section [style*="display:flex"][style*="flex-wrap:wrap"] { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: clamp(22px, 7vw, 32px); }
  .hero-sub { font-size: 15px; }
  .section { padding: 40px 0; }
  .container { width: calc(100% - 28px); padding-left: 14px; padding-right: 14px; }
  .stat-number { font-size: 26px; }
  .cta-headline { font-size: 20px; }
  .floating-btn { font-size: 13px; padding: 11px 14px; }
}

@media (max-width: 380px) {
  .brand-title { font-size: 14px; }
  .brand-subtitle { display: none; }
  .logo { width: 36px; height: 36px; }
}

/* ============ GOOGLE FONTS (preloaded in HTML) ============ */
/* Inter + Playfair Display loaded via <link> in each HTML head */


/* ============ MOBILE POLISH (2026-02-25 v2) ============ */

@media (max-width: 600px) {
  /* Hero — менший padding щоб CTA кнопки були видні без скролу */
  .hero { padding: 24px 0 32px; }

  /* proof-bar — компактний */
  .proof-bar {
    padding: 10px 16px;
    gap: 6px;
    font-size: 13px;
    border-radius: 10px;
    margin-bottom: 20px;
  }

  /* Headline — на 390px занадто великий */
  .hero-headline { font-size: 26px; line-height: 1.25; }

  /* Sub text */
  .hero-sub { font-size: 14px; margin: 12px 0 16px; }

  /* Benefits grid — одна колонка, компактна */
  .hero-benefits { gap: 8px; margin-bottom: 20px; }
  .benefit-item { padding: 9px 12px; font-size: 13px; }

  /* CTA кнопки */
  .hero-cta { flex-direction: column; gap: 10px; margin-top: 0; }
  .hero-cta .btn { width: 100%; justify-content: center; text-align: center; padding: 14px 16px; font-size: 14px; }
  
  /* Section header */
  .section-title { font-size: 20px; }
  .section-desc { font-size: 14px; }

  /* Contacts inline style flex — column на мобільному */
  .contacts-flex { flex-direction: column !important; }

  /* Stats bar */
  .stats-bar { gap: 12px; padding: 16px; }
  .stat-number { font-size: 24px; }
  .stat-label { font-size: 12px; }
}

/* ============ MOBILE POLISH (2026-02-25 v3) ============ */

@media (max-width: 600px) {
  /* CTA кнопки — додаємо правий паддінг щоб floating buttons не перекривали */
  .hero-cta { padding-right: 0; }
  .hero-cta .btn { 
    width: 100%; 
    box-sizing: border-box;
  }

  /* Floating buttons — менші і не такі широкі */
  .floating-btns {
    right: 10px;
    bottom: 16px;
    gap: 8px;
  }
  .floating-btn {
    font-size: 12px;
    padding: 10px 12px;
    border-radius: 20px;
  }

  /* Hero — min-height щоб чітко вміщалось */
  .hero-headline { font-size: 24px; }
}

/* ============ MOBILE POLISH (2026-02-25 v4) ============ */

@media (max-width: 600px) {
  /* Floating buttons — переміщаємо ліворуч вниз щоб не перекривали контент */
  .floating-btns {
    right: auto;
    left: 12px;
    bottom: 14px;
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 8px;
  }
  .floating-btn {
    font-size: 13px;
    padding: 10px 14px;
    border-radius: 22px;
  }
}

/* ============ MOBILE POLISH (2026-02-25 v5) ============ */

@media (max-width: 600px) {
  /* Floating buttons — ховаємо поки юзер у верхній частині сторінки
     JS додасть клас .scrolled на body після 600px скролу */
  .floating-btns {
    right: auto;
    left: 12px;
    bottom: 14px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
  }
  body.scrolled .floating-btns {
    opacity: 1;
    pointer-events: auto;
  }
  .floating-btn {
    font-size: 13px;
    padding: 10px 14px;
    border-radius: 22px;
    white-space: nowrap;
  }
}

/* ============ MOBILE POLISH (2026-02-25 v6 FINAL) ============ */

@media (max-width: 600px) {
  /* Floating buttons — правий нижній, column, компактні */
  .floating-btns {
    right: 12px !important;
    left: auto !important;
    bottom: 14px;
    flex-direction: column !important;
    align-items: flex-end !important;
    gap: 8px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
  }
  body.scrolled .floating-btns {
    opacity: 1;
    pointer-events: auto;
  }
  .floating-btn {
    font-size: 12px !important;
    padding: 9px 13px !important;
    border-radius: 20px !important;
  }
}

/* Lightbox */
.lightbox-overlay { display:none; position:fixed; inset:0; background:rgba(0,0,0,.92); z-index:9999; align-items:center; justify-content:center; }
.lightbox-overlay.active { display:flex; }
.lightbox-img { max-width:90vw; max-height:90vh; border-radius:8px; object-fit:contain; }
.lightbox-close { position:fixed; top:20px; right:24px; background:none; border:none; color:#fff; font-size:36px; cursor:pointer; line-height:1; }
.lightbox-prev, .lightbox-next { position:fixed; top:50%; transform:translateY(-50%); background:rgba(255,255,255,.1); border:none; color:#fff; font-size:28px; cursor:pointer; padding:12px 16px; border-radius:8px; }
.lightbox-prev { left:16px; }
.lightbox-next { right:16px; }
