/* ==========================================================================
   Hamaritech Ltd – shared styles
   Light theme: white and pale blue sections, navy text, solid blue buttons.
   The home hero keeps a deep navy-to-blue gradient.
   ========================================================================== */

:root {
  /* Colours – change the theme here */
  --white: #ffffff;
  --bg: #ffffff;
  --bg-alt: #f3f8fd;
  --bg-alt-2: #eaf3fb;
  --chip: #dcebfa;
  --text: #0b1f3a;
  --muted: #44546f;
  --line: #dce6f2;
  --line-strong: #b9d3ee;
  --field-border: #6b7f99;
  --blue: #0f6cbd;
  --blue-dark: #0a4f8f;
  --blue-light: #4ba3f2;
  --navy: #0b1f3a;
  --navy-deep: #061633;
  --on-dark: #ffffff;
  --on-dark-muted: #c9d6ea;
  --on-dark-accent: #9fd3ff;

  --shadow: 0 1px 2px rgba(11, 31, 58, 0.06), 0 8px 24px rgba(11, 31, 58, 0.08);
  --shadow-hover: 0 2px 4px rgba(11, 31, 58, 0.06), 0 16px 36px rgba(11, 31, 58, 0.12);

  --radius: 16px;
  --radius-sm: 12px;
  --max: 1180px;
  --header-h: 72px;

  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;

  --circuit: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' fill='none' stroke='%230f6cbd' stroke-opacity='.08' stroke-width='1.5'%3E%3Cpath d='M0 60h60l20 20h60M140 80v60l20 20h80M60 0v40M200 0v40l-20 20M0 180h40l20-20M100 240v-50l20-20h40'/%3E%3Cg fill='%230f6cbd' fill-opacity='.18' stroke='none'%3E%3Ccircle cx='140' cy='80' r='3'/%3E%3Ccircle cx='60' cy='40' r='3'/%3E%3Ccircle cx='160' cy='170' r='3'/%3E%3Ccircle cx='60' cy='160' r='3'/%3E%3C/g%3E%3C/svg%3E");

  color-scheme: light;
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1.5rem);
}

/* Backup for anchors so headings never sit under the sticky header */
[id] { scroll-margin-top: calc(var(--header-h) + 1.5rem); }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
}

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

a { color: var(--blue); text-underline-offset: 0.2em; }
a:hover { color: var(--blue-dark); }

h1, h2, h3, h4 {
  margin: 0 0 0.6em;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
h1 { font-size: clamp(2.2rem, 4.5vw + 0.8rem, 3.6rem); }
h2 { font-size: clamp(1.7rem, 2.4vw + 1rem, 2.6rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}
/* White focus ring on the dark areas */
.hero :focus-visible,
.cta-panel :focus-visible,
.site-footer :focus-visible { outline-color: var(--white); }

::selection { background: var(--chip); }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: 0.6rem 1rem;
  border-radius: 10px;
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
}
.skip-link:focus { top: 1rem; color: var(--white); }

.icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* ---------- Layout helpers ---------- */

.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.narrow { max-width: 820px; }

/* Each section adds 48–80px top and bottom */
.section { padding: clamp(3rem, 6vw, 5rem) 0; }
.section-alt { background: var(--bg-alt); }

.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.section-head .lead { margin-bottom: 0; }

.split { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 56em) {
  .split { grid-template-columns: 1.15fr 0.85fr; }
  .split-even { grid-template-columns: 1fr 1fr; }
  .split-top { align-items: start; }
}

.grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }

