/* ==========================================================================
   Teledair Communications & Security — Design System
   Brand palette derived from logo: deep navy, signal blue, globe teal, brand red
   ========================================================================== */

/* ----- Tokens ----- */
:root {
  /* Brand */
  --navy-900: #0b1b33;
  --navy-800: #0f2647;
  --navy-700: #14315b;
  --navy-600: #1b3f73;
  --blue-600: #1667c8;
  --blue-500: #2a82e6;
  --blue-400: #57a0f0;
  --blue-100: #e4effc;
  --blue-050: #f2f7fe;
  --teal-500: #17a08a;
  --red-600:  #c8262c;
  --red-500:  #e03a40;

  /* Neutrals */
  --ink-900: #0d1420;
  --ink-700: #33415c;
  --ink-600: #4a5a78;
  --ink-500: #667795;
  --ink-300: #b9c3d4;
  --ink-200: #dfe5ee;
  --ink-100: #eef1f6;
  --ink-050: #f7f9fc;
  --white:   #ffffff;

  /* Typography */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-head: "Plus Jakarta Sans", var(--font-sans);

  /* Fluid type scale */
  --fs-xs:   0.8125rem;
  --fs-sm:   0.9375rem;
  --fs-base: 1.0625rem;
  --fs-md:   clamp(1.0625rem, 0.45vw + 0.96rem, 1.1875rem);
  --fs-lg:   clamp(1.1875rem, 0.6vw + 1.05rem, 1.375rem);
  --fs-xl:   clamp(1.375rem, 1vw + 1.15rem, 1.75rem);
  --fs-2xl:  clamp(1.625rem, 1.7vw + 1.25rem, 2.25rem);
  --fs-3xl:  clamp(2rem, 2.6vw + 1.4rem, 3rem);
  --fs-4xl:  clamp(2.35rem, 4vw + 1.4rem, 4rem);

  /* Space */
  --sp-1: 0.25rem;  --sp-2: 0.5rem;   --sp-3: 0.75rem;  --sp-4: 1rem;
  --sp-5: 1.5rem;   --sp-6: 2rem;     --sp-7: 2.5rem;   --sp-8: 3rem;
  --sp-9: 4rem;     --sp-10: 5rem;    --sp-11: 6.5rem;

  /* Radius */
  --r-sm: 8px;  --r-md: 12px;  --r-lg: 18px;  --r-xl: 24px;  --r-pill: 999px;

  /* Elevation */
  --sh-xs: 0 1px 2px rgba(11, 27, 51, .06), 0 1px 3px rgba(11, 27, 51, .05);
  --sh-sm: 0 2px 4px rgba(11, 27, 51, .05), 0 4px 12px rgba(11, 27, 51, .06);
  --sh-md: 0 4px 8px rgba(11, 27, 51, .05), 0 12px 28px rgba(11, 27, 51, .09);
  --sh-lg: 0 8px 16px rgba(11, 27, 51, .06), 0 24px 56px rgba(11, 27, 51, .13);
  --sh-blue: 0 8px 24px rgba(22, 103, 200, .28);

  /* Layout */
  --container: 1200px;
  --container-narrow: 820px;
  --nav-h: 78px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
/* `clip` (not `hidden`) keeps the off-canvas drawer from inflating the
   layout viewport on touch devices, which otherwise stretches fixed
   elements like .mobile-bar beyond the screen width. */
html, body { overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--ink-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--navy-900);
  line-height: 1.16;
  letter-spacing: -0.02em;
  margin: 0 0 var(--sp-4);
  font-weight: 800;
}
h1 { font-size: var(--fs-4xl); }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }
p { margin: 0 0 var(--sp-4); }
a { color: var(--blue-600); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--navy-700); }
ul, ol { margin: 0 0 var(--sp-4); padding-left: 1.25rem; }
strong { color: var(--navy-800); font-weight: 700; }
hr { border: 0; border-top: 1px solid var(--ink-200); margin: var(--sp-7) 0; }

