/* ===========================================
   RAPID LANE GLOBAL LOGISTICS — Design System v2
   Built for: elegance, motion, professional presence
   =========================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500;9..144,600;9..144,700;9..144,800;9..144,900&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Brand colors — pulled directly from the logo */
  --navy: #0b2a4a;
  --navy-deep: #061a2e;
  --navy-soft: #1a3a5c;
  --navy-line: #2a4a6f;
  --red: #c8202e;
  --red-deep: #a01824;
  --red-soft: #d94a55;
  --white: #ffffff;
  --cream: #f7f5f0;
  --cream-deep: #efece5;
  --ash: #e0ddd6;
  --stone: #9b9690;
  --ink: #1a1a1a;
  --ink-soft: #3a3a3a;

  /* Typography */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Layout */
  --max-w: 1280px;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Shadow */
  --shadow-sm: 0 2px 12px -2px rgba(11, 42, 74, 0.08);
  --shadow-md: 0 20px 40px -20px rgba(11, 42, 74, 0.2);
  --shadow-lg: 0 40px 80px -30px rgba(11, 42, 74, 0.3);
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

::selection { background: var(--red); color: var(--white); }

/* ===========================================
   TYPOGRAPHY
   =========================================== */

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--navy);
  font-variation-settings: "opsz" 100;
}

h1 {
  font-size: clamp(2.75rem, 7vw, 6rem);
  font-weight: 600;
  letter-spacing: -0.035em;
}
h2 { font-size: clamp(2rem, 4.8vw, 4rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2.1rem); font-weight: 600; }
h4 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); font-weight: 600; }

p { font-size: clamp(1rem, 1.1vw, 1.075rem); color: var(--ink-soft); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--navy);
  opacity: 0.8;
  margin-bottom: 1.5rem;
}
.eyebrow::before {
  content: '';
  width: 2.2rem;
  height: 2px;
  background: var(--red);
}
.section-navy .eyebrow, .hero .eyebrow, .page-header .eyebrow {
  color: rgba(255, 255, 255, 0.75);
}

.serif-italic {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-variation-settings: "opsz" 144;
}

.lead {
  font-size: clamp(1.1rem, 1.4vw, 1.25rem);
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 60ch;
}

/* ===========================================
   LAYOUT PRIMITIVES
   =========================================== */

.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 980px; margin: 0 auto; padding: 0 var(--gutter); }

section { padding: clamp(5rem, 10vw, 9rem) 0; position: relative; }

.section-light { background: var(--cream); }
.section-white { background: var(--white); }
.section-navy { background: var(--navy); color: var(--cream); position: relative; overflow: hidden; }
.section-navy::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(200, 32, 46, 0.08), transparent 70%),
    radial-gradient(ellipse 60% 60% at 0% 100%, rgba(26, 58, 92, 0.6), transparent 70%);
  pointer-events: none;
}
.section-navy > * { position: relative; z-index: 1; }
.section-navy h1, .section-navy h2, .section-navy h3, .section-navy h4 { color: var(--white); }
.section-navy p { color: rgba(255,255,255,0.78); }

/* Section dividers */
.section-divider {
  position: relative;
  height: 1px;
  background: var(--ash);
  max-width: var(--max-w);
  margin: 0 auto;
}

/* ===========================================
   ANNOUNCEMENT BAR
   =========================================== */

.announce {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  padding: 0.6rem 1rem;
  text-align: center;
}
.announce strong { color: var(--white); font-weight: 600; }
.announce a { color: var(--red-soft); margin-left: 0.5rem; text-decoration: underline; text-underline-offset: 3px; }
.announce a:hover { color: var(--white); }
@media (max-width: 600px) { .announce { font-size: 0.75rem; } }

