/* ==========================================================================
   Draxtone Technologies: site styles (mobile-first)
   Palette sampled from sources/card.png. See README for contrast notes.
   ========================================================================== */

@font-face {
  font-family: 'Montserrat';
  src: url('/fonts/montserrat/montserrat-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter/inter-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand palette (sampled) */
  --navy-950: #001229;   /* deep navy (card edges) */
  --navy-900: #001530;   /* primary dark: logo background */
  --navy-800: #012857;   /* surface navy */
  --navy-700: #00366E;   /* glow navy */
  --blue-600: #006BFD;   /* primary: Draxtone Blue */
  --blue-500: #007FFD;   /* gradient mid-tone (decorative only) */
  --line-500: #0194F6;   /* tagline rule blue */
  --cyan-400: #02C0FB;   /* secondary: "Technologies" cyan */
  --cyan-300: #00EDFE;   /* accent: glow cyan */
  --white: #FFFFFF;
  --ice-50: #F0F9FE;     /* light neutral */

  /* Derived for accessibility (darker/tinted variants of the palette) */
  --blue-700: #0059D6;   /* links & text on light backgrounds (6.18:1 on white) */
  --ink: #001530;        /* body text on light (18.3:1) */
  --ink-muted: #3D5170;  /* secondary text on light (8.1:1 on white) */
  --border: #D6E6F4;     /* decorative borders */
  --border-strong: #6B819D; /* form control borders (4.0:1 on white) */
  --on-dark: #FFFFFF;
  --on-dark-muted: #B7CAE0; /* secondary text on navy (11:1) */
  --error: #B42318;      /* form errors only (6.5:1 on white) */

  --grad-brand: linear-gradient(135deg, var(--blue-600) 0%, var(--cyan-400) 55%, var(--cyan-300) 100%);
  --grad-accent: linear-gradient(135deg, var(--cyan-400), var(--cyan-300));

  --font-heading: 'Montserrat', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgb(0 21 48 / 0.06), 0 2px 8px rgb(0 21 48 / 0.05);
  --shadow: 0 10px 30px -10px rgb(0 21 48 / 0.25);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
  --focus-ring: var(--blue-700);

  /* Type scale: min (phone) → max (large screens). Adjust here to resize the whole site. */
  --fs-h1: clamp(1.875rem, 1.3rem + 2.2vw, 2.5rem);     /* 30 → 40px */
  --fs-h2: clamp(1.5rem, 1.2rem + 1.1vw, 1.875rem);     /* 24 → 30px */
  --fs-h3: clamp(1.1rem, 1rem + 0.3vw, 1.2rem);         /* 17.6 → 19.2px */
  --fs-body: 1rem;                                       /* 16px */
  --fs-lead: clamp(1.05rem, 1rem + 0.25vw, 1.15rem);    /* 16.8 → 18.4px */
  --fs-small: 0.9375rem;                                 /* 15px */
}

.on-dark { --focus-ring: var(--cyan-300); color: var(--on-dark); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.2; margin: 0 0 0.5em; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: var(--fs-h1); font-weight: 800; }
h2 { font-size: var(--fs-h2); font-weight: 750; }
h3, .h3 { font-size: var(--fs-h3); font-weight: 700; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--blue-700); text-underline-offset: 3px; }
a:hover { color: var(--navy-900); }
.on-dark a:not(.btn) { color: var(--cyan-400); }
.on-dark a:not(.btn):hover { color: var(--cyan-300); }
ul[role='list'], ol[role='list'] { list-style: none; padding: 0; margin: 0; }
main:focus { outline: none; }

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

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: calc(760px + var(--gutter) * 2); }

