/* BoxBillions — shared styles */
:root {
  --blue: #0061ff;
  --blue-dark: #0047d9;
  --blue-soft: #e8f0fe;
  --blue-mist: #f0f5ff;
  --navy: #0b1220;
  --text: #1a1a1b;
  --muted: #64748b;
  --gray: #4b5563;
  --border: #e5e7eb;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --green: #10b981;
  --purple: #8b5cf6;
  --teal: #14b8a6;
  --orange: #f59e0b;
  --star: #fbbf24;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --max: 1180px;
  --font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

button {
  font: inherit;
  border: none;
  cursor: pointer;
  background: none;
}

.container {
  width: min(100% - 48px, var(--max));
  margin-inline: auto;
}

/* —— Logo —— */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 36px;
  height: auto;
  flex-shrink: 0;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-name {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo-name .box {
  color: var(--navy);
}

.logo-name .billions {
  color: var(--blue);
}

.logo-tag {
  font-size: 0.6875rem;
  color: var(--muted);
  font-weight: 500;
}

/* —— Site header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.nav-link {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--blue);
  transition: opacity 0.2s;
}

.nav-link:hover {
  opacity: 0.75;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9375rem;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s;
}

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

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 97, 255, 0.28);
}

.btn-primary:hover {
  background: var(--blue-dark);
}

.btn-dark {
  background: var(--navy);
  color: #fff;
}

.btn-dark .btn-icon {
  color: var(--blue);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-icon {
  width: 18px;
  height: 18px;
}

/* —— Reveal animation —— */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* —— Hero —— */
.hero {
  position: relative;
  overflow: hidden;
  padding: 48px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.hero-eyebrow {
  display: none;
}

.hero h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin-bottom: 18px;
}

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

.hero-lead {
  font-size: 1.0625rem;
  color: var(--muted);
  max-width: 34em;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  align-items: stretch;
  gap: 28px;
}

.hero-stat {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-stat + .hero-stat {
  padding-left: 28px;
  border-left: 1px solid var(--border);
}

.icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue-soft);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--blue);
}

.icon-circle svg {
  width: 22px;
  height: 22px;
}

.stat-value {
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 2px;
}

.hero-visual {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual svg {
  width: 100%;
  max-width: 420px;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 97, 255, 0.18));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

/* —— Section commons —— */
.section {
  padding: 88px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.875rem, 3.2vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 12px;
}

.section-title .accent {
  color: var(--blue);
}

.section-sub {
  font-size: 1.0625rem;
  color: var(--muted);
  max-width: 36em;
}

.section-head {
  margin-bottom: 48px;
}

.section-head.center {
  text-align: center;
}

.section-head.center .section-sub {
  margin-inline: auto;
}

/* —— Platform features —— */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: box-shadow 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}

.feature-card:hover {
  box-shadow: var(--shadow);
  border-color: #dbeafe;
  transform: translateY(-2px);
}

.feature-card .icon-circle {
  width: 44px;
  height: 44px;
}

.feature-card h3 {
  font-size: 0.975rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--navy);
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.55;
}

/* —— Services —— */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: start;
}

.services-copy h2 {
  font-size: clamp(1.875rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--navy);
}

.services-copy h2 + h2 {
  color: var(--blue);
  margin-bottom: 16px;
}

.services-copy > p {
  color: var(--muted);
  margin-bottom: 28px;
  max-width: 32em;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.975rem;
  font-weight: 600;
  color: var(--text);
}

.check-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.check-icon svg {
  width: 14px;
  height: 14px;
}

.process-strip {
  background: var(--blue-mist);
  border-radius: 20px;
  padding: 32px 24px 40px;
}

.process-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.process-step {
  flex: 1;
  background: #fff;
  border-radius: var(--radius);
  padding: 20px 12px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.process-step .icon-circle {
  margin: 0 auto 12px;
  width: 42px;
  height: 42px;
}

.process-step span {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--navy);
  display: block;
  line-height: 1.3;
}

.flow-arrow {
  color: #94a3b8;
  flex-shrink: 0;
}

.process-loop {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #94a3b8;
  font-size: 0.75rem;
  font-weight: 600;
}

.process-loop svg {
  width: 100%;
  max-width: 420px;
  height: 28px;
}

/* —— Circular process —— */
.process-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
}

.process-info .callout {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  max-width: 360px;
}

.callout strong {
  display: block;
  color: var(--blue);
  font-size: 0.9375rem;
  margin-bottom: 2px;
}

.callout p {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.4;
}

.process-orbit {
  position: relative;
  aspect-ratio: 1;
  max-width: 520px;
  margin-inline: auto;
  background-image: radial-gradient(circle, #cbd5e1 1px, transparent 1px);
  background-size: 18px 18px;
  background-position: right center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 35%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 35%);
}

.process-orbit::before {
  content: "";
  position: absolute;
  inset: 14%;
  border: 2px solid #bfdbfe;
  border-radius: 50%;
  opacity: 0.7;
}

