

:root {
  --blue:          #024ab5;   /* primary — buttons, icons, links      */
  --blue-dark:     #013c96;   /* hover                                */
  --blue-deep:     #054799;   /* trusted-vendor banner                */
  --navy:          #00112e;   /* headings, stat numbers               */
  --text:          #55575c;   /* body copy                            */
  --text-soft:     #7c8288;   /* card copy                            */
  --muted:         #808798;   /* small captions                       */
  --hero-bg:       #f8f9fb;
  --section-alt:   #f7f8fa;
  --white:         #fff;
  --line:          #e8eaef;

  --container:     1480px;
  --radius:        8px;
  --shadow-card:   0 1px 2px rgba(2, 18, 45, .05), 0 6px 18px rgba(2, 18, 45, .05);
  --ease:          .25s ease;
}

/* ------------------------------ reset ------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Figtree', 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 { margin: 0; color: var(--navy); line-height: 1.22; font-weight: 700; letter-spacing: -.015em; }
p  { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }
svg { display: block; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(16px, 3.2vw, 24px);
}

/* ----------------------------- buttons ----------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border: 1.5px solid transparent;
  border-radius: 5px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background var(--ease), color var(--ease), border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}

.btn-primary {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(2, 74, 181, .28);
}

.btn-outline {
  background: transparent;
  border-color: var(--blue);
  color: var(--blue);
}
.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(2, 74, 181, .22);
}

/* ------------------------- shared type bits ------------------------ */
.eyebrow {
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.eyebrow-center { text-align: center; }

.section-title {
  font-size: clamp(24px, 2.6vw, 31px);
  text-align: center;
}
.section-title-left { text-align: left; }

/* =============================== HERO ============================== */
.hero {
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--hero-bg);
}
/* keeps the photo panel at the mockup's 1.5:1 ratio, so nothing gets cropped */
@media (min-width: 941px) {
  .hero { min-height: min(37vw, 600px); }
}

.hero-media {
  position: absolute;
  inset: 0 0 0 auto;
  width: 56%;
  max-width: 900px;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}
/* soft blend so the photo edge melts into the section background */
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--hero-bg) 0%, rgba(248, 249, 251, 0) 4%);
}

.hero-inner { position: relative; z-index: 1; }

.hero-text {
  max-width: 500px;
  padding: 52px 0 58px;
}

.hero h1 {
  font-size: clamp(32px, 4.1vw, 47px);
  font-weight: 800;
  letter-spacing: -.028em;
  line-height: 1.13;
}

.hero .lead {
  max-width: 434px;
  margin-top: 20px;
  font-size: 16.5px;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
}

/* ========================== WHY CHOOSE US ========================== */
.why {
  padding: clamp(44px, 5.4vw, 66px) 0;
  background: var(--white);
}
.why .section-title { margin-bottom: clamp(28px, 3.2vw, 40px); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-card {
  padding: 24px 22px 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: #d6e0f2;
  box-shadow: 0 10px 30px rgba(2, 18, 45, .1);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
}
.feature-icon svg { width: 29px; height: 29px; }

.feature-card h3 {
  margin-bottom: 8px;
  font-size: 16.5px;
  font-weight: 700;
}
.feature-card p {
  font-size: 14.5px;
  line-height: 1.62;
  color: var(--text-soft);
}

/* ========================= VENDOR SERVICES ========================= */
.services {
  padding: clamp(44px, 5.4vw, 68px) 0;
  background: var(--section-alt);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
}

.services-media {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
/* the frame each photo slides up out of */
.services-media .image-reveal {
  aspect-ratio: 19 / 25;   /* the mockup's 152 × 200 tile */
  overflow: hidden;
  border-radius: 6px;
}
.services-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services-text .section-title { margin-bottom: 16px; }

.services-lead {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--text-soft);
}

.check-list {
  display: grid;
  gap: 13px;
  margin-top: 22px;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-soft);
}
.check-list svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  color: var(--blue);
}
.check-list strong { color: var(--navy); font-weight: 700; }

/* ------------------------ trusted-vendor banner -------------------- */
.banner {
  display: grid;
  grid-template-columns: 1.62fr 1fr;
  align-items: center;
  gap: 34px;
  margin-top: 48px;
  padding: 30px 36px;
  border-radius: var(--radius);
  background: var(--blue-deep);
  color: var(--white);
}

.banner-main {
  display: flex;
  align-items: center;
  gap: 24px;
}
.banner-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  color: var(--blue-deep);
}
.banner-icon svg { width: 32px; height: 32px; }
.banner-main p {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.48;
}

.banner-aside {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-left: 34px;
  border-left: 1px solid rgba(255, 255, 255, .28);
}
.banner-doc { flex: 0 0 auto; color: var(--white); }
.banner-doc svg { width: 30px; height: 30px; }
.banner-aside p {
  font-size: 13.5px;
  line-height: 1.62;
  color: rgba(255, 255, 255, .93);
}