.eyebrow {
  margin-bottom: 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

.lead { max-width: 640px; font-size: clamp(1.1rem, 0.6vw + 1rem, 1.25rem); color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.center-text { text-align: center; }

.grad {
  background: linear-gradient(90deg, var(--blue), #1b84d8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@media (forced-colors: active) {
  .grad { background: none; color: CanvasText; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.35rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.btn .icon { width: 1.2em; height: 1.2em; }

.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover {
  background: var(--blue-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(15, 108, 189, 0.28);
}
.btn-primary[aria-current="page"] { background: var(--blue-dark); }

.btn-outline { background: var(--white); color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--chip); color: var(--blue-dark); border-color: var(--blue-dark); }

.btn-lg { padding: 1rem 1.6rem; font-size: 1.0625rem; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.9rem; }

/* ---------- Header & navigation ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { display: block; width: auto; height: 48px; }

.site-nav { display: flex; align-items: center; margin-left: auto; }
.header-cta { flex: none; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-list a {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}
.nav-list a:hover { color: var(--text); background: var(--chip); }
.nav-list a[aria-current] { color: var(--blue); box-shadow: inset 0 -2px 0 var(--blue); border-radius: 0; }

/* "Get in touch" inside the menu: phones only, where the header button is hidden */
.nav-cta-mobile { display: none; }

.has-dropdown { position: relative; display: flex; align-items: center; }
.has-dropdown > a { padding-right: 0.2rem; }

.dropdown-toggle {
  display: inline-flex;
  padding: 0.5rem 0.35rem;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--text);
  cursor: pointer;
}
.dropdown-toggle:hover { background: var(--chip); }
.dropdown-toggle .icon { width: 16px; height: 16px; transition: transform 0.2s; }
.dropdown-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }

.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  left: -1rem;
  width: 380px;
  padding: 0.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(11, 31, 58, 0.16);
}
/* Bridge the gap so hover doesn't drop when moving down to the menu */
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -0.6rem; height: 0.6rem; }

.has-dropdown.is-open .dropdown,
html:not(.js) .has-dropdown:focus-within .dropdown { display: block; }

/* Services menu: the three service areas, one per row */
.menu-services { display: grid; gap: 0.25rem; margin: 0; padding: 0; list-style: none; }

.dropdown .menu-services a {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  box-shadow: none;
}
.dropdown .menu-services a:hover,
.dropdown .menu-services a:focus-visible { background: var(--bg-alt-2); }
.menu-services strong { display: block; color: var(--text); font-size: 1rem; }
.menu-services small { display: block; margin-top: 0.15rem; font-size: 0.85rem; font-weight: 400; line-height: 1.4; color: var(--muted); }

.menu-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--chip);
  color: var(--blue);
}
.menu-icon .icon { width: 22px; height: 22px; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--text);
  cursor: pointer;
}
.bars, .bars::before, .bars::after {
  display: block;
  position: relative;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s, top 0.2s, background-color 0.2s;
}
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -6px; }
.bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { top: 0; transform: rotate(-45deg); }

@media (hover: hover) and (min-width: 72em) {
  .has-dropdown:hover .dropdown { display: block; }
}

@media (max-width: 71.99em) {
  .js .nav-toggle { display: inline-flex; }
  .header-cta { margin-left: auto; }

  .site-nav { flex-direction: column; align-items: stretch; }
  .js .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    padding: 1rem 1rem 7rem;
    overflow-y: auto;
    background: var(--white);
    border-top: 1px solid var(--line);
  }
  .js .nav-open .site-nav { display: flex; }
  .nav-open { overflow: hidden; }

  html:not(.js) .header-inner { flex-wrap: wrap; padding-bottom: 1rem; }
  html:not(.js) .site-nav { order: 3; width: 100%; }

  .nav-list { flex-direction: column; align-items: stretch; }
  .nav-list a { padding: 0.85rem 0.75rem; font-size: 1.1rem; }
  .nav-list a[aria-current] { box-shadow: inset 3px 0 0 var(--blue); }
  .has-dropdown { flex-wrap: wrap; }
  .has-dropdown > a { flex: 1; }
  .dropdown-toggle { padding: 0.85rem; }
  .dropdown {
    position: static;
    width: 100%;
    padding: 0.5rem;
    box-shadow: none;
    background: var(--bg-alt);
  }
  .dropdown::before { display: none; }
}

/* Phones: the header button is hidden, so the menu shows a Get in touch button */
@media (max-width: 47.99em) {
  .header-cta { display: none; }
  .nav-cta-mobile { display: block; margin-top: 0.75rem; }
  .nav-list .nav-cta-mobile a {
    border-radius: 999px;
    background: var(--blue);
    color: var(--white);
    text-align: center;
    box-shadow: none;
  }
  .nav-list .nav-cta-mobile a:hover { background: var(--blue-dark); color: var(--white); }
}

/* ---------- Home hero (deep navy-to-blue) ---------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 600px;
  min-height: min(calc(100svh - var(--header-h)), 720px);
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  color: var(--on-dark);
}
@media (max-width: 47.99em) {
  .hero { min-height: 0; padding: 3rem 0 3.5rem; }
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, var(--navy-deep) 0%, #0b2d5e 45%, var(--blue) 100%);
}
.hero-media > * { position: absolute; inset: 0; width: 100%; height: 100%; }

/* The robot city is blended softly into the gradient */
.skyline { opacity: 0.45; mix-blend-mode: screen; }
.hero-video { object-fit: cover; mix-blend-mode: screen; }
.js .hero-video { opacity: 0; transition: opacity 1.2s ease; }
.hero.has-poster .hero-video,
.hero.video-playing .hero-video { opacity: 0.5; }
.hero.has-poster .skyline,
.hero.video-playing .skyline { display: none; }

