/* MP-Digital US landing — colors aligned with mp-digital.ru (Margo theme: main.css) */

:root {
  /* Margo / mp-digital.ru palette */
  --bg-deep: #111111;
  --bg-panel: #161616;
  --bg-elevated: #1a1a1a;
  --bg-light: #ffffff;
  --bg-muted: #141414;
  --text: #f0f0f5;
  --text-muted: rgba(255, 255, 255, 0.62);
  --text-on-dark: #ffffff;
  --text-on-dark-muted: rgba(255, 255, 255, 0.65);
  --accent: #3dc492;
  --accent-bright: #62fdbc;
  --accent-soft: rgba(61, 196, 146, 0.16);
  --accent-glow: rgba(61, 196, 146, 0.45);
  --border-dark: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.1);
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.35);
  --font: "Manrope", system-ui, sans-serif;
  --container: min(1120px, 100% - 2.5rem);
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  /* ~20px at typical 16px browser default — scales all rem-based type */
  font-size: 125%;
  scroll-behavior: smooth;
  background: var(--bg-deep);
}

@media (max-width: 480px) {
  html {
    font-size: 118.75%;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-on-dark);
  background: var(--bg-deep);
}

section[id] {
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

/* ——— Header ——— */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(17, 17, 17, 0.9);
  backdrop-filter: blur(14px);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  text-decoration: none;
  color: var(--text-on-dark);
}

.logo:hover {
  text-decoration: none;
  color: var(--text-on-dark);
}

.logo-mark {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.logo-text {
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.95;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: clamp(0.55rem, 1.1vw, 1rem);
  flex-shrink: 1;
  min-width: 0;
  justify-content: flex-end;
}

.nav-desktop a {
  color: var(--text-on-dark-muted);
  font-size: clamp(0.75rem, 0.72rem + 0.35vw, 0.875rem);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.nav-desktop a:hover {
  color: var(--text-on-dark);
}

.header-cta {
  display: none;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--text-on-dark);
  border-radius: 1px;
}

.mobile-nav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--bg-panel);
  padding: 1rem 1.25rem 1.5rem;
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav:not([hidden]) {
  display: block;
}

.mobile-nav nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-nav a {
  color: var(--text-on-dark);
  font-weight: 500;
  padding: 0.5rem 0;
}

@media (min-width: 900px) {
  .nav-desktop {
    display: flex;
  }

  .header-cta {
    display: inline-flex;
  }

  .nav-toggle {
    display: none;
  }
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-bright) 0%, var(--accent) 55%, #2ea878 100%);
  color: #ffffff;
  box-shadow: 0 0 12px rgba(61, 196, 146, 0.5);
}

.btn-primary:hover {
  box-shadow: 0 0 16px rgba(98, 253, 188, 0.55);
  filter: brightness(1.04);
}

.btn-outline {
  background: transparent;
  color: var(--text-on-dark);
  border: 1px solid rgba(255, 255, 255, 0.26);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent-bright);
}

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.8rem;
}

.btn-block {
  width: 100%;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: min(92vh, 900px);
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: 4rem;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--bg-deep);
  z-index: 0;
}

.hero-plexus-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
      ellipse 85% 70% at 92% 8%,
      rgba(61, 196, 146, 0.22) 0%,
      rgba(61, 196, 146, 0.06) 35%,
      transparent 65%
    ),
    radial-gradient(ellipse 60% 50% at 10% 90%, rgba(98, 253, 188, 0.05) 0%, transparent 55%);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin: 0 0 1rem;
}

.hero h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.85rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-on-dark);
}

.hero-sub {
  margin: 0 0 2rem;
  font-size: 1.05rem;
  color: var(--text-on-dark-muted);
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (max-width: 768px) {
  .hero-content {
    max-width: none;
    padding-top: 0.5rem;
  }
}

/* ——— Mission band + trust (dark, hex cluster — mp-digital.ru) ——— */
.mission-band {
  position: relative;
  background: var(--bg-deep);
  color: var(--text-on-dark);
  padding: 3.5rem 0 3.25rem;
  overflow: hidden;
}

.mission-band::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 55% 45% at 15% 40%, rgba(61, 196, 146, 0.08) 0%, transparent 60%);
}

