/* =====================================================================
   Zeony Ltd — design system
   Palette taken from the logo: deep navy + electric blue.
   ===================================================================== */

:root {
  --navy-900: #061A3A;
  --navy-800: #0B2A5B;
  --navy-700: #123A78;
  --blue-600: #0F6FD6;
  --blue-500: #1E90FF;
  --blue-400: #4FA8FF;
  --blue-100: #E3F0FF;
  --grey-900: #1A2233;
  --grey-700: #3F4A5F;
  --grey-500: #6B7588;
  --grey-300: #CBD2DE;
  --grey-100: #F4F7FB;
  --white: #FFFFFF;

  --font-head: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(6, 26, 58, .06), 0 2px 8px rgba(6, 26, 58, .06);
  --shadow-md: 0 8px 24px rgba(6, 26, 58, .10);
  --shadow-lg: 0 20px 50px rgba(6, 26, 58, .16);

  --container: 1180px;
  --gutter: 20px;
  --header-h: 80px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --safe-l: env(safe-area-inset-left, 0px);
  --safe-r: env(safe-area-inset-right, 0px);
}

/* Device tiers: gutters, header height and base type scale with the screen. */
:root { --base-font: 1.0625rem; }
@media (max-width: 400px)  { :root { --gutter: 16px; --header-h: 64px; --base-font: 1rem; } }
@media (min-width: 401px) and (max-width: 767px) { :root { --header-h: 68px; --base-font: 1.02rem; } }
@media (min-width: 768px) and (max-width: 1023px) { :root { --gutter: 32px; --header-h: 72px; } }
@media (min-width: 1024px) { :root { --gutter: 40px; } }
@media (min-width: 1600px) { :root { --container: 1280px; --base-font: 1.125rem; } }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--base-font);
  line-height: 1.65;
  color: var(--grey-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
address { font-style: normal; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy-800);
  line-height: 1.15;
  margin: 0 0 .6em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1.1em; }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Layout helpers ---------- */
