/* =====================================================================
   MyTech Ventures LLC — Premium Light Corporate Stylesheet
   ---------------------------------------------------------------------
   Clean white background · navy text · subtle grey borders ·
   a single restrained corporate-blue accent used sparingly.
   ---------------------------------------------------------------------
   Table of Contents
   1.  CSS Variables (Design Tokens)
   2.  Global Reset & Base
   3.  Typography
   4.  Layout Helpers (container, sections, grid)
   5.  Buttons & CTAs
   6.  Navigation Bar
   7.  Hero Section
   8.  Reusable Components (cards, badges, stats)
   9.  Page-specific Sections (About, Services, Contact)
   10. Footer
   11. Animations & Transitions
   12. Responsive / Media Queries
   ===================================================================== */

/* ------------------------------------------------------------------ */
/* 1. CSS VARIABLES (Design Tokens)                                    */
/*    Edit these to re-theme the entire site in one place.             */
/* ------------------------------------------------------------------ */
:root {
  /* Core light palette — clean white & soft greys */
  --bg-900: #EDF1F6;          /* deepest light (insets) */
  --bg-800: #FFFFFF;          /* primary background */
  --bg-soft: #F4F7FB;         /* soft sections / footer / inputs */
  --bg-700: #FFFFFF;          /* card surface */
  --bg-600: #F0F4F9;          /* elevated / hover surface */
  --border: rgba(16, 31, 49, 0.12);
  --border-strong: rgba(16, 31, 49, 0.20);

  /* Single corporate-blue accent — used sparingly */
  --accent: #1F50A8;          /* primary corporate blue */
  --accent-2: #2E6FD6;        /* lighter blue (hover / small highlight) */
  --accent-3: #1F50A8;        /* alias */
  --steel: #5A6B82;           /* slate support tone */
  --accent-glow: rgba(31, 80, 168, 0.16);
  --gradient: linear-gradient(135deg, #1F50A8 0%, #2E6FD6 100%);
  --gradient-soft: linear-gradient(135deg, rgba(31,80,168,0.06), rgba(46,111,214,0.03));

  /* Text colors */
  --text: #0E1B2A;            /* primary text (near-black navy) */
  --text-muted: #51607A;      /* secondary text (slate) */
  --text-dim: #8A97AC;        /* dimmed / placeholder text */

  /* Sizing & layout */
  --maxw: 1200px;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;

  /* Shadows — soft, light, professional */
  --shadow: 0 16px 40px rgba(16, 31, 49, 0.10);
  --shadow-sm: 0 1px 3px rgba(16, 31, 49, 0.06);
  --shadow-glow: 0 8px 22px rgba(31, 80, 168, 0.18);

  /* Transitions */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --speed: 0.45s;

  /* Typography */
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

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

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

body {
  font-family: var(--font);
  background-color: var(--bg-800);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  /* Very subtle light wash for depth */
  background-image:
    radial-gradient(1100px 700px at 50% -15%, rgba(31, 80, 168, 0.04), transparent 60%);
  background-attachment: fixed;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--speed) var(--ease);
}

ul {
  list-style: none;
}

/* Accessible focus state */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ------------------------------------------------------------------ */
/* 3. TYPOGRAPHY                                                       */
/* ------------------------------------------------------------------ */
h1, h2, h3, h4 {
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0B1726;
  overflow-wrap: break-word;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p { color: var(--text-muted); }

/* Highlight word — single clean accent color (no flashy gradient) */
.gradient-text {
  color: var(--accent);
}

/* Small uppercase eyebrow label above headings */
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
  padding: 0.4rem 0.95rem;
  border: 1px solid rgba(31, 80, 168, 0.22);
  border-radius: 999px;
  background: rgba(31, 80, 168, 0.06);
}

/* ------------------------------------------------------------------ */
/* 4. LAYOUT HELPERS                                                   */
/* ------------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 96px 0;
  position: relative;
}

/* Optional soft-grey section background for rhythm on white */
.section-alt { background: var(--bg-soft); }

.section-head {
  max-width: 720px;
  margin: 0 auto 60px;
  text-align: center;
}

.section-head p {
  margin-top: 1rem;
  font-size: 1.05rem;
}

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

/* Generic responsive grid */
.grid {
  display: grid;
  gap: 28px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ------------------------------------------------------------------ */
/* 5. BUTTONS & CTAs                                                   */
/* ------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.8rem;
  font-size: 0.98rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--speed) var(--ease),
              box-shadow var(--speed) var(--ease),
              background var(--speed) var(--ease),
              border-color var(--speed) var(--ease),
              color var(--speed) var(--ease);
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }

/* Primary — solid corporate blue */
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
  background: #1A458F;
  border-color: #1A458F;
}

/* Secondary — quiet white outline */
.btn-secondary {
  background: #fff;
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(31, 80, 168, 0.05);
}

.btn-arrow { transition: transform var(--speed) var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ------------------------------------------------------------------ */
/* 6. NAVIGATION BAR                                                   */
/* ------------------------------------------------------------------ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background var(--speed) var(--ease),
              border-color var(--speed) var(--ease),
              box-shadow var(--speed) var(--ease);
  border-bottom: 1px solid transparent;
}

/* White glass effect once the user scrolls (toggled via JS) */
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(16, 31, 49, 0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--text);
}
/* Brand wordmark image (dark logo on light background) */
.logo-img {
  height: 62px;
  width: auto;
  display: block;
}
.logo span { color: var(--accent); }

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--speed) var(--ease);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta { margin-left: 0.5rem; }
/* The nav CTA is an <a> inside .nav-links, so the muted link color would win
   on specificity — force white text and drop the underline for the button. */