.mission-band-inner {
  position: relative;
  z-index: 1;
}

.mission-split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 880px) {
  .mission-split {
    grid-template-columns: minmax(220px, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(2rem, 5vw, 4rem);
  }
}

.mission-hexes {
  display: flex;
  justify-content: center;
  max-width: 320px;
  margin-inline: auto;
}

@media (min-width: 880px) {
  .mission-hexes {
    justify-content: flex-start;
    margin-inline: 0;
    max-width: none;
  }
}

.mission-hex-svg {
  width: min(100%, 280px);
  height: auto;
  display: block;
  overflow: visible;
}

.mission-hex-cluster {
  animation: missionHexFloat 7s ease-in-out infinite;
}

@keyframes missionHexFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mission-hex-cluster {
    animation: none;
  }
}

.mission-copy h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 3.2vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.mission-lead {
  margin: 0 0 1.75rem;
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.55;
  color: #ffffff;
  max-width: 36rem;
}

.mission-cta {
  box-shadow: 0 4px 20px rgba(61, 196, 146, 0.35);
}

.trust-label {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin: 0 0 2rem;
}

.trust-label--on-dark {
  color: rgba(255, 255, 255, 0.5);
  margin-top: 3rem;
  margin-bottom: 1.75rem;
}

.trust-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (min-width: 700px) {
  .trust-metrics {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.25rem 0.75rem;
  background: var(--bg-muted);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  cursor: default;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    background 0.28s ease;
}

.trust-item:hover {
  transform: translateY(-6px);
  border-color: rgba(61, 196, 146, 0.45);
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(61, 196, 146, 0.2),
    0 0 28px rgba(61, 196, 146, 0.14);
}

.trust-metrics--on-dark .trust-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-metrics--on-dark .trust-item:hover {
  background: linear-gradient(
    165deg,
    rgba(61, 196, 146, 0.14) 0%,
    rgba(255, 255, 255, 0.06) 100%
  );
  border-color: rgba(61, 196, 146, 0.5);
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(61, 196, 146, 0.28),
    0 0 32px rgba(61, 196, 146, 0.18);
}

.trust-item:hover .trust-icon {
  color: var(--accent-bright);
  opacity: 1;
  transform: scale(1.1);
  filter: drop-shadow(0 0 10px rgba(61, 196, 146, 0.45));
}

.trust-item:hover .trust-num {
  transform: scale(1.05);
  text-shadow: 0 0 24px rgba(98, 253, 188, 0.25);
}

.trust-item:hover .trust-text {
  color: rgba(255, 255, 255, 0.85);
}

.trust-metrics--on-dark .trust-item:hover .trust-text {
  color: rgba(255, 255, 255, 0.88);
}

@media (prefers-reduced-motion: reduce) {
  .trust-item {
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  }

  .trust-item:hover {
    transform: none;
  }

  .trust-item:hover .trust-icon,
  .trust-item:hover .trust-num {
    transform: none;
  }
}

.trust-icon {
  color: var(--accent);
  margin-bottom: 0.5rem;
  opacity: 0.9;
  transition: transform 0.28s ease, color 0.28s ease, opacity 0.28s ease, filter 0.28s ease;
}

.trust-num {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.2;
  transition: transform 0.28s ease, text-shadow 0.28s ease, color 0.28s ease;
}

.trust-metrics--on-dark .trust-num {
  color: #ffffff;
}

.trust-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
  max-width: 12rem;
  transition: color 0.28s ease;
}

.trust-metrics--on-dark .trust-text {
  color: rgba(255, 255, 255, 0.62);
}

/* ——— Sections (site-wide dark) ——— */
.section {
  padding: 4.5rem 0;
  background: var(--bg-deep);
  color: var(--text-on-dark);
}

.section-light {
  background: var(--bg-deep);
  color: var(--text-on-dark);
}