:focus-visible {
  outline: 3px solid var(--blue-500);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ----- Layout helpers ----- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--sp-5); }
.container-narrow { max-width: var(--container-narrow); }
.section { padding: var(--sp-10) 0; }
.section-lg { padding: var(--sp-11) 0; }
.section-tight { padding: var(--sp-8) 0; }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mb-3 { margin-bottom: var(--sp-3); }
.mb-5 { margin-bottom: var(--sp-5); }
.mb-6 { margin-bottom: var(--sp-6); }
.lead { font-size: var(--fs-lg); color: var(--ink-600); line-height: 1.6; }
.muted { color: var(--ink-500); }
.small { font-size: var(--fs-sm); }

.skip-link {
  position: absolute; top: -100px; left: var(--sp-4); z-index: 2000;
  background: var(--navy-900); color: #fff; padding: var(--sp-3) var(--sp-5);
  border-radius: var(--r-sm); font-weight: 600;
}
.skip-link:focus { top: var(--sp-4); color: #fff; }

/* ----- Grid ----- */
.grid { display: grid; gap: var(--sp-5); }
.g-6 { gap: var(--sp-6); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-9); align-items: center; }
.split-media { grid-template-columns: 1.05fr .95fr; }

@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split, .split-media { grid-template-columns: 1fr; gap: var(--sp-6); }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ----- Section heading block ----- */
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--blue-600);
  margin-bottom: var(--sp-3);
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--blue-500), var(--teal-500));
}
.eyebrow.center-eb { justify-content: center; }
.sec-head { max-width: 700px; margin: 0 auto var(--sp-8); text-align: center; }
.sec-head p { font-size: var(--fs-md); color: var(--ink-600); margin-bottom: 0; }
.sec-head.left { margin-left: 0; text-align: left; }

