/* ============================================
   WebbArt — Master Stylesheet
   Edit the CSS variables below to change the entire palette.
   ============================================ */

/* --- PALETTE (EDIT THESE) --- */
:root {
  /* ── PAGE BACKGROUNDS ─────────────────────────── */
  --bg-primary: #000000;              /* Main page background (dark navy) */
  --bg-primary-light: #000000;        /* Slightly lighter background (cards, sections) */
  --bg-primary-mid: #0F2440;          /* Mid-tone background (alternating sections) */
  --bg-light: #F0F4F8;               /* Light section background (off-white) */
  --bg-cream: #FAF9F6;            /* Cream background (light accent areas) */
  --bg-charcoal: #1A2A3A;         /* Dark charcoal background (value bars, dark cards) */

  /* ── TEXT COLORS ───────────────────────────────── */
  --text-white: #FFFFFF;              /* Headings, bold text on dark backgrounds */
  --text-body: #CBD5E1;              /* Main body text on dark backgrounds */
  --text-body-alt: #CBD5E1;             /* Body text in cards & sections */
  --text-secondary: #94A3B8;         /* Nav links, secondary info, captions */
  --text-muted: #64748B;             /* Subtle text, dates, meta info */

  /* ── ACCENT COLORS ────────────────────────────── */
  --accent-primary: #60dfed;          /* Main accent (links, buttons, highlights - teal) */
  --accent-primary-dark: #45c5d4;     /* Darker accent (hover states) */
  --accent-glow: rgba(96, 223, 237, 0.15); /* Glow effect around accent elements */
  --accent-secondary: #2bbccc;        /* Secondary accent (secondary buttons, tags) */
  --accent-secondary-glow: rgba(43, 188, 204, 0.12); /* Secondary glow */
  --accent-warning: #FF6B35;          /* Orange accent (CTAs, alerts, highlights) */

  /* ── BORDERS ───────────────────────────────────── */
  --border-light: #E2E8F0;           /* Borders on light backgrounds */
  --color-border: rgba(255,255,255,0.12); /* Borders on dark backgrounds */
  --border-subtle: 1px solid rgba(255, 255, 255, 0.08); /* Very subtle separator */
  --border-card: 1px solid rgba(255, 255, 255, 0.1);    /* Card borders */

  /* ── GRADIENTS ─────────────────────────────────── */
  --gradient-hero: linear-gradient(165deg, var(--bg-primary) 0%, var(--bg-primary-light) 50%, #0E2A4F 100%);
  --gradient-section-dark: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-primary-mid) 100%);
  --gradient-teal: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-primary-dark) 100%);
  --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);

  /* ── TYPOGRAPHY ────────────────────────────────── */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* ── SPACING & LAYOUT ──────────────────────────── */
  --section-padding: clamp(4rem, 8vw, 8rem);
  --container-max: 1200px;
  --container-wide: 1400px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 40px var(--accent-glow);

  /* ── TYPOGRAPHY SIZES ──────────────────────────── */
  --size-body: clamp(1rem, 1.1vw, 1.15rem);             /* Base body text */
  --size-body-lg: clamp(1.05rem, 1.2vw, 1.25rem);       /* Larger body (subtitles, intros) */
  --size-body-sm: clamp(0.95rem, 1.05vw, 1.05rem);      /* Smaller body (features, details) */
  --size-hero-title: clamp(2.5rem, 4.5vw, 4.5rem);      /* Homepage hero headline */
  --size-page-title: clamp(2.5rem, 4.2vw, 4.2rem);      /* Inner page hero headline */
  --size-section-title: clamp(2rem, 3.5vw, 3.5rem);     /* Section headings (h2) */
  --size-card-title: clamp(1.35rem, 1.5vw, 1.6rem);     /* Card & panel headings */
  --size-subtitle: clamp(1.05rem, 1.35vw, 1.35rem);     /* Hero subtitles */
  --size-nav: clamp(0.9rem, 1vw, 1rem);                 /* Navigation links */
  --size-btn: clamp(0.95rem, 1.1vw, 1.1rem);            /* Button text */
  --size-eyebrow: clamp(0.75rem, 0.9vw, 0.9rem);        /* Eyebrow labels (uppercase) */
  --size-small: clamp(0.8rem, 0.9vw, 0.9rem);           /* Small text, meta, captions */
  --line-height-body: 1.7;                               /* Body text line height */
  --line-height-heading: 1.15;                           /* Heading line height */
  --letter-spacing-heading: -0.02em;                     /* Heading letter spacing */
  --letter-spacing-eyebrow: 0.15em;                      /* Eyebrow letter spacing */
}

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); background: var(--bg-primary); color: var(--text-body); line-height: var(--line-height-body); overflow-x: hidden; font-size: var(--size-body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-primary); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--text-white); }
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 clamp(1.5rem, 4vw, 3rem); }
.container--wide { max-width: var(--container-wide); }

