/* ============================================================
   LEXORO — DESIGN SYSTEM & STYLESHEET
   Version: 1.0

   TABLE OF CONTENTS:
   01. CSS Custom Properties (Design Tokens)
   02. Reset & Base Styles
   03. Layout Utilities
   04. Buttons
   05. Scroll Reveal Animations
   06. Header & Navigation
   07. Mobile Navigation
   08. Footer
   09. Page Hero (Inner Pages)
   10. Home: Hero Section
   11. Home: Process (How We Work)
   12. Home: Services Overview Cards
   13. Home: Value Props / Trust Section
   14. CTA Banner (Shared)
   15. Services Page
   16. About Page
   17. Contact Page
   18. Responsive — Tablet (≤ 1024px)
   19. Responsive — Mobile (≤ 768px)
   ============================================================ */


/* ============================================================
   01. CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ============================================================ */
:root {
  /* --- Color: Navy Scale --- */
  --navy-950: #060e1d;
  --navy-900: #0a1628;
  --navy-800: #0f2042;
  --navy-700: #163060;
  --navy-600: #1e3a78;

  /* --- Color: Accent --- */
  --accent:       #2563eb;
  --accent-hover: #1d4ed8;
  --accent-light: rgba(37, 99, 235, 0.12);

  /* --- Color: Grey Scale --- */
  --grey-900: #111827;
  --grey-700: #374151;
  --grey-600: #4b5563;
  --grey-500: #6b7280;
  --grey-400: #9ca3af;
  --grey-300: #d1d5db;
  --grey-200: #e5e7eb;
  --grey-100: #f3f4f6;
  --grey-50:  #f9fafb;
  --white:    #ffffff;

  /* --- Typography --- */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  /* --- Spacing --- */
  --section-y:    100px;
  --container-w:  1200px;
  --container-px: 24px;

  /* --- Shadows --- */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.06);
  --shadow-xl: 0 24px 64px rgba(0,0,0,0.14);

  /* --- Border Radius --- */
  --radius-sm: 4px;
  --radius:    8px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* --- Transitions --- */
  --t-fast: 150ms ease;
  --t-base: 250ms ease;
  --t-slow: 400ms ease;
}


/* ============================================================
   02. RESET & BASE STYLES
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font);
  font-size: 16px;
  color: var(--grey-700);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul {
  list-style: none;
}

button {
  font-family: var(--font);
  cursor: pointer;
  border: none;
  background: none;
}


/* ============================================================
   03. LAYOUT UTILITIES
   ============================================================ */

/* Centered max-width wrapper used throughout */
.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

/* Standard section vertical rhythm */
.section {
  padding: var(--section-y) 0;
}

/* Alternate section background */
.section--alt {
  background: var(--grey-50);
}

/* Dark section (navy gradient) */
.section--dark {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: var(--white);
}

/* Overline / eyebrow label above headings */
.label {
  display: inline-block;
  font-size: 0.6875rem;  /* 11px */
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.label--light {
  color: rgba(255,255,255,0.45);
}

/* Section heading sizes use clamp() for fluid scaling */
.section-title {
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--grey-900);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.section-title--light {
  color: var(--white);
}

.section-sub {
  font-size: 1.0625rem;
  color: var(--grey-500);
  line-height: 1.75;
  max-width: 580px;
  margin-top: 16px;
}

.section-sub--light {
  color: rgba(255,255,255,0.6);
}

/* Centered section header block */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header .section-sub {
  margin-left: auto;
  margin-right: auto;
}

/* Divider line */
.divider {
  width: 40px;
  height: 3px;
  background: var(--accent);
  margin-top: 20px;
}


/* ============================================================
   04. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  transition: all var(--t-base);
  white-space: nowrap;
  cursor: pointer;
  line-height: 1;
}

/* Primary: solid blue */
.btn--primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn--primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 6px 22px rgba(37, 99, 235, 0.45);
  transform: translateY(-2px);
}