.section-muted {
  background: var(--bg-deep);
  color: var(--text-on-dark);
}

.section-dark {
  background: var(--bg-deep);
  color: var(--text-on-dark);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-head h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-on-dark);
}

.section-head--light h2 {
  color: var(--text-on-dark);
}

.section-sub {
  margin: 0;
  font-size: 1.05rem;
  color: var(--text-on-dark-muted);
}

.section-head--light .section-sub {
  color: var(--text-on-dark-muted);
}

/* ——— Services ——— */
.services-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 720px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-card {
  background: var(--bg-panel);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--border-dark);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  cursor: default;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    background 0.28s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(61, 196, 146, 0.5);
  background: linear-gradient(
    165deg,
    rgba(61, 196, 146, 0.1) 0%,
    var(--bg-panel) 50%
  );
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(61, 196, 146, 0.25),
    0 0 36px rgba(61, 196, 146, 0.16);
}

.service-card:hover .service-icon {
  color: var(--accent-bright);
  background: rgba(61, 196, 146, 0.22);
  transform: scale(1.06);
  box-shadow: 0 0 20px rgba(61, 196, 146, 0.25);
}

.service-card:hover h3 {
  color: #ffffff;
}

.service-card:hover > p {
  color: rgba(255, 255, 255, 0.78);
}

.service-card:hover .feature-list {
  color: rgba(255, 255, 255, 0.72);
}

.service-card:hover .link-cta {
  color: var(--accent-bright);
}

.service-card:hover .price-tag {
  color: #ffffff;
}

.service-card:hover .price-tag strong {
  color: var(--accent-bright);
}

@media (prefers-reduced-motion: reduce) {
  .service-card {
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  }

  .service-card:hover {
    transform: none;
  }

  .service-card:hover .service-icon {
    transform: none;
  }
}

.service-card--wide {
  grid-column: 1 / -1;
}

.service-card--with-hex {
  position: relative;
  overflow: hidden;
}

.service-card-bottom {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  margin-top: auto;
  padding-top: 0.25rem;
}

.service-card-bottom-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  min-width: 0;
}

.service-card-hex-art {
  flex: 0 0 auto;
  width: clamp(100px, 38%, 150px);
  max-height: 150px;
  align-self: flex-end;
  pointer-events: none;
  opacity: 0.92;
}

.service-hex-svg {
  display: block;
  width: 100%;
  height: auto;
}

.service-card--with-hex .service-card-hex-art {
  transition: opacity 0.28s ease;
}

.service-card--with-hex:hover .service-card-hex-art {
  opacity: 1;
}

@media (max-width: 420px) {
  .service-card-bottom {
    flex-wrap: wrap;
  }

  .service-card-hex-art {
    width: clamp(88px, 44%, 130px);
    margin-left: auto;
  }
}

.service-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  transition:
    transform 0.28s ease,
    color 0.28s ease,
    background 0.28s ease,
    box-shadow 0.28s ease;
}

.service-card h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-on-dark);
  transition: color 0.28s ease;
}

.service-card > p {
  margin: 0;
  color: var(--text-on-dark-muted);
  font-size: 0.95rem;
  transition: color 0.28s ease;
}

.feature-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--text-on-dark-muted);
  font-size: 0.9rem;
  transition: color 0.28s ease;
}

.feature-list li {
  margin-bottom: 0.35rem;
}

.price-tag {
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
  color: var(--text-on-dark);
  transition: color 0.28s ease;
}

.price-tag strong {
  transition: color 0.28s ease;
}

.link-cta {
  margin-top: auto;
  padding-top: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent);
  text-decoration: none;
  transition: color 0.28s ease;
}

.link-cta:hover {
  text-decoration: underline;
}

.subproducts {
  display: grid;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

@media (min-width: 900px) {
  .subproducts {
    grid-template-columns: repeat(3, 1fr);
  }
}

.subproduct {
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius);
  border: 1px solid var(--border-dark);
}

.subproduct h4 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: var(--text-on-dark);
}

