/* Basic reset and helpers */
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family:
    "Montserrat",
    Inter,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
  color: #222;
  background: linear-gradient(180deg, #fff 0%, #fff 100%);
}
.body-wrapper {
  padding: 0 20px;
  overflow-x: clip;
}

:root {
  --bg-page: #071428; /* deep navy page tint (not used as bg) */
  --primary-900: #071836; /* very dark blue */
  --primary-700: #0e3a66; /* deep ocean blue */
  --primary-500: #1b5f9a; /* steel blue */
  --accent: #2b79c2; /* bright blue accent */
  --muted-ink: #123147; /* muted text */
  --card-bg: rgba(255, 255, 255, 0.02);
  --glass-border: rgba(255, 255, 255, 0.08);
  --shadow-strong: rgba(3, 18, 36, 0.5);
}
.container {
  max-width: 1400px;
  margin: 0 auto;
}

/* Brand tokens used in index.html */
:root {
  --brand-light: #bddfc8;
  --brand-blue: #88bdf2;
  --brand-gray: #6a89a7;
  --brand-dark: #384959;
}
h2 {
  font-size: clamp(24px, 3.2vw, 36px);
  line-height: 1.15;
  font-weight: 900;
  color: var(--primary-900, #071836);
}
/* Page-level helpers */
.page {
  overflow-x: hidden;
  min-height: 100vh;
}
body {
  background: rgb(255, 255, 255);
}

/* Для екранів шириною до 576px (мобільні пристрої) */
@media (max-width: 576px) {
  .body-wrapper {
    padding: 0 10px;
  }
  .padding-section {
    padding: 50px 0 !important;
  }
  .benefits-head {
    flex-direction: column;
  }
  .prep-grid {
    gap: 20px !important;
  }
  .hero-copy h1 {
    font-size: 36px !important;
  }
}

.aurora-glow {
  display: none !important;
}

.padding-section {
  padding: 75px 0;
}
/* Aurora glows positioned on page */
.aurora-glow {
  filter: blur(100px);
  z-index: -100;
  position: absolute;
}
.socials-btn {
  max-height: 35px;
  max-width: 35px;
}

.socials-btn img {
  width: 100%;
}

.hero-image-gradient {
  background: linear-gradient(
    135deg,
    rgba(106, 137, 167, 0.4) 0%,
    rgba(56, 73, 89, 0.2) 100%
  );
}
/* Ensure a reliable 60/40 column split at large screens */
@media (min-width: 1024px) {
  .two-col-60-40 {
    grid-template-columns: 60% 40% !important;
  }
}
.aurora-left {
  top: -10%;
  left: -5%;
  width: 40vw;
  height: 40vw;
  border-radius: 50%;
  background: var(--brand-blue);
  opacity: 0.4;
}
.aurora-right {
  bottom: 20%;
  right: -5%;
  width: 30vw;
  height: 30vw;
  border-radius: 50%;
  background: var(--brand-gray);
  opacity: 0.3;
}

.aurora-first {
  top: 200%;
  left: -5%;
  width: 40vw;
  height: 40vw;
  border-radius: 50%;
  background: var(--brand-blue);
  opacity: 0.4;
}
.aurora-second {
  top: 550%;
  right: -5%;
  width: 30vw;
  height: 30vw;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(170, 120, 255, 0.85) 0%,
    rgba(170, 120, 255, 0.35) 35%,
    rgba(170, 120, 255, 0) 70%
  );
  opacity: 0.5;
  z-index: -100;
}
/* Header */
.site-header {
  position: relative;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  border: 1px solid rgba(3, 18, 36, 0.06);
  box-shadow:
    0 18px 50px rgba(3, 18, 36, 0.1),
    0 6px 18px rgba(3, 18, 36, 0.06) !important;
}
.logo {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  font-size: 1.5rem;
}
.logo .brand-gray {
  color: var(--brand-gray);
  font-weight: 700;
}
.contact-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  padding: 8px 14px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

/* Navigation */
.main-nav {
  display: none;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(56, 73, 89, 0.8);
  text-decoration: none;
}
.main-nav a:hover {
  color: var(--brand-gray);
}
.mobile-toggle {
  display: block;
  width: 28px;
  height: 20px;
  flex-direction: column;
  justify-content: space-between;
}
.mobile-toggle span {
  display: block;
  height: 2px;
  background: var(--brand-dark);
}

/* Main grid replacing Tailwind utilities */
.main-grid {
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); /* 60/40 без overflow */
  gap: 20px;

  align-items: stretch;
}

.left-column {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero-copy {
  max-width: 720px;
}
.hero-copy h1 {
  font-size: 48px;
  line-height: 1.08;
  margin: 0 0 12px;
  font-weight: 900;
  color: var(--primary-900);
}
.lead-sub {
  font-size: 18px;
  color: var(--brand-gray);
  font-weight: 500;
  margin: 0 0 8px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.feature-row .feature-icon {
  width: 36px;
  height: 36px;
  background: rgba(59, 73, 84, 0.9);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-row .feature-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-900);
}

.btn {
  display: inline-block;
  text-decoration: none;
  padding: 14px 22px;
  border-radius: 12px;
  font-weight: 800;
}
.btn.cta {
  background: linear-gradient(
    90deg,
    var(--primary-500) 0%,
    var(--primary-700) 100%
  );
  color: #fff;
  box-shadow: 0 12px 40px rgba(3, 18, 36, 0.28);
  border: none;
  font-family: "Montserrat";
  display: flex;
  justify-content: center;
  font-size: 18px;
  border-radius: 15px;
  padding: 20px 25px;
}

/* Enhanced CTA styles */
.cta-wrap {
  margin-top: 16px;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px;
  padding-right: 28px;
  border-radius: 14px;
  font-weight: 800;
  color: #fff;
  position: relative;
  overflow: hidden;
  transition:
    transform 160ms cubic-bezier(0.2, 0.9, 0.2, 1),
    box-shadow 160ms ease,
    filter 160ms ease;
  cursor: pointer;
}
.cta-btn .cta-text {
  position: relative;
  z-index: 2;
}
.cta-btn .cta-icon {
  width: 20px;
  height: 20px;
  stroke: #fff;
  opacity: 0.95;
  transition: transform 180ms ease;
  z-index: 2;
}

/* layered shadows and depth */
.cta-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0)
  );
  mix-blend-mode: overlay;
  z-index: 1;
  pointer-events: none;
}
.cta-btn::after {
  /* subtle shine sweep */
  content: "";
  position: absolute;
  top: -30%;
  left: -40%;
  width: 40%;
  height: 160%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.12),
    rgba(255, 255, 255, 0)
  );
  transform: skewX(-20deg);
  filter: blur(12px);
  opacity: 0;
  transition:
    transform 420ms ease,
    opacity 420ms ease;
  z-index: 3;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 60px rgba(3, 18, 36, 0.32);
}
.cta-btn:hover::after {
  transform: translateX(220%) skewX(-20deg);
  opacity: 0.9;
}
.cta-btn:active {
  transform: translateY(-1px) scale(0.997);
}

