/* ==========================================================================
   Nygon Facilities Limited — v2.1  (Nygon navy + teal, multi-page)
   Fonts: Lexend (headings) / Source Sans 3 (body) — the original Nygon pairing.
   Style: Trust & Authority + Bento grid + Dimensional layering (4-level elevation).
   All text pairs >= 4.5:1. Motion is subtle and honours prefers-reduced-motion.
   ========================================================================== */

:root {
  color-scheme: light;

  /* Nygon palette */
  --navy-950: #0a1020;
  --navy-900: #0f172a;
  --navy-800: #16213a;
  --navy-700: #1e2d4a;
  --teal-800: #115e59;
  --teal-700: #0f766e;     /* button fill / accent text on light (5.5:1 on white) */
  --teal-900: #0b5f59;     /* hover */
  --teal-400: #2dd4bf;     /* accent on navy (9:1) */
  --teal-300: #5eead4;
  --mint: #eef6f5;         /* cool alt background */
  --mint-2: #d9ebe8;
  --white: #ffffff;
  --ink: #0b1220;
  --muted: #475569;
  --on-navy-muted: #cbd5e1;
  --line: #e2e8f0;
  --line-navy: #27354f;
  --focus: #0369a1;
  --error: #b91c1c;

  --font-head: "Lexend", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;

  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(64px, 9vw, 112px);
  --radius: 20px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --header-h: 76px;

  /* Elevation scale (dimensional layering) */
  --e1: 0 1px 2px rgb(15 23 42 / .06), 0 1px 3px rgb(15 23 42 / .06);
  --e2: 0 4px 10px -2px rgb(15 23 42 / .08), 0 2px 4px -2px rgb(15 23 42 / .06);
  --e3: 0 14px 28px -10px rgb(15 23 42 / .18), 0 4px 8px -4px rgb(15 23 42 / .08);
  --e4: 0 28px 56px -20px rgb(15 23 42 / .35), 0 8px 16px -8px rgb(15 23 42 / .12);

  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.7; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.16; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--teal-700); text-underline-offset: 3px; }