/* --- ACCESSIBILITY --- */
.skip-link { position: absolute; top: -100%; left: 1rem; z-index: 9999; padding: 0.75rem 1.5rem; background: var(--accent-primary); color: var(--bg-primary); font-weight: 700; font-size: 0.95rem; border-radius: 0 0 8px 8px; text-decoration: none; transition: top 0.2s; }
.skip-link:focus { top: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Focus visible — clear outline for keyboard users, hidden for mouse */
*:focus { outline: none; }
*:focus-visible { outline: 2px solid var(--accent-primary); outline-offset: 3px; border-radius: 4px; }
.btn:focus-visible { outline: 2px solid var(--accent-primary); outline-offset: 3px; box-shadow: 0 0 0 4px rgba(96,223,237,0.25); }
.nav__links a:focus-visible { outline: 2px solid var(--accent-primary); outline-offset: 2px; border-radius: 4px; }
.form__input:focus-visible, .form__textarea:focus-visible { outline: 2px solid var(--accent-primary); outline-offset: 0; border-color: var(--accent-primary); box-shadow: 0 0 0 3px rgba(96,223,237,0.2); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  html { scroll-behavior: auto; }
  .grid-hero__column--up .grid-hero__track,
  .grid-hero__column--down .grid-hero__track { animation: none; }
  .hero__float { animation: none !important; }
}

/* --- NAV --- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 1.25rem 0; background: rgba(11, 29, 58, 0.92); backdrop-filter: blur(20px); transition: background 0.4s, padding 0.4s, backdrop-filter 0.4s; }
.nav.scrolled { background: rgba(11, 29, 58, 0.92); backdrop-filter: blur(20px); padding: 0.75rem 0; border-bottom: var(--border-subtle); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; max-width: var(--container-wide); margin: 0 auto; padding: 0 clamp(1.5rem, 4vw, 3rem); }
.nav__logo { display: flex; align-items: center; }
.nav__logo-img { height: 36px; width: auto; transition: opacity 0.3s; }
.nav__logo-img:hover { opacity: 0.85; }
.nav__logo span { color: var(--accent-primary); }
.nav__links { display: flex; gap: 2rem; align-items: center; list-style: none; }
.nav__links a { color: var(--text-secondary); font-size: var(--size-nav); font-weight: 500; letter-spacing: 0.02em; transition: color 0.3s; }
.nav__links a:hover, .nav__links a.active { color: var(--text-white); }
.nav__cta { background: var(--gradient-teal); color: var(--bg-primary) !important; padding: 0.65rem 1.5rem; border-radius: 50px; font-weight: 600; font-size: clamp(0.85rem, 0.95vw, 0.95rem); transition: transform 0.3s, box-shadow 0.3s; }
.nav__cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); color: var(--bg-primary) !important; }
.nav__toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--text-white); margin: 5px 0; transition: 0.3s; border-radius: 2px; }

/* --- PAGE HERO (reusable across pages — 2-col with image) --- */
.page-hero { position: relative; overflow: hidden; min-height: 50vh; display: flex; align-items: stretch; }
.page-hero__bg-image { position: absolute; inset: 0; background-size: cover; background-position: center; background-repeat: no-repeat; }
.page-hero__gradient { position: absolute; inset: 0; }
.page-hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: end; padding-top: clamp(8rem, 12vw, 10rem); }
.page-hero__content { padding-bottom: clamp(3rem, 6vw, 5rem); }
.page-hero__content:only-child { grid-column: 1 / -1; max-width: var(--container-wide); }
.page-hero__content:only-child .page-hero__title { font-size: clamp(2rem, 3.2vw, 3.2rem); }
.page-hero__breadcrumb { font-size: clamp(0.8rem, 0.95vw, 0.95rem); color: rgba(255,255,255,0.75); margin-bottom: 0.75rem; font-weight: 500; }
.page-hero__breadcrumb a { color: rgba(255,255,255,0.75); text-decoration: none; transition: color 0.3s; }
.page-hero__breadcrumb a:hover { color: #fff; }
.page-hero__breadcrumb span { margin: 0 0.4rem; opacity: 0.5; }
.page-hero__eyebrow { font-size: var(--size-eyebrow); font-weight: 700; letter-spacing: var(--letter-spacing-eyebrow); text-transform: uppercase; color: var(--accent-primary); margin-bottom: 1rem; }
.page-hero__title { font-family: var(--font-display); font-size: var(--size-page-title); font-weight: 800; color: var(--text-white); line-height: 1.08; margin-bottom: 1.5rem; letter-spacing: -0.03em; }
.page-hero__title em { font-style: normal; color: var(--accent-primary); }
.page-hero__subtitle { font-size: var(--size-subtitle); color: rgba(255,255,255,0.75); max-width: 600px; line-height: 1.75; margin-bottom: 2rem; }
.page-hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.page-hero__image { display: flex; align-items: flex-end; justify-content: center; align-self: end; }
.page-hero__image img { display: block; max-width: 100%; max-height: 520px; width: auto; height: auto; object-fit: contain; object-position: bottom center; }
.page-hero__image--blog img { width: 100%; max-height: 400px; object-fit: cover; object-position: center; border-radius: 12px; box-shadow: 0 8px 32px rgba(0,0,0,0.3); }
.page-hero__image--blog { align-self: center; }

/* --- FULLSCREEN HERO (homepage) --- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; background: var(--gradient-hero); overflow: hidden; padding-top: 6rem; }

.hero__scene { position: absolute; inset: 0; transform-style: preserve-3d; }
.hero__video-wrap { position: absolute; inset: -10%; z-index: 0; overflow: hidden; }
.hero__video { width: 100%; height: 100%; object-fit: cover; opacity: 0.30; }
.hero__video-overlay { position: absolute; inset: 0; background: linear-gradient(165deg, rgba(11,29,58,0.55) 0%, rgba(18,43,82,0.50) 40%, rgba(14,42,79,0.60) 100%); }
.hero__bg { position: absolute; inset: -10%; background: radial-gradient(ellipse 90% 70% at 30% 45%, rgba(96,223,237,0.08) 0%, transparent 60%), radial-gradient(ellipse 70% 60% at 80% 30%, rgba(69,197,212,0.05) 0%, transparent 55%); }
.hero__noise { position: absolute; inset: 0; opacity: 0.03; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); background-size: 200px 200px; pointer-events: none; }
.hero__float { position: absolute; pointer-events: none; will-change: transform; }
.float-ring { border-radius: 50%; border: 1px solid rgba(96,223,237,0.12); }
.float-ring--lg { width: 400px; height: 400px; top: 8%; right: 5%; border-width: 1.5px; }
.float-ring--md { width: 220px; height: 220px; bottom: 15%; right: 20%; }
.float-ring--sm { width: 140px; height: 140px; top: 25%; right: 28%; border-color: rgba(96,223,237,0.08); }
.float-ring--xs { width: 80px; height: 80px; bottom: 30%; left: 8%; border-color: rgba(96,223,237,0.06); }
.float-dot { border-radius: 50%; background: var(--accent-primary); }
.float-dot--1 { width: 6px; height: 6px; top: 18%; right: 15%; opacity: 0.6; }
.float-dot--2 { width: 4px; height: 4px; top: 55%; right: 8%; opacity: 0.4; }
.float-dot--3 { width: 8px; height: 8px; bottom: 22%; right: 35%; opacity: 0.3; }
.float-dot--4 { width: 5px; height: 5px; top: 35%; left: 12%; opacity: 0.5; }
.float-dot--5 { width: 3px; height: 3px; bottom: 40%; left: 25%; opacity: 0.35; }
.float-dot--6 { width: 7px; height: 7px; top: 12%; left: 35%; opacity: 0.25; }
.float-diamond { width: 60px; height: 60px; border: 1px solid rgba(96,223,237,0.1); transform: rotate(45deg); border-radius: 4px; top: 40%; right: 12%; }
.float-diamond--sm { width: 35px; height: 35px; border: 1px solid rgba(96,223,237,0.07); transform: rotate(45deg); border-radius: 2px; bottom: 35%; left: 15%; }
.float-line { width: 120px; height: 1px; background: linear-gradient(90deg, transparent, rgba(96,223,237,0.15), transparent); top: 30%; right: 38%; }
.float-line--2 { width: 80px; top: 65%; left: 18%; transform: rotate(-20deg); }
.float-line--3 { width: 150px; bottom: 25%; right: 5%; transform: rotate(30deg); }
.float-glow { border-radius: 50%; filter: blur(40px); }
.float-glow--1 { width: 300px; height: 300px; background: rgba(96,223,237,0.06); top: 5%; right: 0; }
.float-glow--2 { width: 200px; height: 200px; background: rgba(96,223,237,0.04); bottom: 10%; left: 5%; }
.float-glow--3 { width: 250px; height: 250px; background: rgba(69,197,212,0.03); top: 50%; right: 25%; }
.float-cross { position: absolute; }
.float-cross::before, .float-cross::after { content: ''; position: absolute; background: rgba(96,223,237,0.15); border-radius: 1px; }
.float-cross::before { width: 20px; height: 1.5px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.float-cross::after { width: 1.5px; height: 20px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.float-cross--1 { top: 20%; right: 40%; }
.float-cross--2 { bottom: 28%; right: 15%; opacity: 0.5; }
.float-cross--3 { top: 60%; left: 30%; opacity: 0.4; }
.float-arc { width: 300px; height: 300px; border: 1px solid rgba(96,223,237,0.06); border-radius: 50%; border-top-color: transparent; border-left-color: transparent; top: 10%; right: 15%; }
.cursor-glow { position: fixed; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(96,223,237,0.07) 0%, transparent 70%); pointer-events: none; z-index: 1; transform: translate(-50%, -50%); filter: blur(30px); }
.hero__grid { 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: 60px 60px; pointer-events: none; opacity: 0.5; }
.hero__content { position: relative; z-index: 10; width: 100%; }
.hero__badge { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(96, 223, 237, 0.1); border: 1px solid rgba(96, 223, 237, 0.25); border-radius: 50px; padding: 0.4rem 1rem; font-size: 0.8rem; font-weight: 600; color: var(--accent-primary); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 2rem; }
.hero__badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-primary); animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.5); } }
.hero__title { font-family: var(--font-display); font-size: var(--size-hero-title); font-weight: 800; line-height: 1.1; color: var(--text-white); margin-bottom: 1.5rem; letter-spacing: -0.03em; }
.hero__title em { font-style: normal; color: var(--accent-primary); }
.hero__subtitle { font-size: var(--size-subtitle); color: var(--text-secondary); max-width: 560px; margin-bottom: 2.5rem; line-height: 1.75; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__title em { font-style: normal; background: linear-gradient(135deg, var(--accent-primary), #8bf0fa); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* --- PORTFOLIO GRID HERO (alt homepage) --- */
.grid-hero { position: relative; min-height: 100vh; overflow: hidden; background: var(--bg-primary); display: flex; align-items: center; }
.grid-hero__bg { position: absolute; inset: -40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 0 16px; }
.grid-hero__column { display: flex; flex-direction: column; gap: 16px; overflow: hidden; }
.grid-hero__track { display: flex; flex-direction: column; gap: 16px; will-change: transform; }
.grid-hero__column--up .grid-hero__track { animation: scrollUp 60s linear infinite; }
.grid-hero__column--down .grid-hero__track { animation: scrollDown 60s linear infinite; }
.grid-hero__item { border-radius: 12px; overflow: hidden; flex-shrink: 0; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); }
.grid-hero__item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.grid-hero__item--tall { min-height: 380px; }
.grid-hero__item--wide { min-height: 200px; }
.grid-hero__item:not(.grid-hero__item--tall):not(.grid-hero__item--wide) { min-height: 260px; }
@keyframes scrollUp {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}
@keyframes scrollDown {
  0% { transform: translateY(-50%); }
  100% { transform: translateY(0); }
}
.grid-hero__overlay { position: absolute; inset: 0; z-index: 2; background: radial-gradient(ellipse 70% 60% at 30% 50%, rgba(11,29,58,0.92) 0%, rgba(11,29,58,0.7) 50%, rgba(11,29,58,0.55) 100%); }
.grid-hero__content { position: relative; z-index: 3; width: 100%; padding: clamp(8rem, 14vw, 12rem) 0 clamp(4rem, 8vw, 6rem); }
.grid-hero__content .hero__subtitle { max-width: 540px; }
.grid-hero:hover .grid-hero__column--up .grid-hero__track { animation-play-state: paused; }
.grid-hero:hover .grid-hero__column--down .grid-hero__track { animation-play-state: paused; }