.nav-links a.nav-cta,
.nav-links a.nav-cta:hover { color: #fff; }
.nav-links a.nav-cta::after { display: none; }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--speed) var(--ease),
              opacity var(--speed) var(--ease);
}
/* Animated X when open */
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ------------------------------------------------------------------ */
/* 7. HERO SECTION                                                     */
/* ------------------------------------------------------------------ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 90px;
  position: relative;
  overflow: hidden;
}

/* Very faint ambient tints (barely visible on white) */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 1;
  z-index: 0;
  animation: float 26s ease-in-out infinite;
}
.hero-orb.one {
  width: 460px; height: 460px;
  background: rgba(31, 80, 168, 0.06);
  top: -90px; left: -100px;
}
.hero-orb.two {
  width: 380px; height: 380px;
  background: rgba(46, 111, 214, 0.05);
  bottom: -120px; right: -80px;
  animation-delay: -8s;
}
.hero-orb.three { display: none; }

/* Faint grid overlay (subtle dark lines on white) */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(16,31,49,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16,31,49,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 35%, transparent 100%);
  z-index: 0;
}

/* Two-column hero: text on the left, image collage on the right */
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
}
.hero-grid .hero-content { max-width: none; }

/* Canva-style staggered image collage */
.hero-collage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.hero-collage::before {
  content: "";
  position: absolute;
  inset: -10% -8%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(31, 80, 168, 0.14), transparent 70%);
  filter: blur(30px);
}
.hero-collage .hc-col {
  display: grid;
  gap: 16px;
  align-content: start;
}
.hero-collage .hc-col.hc-offset { margin-top: 44px; }
.hero-collage img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform var(--speed) var(--ease);
}
.hero-collage img:hover { transform: translateY(-4px); }
.hero h1 { margin-bottom: 1.4rem; }
.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--text-muted);
  max-width: 620px;
  margin-bottom: 2.4rem;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Trust strip below hero CTAs */
.hero-trust {
  margin-top: 3.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 3rem;
  align-items: center;
}
.hero-trust span {
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 600;
}

/* ------------------------------------------------------------------ */
/* 8. REUSABLE COMPONENTS                                              */
/* ------------------------------------------------------------------ */

/* Corporate card */
.card {
  background: var(--bg-700);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--speed) var(--ease),
              border-color var(--speed) var(--ease),
              box-shadow var(--speed) var(--ease);
}
/* Thin blue top-edge that fades in on hover (restrained) */
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  opacity: 0;
  transition: opacity var(--speed) var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(31, 80, 168, 0.30);
  box-shadow: var(--shadow);
}
.card:hover::before { opacity: 1; }

/* Card media banner — a corporate "illustration" header inside each card:
   soft blue gradient + faint blueprint grid + the topic icon in a white badge. */