/* Ghost on dark backgrounds */
.btn--ghost-light {
  border: 1.5px solid rgba(255,255,255,0.35);
  color: var(--white);
  background: transparent;
}

.btn--ghost-light:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}

/* Ghost on light backgrounds */
.btn--ghost {
  border: 1.5px solid var(--grey-300);
  color: var(--grey-700);
  background: transparent;
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

/* Large size modifier */
.btn--lg {
  padding: 17px 34px;
  font-size: 1rem;
}


/* ============================================================
   05. SCROLL REVEAL ANIMATIONS
   Uses IntersectionObserver in main.js to add .is-visible
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays for child elements */
.reveal-d1 { transition-delay: 0.10s; }
.reveal-d2 { transition-delay: 0.20s; }
.reveal-d3 { transition-delay: 0.30s; }
.reveal-d4 { transition-delay: 0.40s; }
.reveal-d5 { transition-delay: 0.50s; }


/* ============================================================
   06. HEADER & NAVIGATION
   ============================================================ */

/* Fixed header — starts transparent over hero, fades to dark navy on scroll */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  transition: background var(--t-slow), box-shadow var(--t-slow);
}

/* Scrolled state (also applied via JS on inner pages immediately) */
.site-header.is-scrolled {
  background: rgba(9, 20, 38, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}

/* Inner flex row */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

/* Wordmark */
.nav-logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  flex-shrink: 0;
}

/* Desktop nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  transition: color var(--t-fast);
  position: relative;
  padding-bottom: 2px;
}

/* Active indicator underline */
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: width var(--t-base);
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  width: 100%;
}

/* Desktop CTA button in nav */
.nav-cta-btn {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
  background: var(--accent);
  padding: 10px 22px;
  border-radius: var(--radius);
  transition: all var(--t-base);
  flex-shrink: 0;
}

.nav-cta-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

/* Hamburger button — hidden on desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--t-base);
}


/* ============================================================
   07. MOBILE NAVIGATION
   ============================================================ */
.nav-mobile {
  display: none;       /* Hidden by default */
  background: var(--navy-900);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 12px 0 20px;
}

.nav-mobile.is-open {
  display: block;
}

.nav-mobile a {
  display: block;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 11px var(--container-px);
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  transition: color var(--t-fast);
}

.nav-mobile a:hover,
.nav-mobile a.is-active {
  color: var(--white);
}

/* Mobile CTA link styled prominently */
.nav-mobile .nav-mobile-cta {
  color: var(--accent);
  font-weight: 600;
  margin-top: 6px;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 16px;
}


/* ============================================================
   08. FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy-950);
  padding-top: 72px;
}

/* Four-column grid: brand | company | services | contact */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-wordmark {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  max-width: 240px;
}

.footer-col h5 {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--t-fast);
}

.footer-col ul li a:hover {
  color: var(--white);
}

.footer-contact-line {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
}

/* Bottom bar */
.footer-bar {
  padding: 22px 0;
}

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

.footer-bar-inner p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
}


/* ============================================================
   09. PAGE HERO (Inner Pages: Services, About, Contact)
   ============================================================ */
.page-hero {
  background: linear-gradient(140deg, var(--navy-900) 0%, var(--navy-700) 100%);
  padding: 148px 0 84px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Subtle dot grid overlay */
.page-hero::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: 48px 48px;
  pointer-events: none;
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

.page-hero-eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 18px;
}

.page-hero-title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.page-hero-sub {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.6);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.75;
}


/* ============================================================
   10. HOME: HERO SECTION
   ============================================================ */
.hero {
  min-height: 100vh;
  /* Rich layered navy gradient */
  background:
    radial-gradient(ellipse 900px 600px at 80% 30%, rgba(37, 99, 235, 0.14) 0%, transparent 70%),
    linear-gradient(150deg, var(--navy-950) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

/* Grid line texture */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 740px;
}

/* "Revenue Services Company" eyebrow */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 28px;
}

