/* ═══════════════════════════════════════════════════════════════
   RIGHTTRACK BILLING — styles.css  (v2 — Premium Polish)
   Structure: Variables → Reset → Base → Utilities → Nav →
              Hero → Trust → Services → About → Contact → Footer → Responsive
   ═══════════════════════════════════════════════════════════════ */

/* ── 1. CSS CUSTOM PROPERTIES ─────────────────────────────────── */
:root {
  /* Brand Palette */
  --navy:         #0d2137;
  --navy-mid:     #163352;
  --blue:         #1e78c2;
  --blue-bright:  #3b9de8;
  --blue-glow:    rgba(59, 157, 232, 0.18);
  --blue-tint:    #eaf4fd;
  --sky:          #7ec8f0;
  --white:        #ffffff;
  --off-white:    #f5f8fc;
  --gray-100:     #eef2f7;
  --gray-200:     #d8e3ee;
  --gray-400:     #8fa3b8;
  --gray-600:     #4d6478;
  --gray-800:     #1e2f3d;

  /* Typography */
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body:    'Outfit', system-ui, sans-serif;

  /* Spacing */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.75rem;
  --space-lg:  2.5rem;
  --space-xl:  5rem;
  --space-2xl: 8rem;

  /* Layout */
  --max-width:  1180px;
  --nav-height: 72px;

  /* Radii */
  --r-sm:  10px;
  --r-md:  18px;
  --r-lg:  28px;
  --r-xl:  40px;

  /* Shadows */
  --shadow-xs:  0 1px 4px rgba(13,33,55,0.07);
  --shadow-sm:  0 4px 16px rgba(13,33,55,0.09);
  --shadow-md:  0 10px 40px rgba(13,33,55,0.13);
  --shadow-lg:  0 24px 64px rgba(13,33,55,0.18);
  --shadow-xl:  0 40px 100px rgba(13,33,55,0.24);
  --glow:       0 0 60px rgba(59,157,232,0.25);

  /* Motion */
  --ease:     cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur:      0.3s;
}

/* ── 2. RESET ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; font-size: 16px; }
body { font-family: var(--font-body); color: var(--gray-800); background: var(--white); overflow-x: hidden; }
img  { display: block; max-width: 100%; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }

/* ── 3. UTILITIES ─────────────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* Reveal system */
.reveal, .scroll-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}
.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.22s; }
.reveal--delay-3 { transition-delay: 0.34s; }
.reveal.is-visible, .scroll-reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Eyebrow label */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: var(--space-sm);
}
.section-eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  flex-shrink: 0;
}

/* Section titles */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  color: var(--navy);
  line-height: 1.15;
  font-weight: 400;
}
.section-title em { font-style: italic; color: var(--blue); }

.section-header { text-align: center; max-width: 620px; margin: 0 auto var(--space-xl); }
.section-header .section-eyebrow { margin-left: auto; margin-right: auto; }

/* ── 4. BUTTONS ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2.1rem;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  transition: all var(--dur) var(--ease-out);
  white-space: nowrap;
  position: relative;
}

.btn--primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-bright) 100%);
  color: var(--white);
  box-shadow: 0 6px 24px rgba(30,120,194,0.38), 0 1px 2px rgba(0,0,0,0.08);
}
.btn--primary:hover {
  box-shadow: 0 10px 36px rgba(30,120,194,0.5), 0 2px 6px rgba(0,0,0,0.1);
  transform: translateY(-2px) scale(1.02);
}
.btn--primary:active { transform: translateY(0) scale(0.99); }

.btn--ghost {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid rgba(30,120,194,0.35);
}
.btn--ghost:hover {
  background: var(--blue-tint);
  border-color: var(--blue);
  transform: translateY(-2px);
}

.btn--full { width: 100%; }

/* ── 5. NAVIGATION ────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  transition: all 0.4s var(--ease);
}

.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.4s var(--ease);
}

/* Scrolled: floating glass pill */
.nav.is-scrolled {
  padding: 0 1.25rem;
}
.nav.is-scrolled .nav__inner {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border-radius: var(--r-xl);
  border: 1px solid rgba(255,255,255,0.75);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255,255,255,0.5);
  margin-top: 10px;
  height: calc(var(--nav-height) - 16px);
  padding: 0 var(--space-md);
}

.nav__logo-img {
  height: 38px;
  width: auto;
  border-radius: var(--r-sm);
  object-fit: cover;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}