/* --- VALUE PROPS BAR --- */
.value-bar { background: var(--bg-charcoal); border-top: 1px solid rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.06); padding: clamp(2.5rem, 4vw, 3.5rem) 0; }
.value-bar__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.5rem, 3vw, 3rem); text-align: center; }
.value-bar__item { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.value-bar__icon { color: var(--accent-primary); flex-shrink: 0; }
.value-bar__title { font-family: var(--font-display); font-size: clamp(0.95rem, 1.1vw, 1.15rem); font-weight: 700; color: var(--text-white); }
.value-bar__text { font-size: var(--size-small); color: var(--text-secondary); line-height: 1.6; max-width: 280px; }

/* --- BUTTONS --- */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.9rem 2rem; border-radius: 50px; font-family: var(--font-body); font-size: var(--size-btn); font-weight: 600; cursor: pointer; border: none; transition: all 0.3s; }
.btn--primary { background: var(--gradient-teal); color: var(--bg-primary); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.btn--outline { background: transparent; color: var(--text-white); border: 1px solid rgba(255, 255, 255, 0.2); }
.btn--outline:hover { border-color: var(--accent-primary); color: var(--accent-primary); }
.btn--dark { background: var(--bg-primary); color: var(--text-white); }
.btn--dark:hover { background: var(--bg-primary-light); }

/* --- TRUST BAR --- */
.trust-bar { background: var(--bg-primary-mid); border-top: var(--border-subtle); border-bottom: var(--border-subtle); padding: 2.5rem 0; overflow: hidden; }
.trust-bar__label { text-align: center; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 1.5rem; }
.trust-bar__logos { display: flex; justify-content: center; align-items: center; gap: clamp(2rem, 5vw, 4rem); flex-wrap: wrap; }
.trust-bar__logo { font-family: var(--font-body); font-size: 0.85rem; font-weight: 700; color: var(--text-muted); letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.5; transition: opacity 0.3s; white-space: nowrap; }
.trust-bar__logo:hover { opacity: 0.9; }

/* --- SECTIONS --- */
.section { padding: var(--section-padding) 0; position: relative; }
.section--light { background: var(--bg-light); color: var(--bg-primary); }
.section--light .section__subtitle { color: var(--text-muted); }
.section--light .section__eyebrow { color: var(--accent-secondary); }
.section--light p { color: #444; }
.section--light .content-block p { color: #444; }
.section--light .card { background: var(--text-white); border-color: var(--border-light); }
.section--light .card__title { color: var(--bg-primary); }
.section--light .card__text { color: var(--text-muted); }
.section--light .portfolio-item { background: var(--text-white); border-color: rgba(0,0,0,0.08); box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.section--light .portfolio-item__title { color: var(--bg-primary); }
.section--light .portfolio-item__text { color: #555; }
.section--light .portfolio-item__meta { color: var(--accent-secondary); }
.section--light .specialty-tag { border-color: rgba(0,100,120,0.2); color: var(--accent-secondary); background: rgba(0,100,120,0.06); }
.section--light .specialty-tag:hover { background: var(--accent-secondary); color: var(--text-white); }
.section__eyebrow { font-size: var(--size-eyebrow); font-weight: 700; letter-spacing: var(--letter-spacing-eyebrow); text-transform: uppercase; color: var(--accent-primary); margin-bottom: 1rem; }
.section__title { font-family: var(--font-display); font-size: var(--size-section-title); font-weight: 700; color: var(--text-white); line-height: var(--line-height-heading); margin-bottom: 1rem; letter-spacing: var(--letter-spacing-heading); }
.section--light .section__title { color: var(--bg-primary); }
.section__subtitle { font-size: var(--size-body-lg); color: var(--text-secondary); max-width: 620px; line-height: 1.7; }
.section__header { margin-bottom: 4rem; }
.section__header--center { text-align: center; display: flex; flex-direction: column; align-items: center; }

/* --- CARDS --- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.5rem; }
.card { background: var(--gradient-card); border: var(--border-card); border-radius: var(--radius-md); padding: 2.5rem; transition: transform 0.4s, box-shadow 0.4s, border-color 0.4s; position: relative; overflow: hidden; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: rgba(96, 223, 237, 0.3); }
.card__icon { width: 48px; height: 48px; border-radius: var(--radius-sm); background: var(--accent-glow); display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; font-size: 1.5rem; }
.card__title { font-family: var(--font-display); font-size: var(--size-card-title); font-weight: 600; color: var(--text-white); margin-bottom: 0.75rem; }
.card__text { font-size: var(--size-body-sm); color: var(--text-secondary); line-height: 1.7; }

/* --- FEATURES GRID --- */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.feature { display: flex; gap: 1.25rem; align-items: flex-start; }
.feature__marker { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--accent-glow); border: 1px solid rgba(96, 223, 237, 0.3); display: flex; align-items: center; justify-content: center; color: var(--accent-primary); font-size: 1.1rem; margin-top: 0.2rem; }
.feature__title { font-weight: 700; color: var(--text-white); margin-bottom: 0.35rem; font-size: clamp(1rem, 1.15vw, 1.2rem); }
.section--light .feature__title { color: var(--bg-primary); }
.feature__text { font-size: var(--size-body-sm); color: var(--text-secondary); line-height: 1.7; }
.section--light .feature__text { color: var(--text-muted); }

/* --- AI SECTION --- */
.ai-section { background: var(--gradient-section-dark); position: relative; overflow: hidden; }
.ai-section__glow { position: absolute; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(96, 223, 237, 0.08) 0%, transparent 70%); top: -200px; right: -100px; pointer-events: none; }
.ai-section__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.ai-section__stat { font-family: var(--font-display); font-size: clamp(3.5rem, 7vw, 5rem); font-weight: 700; color: var(--accent-primary); line-height: 1; margin-bottom: 0.5rem; }
.ai-section__stat-label { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 2rem; }
.ai-section__visual { background: var(--gradient-card); border: var(--border-card); border-radius: var(--radius-lg); padding: 3rem; box-shadow: var(--shadow-card); position: relative; }
.ai-section__visual::after { content: ''; position: absolute; inset: -1px; border-radius: var(--radius-lg); background: linear-gradient(135deg, rgba(96, 223, 237, 0.2), transparent 50%); pointer-events: none; z-index: 0; }

/* --- PROCESS --- */
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; counter-reset: step; }
.process-step { text-align: center; padding: 2rem 1.5rem; position: relative; counter-increment: step; }
.process-step::before { content: counter(step, decimal-leading-zero); font-family: var(--font-display); font-size: 3rem; font-weight: 700; color: rgba(96, 223, 237, 0.15); display: block; margin-bottom: 1rem; line-height: 1; }
.process-step__title { font-weight: 700; color: var(--bg-primary); margin-bottom: 0.5rem; font-size: clamp(1.05rem, 1.2vw, 1.2rem); }
.process-step__text { font-size: clamp(0.9rem, 1.05vw, 1.05rem); color: var(--text-muted); line-height: 1.7; }

/* --- TESTIMONIALS --- */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.5rem; }
.testimonial { background: var(--gradient-card); border: var(--border-card); border-radius: var(--radius-md); padding: 2.5rem; position: relative; }
.testimonial::before { content: '\201C'; font-family: var(--font-display); font-size: 4rem; color: var(--accent-primary); opacity: 0.3; position: absolute; top: 1rem; left: 1.5rem; line-height: 1; }
.testimonial__text { font-size: clamp(0.95rem, 1.1vw, 1.1rem); color: var(--text-body); line-height: 1.8; margin-bottom: 1.5rem; position: relative; z-index: 1; }
.testimonial__author { font-weight: 600; color: var(--text-white); font-size: clamp(0.9rem, 1vw, 1.05rem); }
.testimonial__role { font-size: clamp(0.8rem, 0.9vw, 0.9rem); color: var(--text-muted); }

/* --- PACKAGES --- */
.packages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.package { background: var(--text-white); border: 2px solid var(--border-light); border-radius: var(--radius-md); padding: 2.5rem; text-align: center; transition: transform 0.3s, box-shadow 0.3s; }
.package--featured { border-color: var(--accent-primary); transform: scale(1.03); box-shadow: 0 8px 40px rgba(96, 223, 237, 0.15); position: relative; }
.package--featured::before { content: 'Most Popular'; position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--gradient-teal); color: var(--bg-primary); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 0.3rem 1.2rem; border-radius: 50px; }
.package:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,0.12); }
.package--featured:hover { transform: scale(1.03) translateY(-4px); }
.package__name { font-family: var(--font-display); font-size: clamp(1.5rem, 1.7vw, 1.75rem); font-weight: 700; color: var(--bg-primary); margin-bottom: 0.5rem; }
.package__price { font-size: clamp(2rem, 2.5vw, 2.5rem); font-weight: 700; color: var(--accent-primary-dark); margin-bottom: 0.25rem; }
.package__price-note { font-size: clamp(0.8rem, 0.9vw, 0.9rem); color: var(--text-muted); margin-bottom: 2rem; }
.package__features { list-style: none; text-align: left; margin-bottom: 2rem; }
.package__features li { padding: 0.5rem 0; font-size: clamp(0.9rem, 1.05vw, 1.05rem); color: var(--text-muted); border-bottom: 1px solid var(--border-light); display: flex; align-items: center; gap: 0.5rem; }
.package__features li::before { content: '✓'; color: var(--accent-primary-dark); font-weight: 700; flex-shrink: 0; }
.package__features li.disabled { opacity: 0.4; }
.package__features li.disabled::before { content: '—'; color: var(--text-secondary); }