.container {
  width: min(100% - 2 * var(--gutter) - var(--safe-l) - var(--safe-r), var(--container));
  margin-inline: auto;
  padding-left: var(--safe-l); padding-right: var(--safe-r);
}
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section--grey { background: var(--grey-100); }
.section--navy { background: var(--navy-800); color: #D8E4F5; }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: .9rem;
}
.section--navy .eyebrow { color: var(--blue-400); }
.lead { font-size: 1.2rem; color: var(--grey-700); }
.section--navy .lead { color: #C5D5EC; }
.grid { display: grid; gap: 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%, 300px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
/* Tablets: force even two-column grids so cards never sit alone */
@media (min-width: 768px) and (max-width: 1023px) {
  .grid--2, .grid--3 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}
/* Phones: single column, tighter card padding */
@media (max-width: 767px) {
  .grid { gap: 1rem; }
  .card { padding: 1.4rem; }
  .testimonial { padding: 1.5rem; }
  .section { padding-block: 2.75rem; }
  .section-head { margin-bottom: 1.5rem; }
  .lead { font-size: 1.08rem; }
}
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 1000;
  background: var(--navy-800); color: #fff; padding: .6rem 1rem; border-radius: 6px;
}
.skip-link:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9rem 1.6rem;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  border-radius: 999px; border: 2px solid transparent;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
  text-decoration: none !important;
}
@media (hover: hover) { .btn:hover { transform: translateY(-2px); } }
.btn:active { transform: translateY(0); }
/* Touch devices: generous tap targets, no lift-on-hover effects */
@media (pointer: coarse) {
  .btn { min-height: 48px; }
  .btn--sm { min-height: 44px; }
  .site-nav__link, .dropdown a, .site-footer__col a { min-height: 44px; display: flex; align-items: center; }
  .card:hover, .btn:hover { transform: none; }
}
.btn--primary { background: var(--blue-600); color: #fff; box-shadow: 0 6px 18px rgba(15, 111, 214, .35); }
.btn--primary:hover { background: var(--blue-500); }
.btn--navy { background: var(--navy-800); color: #fff; }
.btn--navy:hover { background: var(--navy-700); }
.btn--outline { border-color: var(--navy-800); color: var(--navy-800); background: transparent; }
.btn--outline:hover { background: var(--navy-800); color: #fff; }
.btn--light { background: #fff; color: var(--navy-800); }
.btn--light:hover { background: var(--blue-100); }
.btn--ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.btn--ghost:hover { background: rgba(255,255,255,.1); }
.btn--sm { padding: .6rem 1.15rem; font-size: .85rem; }
.btn--lg { padding: 1.05rem 2rem; font-size: 1.05rem; }
.btn[disabled] { opacity: .65; cursor: wait; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s, border-color .25s;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); border-color: #E6EAF1; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none !important; }
.brand__mark { width: 40px; height: 44px; }
.brand__name {
  font-family: var(--font-head); font-weight: 800; font-size: 1.45rem;
  letter-spacing: .32em; color: var(--navy-800); padding-left: .2em;
}
.brand__name small { font-size: .62em; font-weight: 700; letter-spacing: .22em; color: var(--blue-600); vertical-align: .08em; }
.brand--light .brand__name { color: #fff; }
.brand--light .brand__name small { color: var(--blue-400); }
@media (max-width: 400px) { .brand__name { font-size: 1.2rem; letter-spacing: .22em; } }

.site-nav__list { display: flex; align-items: center; gap: .25rem; }
.site-nav__list > li { position: relative; display: flex; align-items: center; }
.site-nav__link {
  display: inline-block; padding: .55rem .9rem;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  color: var(--navy-800); border-radius: 8px;
  text-decoration: none !important;
}
.site-nav__link:hover, .site-nav__link.is-active { color: var(--blue-600); background: var(--blue-100); }
.site-nav__cta { margin-left: .75rem; }

.dropdown-toggle {
  width: 22px; height: 22px; margin-left: -.5rem; padding: 0;
  background: transparent; border: 0; color: var(--navy-800); position: relative;
}
.dropdown-toggle::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 270px;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: .5rem; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.dropdown::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.dropdown a {
  display: block; padding: .6rem .85rem; border-radius: 8px;
  color: var(--grey-900); font-weight: 500; font-size: .93rem; text-decoration: none !important;
}
.dropdown a:hover { background: var(--grey-100); color: var(--blue-600); }
.has-dropdown.is-open .dropdown, .has-dropdown:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
@media (hover: hover) {
  .has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
}

.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 10px;
  background: transparent; border: 0; flex-direction: column; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; height: 2px; background: var(--navy-800); border-radius: 2px; transition: transform .25s, opacity .25s; }

/* Tablet landscape / small laptop: tighten the desktop nav so it fits */
@media (min-width: 1024px) and (max-width: 1180px) {
  .site-nav__link { padding: .55rem .65rem; font-size: .9rem; }
  .site-nav__cta { margin-left: .4rem; }
  .brand__name { font-size: 1.3rem; letter-spacing: .26em; }
}

/* Phones and tablets in portrait: hamburger menu */
@media (max-width: 1023px) {
  .nav-toggle { display: flex; }
  /* Wrapper covers the viewport exactly and clips the sliding panel,
     so the closed menu never widens the page. */
  .site-nav {
    position: fixed; inset: var(--header-h) 0 0 0; height: calc(100dvh - var(--header-h));
    overflow: hidden; visibility: hidden; transition: visibility 0s .3s;
    background: rgba(6, 26, 58, 0);
  }
  .site-nav.is-open { visibility: visible; transition: visibility 0s; }
  body.nav-open { overflow: hidden; }
  .site-nav__list {
    flex-direction: column; align-items: stretch; gap: 0;
    height: 100%; overflow-y: auto; -webkit-overflow-scrolling: touch; background: #fff;
    padding: 1rem var(--gutter) max(2rem, env(safe-area-inset-bottom));
    transform: translateX(100%); transition: transform .3s var(--ease);
  }
  .site-nav.is-open .site-nav__list { transform: none; }
  .site-nav__list > li { flex-direction: column; align-items: stretch; border-bottom: 1px solid #EDF0F5; }
  .site-nav__link { padding: 1rem .25rem; font-size: 1.1rem; border-radius: 0; }
  .site-nav__link:hover, .site-nav__link.is-active { background: none; }
  .has-dropdown { position: relative; }
  .dropdown-toggle { position: absolute; right: 0; top: 14px; width: 32px; height: 32px; margin: 0; }
  .has-dropdown.is-open .dropdown-toggle::after { transform: translateY(2px) rotate(225deg); }
  .dropdown {
    position: static; min-width: 0; box-shadow: none; padding: 0 0 .75rem 1rem;
    opacity: 1; visibility: visible; transform: none; display: none;
  }
  .has-dropdown.is-open .dropdown { display: block; }
  .site-nav__cta { margin: 1.25rem 0 0; border-bottom: 0; }
  .site-nav__cta .btn { width: 100%; }
  [aria-expanded="true"].nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  [aria-expanded="true"].nav-toggle span:nth-child(2) { opacity: 0; }
  [aria-expanded="true"].nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
/* Tablet portrait: menu as a side panel over a dimmed page */
@media (min-width: 768px) and (max-width: 1023px) {
  .site-nav.is-open { background: rgba(6, 26, 58, .35); }
  .site-nav__list { width: 380px; margin-left: auto; box-shadow: var(--shadow-lg); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 55%, #0E3F8A 100%);
  color: #fff;
  padding-block: clamp(4rem, 10vw, 7.5rem);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 80% at 85% 20%, rgba(30, 144, 255, .35), transparent 60%),
    radial-gradient(40% 60% at 10% 90%, rgba(79, 168, 255, .18), transparent 60%);
  pointer-events: none;
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.hero h1 { color: #fff; margin-bottom: 1.2rem; }
.hero h1 em { font-style: normal; color: var(--blue-400); }
.hero .lead { color: #D4E2F7; max-width: 560px; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-head); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-400); margin-bottom: 1.4rem;
}
.hero__eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--blue-400); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hero__visual { position: relative; display: flex; justify-content: center; }
.hero__visual img { width: min(100%, 360px); filter: drop-shadow(0 30px 50px rgba(0,0,0,.35)); }
.hero__visual::after {
  content: ""; position: absolute; inset: 10% 15%; border-radius: 50%;
  background: radial-gradient(circle, rgba(79,168,255,.35), transparent 70%); filter: blur(30px); z-index: -1;
}
.hero__stats { display: flex; flex-wrap: wrap; gap: 2.5rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.15); }
.hero__stat strong { display: block; font-family: var(--font-head); font-size: 1.9rem; font-weight: 800; color: #fff; }
.hero__stat span { font-size: .9rem; color: #B9CBE6; }
/* Tablet: keep two columns but rebalance */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero__inner { grid-template-columns: 1.3fr .7fr; gap: 2rem; }
  .hero__visual img { width: min(100%, 260px); }
  .hero__stats { gap: 1.75rem; }
}
/* Phones: stack, mark on top, smaller */
@media (max-width: 767px) {
  .hero { padding-block: 2.5rem 3rem; }
  .hero__inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero__visual { order: -1; }
  .hero__visual img { width: min(45%, 200px); }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__stats { gap: 1.25rem 2rem; margin-top: 2rem; padding-top: 1.5rem; }
  .hero__stat strong { font-size: 1.6rem; }
}
/* Landscape phones: short viewport, hide the decorative mark */
@media (max-height: 500px) and (orientation: landscape) and (max-width: 1023px) {
  .hero { padding-block: 2rem; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .hero__stats { display: none; }
}
@media (max-width: 400px) {
  .hero__stats { flex-direction: column; gap: 1rem; }
}

/* Inner-page hero */
.page-hero {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-800) 70%, #0E3F8A);
  color: #fff; padding-block: clamp(3rem, 7vw, 5rem);
}
.page-hero h1 { color: #fff; }
.page-hero .lead { color: #D4E2F7; max-width: 680px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .88rem; color: #B9CBE6; margin-bottom: 1.2rem; }
.breadcrumb a { color: #fff; }
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; color: #7E98BE; }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid #E6EAF1; border-radius: var(--radius-lg);
  padding: 1.9rem; box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
  display: flex; flex-direction: column;
}
@media (hover: hover) { .card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--blue-100); } }
.card__icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: var(--blue-100); color: var(--blue-600); margin-bottom: 1.2rem;
}
.card__icon .icon { width: 28px; height: 28px; }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--grey-700); flex: 1; }
.card__link { font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--blue-600); }
.card__link::after { content: " →"; }
.card--link { color: inherit; text-decoration: none !important; }

/* Value props */
.value {
  display: flex; gap: 1.1rem; align-items: flex-start;
}
.value__num {
  flex: 0 0 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy-800); color: #fff; font-family: var(--font-head); font-weight: 800;
}
.section--navy .value__num { background: var(--blue-500); }
.value h3 { font-size: 1.1rem; margin-bottom: .3rem; }
.value p { color: var(--grey-700); margin: 0; }
.section--navy .value p { color: #C5D5EC; }

/* Process steps */
.steps { counter-reset: step; display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.step { position: relative; padding: 1.75rem 1.5rem 1.5rem; background: #fff; border-radius: var(--radius-lg); border: 1px solid #E6EAF1; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-head); font-weight: 800; font-size: 2.2rem; color: var(--blue-100);
  position: absolute; top: .6rem; right: 1rem; line-height: 1;
}
.step h3 { font-size: 1.1rem; }
.step p { margin: 0; color: var(--grey-700); font-size: .98rem; }

/* Testimonials */
.testimonial {
  background: #fff; border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-sm); border: 1px solid #E6EAF1;
  display: flex; flex-direction: column;
}
.testimonial blockquote { margin: 0 0 1.4rem; font-size: 1.05rem; color: var(--grey-900); flex: 1; }
.testimonial blockquote::before { content: "\201C"; font-family: var(--font-head); font-size: 3rem; line-height: 0; color: var(--blue-400); display: block; margin: .9rem 0 .3rem; }
.testimonial cite { font-style: normal; font-size: .9rem; color: var(--grey-500); }
.testimonial cite strong { display: block; color: var(--navy-800); font-family: var(--font-head); }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--blue-600), var(--navy-800)); color: #fff; padding-block: clamp(3rem, 6vw, 4.5rem); }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
@media (max-width: 767px) { .cta-band__inner .btn { width: 100%; } }
.cta-band h2 { color: #fff; margin-bottom: .4rem; }
.cta-band p { margin: 0; color: #DCE8FA; max-width: 560px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #B9CBE6; padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; font-size: .95rem; }
.site-footer a { color: #DCE8FA; }
.site-footer a:hover { color: #fff; }
.site-footer h3 { color: #fff; font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.site-footer__brand p { max-width: 380px; }
.site-footer__tagline { font-family: var(--font-head); font-weight: 600; color: var(--blue-400); letter-spacing: .08em; margin: 1rem 0 .6rem; }
.site-footer__col li { margin-bottom: .5rem; }
.site-footer address { margin-bottom: .9rem; }
.site-footer__legal { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; color: #8FA6C8; }
.site-footer__legal p { margin-bottom: .5rem; }
@media (max-width: 1023px) { .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ---------- Service page ---------- */
.service-layout { display: grid; grid-template-columns: 1fr 340px; gap: 3rem; align-items: start; }
@media (max-width: 1023px) {
  .service-layout { grid-template-columns: 1fr; gap: 2rem; }
  .sidebar { position: static; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) { .sidebar { grid-template-columns: 1fr; } }
.prose h2 { font-size: 1.6rem; margin-top: 2.2rem; }
.prose ul.checks { margin: 1rem 0 1.5rem; }
.checks li { position: relative; padding-left: 2rem; margin-bottom: .6rem; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--blue-100);
}
.checks li::after {
  content: ""; position: absolute; left: 7px; top: calc(.35em + 4px); width: 5px; height: 9px;
  border-right: 2px solid var(--blue-600); border-bottom: 2px solid var(--blue-600); transform: rotate(45deg);
}
.offerings { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); margin-top: 1.2rem; }
.offering { background: var(--grey-100); border-radius: var(--radius); padding: 1.3rem 1.4rem; }
.offering h3 { font-size: 1.02rem; margin-bottom: .35rem; }
.offering p { margin: 0; font-size: .95rem; color: var(--grey-700); }
.note { background: #FFF8E6; border-left: 4px solid #F0B429; padding: 1rem 1.2rem; border-radius: 8px; font-size: .93rem; color: #5A4300; }
.sidebar { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: 1.5rem; }
.sidebar-card { background: var(--navy-800); color: #D8E4F5; border-radius: var(--radius-lg); padding: 1.8rem; }
.sidebar-card h3 { color: #fff; }
.sidebar-card .btn { width: 100%; margin-top: .75rem; }
.sidebar-list { background: #fff; border: 1px solid #E6EAF1; border-radius: var(--radius-lg); padding: 1.4rem; }
.sidebar-list h3 { font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--grey-500); }
.sidebar-list a { display: block; padding: .55rem 0; border-bottom: 1px solid #EDF0F5; color: var(--navy-800); font-weight: 500; }
.sidebar-list a:last-child { border-bottom: 0; }
.sidebar-list a.is-active { color: var(--blue-600); font-weight: 700; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
@media (max-width: 1023px) { .about-grid { grid-template-columns: 1fr; gap: 2.5rem; } }
.profile {
  display: grid; grid-template-columns: 180px 1fr; gap: 2rem; align-items: start;
  background: #fff; border-radius: var(--radius-lg); padding: 2rem; border: 1px solid #E6EAF1; box-shadow: var(--shadow-sm);
}
@media (max-width: 640px) { .profile { grid-template-columns: 1fr; } }
.profile__photo {
  width: 180px; aspect-ratio: 1; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--navy-800), var(--blue-500));
  display: grid; place-items: center; color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 3rem; overflow: hidden;
}
.profile__photo img { width: 100%; height: 100%; object-fit: cover; }
.profile__role { color: var(--blue-600); font-family: var(--font-head); font-weight: 600; margin-bottom: .8rem; }
.company-facts { display: grid; gap: .6rem; }
.company-facts div { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid #E6EAF1; font-size: .95rem; }
.company-facts dt { color: var(--grey-500); }
.company-facts dd { margin: 0; text-align: right; font-weight: 500; color: var(--navy-800); }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: start; }
@media (max-width: 1023px) { .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; } }
@media (min-width: 768px) and (max-width: 1023px) {
  .contact-info { grid-template-columns: 1fr 1fr; }
  .contact-info .map { grid-column: 1 / -1; }
}
.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; gap: 1.1rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .35rem; color: var(--navy-800); }
.field label .req { color: #C62828; }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem .95rem; font: inherit; font-size: max(16px, 1em); color: var(--grey-900); /* 16px+ stops iOS auto-zoom */
  background: #fff; border: 1.5px solid var(--grey-300); border-radius: 10px;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(30,144,255,.18);
}
.field textarea { min-height: 150px; resize: vertical; }
.field--error input, .field--error textarea, .field--error select { border-color: #C62828; }
.field__error { color: #C62828; font-size: .85rem; margin-top: .3rem; }
.field__hint { font-size: .85rem; color: var(--grey-500); margin-top: .3rem; }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .92rem; color: var(--grey-700); }
.consent input { margin-top: .3rem; width: 18px; height: 18px; flex: 0 0 auto; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 1rem 1.2rem; border-radius: 10px; margin-bottom: 1.4rem; font-size: .95rem; }
.alert--success { background: #E6F7EC; color: #1B5E20; border: 1px solid #A5D6B0; }
.alert--error { background: #FDECEC; color: #8E1C1C; border: 1px solid #F3B5B5; }
.contact-info { display: grid; gap: 1.2rem; }
.info-card { background: var(--grey-100); border-radius: var(--radius-lg); padding: 1.6rem; display: flex; gap: 1rem; align-items: flex-start; }
.info-card__icon { flex: 0 0 44px; height: 44px; border-radius: 12px; background: #fff; color: var(--blue-600); display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.info-card__icon svg { width: 22px; height: 22px; }
.info-card h3 { font-size: 1rem; margin-bottom: .25rem; }
.info-card p { margin: 0; color: var(--grey-700); font-size: .95rem; }
.map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid #E6EAF1; aspect-ratio: 16 / 10; }
.map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Legal ---------- */
.legal { max-width: 800px; }
.legal h2 { font-size: 1.4rem; margin-top: 2.2rem; }
.legal h3 { font-size: 1.1rem; margin-top: 1.5rem; }
.legal ul { list-style: disc; padding-left: 1.4rem; margin-bottom: 1.1em; }
.legal li { margin-bottom: .4rem; }
.legal table { width: 100%; border-collapse: collapse; font-size: .93rem; margin-bottom: 1.2rem; }
.legal th, .legal td { text-align: left; padding: .6rem .7rem; border-bottom: 1px solid #E6EAF1; vertical-align: top; }
.legal th { background: var(--grey-100); color: var(--navy-800); }
.legal .updated { color: var(--grey-500); font-size: .9rem; }

/* ---------- Error page ---------- */
.error-page { text-align: center; padding-block: clamp(5rem, 12vw, 9rem); }
.error-page .code { font-family: var(--font-head); font-size: clamp(5rem, 15vw, 9rem); font-weight: 800; color: var(--blue-100); line-height: 1; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: .08s; }
.reveal:nth-child(3) { transition-delay: .16s; }
.reveal:nth-child(4) { transition-delay: .24s; }
.reveal:nth-child(5) { transition-delay: .32s; }

/* ---------- Large desktops ---------- */
@media (min-width: 1600px) {
  h1 { font-size: 3.6rem; }
  .hero { padding-block: 8rem; }
  .hero__visual img { width: 420px; }
}

/* ---------- High-DPI: crisper hairlines ---------- */
@media (min-resolution: 2dppx) {
  .card, .step, .testimonial, .sidebar-list, .profile { border-width: .5px; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .nav-toggle, .cta-band, .site-footer__grid, .skip-link, .map, .hero__visual, .sidebar-card, .btn { display: none !important; }
  .hero, .page-hero, .section--navy { background: none !important; color: #000 !important; padding-block: 1rem; }
  .hero h1, .page-hero h1, .hero .lead, .page-hero .lead, .section--navy h2, .section--navy h3, .section--navy p { color: #000 !important; }
  body { font-size: 11pt; color: #000; }
  a { color: #000; text-decoration: underline; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 90%; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .card, .step, .testimonial { break-inside: avoid; box-shadow: none; }
  .site-footer { background: none; color: #000; padding: 1rem 0; border-top: 1px solid #000; }
  .site-footer__legal { color: #000; }
}