.hero-overlay {
  background: linear-gradient(95deg, rgba(6, 22, 51, 0.92) 0%, rgba(6, 22, 51, 0.7) 40%, rgba(6, 22, 51, 0.15) 80%, rgba(6, 22, 51, 0) 100%);
}
@media (max-width: 48em) {
  .hero-overlay { background: linear-gradient(180deg, rgba(6, 22, 51, 0.8), rgba(6, 22, 51, 0.88)); }
}

.hero h1 { max-width: 15ch; color: var(--on-dark); font-size: clamp(2.4rem, 5.5vw + 0.5rem, 4.4rem); line-height: 1.06; }
.hero .lead { color: var(--on-dark-muted); }
.hero-sub { max-width: 34ch; margin: 1.25rem 0 1rem; font-size: clamp(1.2rem, 1vw + 1rem, 1.5rem); font-weight: 700; line-height: 1.35; color: var(--on-dark-accent); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 2rem; }
.hero-tagline { margin: 1.25rem 0 0; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-muted); }

.hero .btn-primary { background: var(--white); color: var(--navy); }
.hero .btn-primary:hover { background: var(--chip); color: var(--navy); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25); }
.hero .btn-outline { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.85); }
.hero .btn-outline:hover { background: rgba(255, 255, 255, 0.12); color: var(--white); border-color: var(--white); }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.95rem;
  color: var(--on-dark-muted);
}
.hero-trust li { display: flex; align-items: center; gap: 0.5rem; }
.hero-trust .icon { width: 18px; height: 18px; color: var(--on-dark-accent); }

/* Animated skyline – slow, low-contrast movement */
.skyline .blink { animation: blink 6s ease-in-out infinite; }
.skyline .blink:nth-of-type(2n) { animation-duration: 8s; animation-delay: -3s; }
.skyline .blink:nth-of-type(3n) { animation-duration: 10s; animation-delay: -5s; }
.skyline .walker { animation: walk 60s linear infinite; }
.skyline .walker-2 { animation: walk-back 80s linear infinite; animation-delay: -30s; }
.skyline .bob { animation: bob 0.8s ease-in-out infinite alternate; }
.skyline .drone { animation: fly 45s linear infinite; }
.skyline .trail { stroke-dasharray: 70 900; stroke-opacity: 0.6; animation: trail 12s linear infinite; }
.skyline .trail-2 { animation-duration: 16s; animation-delay: -6s; }
.skyline .trail-3 { animation-duration: 20s; animation-delay: -12s; }

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }
@keyframes walk { from { transform: translateX(-120px); } to { transform: translateX(1560px); } }
@keyframes walk-back { from { transform: translateX(1560px) scaleX(-1); } to { transform: translateX(-120px) scaleX(-1); } }
@keyframes bob { to { transform: translateY(-2px); } }
@keyframes fly {
  0% { transform: translate(-80px, 170px); }
  50% { transform: translate(720px, 130px); }
  100% { transform: translate(1540px, 180px); }
}
@keyframes trail { to { stroke-dashoffset: -970; } }

/* ---------- Inner page hero (light) ---------- */

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem);
  background: linear-gradient(180deg, var(--bg-alt-2), var(--bg-alt) 70%, var(--bg));
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--circuit);
  -webkit-mask-image: linear-gradient(180deg, #000 20%, transparent);
  mask-image: linear-gradient(180deg, #000 20%, transparent);
}
.page-hero .lead { margin-bottom: 2rem; }
.page-hero .mascot img { max-width: 280px; }

/* ---------- Mascot ---------- */

.mascot { position: relative; isolation: isolate; display: grid; place-items: center; }
.mascot::before {
  content: "";
  position: absolute;
  inset: 8%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(75, 163, 242, 0.28), rgba(220, 235, 250, 0.4) 50%, transparent 70%);
}
.mascot img { width: 100%; max-width: 340px; }
@media (max-width: 47.99em) { .mascot img { max-width: 220px; } }

/* ---------- Cards ---------- */

.card {
  position: relative;
  padding: clamp(1.4rem, 2.5vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--line-strong); }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card-static:hover { transform: none; box-shadow: var(--shadow); border-color: var(--line); }