.subproduct > p {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  color: var(--text-on-dark-muted);
}

.stage-price {
  margin: 0.75rem 0 0;
  font-size: 0.88rem;
}

.badge {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--accent-soft);
  color: #b8f5e4;
  margin-right: 0.5rem;
}

/* ——— Process ——— */
.process-flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 0.5rem 1rem;
}

.process-step {
  flex: 1 1 200px;
  max-width: 260px;
  padding: 1.5rem;
  background: var(--bg-panel);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-dark);
  cursor: default;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    background-color 0.28s ease;
}

.process-step:hover {
  transform: translateY(-8px);
  border-color: rgba(61, 196, 146, 0.5);
  background: linear-gradient(
    165deg,
    rgba(61, 196, 146, 0.12) 0%,
    var(--bg-panel) 55%
  );
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(61, 196, 146, 0.25),
    0 0 36px rgba(61, 196, 146, 0.18);
}

.process-step:hover .step-num {
  color: var(--accent-bright);
  text-shadow: 0 0 20px rgba(98, 253, 188, 0.35);
}

.process-step:hover h3 {
  color: #ffffff;
}

@media (prefers-reduced-motion: reduce) {
  .process-step {
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  }

  .process-step:hover {
    transform: none;
  }
}

.step-num {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.75rem;
  transition: color 0.28s ease, text-shadow 0.28s ease;
}

.process-step h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--text-on-dark);
}

.process-step p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-on-dark-muted);
  line-height: 1.55;
}

.process-arrow {
  display: none;
  align-self: center;
  color: var(--accent-bright);
  font-size: 1.25rem;
  font-weight: 300;
  opacity: 0.75;
}

@media (min-width: 1100px) {
  .process-flow {
    flex-wrap: nowrap;
    gap: 0;
  }

  .process-arrow {
    display: flex;
    align-items: center;
    padding: 0 0.25rem;
  }

  .process-step {
    flex: 1;
    max-width: none;
  }
}

/* ——— Advantages ——— */
.advantages-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .advantages-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.advantage-card {
  background: var(--bg-panel);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-dark);
  box-shadow: var(--shadow-card);
  cursor: default;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    background 0.28s ease;
}

.advantage-card:hover {
  transform: translateY(-8px);
  border-color: rgba(61, 196, 146, 0.5);
  background: linear-gradient(
    165deg,
    rgba(61, 196, 146, 0.1) 0%,
    var(--bg-panel) 50%
  );
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(61, 196, 146, 0.25),
    0 0 36px rgba(61, 196, 146, 0.16);
}

.advantage-card:hover .adv-icon {
  color: var(--accent-bright);
  background: rgba(61, 196, 146, 0.22);
  transform: scale(1.06);
  box-shadow: 0 0 20px rgba(61, 196, 146, 0.25);
}

.advantage-card:hover h3 {
  color: #ffffff;
}

.advantage-card:hover p {
  color: rgba(255, 255, 255, 0.78);
}

@media (prefers-reduced-motion: reduce) {
  .advantage-card {
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  }

  .advantage-card:hover {
    transform: none;
  }

  .advantage-card:hover .adv-icon {
    transform: none;
  }
}

.advantages-hex-cell {
  background: transparent;
  padding: 1rem;
  border: none;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  transition: transform 0.28s ease, filter 0.28s ease;
  cursor: default;
}

.advantages-hex-cell:hover {
  transform: translateY(-4px);
}

.advantages-hex-cell:hover .advantages-hex-svg {
  filter: drop-shadow(0 0 22px rgba(61, 196, 146, 0.35));
}

@media (prefers-reduced-motion: reduce) {
  .advantages-hex-cell:hover {
    transform: none;
  }
}

.advantages-hex-svg {
  width: min(100%, 240px);
  height: auto;
  display: block;
  overflow: visible;
  transition: filter 0.28s ease;
}

.advantages-hex-cluster {
  animation: missionHexFloat 7s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .advantages-hex-cluster {
    animation: none;
  }
}

