/* Home page sections below hero — reference UI */

body.page-home {
  background: #fff;
}

/* ─── Benefits bar ─── */
.home-benefits-bar {
  background: #fff;
  padding: clamp(48px, 6vw, 72px) 0;
  border-bottom: 1px solid rgba(11, 31, 58, 0.06);
}

.home-benefits-bar__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}

.home-benefit {
  text-align: center;
  padding: 0 clamp(12px, 2vw, 24px);
  border-right: 1px solid rgba(11, 31, 58, 0.08);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-benefit:hover {
  transform: translateY(-3px);
}

.home-benefit:last-child { border-right: none; }

.home-benefit__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(55, 183, 240, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--aqua);
}

.home-benefit__icon svg { width: 24px; height: 24px; }

.home-benefit h3 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.3;
}

.home-benefit p {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--text-muted);
}

/* ─── Science section ─── */
.home-science {
  background: #fff;
  padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 6vw, 64px);
}

.home-science__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  margin-bottom: clamp(40px, 6vw, 56px);
}

.home-science__eyebrow {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--aqua);
  margin-bottom: 12px;
}

.home-science__top h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.home-science__top h2 .text-accent { color: var(--aqua); }

.home-science__top p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 48ch;
}

.home-science__gauge {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  overflow: visible;
}

.home-ph-gauge {
  width: min(100%, 380px);
  position: relative;
  padding-bottom: 10px;
}

.home-ph-gauge svg { width: 100%; height: auto; display: block; overflow: visible; }

.home-ph-gauge__marker {
  position: absolute;
  left: 50%;
  bottom: 15%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 2;
}

.home-ph-gauge__drop {
  width: 44px;
  height: 44px;
  margin: 0 auto 6px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: linear-gradient(135deg, #5ec4f5, #2a9fd6);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(55, 183, 240, 0.35);
}

.home-ph-gauge__drop span {
  transform: rotate(45deg);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  color: #fff;
}

.home-ph-gauge__brand {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--aqua);
}

.home-science__facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2.5vw, 28px);
  padding-top: clamp(24px, 4vw, 40px);
  border-top: 1px solid rgba(11, 31, 58, 0.08);
}

.home-science__fact {
  text-align: center;
  padding: 0 12px;
  border-right: 1px solid rgba(11, 31, 58, 0.08);
}

.home-science__fact:last-child { border-right: none; }

.home-science__fact-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 12px;
  color: var(--aqua);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.home-science__fact p {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.home-science__fact strong { color: var(--navy); font-weight: 600; }

/* ─── Who We Serve ─── */
.home-serve {
  background: var(--mist);
  padding: clamp(56px, 8vw, 96px) 0;
}

.home-serve__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(40px, 5vw, 56px);
}

.home-serve__header .home-science__eyebrow { margin-bottom: 10px; }

.home-serve__header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
}

.home-serve__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(12px, 2vw, 20px);
}

.home-serve-card {
  background: #fff;
  border-radius: 16px;
  overflow: visible;
  box-shadow: 0 4px 24px rgba(11, 31, 58, 0.06);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease;
}

.home-serve-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(11, 31, 58, 0.1);
}

.home-serve-card__img {
  position: relative;
  height: 140px;
  overflow: visible;
  border-radius: 16px 16px 0 0;
}

.home-serve-card__img img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
  border-radius: 16px 16px 0 0;
}

.home-serve-card__icon {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  box-shadow: 0 4px 16px rgba(11, 31, 58, 0.25);
}

.home-serve-card__icon svg { width: 20px; height: 20px; }

.home-serve-card__body {
  position: relative;
  z-index: 2;
  padding: 32px 16px 20px;
  text-align: center;
  background: #fff;
  border-radius: 0 0 16px 16px;
}

.home-serve-card__body h3 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.home-serve-card__body p {
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--text-muted);
}

/* ─── Stats bar ─── */
.home-stats {
  background: linear-gradient(135deg, #061525 0%, #0b1f3a 50%, #0f2f56 100%);
  padding: clamp(40px, 6vw, 56px) 0;
  position: relative;
  overflow: hidden;
}

.home-stats::before,
.home-stats::after {
  content: '';
  position: absolute;
  bottom: 0;
  width: 40%;
  height: 100%;
  background: radial-gradient(ellipse at bottom, rgba(55, 183, 240, 0.12), transparent 70%);
  pointer-events: none;
}

.home-stats::before { left: 0; }
.home-stats::after { right: 0; }

.home-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  z-index: 1;
}

.home-stats__item {
  text-align: center;
  padding: 12px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.home-stats__item:last-child { border-right: none; }

.home-stats__num {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--aqua);
  line-height: 1;
}

.home-stats__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 8px;
}

/* ─── Testimonials ─── */
.home-testimonials {
  background: #fff;
  padding: clamp(56px, 8vw, 96px) 0 clamp(28px, 4vw, 48px);
}