.hero-eyebrow-line {
  display: block;
  width: 28px;
  height: 1.5px;
  background: var(--accent);
}

.hero-title {
  font-size: clamp(2.75rem, 6.5vw, 4.75rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.07;
  letter-spacing: -0.035em;
  margin-bottom: 28px;
}

/* Highlight specific words in blue */
.hero-title .text-accent {
  color: var(--accent);
}

.hero-body {
  font-size: clamp(1rem, 2vw, 1.1875rem);
  color: rgba(255,255,255,0.62);
  line-height: 1.75;
  max-width: 540px;
  margin-bottom: 48px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Animated scroll hint at bottom of hero */
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.28);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: heroScroll 2.2s ease-in-out infinite;
}

@keyframes heroScroll {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(7px); }
}

.hero-scroll-icon {
  width: 20px;
  height: 20px;
  opacity: 0.5;
}


/* ============================================================
   11. HOME: PROCESS SECTION (HOW WE WORK)
   ============================================================ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* Thin grey lines between cells via gap + grey background */
  gap: 1px;
  background: var(--grey-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.process-step {
  background: var(--white);
  padding: 48px 36px 44px;
  position: relative;
  transition: background var(--t-base);
}

.process-step:hover {
  background: var(--grey-50);
}

/* Large decorative step number */
.process-num {
  font-size: 3.25rem;
  font-weight: 800;
  color: var(--grey-100);
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 20px;
}

/* Icon badge */
.process-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.process-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--white);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.process-step h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--grey-900);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.process-step p {
  font-size: 0.875rem;
  color: var(--grey-500);
  line-height: 1.7;
}

/* Arrow connector — hidden on tablet/mobile */
.process-connector {
  position: absolute;
  right: -14px;
  top: 44px;
  width: 28px;
  height: 28px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 2;
  color: var(--grey-400);
}

.process-connector svg {
  width: 14px;
  height: 14px;
}

/* Last step has no arrow */
.process-step:last-child .process-connector {
  display: none;
}


/* ============================================================
   12. HOME: SERVICES OVERVIEW CARDS
   ============================================================ */
.services-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Last two cards span into a two-column row */
.services-overview-grid > *:nth-child(4),
.services-overview-grid > *:nth-child(5) {
  /* stays 1 col, handled by natural flow */
}

.svc-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: all var(--t-base);
}

/* Accent top-border that reveals on hover */
.svc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy-700), var(--accent));
  opacity: 0;
  transition: opacity var(--t-base);
}

.svc-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-5px);
  border-color: transparent;
}

.svc-card:hover::before {
  opacity: 1;
}

/* Icon container */
.svc-card-icon {
  width: 52px;
  height: 52px;
  background: var(--grey-100);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: background var(--t-base);
}

.svc-card:hover .svc-card-icon {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
}

.svc-card-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--navy-700);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke var(--t-base);
}

.svc-card:hover .svc-card-icon svg {
  stroke: var(--white);
}

.svc-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--grey-900);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.svc-card p {
  font-size: 0.875rem;
  color: var(--grey-500);
  line-height: 1.72;
  margin-bottom: 20px;
}

.svc-card-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap var(--t-fast);
}

.svc-card-link:hover {
  gap: 9px;
}

.svc-card-link svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}


/* ============================================================
   13. HOME: VALUE PROPS / TRUST SECTION
   ============================================================ */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.trust-item {
  text-align: center;
}

.trust-icon {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
}

.trust-icon svg {
  width: 28px;
  height: 28px;
  stroke: rgba(255,255,255,0.75);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-item h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}

.trust-item p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.75;
}


/* ============================================================
   14. CTA BANNER (Shared — used on multiple pages)
   ============================================================ */
.cta-banner {
  background: linear-gradient(140deg, var(--navy-900) 0%, var(--navy-700) 100%);
  padding: 90px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  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: 40px 40px;
  pointer-events: none;
}

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