.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: 16px; top: -100px; z-index: 1000;
  background: var(--white); color: var(--navy-900); font-weight: 700;
  padding: 12px 18px; border-radius: var(--radius-sm); box-shadow: var(--shadow);
}
.skip-link:focus { top: 12px; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-family: var(--font-heading); font-size: var(--fs-body); font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-700); margin-bottom: 0.9rem;
}
.on-dark .eyebrow { color: var(--cyan-400); }
.lead { font-size: var(--fs-lead); color: var(--on-dark-muted); max-width: 62ch; }
.lead-dark { font-size: var(--fs-lead); color: var(--ink); font-weight: 500; }
.section-lead { color: var(--ink-muted); font-size: var(--fs-lead); max-width: 62ch; }
.on-dark .section-lead { color: var(--on-dark-muted); }
.text-gradient {
  color: var(--cyan-400);
  background: linear-gradient(90deg, var(--cyan-400), var(--cyan-300));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.6rem 1.35rem; border-radius: var(--radius-sm);
  border: 2px solid transparent; font: 600 1rem/1.2 var(--font-body); text-decoration: none;
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
  text-align: center;
}
.btn .ui-icon { transition: transform .2s; flex-shrink: 0; }
.btn:hover .ui-icon { transform: translateX(3px); }
.btn-lg { min-height: 52px; padding-inline: 1.5rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--blue-600); color: var(--white); }
.btn-primary:hover { background: var(--blue-700); color: var(--white); box-shadow: 0 8px 20px -8px rgb(0 107 253 / .6); }
.btn-accent { background: var(--grad-accent); color: var(--navy-900); }
.btn-accent:hover { color: var(--navy-900); box-shadow: 0 0 0 4px rgb(2 192 251 / .25), 0 10px 30px -8px rgb(0 237 254 / .55); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgb(255 255 255 / .55); }
.btn-ghost:hover { background: rgb(255 255 255 / .08); border-color: var(--white); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.75rem; }
.btn-row-center { justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy-900);
  border-bottom: 1px solid rgb(2 192 251 / .12);
  transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 8px 24px -12px rgb(0 0 0 / .6); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img {
  height: 42px; width: auto;
}
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; padding: 0; border-radius: var(--radius-sm);
  background: transparent; border: 1px solid rgb(255 255 255 / .2); color: var(--white); cursor: pointer;
}
.nav-toggle-bars { position: relative; width: 22px; height: 16px; }
.nav-toggle-bars span {
  position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .25s, opacity .2s, top .25s;
}
.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 7px; }
.nav-toggle-bars span:nth-child(3) { top: 14px; }
.nav-toggle[aria-expanded='true'] .nav-toggle-bars span:nth-child(1) { top: 7px; transform: rotate(45deg); }
.nav-toggle[aria-expanded='true'] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded='true'] .nav-toggle-bars span:nth-child(3) { top: 7px; transform: rotate(-45deg); }

.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-link {
  display: flex; align-items: center; min-height: 48px; padding: 0 0.9rem;
  color: var(--white); text-decoration: none; font-weight: 600; border-radius: 8px;
}
.site-header a.nav-link { color: var(--white); }
.site-header a.nav-link:hover { color: var(--cyan-300); background: rgb(255 255 255 / .05); }
.site-header a.nav-link[aria-current='page'] { color: var(--cyan-400); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }

/* Mobile menu (only collapses when JS is available) */
.no-js-hidden { display: none; }
.site-nav { width: 100%; }
html:not(.js) .header-inner { flex-wrap: wrap; }
html:not(.js) .nav-toggle { display: none; }
html:not(.js) .nav-list { display: flex; flex-wrap: wrap; }
html:not(.js) .nav-cta { display: none; }

.js .site-nav {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--navy-900); border-bottom: 1px solid rgb(2 192 251 / .15);
  padding: 8px var(--gutter) 24px;
  max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .2s, transform .2s, visibility 0s linear .2s;
  box-shadow: 0 24px 32px -16px rgb(0 0 0 / .6);
}
.js .site-header.nav-open .site-nav { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s; }
.js .site-nav .nav-link { border-bottom: 1px solid rgb(255 255 255 / .08); border-radius: 0; padding-inline: 4px; }
.nav-cta { margin-top: 16px; width: 100%; }

@media (min-width: 960px) {
  :root { --header-h: 84px; }
  .brand img { height: 48px; }
  .nav-toggle { display: none; }
  .site-nav, .js .site-nav {
    position: static; display: flex; align-items: center; gap: 12px; width: auto;
    padding: 0; background: none; border: 0; box-shadow: none; max-height: none; overflow: visible;
    opacity: 1; visibility: visible; transform: none;
  }
  .nav-list, html:not(.js) .nav-list { display: flex; gap: 4px; }
  .js .site-nav .nav-link { border: 0; border-radius: 8px; padding-inline: 0.9rem; }
  .nav-cta, html:not(.js) .nav-cta { display: inline-flex; margin: 0 0 0 8px; width: auto; min-height: 46px; }
  html:not(.js) .header-inner { flex-wrap: nowrap; }
  html:not(.js) .site-nav { width: auto; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 8vw, 104px); position: relative; }