/* ===========================================
   NAV
   =========================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 245, 240, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--ash);
  transition: all 0.3s var(--ease);
}
.nav.scrolled { background: rgba(247, 245, 240, 0.97); box-shadow: var(--shadow-sm); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem var(--gutter);
  max-width: var(--max-w);
  margin: 0 auto;
}
.nav-logo { display: flex; align-items: center; gap: 0.7rem; flex-shrink: 0; padding: 4px 0; }
.nav-logo img { height: 56px; width: auto; transition: transform 0.3s var(--ease); display: block; }
.nav-logo:hover img { transform: scale(1.04); }

.nav-links {
  display: flex;
  gap: 2.3rem;
  align-items: center;
  list-style: none;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--navy);
  position: relative;
  padding: 0.4rem 0;
  transition: color 0.2s var(--ease);
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--red);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover { color: var(--red); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--red); }

.nav-cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: 100px;
  transition: all 0.25s var(--ease) !important;
  font-weight: 500;
}
.nav-cta:hover {
  background: var(--red);
  transform: translateY(-1px);
  box-shadow: 0 10px 25px -10px rgba(200, 32, 46, 0.6);
}
.nav-cta::after { display: none !important; }

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 24px;
  position: relative;
  z-index: 200;
}
.mobile-toggle span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: var(--navy);
  transition: 0.35s var(--ease);
  border-radius: 2px;
}
.mobile-toggle span:nth-child(1) { top: 2px; }
.mobile-toggle span:nth-child(2) { top: 11px; width: 70%; }
.mobile-toggle span:nth-child(3) { top: 20px; }
.mobile-toggle.open span:nth-child(1) { transform: rotate(45deg); top: 11px; }
.mobile-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-toggle.open span:nth-child(3) { transform: rotate(-45deg); top: 11px; width: 100%; }

@media (max-width: 980px) {
  .mobile-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(100%, 380px);
    background: var(--cream);
    flex-direction: column;
    padding: 6rem 2rem 2rem;
    gap: 1.8rem;
    transform: translateX(100%);
    transition: transform 0.5s var(--ease);
    align-items: flex-start;
    border-left: 1px solid var(--ash);
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.2rem; }
  .nav-cta { padding: 0.9rem 1.8rem !important; }
}

/* ===========================================
   BUTTONS
   =========================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 1.05rem 1.9rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--red-deep);
  transform: translateY(-2px);
  box-shadow: 0 15px 35px -10px rgba(200, 32, 46, 0.5);
}
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-ghost:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-ghost-light {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-ghost-light:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn-light {
  background: var(--white);
  color: var(--navy);
}
.btn-light:hover {
  background: var(--cream);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-arrow {
  display: inline-block;
  transition: transform 0.3s var(--ease);
}
.btn:hover .btn-arrow { transform: translateX(5px); }

/* ===========================================
   HERO
   =========================================== */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 9rem 0 7rem;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}

/* When hero contains video-bg, hide the decorative pseudo-elements (video-bg takes over) */
.hero:has(.video-bg)::before,
.hero:has(.video-bg)::after { display: none; }

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(200, 32, 46, 0.2), transparent 60%),
    radial-gradient(ellipse 60% 50% at 100% 100%, rgba(26, 58, 92, 0.7), transparent 70%),
    radial-gradient(ellipse 50% 40% at 0% 50%, rgba(11, 42, 74, 0.6), transparent 60%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

/* Decorative road-stripe element */
.hero-road {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    transparent 0,
    transparent 40px,
    var(--red) 40px,
    var(--red) 80px
  );
  opacity: 0.4;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.8rem;
  letter-spacing: -0.04em;
}
.hero h1 .accent {
  color: var(--red);
  font-style: italic;
  font-weight: 400;
  font-variation-settings: "opsz" 144;
}
.hero-sub {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: rgba(255,255,255,0.78);
  max-width: 580px;
  margin-bottom: 2.5rem;
  line-height: 1.65;
}
.hero-cta-row { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 3rem;
  padding: 2.8rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  backdrop-filter: blur(10px);
  position: relative;
}
.hero-stats::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px;
  width: 30px; height: 30px;
  border-top: 2px solid var(--red);
  border-left: 2px solid var(--red);
}
.hero-stats::after {
  content: '';
  position: absolute;
  bottom: -1px; right: -1px;
  width: 30px; height: 30px;
  border-bottom: 2px solid var(--red);
  border-right: 2px solid var(--red);
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 3.8vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.04em;
}
.stat-num .unit { color: var(--red); font-style: italic; font-weight: 400; }
.stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

/* Hero entry animation */
.hero h1, .hero-sub, .hero-cta-row, .hero-stats, .hero .eyebrow {
  opacity: 0;
  transform: translateY(30px);
  animation: rise 1s var(--ease) forwards;
}
.hero .eyebrow { animation-delay: 0.1s; }
.hero h1 { animation-delay: 0.25s; }
.hero-sub { animation-delay: 0.45s; }
.hero-cta-row { animation-delay: 0.6s; }
.hero-stats { animation-delay: 0.75s; }

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