.adv-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 1rem;
  transition:
    transform 0.28s ease,
    color 0.28s ease,
    background 0.28s ease,
    box-shadow 0.28s ease;
}

.advantage-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--text-on-dark);
  transition: color 0.28s ease;
}

.advantage-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-on-dark-muted);
  transition: color 0.28s ease;
}

/* ——— Testimonials carousel ——— */
.carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.carousel-track-wrap {
  flex: 1;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.carousel-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.45s ease;
  will-change: transform;
}

.testimonial-card {
  flex: 0 0 auto;
  padding: 2rem 1.5rem;
  background: var(--bg-panel);
  border: 1px solid var(--border-dark);
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-lg);
  box-sizing: border-box;
  min-width: 0;
}

.stars {
  color: var(--accent);
  font-size: 0.95rem;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.testimonial-category {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  line-height: 1.35;
}

.testimonial-card blockquote {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  font-style: italic;
  color: var(--text-on-dark);
  line-height: 1.55;
}

.testimonial-card footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.testimonial-card cite {
  display: block;
  font-style: normal;
  font-size: 0.9rem;
  color: var(--text-on-dark-muted);
}

.testimonial-card cite strong {
  color: var(--text-on-dark);
}

.testimonial-card .result-badge {
  margin: 0.9rem 0 0;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.45;
  color: #b8f5e4;
  background: rgba(61, 196, 146, 0.22);
  display: block;
  width: fit-content;
  max-width: 100%;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
}

.carousel-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-dark);
  background: var(--bg-panel);
  color: var(--text-on-dark);
  font-size: 1.25rem;
  cursor: pointer;
  line-height: 1;
  transition: border-color 0.2s, color 0.2s;
}

.carousel-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.carousel-hint {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-on-dark-muted);
  margin: 1.25rem 0 0;
}

/* ——— Pricing ——— */
.pricing-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: var(--bg-panel);
}

.pricing-table th,
.pricing-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border-dark);
}

.pricing-table th {
  font-weight: 700;
  color: var(--text-on-dark);
  background: var(--bg-elevated);
}

.pricing-table td:first-child {
  color: var(--text-on-dark-muted);
}

.pricing-table td:last-child {
  color: var(--accent);
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.25s ease;
}

.pricing-table tbody tr td {
  transition:
    background 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;
}

.pricing-table tbody tr:hover td {
  background: linear-gradient(
    90deg,
    rgba(61, 196, 146, 0.14) 0%,
    rgba(61, 196, 146, 0.06) 55%,
    rgba(61, 196, 146, 0.1) 100%
  );
}

.pricing-table tbody tr:hover td:first-child {
  color: #ffffff;
  box-shadow: inset 3px 0 0 var(--accent);
}

.pricing-table tbody tr:hover td:last-child {
  color: var(--accent-bright);
  text-shadow: 0 0 18px rgba(98, 253, 188, 0.25);
}

.pricing-table tbody tr:last-child td {
  border-bottom: none;
}

.pricing-note {
  margin: 1.5rem 0 0;
  font-size: 0.88rem;
  color: var(--text-on-dark-muted);
  text-align: center;
  max-width: 52rem;
  margin-inline: auto;
}

.section-cta-center {
  text-align: center;
  margin-top: 2rem;
}

/* ——— Final CTA ——— */
.cta-final {
  background: var(--bg-deep);
  color: var(--text-on-dark);
}

.cta-final-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .cta-final-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 3rem;
  }
}

.cta-final-copy h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.cta-final-copy > p {
  margin: 0 0 1.5rem;
  color: var(--text-on-dark-muted);
  font-size: 1.05rem;
}

.cta-final-copy {
  display: flex;
  flex-direction: column;
}

.cta-final-copy .cta-alt {
  margin-bottom: 0;
}

.cta-final-hexes {
  margin-top: 2rem;
  width: min(100%, 260px);
  max-height: 200px;
  align-self: flex-end;
  pointer-events: none;
  opacity: 0.94;
}

.cta-final-hex-svg {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 899px) {
  .cta-final-hexes {
    align-self: flex-start;
    max-width: 220px;
  }
}