/* Keyboard focus: visible ring */
.cta-btn:focus {
  outline: none;
  box-shadow:
    0 6px 30px rgba(27, 95, 154, 0.16),
    0 0 0 4px rgba(136, 189, 242, 0.14);
}

/* icon motion on hover */
.cta-btn:hover .cta-icon {
  transform: translateX(6px);
}

/* accessible sizing on small screens */
@media (max-width: 480px) {
  .cta-btn {
    width: 100%;
    justify-content: center;
    padding-left: 18px;
    padding-right: 18px;
  }
}

.hero-right {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 100%;
}

.hero-overlay {
  position: absolute;
  inset: -16px;
  background: var(--brand-blue);
  opacity: 0.18;
  filter: blur(18px);
  border-radius: 24px;
}
.hero-image-card {
  position: relative;
  flex: 1 1 auto; /* ⬅️ головне */
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(3, 18, 36, 0.24);
}

.hero-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-caption {
  padding: 18px;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  color: #fff;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 1024px) {
  .main-grid {
    grid-template-columns: 1fr;
  }
  .hero-image-card {
    min-height: 320px;
  }
}

@media (max-width: 480px) {
  .hero-copy h1 {
    font-size: 26px;
  }
  .lead-sub {
    font-size: 15px;
  }
}

.services {
  margin: 18px 0 28px 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  max-width: 640px;
}
.services li {
  padding-left: 26px;
  position: relative;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.45;
}
.services li:before {
  content: "•";
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-weight: 800;
}

.feature-icon svg {
  width: 18px;
  height: 18px;
  stroke: #f4c542; /* warm yellow */
}
.feature-row .feature-icon {
  flex: 0 0 36px; /* або хоча б flex-shrink: 0; */
}
body {
  /* background-color: #4b2b10; */
}

/* existing button rules preserved */
.btn {
  display: inline-block;
  text-decoration: none;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
}
.btn.cta {
  background: linear-gradient(
    90deg,
    var(--primary-500) 0%,
    var(--primary-700) 100%
  );
  color: #fff;
  box-shadow: 0 12px 40px rgba(3, 18, 36, 0.28);
}

/* Sticky header + CTA styles */
.header-inner {
  position: sticky;
  top: 16px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(6px);
  z-index: 60;
  border-radius: 12px;
  padding: 14px 20px;
  align-items: center;
  box-shadow: 0 6px 30px rgba(15, 23, 36, 0.06);
}

.header-inner .logo {
  color: var(--primary-900);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-cta-btn {
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 600; /* slightly less bold */
  font-size: 13px;
  box-shadow: 0 6px 24px rgba(11, 100, 120, 0.1);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}
.header-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(11, 100, 120, 0.12);
}
/* Responsive */

@media (max-width: 900px) {
  .main-grid {
    gap: 28px;
  }
}

/* Packing section */