/* Marquee */
.marquee {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.5);
  padding: 1.5rem 0;
  overflow: hidden;
  position: relative;
}
.marquee-track {
  display: flex;
  gap: 4rem;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
}
.marquee-item {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  display: flex;
  align-items: center;
  gap: 4rem;
  flex-shrink: 0;
}
.marquee-item::after {
  content: '◆';
  color: var(--red);
  font-style: normal;
  font-size: 0.7rem;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ===========================================
   PAGE HEADERS
   =========================================== */

.page-header {
  background: var(--navy);
  color: var(--white);
  padding: 9rem 0 6rem;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 80% 50%, rgba(200, 32, 46, 0.15), transparent 70%),
    radial-gradient(ellipse 70% 50% at 20% 100%, rgba(26, 58, 92, 0.6), transparent 70%);
}
.page-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.page-header .wrap { position: relative; z-index: 2; }
.page-header h1 { color: var(--white); max-width: 950px; }
.page-header h1 .accent { color: var(--red); font-style: italic; font-weight: 400; }
.page-header p {
  color: rgba(255,255,255,0.78);
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  max-width: 660px;
  margin-top: 1.5rem;
}

.breadcrumb {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}
.breadcrumb a { color: rgba(255,255,255,0.85); transition: color 0.2s var(--ease); }
.breadcrumb a:hover { color: var(--red-soft); }
.breadcrumb span { margin: 0 0.6rem; opacity: 0.5; }

/* ===========================================
   SECTION HEADER
   =========================================== */

.section-header {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  margin-bottom: 4rem;
  align-items: end;
}
@media (max-width: 800px) {
  .section-header { grid-template-columns: 1fr; gap: 1.5rem; }
}
.section-header h2 { max-width: 14ch; }
.section-header p { max-width: 560px; }

/* ===========================================
   SERVICES GRID
   =========================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  padding: 2.5rem 2.2rem;
  border-radius: 6px;
  border: 1px solid var(--ash);
  position: relative;
  transition: all 0.4s var(--ease);
  overflow: hidden;
  cursor: default;
}
.service-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  height: 3px;
  width: 100%;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(200, 32, 46, 0.04) 100%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover::after { opacity: 1; }

.service-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 1.6rem;
  color: var(--red);
  transition: transform 0.4s var(--ease-out-back);
}
.service-card:hover .service-icon { transform: scale(1.1) rotate(-3deg); }

.service-card h3 {
  font-size: 1.45rem;
  margin-bottom: 0.8rem;
}
.service-card p { font-size: 0.95rem; line-height: 1.6; }
.service-num {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  font-style: italic;
  color: var(--stone);
  letter-spacing: 0.1em;
}

/* ===========================================
   PROCESS / STEPS
   =========================================== */

.process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.process-step {
  position: relative;
  padding-top: 2.5rem;
  border-top: 1px solid var(--ash);
  transition: all 0.4s var(--ease);
}
.section-navy .process-step { border-color: rgba(255,255,255,0.15); }

.process-step::before {
  content: '';
  position: absolute;
  top: -1px; left: 0;
  width: 40px;
  height: 2px;
  background: var(--red);
  transition: width 0.4s var(--ease);
}
.process-step:hover::before { width: 80px; }

.process-num {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
  display: block;
}
.process-step h4 { margin-bottom: 0.8rem; }
.process-step p { font-size: 0.93rem; line-height: 1.65; }

/* ===========================================
   FEATURES / VALUES
   =========================================== */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem 3rem;
}
.feature {
  display: flex;
  gap: 1.3rem;
  align-items: flex-start;
  transition: transform 0.3s var(--ease);
}
.feature:hover { transform: translateX(4px); }
.feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--red);
  border-radius: 4px;
  display: grid;
  place-items: center;
  color: var(--white);
  position: relative;
}
.feature-icon::after {
  content: '';
  position: absolute;
  inset: -4px;
  border: 1px solid var(--red);
  border-radius: 6px;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.feature:hover .feature-icon::after { opacity: 0.3; }
.feature h4 { margin-bottom: 0.5rem; font-size: 1.15rem; }
.feature p { font-size: 0.95rem; }

/* ===========================================
   SPLIT / IMAGE STORY
   =========================================== */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 3rem; } }