.home-testimonials__header {
  text-align: center;
  margin-bottom: clamp(32px, 5vw, 48px);
}

.home-testimonials__header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 800;
  color: var(--navy);
}

.home-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.5vw, 24px);
}

.home-testimonials__marquee {
  overflow: hidden;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-block: 4px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.home-testimonials__track {
  display: flex;
  gap: clamp(16px, 2.5vw, 24px);
  width: max-content;
  padding-inline: clamp(16px, 4vw, 48px);
  animation: home-testimonial-scroll 50s linear infinite;
  will-change: transform;
}

.home-testimonials__marquee:hover .home-testimonials__track {
  animation-play-state: paused;
}

@keyframes home-testimonial-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.home-testimonial {
  background: var(--mist);
  border-radius: 16px;
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid rgba(11, 31, 58, 0.06);
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 0 0 min(360px, 82vw);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease, border-color 0.35s ease;
}

.home-testimonials__marquee .home-testimonial:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(11, 31, 58, 0.08);
  border-color: rgba(55, 183, 240, 0.2);
}

.home-testimonial__stars {
  display: flex;
  gap: 4px;
  color: var(--aqua);
}

.home-testimonial__stars svg { width: 16px; height: 16px; fill: currentColor; }

.home-testimonial blockquote {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-muted);
  font-style: italic;
  flex: 1;
}

.home-testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid rgba(11, 31, 58, 0.08);
}

.home-testimonial__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(55, 183, 240, 0.2), rgba(29, 92, 151, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--ocean);
}

.home-testimonial__name {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
}