.nav__links li > a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: color var(--dur);
  padding: 0.3rem 0;
  position: relative;
}
.nav__links li > a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform var(--dur) var(--ease-out);
  transform-origin: left;
}
.nav__links li > a:hover { color: var(--navy); }
.nav__links li > a:hover::after { transform: scaleX(1); }

.nav__cta {
  background: linear-gradient(135deg, var(--blue), var(--blue-bright)) !important;
  color: var(--white) !important;
  padding: 0.55rem 1.5rem !important;
  border-radius: 100px !important;
  box-shadow: 0 4px 16px rgba(30,120,194,0.3) !important;
  transition: all var(--dur) var(--ease-out) !important;
}
.nav__cta::after { display: none !important; }
.nav__cta:hover {
  box-shadow: 0 6px 24px rgba(30,120,194,0.45) !important;
  transform: translateY(-1px) !important;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav__hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--dur);
}

.nav__mobile {
  display: none;
  flex-direction: column;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  padding: var(--space-sm) var(--space-lg) var(--space-md);
  border-top: 1px solid var(--gray-100);
  box-shadow: var(--shadow-md);
}
.nav__mobile.is-open { display: flex; }
.nav__mobile-link {
  padding: 0.75rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-800);
  border-bottom: 1px solid var(--gray-100);
  transition: color var(--dur);
}
.nav__mobile-link:last-child { border-bottom: none; }
.nav__mobile-link:hover { color: var(--blue); }

/* ── 6. HERO ──────────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  padding-top: var(--nav-height);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-xl);
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--space-lg);
  padding-right: var(--space-lg);
  padding-bottom: var(--space-2xl);
  position: relative;
}

/* Mesh gradient background */
.hero::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 60% at 72% -10%, rgba(59,157,232,0.14) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 8% 85%,  rgba(30,120,194,0.07) 0%, transparent 55%),
    linear-gradient(180deg, #eef6ff 0%, #f8fbff 40%, #ffffff 70%);
}

/* Grid dots texture */
.hero::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(circle, rgba(30,120,194,0.07) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(ellipse 90% 70% at 60% 20%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 60% 20%, black 20%, transparent 75%);
}

.hero__content { z-index: 1; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: var(--space-md);
  padding: 0.45rem 1rem 0.45rem 0.75rem;
  background: rgba(30,120,194,0.07);
  border: 1px solid rgba(30,120,194,0.18);
  border-radius: 100px;
}
.hero__eyebrow::before {
  content: '';
  display: block;
  width: 7px; height: 7px;
  background: var(--blue-bright);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--blue-bright);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.65); }
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.5vw, 4.8rem);
  color: var(--navy);
  line-height: 1.07;
  font-weight: 400;
  margin-bottom: var(--space-md);
  letter-spacing: -0.01em;
}
.hero__headline em {
  font-style: italic;
  background: linear-gradient(135deg, var(--blue) 20%, var(--sky) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__sub {
  font-size: 1.12rem;
  line-height: 1.78;
  color: var(--gray-600);
  max-width: 430px;
  margin-bottom: var(--space-lg);
}

.hero__actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

/* Floating card visual */
.hero__card-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 420px;
  z-index: 1;
}

/* Glow beneath cards */
.hero__card-wrap::before {
  content: '';
  position: absolute;
  width: 360px; height: 180px;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(59,157,232,0.28) 0%, transparent 65%);
  filter: blur(32px);
  z-index: 0;
}

.hero__card {
  position: absolute;
  width: 370px;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-xl);
  transition: transform 0.75s var(--ease-out), box-shadow 0.75s var(--ease-out);
  z-index: 1;
}
.hero__card--front {
  transform: rotate(-5deg) translate(-20px, -10px);
  z-index: 2;
}
.hero__card--back {
  transform: rotate(4deg) translate(20px, 10px);
  z-index: 1;
  box-shadow: var(--shadow-lg);
}
.hero__card-wrap:hover .hero__card--front {
  transform: rotate(-9deg) translate(-32px, -16px) scale(1.03);
  box-shadow: var(--shadow-xl), var(--glow);
}
.hero__card-wrap:hover .hero__card--back {
  transform: rotate(7deg) translate(32px, 16px) scale(1.02);
}

/* ── 7. TRUST BAR ─────────────────────────────────────────────── */
.trust-bar {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: var(--space-lg) 0;
  position: relative;
  overflow: hidden;
}
.trust-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 28px 28px;
}