/* --- CONTACT FORM --- */
.contact { background: var(--gradient-section-dark); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.form { display: flex; flex-direction: column; gap: 1.25rem; }
.form__group { display: flex; flex-direction: column; gap: 0.4rem; }
.form__label { font-size: clamp(0.8rem, 0.9vw, 0.9rem); font-weight: 600; color: var(--text-secondary); letter-spacing: 0.04em; text-transform: uppercase; }
.form__input, .form__textarea { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-sm); padding: 0.85rem 1.15rem; color: var(--text-white); font-family: var(--font-body); font-size: clamp(0.95rem, 1.1vw, 1.1rem); transition: border-color 0.3s, box-shadow 0.3s; }
.form__input:focus, .form__textarea:focus { outline: none; border-color: var(--accent-primary); box-shadow: 0 0 0 3px var(--accent-glow); }
.form__textarea { resize: vertical; min-height: 120px; }
.form__input::placeholder, .form__textarea::placeholder { color: var(--text-muted); }
.form__status { padding: 0.75rem 1rem; border-radius: var(--radius-sm); font-size: 0.9rem; display: none; }
.form__status--success { display: block; background: rgba(96,223,237,0.1); border: 1px solid rgba(96,223,237,0.3); color: var(--accent-primary); }
.form__status--error { display: block; background: rgba(255,107,53,0.1); border: 1px solid rgba(255,107,53,0.3); color: var(--accent-warning); }