.packing {
  padding: 66px 0;
  background: transparent;
}
/* .packing h2 {
  font-size: 28px;
  margin: 0 0 12px;
  color: var(--primary-900);
  font-weight: 800;
} */
.packing .lead {
  margin: 0 0 20px;
  color: var(--muted-ink);
  max-width: 920px;
}
.packing .gallery {
  max-width: 1000px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin: 22px auto 18px auto;
  align-items: start;
}
.packing .item {
  background: transparent;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  box-shadow:
    0 18px 40px rgba(3, 18, 36, 0.12),
    0 6px 18px rgba(3, 18, 36, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(3, 18, 36, 0.04);
}
.packing .item svg {
  width: 64px;
  height: 56px;
}
.packing .item span {
  font-size: 13px;
  color: var(--primary-700);
  font-weight: 600;
}
.packing .cert {
  margin-top: 18px;
  color: #4b2b10;
  font-weight: 500;
}

@media (max-width: 1000px) {
  .packing .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 600px) {
  .packing {
    padding: 36px 0;
  }
  .packing .gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  /* .packing h2 {
    font-size: 20px;
  } */
}

/* Prep / process section */
.prep-section {
  padding: 66px 0;
  background: transparent;
}
.prep-inner {
  display: flex;
  gap: 32px;
  align-items: center;
  padding: 18px 0;
}
.prep-copy {
  flex: 1 1 520px;
}
/* .prep-copy h2 {
  font-size: 28px;
  margin: 0 0 12px;
  color: var(--primary-900);
} */
.prep-copy .prep-list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.prep-copy .prep-list li {
  padding-left: 0;
  color: var(--muted-ink);
  line-height: 1.45;
}
.prep-visual {
  height: 100%;
  flex: 0 0 420px;
  border-radius: 12px;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  box-shadow: 0 18px 40px rgba(3, 18, 36, 0.08);
}

@media (max-width: 900px) {
  .prep-inner {
    flex-direction: column-reverse;
  }
  .prep-visual {
    width: 100%;
  }
}

/* Packing gallery helpers for placeholders / future images */
.packing .gallery .item .placeholder-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.packing .gallery .item {
  padding: 10px;
}
.packing .gallery .item span {
  color: #6a89a7;
}

/* Packing section — grid and gallery rules matching previous look */
.packing {
  position: relative;
  overflow: visible;
}
.aurora-section {
  position: absolute;
  right: -8%;
  top: -5%;
  width: 36vw;
  height: 36vw;
  border-radius: 50%;
  background: var(--brand-blue);
  opacity: 0.3;
}
.packing-grid {
  gap: 48px;
  align-items: start;
  position: relative;
  z-index: 10;
}
.packing-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.packing-title {
  font-size: 28px;
  margin: 0 0 12px;
  font-weight: 800;
  color: var(--primary-900);
}
.packing .lead {
  margin: 0 0 20px;
  color: var(--muted-ink);
  max-width: 920px;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.item {
  background: transparent;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  box-shadow:
    0 18px 40px rgba(3, 18, 36, 0.12),
    0 6px 18px rgba(3, 18, 36, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(3, 18, 36, 0.04);
}
.item-media {
  width: 100%;
  height: 144px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.item-media img {
  width: 100%;
  height: auto;
}
.placeholder-text {
  color: var(--brand-gray);
  font-size: 13px;
}
.item-label {
  margin-top: 12px;
  font-size: 13px;
  color: var(--primary-700);
  font-weight: 600;
  text-align: center;
}

@media (min-width: 768px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1000px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 1000px) {
  .aurora-section {
    display: none;
  }
}
.header-cta-btn {
  padding: 10px 15px !important;
  font-size: 16px !important;
}
/* ===== Premium Prep Section ===== */

.prep-premium {
  position: relative;
}

.prep-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

@media (max-width: 1024px) {
  .prep-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Visual block ---------- */

.prep-visual {
  background: rgba(255, 255, 255, 0.6);
  border-radius: 24px;
  padding: 15px;
  box-shadow: 0 30px 80px rgba(3, 18, 36, 0.12);
  backdrop-filter: blur(8px);
}

.before-after {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
}

.state {
  position: relative;
  border-radius: 18px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
  text-align: center;
}

.state-label {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-gray);
  margin-bottom: 8px;
  font-weight: 700;
}

.powder {
  height: 140px;
  border-radius: 12px;
  margin-bottom: 10px;
}

.powder.rough {
  background:
    radial-gradient(circle at 20% 30%, #cfd6dc 8%, transparent 9%),
    radial-gradient(circle at 60% 40%, #b7c1c9 10%, transparent 11%),
    radial-gradient(circle at 40% 70%, #aab4bc 12%, transparent 13%), #e3e8ec;
}

.powder.smooth {
  background: linear-gradient(135deg, #eaf0f5, #cfd9e2);
  box-shadow: inset 0 0 24px rgba(255, 255, 255, 0.7);
}

.state-caption {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-700);
}

.state-arrow {
  font-size: 32px;
  font-weight: 800;
  color: var(--brand-blue);
  opacity: 0.6;
}

/* process line */

.process-line {
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: var(--brand-gray);
  text-align: center;
}

/* ---------- Content ---------- */

/* .prep-content h2 {
  font-size: 32px;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--primary-900);
} */

.prep-lead {
  font-weight: 600;
  margin-bottom: 18px;
  color: var(--muted-ink);
}

.prep-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 14px;
}

.prep-list li {
  font-size: 15px;
  line-height: 1.5;
  color: var(--primary-900);
}

.prep-list strong {
  font-weight: 800;
}

.prep-note {
  font-size: 15px;
  color: var(--brand-gray);
  line-height: 1.4;
  border-left: 3px solid var(--brand-blue);
  padding-left: 14px;
}
/* Base glow */
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}

/* Blue glow */
.glow-blue {
  width: 520px;
  height: 520px;
  left: -160px;
  top: -120px;
  background: radial-gradient(
    circle,
    rgba(90, 160, 255, 0.9) 0%,
    rgba(90, 160, 255, 0.35) 35%,
    rgba(90, 160, 255, 0) 70%
  );
}

/* Violet glow */
.glow-violet {
  width: 460px;
  height: 460px;
  right: -140px;
  top: 80px;
  background: radial-gradient(
    circle,
    rgba(170, 120, 255, 0.85) 0%,
    rgba(170, 120, 255, 0.35) 35%,
    rgba(170, 120, 255, 0) 70%
  );
}
.benefits-premium {
  position: relative;
}

.benefits-head {
  display: flex;
  align-items: center;
  margin-bottom: 52px;
}

/* .benefits-head h2 {
  font-size: 42px;
  line-height: 1.15;
  font-weight: 900;
  color: var(--primary-900);
  padding: 0;
  margin: 0;
  flex: 0 1 60%;
} */
.benefits-head p {
  padding: 0;
  margin: 0;
  flex: 0 1 40%;
}

.benefits-subtitle {
  margin-top: 18px;
  font-size: 18px;
  color: var(--brand-gray);
  font-weight: 600;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.benefit-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  border-radius: 22px;
  padding: 28px 26px 30px;
  box-shadow: 0 20px 60px rgba(3, 18, 36, 0.12);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  position: relative;
  cursor: pointer;
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 80px rgba(3, 18, 36, 0.18);
}

.benefit-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 24px;
  margin-bottom: 16px;
  background: linear-gradient(
    135deg,
    rgba(90, 160, 255, 0.18),
    rgba(170, 120, 255, 0.14)
  );
}

.benefit-card h3 {
  font-size: 17px;
  font-weight: 900;
  margin-bottom: 10px;
  color: var(--primary-900);
}

.benefit-card p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted-ink);
}

.benefit-card.accent {
  background: linear-gradient(
    135deg,
    rgba(90, 160, 255, 0.12),
    rgba(170, 120, 255, 0.1)
  );
}

@media (max-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  /* .benefits-head h2 {
    font-size: 28px;
  } */
}

/* ===== Packing Types Section ===== */

.packing-types {
  padding: 100px 0;
}

.packing-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 72px;
  align-items: center;
}

@media (max-width: 1024px) {
  .packing-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Visual ---------- */

.packing-visual {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 40px 90px rgba(3, 18, 36, 0.18);
}

.packing-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cert-badges {
  position: absolute;
  left: 24px;
  bottom: 24px;
  display: flex;
  gap: 12px;
}

.badge {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--primary-900);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* ---------- Content ---------- */

/* .packing-content h2 {
  font-size: 34px;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--primary-900);
} */

.packing-content .lead {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted-ink);
  margin-bottom: 28px;
}

/* ---------- Formats grid ---------- */

.format-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}