.trust-bar__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xl);
  position: relative;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  text-align: center;
}
.trust-item__number {
  font-family: var(--font-display);
  font-size: 2.1rem;
  color: var(--white);
  line-height: 1;
}
.trust-item__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--sky);
  opacity: 0.8;
}

.trust-divider {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.15), transparent);
}

/* ── 8. SERVICES ──────────────────────────────────────────────── */
.services {
  padding: var(--space-2xl) 0;
  background: var(--off-white);
  position: relative;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
  gap: 1.2rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--r-md);
  padding: var(--space-lg);
  border: 1px solid var(--gray-200);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.3s;
  position: relative;
  overflow: hidden;
  cursor: default;
}

/* Top accent on hover */
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: var(--space-lg); right: var(--space-lg);
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--sky));
  border-radius: 0 0 3px 3px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card__icon {
  width: 50px; height: 50px;
  background: linear-gradient(135deg, var(--blue-tint), #d0eafc);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  color: var(--blue);
  transition: background 0.35s var(--ease-out), transform 0.35s var(--ease-out), color 0.2s;
}
.service-card:hover .service-card__icon {
  background: linear-gradient(135deg, var(--blue), var(--blue-bright));
  color: var(--white);
  transform: scale(1.1) rotate(-4deg);
}
.service-card__icon svg { width: 23px; height: 23px; }

.service-card h3 {
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.55rem;
  line-height: 1.3;
}
.service-card p {
  font-size: 0.87rem;
  line-height: 1.72;
  color: var(--gray-600);
}

/* ── 9. ABOUT ─────────────────────────────────────────────────── */
.about {
  padding: var(--space-2xl) 0;
  background: var(--white);
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.about__visual {
  display: flex;
  justify-content: center;
}

.about__img-wrap {
  position: relative;
  width: 100%;
  max-width: 490px;
}

.about__img-wrap::before {
  content: '';
  position: absolute;
  inset: 28px -28px -28px 28px;
  background: linear-gradient(135deg, var(--blue-tint), #cce7fb);
  border-radius: var(--r-lg);
  z-index: 0;
}

.about__img-wrap::after {
  content: '';
  position: absolute;
  width: 110px; height: 110px;
  bottom: -14px; left: -14px;
  background-image: radial-gradient(circle, var(--blue) 1.5px, transparent 1.5px);
  background-size: 14px 14px;
  opacity: 0.25;
  z-index: 2;
  border-radius: var(--r-sm);
}

.about__img {
  width: 100%;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xl);
  position: relative;
  z-index: 1;
}

.about__copy { max-width: 520px; }

.about__body {
  font-size: 1.06rem;
  line-height: 1.82;
  color: var(--gray-600);
  margin-bottom: var(--space-md);
}
.about__body strong { color: var(--navy); font-weight: 600; }

/* Pull quote */
.about__callout {
  background: linear-gradient(140deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--r-md);
  padding: var(--space-md) var(--space-lg);
  margin-bottom: var(--space-lg);
  position: relative;
  overflow: hidden;
}
.about__callout::before {
  content: '\201C';
  position: absolute;
  top: -16px; left: 14px;
  font-family: var(--font-display);
  font-size: 8rem;
  color: rgba(255,255,255,0.05);
  line-height: 1;
  pointer-events: none;
}
.about__callout p {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--white);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* ── 10. CONTACT ──────────────────────────────────────────────── */
.contact {
  padding: var(--space-2xl) 0;
  background: var(--off-white);
}

.contact__sub {
  margin-top: var(--space-sm);
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.72;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.55fr;
  gap: var(--space-lg);
  align-items: start;
}

/* Info panel — dark */
.contact-info {
  background: linear-gradient(155deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--r-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.contact-info::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,157,232,0.18) 0%, transparent 65%);
  pointer-events: none;
}
.contact-info::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -40px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,157,232,0.08) 0%, transparent 65%);
  pointer-events: none;
}

.contact-info__heading {
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--white);
  margin-bottom: var(--space-md);
  font-weight: 400;
}

.contact-info__item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: transform var(--dur) var(--ease-out);
}
.contact-info__item:last-child { border-bottom: none; }
.contact-info__item:hover { transform: translateX(5px); }
.contact-info__item:hover .contact-info__icon {
  background: rgba(59,157,232,0.3);
  color: var(--white);
}