/* ----- Buttons ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-head);
  font-size: var(--fs-sm); font-weight: 700; line-height: 1;
  padding: .95rem 1.6rem; border-radius: var(--r-pill);
  border: 1.5px solid transparent; cursor: pointer;
  text-align: center; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 17px; height: 17px; flex: none; }

.btn-primary { background: var(--blue-600); color: #fff; box-shadow: var(--sh-blue); }
.btn-primary:hover { background: var(--navy-700); color: #fff; box-shadow: 0 12px 30px rgba(20, 49, 91, .34); }

.btn-accent { background: var(--red-600); color: #fff; box-shadow: 0 8px 24px rgba(200, 38, 44, .3); }
.btn-accent:hover { background: #a81f24; color: #fff; }

.btn-dark { background: var(--navy-900); color: #fff; }
.btn-dark:hover { background: var(--navy-700); color: #fff; }

.btn-outline { background: transparent; color: var(--navy-800); border-color: var(--ink-200); }
.btn-outline:hover { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }

.btn-ghost-light { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { background: #fff; color: var(--navy-900); border-color: #fff; }

.btn-white { background: #fff; color: var(--navy-900); }
.btn-white:hover { background: var(--blue-100); color: var(--navy-900); }

.btn-lg { padding: 1.1rem 2rem; font-size: var(--fs-base); }
.btn-sm { padding: .7rem 1.2rem; font-size: var(--fs-xs); }
.btn-block { width: 100%; }

.btn-link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--font-head); font-weight: 700; font-size: var(--fs-sm);
  color: var(--blue-600);
}
.btn-link svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.btn-link:hover svg { transform: translateX(4px); }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.btn-row.center-row { justify-content: center; }

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.topbar {
  background: var(--navy-900);
  color: rgba(255,255,255,.78);
  font-size: var(--fs-xs);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); min-height: 40px; }
.topbar a { color: rgba(255,255,255,.85); font-weight: 600; }
.topbar a:hover { color: var(--blue-400); }
.topbar-items { display: flex; align-items: center; gap: var(--sp-5); }
.topbar-items span, .topbar-items a { display: inline-flex; align-items: center; gap: .4rem; }
.topbar svg { width: 14px; height: 14px; opacity: .85; }
@media (max-width: 820px) { .topbar .container { justify-content: center; } .topbar-note { display: none; } }
@media (max-width: 480px) { .topbar-items { gap: var(--sp-3); font-size: 12px; } }

.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--ink-200);
  transition: box-shadow .25s var(--ease);
}
.site-header.is-stuck { box-shadow: var(--sh-sm); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-5); min-height: var(--nav-h);
}
.brand { display: inline-flex; align-items: center; gap: var(--sp-3); flex: none; }
.brand img { height: 46px; width: auto; }
.brand-txt { display: none; }

.nav-menu { display: flex; align-items: center; gap: var(--sp-1); list-style: none; margin: 0; padding: 0; }
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  display: inline-flex; align-items: center; gap: .3rem;
  font-family: var(--font-head); font-size: var(--fs-sm); font-weight: 600;
  color: var(--navy-800); padding: .65rem .8rem; border-radius: var(--r-sm);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.nav-menu > li > a:hover, .nav-menu > li > a[aria-expanded="true"] { background: var(--blue-050); color: var(--blue-600); }
.nav-menu > li.current > a { color: var(--blue-600); }
.nav-menu > li.current > a::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: -2px;
  height: 3px; border-radius: 3px; background: var(--blue-600);
}
.caret { width: 12px; height: 12px; transition: transform .2s var(--ease); }
[aria-expanded="true"] .caret { transform: rotate(180deg); }

.submenu {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 268px;
  background: #fff; border: 1px solid var(--ink-200); border-radius: var(--r-md);
  box-shadow: var(--sh-lg); padding: var(--sp-2); margin: 0; list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.nav-menu > li:hover > .submenu,
.nav-menu > li > a[aria-expanded="true"] + .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a {
  display: block; padding: .6rem .8rem; border-radius: var(--r-sm);
  font-size: var(--fs-sm); font-weight: 600; color: var(--navy-800);
}
.submenu a:hover { background: var(--blue-050); color: var(--blue-600); }
.submenu .sub-desc { display: block; font-weight: 500; font-size: var(--fs-xs); color: var(--ink-500); margin-top: 2px; }

.nav-cta { display: flex; align-items: center; gap: var(--sp-3); flex: none; }
.nav-phone {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 800; font-size: var(--fs-sm);
  color: var(--navy-900);
}
.nav-phone svg { width: 18px; height: 18px; color: var(--blue-600); }
.nav-phone:hover { color: var(--blue-600); }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--ink-200);
  background: #fff; border-radius: var(--r-sm); cursor: pointer;
  align-items: center; justify-content: center; flex: none;
  position: relative; z-index: 2;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--navy-900); border-radius: 2px; position: relative; transition: background .2s; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px;
  background: var(--navy-900); border-radius: 2px; transition: transform .25s var(--ease), top .25s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .nav-cta .nav-phone { display: none; }
  .nav-cta .btn { display: none; }
  /* `backdrop-filter` turns .site-header into a containing block for its
     position:fixed descendants, which would clip the off-canvas drawer and
     backdrop to the header's own box. Drop the blur below the breakpoint so
     the drawer can fill the viewport. */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  /* Keep the brand + toggle row above the sliding drawer so the
     close button is always reachable while the menu is open.
     The toggle shares a stacking context with .nav-menu, so it needs a
     higher z-index than the drawer itself. */
  .site-header .nav { position: relative; z-index: 1120; }
  .nav-toggle { z-index: 1200; }
  .brand { position: relative; z-index: 1200; }
  .nav-menu {
    position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw);
    background: #fff; flex-direction: column; align-items: stretch;
    gap: 0; padding: calc(var(--nav-h) + var(--sp-6)) var(--sp-5) var(--sp-10);
    box-shadow: var(--sh-lg);
    overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
    transform: translateX(102%); transition: transform .3s var(--ease);
    z-index: 1100; visibility: hidden;
  }
  .nav-open .nav-menu { transform: translateX(0); visibility: visible; }
  /* Full-width rows so tap targets and dividers span the drawer.
     `:not(.btn)` keeps the drawer's CTA button from being stretched. */
  .nav-menu > li > a:not(.btn) { display: flex; width: 100%; padding: .9rem .25rem; font-size: var(--fs-md); justify-content: space-between; border-radius: 0; border-bottom: 1px solid var(--ink-100); }
  .nav-menu > li.current > a::after { display: none; }
  .nav-menu > li > a[aria-expanded="true"] { background: transparent; }
  .submenu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-bottom: 1px solid var(--ink-100);
    border-radius: 0; padding: var(--sp-2) 0 var(--sp-3) var(--sp-3);
    display: none; background: var(--ink-050);
  }
  .nav-menu > li > a[aria-expanded="true"] + .submenu { display: block; }
  .nav-mobile-extra { display: block; margin-top: var(--sp-5); border-bottom: 0; }
  .nav-mobile-extra .btn { display: inline-flex; width: 100%; justify-content: center; gap: .5rem; }
  .nav-backdrop {
    position: fixed; inset: 0; background: rgba(11,27,51,.5);
    opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s; z-index: 1050;
  }
  .nav-open .nav-backdrop { opacity: 1; visibility: visible; }
}
/* Desktop-only hide. Must NOT appear after the mobile media query with
   equal specificity, or it would cancel the drawer CTA. */