@media (max-width: 768px) {
  .format-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.format-item {
  background: rgba(255, 255, 255, 0.65);
  border-radius: 14px;
  padding: 14px 10px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-900);
  box-shadow:
    0 10px 24px rgba(3, 18, 36, 0.08),
    inset 0 0 0 1px rgba(0, 0, 0, 0.04);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.format-item:hover {
  transform: translateY(-3px);
  box-shadow:
    0 16px 40px rgba(3, 18, 36, 0.16),
    inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

/* ---------- Note ---------- */

.packing-content .note {
  font-size: 13px;
  color: var(--brand-gray);
  border-left: 3px solid var(--brand-blue);
  padding-left: 14px;
  line-height: 1.45;
}

/* ===== FAQ (clean, no glows/shadows) ===== */

/* ===== PROCESS STEPS — fixed, smooth highlight, no jitter ===== */

/* .ps-head h2 {
  margin: 0 0 22px;
  font-size: 42px;
  line-height: 1.15;
  font-weight: 900;
  color: var(--primary-900);
} */

.ps-wrap {
  display: grid;
  grid-template-columns: 0.42fr 0.58fr;
  gap: 44px;
  align-items: start;
}

@media (max-width: 1024px) {
  .ps-wrap {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

/* LEFT */
.ps-left {
  position: sticky;
  top: 96px; /* під ваш хедер */
  align-self: start;
}
@media (max-width: 1024px) {
  .ps-left {
    position: relative;
    top: 0;
  }
}

.ps-left-title {
  font-weight: 900;
  letter-spacing: 0.14em;
  font-size: 12px;
  color: var(--brand-gray);
  margin: 0 0 14px;
  text-transform: uppercase;
}

.ps-nav {
  position: relative;
  display: grid;
  gap: 12px;
  padding-left: 18px; /* місце під rail */
}

.ps-rail {
  position: absolute;
  left: 4px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: rgba(3, 18, 36, 0.08);
  border-radius: 999px;
}

.ps-indicator {
  position: absolute;
  left: -2px;
  width: 10px;
  height: 32px;
  top: 0;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    rgba(90, 160, 255, 0.95),
    rgba(170, 120, 255, 0.95)
  );
  transform: translateY(0);
  transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 10px 26px rgba(90, 160, 255, 0.18);
}

.ps-step {
  position: relative;
  display: grid;
  grid-template-columns: 12px 18px 1fr;
  gap: 10px;
  align-items: center;

  padding: 12px 12px;
  border-radius: 16px;

  border: 1px solid rgba(3, 18, 36, 0.1);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);

  text-decoration: none;
  color: var(--primary-900);
  font-weight: 800;
  line-height: 1.25;

  overflow: hidden;
  transform: translateZ(0);
}

/* smooth glow layer (instead of hard background swap) */
.ps-step::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(90, 160, 255, 0.1);
  opacity: 0;
  transform: scale(0.985);
  transition:
    opacity 220ms ease,
    transform 220ms ease;
  pointer-events: none;
}

.ps-step:hover {
  border-color: rgba(3, 18, 36, 0.18);
}

.ps-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(3, 18, 36, 0.18);
  transition:
    background 220ms ease,
    box-shadow 220ms ease;
  z-index: 1;
}

.ps-num {
  font-size: 12px;
  font-weight: 900;
  color: rgba(3, 18, 36, 0.55);
  transition: color 220ms ease;
  z-index: 1;
}

.ps-text {
  font-size: 16px;
  z-index: 1;
}

.ps-step.is-active {
  border-color: rgba(90, 160, 255, 0.55);
}
.ps-step.is-active::before {
  opacity: 1;
  transform: scale(1);
}
.ps-step.is-active .ps-dot {
  background: rgba(90, 160, 255, 0.95);
  box-shadow: 0 0 0 6px rgba(90, 160, 255, 0.12);
}
.ps-step.is-active .ps-num {
  color: rgba(90, 160, 255, 0.95);
}

/* RIGHT */
.ps-panel {
  border: 1px solid rgba(3, 18, 36, 0.1);
  border-radius: 24px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
}

.ps-panel h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 900;
  color: var(--primary-900);
}

.ps-lead {
  margin: 0 0 18px;
  color: var(--muted-ink);
  font-weight: 700;
  line-height: 1.55;
}

.ps-section {
  padding: 18px 0;
  border-top: 1px solid rgba(3, 18, 36, 0.08);
  scroll-margin-top: 110px;
}
.ps-section:first-of-type {
  border-top: none;
  padding-top: 0;
}

.ps-section h4 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 900;
  color: var(--primary-900);
}
.ps-section p {
  margin: 0;
  color: var(--muted-ink);
  font-weight: 500;
  line-height: 1.6;
}

@media (prefers-reduced-motion: reduce) {
  .ps-indicator,
  .ps-step::before,
  .ps-dot,
  .ps-num {
    transition: none !important;
  }
}

/* ===== Packing Tabs (Premium) — FIXED VERSION ===== */
/* ===== CLEAN BACKGROUND FOR PACKING BLOCK ===== */

.pack-visual-card,
.pack-tabs-row {
  backdrop-filter: none !important;
}
.pack-panel,
.pack-tabs-row {
  background: white;
}

/* якщо є внутрішні псевдо-фони */
.pack-visual-card::before,
.pack-panel::before {
  display: none !important;
}

/* залишаємо тільки легку тінь для відділення від фону */

/* safety: prevent horizontal shift from glows/overflows */
.pack-tabs {
  position: relative;
  overflow-x: clip;
}
@supports not (overflow: clip) {
  .pack-tabs {
    overflow-x: hidden;
  }
}

/* .pack-head h2 {
  margin: 0 0 12px;
  font-size: 42px;
  line-height: 1.15;
  font-weight: 900;
  color: var(--primary-900);
} */
.pack-head p {
  margin: 0 0 28px;
  font-size: 18px;
  font-weight: 600;
  color: var(--brand-gray);
  max-width: 980px;
}

.pack-shell {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: stretch; /* FIX: equal heights */
  z-index: 1;
  overflow: hidden; /* FIX: glows won't create page overflow */
}

@media (max-width: 1024px) {
  .pack-shell {
    grid-template-columns: 1fr;
    gap: 28px;
    overflow: visible;
  }
}

/* glows */
.pack-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}

/* LEFT visual */
.pack-visual {
  position: sticky;
  top: 96px; /* under your sticky header */
  z-index: 2;
  display: flex; /* FIX: stretch column */
  flex-direction: column;
  min-height: 100%;
}

@media (max-width: 1024px) {
  .pack-visual {
    position: relative;
    top: 0;
  }
}

.pack-visual-card {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(3, 18, 36, 0.06);
  backdrop-filter: blur(10px);

  padding: 14px;
  flex: 1 1 auto; /* FIX: fill height */
}