.cta-banner h2 {
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.58);
  max-width: 500px;
  margin: 0 auto 38px;
  line-height: 1.7;
}

.cta-banner-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}


/* ============================================================
   15. SERVICES PAGE
   ============================================================ */

/* Intro strip below page hero */
.services-intro {
  padding: 72px 0 0;
}

/* Each service as a two-column section */
.svc-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--grey-100);
}

.svc-section:last-child {
  border-bottom: none;
}

.svc-section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Alternate layout — swap text and visual */
.svc-section-inner--reverse {
  direction: rtl;
}

.svc-section-inner--reverse > * {
  direction: ltr;
}

/* Left: text content */
.svc-section-overline {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.svc-section-number {
  font-size: 4.5rem;
  font-weight: 800;
  color: var(--grey-100);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 8px;
}

.svc-section-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--grey-900);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 18px;
}

.svc-section-body {
  font-size: 1rem;
  color: var(--grey-600);
  line-height: 1.78;
  margin-bottom: 30px;
}

/* Bullet feature list */
.svc-features {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.svc-features li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 0.875rem;
  color: var(--grey-700);
  line-height: 1.65;
}

/* Custom checkmark bullet */
.svc-features li::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-700), var(--accent));
  background-image:
    linear-gradient(135deg, var(--navy-700), var(--accent)),
    url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4L3.5 6.5L9 1' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover, 10px 8px;
  margin-top: 2px;
}

/* Right: dark visual panel */
.svc-visual {
  background: linear-gradient(140deg, var(--navy-900) 0%, var(--navy-700) 100%);
  border-radius: var(--radius-xl);
  padding: 48px;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

/* Glow accent in corner */
.svc-visual::after {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.28) 0%, transparent 70%);
  pointer-events: none;
}

/* Icon badge in top-left */
.svc-visual-badge {
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.svc-visual-badge svg {
  width: 26px;
  height: 26px;
  stroke: rgba(255,255,255,0.8);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Pull-quote in bottom of visual panel */
.svc-visual-quote {
  position: relative;
  z-index: 1;
}

.svc-visual-quote p {
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.svc-visual-quote cite {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  font-style: normal;
  margin-top: 14px;
}


/* ============================================================
   16. ABOUT PAGE
   ============================================================ */

/* Story section: text + info panel */
.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-story-text .lead {
  font-size: 1.1875rem;
  font-weight: 400;
  color: var(--grey-700);
  line-height: 1.75;
  margin-bottom: 24px;
}

.about-story-text p {
  font-size: 1rem;
  color: var(--grey-600);
  line-height: 1.8;
  margin-bottom: 20px;
}

/* Info panel on the right */
.about-panel {
  background: linear-gradient(140deg, var(--navy-900), var(--navy-700));
  border-radius: var(--radius-xl);
  padding: 48px;
  position: sticky;
  top: 100px;
}

.about-panel-heading {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 28px;
}

.about-panel-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.about-panel-item:last-child {
  margin-bottom: 0;
}

.about-panel-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 7px;
}

.about-panel-item h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 5px;
}

.about-panel-item p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
}

/* Approach section: 2x2 card grid */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.approach-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  transition: all var(--t-base);
}

.approach-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: transparent;
}

.approach-card-num {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--grey-100);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 16px;
}

.approach-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--grey-900);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.approach-card p {
  font-size: 0.875rem;
  color: var(--grey-500);
  line-height: 1.72;
}

/* Mission block — large full-width centered statement */
.mission-block {
  background: linear-gradient(140deg, var(--navy-900) 0%, var(--navy-700) 100%);
  border-radius: var(--radius-xl);
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.mission-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.mission-block-inner {
  position: relative;
  z-index: 1;
}

.mission-overline {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 24px;
}

.mission-statement {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  letter-spacing: -0.025em;
  max-width: 820px;
  margin: 0 auto 24px;
}

.mission-statement .text-accent {
  color: var(--accent);
}

.mission-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.5);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.75;
}