.split-visual {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--navy);
  border-radius: 6px;
  overflow: hidden;
}
.split-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 30%, rgba(200, 32, 46, 0.25) 100%),
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.1), transparent 50%);
}
.split-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}
.split-visual-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 3rem;
  z-index: 2;
}
.split-visual .big-num {
  font-family: var(--font-display);
  font-size: clamp(5rem, 11vw, 10rem);
  font-weight: 700;
  color: var(--white);
  line-height: 0.85;
  letter-spacing: -0.05em;
}
.split-visual .big-num .accent { color: var(--red); font-style: italic; font-weight: 400; }
.split-visual .visual-label {
  color: rgba(255,255,255,0.75);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  max-width: 280px;
  line-height: 1.6;
}

.split h2 { margin-bottom: 1.5rem; }
.split p { margin-bottom: 1.2rem; line-height: 1.7; }
.split p:last-of-type { margin-bottom: 2rem; }

/* ===========================================
   TESTIMONIALS
   =========================================== */

.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.testimonial {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 6px;
  position: relative;
  border: 1px solid var(--ash);
  transition: all 0.4s var(--ease);
}
.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.testimonial::before {
  content: '"';
  position: absolute;
  top: -8px; left: 1.8rem;
  font-family: var(--font-display);
  font-size: 5.5rem;
  color: var(--red);
  line-height: 1;
  font-weight: 800;
}
.testimonial-text {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-variation-settings: "opsz" 144;
  font-size: 1.18rem;
  line-height: 1.5;
  color: var(--navy);
  margin-bottom: 2rem;
}
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.author-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}
.author-name { font-weight: 600; font-size: 0.98rem; color: var(--navy); }
.author-role { font-size: 0.82rem; color: var(--stone); }

/* Star rating */
.stars { color: var(--red); margin-bottom: 1rem; letter-spacing: 0.2em; font-size: 0.85rem; }

/* ===========================================
   CTA BANNER
   =========================================== */

.cta-banner-wrap { padding: 0 var(--gutter) 5rem; }
.cta-banner {
  background: var(--navy);
  color: var(--white);
  padding: clamp(4rem, 7vw, 6rem);
  max-width: var(--max-w);
  margin: 0 auto;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 90% 50%, rgba(200, 32, 46, 0.3), transparent 60%),
    radial-gradient(circle at 0% 100%, rgba(26, 58, 92, 0.7), transparent 60%);
}
.cta-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at right center, black 30%, transparent 80%);
}
.cta-banner-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 800px) { .cta-banner-inner { grid-template-columns: 1fr; } }
.cta-banner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-banner h2 .accent { color: var(--red); font-style: italic; font-weight: 400; }
.cta-banner p { color: rgba(255,255,255,0.75); margin-bottom: 0; }
.cta-banner-actions { display: flex; flex-direction: column; gap: 1rem; }

/* ===========================================
   FORMS
   =========================================== */

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.form-group { margin-bottom: 1.25rem; display: flex; flex-direction: column; }
.form-group label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.6rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.95rem 1.1rem;
  background: var(--white);
  border: 1px solid var(--ash);
  border-radius: 4px;
  color: var(--ink);
  transition: all 0.2s var(--ease);
  width: 100%;
}
.form-group textarea { min-height: 140px; resize: vertical; font-family: var(--font-body); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(200, 32, 46, 0.1);
}

.form-success {
  display: none;
  padding: 1.5rem;
  background: #e8f5e9;
  border-left: 3px solid #2e7d32;
  border-radius: 4px;
  color: #1b5e20;
  margin-top: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
}
.form-success.show { display: block; animation: rise 0.5s var(--ease); }

/* ===========================================
   FAQ
   =========================================== */

.faq-list { max-width: 880px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--ash);
}
.faq-item summary {
  cursor: pointer;
  padding: 1.8rem 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  transition: color 0.3s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--red); }
.faq-toggle {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--cream);
  display: grid;
  place-items: center;
  transition: all 0.4s var(--ease);
  position: relative;
}
.faq-toggle::before, .faq-toggle::after {
  content: '';
  position: absolute;
  background: var(--navy);
  transition: all 0.4s var(--ease);
}
.faq-toggle::before { width: 14px; height: 2px; }
.faq-toggle::after { width: 2px; height: 14px; }
.faq-item[open] .faq-toggle { background: var(--red); transform: rotate(180deg); }
.faq-item[open] .faq-toggle::before, .faq-item[open] .faq-toggle::after { background: var(--white); }
.faq-item[open] .faq-toggle::after { transform: rotate(90deg); }
.faq-answer {
  padding: 0 0 1.8rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 85%;
  animation: rise 0.5s var(--ease);
}