.pack-visual-card img {
  width: 100%;
  height: clamp(320px, 42vw, 520px); /* nicer adaptive height */
  object-fit: cover;
  border-radius: 20px;
  display: block;
  transform: translateZ(0);
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

/* badges */
.pack-badges {
  position: absolute;
  left: 22px;
  bottom: 22px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  z-index: 3;
  max-width: calc(100% - 44px);
}

.pack-badge {
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(7, 24, 54, 0.72);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);

  font-weight: 600;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.pack-badge-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(90, 160, 255, 0.95);

  flex: 0 0 auto;
}

.pack-visual-note {
  margin-top: 14px;
  border-radius: 20px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(3, 18, 36, 0.06);
  color: var(--muted-ink);
  font-weight: 700;
}

/* RIGHT content */
.pack-content {
  position: relative;
  z-index: 2;
  display: flex; /* FIX: make panel stretch */
  flex-direction: column;
  min-height: 100%;
}

.pack-tabs-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(3, 18, 36, 0.06);
  backdrop-filter: blur(10px);

  overflow-x: auto; /* always safe */
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.pack-tabs-row::-webkit-scrollbar {
  display: none;
}

.pack-tab {
  border: none;
  cursor: pointer;
  padding: 10px 14px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--primary-900);
  background: rgba(7, 24, 54, 0.04);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
  white-space: nowrap;
  flex: 0 0 auto;
}

.pack-tab:hover {
  transform: translateY(-1px);
}

.pack-tab.is-active {
  color: #fff;
  background: linear-gradient(90deg, rgba(22, 119, 255, 0.92), #113e6c);
}

.pack-panel {
  margin-top: 16px;
  border-radius: 26px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(3, 18, 36, 0.06);
  backdrop-filter: blur(10px);

  flex: 1 1 auto; /* FIX: stretch to match left */
  min-height: 0;
}

.pack-title {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 800;
  color: var(--primary-900);
}

.pack-sub {
  margin: 0 0 14px;
  font-weight: 700;
  color: var(--brand-gray);
}

.pack-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.pack-points li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--primary-900);
  font-weight: 500;
  line-height: 1.45;
}

.pack-check {
  width: 22px;
  height: 22px;
  border-radius: 8px;
  background: rgba(90, 160, 255, 0.12);
  border: 1px solid rgba(90, 160, 255, 0.18);
  display: grid;
  place-items: center;
  color: var(--primary-700);
  font-weight: 600;
}

.pack-cta {
  margin-top: 16px;
}

@media (max-width: 600px) {
  /* .pack-head h2 {
    font-size: 28px;
  } */
  .pack-head p {
    font-size: 15px;
  }
}

.ps-right {
  background: white;
  border-radius: 24px;
}
.pack-cta .btn {
  box-shadow: none;
  transition: all 0.2s;
}

.pack-cta .btn:hover {
  transform: translateY(-3px);
}
/* ................................................ */
/* ===== CATALOG SLIDER SECTION ===== */
.catalog-section {
  overflow: hidden;
}

/* --- TOP AREA (Text + Cert Card) --- */
.catalog-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 60px;
}

.catalog-info {
  flex: 1;
}

/* .catalog-info h2 {
  font-size: 36px;
  font-weight: 900;
  color: var(--primary-900);
  margin-bottom: 18px;
  line-height: 1.2;
} */
.catalog-info p {
  font-size: 16px;
  color: var(--brand-gray);
  line-height: 1.6;
  max-width: 700px;
}

/* Moved Certification Card */
.cert-card-static {
  flex: 0 0 520px; /* Fixed width */
  background: var(--primary-900);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: #fff;
  box-shadow: 0 15px 40px rgba(7, 24, 54, 0.15);
  position: relative;
  overflow: hidden;
}

/* Background decoration for cert card */
.cert-card-static::after {
  content: "";
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent);
  border-radius: 50%;
}

.cert-icon {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--brand-blue);
}

.cert-text h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
}
.cert-text p {
  margin: 0;
  font-size: 14px;
  opacity: 0.8;
  line-height: 1.4;
}

/* --- SLIDER WRAPPER --- */
.pack-slider-wrap {
  position: relative;
  padding: 0 20px; /* Space for arrows if needed */
}

.swiper.packSwiper {
  padding-bottom: 50px; /* Space for pagination dots */
  overflow: visible; /* Allows shadows to not be cut off */
}

/* Slide Cards */
.pack-slide {
  background: #fff;
  border: 1px solid rgba(3, 18, 36, 0.08);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  height: auto; /* Auto height for content */
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
  user-select: none; /* Prevent text selection while dragging */
}

/* Hover effect on slide (only on desktop) */
@media (hover: hover) {
  .pack-slide:hover {
    border-color: var(--brand-blue);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(90, 160, 255, 0.15);
  }
}

.slide-num {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 12px;
  font-weight: 900;
  color: rgba(3, 18, 36, 0.1);
  font-family: monospace;
}

.slide-img {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 12px;
  margin-bottom: 14px;
  background: rgba(3, 18, 36, 0.02);
  display: flex;
  align-items: center;
  justify-content: center;
}
.slide-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.slide-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-900);
  margin-top: auto; /* Push title to bottom if heights vary */
}

/* --- CONTROLS --- */

/* Pagination Dots */
.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: var(--brand-gray);
  opacity: 0.3;
  transition: all 0.3s ease;
}
.swiper-pagination-bullet-active {
  background: var(--brand-blue);
  opacity: 1;
  width: 24px;
  border-radius: 5px;
}

/* Arrows */
/* ===== ВИПРАВЛЕНА НАВІГАЦІЯ (SVG) ===== */

.pack-slider-wrap {
  position: relative;
  padding: 0 20px;
}