/* ============================== STATS ============================== */
.stats {
  padding: clamp(40px, 4.4vw, 56px) 0;
  background: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.stat {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 6px 30px;
}
.stat + .stat { border-left: 1px solid var(--line); }

.stat-icon {
  flex: 0 0 auto;
  color: var(--blue);
}
.stat-icon svg { width: 64px; height: 64px; }
.stat-icon-lg svg { width: 72px; height: 72px; }

.stat-number {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.03em;
  color: var(--navy);
}
.stat-heading {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.28;
  color: var(--navy);
}
.stat-label {
  margin-top: 6px;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
}
.stat-desc {
  margin-top: 5px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}
.stat-heading + .stat-desc { margin-top: 9px; }

/* ========================== SCROLL REVEALS =========================
   These rules are scoped to .gsap-ready, a class the page only adds
   when GSAP actually loaded AND reduced motion is not requested.
   Without it every element below renders normally — no blank page if
   the CDN is blocked or the visitor is offline.
   =================================================================== */
.gsap-ready .hero .eyebrow,
.gsap-ready .hero h1,
.gsap-ready .hero .lead,
.gsap-ready .hero-actions,
.gsap-ready .hero-media,
.gsap-ready .why .eyebrow,
.gsap-ready .why .section-title,
.gsap-ready .feature-card,
.gsap-ready .services-text .eyebrow,
.gsap-ready .services-text .section-title,
.gsap-ready .services-lead,
.gsap-ready .check-list li,
.gsap-ready .banner,
.gsap-ready .stat { opacity: 0; }

.gsap-ready .services-media .image-reveal img { transform: translateY(120%); }

/* ============================ RESPONSIVE ===========================
   Breakpoints: 1280 · 1080 · 940 (hero stacks) · 780 · 620 · 480 · 380
   =================================================================== */

/* ---- large desktop: keep the banner from stretching too thin ------ */
@media (max-width: 1280px) {
  .banner { grid-template-columns: 1.5fr 1fr; padding: 28px 30px; }
  .banner-main p { font-size: 17px; }
  .stat { gap: 20px; padding: 6px 22px; }
}

@media (max-width: 1080px) {
  .hero-media { width: 50%; }

  .services-grid { gap: 40px; }
  .stat-icon svg { width: 56px; height: 56px; }
  .stat-icon-lg svg { width: 64px; height: 64px; }
  .stat-number { font-size: 34px; }
}

@media (max-width: 940px) {
  /* hero stacks */
  .hero-media {
    position: static;
    width: 100%;
    max-width: none;
    margin-top: 8px;
  }
  .hero-media img { height: auto; }
  .hero-media::after { display: none; }
  .hero-inner { padding-bottom: 0; }
  .hero-text { max-width: none; padding: 48px 0 26px; }
  .hero .lead { max-width: 560px; }

  .feature-grid { grid-template-columns: repeat(2, 1fr); }

  .services-grid { grid-template-columns: 1fr; gap: 34px; }
  .services-media .image-reveal { aspect-ratio: 4 / 3; }

  .banner { grid-template-columns: 1fr; gap: 24px; padding: 28px; }
  .banner-aside { padding-left: 0; padding-top: 22px; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .28); }

  .stats-grid { grid-template-columns: 1fr; gap: 26px; }
  .stat { padding: 0; }
  .stat + .stat { padding-top: 26px; border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------------------- small tablet / phablet -------------------- */
@media (max-width: 780px) {
  .hero-actions { gap: 12px; }
  .hero .lead { max-width: 100%; }

  .banner-main { gap: 18px; }
  .banner-main p { font-size: 16.5px; }

  .stat-icon svg { width: 54px; height: 54px; }
  .stat-icon-lg svg { width: 60px; height: 60px; }
}

/* ----------------------------- phones ----------------------------- */
@media (max-width: 620px) {
  .hero-text { padding: 34px 0 22px; }
  .hero-actions .btn { flex: 1 1 100%; }

  .feature-grid { grid-template-columns: 1fr; gap: 14px; }
  .feature-card { padding: 20px 18px 22px; }

  .services-media { grid-template-columns: 1fr; gap: 10px; }
  .services-media .image-reveal { aspect-ratio: 16 / 10; }

  .banner { padding: 24px 22px; }
  .banner-main { flex-direction: column; align-items: flex-start; gap: 16px; }
  .banner-main p { font-size: 16px; }
  .banner-icon { width: 50px; height: 50px; }
  .banner-icon svg { width: 28px; height: 28px; }

  .stat { gap: 18px; }
}

/* -------------------------- small phones -------------------------- */
@media (max-width: 480px) {
  .eyebrow { font-size: 11.5px; letter-spacing: .11em; }
  .hero h1 { letter-spacing: -.022em; }
  .hero .lead { font-size: 15.5px; }

  .check-list li { font-size: 14px; }
  .banner-aside { gap: 14px; }

  .stat { align-items: flex-start; }
  .stat-number { font-size: 30px; }
  .stat-heading { font-size: 17.5px; }
}

/* --------------- very narrow (iPhone SE and similar) -------------- */
@media (max-width: 380px) {
  .stat { flex-direction: column; align-items: flex-start; gap: 14px; }
  .stat-icon svg,
  .stat-icon-lg svg { width: 50px; height: 50px; }

  .banner { padding: 20px 18px; }
}

/* ------------------- phone held on its side ----------------------- */
@media (max-width: 940px) and (orientation: landscape) and (max-height: 520px) {
  .hero-text { padding: 26px 0 18px; }
}

/* --------------------- reduced-motion respect --------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .btn:hover,
  .feature-card:hover { transform: none; }
}