/* ===========================================
   PRICING
   =========================================== */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 4rem;
}
.price-card {
  background: var(--white);
  border: 1px solid var(--ash);
  padding: 2.8rem 2.5rem;
  border-radius: 6px;
  position: relative;
  transition: all 0.4s var(--ease);
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.price-card.featured {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  transform: scale(1.04);
  box-shadow: var(--shadow-lg);
}
.price-card.featured:hover { transform: scale(1.04) translateY(-6px); }
.price-card.featured h3, .price-card.featured .price-amount { color: var(--white); }
.price-card.featured .price-feat { color: rgba(255,255,255,0.88); }
.price-card.featured .price-feat::before { background: var(--red); }
.price-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: var(--white);
  padding: 0.4rem 1.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 100px;
  white-space: nowrap;
}
.price-card h3 { margin-bottom: 0.5rem; }
.price-desc { font-size: 0.92rem; color: var(--stone); margin-bottom: 1.5rem; min-height: 2.7rem; }
.price-card.featured .price-desc { color: rgba(255,255,255,0.6); }
.price-amount {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.3rem;
  letter-spacing: -0.03em;
}
.price-amount .pct { color: var(--red); font-style: italic; font-weight: 400; }
.price-period { font-size: 0.85rem; color: var(--stone); margin-bottom: 2rem; }
.price-card.featured .price-period { color: rgba(255,255,255,0.6); }
.price-features { list-style: none; margin-bottom: 2rem; }
.price-feat {
  padding: 0.75rem 0 0.75rem 1.8rem;
  font-size: 0.93rem;
  position: relative;
  border-bottom: 1px solid var(--ash);
}
.price-card.featured .price-feat { border-color: rgba(255,255,255,0.12); }
.price-feat::before {
  content: '';
  position: absolute;
  left: 0; top: 1.1rem;
  width: 8px; height: 8px;
  background: var(--red);
  transform: rotate(45deg);
}
.price-feat:last-child { border-bottom: none; }

/* ===========================================
   CONTACT
   =========================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; gap: 3rem; } }

.contact-info { padding-right: 2rem; }
.contact-info h2 { margin-bottom: 1.5rem; }
.contact-info > p { margin-bottom: 3rem; }

.contact-item {
  padding: 1.6rem 0;
  border-top: 1px solid var(--ash);
  display: flex;
  gap: 1.3rem;
  align-items: flex-start;
  transition: padding 0.3s var(--ease);
}
.contact-item:last-child { border-bottom: 1px solid var(--ash); }
.contact-item:hover { padding-left: 0.5rem; }
.contact-item-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  background: var(--cream-deep);
  border-radius: 4px;
  display: grid;
  place-items: center;
  color: var(--red);
  transition: all 0.3s var(--ease);
}
.contact-item:hover .contact-item-icon { background: var(--red); color: var(--white); }
.contact-item-label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 0.3rem;
  font-weight: 500;
}
.contact-item-value {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
}
.contact-item-value a { transition: color 0.2s var(--ease); }
.contact-item-value a:hover { color: var(--red); }
.contact-item-sub { font-size: 0.85rem; color: var(--stone); margin-top: 0.3rem; font-family: var(--font-body); font-weight: 400; }

.contact-form-wrap {
  background: var(--white);
  padding: 3.2rem;
  border-radius: 6px;
  border: 1px solid var(--ash);
  box-shadow: var(--shadow-sm);
}
@media (max-width: 600px) { .contact-form-wrap { padding: 2rem 1.5rem; } }

/* ===========================================
   FOOTER
   =========================================== */

.footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.7);
  padding: 5rem 0 2rem;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand img {
  height: 64px;
  margin-bottom: 1.5rem;
  display: block;
}
.footer-brand p {
  color: rgba(255,255,255,0.55);
  font-size: 0.92rem;
  max-width: 340px;
  line-height: 1.7;
}

.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.85rem; }
.footer-col a {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.6);
  transition: all 0.2s var(--ease);
  display: inline-block;
}
.footer-col a:hover { color: var(--red-soft); transform: translateX(3px); }

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.83rem;
  color: rgba(255,255,255,0.45);
}