.section-tight { padding-block: clamp(40px, 5vw, 64px); }
.section-ice { background: var(--ice-50); }
.section-head { max-width: 760px; margin: 0 auto clamp(32px, 5vw, 56px); text-align: center; }
.section-head .section-lead { margin-inline: auto; }

/* Dark sections share the card's navy + blue glow look */
.hero, .page-hero, .process, .cta-panel, .service-card-cta, .info-card, .site-footer {
  background-color: var(--navy-900);
}
.hero-glow {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(60% 70% at 70% -10%, rgb(0 107 253 / .45), transparent 70%),
    radial-gradient(40% 50% at 10% 110%, rgb(2 192 251 / .14), transparent 70%);
}

/* ---------- Home hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(56px, 9vw, 120px); }
.hero-grid { position: relative; display: grid; gap: 48px; align-items: center; }
.hero h1 { color: var(--white); max-width: 18ch; }
.tagline-rule {
  display: flex; align-items: center; gap: 14px; margin-top: 2.25rem;
  color: var(--on-dark-muted); font-size: 0.95rem; letter-spacing: 0.04em;
}
.tagline-rule::before, .tagline-rule::after { content: ''; height: 2px; width: 40px; background: var(--line-500); border-radius: 2px; flex-shrink: 0; }

.hero-visual { display: none; }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.15fr 1fr; }
  .hero-visual { display: block; }
}
.orbit { position: relative; width: min(100%, 460px); aspect-ratio: 1; margin-inline: auto; }
.orbit-ring { position: absolute; border-radius: 50%; border: 1px solid rgb(2 192 251 / .22); }
.orbit-ring-1 { inset: 8%; }
.orbit-ring-2 { inset: 26%; border-style: dashed; border-color: rgb(2 192 251 / .18); }
.orbit-core {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: 128px; height: 128px; border-radius: 32px; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 30%, var(--navy-700), var(--navy-900));
  border: 1px solid rgb(0 237 254 / .35);
  box-shadow: 0 0 60px rgb(0 127 253 / .45), inset 0 0 24px rgb(2 192 251 / .15);
}
.orbit-item {
  position: absolute; width: 68px; height: 68px; translate: -50% -50%;
  display: grid; place-items: center; border-radius: 18px;
  background: rgb(1 40 87 / .75); border: 1px solid rgb(2 192 251 / .28);
  box-shadow: 0 10px 30px -10px rgb(0 0 0 / .7);
  animation: float 6s ease-in-out infinite;
}
/* six items placed evenly around the outer ring (radius 42%) */
.orbit-item-1 { left: 50%; top: 8%; }
.orbit-item-2 { left: 86.4%; top: 29%; animation-delay: -1s; }
.orbit-item-3 { left: 86.4%; top: 71%; animation-delay: -2s; }
.orbit-item-4 { left: 50%; top: 92%; animation-delay: -3s; }
.orbit-item-5 { left: 13.6%; top: 71%; animation-delay: -4s; }
.orbit-item-6 { left: 13.6%; top: 29%; animation-delay: -5s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 96px); }
.page-hero .container { position: relative; }
.page-hero h1 { color: var(--white); max-width: 22ch; }
.page-hero-center { text-align: center; }
.page-hero-center h1, .page-hero-center .lead { margin-inline: auto; }
.success-badge {
  width: 72px; height: 72px; margin: 0 auto 24px; border-radius: 50%;
  display: grid; place-items: center; background: var(--grad-accent); color: var(--navy-900);
}

.breadcrumb ol { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; font-size: 0.9rem; color: var(--on-dark-muted); }
.breadcrumb li { display: flex; align-items: center; }
.breadcrumb li + li::before { content: '/'; margin-right: 4px; opacity: .6; }
.breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 2px; }

.service-hero-art { display: none; }
@media (min-width: 1100px) {
  .service-hero-art { display: block; position: absolute; right: max(2vw, calc((100vw - 1400px) / 2)); top: 50%; translate: 0 -50%; opacity: .16; filter: drop-shadow(0 0 40px rgb(0 127 253 / .6)); pointer-events: none; }
  .service-hero-art svg { stroke-width: 1.4; }
}
.service-hero-grid { display: flex; flex-direction: column; gap: 20px; }
.service-overview { margin-top: 8px; }
.service-overview .lead { margin-bottom: 0.75em; }
@media (min-width: 700px) {
  .service-hero-grid { flex-direction: row; align-items: center; gap: 28px; }
  .service-hero-grid h1 { margin-bottom: 0; }
}