.custom-prev,
.custom-next {
  width: 48px;
  height: 48px;
  background-color: #fff;
  border-radius: 50%;

  /* ЦЕНТРУВАННЯ SVG */
  display: flex !important; /* Важливо, щоб перебити стилі Swiper */
  align-items: center;
  justify-content: center;

  box-shadow: 0 4px 12px rgba(3, 18, 36, 0.15);
  color: var(--brand-blue, #2b79c2);

  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  cursor: pointer;
  margin: 0;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

/* !!! ВАЖЛИВО: Вимикаємо стандартні криві стрілки Swiper !!! */
.custom-prev::after,
.custom-next::after {
  display: none !important;
  content: none !important;
}

/* Стилізація нашої SVG іконки */
.custom-prev svg,
.custom-next svg {
  width: 20px; /* Розмір самої стрілки */
  height: 20px;
  stroke: currentColor; /* Бере колір тексту батька */
  display: block; /* Прибирає зайві відступи SVG */
}

/* Позиції */
.custom-prev {
  left: -15px;
}
.custom-next {
  right: -15px;
}

/* Ховер */
.custom-prev:hover,
.custom-next:hover {
  background-color: var(--brand-blue, #2b79c2);
  color: #fff;
  transform: translateY(-50%) scale(1.05);
  border-color: transparent;
}
.swiper-button-next,
.swiper-button-prev {
  width: 40px !important;
  height: 40px !important;
}
/* Приховуємо на мобільному */
@media (max-width: 768px) {
  .custom-prev,
  .custom-next {
    display: none;
  }
}
/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  .catalog-top {
    flex-direction: column;
    align-items: flex-start;
  }
  .cert-card-static {
    width: 100%;
    flex: none;
    flex-direction: row; /* Horizontal on mobile looks good */
    align-items: center;
  }
}

@media (max-width: 600px) {
  /* .catalog-info h2 {
    font-size: 28px;
  } */
  .cert-card-static {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Hide arrows on mobile, dots are enough */
  .custom-prev,
  .custom-next {
    display: none;
  }
}
/* ===== Pain Points Section (Premium Grid) ===== */
.pp-section {
  position: relative;
}

/* Background decorations */
.pp-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
  opacity: 0.3;
}
.pp-glow-1 {
  width: 400px;
  height: 400px;
  background: var(--brand-blue);
  top: 10%;
  left: -10%;
}
.pp-glow-2 {
  width: 350px;
  height: 350px;
  background: #aab8c5; /* brand-gray tint */
  bottom: 0;
  right: -5%;
}

/* Header */
.pp-head {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 56px;
}
/* .pp-head h2 {
  font-size: 38px;
  font-weight: 900;
  color: var(--primary-900);
  margin-bottom: 16px;
  line-height: 1.15;
} */
.pp-head p {
  font-size: 18px;
  color: var(--muted-ink);
  line-height: 1.6;
}

/* Grid Layout */
.pp-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 2;
}

/* Columns widths */
.pp-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1.4fr;
  gap: 32px;
  align-items: center;
  padding: 24px 32px;
}

/* Header Row (Desktop) */
.pp-header-row {
  padding: 0 32px 12px;
}
.pp-col-head {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: var(--brand-gray);
}

/* Content Cards */
.pp-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow:
    0 4px 6px rgba(3, 18, 36, 0.02),
    0 12px 24px rgba(3, 18, 36, 0.04);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.pp-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 8px 12px rgba(3, 18, 36, 0.03),
    0 18px 40px rgba(3, 18, 36, 0.08);
  border-color: rgba(255, 255, 255, 0.8);
}

/* Cells styling */
.pp-cell {
  font-size: 16px;
  line-height: 1.5;
  color: var(--primary-900);
}

/* Problem Cell */
.pp-problem {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  color: var(--primary-700);
}
.pp-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: rgba(3, 18, 36, 0.06);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-900);
}
.pp-icon svg {
  width: 20px;
  height: 20px;
  opacity: 0.8;
}

/* Solution Cell */
.pp-solution {
  position: relative;
  font-weight: 500;
  padding-left: 24px;
  border-left: 2px solid var(--brand-blue); /* Accent line */
}

/* Result Cell */
.pp-result {
  font-weight: 800;
  color: var(--primary-900);
  background: linear-gradient(90deg, rgba(90, 160, 255, 0.08), transparent);
  padding: 8px 16px;
  border-radius: 8px;
  display: inline-block;
  width: fit-content;
}

/* Mobile labels (hidden on desktop) */
.mobile-label {
  display: none;
}

/* Responsive */
@media (max-width: 900px) {
  .pp-header-row {
    display: none; /* Hide standard headers */
  }

  .pp-row {
    grid-template-columns: 1fr; /* Stack vertically */
    gap: 16px;
    padding: 24px;
  }

  /* Make visually grouped on mobile */
  .pp-problem {
    margin-bottom: 8px;
    font-size: 18px;
  }

  .pp-solution,
  .pp-result {
    padding-left: 0;
    border-left: none;
    display: block;
    width: 100%;
    background: transparent;
    border-radius: 0;
  }

  /* Add labels for context */
  .mobile-label {
    display: inline-block;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--primary-700);
    margin-right: 8px;
  }

  /* Add separator lines inside card */
  .pp-solution {
    border-top: 1px solid rgba(3, 18, 36, 0.06);
    padding-top: 12px;
  }
  .pp-result,
  .pp-solution {
    font-weight: 600;
    border-top: 1px solid rgba(3, 18, 36, 0.06);
    padding-top: 12px;
  }
}
/* Вирівнюємо слайди по максимальній висоті */
.packSwiper .swiper-wrapper {
  align-items: stretch;
}

/* НЕ чіпаємо display у swiper-slide */
.packSwiper .swiper-slide {
  height: auto;
}

/* Картка всередині тягнеться на всю висоту слайда */
.pack-slide {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* ===== Mobile burger menu (full width) ===== */
.burger-btn {
  display: none;
  border: 0;
  background: transparent;
  padding: 10px;
  border-radius: 10px;
  cursor: pointer;
  flex: 0 0 auto;
}
.burger-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(136, 189, 242, 0.24);
}
.burger-lines {
  width: 22px;
  height: 16px;
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
}
.burger-lines span {
  display: block;
  height: 2px;
  width: 100%;
  background: rgba(3, 18, 36, 0.85);
  border-radius: 999px;
  transform-origin: center;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(3, 18, 36, 0.42);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}