@media (min-width: 1081px) { .nav-mobile-extra { display: none !important; } }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; isolation: isolate;
  background: var(--navy-900);
  color: #fff; overflow: hidden;
  padding: var(--sp-11) 0 var(--sp-10);
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 90% at 15% 20%, rgba(11,27,51,.86) 0%, rgba(11,27,51,.92) 45%, rgba(11,27,51,.97) 100%),
    linear-gradient(105deg, rgba(20,49,91,.95) 0%, rgba(11,27,51,.75) 55%, rgba(22,103,200,.35) 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: var(--sp-9); align-items: center; }
.hero h1 { color: #fff; margin-bottom: var(--sp-5); }
.hero h1 .hl {
  background: linear-gradient(100deg, var(--blue-400), var(--teal-500));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: var(--fs-lg); color: rgba(255,255,255,.82); max-width: 56ch; margin-bottom: var(--sp-6); }
.hero .eyebrow { color: var(--blue-400); }
.hero-badges { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); margin: var(--sp-6) 0 0; padding: 0; list-style: none; }
.hero-badges li { display: inline-flex; align-items: center; gap: .5rem; font-size: var(--fs-sm); font-weight: 600; color: rgba(255,255,255,.88); }
.hero-badges svg { width: 18px; height: 18px; color: var(--teal-500); flex: none; }

.pill-tag {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  color: #fff; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .04em;
  padding: .45rem 1rem; border-radius: var(--r-pill); margin-bottom: var(--sp-5);
  backdrop-filter: blur(6px);
}
.pill-tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal-500); box-shadow: 0 0 0 3px rgba(23,160,138,.28); }

/* Hero quote card */
.hero-card {
  background: rgba(255,255,255,.97);
  border-radius: var(--r-xl); padding: var(--sp-7);
  box-shadow: var(--sh-lg); color: var(--ink-700);
}
.hero-card h2 { font-size: var(--fs-xl); margin-bottom: var(--sp-2); }
.hero-card .form-note { font-size: var(--fs-xs); color: var(--ink-500); margin-bottom: var(--sp-5); }

@media (max-width: 980px) {
  .hero { padding: var(--sp-9) 0 var(--sp-8); }
  .hero-grid { grid-template-columns: 1fr; gap: var(--sp-7); }
}