/* ---------- Icon tiles ---------- */
.icon-tile {
  width: 64px; height: 64px; flex-shrink: 0; border-radius: 16px; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 25%, var(--navy-800), var(--navy-900) 75%);
  box-shadow: inset 0 0 0 1px rgb(2 192 251 / .22), 0 8px 18px -10px rgb(0 21 48 / .6);
}
.icon-tile-lg { width: 104px; height: 104px; border-radius: 26px; box-shadow: inset 0 0 0 1px rgb(2 192 251 / .3), 0 0 50px rgb(0 127 253 / .35); }

/* ---------- Service cards ---------- */
.service-grid { display: grid; gap: 20px; }
@media (min-width: 600px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .service-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .service-grid { grid-template-columns: repeat(4, 1fr); } }

.service-card {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: 28px; border-radius: var(--radius); background: var(--white);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgb(0 107 253 / .45); }
.service-card:focus-within { border-color: var(--blue-700); }
.service-card p { color: var(--ink-muted); margin: 0; font-size: var(--fs-small); }
.service-card-title { margin: 6px 0 0; }
.service-card-title a { color: var(--ink); text-decoration: none; }
.stretched-link::after { content: ''; position: absolute; inset: 0; border-radius: var(--radius); }
.stretched-link:focus-visible { outline: none; }
.stretched-link:focus-visible::after { outline: 3px solid var(--focus-ring); outline-offset: 3px; }
.card-link { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--blue-700); }
.service-card:hover .card-link .ui-icon { transform: translateX(3px); }
.card-link .ui-icon { transition: transform .2s; }
.mini-list { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 8px; font-size: var(--fs-small); color: var(--ink-muted); }
.mini-list li { display: flex; gap: 8px; align-items: flex-start; }
.mini-list .ui-icon { color: var(--blue-700); margin-top: 5px; flex-shrink: 0; }

.service-card-cta {
  background-color: var(--navy-900); border: 0; overflow: hidden; justify-content: center;
  background-image: radial-gradient(90% 80% at 100% 0%, rgb(0 107 253 / .5), transparent 70%);
}
.service-card-cta .service-card-title { color: var(--white); }
.service-card-cta p { color: var(--on-dark-muted); }
.service-card-cta .btn { align-self: flex-start; margin-top: 6px; }
.service-card-cta:hover { transform: none; }

/* ---------- Why choose us ---------- */
.why-grid { display: grid; gap: 40px; }
.why-intro .btn { margin-top: 1rem; }
.feature-list { display: grid; gap: 16px; }
.feature {
  display: flex; gap: 16px; align-items: flex-start; padding: 24px;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
}
.feature h3 { font-size: 1.05rem; margin-bottom: 0.35em; }
.feature p { color: var(--ink-muted); margin: 0; }
.feature-icon {
  width: 48px; height: 48px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px;
  background: var(--ice-50); color: var(--blue-700); border: 1px solid var(--border);
}
@media (min-width: 640px) { .feature-list { grid-template-columns: 1fr 1fr; } .feature { flex-direction: column; } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: 0.9fr 1.3fr; align-items: center; gap: 64px; } }

/* ---------- Process ---------- */
.process {
  overflow: hidden;
  background-image:
    radial-gradient(50% 60% at 50% 0%, rgb(0 107 253 / .35), transparent 70%),
    radial-gradient(40% 50% at 100% 100%, rgb(2 192 251 / .12), transparent 70%);
}
.process h2 { color: var(--white); }
.process-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: none; }
@media (min-width: 640px) { .process-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .process-steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  position: relative; padding: 28px 24px; border-radius: var(--radius);
  background: rgb(255 255 255 / .04); border: 1px solid rgb(2 192 251 / .2);
}
.step::before { content: ''; position: absolute; left: 24px; right: 24px; top: -1px; height: 2px; background: var(--grad-brand); border-radius: 2px; }
.step h3 { color: var(--white); }
.step p { color: var(--on-dark-muted); margin: 0; }
.step-num {
  display: block; font: 800 2rem/1 var(--font-heading); margin-bottom: 12px;
  background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--cyan-400);
}