/* ===========================================
   REVEAL ANIMATIONS
   =========================================== */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ===========================================
   UTILITIES
   =========================================== */

.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--navy-soft); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--navy); }

/* ===========================================
   VIDEO BACKGROUNDS
   =========================================== */

.video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  background: var(--navy-deep);
  background-image:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(200, 32, 46, 0.2), transparent 60%),
    radial-gradient(ellipse 60% 50% at 100% 100%, rgba(26, 58, 92, 0.7), transparent 70%),
    radial-gradient(ellipse 50% 40% at 0% 50%, rgba(11, 42, 74, 0.6), transparent 60%);
}

.video-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.video-bg video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

.video-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(11, 42, 74, 0.82) 0%, rgba(11, 42, 74, 0.5) 60%, rgba(11, 42, 74, 0.72) 100%),
    linear-gradient(to bottom, rgba(11, 42, 74, 0.3) 0%, rgba(6, 26, 46, 0.65) 100%);
  z-index: 1;
}

/* Hero with video — ensure content stays on top */
.hero .wrap.hero-inner { position: relative; z-index: 2; }

/* Video section for "How It Works" and "Services" */
.video-section {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  padding: 5rem 0;
}

/* Visible "video frame" marker — corner brackets indicating video area */
.video-section::before, .video-section::after {
  content: '';
  position: absolute;
  width: 50px;
  height: 50px;
  border: 2px solid rgba(200, 32, 46, 0.4);
  z-index: 3;
  pointer-events: none;
}
.video-section::before {
  top: 1.5rem;
  left: 1.5rem;
  border-right: none;
  border-bottom: none;
}
.video-section::after {
  bottom: 1.5rem;
  right: 1.5rem;
  border-left: none;
  border-top: none;
}

/* "PLAY" indicator label that disappears when video loads — purely visual hint */
.video-section .video-bg::before {
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 90%);
}

.video-section .video-bg::after {
  background:
    linear-gradient(135deg, rgba(11, 42, 74, 0.85) 0%, rgba(11, 42, 74, 0.55) 100%),
    linear-gradient(to bottom, rgba(6, 26, 46, 0.5) 0%, rgba(6, 26, 46, 0.75) 100%);
}

.video-section .wrap { position: relative; z-index: 2; }
.video-section h2 { color: var(--white); }
.video-section h2 .accent { color: var(--red-soft); font-style: italic; font-weight: 400; }
.video-section p { color: rgba(255,255,255,0.85); max-width: 60ch; }
.video-section .eyebrow { color: rgba(255,255,255,0.75); }

/* Refined service icon container */
.service-icon-wrap {
  width: 64px;
  height: 64px;
  margin-bottom: 1.8rem;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  border-radius: 12px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 20px -8px rgba(11, 42, 74, 0.4);
  transition: all 0.4s var(--ease-out-back);
}
.service-icon-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 50%, rgba(200, 32, 46, 0.5) 100%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.service-card:hover .service-icon-wrap {
  transform: rotate(-4deg) scale(1.05);
}
.service-card:hover .service-icon-wrap::before { opacity: 1; }
.service-icon-wrap svg {
  width: 32px;
  height: 32px;
  color: var(--white);
  position: relative;
  z-index: 1;
  transition: transform 0.4s var(--ease);
}
.service-card:hover .service-icon-wrap svg {
  transform: scale(1.1);
}

/* Free trial banner */
.free-trial-banner {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-deep) 100%);
  color: var(--white);
  padding: 0.7rem 1rem;
  text-align: center;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  position: relative;
  overflow: hidden;
}
.free-trial-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent 0,
    transparent 20px,
    rgba(255,255,255,0.04) 20px,
    rgba(255,255,255,0.04) 40px
  );
  pointer-events: none;
}
.free-trial-banner strong {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0;
}
.free-trial-banner .pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #ffd700;
  border-radius: 50%;
  margin-right: 0.5rem;
  vertical-align: middle;
  animation: pulse-dot 1.5s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7);
}
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(255, 215, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0); }
}
@media (max-width: 600px) {
  .free-trial-banner { font-size: 0.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  .free-trial-banner .pulse, .marquee-track { animation: none !important; }
  .video-bg video { display: none; }
}

@media (max-width: 768px) {
  .service-icon-wrap { width: 56px; height: 56px; }
  .service-icon-wrap svg { width: 28px; height: 28px; }
  .video-section { min-height: 380px; padding: 4rem 0; }
}