.card-icon {
  position: relative;
  isolation: isolate;            /* contain the negative z-index layers */
  width: 100%;
  height: 138px;
  border-radius: var(--radius-sm);
  margin-bottom: 1.6rem;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--accent);
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1;
  border: 1px solid var(--border);
  background:
    radial-gradient(170px 130px at 26% 18%, rgba(31,80,168,0.14), transparent 72%),
    linear-gradient(135deg, #E9F0FB 0%, #F6F9FE 100%);
  transition: border-color var(--speed) var(--ease);
}
/* faint blueprint grid (behind the badge) */
.card-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(31,80,168,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31,80,168,0.07) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(circle at 50% 46%, #000, transparent 80%);
  mask-image: radial-gradient(circle at 50% 46%, #000, transparent 80%);
}
/* white circular badge that holds the icon / step number */
.card-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 78px;
  height: 78px;
  z-index: -1;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.card-icon svg {
  position: relative;
  z-index: 1;
  width: 40px;
  height: 40px;
}
.card:hover .card-icon { border-color: rgba(31, 80, 168, 0.30); }

/* --- Photo banner variant (real imagery for selected cards) --------- */
.card-icon.has-photo {
  background-color: #0b172a;     /* fallback while the image loads */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid var(--border);
  color: #fff;
}
/* subtle bottom gradient for depth & cohesion (replaces the grid) */
.card-icon.has-photo::before {
  z-index: 0;
  background-image: linear-gradient(180deg, rgba(8,16,30,0) 28%, rgba(8,16,30,0.45) 100%);
  background-size: auto;
  -webkit-mask-image: none;
  mask-image: none;
}
.card-icon.has-photo::after { display: none; }   /* hide the white badge */
.card-icon.has-photo svg { display: none; }       /* photo replaces the icon */
/* gentle zoom on hover */
.card-icon.has-photo {
  transition: background-size var(--speed) var(--ease), border-color var(--speed) var(--ease);
}
.card:hover .card-icon.has-photo { background-size: 112%; }

/* Per-topic imagery (files live in assets/images/cards/) */
.ci-ai             { background-image: url(../images/cards/ai.jpg); }
.ci-genai          { background-image: url(../images/cards/genai.jpg); }
.ci-video          { background-image: url(../images/cards/video.jpg); }
.ci-city           { background-image: url(../images/cards/city.jpg); }
.ci-infrastructure { background-image: url(../images/cards/infrastructure.jpg); }
.ci-airport        { background-image: url(../images/cards/airport.jpg); }
.ci-security       { background-image: url(../images/cards/security.jpg); }
.ci-integration    { background-image: url(../images/cards/integration.jpg); }
.ci-cloud          { background-image: url(../images/cards/cloud.jpg); }
.ci-transformation { background-image: url(../images/cards/transformation.jpg); }
.ci-automation     { background-image: url(../images/cards/automation.jpg); }
.ci-dashboard      { background-image: url(../images/cards/dashboard.jpg); }
.ci-software       { background-image: url(../images/cards/software.jpg); }
.ci-camera         { background-image: url(../images/cards/camera.jpg); }
.ci-discover       { background-image: url(../images/cards/transformation.jpg); }
.ci-design         { background-image: url(../images/cards/security.jpg); }
.ci-build          { background-image: url(../images/cards/cloud.jpg); }
.ci-refine         { background-image: url(../images/cards/city.jpg); }
.ci-mission        { background-image: url(../images/cards/transformation.jpg); }
.ci-vision         { background-image: url(../images/cards/ai.jpg); }
.ci-values         { background-image: url(../images/cards/software.jpg); }

/* Numbered step badge shown on top of a photo banner (process cards) */
.card-icon .proc-num {
  position: relative;
  z-index: 2;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--accent);
}
/* When the badge holds an icon (over a photo), reveal & size the svg */
.card-icon.has-photo .proc-num svg { display: block; width: 30px; height: 30px; }

.card h3 { margin-bottom: 0.7rem; }
.card p { font-size: 0.96rem; }

/* Stat blocks */
.stat { text-align: center; }
.stat-num {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.01em;
}
.stat-label {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 0.3rem;
}

/* ------------------------------------------------------------------ */
/* 9. PAGE-SPECIFIC SECTIONS                                           */
/* ------------------------------------------------------------------ */

/* --- Page hero (inner pages: About/Services/Contact) --- */
.page-hero {
  padding: 170px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(760px 380px at 50% -10%, rgba(31, 80, 168, 0.07), transparent 70%);
  z-index: 0;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero p {
  max-width: 640px;
  margin: 1.2rem auto 0;
  font-size: 1.1rem;
}

/* --- About: split content + image --- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split h2 { margin-bottom: 1.2rem; }
.split p + p { margin-top: 1rem; }

.visual-panel {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-soft);
  min-height: 380px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.visual-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(16,31,49,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16,31,49,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}
.visual-panel .glyph {
  font-size: 5rem;
  position: relative;
  z-index: 1;
  color: var(--accent);
}

/* Value list with checkmarks */
.value-list { margin-top: 1.6rem; }
.value-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 0.9rem;
  color: var(--text-muted);
}
.value-list li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}
/* "What we're not" variant — neutral cross marks */
.value-list.no-list li::before {
  content: "✕";
  color: #B23A4E;
}