/* ---------- CTA band ---------- */
.cta-panel {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  padding: clamp(32px, 6vw, 64px);
  display: grid; gap: 24px; align-items: center;
  background-image:
    radial-gradient(70% 120% at 100% 0%, rgb(0 107 253 / .55), transparent 70%),
    radial-gradient(50% 80% at 0% 100%, rgb(2 192 251 / .15), transparent 70%);
}
.cta-panel h2 { color: var(--white); margin-bottom: 0.4em; }
.cta-panel p { color: var(--on-dark-muted); font-size: var(--fs-lead); max-width: 60ch; }
@media (min-width: 900px) { .cta-panel { grid-template-columns: 1fr auto; gap: 48px; } }

/* ---------- Service detail ---------- */
.included-grid { display: grid; gap: 32px; }
@media (min-width: 960px) { .included-grid { grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; } }
.check-list { display: grid; gap: 12px; }
.check-list li {
  display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px;
  border: 1px solid var(--border); border-radius: 12px; background: var(--white);
}
.check { width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: var(--ice-50); color: var(--blue-700); border: 1px solid var(--border); }

.benefit-grid { display: grid; gap: 20px; }
@media (min-width: 768px) { .benefit-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 600px) { .benefit-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .benefit-grid-4 { grid-template-columns: repeat(4, 1fr); } }
.benefit { padding: 28px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); }
.benefit p { color: var(--ink-muted); margin: 0; }
.benefit .feature-icon { margin-bottom: 18px; }
.benefit-num {
  display: block; font: 800 1.6rem/1 var(--font-heading); margin-bottom: 12px; color: var(--blue-700);
}

.pillar-grid { display: grid; gap: 20px; }
@media (min-width: 768px) { .pillar-grid { grid-template-columns: repeat(3, 1fr); } }
.pillar { padding: 28px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--white); box-shadow: var(--shadow-sm); }
.pillar .icon-tile { margin-bottom: 18px; }
.pillar p { color: var(--ink-muted); margin: 0; }

.other-services { border-top: 1px solid var(--border); }
.chip-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 18px 6px 10px;
  border-radius: 999px; border: 1px solid var(--border); background: var(--white);
  color: var(--ink); text-decoration: none; font-weight: 600; transition: border-color .2s, box-shadow .2s;
}
.chip svg { background: var(--navy-900); border-radius: 50%; padding: 5px; width: 34px; height: 34px; }
.chip:hover { border-color: var(--blue-600); color: var(--ink); box-shadow: var(--shadow-sm); }