/* Page hero (inner pages) */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--navy-900); color: #fff;
  padding: var(--sp-10) 0 var(--sp-9);
}
.page-hero-bg { position: absolute; inset: 0; z-index: -2; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(11,27,51,.94) 0%, rgba(15,38,71,.88) 50%, rgba(22,103,200,.55) 100%);
}
.page-hero h1 { color: #fff; max-width: 22ch; margin-bottom: var(--sp-4); }
.page-hero p { font-size: var(--fs-lg); color: rgba(255,255,255,.85); max-width: 62ch; margin-bottom: 0; }
.page-hero .eyebrow { color: var(--blue-400); }

.breadcrumb { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; padding: 0; margin: 0 0 var(--sp-5); font-size: var(--fs-xs); }
.breadcrumb a { color: rgba(255,255,255,.72); font-weight: 600; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li + li::before { content: "/"; margin-right: .45rem; color: rgba(255,255,255,.4); }
.breadcrumb [aria-current] { color: #fff; font-weight: 600; }

/* ==========================================================================
   Trust bar / stats
   ========================================================================== */
.trustbar { background: var(--ink-050); border-bottom: 1px solid var(--ink-200); padding: var(--sp-6) 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); }
.trust-item { text-align: center; }
.trust-num {
  font-family: var(--font-head); font-size: var(--fs-2xl); font-weight: 800;
  color: var(--navy-900); line-height: 1; letter-spacing: -.03em;
  display: block; margin-bottom: .3rem;
}
.trust-num span { color: var(--blue-600); }
.trust-label { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-500); }
@media (max-width: 720px) { .trust-grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-6) var(--sp-4); } }

/* ==========================================================================
   Cards
   ========================================================================== */
.card {
  position: relative; display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--ink-200); border-radius: var(--r-lg);
  padding: var(--sp-6); box-shadow: var(--sh-xs);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); border-color: var(--blue-100); }
/* Card headings are h3 for a valid document outline, but keep the
   smaller visual size the card layout was designed around. */
.card h3, .card h4 { margin-bottom: var(--sp-2); font-size: var(--fs-lg); }
.card p { color: var(--ink-600); font-size: var(--fs-sm); }
.card .btn-link { margin-top: auto; padding-top: var(--sp-3); }

.card-icon {
  width: 52px; height: 52px; border-radius: var(--r-md);
  display: grid; place-items: center; margin-bottom: var(--sp-5);
  background: linear-gradient(145deg, var(--blue-050), var(--blue-100));
  color: var(--blue-600); border: 1px solid var(--blue-100);
  transition: background .28s var(--ease), color .28s var(--ease);
}
.card-icon svg { width: 26px; height: 26px; }
.card:hover .card-icon { background: var(--blue-600); color: #fff; border-color: var(--blue-600); }

/* Media card (image on top) */
.card-media { padding: 0; overflow: hidden; }
.card-media .thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-100); }
.card-media .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card-media:hover .thumb img { transform: scale(1.05); }
.card-media .body { display: flex; flex-direction: column; flex: 1; padding: var(--sp-5) var(--sp-5) var(--sp-6); }
.thumb-tag {
  position: absolute; top: var(--sp-3); left: var(--sp-3); z-index: 2;
  background: rgba(11,27,51,.82); color: #fff; backdrop-filter: blur(6px);
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: .35rem .7rem; border-radius: var(--r-pill);
}

/* Feature list */
.check-list { list-style: none; padding: 0; margin: 0 0 var(--sp-5); display: grid; gap: var(--sp-3); }
.check-list li { display: flex; gap: var(--sp-3); align-items: flex-start; font-size: var(--fs-sm); color: var(--ink-600); }
.check-list svg { width: 20px; height: 20px; flex: none; color: var(--teal-500); margin-top: 1px; }
.check-list.two-col { grid-template-columns: 1fr 1fr; gap: var(--sp-3) var(--sp-5); }
@media (max-width: 700px) { .check-list.two-col { grid-template-columns: 1fr; } }
.check-list.on-dark li { color: rgba(255,255,255,.82); }