.cta-alt {
  font-size: 0.95rem;
  color: var(--text-on-dark-muted);
  line-height: 1.7;
}

.cta-alt a {
  color: var(--accent);
}

.cta-alt .cta-phone-plain {
  color: var(--accent);
  opacity: 0.85;
}

.calendly-link {
  opacity: 0.85;
}

.lead-form-alert {
  padding: 0.65rem 0.85rem;
  font-size: 0.85rem;
  line-height: 1.45;
  color: #ffc9c9;
  background: rgba(220, 80, 80, 0.18);
  border: 1px solid rgba(232, 90, 90, 0.45);
  border-radius: 8px;
}

.lead-form-alert--success {
  color: #c8f5e8;
  background: rgba(61, 196, 146, 0.16);
  border-color: rgba(61, 196, 146, 0.45);
}

.lead-form-contact-hint {
  margin: -0.35rem 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text-on-dark-muted);
}

.lead-form-contact-hint strong {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
}

.lead-form input[aria-invalid="true"] {
  border-color: rgba(232, 90, 90, 0.75);
  box-shadow: 0 0 0 2px rgba(232, 90, 90, 0.2);
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  background: var(--bg-panel);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-dark);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    background 0.28s ease;
}

.lead-form:hover {
  transform: translateY(-6px);
  border-color: rgba(61, 196, 146, 0.45);
  background: linear-gradient(
    165deg,
    rgba(61, 196, 146, 0.1) 0%,
    var(--bg-panel) 48%
  );
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(61, 196, 146, 0.22),
    0 0 32px rgba(61, 196, 146, 0.14);
}

.lead-form label span {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--text-on-dark-muted);
  transition: color 0.22s ease;
}

.lead-form label:hover span {
  color: rgba(255, 255, 255, 0.82);
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  border-radius: 8px;
  border: 1px solid var(--border-dark);
  background: var(--bg-deep);
  color: var(--text-on-dark);
  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease;
}

.lead-form input:hover,
.lead-form textarea:hover {
  border-color: rgba(61, 196, 146, 0.4);
  background: rgba(17, 17, 17, 0.95);
  box-shadow: 0 0 0 1px rgba(61, 196, 146, 0.12);
}

.lead-form input:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.lead-form-select-label:hover .custom-select-btn {
  border-color: rgba(61, 196, 146, 0.45);
  box-shadow: 0 0 0 1px rgba(61, 196, 146, 0.12);
}

.lead-form .btn-primary {
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    filter 0.22s ease;
}

.lead-form:hover .btn-primary {
  box-shadow:
    0 0 14px rgba(61, 196, 146, 0.55),
    0 0 28px rgba(98, 253, 188, 0.2);
}

.lead-form .btn-primary:hover {
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .lead-form {
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  }

  .lead-form:hover {
    transform: none;
  }

  .lead-form .btn-primary:hover {
    transform: none;
  }
}

/* Custom select (brand green highlight — native <select> cannot be styled) */
.lead-form-select-label .custom-select {
  position: relative;
  width: 100%;
}

.custom-select-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  text-align: left;
  border-radius: 8px;
  border: 1px solid var(--border-dark);
  background: var(--bg-deep);
  color: var(--text-on-dark);
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.custom-select-btn:hover {
  border-color: rgba(61, 196, 146, 0.35);
}