.card-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1.1rem;
  border-radius: 12px;
  background: var(--chip);
  color: var(--blue);
}
.card-icon .icon { width: 26px; height: 26px; }

.checklist { margin: 1.2rem 0; padding: 0; list-style: none; }
.checklist li { position: relative; margin-bottom: 0.6rem; padding-left: 1.9rem; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: var(--chip) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f6cbd' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 62% no-repeat;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  text-decoration: none;
}
.card-link::after { content: "\2192"; transition: transform 0.2s; }
.card-link:hover { text-decoration: underline; }
.card-link:hover::after { transform: translateX(4px); }

/* ---------- Service cards (Home) ---------- */

.service-cards { display: grid; gap: 1.5rem; }
@media (min-width: 40em) and (max-width: 63.99em) {
  .service-cards { max-width: 560px; margin-inline: auto; }
}
@media (min-width: 64em) {
  .service-cards { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

.service-art {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  height: 170px;
  border-radius: 12px;
  background:
    radial-gradient(220px 140px at 85% 10%, rgba(255, 255, 255, 0.22), transparent 70%),
    radial-gradient(260px 160px at 10% 110%, rgba(6, 22, 51, 0.45), transparent 70%),
    linear-gradient(135deg, #0b3a7a, var(--blue) 55%, var(--blue-light));
  color: var(--white);
}
.service-card:nth-child(2) .service-art {
  background:
    radial-gradient(220px 140px at 15% 10%, rgba(255, 255, 255, 0.22), transparent 70%),
    radial-gradient(260px 160px at 90% 110%, rgba(6, 22, 51, 0.45), transparent 70%),
    linear-gradient(135deg, var(--blue-light), var(--blue) 45%, #0b3a7a);
}
.service-card:nth-child(3) .service-art {
  background:
    radial-gradient(240px 150px at 50% 0%, rgba(255, 255, 255, 0.2), transparent 70%),
    linear-gradient(160deg, #0b2d5e, var(--blue) 60%, #3b95e6);
}
.service-art .icon { width: 76px; height: 76px; stroke-width: 1.4; }

.service-body { display: flex; flex: 1; flex-direction: column; padding: 1.25rem 0.75rem 0.75rem; }
.service-body h3 { margin-bottom: 0.5rem; }
.service-body p { color: var(--muted); }

/* "Learn more" with a small blue square arrow button */
.more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  align-self: flex-start;
  margin-top: auto;
  padding-top: 0.5rem;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}
.more-link .arrow-box {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--blue);
  color: var(--white);
  transition: background-color 0.2s, transform 0.2s;
}
.more-link .arrow-box .icon { width: 20px; height: 20px; }
.more-link:hover { color: var(--blue-dark); text-decoration: underline; }
.more-link:hover .arrow-box { background: var(--blue-dark); transform: translateX(2px); }

/* ---------- Steps ("How it works") ---------- */

.steps {
  display: grid;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
}
@media (min-width: 72em) { .steps { grid-template-columns: repeat(5, 1fr); } }
.step { display: flex; flex-direction: column; padding: 1.5rem; }
.step .card-icon { width: 46px; height: 46px; margin-bottom: 1rem; }
.step .card-icon .icon { width: 24px; height: 24px; }
.step-label { margin: 0 0 0.25rem; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); }
.step h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.step p:last-child { margin: 0; color: var(--muted); font-size: 0.97rem; }

/* Numbered list (pilot page) */
.numbered { counter-reset: n; display: grid; gap: 1rem; margin: 0 0 2rem; padding: 0; list-style: none; }
.numbered li {
  counter-increment: n;
  position: relative;
  padding: 1.25rem 1.5rem 1.25rem 4.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}
.numbered li::before {
  content: counter(n);
  position: absolute;
  left: 1.25rem;
  top: 1.15rem;
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
}

/* ---------- Packages ---------- */

.package { display: flex; flex-direction: column; align-items: flex-start; }
.package h3 { font-size: 1.6rem; }
.package .checklist { margin-bottom: 1.75rem; }
.package .btn { margin-top: auto; }
.package-highlight { border: 2px solid var(--blue); box-shadow: 0 12px 32px rgba(15, 108, 189, 0.16); }
.package-highlight:hover { border-color: var(--blue); }

/* ---------- Short pilot block (Home) ---------- */

.pilot-block { max-width: 680px; margin-inline: auto; text-align: center; }
.pilot-block .lead { margin-inline: auto; }

/* ---------- FAQ ---------- */

.faq { display: grid; gap: 0.75rem; max-width: 820px; margin-inline: auto; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: var(--shadow);
}
.faq details[open] { border-color: var(--line-strong); }
.faq summary {
  position: relative;
  padding: 1.1rem 3rem 1.1rem 1.25rem;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--blue);
  transition: transform 0.2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding: 0 1.25rem 1.2rem; color: var(--muted); }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---------- Call-to-action band ---------- */

.cta-band { padding: clamp(3rem, 6vw, 5rem) 0; }
.cta-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  gap: 1.5rem;
  align-items: center;
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: 24px;
  background:
    radial-gradient(500px 260px at 100% 0%, rgba(75, 163, 242, 0.45), transparent 65%),
    linear-gradient(120deg, var(--navy-deep), #0b3a7a 55%, var(--blue));
  color: var(--on-dark);
}
.cta-panel h2 { margin-bottom: 0.5rem; color: var(--on-dark); font-size: clamp(1.6rem, 2.4vw + 0.8rem, 2.4rem); }
.cta-panel .muted { color: var(--on-dark-muted); }
.cta-panel .eyebrow { color: var(--on-dark-accent); }
.cta-panel p:last-child { margin-bottom: 0; }
.cta-panel .btn-primary { background: var(--white); color: var(--navy); }
.cta-panel .btn-primary:hover { background: var(--chip); color: var(--navy); }
@media (min-width: 56em) { .cta-panel { grid-template-columns: 1fr auto; } }

/* ---------- Forms ---------- */

.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; gap: 1.1rem; }
@media (min-width: 40em) { .form-row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; margin-bottom: 0.4rem; font-weight: 600; }
.field .hint { font-weight: 400; font-size: 0.875rem; color: var(--muted); }