.home-testimonial__role {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ─── CTA banner ─── */
.home-cta {
  padding: clamp(40px, 5vw, 64px) 0 clamp(56px, 8vw, 80px);
  background: #fff;
  overflow: visible;
}
.home-cta .container { overflow: visible; }
.home-cta__banner {
  display: block;
  position: relative;
  overflow: visible;
  min-height: auto;
  background: none;
  box-shadow: none;
}
.home-cta__content {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  bottom: 0;
  width: 52%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(32px, 5vw, 52px) clamp(28px, 4vw, 52px);
  color: #fff;
}
.home-cta__visual {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  line-height: 0;
  overflow: visible;
}
.home-cta__visual img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center;
}
.home-cta__content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 3.8vw, 2.65rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.home-cta__content h2 .text-accent { color: #5ec4f5; }
.home-cta__content p {
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  max-width: 40ch;
  margin-bottom: 28px;
}
.home-cta__btn {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 14px;
  padding: 15px 22px 15px 28px;
  background: linear-gradient(135deg, #5ec4f5 0%, #37b7f0 45%, #2a9fd6 100%);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 28px rgba(55, 183, 240, 0.45);
}
.home-cta__btn:hover { transform: translateY(-2px); box-shadow: 0 0 36px rgba(55, 183, 240, 0.55); }
.home-cta__btn-icon {
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.home-cta__btn-icon svg { width: 14px; height: 14px; }

/* ─── Responsive ─── */
@media (max-width: 1100px) {
  .home-benefits-bar__grid { grid-template-columns: repeat(3, 1fr); }
  .home-benefit { border-right: none; border-bottom: 1px solid rgba(11, 31, 58, 0.06); padding-bottom: 24px; margin-bottom: 24px; }
  .home-benefit:nth-child(3) { border-bottom: none; margin-bottom: 0; }
  .home-serve__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .home-science__top { grid-template-columns: 1fr; }
  .home-science__facts { grid-template-columns: repeat(2, 1fr); }
  .home-science__fact { border-right: none; border-bottom: 1px solid rgba(11, 31, 58, 0.06); padding-bottom: 20px; margin-bottom: 20px; }
  .home-science__fact:nth-last-child(-n+2) { border-bottom: none; margin-bottom: 0; }
  .home-cta__banner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    overflow: hidden;
    background:
      radial-gradient(120% 100% at 80% 0%, rgba(55, 183, 240, 0.16) 0%, transparent 55%),
      linear-gradient(158deg, #0d2540 0%, #08192f 52%, #051225 100%);
    border: 1px solid rgba(55, 183, 240, 0.14);
    box-shadow: 0 22px 55px rgba(6, 20, 42, 0.3);
  }
  .home-cta__content {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center;
    padding: 44px 26px 46px;
  }
  .home-cta__content p { margin-inline: auto; }
  .home-cta__content .home-cta__btn { margin-inline: auto; }
  .home-cta__visual { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .home-testimonials__marquee {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .home-testimonials__track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }

  .home-testimonials__marquee .home-testimonial {
    flex: 1 1 min(360px, 100%);
  }

  .home-benefit:hover,
  .home-testimonials__marquee .home-testimonial:hover {
    transform: none;
  }
}

@media (max-width: 1024px) {
  .home-testimonials__grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
}

@media (max-width: 768px) {
  .home-benefits-bar__grid { grid-template-columns: 1fr; }
  .home-benefit { border-bottom: 1px solid rgba(11, 31, 58, 0.06); padding-bottom: 20px; margin-bottom: 20px; }
  .home-benefit:last-child { border-bottom: none; margin-bottom: 0; }
  .home-serve__grid { grid-template-columns: 1fr 1fr; }
  .home-stats__grid { grid-template-columns: repeat(2, 1fr); }
  .home-stats__item:nth-child(2) { border-right: none; }
  .home-stats__item { border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
  .home-stats__item:nth-last-child(-n+2) { border-bottom: none; }
}

@media (max-width: 480px) {
  .home-serve__grid { grid-template-columns: 1fr; }
  .home-science__facts { grid-template-columns: 1fr; }
}

/* ---------- Testimonials → sector value cards ---------- */
.home-testimonial__sector {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--aqua);
  margin-bottom: 14px;
  letter-spacing: 0.01em;
}
.home-testimonial__sector svg {
  width: 20px; height: 20px;
  stroke: currentColor; fill: none; stroke-width: 2;
  flex-shrink: 0;
}
.home-testimonials__marquee .home-testimonial blockquote {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.6;
}

/* ═══════════ Proof-point credential row ═══════════ */
.home-proof { background: var(--navy); padding: clamp(26px, 4vw, 42px) 0; position: relative; z-index: 1; }
.home-proof__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 3vw, 30px); }
.home-proof__item { display: flex; align-items: center; gap: 13px; color: #fff; }
.home-proof__ic { width: 34px; height: 34px; color: var(--aqua); flex-shrink: 0; }
.home-proof__ic svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.8; }
.home-proof__label strong { display: block; font-family: var(--font-heading); font-weight: 700; font-size: 1.02rem; line-height: 1.2; }
.home-proof__label span { font-size: 0.82rem; color: var(--slate-light); }
@media (max-width: 760px) { .home-proof__grid { grid-template-columns: repeat(2, 1fr); gap: 20px 16px; } }
@media (max-width: 420px) { .home-proof__grid { grid-template-columns: 1fr; } }

/* ═══════════ Comparison matrix ═══════════ */
.home-compare { padding: clamp(64px, 9vw, 120px) 0; background: var(--mist); }
.home-compare__header { text-align: center; max-width: 660px; margin: 0 auto clamp(34px, 5vw, 56px); }
.home-compare__header h2 { margin-bottom: 14px; }
.home-compare__header p { color: var(--text-muted); font-size: 1.05rem; line-height: 1.7; }
.home-compare__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
.home-compare__table {
  min-width: 620px;
  max-width: 940px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 34px 80px -34px rgba(11, 31, 58, 0.28);
}
.home-compare__cell {
  padding: clamp(13px, 1.9vw, 19px) clamp(14px, 2.2vw, 26px);
  display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid rgba(11, 31, 58, 0.07);
  font-size: 0.97rem; color: var(--text-dark);
}
.home-compare__cell--head { font-family: var(--font-heading); font-weight: 700; font-size: 1.02rem; color: #fff; border-bottom: none; }
.home-compare__prop { font-weight: 600; background: #fbfcfe; }
.home-compare__col-prop .home-compare__cell--head { background: var(--navy); }
.home-compare__col-reg .home-compare__cell--head { background: var(--slate); }
.home-compare__col-reg .home-compare__cell:not(.home-compare__cell--head) { color: var(--text-muted); }
.home-compare__col-aerov { position: relative; background: linear-gradient(180deg, rgba(55, 183, 240, 0.10), rgba(55, 183, 240, 0.02)); box-shadow: 0 0 0 2px var(--aqua) inset; }
.home-compare__col-aerov .home-compare__cell--head { background: linear-gradient(135deg, var(--aqua), var(--ocean)); }
.home-compare__col-aerov .home-compare__cell { font-weight: 500; }
.home-compare__ic { width: 19px; height: 19px; flex-shrink: 0; }
.home-compare__ic--yes { color: #1FA971; }
.home-compare__ic--no { color: #C15B4C; }
.home-compare__note { text-align: center; margin-top: 22px; font-size: 0.85rem; color: var(--slate-light); }
@media (max-width: 640px) {
  .home-compare__scroll { overflow-x: visible; }
  .home-compare__table { min-width: 0; grid-template-columns: 1.25fr 1fr 1fr; }
  .home-compare__cell { font-size: 0.72rem; padding: 10px 7px; gap: 5px; }
  .home-compare__cell--head { font-size: 0.74rem; }
  .home-compare__ic { width: 14px; height: 14px; }
}
.home-compare__table { grid-template-rows: repeat(7, auto); }
.home-compare__col-prop, .home-compare__col-aerov, .home-compare__col-reg { display: grid; grid-row: 1 / -1; grid-template-rows: subgrid; }