/* --- CONTENT BLOCKS (for inner pages) --- */
.content-block { max-width: 800px; }
.content-block h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 2.5vw, 2.25rem); font-weight: 700; color: var(--text-white); margin-bottom: 1rem; margin-top: 2.5rem; }
.content-block h2:first-child { margin-top: 0; }
.section--light .content-block h2 { color: var(--bg-primary); }
.content-block p { margin-bottom: 1.25rem; line-height: 1.8; }
.content-block strong { color: var(--text-white); }
.section--light .content-block strong { color: var(--bg-primary); }

/* --- TWO COLUMN LAYOUT --- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.two-col--reverse { direction: rtl; }
.two-col--reverse > * { direction: ltr; }

/* --- IMAGE PLACEHOLDER --- */
.img-placeholder { width: 100%; aspect-ratio: 16/10; background: var(--gradient-card); border: var(--border-card); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 0.9rem; }
.section--light .img-placeholder { background: var(--border-light); border-color: var(--border-light); color: var(--text-secondary); }

/* --- PORTFOLIO GRID --- */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.portfolio-item { border-radius: var(--radius-md); overflow: hidden; background: var(--gradient-card); border: var(--border-card); transition: transform 0.4s, box-shadow 0.4s; }
.portfolio-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.portfolio-item__img { width: 100%; aspect-ratio: 16/10; background: var(--bg-primary-mid); display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 0.85rem; }
.portfolio-item__body { padding: 1.5rem; }
.portfolio-item__title { font-family: var(--font-display); font-weight: 600; color: var(--text-white); margin-bottom: 0.25rem; }
.portfolio-item__meta { font-size: 0.8rem; color: var(--accent-primary); margin-bottom: 0.5rem; }
.portfolio-item__text { font-size: 0.85rem; color: var(--text-secondary); }

/* --- SPECIALTY TAG CLOUD --- */
.specialty-tags { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.specialty-tag { display: inline-block; padding: 0.5rem 1.25rem; border-radius: 50px; font-size: 0.85rem; font-weight: 500; border: 1px solid rgba(96,223,237,0.25); color: var(--accent-primary); background: rgba(96,223,237,0.05); transition: all 0.3s; }
.specialty-tag:hover { background: var(--accent-primary); color: var(--bg-primary); }

/* --- HIPAA PAGE --- */
.hipaa-stat-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 1.5rem 2rem; margin-bottom: 1rem; text-align: center; }
.hipaa-stat-card__number { font-family: var(--font-display); font-size: clamp(2.5rem, 4vw, 3.5rem); font-weight: 800; color: var(--accent-primary); line-height: 1.1; margin-bottom: 0.5rem; }
.hipaa-stat-card__label { font-size: clamp(0.9rem, 1vw, 1rem); color: var(--text-secondary); line-height: 1.5; }
.hipaa-stat-card--accent { background: rgba(96,223,237,0.08); border-color: rgba(96,223,237,0.2); }
.hipaa-stat-card--accent .hipaa-stat-card__number { color: var(--accent-secondary); }