input, textarea, select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--field-border);
  border-radius: 10px;
  background: var(--white);
  color: var(--text);
  font: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid transparent;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(15, 108, 189, 0.3);
}
textarea { min-height: 150px; resize: vertical; }

.form-status {
  padding: 1rem 1.2rem;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--bg-alt-2);
}
.form-status:empty { display: none; }

.contact-list { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list .card-icon { width: 44px; height: 44px; margin: 0; }
.contact-list .card-icon .icon { width: 22px; height: 22px; }
.contact-list strong { display: block; }

/* ---------- Prose (legal pages, blog posts) ---------- */

.prose { max-width: 760px; }
.prose h2 { margin-top: 2.2em; font-size: 1.5rem; }
.prose h3 { margin-top: 1.6em; font-size: 1.15rem; }
.prose li { margin-bottom: 0.4em; }
.prose .note {
  padding: 1rem 1.2rem;
  border: 1px dashed var(--blue);
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  color: var(--muted);
}

.about-signoff { margin: 2rem 0 1.5rem; font-size: 1.2rem; font-weight: 700; color: var(--blue); }

/* ---------- Blog ---------- */

.post-meta { margin: 0 0 0.75rem; font-size: 0.875rem; color: var(--muted); }
.page-hero .post-meta { margin-top: 1rem; }
.page-hero .eyebrow a { color: inherit; text-decoration: none; }
.page-hero .eyebrow a:hover { text-decoration: underline; }
.post-card { display: flex; flex-direction: column; }
.post-card h2 { font-size: 1.3rem; line-height: 1.3; }
.post-card h2 a { color: var(--text); text-decoration: none; }
.post-card h2 a:hover { color: var(--blue); text-decoration: underline; }
.post-card .card-link { margin-top: auto; }

/* ---------- Footer (deep navy) ---------- */

.site-footer {
  padding: 3.5rem 0 2rem;
  background: var(--navy);
  color: var(--on-dark-muted);
  font-size: 0.95rem;
}
.footer-logo { display: inline-block; margin-bottom: 2.25rem; }
.footer-logo img { width: auto; height: 44px; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); }
.footer-grid h2 {
  margin-bottom: 1rem;
  color: var(--on-dark);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.footer-grid ul { display: grid; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.site-footer a { color: var(--on-dark-muted); text-decoration: none; }
.site-footer a:hover { color: var(--on-dark); text-decoration: underline; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(201, 214, 234, 0.2);
  font-size: 0.875rem;
}
.footer-bottom p { margin: 0; }

.social { display: flex; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(201, 214, 234, 0.35);
  border-radius: 10px;
}
.social a:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--on-dark); }
.social .icon { width: 20px; height: 20px; }

.footer-legal { margin: 1.25rem 0 0; font-size: 0.8rem; }

/* ---------- Scroll reveal ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .card:hover, .service-card:hover, .btn:hover { transform: none; }
}