a:hover { color: var(--teal-900); }
::selection { background: var(--teal-400); color: var(--navy-950); }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.on-navy :focus-visible, .bg-navy :focus-visible, .site-footer :focus-visible, .mobile-cta :focus-visible { outline-color: var(--teal-300); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: var(--s-4); top: -100px; z-index: 300; background: var(--navy-950); color: #fff; padding: var(--s-3) var(--s-5); border-radius: var(--radius-sm); font-weight: 700; }
.skip-link:focus { top: var(--s-3); }

.container { width: min(100% - 2 * var(--gutter), 1200px); margin-inline: auto; }
.section { padding-block: var(--section-y); }
.bg-mint { background: var(--mint); }
.bg-navy { background: var(--navy-900); color: #fff; position: relative; isolation: isolate; overflow: hidden; }
.on-navy { color: #fff; }

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

/* ---------- Scroll progress ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 250; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: var(--teal-700); pointer-events: none; }

/* ---------- Type helpers ---------- */
.pill {
  display: inline-flex; align-items: center; gap: var(--s-2); width: fit-content;
  padding: 6px 16px; border-radius: 999px; border: 1px solid var(--mint-2);
  font-family: var(--font-head); font-size: .75rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; line-height: 1.4;
  color: var(--teal-800); background: var(--mint);
}
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal-700); box-shadow: 0 0 0 4px rgb(15 118 110 / .15); }
.on-navy .pill, .bg-navy .pill { color: #fff; background: rgb(255 255 255 / .06); border-color: rgb(255 255 255 / .22); }
.on-navy .pill::before, .bg-navy .pill::before { background: var(--teal-400); box-shadow: 0 0 0 4px rgb(45 212 191 / .18); }
.bg-mint .pill { background: #fff; }

.title { font-size: clamp(1.875rem, 3.8vw, 2.875rem); }
.title .accent { color: var(--teal-700); }
.on-navy .title .accent, .bg-navy .title .accent { color: var(--teal-400); }
.lead { font-size: 1.1875rem; color: var(--muted); max-width: 62ch; }
.on-navy .lead, .bg-navy .lead { color: var(--on-navy-muted); }
.section-head { display: grid; gap: var(--s-4); margin-bottom: var(--s-7); }
.section-head--center { justify-items: center; text-align: center; margin-inline: auto; max-width: 720px; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 48px; padding: 0 var(--s-5); border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-head); font-size: .9375rem; font-weight: 500; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s var(--ease), box-shadow .2s ease;
}
.btn .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn--primary { background: var(--teal-700); color: #fff; box-shadow: 0 8px 18px -8px rgb(15 118 110 / .7); }
.btn--primary:hover { background: var(--teal-900); color: #fff; box-shadow: 0 12px 24px -10px rgb(15 118 110 / .8); transform: translateY(-1px); }
.btn--outline { border-color: var(--navy-800); color: var(--navy-800); background: transparent; }
.btn--outline:hover { background: var(--navy-800); color: #fff; }
.btn--light { border-color: rgb(255 255 255 / .4); color: #fff; background: rgb(255 255 255 / .05); }
.btn--light:hover { background: #fff; color: var(--navy-900); border-color: #fff; }
.btn--white { background: #fff; color: var(--navy-900); }
.btn--white:hover { background: var(--mint); color: var(--navy-900); transform: translateY(-1px); }
/* On dark surfaces the primary button flips to bright teal */
.hero .btn--primary, .bg-navy .btn--primary, .page-hero .btn--primary, .mobile-cta .btn--primary, .svc--feature .btn--primary { background: var(--teal-400); color: var(--navy-950); box-shadow: 0 10px 22px -10px rgb(45 212 191 / .6); }
.hero .btn--primary:hover, .bg-navy .btn--primary:hover, .page-hero .btn--primary:hover, .mobile-cta .btn--primary:hover, .svc--feature .btn--primary:hover { background: var(--teal-300); color: var(--navy-950); }
.btn[disabled] { opacity: .7; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }

.placeholder { border-bottom: 1px dashed currentColor; opacity: .85; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; height: var(--header-h); background: rgb(255 255 255 / .9); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .25s ease, box-shadow .25s ease, background-color .25s ease; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--e2); background: rgb(255 255 255 / .96); }
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); }

.brand { display: inline-flex; align-items: center; gap: var(--s-3); text-decoration: none; color: var(--navy-900); }
.brand:hover { color: var(--navy-900); }
.brand__mark { width: 42px; height: 42px; color: var(--teal-700); transition: transform .3s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-6deg) scale(1.05); }
.brand__text { display: grid; line-height: 1.1; }
.brand__name { font-family: var(--font-head); font-weight: 700; font-size: 1.3125rem; letter-spacing: -.03em; }
.brand__sub { font-size: .6875rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

.nav__menu { display: none; align-items: center; gap: var(--s-1); }
.nav__menu > li { position: relative; display: flex; align-items: center; }
.nav__menu a.nav-link { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s-3); color: var(--navy-900); text-decoration: none; font-family: var(--font-head); font-weight: 400; font-size: .9375rem; }
.nav__menu a.nav-link::after { content: ""; position: absolute; left: var(--s-3); right: var(--s-3); bottom: 6px; height: 2px; border-radius: 2px; background: var(--teal-700); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav__menu a.nav-link:hover::after, .nav__menu a.nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav__menu a.nav-link[aria-current="page"] { color: var(--teal-700); font-weight: 500; }
.nav__cta { margin-left: var(--s-3); min-height: 44px; }

.sub-toggle { display: inline-grid; place-items: center; width: 32px; height: 44px; margin-left: -8px; background: none; border: 0; color: var(--navy-900); cursor: pointer; border-radius: 6px; }
.sub-toggle .icon { width: 16px; height: 16px; transition: transform .2s ease; }
.sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.sub { position: absolute; left: 0; top: calc(100% - 4px); min-width: 330px; padding: var(--s-2); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--e4); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s ease, transform .18s ease, visibility .18s; }
.has-sub:hover > .sub, .has-sub.is-open > .sub, .has-sub:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: flex; align-items: center; gap: var(--s-3); min-height: 44px; padding: 0 var(--s-3); border-radius: 8px; color: var(--navy-900); text-decoration: none; font-size: .9688rem; font-weight: 600; }
.sub a .icon { width: 20px; height: 20px; color: var(--teal-700); }
.sub a:hover { background: var(--mint); color: var(--teal-700); }

.nav__toggle { display: inline-grid; place-items: center; width: 48px; height: 48px; background: #fff; border: 1px solid var(--line); border-radius: 12px; color: var(--navy-900); cursor: pointer; }
.nav__toggle .icon-close { display: none; }
.nav__toggle[aria-expanded="true"] .icon-open { display: none; }
.nav__toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 1023px) {
  .nav__menu { position: absolute; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: var(--s-2) var(--gutter) var(--s-5); box-shadow: var(--e4); max-height: calc(100dvh - var(--header-h)); overflow: auto; }
  .nav__menu.is-open { display: flex; }
  .nav__menu > li { display: block; border-bottom: 1px solid var(--line); }
  .nav__menu a.nav-link { min-height: 52px; font-size: 1.0625rem; width: 100%; }
  .nav__menu a.nav-link::after { display: none; }
  .sub-toggle { display: none; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 var(--s-3) var(--s-4); min-width: 0; }
  .sub a { min-height: 44px; font-weight: 400; color: var(--muted); }
  .nav__cta-li { border-bottom: 0 !important; padding-top: var(--s-4); }
  .nav__cta { margin: 0; width: 100%; }
}
@media (min-width: 1024px) { .nav__menu { display: flex; } .nav__toggle { display: none; } }

/* ---------- Media frame (illustration with optional real photo on top) ---------- */
.media { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; isolation: isolate; background: var(--navy-800); box-shadow: var(--e4); }
.media > svg.art { width: 100%; height: 100%; }
picture { display: contents; }
.media img { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s ease; }
.media img.is-loaded { opacity: 1; }
.media--sq { aspect-ratio: 1 / 1; }
.media--wide { aspect-ratio: 16 / 11; }
.media__badge { position: absolute; left: var(--s-4); bottom: var(--s-4); z-index: 2; display: inline-flex; align-items: center; gap: var(--s-3); padding: var(--s-3) var(--s-4); border-radius: 14px; background: rgb(255 255 255 / .95); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--navy-900); font-family: var(--font-head); font-weight: 500; font-size: .875rem; line-height: 1.3; box-shadow: var(--e3); }
.media__badge .icon { color: var(--teal-700); width: 26px; height: 26px; }
.media__badge small { display: block; font-family: var(--font-body); font-weight: 400; color: var(--muted); font-size: .8125rem; }

.lit { animation: flicker 6s ease-in-out infinite; }
.lit:nth-of-type(2n) { animation-delay: -2s; }
.lit:nth-of-type(3n) { animation-delay: -4s; }
@keyframes flicker { 0%, 100% { opacity: .95; } 50% { opacity: .4; } }

/* feature media: big service icon on layered rings, with outlined index number */
.media--feature { display: grid; place-items: center; min-height: 260px; }
.media__disc { position: relative; z-index: 1; display: grid; place-items: center; width: clamp(110px, 16vw, 152px); aspect-ratio: 1; border-radius: 50%; color: var(--teal-400); background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .16); box-shadow: 0 0 0 18px rgb(255 255 255 / .03), 0 0 0 38px rgb(255 255 255 / .02); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.media__disc .icon { width: 44%; height: 44%; stroke-width: 1.4; }
.media__num { position: absolute; z-index: 1; left: var(--s-5); top: var(--s-4); font-family: var(--font-head); font-weight: 700; font-size: clamp(3rem, 7vw, 5rem); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgb(255 255 255 / .28); letter-spacing: -.04em; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; background: var(--navy-900); color: #fff; padding-block: clamp(40px, 6vw, 88px) clamp(96px, 11vw, 148px); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgb(148 163 184 / .06) 1px, transparent 1px), linear-gradient(90deg, rgb(148 163 184 / .06) 1px, transparent 1px); background-size: 56px 56px; }
.hero__grid { display: grid; gap: var(--s-8); align-items: center; }
.hero__copy { display: grid; gap: var(--s-5); justify-items: start; }
.hero h1 { font-size: clamp(2.25rem, 5.2vw, 3.875rem); font-weight: 600; line-height: 1.08; letter-spacing: -.03em; }
.hero h1 .accent { color: var(--teal-400); }
.hero__lead { color: var(--on-navy-muted); font-size: clamp(1.0625rem, 1.5vw, 1.25rem); max-width: 52ch; }
.checks { display: grid; gap: var(--s-3); }
.checks li { display: flex; align-items: center; gap: var(--s-3); font-weight: 600; }
.checks .tick { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: rgb(45 212 191 / .18); color: var(--teal-400); box-shadow: inset 0 0 0 1px rgb(45 212 191 / .5); }
.checks .tick .icon { width: 14px; height: 14px; stroke-width: 3; }
.hero__phone { color: var(--on-navy-muted); font-size: .9688rem; }
.hero__phone a { color: #fff; font-weight: 700; }

.hero__visual { position: relative; width: 100%; max-width: 500px; justify-self: center; }
.hero__visual::before { content: ""; position: absolute; inset: -14px 14px 14px -14px; border-radius: 34px; border: 1px solid rgb(45 212 191 / .35); z-index: 0; }
.hero__visual .media { position: relative; z-index: 1; border: 1px solid rgb(255 255 255 / .12); box-shadow: 0 40px 80px -30px rgb(0 0 0 / .7); }
.hchip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: var(--s-2); padding: var(--s-2) var(--s-4); border-radius: 999px; background: rgb(22 33 58 / .88); border: 1px solid var(--line-navy); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: .9062rem; font-weight: 600; color: #fff; box-shadow: var(--e4); animation: bob 6s ease-in-out infinite; }
.hchip .icon { width: 18px; height: 18px; color: var(--teal-400); }
.hchip--a { left: -6%; top: 12%; }
.hchip--b { right: -5%; top: 46%; animation-delay: -3s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@media (max-width: 599px) { .hchip--a { left: 0; } .hchip--b { right: 0; } }
@media (min-width: 960px) { .hero__grid { grid-template-columns: 1.1fr .9fr; } .hero__visual { justify-self: end; } }

/* ---------- Trust strip (floats over the hero edge) ---------- */
.trust { background: var(--mint); padding-bottom: clamp(56px, 7vw, 96px); }
.trust__grid { display: grid; gap: var(--s-4); position: relative; z-index: 4; margin-top: calc(-1 * clamp(56px, 7vw, 84px)); }
@media (min-width: 560px) { .trust__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .trust__grid { grid-template-columns: repeat(4, 1fr); } }
.badge { background: #fff; border: 1px solid var(--mint-2); border-radius: var(--radius); padding: var(--s-5); display: grid; grid-template-columns: auto 1fr; gap: var(--s-1) var(--s-4); align-items: center; box-shadow: var(--e3); transition: transform .3s var(--ease), box-shadow .3s ease; }
.badge:hover { transform: translateY(-4px); box-shadow: var(--e4); }
.badge .icon { grid-row: span 2; width: 52px; height: 52px; padding: 13px; border-radius: 14px; background: var(--mint); color: var(--teal-700); }
.badge strong { font-family: var(--font-head); font-weight: 600; font-size: 1rem; color: var(--navy-900); line-height: 1.25; align-self: end; }
.badge span { color: var(--muted); font-size: .9688rem; line-height: 1.45; grid-column: 2; }

/* ---------- About split ---------- */
.split { display: grid; gap: var(--s-8); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); } .split--flip > :first-child { order: 2; } }
.split__copy { display: grid; gap: var(--s-5); justify-items: start; }
.split__copy p { color: var(--muted); }
.bg-navy .split__copy p { color: var(--on-navy-muted); }

/* ---------- Services: bento grid ---------- */
.svc-grid { display: grid; gap: var(--s-5); }
@media (min-width: 640px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }
.svc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-rows: auto 1fr; box-shadow: var(--e1); transition: transform .3s var(--ease), box-shadow .3s ease, border-color .3s ease; }
.svc:hover { transform: translateY(-5px); box-shadow: var(--e4); border-color: var(--teal-400); }
.svc__art { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; background: var(--navy-800); color: #fff; overflow: hidden; }
.svc__art img { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; opacity: 0; transition: opacity .4s ease, transform .6s var(--ease); }
.svc__art img.is-loaded { opacity: 1; }
.svc:hover .svc__art img { transform: scale(1.04); }
.svc__art .icon { position: relative; z-index: 1; width: 44px; height: 44px; stroke-width: 1.6; color: var(--teal-400); box-sizing: content-box; padding: 18px; border-radius: 20px; background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .14); transition: transform .4s var(--ease); }
.svc:hover .svc__art .icon { transform: scale(1.08) rotate(-4deg); }
.svc__body { padding: var(--s-5) var(--s-5) var(--s-5); display: grid; gap: var(--s-2); align-content: start; }
.svc h3 { font-size: 1.25rem; color: var(--navy-900); }
.svc p { color: var(--muted); font-size: 1rem; line-height: 1.6; }
.link-arrow { display: inline-flex; align-items: center; gap: var(--s-2); margin-top: var(--s-1); font-family: var(--font-head); font-weight: 500; font-size: .9375rem; text-decoration: none; min-height: 44px; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* feature card (spans two columns) */
.svc--feature { grid-template-rows: none; position: relative; isolation: isolate; background: var(--navy-800); color: #fff; border-color: var(--line-navy); padding: clamp(24px, 3.5vw, 40px); gap: var(--s-6); align-content: center; }
.svc--feature:hover { border-color: var(--teal-400); }
.svc--feature h3 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.svc--feature p { color: var(--on-navy-muted); }
.svc--feature__copy { display: grid; gap: var(--s-4); justify-items: start; align-content: center; }
.svc__ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: rgb(45 212 191 / .14); color: var(--teal-400); box-shadow: inset 0 0 0 1px rgb(45 212 191 / .3); }
.svc__ic .icon { width: 28px; height: 28px; }
.ticks--panel { display: grid; gap: var(--s-2); align-content: center; }
.ticks--panel li { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-3) var(--s-4); border-radius: var(--radius-sm); background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .08); font-weight: 600; font-size: .9688rem; }
.ticks--panel .icon { width: 18px; height: 18px; color: var(--teal-400); stroke-width: 2.6; margin: 0; }
@media (min-width: 640px) { .svc--feature { grid-column: 1 / -1; } }
@media (min-width: 900px) { .svc--feature { grid-template-columns: 1.15fr .85fr; align-items: center; } }
@media (min-width: 1000px) { .svc--feature { grid-column: span 2; } }
/* avoid an orphan card in the two-column layout */
@media (min-width: 640px) and (max-width: 999px) {
  .svc-grid > .svc:last-child:not(.svc--feature) { grid-column: 1 / -1; grid-template-columns: 1fr 1.4fr; grid-template-rows: none; }
  .svc-grid > .svc:last-child:not(.svc--feature) .svc__art { aspect-ratio: auto; min-height: 100%; }
}

/* ---------- Promo banner ---------- */
.promo { position: relative; display: grid; gap: var(--s-6); align-items: center; background: #fff; border: 1px solid var(--mint-2); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 48px); box-shadow: var(--e4); }
@media (min-width: 900px) { .promo { grid-template-columns: 1.1fr .9fr; } }
.promo__copy { display: grid; gap: var(--s-4); justify-items: start; }
.promo__copy p { color: var(--muted); }
.promo__list { display: grid; gap: var(--s-3); width: 100%; }
.promo__list li { display: flex; gap: var(--s-4); align-items: flex-start; padding: var(--s-4); background: var(--mint); border-radius: var(--radius-sm); }
.promo__list .icon { color: var(--teal-700); margin-top: 2px; }
.promo__list strong { display: block; font-family: var(--font-head); font-weight: 500; font-size: 1rem; }
.promo__list span { color: var(--muted); font-size: .9688rem; line-height: 1.5; display: block; }

/* ---------- Why trust ---------- */
.why { display: grid; gap: var(--s-4); }
@media (min-width: 640px) { .why { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .why { grid-template-columns: repeat(3, 1fr); } }
.why__item { position: relative; background: var(--navy-800); border: 1px solid var(--line-navy); border-radius: var(--radius); padding: var(--s-6); display: grid; gap: var(--s-3); align-content: start; transition: border-color .3s ease, transform .3s var(--ease), box-shadow .3s ease; }
.why__item:hover { border-color: var(--teal-400); transform: translateY(-4px); box-shadow: 0 24px 48px -24px rgb(0 0 0 / .7); }
.why__ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: rgb(45 212 191 / .14); color: var(--teal-400); box-shadow: inset 0 0 0 1px rgb(45 212 191 / .25); }
.why__item h3 { font-size: 1.125rem; font-weight: 500; }
.why__item p { color: var(--on-navy-muted); font-size: 1rem; line-height: 1.6; }
.contact-row { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-3); margin-top: var(--s-7); }

/* ---------- Testimonials ---------- */
.quotes { display: grid; gap: var(--s-5); }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quote { background: #fff; border: 2px dashed #9dbdb8; border-radius: var(--radius); padding: var(--s-6); display: grid; gap: var(--s-4); align-content: start; }
.quote .icon { width: 36px; height: 36px; color: var(--teal-700); fill: currentColor; stroke: none; }
.quote p { color: var(--muted); font-style: italic; }
.quote footer { font-family: var(--font-head); font-weight: 500; font-size: .9688rem; color: var(--navy-800); }
.quote footer small { display: block; font-family: var(--font-body); font-weight: 400; color: var(--muted); }

/* ---------- Sectors ---------- */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-3); }
.chip { display: inline-flex; align-items: center; gap: var(--s-2); padding: 11px 22px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-family: var(--font-head); font-weight: 400; font-size: .9688rem; color: var(--navy-800); box-shadow: var(--e1); transition: transform .25s var(--ease), border-color .25s ease, box-shadow .25s ease; }
.chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal-700); }
.chip:hover { transform: translateY(-2px); border-color: var(--teal-700); box-shadow: var(--e3); }