.hipaa-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.hipaa-feature { background: var(--text-white); border: 1px solid rgba(0,0,0,0.08); border-radius: 12px; padding: 2rem; transition: transform 0.3s, box-shadow 0.3s; }
.hipaa-feature:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); }
.hipaa-feature__icon { color: var(--accent-primary); margin-bottom: 1rem; }
.hipaa-feature__title { font-family: var(--font-display); font-size: clamp(1rem, 1.15vw, 1.15rem); font-weight: 700; color: var(--bg-primary); margin-bottom: 0.75rem; }
.hipaa-feature__text { font-size: clamp(0.88rem, 0.95vw, 0.95rem); color: #555; line-height: 1.7; }

.hipaa-checklist { background: rgba(96,223,237,0.06); border: 1px solid rgba(96,223,237,0.15); border-radius: 12px; padding: 2rem; }
.hipaa-checklist__title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--text-white); margin-bottom: 1.25rem; }
.section--light .hipaa-checklist__title { color: var(--bg-primary); }
.hipaa-checklist__list { list-style: none; padding: 0; margin: 0; }
.hipaa-checklist__list li { padding: 0.5rem 0 0.5rem 1.75rem; position: relative; font-size: clamp(0.9rem, 1vw, 1rem); color: var(--text-secondary); border-bottom: 1px solid rgba(255,255,255,0.05); }
.section--light .hipaa-checklist__list li { color: #555; border-bottom-color: rgba(0,0,0,0.06); }
.hipaa-checklist__list li:last-child { border-bottom: none; }
.hipaa-checklist__list li::before { content: '✓'; position: absolute; left: 0; color: var(--accent-secondary); font-weight: 700; }

.hipaa-risk-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.hipaa-risk { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 1.75rem; text-align: center; }
.hipaa-risk__tier { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent-primary); margin-bottom: 0.75rem; }
.hipaa-risk__tier--severe { color: #ff6b6b; }
.hipaa-risk__fine { font-family: var(--font-display); font-size: clamp(1.2rem, 1.5vw, 1.5rem); font-weight: 800; color: var(--text-white); margin-bottom: 0.75rem; }
.hipaa-risk__fine--severe { color: #ff6b6b; }
.hipaa-risk__desc { font-size: clamp(0.82rem, 0.9vw, 0.9rem); color: var(--text-secondary); line-height: 1.6; }

@media (max-width: 768px) {
  .hipaa-features { grid-template-columns: 1fr; }
  .hipaa-risk-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .hipaa-risk-grid { grid-template-columns: 1fr; }
}

/* --- FOOTER --- */
.footer { background: var(--bg-primary); border-top: var(--border-subtle); padding: 4rem 0 2rem; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer__brand-text { font-size: clamp(0.9rem, 1vw, 1.05rem); color: var(--text-muted); line-height: 1.7; margin-top: 1rem; max-width: 300px; }
.footer__heading { font-weight: 700; color: var(--text-white); font-size: clamp(0.85rem, 0.95vw, 0.95rem); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 1.25rem; }
.footer__links { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.footer__links a { color: var(--text-muted); font-size: clamp(0.9rem, 1vw, 1.05rem); transition: color 0.3s; }
.footer__links a:hover { color: var(--accent-primary); }
.footer__links--two-col { columns: 2; column-gap: 1.5rem; }
.footer__links--two-col li { break-inside: avoid; margin-bottom: 0.5rem; }
.footer__bottom { border-top: var(--border-subtle); padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; color: var(--text-muted); }

/* --- GSAP ANIMATION STATES --- */
.reveal { opacity: 0; transform: translateY(40px); }
.reveal-left { opacity: 0; transform: translateX(-40px); }
.reveal-right { opacity: 0; transform: translateX(40px); }
.reveal-scale { opacity: 0; transform: scale(0.95); }

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .hero { min-height: auto; padding-top: 5rem; padding-bottom: 3rem; display: flex; flex-direction: column; align-items: stretch; perspective: none; }
  .hero__float { display: none; }
  .hero__video-wrap { display: none; }
  .cursor-glow { display: none; }
  .hero__content { max-width: 100%; }
  .page-hero .container { grid-template-columns: 1fr; }
  .page-hero__image { max-height: 300px; margin-top: 2rem; }
  .page-hero__image img { max-height: 300px; }
  .page-hero__content { padding-bottom: clamp(2rem, 4vw, 3rem); }
  .ai-section__grid, .two-col, .contact__grid { grid-template-columns: 1fr; }
  .two-col--reverse { direction: ltr; }
  .packages-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .package--featured { transform: none; }
  .package--featured:hover { transform: translateY(-4px); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__col--brand { grid-column: 1 / -1; }
  .footer__col--services { order: 2; }
  .footer__col--company { order: 3; }
  .footer__col--medical { order: 4; }
  .footer__col--wellness { order: 5; }
}
@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .nav__links.active { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: rgba(11,29,58,0.98); backdrop-filter: blur(20px); padding: 1.5rem 2rem; border-bottom: var(--border-subtle); }
  .services-grid, .features-grid, .testimonials-grid, .portfolio-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__col--brand { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
  .grid-hero__bg { grid-template-columns: repeat(3, 1fr); }
  .grid-hero__column--hide-mobile { display: none; }
  .grid-hero__overlay { background: radial-gradient(ellipse 80% 70% at 30% 50%, rgba(11,29,58,0.95) 0%, rgba(11,29,58,0.8) 50%, rgba(11,29,58,0.65) 100%); }
  .value-bar__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

/* ============================================
   WEB CONCIERGE SECTION (Homepage)
   ============================================ */
.concierge-section {
  background: var(--bg-charcoal);
  overflow: hidden;
}
.concierge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.concierge-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.concierge-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 1.75rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.concierge-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-primary);
}
.concierge-card--featured {
  border-color: var(--accent-primary);
  background: rgba(96, 223, 237, 0.08);
}
.concierge-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.4vw, 1.45rem);
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.5rem;
}
.concierge-card__desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}
.concierge-card__price {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--accent-primary);
}
.concierge-card__price strong {
  font-size: 1.4rem;
}
.concierge-card__note {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 0.25rem;
}
@media (max-width: 1024px) {
  .concierge-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   PACKAGES PAGE — Pricing Highlight (website)
   ============================================ */
.pricing-highlight {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  background: var(--text-white);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 2.5rem;
  align-items: start;
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
}
.pricing-highlight__content h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 1.7vw, 1.75rem);
  font-weight: 700;
  color: var(--bg-charcoal);
  margin-bottom: 1.25rem;
}
.pricing-highlight__price-col {
  text-align: center;
  padding: 1.5rem;
  background: var(--bg-cream);
  border-radius: 12px;
}
@media (max-width: 768px) {
  .pricing-highlight {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   PACKAGES PAGE — Two-column packages grid
   ============================================ */
.packages-grid--two {
  grid-template-columns: 1fr 1fr;
  max-width: 820px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .packages-grid--two {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   PACKAGES PAGE — Add-on cards
   ============================================ */
.addon-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 860px;
  margin: 0 auto;
}
.addon-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  background: var(--text-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1.75rem 2rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.addon-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-primary);
}
.addon-card__main h3 {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.3vw, 1.3rem);
  font-weight: 700;
  color: var(--bg-charcoal);
  margin-bottom: 0.4rem;
}
.addon-card__main p {
  color: var(--text-body-alt);
  font-size: 0.95rem;
  line-height: 1.5;
}
.addon-card__price {
  text-align: right;
  flex-shrink: 0;
  min-width: 130px;
}
.addon-card__label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}
.addon-card__amount {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2vw, 2rem);
  font-weight: 800;
  color: var(--bg-charcoal);
  line-height: 1.2;
}
.addon-card__term {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}
@media (max-width: 640px) {
  .addon-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .addon-card__price {
    text-align: left;
  }
}