.contact-info__icon {
  width: 48px; height: 48px; min-width: 48px;
  background: rgba(255,255,255,0.07);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sky);
  transition: background var(--dur), color var(--dur);
}
.contact-info__icon svg { width: 20px; height: 20px; }

.contact-info__label {
  display: block;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sky);
  opacity: 0.65;
  margin-bottom: 3px;
}
.contact-info__value {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--white);
}

/* Form panel */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
}
/* Color bar at top */
.contact-form-wrap::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--sky), var(--blue));
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
}
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.contact-form__heading {
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--navy);
  margin-bottom: var(--space-md);
  font-weight: 400;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.form-group { margin-bottom: var(--space-sm); }
.form-group label {
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--gray-600);
  margin-bottom: 0.45rem;
  letter-spacing: 0.03em;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.82rem 1.1rem;
  background: var(--gray-100);
  border: 1.5px solid transparent;
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: 0.93rem;
  color: var(--gray-800);
  transition: all var(--dur) var(--ease);
  outline: none;
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-400); }
.form-group input:focus,
.form-group textarea:focus {
  background: var(--white);
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(30,120,194,0.1);
}

/* Success state */
.contact-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  gap: var(--space-sm);
  min-height: 420px;
}
.contact-success.is-visible { display: flex; }

.contact-success__icon {
  width: 84px; height: 84px;
  background: linear-gradient(135deg, var(--blue-tint), #cce7fa);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  margin-bottom: var(--space-sm);
  box-shadow: 0 0 0 14px rgba(30,120,194,0.06);
}
.contact-success__icon svg { width: 42px; height: 42px; }
.contact-success h3 {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--navy);
  font-weight: 400;
}
.contact-success p {
  font-size: 0.96rem;
  color: var(--gray-600);
  line-height: 1.76;
  max-width: 340px;
}

/* ── 11. FOOTER ───────────────────────────────────────────────── */
.footer {
  background: var(--navy);
  padding: var(--space-xl) 0 var(--space-lg);
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  top: -140px; right: -140px;
  width: 440px; height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,157,232,0.07) 0%, transparent 60%);
  pointer-events: none;
}
.footer::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -60px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,157,232,0.05) 0%, transparent 60%);
  pointer-events: none;
}

.footer__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.footer__logo {
  height: 44px;
  width: auto;
  border-radius: var(--r-sm);
  object-fit: cover;
  margin-bottom: var(--space-xs);
}
.footer__brand p {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.38);
  margin-top: 0.45rem;
}
.footer__tagline {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.4rem;
  max-width: 210px;
  line-height: 1.65;
}

.footer__nav {
  display: flex;
  gap: var(--space-xl);
  flex-wrap: wrap;
}
.footer__nav-col h4 {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sky);
  opacity: 0.65;
  margin-bottom: var(--space-sm);
}
.footer__nav-col a {
  display: block;
  font-size: 0.87rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.6rem;
  transition: color var(--dur);
}
.footer__nav-col a:hover { color: var(--white); }

.footer__divider {
  height: 1px;
  background: rgba(255,255,255,0.06);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
}
.footer__copy {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.28);
}

/* ── 12. RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: calc(var(--nav-height) + var(--space-lg));
    padding-bottom: var(--space-xl);
    text-align: center;
  }
  .hero__sub    { margin: 0 auto var(--space-lg); }
  .hero__actions { justify-content: center; }
  .hero__card-wrap { height: 300px; order: -1; }
  .hero__card   { width: 270px; }
  .hero__eyebrow { margin-left: auto; margin-right: auto; }

  .about__inner { grid-template-columns: 1fr; gap: var(--space-xl); }
  .about__visual { order: -1; }
  .about__copy  { max-width: 100%; }

  .contact__grid { grid-template-columns: 1fr; }

  .nav__links     { display: none; }
  .nav__hamburger { display: flex; }

  .trust-bar__inner { gap: var(--space-lg); }
  .footer__top { flex-direction: column; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 640px) {
  :root { --space-lg: 1.5rem; --space-xl: 3.5rem; --space-2xl: 5.5rem; }
  .trust-bar__inner { flex-direction: column; gap: var(--space-sm); }
  .trust-divider  { width: 40px; height: 1px; background: rgba(255,255,255,0.12); }
  .services__grid { grid-template-columns: 1fr; }
  .hero__card     { width: 210px; }
  .hero__card-wrap { height: 240px; }
  .form-row       { grid-template-columns: 1fr; }
  .footer__nav    { gap: var(--space-lg); }
}