/* Offer card */
.offer {
  position: relative; overflow: hidden;
  background: linear-gradient(125deg, var(--navy-900) 0%, var(--navy-700) 55%, var(--blue-600) 130%);
  color: #fff; border-radius: var(--r-xl); padding: var(--sp-8);
  box-shadow: var(--sh-lg);
}
.offer::before {
  content: ""; position: absolute; width: 340px; height: 340px; right: -90px; top: -120px;
  background: radial-gradient(circle, rgba(23,160,138,.35), transparent 68%); border-radius: 50%;
}
.offer-inner { position: relative; display: grid; grid-template-columns: 1fr auto; gap: var(--sp-7); align-items: center; }
.offer h2 { color: #fff; font-size: var(--fs-2xl); }
.offer p { color: rgba(255,255,255,.85); margin-bottom: 0; }
.price { display: flex; align-items: baseline; gap: .3rem; font-family: var(--font-head); }
.price .amt { font-size: clamp(2.5rem, 4vw, 3.5rem); font-weight: 800; color: #fff; letter-spacing: -.04em; line-height: 1; }
.price .per { font-size: var(--fs-md); color: rgba(255,255,255,.7); font-weight: 600; }
.offer-badge {
  display: inline-block; background: var(--red-600); color: #fff;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: .35rem .85rem; border-radius: var(--r-pill); margin-bottom: var(--sp-4);
}
@media (max-width: 860px) { .offer { padding: var(--sp-6); } .offer-inner { grid-template-columns: 1fr; } }

/* ==========================================================================
   Media + text sections
   ========================================================================== */
.media-frame { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg); }
.media-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.media-frame.tall img { aspect-ratio: 3 / 4; }
.media-frame.wide img { aspect-ratio: 16 / 9; }
.media-accent { position: relative; }
.media-accent::before {
  content: ""; position: absolute; inset: auto -18px -18px auto; width: 62%; height: 62%;
  background: linear-gradient(135deg, var(--blue-100), rgba(23,160,138,.18));
  border-radius: var(--r-xl); z-index: -1;
}

.stat-float {
  position: absolute; bottom: var(--sp-4); left: var(--sp-4); right: var(--sp-4);
  background: rgba(255,255,255,.94); backdrop-filter: blur(10px);
  border-radius: var(--r-md); padding: var(--sp-4) var(--sp-5);
  display: flex; align-items: center; gap: var(--sp-4); box-shadow: var(--sh-md);
}
.stat-float .n { font-family: var(--font-head); font-size: var(--fs-xl); font-weight: 800; color: var(--navy-900); line-height: 1; }
.stat-float .t { font-size: var(--fs-xs); color: var(--ink-600); font-weight: 600; }

/* ----- Backgrounds ----- */
.bg-light { background: var(--ink-050); }
.bg-blue-soft { background: linear-gradient(180deg, var(--blue-050), #fff); }
.bg-navy { background: var(--navy-900); color: rgba(255,255,255,.8); }
.bg-navy h2, .bg-navy h3, .bg-navy h4 { color: #fff; }
.bg-navy .lead { color: rgba(255,255,255,.8); }
.bg-navy .eyebrow { color: var(--blue-400); }
.bg-pattern {
  background-color: var(--navy-900);
  background-image:
    radial-gradient(circle at 12% 18%, rgba(22,103,200,.35), transparent 45%),
    radial-gradient(circle at 88% 78%, rgba(23,160,138,.22), transparent 48%);
  color: rgba(255,255,255,.82);
}
.bg-pattern h2, .bg-pattern h3 { color: #fff; }

/* Glass card on dark */
.card-glass {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-lg); padding: var(--sp-6); color: rgba(255,255,255,.82);
  backdrop-filter: blur(8px);
  transition: transform .28s var(--ease), background .28s var(--ease), border-color .28s var(--ease);
  display: flex; flex-direction: column; height: 100%;
}
.card-glass:hover { transform: translateY(-5px); background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.26); }
.card-glass h3, .card-glass h4 { color: #fff; margin-bottom: var(--sp-2); font-size: var(--fs-lg); }
.card-glass p { color: rgba(255,255,255,.75); font-size: var(--fs-sm); }
.card-glass .card-icon { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.18); color: var(--blue-400); }
.card-glass:hover .card-icon { background: var(--blue-600); color: #fff; border-color: var(--blue-600); }
.card-glass .btn-link { color: var(--blue-400); margin-top: auto; padding-top: var(--sp-3); }
.card-glass .btn-link:hover { color: #fff; }

/* ----- Step / process ----- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); }
.step { position: relative; padding-top: var(--sp-8); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-head); font-size: var(--fs-xl); font-weight: 800;
  color: var(--blue-500); opacity: .55; position: absolute; top: 0; left: 0; line-height: 1;
}
.step h3, .step h4 { font-size: var(--fs-md); margin-bottom: var(--sp-2); }
.step p { font-size: var(--fs-sm); color: var(--ink-600); margin: 0; }
.step::after {
  content: ""; position: absolute; top: 12px; left: 52px; right: -12px; height: 1px;
  background: linear-gradient(90deg, var(--ink-200), transparent);
}
.step:last-child::after { display: none; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); gap: var(--sp-6); } .step::after { display: none; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ----- Accordion ----- */
.accordion { border-top: 1px solid var(--ink-200); }
.acc-item { border-bottom: 1px solid var(--ink-200); }
.acc-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-head); font-size: var(--fs-md); font-weight: 700; color: var(--navy-900);
  padding: var(--sp-5) 0;
}
.acc-btn:hover { color: var(--blue-600); }
.acc-btn .ico { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--blue-050); color: var(--blue-600); display: grid; place-items: center; transition: transform .25s var(--ease), background .25s var(--ease); }
.acc-btn .ico svg { width: 14px; height: 14px; }
.acc-btn[aria-expanded="true"] .ico { transform: rotate(45deg); background: var(--blue-600); color: #fff; }
.acc-panel { display: none; padding: 0 0 var(--sp-5); max-width: 76ch; }
.acc-panel p:last-child { margin-bottom: 0; }
.acc-btn[aria-expanded="true"] + .acc-panel { display: block; }

/* ----- Forms ----- */
.form-grid { display: grid; gap: var(--sp-4); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field label {
  display: block; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .03em;
  color: var(--navy-800); margin-bottom: .35rem;
}
.field label .req { color: var(--red-600); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-sans); font-size: var(--fs-sm); color: var(--ink-900);
  background: #fff; border: 1.5px solid var(--ink-200); border-radius: var(--r-sm);
  padding: .8rem .9rem; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 116px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(42,130,230,.14);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-300); }
.form-legal { font-size: var(--fs-xs); color: var(--ink-500); margin: 0; }

/* ----- Contact tiles ----- */
.contact-tile {
  display: flex; gap: var(--sp-4); align-items: flex-start;
  background: #fff; border: 1px solid var(--ink-200); border-radius: var(--r-lg);
  padding: var(--sp-5); box-shadow: var(--sh-xs);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.contact-tile:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.contact-tile .ico {
  flex: none; width: 44px; height: 44px; border-radius: var(--r-md);
  background: var(--blue-050); color: var(--blue-600); display: grid; place-items: center;
  border: 1px solid var(--blue-100);
}
.contact-tile .ico svg { width: 22px; height: 22px; }
.contact-tile h3, .contact-tile h4 { font-size: var(--fs-sm); margin-bottom: .2rem; }
.contact-tile p, .contact-tile a { font-size: var(--fs-sm); margin: 0; }
.contact-tile .val { font-family: var(--font-head); font-weight: 700; color: var(--navy-900); font-size: var(--fs-md); }
.contact-tile a.val:hover { color: var(--blue-600); }

/* ----- CTA band ----- */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(115deg, var(--navy-900) 0%, var(--navy-700) 60%, var(--blue-600) 125%);
  color: #fff;
}
.cta-band::before {
  content: ""; position: absolute; width: 420px; height: 420px; left: -120px; bottom: -220px;
  background: radial-gradient(circle, rgba(23,160,138,.3), transparent 70%); border-radius: 50%;
}
.cta-inner { position: relative; display: grid; grid-template-columns: 1fr auto; gap: var(--sp-7); align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: var(--sp-2); }
.cta-band p { color: rgba(255,255,255,.82); margin: 0; font-size: var(--fs-md); }
@media (max-width: 860px) { .cta-inner { grid-template-columns: 1fr; } }

/* ----- Footer ----- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.68); padding: var(--sp-9) 0 0; font-size: var(--fs-sm); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: var(--sp-7); padding-bottom: var(--sp-8); }
.site-footer h5 {
  font-family: var(--font-head); font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: #fff; margin: 0 0 var(--sp-4);
}
.footer-logo { background: #fff; padding: .6rem .8rem; border-radius: var(--r-sm); display: inline-block; margin-bottom: var(--sp-4); }
.footer-logo img { height: 42px; }
.site-footer p { color: rgba(255,255,255,.66); }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.footer-links a { color: rgba(255,255,255,.72); font-weight: 500; }
.footer-links a:hover { color: var(--blue-400); }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--sp-4); }
.footer-contact li { display: flex; gap: var(--sp-3); align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; flex: none; color: var(--blue-400); margin-top: 2px; }
.footer-contact a { color: #fff; font-weight: 600; }
.footer-contact a:hover { color: var(--blue-400); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: var(--sp-5) 0;
  display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-5);
  align-items: center; justify-content: space-between; font-size: var(--fs-xs);
  color: rgba(255,255,255,.55);
}
.footer-bottom a { color: rgba(255,255,255,.72); }
.footer-bottom a:hover { color: var(--blue-400); }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-6); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } .footer-bottom { justify-content: center; text-align: center; } }

/* ----- Sticky mobile call bar ----- */
.mobile-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 900;
  display: none; gap: 1px; background: var(--ink-200);
  box-shadow: 0 -6px 20px rgba(11,27,51,.16);
}
.mobile-bar a {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  padding: .95rem .5rem; background: #fff; font-family: var(--font-head);
  font-size: var(--fs-sm); font-weight: 700; color: var(--navy-900);
}
.mobile-bar a.primary { background: var(--blue-600); color: #fff; }
.mobile-bar svg { width: 17px; height: 17px; }
@media (max-width: 767px) {
  .mobile-bar { display: flex; }
  body { padding-bottom: 56px; }
}

/* ----- Reveal on scroll ----- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ----- Print ----- */
@media print {
  @page { margin: 15mm; }
  .topbar, .site-header, .mobile-bar, .nav-backdrop,
  .cta-band, .hero-card, .site-footer .footer-grid { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  body { color: #000; background: #fff; font-size: 11pt; }
  .hero, .page-hero { min-height: auto; padding: 0 0 12pt; color: #000; }
  .hero-bg, .page-hero-bg, .hero::after, .page-hero::after { display: none !important; }
  .hero h1, .page-hero h1, .hero p, .page-hero p { color: #000 !important; }
  section { padding: 12pt 0 !important; break-inside: avoid; }
  h1, h2, h3 { break-after: avoid; }
  a { color: #000; text-decoration: underline; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
  .card, .offer, .step, .contact-tile { border: 1px solid #ccc !important; box-shadow: none !important; break-inside: avoid; }
}

/* ----- Prose (long-form content) ----- */
.prose { max-width: 72ch; }
.prose h2 { margin-top: var(--sp-8); }
.prose h3 { margin-top: var(--sp-6); font-size: var(--fs-lg); }
.prose p { font-size: var(--fs-md); }
.prose > *:first-child { margin-top: 0; }
.prose ul li { margin-bottom: .5rem; }