.custom-select-btn:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.custom-select[data-open="true"] .custom-select-btn {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.custom-select-value {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.custom-select-value.is-placeholder {
  color: var(--text-on-dark-muted);
}

.custom-select-chevron {
  flex-shrink: 0;
  display: flex;
  color: var(--text-on-dark-muted);
  transition: transform 0.2s ease;
}

.custom-select[data-open="true"] .custom-select-chevron {
  transform: rotate(180deg);
}

.custom-select-list {
  position: absolute;
  z-index: 80;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 0.35rem 0;
  list-style: none;
  max-height: min(280px, 55vh);
  overflow-y: auto;
  border-radius: 8px;
  background: #141414;
  border: 1px solid var(--border-dark);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.custom-select-list [role="option"] {
  margin: 0;
  padding: 0.65rem 1rem;
  font-size: 0.95rem;
  color: var(--text-on-dark);
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease;
}

.custom-select-list [role="option"]:hover,
.custom-select-list [role="option"].is-highlighted {
  background: rgba(61, 196, 146, 0.22);
  color: #ffffff;
}

.custom-select-list [role="option"][aria-selected="true"] {
  background: rgba(61, 196, 146, 0.14);
}

.custom-select-list [role="option"][aria-selected="true"]:hover,
.custom-select-list [role="option"][aria-selected="true"].is-highlighted {
  background: rgba(61, 196, 146, 0.32);
}

.lead-form small {
  font-weight: 400;
  opacity: 0.75;
}

/* ——— Footer ——— */
.site-footer {
  position: relative;
  background: var(--bg-deep);
  color: var(--text-on-dark-muted);
  padding: 0 0 1rem;
}

/* 1px white rule — same width as content container, inset from viewport edges */
.site-footer::before {
  content: "";
  display: block;
  width: min(1120px, calc(100% - 2.5rem));
  height: 1px;
  margin: 0 auto 1.25rem;
  background: #ffffff;
}

.footer-grid {
  display: grid;
  gap: 1.25rem 1.75rem;
  grid-template-columns: 1fr;
}

.footer-brand {
  grid-column: 1 / -1;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-col--services ul {
    columns: 2;
    column-gap: 1.25rem;
  }

  .footer-col--services li {
    break-inside: avoid;
  }
}

@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.35fr);
    align-items: start;
    column-gap: 2rem;
  }

  .footer-brand {
    grid-column: auto;
    padding-right: 0.5rem;
  }

  .footer-col--services ul {
    column-gap: 1.75rem;
  }
}

.logo--footer .logo-text,
.logo--footer .logo-mark {
  color: var(--text-on-dark);
}

.logo--footer .logo-mark {
  color: var(--accent);
}

.logo.logo--footer .logo-mark {
  font-size: 1.05rem;
}

.logo.logo--footer .logo-text {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
}

.footer-col h3 {
  margin: 0 0 0.5rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-on-dark);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 0.35rem;
}

.footer-col--nav ul {
  columns: 2;
  column-gap: 1.25rem;
}

.footer-col--nav li {
  break-inside: avoid;
}

.footer-col a {
  color: var(--text-on-dark-muted);
  font-size: 0.8125rem;
  line-height: 1.35;
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  margin-top: 1.1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-dark);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  text-align: left;
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
  }
}

.copyright {
  margin: 0;
  font-size: 0.72rem;
  color: var(--text-on-dark-muted);
}

/* ——— Form success modal ——— */
.form-success-modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  box-sizing: border-box;
}

.form-success-modal[hidden] {
  display: none;
}

.form-success-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
}

.form-success-modal__panel {
  position: relative;
  z-index: 1;
  max-width: 22rem;
  width: 100%;
  padding: 2rem 1.75rem;
  background: var(--bg-panel);
  border: 1px solid rgba(61, 196, 146, 0.35);
  border-radius: var(--radius-lg);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(61, 196, 146, 0.12),
    0 0 40px rgba(61, 196, 146, 0.12);
  text-align: center;
  animation: form-success-pop 0.35s ease;
}

@keyframes form-success-pop {
  from {
    opacity: 0;
    transform: scale(0.94) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .form-success-modal__panel {
    animation: none;
  }
}

.form-success-modal__title {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-on-dark);
  outline: none;
}

.form-success-modal__text {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--text-on-dark-muted);
}

/* ——— Cookie banner ——— */
.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  max-width: min(520px, calc(100% - 2rem));
  padding: 1rem 1.25rem;
  background: var(--bg-panel);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  margin: 0;
  flex: 1 1 220px;
  font-size: 0.85rem;
  color: var(--text-on-dark-muted);
}

.cookie-banner a {
  color: var(--accent);
}