.orbit-card {
  position: absolute;
  width: min(200px, 42%);
  background: #fff;
  border-radius: var(--radius);
  padding: 20px 16px 16px;
  box-shadow: var(--shadow);
  text-align: center;
  border: 1px solid #f1f5f9;
}

.orbit-card .step-num {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.orbit-card .icon-circle {
  margin: 4px auto 10px;
  width: 40px;
  height: 40px;
}

.orbit-card h3 {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--navy);
}

.orbit-card p {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.45;
}

.orbit-card.c1 {
  top: 2%;
  left: 50%;
  transform: translateX(-50%);
}

.orbit-card.c2 {
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

.orbit-card.c3 {
  bottom: 2%;
  left: 50%;
  transform: translateX(-50%);
}

.orbit-card.c4 {
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.orbit-arrows {
  position: absolute;
  inset: 14%;
  pointer-events: none;
}

/* —— Results / performance —— */
.perf-badge {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 8px 14px;
  border-radius: 8px 8px 8px 2px;
  margin-bottom: 20px;
}

.perf-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 8px 24px;
  box-shadow: var(--shadow-sm);
}

.perf-metrics {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.perf-metric {
  padding: 8px 20px;
  text-align: left;
}

.perf-metric:not(:last-child) {
  border-right: 1px solid var(--border);
}

.perf-metric .icon-sq {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid;
  place-items: center;
  margin-bottom: 12px;
}

.perf-metric .icon-sq svg {
  width: 18px;
  height: 18px;
}

.perf-metric .label {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: 4px;
}

.perf-metric .value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.perf-metric .trend {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--green);
}

.summary-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
  max-width: 640px;
  margin-inline: auto;
}

.summary-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.summary-card .icon-sq {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.summary-card .icon-sq svg {
  width: 22px;
  height: 22px;
}

.summary-card .value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1.1;
}

.summary-card .label {
  font-size: 0.875rem;
  color: var(--muted);
}

/* —— Testimonials —— */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.testimonial {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px 18px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}

.testimonial:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.stars {
  display: flex;
  gap: 3px;
  color: var(--star);
  margin-bottom: 14px;
}

.stars svg {
  width: 16px;
  height: 16px;
}

.testimonial blockquote {
  flex: 1;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--navy);
  margin-bottom: 18px;
  position: relative;
}

.testimonial blockquote::before {
  content: "“";
  color: var(--blue);
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
  margin-right: 2px;
}

.testimonial blockquote::after {
  content: "”";
  color: var(--blue);
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
  margin-left: 2px;
}

.testimonial-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.author {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #93c5fd, var(--blue));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.author-name {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.author-role {
  font-size: 0.6875rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.company-logo {
  font-size: 0.75rem;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.company-logo.travel {
  color: var(--blue);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* —— CTA —— */
.cta {
  position: relative;
  text-align: center;
  padding: 100px 0 120px;
  overflow: hidden;
}

.cta::before,
.cta::after {
  content: "";
  position: absolute;
  width: 55%;
  height: 280px;
  bottom: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(147, 197, 253, 0.45) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.cta::before {
  left: -10%;
}

.cta::after {
  right: -10%;
}

.cta .container {
  position: relative;
  z-index: 1;
}

.cta .logo {
  justify-content: center;
  margin-bottom: 40px;
}

.cta h2 {
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 16px;
}

.cta h2 .accent {
  display: block;
  color: var(--blue);
}

.cta p {
  color: var(--muted);
  font-size: 1.0625rem;
  margin-bottom: 32px;
  max-width: 32em;
  margin-inline: auto;
}

.cta .btn-group {
  justify-content: center;
}

/* —— Footer —— */
.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.8125rem;
  color: var(--muted);
}

.site-footer .links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 10px;
}

.site-footer a:hover {
  color: var(--blue);
}

/* —— Media Kit page —— */
.mk-page {
  background: var(--bg-alt);
  min-height: 100vh;
}

.mk-header {
  padding: 24px 0 8px;
}

.mk-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mk-label {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #93c5fd;
}

.mk-hero {
  padding: 32px 0 36px;
}

.mk-hero h1 {
  font-size: clamp(1.875rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 12px;
}

.mk-hero h1 .accent {
  color: var(--blue);
}

.mk-underline {
  width: 48px;
  height: 3px;
  background: var(--blue);
  border-radius: 2px;
  margin-bottom: 14px;
}

.mk-hero p {
  color: var(--muted);
  max-width: 36em;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin: 24px 0;
}

.kpi-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 18px 14px 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid #f1f5f9;
  position: relative;
  overflow: hidden;
}

.kpi-card .icon-circle {
  width: 32px;
  height: 32px;
  margin-bottom: 10px;
}

.kpi-card .icon-circle svg {
  width: 16px;
  height: 16px;
}

.kpi-card .value {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.kpi-card .label {
  font-size: 0.6875rem;
  color: var(--muted);
  margin-top: 4px;
  margin-bottom: 10px;
}

.kpi-spark {
  height: 28px;
  opacity: 0.85;
}

.mk-charts {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 16px;
  margin-bottom: 36px;
}

.chart-panel {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  border: 1px solid #f1f5f9;
}

.chart-panel h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
}

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 12px;
  font-size: 0.75rem;
  color: var(--muted);
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.line-chart-wrap {
  position: relative;
}

.line-chart-wrap canvas {
  width: 100% !important;
  height: 220px !important;
}

.chart-callout {
  position: absolute;
  right: 8px;
  top: 20px;
  background: var(--blue-soft);
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--blue);
  max-width: 120px;
  line-height: 1.35;
}

.donut-layout {
  display: flex;
  align-items: center;
  gap: 20px;
}

.donut-wrap {
  position: relative;
  width: 180px;
  height: 180px;
  flex-shrink: 0;
}

.donut-wrap canvas {
  width: 180px !important;
  height: 180px !important;
}

.donut-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
}