.mobile-menu__panel {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  min-height: 100vh;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  padding: 18px 18px 26px;
  transform: translateY(-10px);
  transition: transform 220ms ease;
}
.mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(3, 18, 36, 0.08);
}
.mobile-menu__title {
  font-weight: 800;
  color: var(--primary-900);
}
.mobile-menu__close {
  border: 0;
  background: rgba(3, 18, 36, 0.06);
  width: 40px;
  height: 40px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

.mobile-menu__actions {
  padding-top: 18px;
  display: grid;
  gap: 18px;
}
.mobile-menu__socials {
  display: flex;
  gap: 12px;
}
.mobile-menu__cta {
  width: 100%;
  justify-content: center;
}

body.menu-open {
  overflow: hidden;
}

.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu.is-open .mobile-menu__panel {
  transform: translateY(0);
}

/* Mobile switch */
@media (max-width: 768px) {
  .header-actions {
    display: none;
  }
  .burger-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}
/* ===== Minimal Footer (matches clean modern style) ===== */
.site-footer {
  padding: 64px 0 24px;
  background: rgba(255, 255, 255, 0.92);
  border-top: 1px solid rgba(3, 18, 36, 0.08);
}

.footer-inner {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  justify-content: space-between;
}

.footer-brand {
  flex: 1 1 42%;
}
.footer-col {
  flex: 0 0 240px;
}

.footer-logo {
  font-family:
    "Montserrat",
    Inter,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 0.2px;
  color: var(--primary-900, #071836);
  margin-bottom: 10px;
}

.footer-note {
  margin: 0;
  max-width: 520px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted-ink, #123147);
}

.footer-title {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.2px;
  color: var(--primary-900, #071836);
  text-transform: uppercase;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  color: rgba(7, 24, 54, 0.84);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.5;
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.footer-link:hover {
  opacity: 0.75;
  transform: translateY(-1px);
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(3, 18, 36, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.footer-copy {
  font-size: 13px;
  color: rgba(7, 24, 54, 0.68);
}

.footer-top {
  font-size: 13px;
  color: rgba(7, 24, 54, 0.72);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(15, 23, 36, 0.06);
  transition:
    transform 160ms ease,
    background 160ms ease;
}
.footer-top:hover {
  transform: translateY(-1px);
  background: rgba(15, 23, 36, 0.09);
}

/* responsive */
@media (max-width: 1024px) {
  .footer-inner {
    flex-direction: column;
    gap: 26px;
  }
  .footer-col {
    flex: 1 1 auto;
    width: 100%;
  }
}

.faq-split-flex {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.faq-left {
  flex: 0 0 40%;
}
.faq-right {
  flex: 1 1 60%;
  position: relative;
}

@media (max-width: 1024px) {
  .faq-split-flex {
    flex-direction: column;
    gap: 26px;
  }
  .faq-left,
  .faq-right {
    flex: 1 1 auto;
  }
}

/* LEFT */
/* .faq-left h2 {
          margin: 0;
          font-size: 42px;
          line-height: 1.15;
          font-weight: 900;
          color: var(--primary-900, #071836);
        } */

@media (min-width: 1025px) {
  .faq-left {
    position: sticky;
    top: 130px;
  }
}

/* show only first 5 when collapsed */
.faq-right[data-faq-collapsed="true"] .faq-row:nth-child(n + 6) {
  display: none;
}

/* Accordion */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-row {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(3, 18, 36, 0.1);
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.faq-row:hover {
  transform: translateY(-2px);
  box-shadow: 0 28px 80px rgba(3, 18, 36, 0.14);
}

/* Question */
.faq-q {
  width: 100%;
  text-align: left;
  padding: 20px 22px;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family:
    "Montserrat",
    Inter,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: var(--primary-900, #071836);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Minimal icon */
.faq-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    rgba(90, 160, 255, 0.14),
    rgba(170, 120, 255, 0.12)
  );
  position: relative;
  flex: 0 0 34px;
  box-shadow: inset 0 0 0 1px rgba(3, 18, 36, 0.06);
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 2px;
  background: rgba(14, 58, 102, 0.85);
  transform: translate(-50%, -50%);
  border-radius: 2px;
  transition:
    transform 220ms ease,
    opacity 220ms ease;
}
.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

/* Answer — FIXED smooth animation (height via JS) */
/* Answer — stable for WAAPI */
.faq-a {
  height: 0;
  overflow: clip; /* краще ніж hidden для анімацій */
  opacity: 0;
  transform: translateY(-6px);
  will-change: height, opacity, transform;
}

.faq-a-inner {
  padding: 0 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.faq-row.is-open .faq-a {
  opacity: 1;
  transform: translateY(0);
}

.faq-a p,
.faq-a li {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted-ink, #123147);
}
.faq-a ul {
  margin: 6px 0 0;
  padding-left: 18px;
}

/* OPEN state */
.faq-row.is-open .faq-a {
  display: block;
  opacity: 1;
  transform: translateY(0);
}
.faq-row.is-open .faq-icon::after {
  opacity: 0;
}

/* Fade + minimal expand like screenshot */
.faq-expand {
  position: relative;
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.faq-right[data-faq-collapsed="true"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 58px;
  height: 60px;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 1) 70%
  );
  border-radius: 18px;
}
.faq-expand-line {
  height: 1px;
  flex: 1 1 auto;
  background: rgba(56, 73, 89, 0.35);
}
.faq-expand-btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  padding: 12px 20px;
  border-radius: 12px;
  background: rgba(15, 23, 36, 0.92);
  color: #fff;
  font-family:
    "Montserrat",
    Inter,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;
  font-weight: 800;
  font-size: 14px;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    opacity 160ms ease;
  box-shadow: 0 16px 50px rgba(3, 18, 36, 0.16);
}
.faq-expand-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 60px rgba(3, 18, 36, 0.2);
}

@media (max-width: 640px) {
  /* .faq-left h2 {
            font-size: 28px;
          } */
}

/* ===== Popup ===== */
.hc-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.hc-popup.is-open {
  pointer-events: auto;
  opacity: 1;
}

.hc-popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(3, 18, 36, 0.55);
  backdrop-filter: blur(2px);
}

.hc-popup__modal {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 460px;
  margin: 20px;
  background: #fff;
  border-radius: 22px;
  padding: 28px 26px 30px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.25);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s ease;
}

.hc-popup.is-open .hc-popup__modal {
  transform: translateY(0) scale(1);
}

.hc-popup__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: rgba(3, 18, 36, 0.08);
  cursor: pointer;
  font-size: 18px;
}

.hc-popup__title {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 800;
  color: #031224;
}

body.popup-open {
  overflow: hidden;
}

/* Mobile */
@media (max-width: 520px) {
  .hc-popup__modal {
    padding: 22px 18px 24px;
  }
}
/* =========================================================
   HEALTH CONTRACT FORM (CF7) — FULL FIXED STYLES
   - tighter spacing (no huge gaps)
   - premium inputs + button
   - honeypot hidden
   - CF7 validation + response box styling
   - submit micro animations (loading + success)
   ========================================================= */

/* Wrapper */
.hc-form {
  display: grid;
  gap: 12px; /* tighter */
  width: 100%;
  position: relative;
}

/* CF7 часто обгортає поля у <p> і додає margin -> дає "дірки" */
.hc-form p {
  margin: 0 !important;
  padding: 0 !important;
}
.hc-form br {
  display: none !important;
}

/* Field block */
.hc-field {
  display: grid;
  gap: 6px; /* tighter */
}

/* Labels */
.hc-label {
  font-size: 16px;
  margin-bottom: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: rgba(3, 18, 36, 0.88);
}

/* Inputs */
.hc-input {
  width: 100%;
  height: 54px;
  padding: 0 18px;
  border-radius: 18px;
  border: 1px solid rgba(3, 18, 36, 0.12);
  background: rgba(255, 255, 255, 0.98);
  color: rgba(3, 18, 36, 0.92);
  font-size: 16px;
  line-height: 1;
  outline: none;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.12s ease,
    background 0.18s ease;
  -webkit-appearance: none;
  appearance: none;
}

.hc-input::placeholder {
  color: rgba(3, 18, 36, 0.45);
}

/* Focus */
.hc-input:focus {
  border-color: rgba(3, 18, 36, 0.26);
  box-shadow: 0 0 0 4px rgba(136, 189, 242, 0.22);
}

/* Optional: a bit nicer on hover */
@media (hover: hover) {
  .hc-input:hover {
    border-color: rgba(3, 18, 36, 0.18);
  }
}

/* Hint */
.hc-hint {
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.35;
  color: rgba(3, 18, 36, 0.55);
}

/* Actions */
.hc-actions {
  padding-top: 6px;
}

/* Submit button */
.hc-btn {
  width: 100%;
  height: 56px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #0b2a45, #123f6c);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  position: relative;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease,
    opacity 0.18s ease;
}

.hc-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(3, 18, 36, 0.22);
  filter: brightness(1.05);
}

.hc-btn:active {
  transform: translateY(0);
  box-shadow: 0 6px 18px rgba(3, 18, 36, 0.18);
  opacity: 0.96;
}

/* Micro submit animation: loading spinner */
.hc-btn.is-loading {
  pointer-events: none;
  opacity: 0.92;
  transform: translateY(0);
}

.hc-btn.is-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 18px;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-top-color: #fff;
  animation: hcSpin 0.8s linear infinite;
}

@keyframes hcSpin {
  to {
    transform: rotate(360deg);
  }
}

/* Micro animation: success pop */
.hc-btn.is-success {
  animation: hcPop 0.35s ease;
}
@keyframes hcPop {
  0% {
    transform: scale(1);
  }
  55% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
  }
}