/* --- Contact layout --- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.contact-info .info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}
.contact-info .info-item:last-child { border-bottom: none; }
.info-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.info-icon svg { width: 22px; height: 22px; }
.info-item h4 { color: var(--text); font-size: 1rem; margin-bottom: 0.2rem; }
.info-item a, .info-item p { color: var(--text-muted); font-size: 0.97rem; }
.info-item a:hover { color: var(--accent); }

/* Form */
.form-card {
  background: var(--bg-700);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.form-group { margin-bottom: 1.3rem; }
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.form-control {
  width: 100%;
  padding: 0.9rem 1rem;
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: inherit;
  font-size: 0.97rem;
  transition: border-color var(--speed) var(--ease),
              box-shadow var(--speed) var(--ease);
}
.form-control::placeholder { color: var(--text-dim); }
.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(31, 80, 168, 0.15);
}
textarea.form-control { resize: vertical; min-height: 140px; }

.form-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-dim);
}
/* Success message shown after submit */
.form-success {
  display: none;
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(22, 138, 89, 0.10);
  border: 1px solid rgba(22, 138, 89, 0.30);
  color: #15805A;
  font-size: 0.92rem;
}
.form-success.visible { display: block; }

/* --- CTA band (used across pages) --- */
.cta-band {
  text-align: center;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 70px 32px;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(31, 80, 168, 0.06), transparent 70%),
    var(--bg-soft);
  position: relative;
  overflow: hidden;
}
.cta-band h2 { margin-bottom: 1rem; }
.cta-band p { max-width: 540px; margin: 0 auto 2rem; }
.cta-band .hero-actions { justify-content: center; }

/* ------------------------------------------------------------------ */
/* 10. FOOTER                                                          */
/* ------------------------------------------------------------------ */
.footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  background: var(--bg-soft);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand p {
  margin-top: 1rem;
  font-size: 0.95rem;
  max-width: 320px;
}
.footer h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  margin-bottom: 1.2rem;
}
.footer-links li { margin-bottom: 0.7rem; }
.footer-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
}
.footer-links a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--text-dim);
}

/* ------------------------------------------------------------------ */
/* 11. ANIMATIONS & TRANSITIONS                                        */
/* ------------------------------------------------------------------ */

/* Floating orbs */
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(30px, -25px) scale(1.05); }
  66%      { transform: translate(-20px, 20px) scale(0.97); }
}

/* Scroll-reveal: elements start hidden, JS adds .in-view */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
/* Stagger helper — add inline style --delay for sequencing */
.reveal[style*="--delay"] { transition-delay: var(--delay); }

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------------ */
/* 12. RESPONSIVE / MEDIA QUERIES                                      */
/* ------------------------------------------------------------------ */

/* Tablet */
@media (max-width: 960px) {
  section { padding: 72px 0; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }

  /* Hero collapses to a single column; collage becomes a compact 2x2 grid below the text */
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-collage { grid-template-columns: 1fr 1fr; gap: 12px; }
  .hero-collage .hc-col { gap: 12px; }
  .hero-collage .hc-col.hc-offset { margin-top: 0; }
  .hero-collage img { aspect-ratio: 16 / 11; border-radius: 14px; }
  .hero-collage::before { display: none; }
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  /* Mobile nav */
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 84px;
    right: 0;
    width: min(80%, 320px);
    height: calc(100vh - 84px);
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2.5rem 2rem;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    border-left: 1px solid var(--border);
    box-shadow: -10px 0 40px rgba(16, 31, 49, 0.08);
    transform: translateX(110%);
    transition: transform var(--speed) var(--ease);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.1rem; }
  .nav-cta { margin-left: 0; }
}

/* Mobile */
@media (max-width: 560px) {
  .grid-2,
  .grid-3,
  .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero { padding-top: 120px; }
  .logo-img { height: 40px; }
  /* Keep large headings within the viewport on small screens */
  h1 { font-size: clamp(2rem, 8.5vw, 2.4rem); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .card { padding: 26px; }
  .form-card { padding: 24px; }
  .cta-band { padding: 48px 22px; }
}