.donut-center strong {
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
}

.donut-center span {
  font-size: 0.6875rem;
  color: var(--muted);
}

.channel-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.channel-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  gap: 12px;
}

.channel-list .name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gray);
}

.channel-list .pct {
  font-weight: 700;
  color: var(--navy);
}

.mk-home {
  margin: 48px 0 24px;
}

.mk-home-title {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 8px;
}

.mk-home-title .accent {
  color: var(--blue);
}

.mk-disclaimer {
  text-align: center;
  font-size: 0.75rem;
  color: #94a3b8;
  padding: 8px 0 0;
}

/* —— Thank you page —— */
.thanks-page {
  min-height: 100vh;
  background:
    radial-gradient(ellipse 50% 40% at 100% 0%, rgba(191, 219, 254, 0.45), transparent 60%),
    radial-gradient(ellipse 45% 35% at 0% 100%, rgba(191, 219, 254, 0.4), transparent 55%),
    #fff;
}

.thanks-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 100vh;
}

.thanks-left,
.thanks-right {
  padding: 48px clamp(24px, 5vw, 64px);
  display: flex;
  flex-direction: column;
}

.thanks-left {
  justify-content: space-between;
  gap: 48px;
}

.thanks-left h1 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: var(--navy);
  max-width: 14em;
  margin-block: auto;
}

.thanks-left h1 .accent {
  color: var(--blue);
}

.thanks-right {
  border-left: 1px solid var(--border);
  justify-content: center;
}

.thanks-right h2 {
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 14px;
}

.thanks-right h2 .accent {
  display: block;
  color: var(--blue);
}

.thanks-right > p {
  color: var(--muted);
  margin-bottom: 36px;
  max-width: 28em;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-item .icon-sq {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact-item .icon-sq svg {
  width: 20px;
  height: 20px;
}

.contact-item .label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--navy);
}

.contact-item a {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--blue);
}

.contact-item a:hover {
  text-decoration: underline;
}

.social-row {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  transition: transform 0.2s var(--ease);
}

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

.social-btn svg {
  width: 18px;
  height: 18px;
}

/* —— Responsive —— */
@media (max-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .kpi-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .perf-metrics {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px 0;
  }

  .perf-metric:nth-child(3) {
    border-right: none;
  }

  .perf-metric:nth-child(n + 4) {
    border-top: 1px solid var(--border);
    padding-top: 20px;
    margin-top: 8px;
  }

  .process-layout {
    grid-template-columns: 1fr;
  }

  .process-orbit {
    max-width: 440px;
  }
}

@media (max-width: 860px) {
  .hero-grid,
  .services-grid,
  .mk-charts,
  .thanks-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 240px;
    order: -1;
  }

  .hero-visual svg {
    max-width: 280px;
  }

  .thanks-right {
    border-left: none;
    border-top: 1px solid var(--border);
  }

  .thanks-left {
    min-height: auto;
    padding-bottom: 32px;
  }

  .thanks-left h1 {
    margin-block: 48px;
  }

  .process-flow {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .flow-arrow {
    display: none;
  }

  .donut-layout {
    flex-direction: column;
  }

  .chart-callout {
    position: static;
    margin-top: 12px;
    max-width: none;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 32px, var(--max));
  }

  .section {
    padding: 64px 0;
  }

  .feature-grid,
  .testimonials-grid,
  .kpi-grid,
  .summary-row {
    grid-template-columns: 1fr;
  }

  .perf-metrics {
    grid-template-columns: 1fr;
  }

  .perf-metric {
    border-right: none !important;
    border-bottom: 1px solid var(--border);
    padding: 16px 16px;
  }

  .perf-metric:last-child {
    border-bottom: none;
  }

  .perf-metric:nth-child(n + 4) {
    border-top: none;
    margin-top: 0;
    padding-top: 16px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 18px;
  }

  .hero-stat + .hero-stat {
    padding-left: 0;
    border-left: none;
    padding-top: 18px;
    border-top: 1px solid var(--border);
  }

  .cta .btn-group {
    flex-direction: column;
    align-items: stretch;
  }

  .process-orbit {
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: none;
    -webkit-mask-image: none;
    mask-image: none;
    padding: 8px 0;
  }

  .process-orbit::before,
  .orbit-arrows {
    display: none;
  }

  .orbit-card {
    position: static;
    width: 100%;
    transform: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