/* Honeypot hidden */
.hc-honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  pointer-events: none;
}

/* --- CF7 validation & response output --- */

/* Error text under fields */
.wpcf7-not-valid-tip {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.35;
  color: #d13b2e;
}

/* Make invalid input border red-ish */
.wpcf7-form-control.wpcf7-not-valid {
  border-color: rgba(209, 59, 46, 0.45) !important;
  box-shadow: 0 0 0 4px rgba(209, 59, 46, 0.1) !important;
}

/* CF7 global response message */
.wpcf7 form .wpcf7-response-output {
  margin: 14px 0 0 !important;
  padding: 14px 16px !important;
  border-radius: 18px;
  border: 1px solid rgba(3, 18, 36, 0.12);
  font-size: 14px;
  line-height: 1.35;
  color: rgba(3, 18, 36, 0.85);
  background: rgba(3, 18, 36, 0.035);
}

/* Optional: success message styling (CF7 adds classes) */
.wpcf7 form.sent .wpcf7-response-output {
  border-color: rgba(22, 163, 74, 0.25);
  background: rgba(22, 163, 74, 0.06);
}

/* Optional: invalid message styling */
.wpcf7 form.invalid .wpcf7-response-output {
  border-color: rgba(245, 158, 11, 0.35);
  background: rgba(245, 158, 11, 0.08);
}

/* Mobile tuning */
@media (max-width: 520px) {
  .hc-form {
    gap: 10px;
  }
  .hc-input {
    height: 50px;
    border-radius: 16px;
    padding: 0 16px;
  }
  .hc-btn {
    height: 52px;
    font-size: 15px;
  }
}
/* Textarea */
.hc-textarea {
  width: 100%;
  height: 100px;
  padding: 14px 18px;
  border-radius: 18px;
  border: 1px solid rgba(3, 18, 36, 0.12);
  background: rgba(255, 255, 255, 0.98);
  font-size: 15px;
  line-height: 1.4;
  color: rgba(3, 18, 36, 0.92);
  resize: vertical;
  outline: none;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.hc-textarea::placeholder {
  color: rgba(3, 18, 36, 0.45);
}

.hc-textarea:focus {
  border-color: rgba(3, 18, 36, 0.26);
  box-shadow: 0 0 0 4px rgba(136, 189, 242, 0.22);
}

/* Mobile */
@media (max-width: 520px) {
  .hc-textarea {
    height: 100px;

    border-radius: 16px;
  }
}
.phone-number {
  text-decoration: none;
  color: #333;
  font-weight: 700;
}

.phone-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  /* Синій градієнт */
  background: linear-gradient(135deg, #004a9a 0%, #007bff 100%);
  color: white;
  padding: 12px 20px;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 86, 179, 0.3);
  transition: all 0.3s ease;
  font-family: Arial, sans-serif;
  font-weight: bold;
}

.phone-widget:hover {
  transform: scale(1.05);
  /* Зміна градієнта при наведенні */
  background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
  box-shadow: 0 6px 20px rgba(0, 86, 179, 0.4);
  color: white;
}

.phone-widget svg {
  margin-right: 10px;
  fill: white;
}

/* Оновлена синя анімація пульсування */
.phone-widget {
  animation: pulse-blue 2s infinite;
}

@keyframes pulse-blue {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 76, 157, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(0, 123, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
  }
}

@media (max-width: 480px) {
  .phone-widget span {
    display: none;
  }
  .phone-widget {
    padding: 15px;
    border-radius: 50%;
  }
  .phone-widget svg {
    margin-right: 0;
  }
}