/* ============================================
   NAV — Dropdown Menu
   ============================================ */
.nav__dropdown {
  position: relative;
}
.nav__arrow {
  font-size: 0.7em;
  margin-left: 2px;
  display: inline-block;
  transition: transform 0.2s ease;
}
.nav__dropdown:hover .nav__arrow {
  transform: rotate(180deg);
}
.nav__dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(8, 18, 38, 0.97);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 0.5rem 0;
  min-width: 200px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  z-index: 1000;
  list-style: none;
  backdrop-filter: blur(12px);
}
.nav__dropdown:hover .nav__dropdown-menu,
.nav__dropdown.open .nav__dropdown-menu {
  display: block;
  animation: fadeInDrop 0.2s ease;
}
@keyframes fadeInDrop {
  from { opacity: 0; transform: translateX(-50%) translateY(-6px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.nav__dropdown-menu li {
  margin: 0;
}
.nav__dropdown-menu a {
  display: block;
  padding: 0.55rem 1.25rem;
  font-size: clamp(0.85rem, 0.95vw, 0.95rem);
  color: var(--border-light) !important;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav__dropdown-menu a:hover,
.nav__dropdown-menu a.active {
  background: rgba(255,255,255,0.06);
  color: var(--accent-primary) !important;
}

/* NAV — AI Leads highlight (only when on the page) */
.nav__highlight.active {
  color: var(--accent-primary) !important;
  font-weight: 600;
}
.nav__highlight:hover {
  color: var(--accent-primary) !important;
}

/* NAV — Wide dropdown for specialties */
.nav__dropdown-menu--wide {
  min-width: 420px;
  columns: 2;
  column-gap: 0;
  padding: 0.75rem 0;
}
.nav__dropdown-menu--wide li {
  break-inside: avoid;
}
.nav__dropdown-menu--wide a {
  padding: 0.4rem 1.25rem;
  font-size: clamp(0.8rem, 0.88vw, 0.88rem);
}

/* Mobile dropdown */
@media (max-width: 1024px) {
  .nav__dropdown-menu {
    position: static;
    transform: none;
    background: rgba(255,255,255,0.03);
    border: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0 0 0 1rem;
    display: none;
    min-width: auto;
  }
  .nav__dropdown:hover .nav__dropdown-menu,
  .nav__dropdown.open .nav__dropdown-menu {
    display: block;
    animation: none;
  }
  .nav__dropdown-menu a {
    padding: 0.4rem 0;
  }
}

/* ============================================
   CASE STUDIES PAGE
   ============================================ */
.case-studies-grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.case-study-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  background: var(--text-white);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.case-study-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}
.case-study-card:nth-child(even) {
  direction: rtl;
}
.case-study-card:nth-child(even) > * {
  direction: ltr;
}
.case-study-card__image {
  overflow: hidden;
  min-height: 280px;
}
.case-study-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.case-study-card:hover .case-study-card__image img {
  transform: scale(1.03);
}
.case-study-card__content {
  padding: 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.case-study-card__client {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
}
.case-study-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.6vw, 1.6rem);
  font-weight: 800;
  color: var(--bg-charcoal);
  line-height: 1.25;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
.case-study-card__desc {
  color: var(--text-body-alt);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.case-study-card__quote {
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.9rem;
  border-left: 3px solid var(--accent-primary);
  padding-left: 0.75rem;
}
.case-study-card__link {
  color: var(--accent-primary);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.2s ease;
}
.case-study-card__link:hover {
  color: var(--accent-primary-dark);
}
@media (max-width: 768px) {
  .case-study-card {
    grid-template-columns: 1fr;
  }
  .case-study-card:nth-child(even) {
    direction: ltr;
  }
  .case-study-card__content {
    padding: 1.5rem;
  }
  .case-study-card__image {
    min-height: 200px;
  }
}

/* ============================================
   ARTICLES PAGE
   ============================================ */
.articles-empty {
  text-align: center;
  padding: 4rem 0;
}
.articles-empty h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2vw, 2rem);
  font-weight: 800;
  color: var(--bg-charcoal);
  margin-bottom: 0.75rem;
}
.articles-empty p {
  color: var(--text-body-alt);
  font-size: 1.05rem;
  max-width: 480px;
  margin: 0 auto;
}
.articles-empty a {
  color: var(--accent-primary);
  font-weight: 600;
}
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}
.article-card {
  background: var(--text-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.article-card__image {
  height: 200px;
  overflow: hidden;
}
.article-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.article-card:hover .article-card__image img {
  transform: scale(1.03);
}
.article-card__content {
  padding: 1.5rem;
  flex: 1;
}
.article-card__meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.article-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.3vw, 1.3rem);
  font-weight: 700;
  color: var(--bg-charcoal);
  margin: 0.4rem 0 0.6rem;
  line-height: 1.3;
}
.article-card__excerpt {
  color: var(--text-body-alt);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* NAV — Phone number */
.nav__phone {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-white) !important;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}
.nav__phone:hover {
  opacity: 1;
}
@media (max-width: 1024px) {
  .nav__phone {
    font-size: 1.1rem;
    opacity: 1;
    color: var(--accent-primary) !important;
  }
}

/* ============================================
   TWO-PANEL SERVICES
   ============================================ */
.panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}
.panel {
  border-radius: 16px;
  padding: clamp(2rem, 3.5vw, 3rem);
  text-align: center;
  color: var(--text-white);
  position: relative;
  overflow: hidden;
}
.panel--blue {
  background: linear-gradient(165deg, #1a3a6b 0%, #0f2549 100%);
}
.panel--orange {
  background: linear-gradient(165deg, #e8751a 0%, #d45e08 100%);
}
.panel__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.5vw, 2.5rem);
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 0.2rem;
  letter-spacing: -0.02em;
}
.panel__subtitle {
  font-style: italic;
  font-size: clamp(0.95rem, 1.1vw, 1.1rem);
  color: rgba(255,255,255,0.85);
  margin-bottom: 1rem;
}
.panel__divider {
  width: 60%;
  height: 1px;
  background: rgba(255,255,255,0.25);
  margin: 0 auto 1.25rem;
}
.panel__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}
.panel__list li {
  font-weight: 700;
  font-size: clamp(0.85rem, 0.95vw, 0.95rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.panel__list li::before {
  content: "✓";
  font-size: 0.85em;
  opacity: 0.7;
}
.panel__list li:last-child {
  border-bottom: none;
}
.panel__desc {
  font-size: clamp(0.9rem, 1vw, 1rem);
  line-height: 1.55;
  color: rgba(255,255,255,0.8);
  margin-bottom: 1.5rem;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}
.panel__actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}
/* Panel buttons */
.btn--panel-filled {
  background: var(--accent-primary);
  color: var(--bg-charcoal);
  padding: 0.7rem 1.6rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn--panel-filled:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(96,223,237,0.4);
}
.btn--panel-outline {
  border: 2px solid var(--accent-primary);
  color: var(--accent-primary);
  padding: 0.65rem 1.6rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.btn--panel-outline:hover {
  background: var(--accent-primary);
  color: var(--bg-charcoal);
}
.btn--panel-white {
  border: 2px solid var(--text-white);
  color: var(--text-white);
  padding: 0.65rem 1.6rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.btn--panel-white:hover {
  background: var(--text-white);
  color: #d45e08;
}
@media (max-width: 768px) {
  .panels {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   BLOG ARTICLE STYLES
   Add this to the bottom of your assets/style.css
   ============================================ */

/* --- Blog Article Layout --- */
.article-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: var(--border-subtle);
}

.article-meta__category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-secondary);
  background: var(--accent-secondary-glow);
  padding: 0.35em 0.85em;
  border-radius: var(--radius-sm);
}

.article-meta__date,
.article-meta__read {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.article-meta__sep {
  color: var(--text-muted);
}

/* --- Article Body --- */
.article-body h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  color: var(--text-white);
  margin: 3rem 0 1.25rem;
  line-height: 1.3;
}

.article-body h3 {
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-white);
  margin: 2.5rem 0 1rem;
}

.article-body p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 1.5rem;
}