/* ---------- Steps ---------- */
.steps { display: grid; gap: var(--s-7) var(--s-5); }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; display: grid; gap: var(--s-3); align-content: start; padding: var(--s-7) var(--s-5) var(--s-5); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--e1); transition: transform .3s var(--ease), box-shadow .3s ease; }
.step:hover { transform: translateY(-4px); box-shadow: var(--e3); }
.step__num { position: absolute; top: -20px; left: var(--s-5); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--teal-700); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 1rem; box-shadow: 0 10px 20px -8px rgb(15 118 110 / .8); }
.step .icon { width: 32px; height: 32px; color: var(--navy-800); }
.step h3 { font-size: 1.1875rem; }
.step p { color: var(--muted); font-size: 1rem; line-height: 1.6; }
@media (min-width: 1000px) { .step:not(:last-child)::after { content: ""; position: absolute; top: 2px; left: calc(var(--s-5) + 52px); right: calc(-1 * var(--s-5) - 20px); height: 2px; border-top: 2px dashed var(--mint-2); z-index: 0; } }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; gap: var(--s-7); align-items: start; }
@media (min-width: 960px) { .faq-wrap { grid-template-columns: .8fr 1.2fr; } }
.faq { display: grid; gap: var(--s-3); }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color .2s ease, box-shadow .2s ease; }
.faq details:hover { border-color: var(--mint-2); }
.faq details[open] { border-color: var(--teal-400); box-shadow: var(--e2); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); min-height: 60px; padding: var(--s-3) var(--s-5); cursor: pointer; list-style: none; font-family: var(--font-head); font-weight: 500; font-size: 1.0625rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--mint); color: var(--teal-700); font-size: 1.25rem; line-height: 1; transition: transform .25s var(--ease), background-color .2s ease, color .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--teal-700); color: #fff; }
.faq details p { padding: 0 var(--s-5) var(--s-5); color: var(--muted); max-width: 68ch; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; background: var(--teal-700); color: #fff; padding-block: clamp(52px, 7vw, 88px); }
.cta-band::before { content: ""; position: absolute; z-index: -1; right: -120px; top: -160px; width: 460px; height: 460px; border-radius: 50%; background: rgb(255 255 255 / .09); }
.cta-band::after { content: ""; position: absolute; z-index: -1; left: 8%; bottom: -200px; width: 380px; height: 380px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .14); }
.cta-band__grid { display: grid; gap: var(--s-6); align-items: center; }
@media (min-width: 900px) { .cta-band__grid { grid-template-columns: 1fr auto; } }
.cta-band h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
.cta-band p { margin-top: var(--s-3); max-width: 56ch; color: #d5f5f0; }

/* ---------- Contact ---------- */
.contact { display: grid; gap: var(--s-8); align-items: start; }
@media (min-width: 960px) { .contact { grid-template-columns: .85fr 1.15fr; } }
.contact__info { display: grid; gap: var(--s-5); justify-items: start; }
.contact-cards { display: grid; gap: var(--s-3); width: 100%; }
.c-card { display: flex; gap: var(--s-4); align-items: center; padding: var(--s-4) var(--s-5); border: 1px solid var(--line-navy); background: var(--navy-800); border-radius: var(--radius-sm); color: #fff; text-decoration: none; transition: border-color .2s ease, transform .2s var(--ease); }
a.c-card:hover { border-color: var(--teal-400); color: #fff; transform: translateX(3px); }
.c-card .icon { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: rgb(45 212 191 / .14); color: var(--teal-400); }
.c-card small { display: block; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-navy-muted); font-weight: 600; line-height: 1.4; }
.c-card span { font-weight: 600; }
.contact-cards--light .c-card { background: #fff; border-color: var(--line); color: var(--ink); box-shadow: var(--e1); }
.contact-cards--light .c-card small { color: var(--muted); }
.contact-cards--light a.c-card:hover { color: var(--ink); border-color: var(--teal-700); }
.contact-cards--light .c-card .icon { background: var(--mint); color: var(--teal-700); }

.form { background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: clamp(20px, 4vw, 40px); display: grid; gap: var(--s-5); box-shadow: 0 40px 70px -30px rgb(0 0 0 / .55); }
.form h3 { font-size: 1.5rem; }
.form__row { display: grid; gap: var(--s-5); }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: var(--s-2); }
.field label { font-weight: 600; font-size: .9688rem; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: var(--s-3) var(--s-4); font: inherit; color: var(--ink); background: #fff; border: 1.5px solid #7a879c; border-radius: 12px; transition: border-color .2s ease, box-shadow .2s ease; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%230f172a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.field textarea { min-height: 132px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--navy-800); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--focus); box-shadow: 0 0 0 4px rgb(3 105 161 / .2); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field__error { display: none; color: var(--error); font-size: .9rem; font-weight: 600; }
.field [aria-invalid="true"] ~ .field__error { display: block; }
.field__hint { color: var(--muted); font-size: .9rem; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4); }
.form__note { color: var(--muted); font-size: .9rem; flex: 1 1 220px; }
.form__status { display: none; padding: var(--s-4) var(--s-5); border-radius: 12px; font-weight: 600; }
.form__status.is-success { display: block; background: #e3f4f2; color: #0b4f4a; border: 1px solid #8fd0c8; animation: pop .4s var(--ease); }
.form__status.is-error { display: block; background: #fdecec; color: var(--error); border: 1px solid #f0a3a3; }
@keyframes pop { from { opacity: 0; transform: translateY(6px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- Inner page header ---------- */
.page-hero { position: relative; background: var(--navy-900); color: #fff; padding-block: clamp(44px, 6vw, 88px); overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background-image: linear-gradient(rgb(148 163 184 / .06) 1px, transparent 1px), linear-gradient(90deg, rgb(148 163 184 / .06) 1px, transparent 1px); background-size: 56px 56px; }
.page-hero__art { position: absolute; right: 0; bottom: 0; width: min(52%, 640px); z-index: -1; opacity: .5; display: none; }
@media (min-width: 900px) { .page-hero__art { display: block; } }
.page-hero__inner { display: grid; gap: var(--s-4); justify-items: start; max-width: 780px; }
.page-hero h1 { font-size: clamp(2.125rem, 4.6vw, 3.25rem); letter-spacing: -.03em; }
.page-hero h1 .accent { color: var(--teal-400); }
.crumbs { display: flex; gap: var(--s-2); font-size: .9062rem; color: var(--on-navy-muted); }
.crumbs a { color: #fff; }
.crumbs li + li::before { content: "/"; margin-right: var(--s-2); opacity: .6; }

/* ---------- Service detail rows ---------- */
.svc-row { padding-block: clamp(44px, 6vw, 80px); border-top: 1px solid var(--line); }
.svc-row:first-of-type { border-top: 0; }
.svc-row:nth-of-type(even) { background: var(--mint); }
.svc-row h2 { font-size: clamp(1.625rem, 3vw, 2.25rem); }
.ticks { display: grid; gap: var(--s-2); }
.ticks li { display: flex; gap: var(--s-3); align-items: flex-start; color: var(--ink); }
.ticks .icon { width: 20px; height: 20px; margin-top: 5px; color: var(--teal-700); stroke-width: 2.5; }
.svc-row .media { max-width: 540px; width: 100%; justify-self: center; }
.svc-badge-ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--mint); color: var(--teal-700); box-shadow: inset 0 0 0 1px var(--mint-2); }
.svc-badge-ic .icon { width: 30px; height: 30px; }

/* ---------- Values (about) ---------- */
.values { display: grid; gap: var(--s-5); }
@media (min-width: 700px) { .values { grid-template-columns: repeat(3, 1fr); } }
.value { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s-6); display: grid; gap: var(--s-3); align-content: start; box-shadow: var(--e1); transition: transform .3s var(--ease), box-shadow .3s ease; }
.value:hover { transform: translateY(-4px); box-shadow: var(--e3); }
.value .icon { width: 52px; height: 52px; padding: 13px; border-radius: 14px; background: var(--mint); color: var(--teal-700); }
.value h3 { font-size: 1.1875rem; }
.value p { color: var(--muted); font-size: 1rem; line-height: 1.6; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--navy-950); color: var(--on-navy-muted); padding-block: var(--s-8) var(--s-5); }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--teal-700); }
.site-footer .brand { color: #fff; }
.site-footer .brand__mark { color: var(--teal-400); }
.site-footer .brand__sub { color: var(--on-navy-muted); }
.footer__grid { display: grid; gap: var(--s-7); }
@media (min-width: 640px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer__blurb { margin-top: var(--s-4); max-width: 34ch; font-size: 1rem; }
.footer__title { font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin: 0 0 var(--s-4); font-weight: 500; font-family: var(--font-head); }
.footer__col ul { display: grid; gap: var(--s-1); }
.footer__col a, .footer__col li > span { display: inline-flex; align-items: center; gap: var(--s-2); min-height: 36px; color: var(--on-navy-muted); text-decoration: none; font-size: 1rem; }
.footer__col a:hover { color: var(--teal-300); text-decoration: underline; }
.footer__col .icon { width: 18px; height: 18px; color: var(--teal-400); }
.footer__base { margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--line-navy); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3); font-size: .9062rem; }
.footer__base a { color: var(--on-navy-muted); }

/* ---------- Mobile sticky CTA ---------- */
.mobile-cta { position: fixed; inset: auto 0 0 0; z-index: 90; display: flex; gap: var(--s-3); padding: var(--s-3) var(--gutter) calc(var(--s-3) + env(safe-area-inset-bottom)); background: rgb(15 23 42 / .96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line-navy); transform: translateY(110%); transition: transform .35s var(--ease); }
.mobile-cta.is-visible { transform: none; }
.menu-open .mobile-cta { transform: translateY(110%); }
.mobile-cta .btn { flex: 1; min-height: 48px; padding-inline: var(--s-4); }
@media (max-width: 1023px) { .site-footer { padding-bottom: calc(var(--s-5) + 76px); } }
@media (min-width: 1024px) { .mobile-cta { display: none; } }

/* ---------- Reveal (progressive enhancement, subtle: 14px, ~500ms) ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .55s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .progress { display: none; }
}

/* ---------- Areas band ---------- */
.areas { display: grid; gap: var(--s-6); align-items: center; }
@media (min-width: 760px) { .areas { grid-template-columns: auto 1fr; gap: var(--s-8); } }
.areas__pin { display: grid; place-items: center; width: 112px; height: 112px; border-radius: 32px; background: var(--mint); color: var(--teal-700); box-shadow: inset 0 0 0 1px var(--mint-2); }
.areas__pin .icon { width: 48px; height: 48px; stroke-width: 1.5; }
.areas__copy { display: grid; gap: var(--s-4); justify-items: start; }

/* ---------- Service detail pages ---------- */
.included { display: grid; gap: var(--s-3); }
@media (min-width: 700px) { .included { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .included { grid-template-columns: repeat(3, 1fr); } }
.included li { display: flex; gap: var(--s-3); align-items: flex-start; padding: var(--s-4) var(--s-5); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--e1); line-height: 1.5; }
.included .icon { width: 22px; height: 22px; margin-top: 2px; color: var(--teal-700); stroke-width: 2.5; }
.duo { display: grid; gap: var(--s-7); }
@media (min-width: 900px) { .duo { grid-template-columns: 1fr 1fr; gap: var(--s-8); } }
.duo h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: var(--s-4); }
.duo p.lead { margin-bottom: var(--s-4); }
.related { display: grid; gap: var(--s-5); }
@media (min-width: 700px) { .related { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Prose (privacy notice) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin: var(--s-7) 0 var(--s-3); }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--muted); }
.prose p + p { margin-top: var(--s-3); }
.prose ul { list-style: disc; padding-left: var(--s-5); display: grid; gap: var(--s-1); margin-top: var(--s-3); }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; align-content: center; justify-items: start; gap: var(--s-5); }
.notfound .title { font-size: clamp(2.25rem, 6vw, 4rem); }

/* ---------- Icon-only button (mobile bar WhatsApp) ---------- */
.btn--icon { flex: none !important; width: 48px; padding: 0; }
.btn--icon .icon { width: 22px; height: 22px; }