/* ============================================================
   17. CONTACT PAGE
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.65fr;
  gap: 80px;
  align-items: start;
}

/* Left column: info & next steps */
.contact-info-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--grey-900);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 14px;
}

.contact-info-body {
  font-size: 1rem;
  color: var(--grey-600);
  line-height: 1.75;
  margin-bottom: 40px;
}

/* "What happens next" card */
.contact-next {
  background: var(--grey-50);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 32px;
}

.contact-next h3 {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-500);
  margin-bottom: 20px;
}

.contact-next-steps {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-next-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-next-step-num {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--navy-800);
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.contact-next-step p {
  font-size: 0.875rem;
  color: var(--grey-600);
  line-height: 1.65;
}

/* Contact details (email, location) */
.contact-detail-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
  color: var(--grey-600);
}

.contact-detail-icon {
  width: 36px;
  height: 36px;
  background: var(--grey-100);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--navy-700);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Right column: form card */
.contact-form-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-xl);
  padding: 52px 48px;
  box-shadow: var(--shadow-xl);
}

.contact-form-card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--grey-900);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.contact-form-card .form-intro {
  font-size: 0.9375rem;
  color: var(--grey-500);
  margin-bottom: 36px;
  line-height: 1.65;
}

/* Form layout */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 20px;
}

.form-group label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey-600);
}

.form-group input,
.form-group textarea {
  padding: 13px 15px;
  font-size: 0.9375rem;
  font-family: var(--font);
  color: var(--grey-900);
  background: var(--grey-50);
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius);
  outline: none;
  width: 100%;
  transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--grey-400);
}

.form-group textarea {
  min-height: 130px;
  resize: vertical;
}

.form-submit-btn {
  width: 100%;
  padding: 15px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  background: var(--accent);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--t-base);
  font-family: var(--font);
  letter-spacing: 0.01em;
  margin-top: 4px;
}

.form-submit-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.36);
}

.form-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Success state after submission */
.form-success {
  display: none;
  text-align: center;
  padding: 48px 20px;
}

.form-success.is-visible {
  display: block;
}

.form-success-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-800), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
}

.form-success-circle svg {
  width: 24px;
  height: 24px;
  stroke: var(--white);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form-success h3 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--grey-900);
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}

.form-success p {
  font-size: 0.9375rem;
  color: var(--grey-500);
  line-height: 1.7;
}


/* ============================================================
   18. RESPONSIVE — TABLET (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  :root {
    --section-y: 72px;
  }

  /* Hide desktop nav links and CTA; show hamburger */
  .nav-links,
  .nav-cta-btn {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  /* Process: 2x2 grid */
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-connector {
    display: none;
  }

  /* Services grid: 2 cols */
  .services-overview-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Trust: 1 col */
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    max-width: 480px;
    margin: 0 auto;
  }

  /* Footer: 2 cols */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  /* Services page: stack */
  .svc-section-inner,
  .svc-section-inner--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 44px;
  }

  .svc-section-inner--reverse > * {
    direction: ltr;
  }

  /* About: stack */
  .about-story-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .about-panel {
    position: static;
  }

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

  /* Contact: stack */
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 52px;
  }
}


/* ============================================================
   19. RESPONSIVE — MOBILE (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --section-y: 56px;
    --container-px: 20px;
  }

  .hero {
    min-height: auto;
    padding: 108px 0 64px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-scroll {
    display: none;
  }

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

  .services-overview-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bar-inner {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-card {
    padding: 32px 24px;
  }

  .mission-block {
    padding: 52px 28px;
  }

  .cta-banner-btns {
    flex-direction: column;
    align-items: center;
  }

  .page-hero {
    padding: 128px 0 64px;
  }

  .section-header {
    margin-bottom: 44px;
  }
}