.article-body strong {
  color: var(--text-white);
  font-weight: 600;
}

.article-body a {
  color: var(--accent-secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-body a:hover {
  color: var(--text-white);
}

.article-body em {
  font-style: italic;
  color: var(--bg-light);
}

/* --- Image Placeholder (swap out when you add real images) --- */
.article-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--bg-primary-light), var(--bg-primary-mid));
  border: var(--border-card);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2rem 0;
  overflow: hidden;
}

.article-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.article-img__placeholder {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  padding: 2rem;
  line-height: 1.5;
}

/* --- Callout / Pull Quote --- */
.article-callout {
  background: var(--accent-secondary-glow);
  border-left: 4px solid var(--accent-secondary);
  padding: 1.5rem 2rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 2.5rem 0;
}

.article-callout p {
  color: var(--bg-light);
  font-size: 1.1rem;
  font-weight: 500;
  margin: 0;
  line-height: 1.7;
}

/* --- References --- */
.article-references {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: var(--border-subtle);
}

.article-references h3 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.article-references ol {
  list-style: decimal;
  padding-left: 1.25rem;
}

.article-references li {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.article-references a {
  color: var(--accent-secondary);
  text-decoration: none;
  word-break: break-all;
}

.article-references a:hover {
  text-decoration: underline;
}

/* --- Author / CTA Box --- */
.article-cta {
  background: var(--gradient-card);
  border: var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin: 3rem 0;
  text-align: center;
}

.article-cta h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text-white);
  margin-bottom: 0.75rem;
}

.article-cta p {
  color: var(--text-body);
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.article-cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* --- Tags --- */
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
}

.article-tags a {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.3em 0.8em;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.3s;
}

.article-tags a:hover {
  color: var(--accent-secondary);
  border-color: var(--accent-secondary);
}

/* --- Related Posts --- */
.related-posts {
  margin-top: 4rem;
}

.related-posts h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--text-white);
  margin-bottom: 1.5rem;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .article-body h2 { margin-top: 2.5rem; }
  .article-callout { padding: 1.25rem 1.5rem; }
  .article-cta { padding: 2rem 1.5rem; }
}

/* ── FAQ Accordion ── */
.faq-accordion { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(96,223,237,0.12); }
.faq-item:last-child { border-bottom: none; }
.faq-item__trigger {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 1.25rem 0; background: none; border: none; cursor: pointer;
  text-align: left; color: var(--text-white); font-size: 1.05rem; font-weight: 500;
  font-family: inherit; line-height: 1.4; gap: 1rem;
  transition: color 0.3s;
}
.faq-item__trigger:hover { color: var(--accent-primary); }
.faq-item__icon {
  flex-shrink: 0; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 300; color: var(--accent-primary);
  transition: transform 0.3s;
}
.faq-item__trigger[aria-expanded="true"] .faq-item__icon { transform: rotate(45deg); }
.faq-item__answer { overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease; max-height: 0; padding: 0 0; }
.faq-item__answer[hidden] { display: block; max-height: 0; padding: 0; visibility: hidden; }
.faq-item__answer:not([hidden]) { max-height: 500px; padding: 0 0 1.25rem 0; visibility: visible; }
.faq-item__answer p { color: #b0bec5; line-height: 1.7; font-size: 0.95rem; margin: 0; }

/* ── Specialty Index — Grouped Cards ── */
.specialty-group { margin-bottom: 3rem; }
.specialty-group__heading {
  font-size: 1.1rem; font-weight: 700; color: var(--accent-primary); text-transform: uppercase;
  letter-spacing: 0.06em; margin-bottom: 1.25rem; padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(96,223,237,0.15);
}
.specialty-group__grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem;
}
.specialty-card {
  display: flex; flex-direction: column; padding: 1.25rem 1.5rem;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(96,223,237,0.1);
  border-radius: 10px; text-decoration: none; transition: all 0.3s;
}
.specialty-card:hover {
  background: rgba(96,223,237,0.06); border-color: rgba(96,223,237,0.25);
  transform: translateY(-2px);
}
.specialty-card__title {
  font-size: 1.05rem; font-weight: 600; color: var(--text-white); margin-bottom: 0.5rem;
}
.specialty-card__desc {
  font-size: 0.88rem; color: #8899aa; line-height: 1.55; flex: 1; margin-bottom: 0.75rem;
}
.specialty-card__link {
  font-size: 0.82rem; font-weight: 600; color: var(--accent-secondary); transition: color 0.3s;
}
.specialty-card:hover .specialty-card__link { color: var(--accent-primary); }