/* ---------- About ---------- */
.about-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 0.8fr 1.2fr; gap: 64px; } }
.prose p { color: var(--ink-muted); }
.prose .lead-dark { color: var(--ink); }
.placeholder-note {
  padding: 14px 18px; border-radius: 12px; border: 2px dashed var(--blue-600);
  background: var(--ice-50); color: var(--ink) !important; font-weight: 500;
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 32px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: start; } }
.form-card {
  padding: clamp(20px, 4vw, 40px); border-radius: 20px; background: var(--white);
  border: 1px solid var(--border); box-shadow: var(--shadow);
}
.form-intro { color: var(--ink-muted); font-size: 0.95rem; }
.req { color: var(--error); font-weight: 700; }
.contact-form { display: grid; gap: 20px; margin-top: 8px; }
.form-row { display: grid; gap: 20px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; align-content: start; }
.field label { font-weight: 600; font-size: 0.97rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: 400 1rem/1.4 var(--font-body); color: var(--ink);
  background: var(--white); border: 1.5px solid var(--border-strong); border-radius: var(--radius-sm);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 150px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--navy-800); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 4px rgb(0 107 253 / .22);
}
.field [aria-invalid='true'] { border-color: var(--error); }
.field [aria-invalid='true']:focus { box-shadow: 0 0 0 4px rgb(180 35 24 / .18); }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; padding-right: 44px; cursor: pointer; }
.select-wrap::after {
  content: ''; position: absolute; right: 16px; top: 50%; width: 10px; height: 10px; pointer-events: none;
  border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg);
}
.field-hint { margin: 0; color: var(--ink-muted); font-size: 0.875rem; }
.field-error { margin: 0; color: var(--error); font-size: 0.92rem; font-weight: 500; }
.field-error::before { content: '⚠ '; }
.form-alert {
  margin: 12px 0 8px; padding: 14px 16px; border-radius: var(--radius-sm);
  background: #FEF3F2; border-left: 4px solid var(--error); color: #7A1A12; font-weight: 500;
}
.form-note { font-size: 0.9rem; color: var(--ink-muted); margin: 0; text-align: center; }
.hp-field { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.btn[aria-busy='true'] { opacity: .75; cursor: progress; }

.contact-aside { display: grid; gap: 24px; }
.info-card {
  padding: clamp(24px, 4vw, 36px); border-radius: 20px;
  background-image: radial-gradient(80% 90% at 100% 0%, rgb(0 107 253 / .45), transparent 70%);
}
.info-card h2 { color: var(--white); }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list .ui-icon { color: var(--cyan-400); margin-top: 3px; flex-shrink: 0; }
.contact-list-lg { gap: 18px; margin-top: 8px; }
.contact-list-lg .ui-icon { margin-top: 4px; }
.contact-list-lg div { display: grid; }
.contact-list-lg .label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--on-dark-muted); font-weight: 600; }
.next-steps { padding: clamp(24px, 4vw, 32px); border-radius: 20px; background: var(--ice-50); border: 1px solid var(--border); }
.next-steps ol { margin: 12px 0 0; padding-left: 1.25rem; display: grid; gap: 10px; color: var(--ink-muted); }
.next-steps strong { color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); padding-top: clamp(48px, 7vw, 80px); border-top: 1px solid rgb(2 192 251 / .15); }
.footer-grid { display: grid; gap: 36px; padding-bottom: 40px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 0.8fr 1.2fr; gap: 48px; }
  .footer-grid-3 { grid-template-columns: 1.6fr 1fr 1fr; }
}
@media (min-width: 640px) and (max-width: 1023px) { .footer-grid-3 .footer-brand { grid-column: 1 / -1; } }
.footer-brand img { height: 48px; width: auto; }
.footer-brand p { color: var(--on-dark-muted); margin-top: 16px; max-width: 36ch; font-size: var(--fs-small); }
.footer-title { font-size: 0.85rem; text-transform: uppercase; letter-spacing: .14em; color: var(--white); margin-bottom: 8px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.site-footer .footer-col a { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-dark-muted); text-decoration: none; }
.site-footer .footer-col a:hover { color: var(--cyan-300); text-decoration: underline; }
.site-footer .contact-list li { min-height: 44px; align-items: center; color: var(--on-dark-muted); }
.site-footer .contact-list .ui-icon { margin-top: 0; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding-block: 20px 28px; border-top: 1px solid rgb(255 255 255 / .1);
  font-size: 0.9rem; color: var(--on-dark-muted);
}
.footer-bottom p { margin: 0; }
.footer-tagline { color: var(--cyan-400); }

/* ---------- Scroll reveal (applied by main.js only to elements below the fold) ---------- */
.reveal-pending { opacity: 0; transform: translateY(20px); }
.reveal-pending.is-visible { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s ease; }

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

/* ---------- Photos ---------- */
.photo { margin: 0; }
.photo img {
  width: 100%; height: auto; display: block; object-fit: cover;
  border-radius: 20px; box-shadow: var(--shadow); background: var(--ice-50);
}
.photo-landscape img { aspect-ratio: 3 / 2; }
.photo-square img { aspect-ratio: 1 / 1; }
@media (min-width: 900px) { .about-grid-media { align-items: center; } }
/* The contact photo fills the space beside the form on desktop; on stacked layouts it would only add scrolling */
@media (max-width: 1023px) { .contact-aside .photo-square { display: none; } }

/* ---------- Service area ---------- */
.area-card { padding: clamp(24px, 4vw, 32px); border-radius: 20px; background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.area-card h2 { display: flex; align-items: center; gap: 10px; }
.area-card h2 .ui-icon { color: var(--blue-700); flex-shrink: 0; }
.area-card ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; color: var(--ink-muted); }
.area-card strong { color: var(--ink); }
.footer-area { display: flex; gap: 10px; align-items: flex-start; }
.footer-area .ui-icon { color: var(--cyan-400); flex-shrink: 0; margin-top: 4px; }
