/* =========================================================
   Golden Heart — styles.css
   Tokens → base → components → sections → pages → motion
   See design-system/MASTER.md
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  /* brand — sampled from the logo */
  --navy-950: #110d2b;
  --navy-900: #1a1440;
  --navy-800: #221a4a;
  --navy-700: #2f2766;
  --navy-600: #433a80;
  --blue-50: #eef6fd;
  --blue-100: #dcebf9;
  --blue-200: #b9d8f3;
  --blue-400: #5ea8e2;
  --blue-500: #3a93d8;
  --blue-600: #2479c0;
  --blue-700: #1c629d;
  --teal-50: #ecf8f5;
  --teal-100: #d3f0e9;
  --teal-300: #7fd0c0;
  --teal-400: #50bca8;
  --teal-500: #3aa892;
  --teal-700: #227062;

  /* semantic */
  --ink: var(--navy-800);
  --text: #46426a;
  --muted: #6c6889;
  --line: #e2e8f2;
  --bg: #f4f8fc;
  --surface: #fff;
  --primary: var(--blue-600);
  --primary-hover: var(--blue-700);
  --accent: var(--teal-400);

  --grad-brand: linear-gradient(135deg, var(--blue-500) 0%, var(--blue-700) 48%, var(--navy-800) 100%);
  --grad-line: linear-gradient(90deg, var(--teal-400), var(--blue-500));
  --grad-dark: radial-gradient(120% 90% at 85% 0%, #2a2470 0%, var(--navy-900) 55%, var(--navy-950) 100%);

  /* type */
  --font: 'Tajawal', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
  --fs-display: clamp(2.25rem, 1.35rem + 3.9vw, 3.65rem);
  --fs-h1: clamp(2rem, 1.4rem + 2.6vw, 3rem);
  --fs-h2: clamp(1.75rem, 1.3rem + 1.7vw, 2.5rem);
  --fs-h3: clamp(1.18rem, 1.1rem + .3vw, 1.35rem);
  --fs-body: 1.0625rem;
  --fs-sm: .9375rem;
  --fs-xs: .875rem;

  /* space & shape */
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(72px, 9vw, 128px);
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --pill: 999px;

  /* depth — navy-tinted */
  --sh-1: 0 1px 2px rgba(34, 26, 74, .05), 0 6px 20px -8px rgba(34, 26, 74, .12);
  --sh-2: 0 2px 4px rgba(34, 26, 74, .05), 0 22px 44px -18px rgba(34, 26, 74, .26);
  --sh-3: 0 30px 70px -24px rgba(17, 13, 43, .45);
  --ring: 0 0 0 3px #fff, 0 0 0 5px var(--blue-600);

  /* motion */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --t-fast: 180ms;
  --t: 240ms;

  --z-hdr: 50;
  --z-menu: 80;
  --z-float: 40;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.85;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.3; margin: 0 0 .5em; font-weight: 800; text-wrap: balance; }
h3 { font-size: var(--fs-h3); font-weight: 700; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }
::selection { background: var(--teal-100); color: var(--navy-900); }

.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: var(--r-sm); font-weight: 700; }
.skip:focus { top: 12px; }

.ic { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- 3. Components ---------- */

/* eyebrow */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 14px; padding: 6px 14px 6px 16px;
  font-size: var(--fs-xs); font-weight: 700; line-height: 1.4;
  color: var(--blue-700); background: var(--blue-50);
  border: 1px solid var(--blue-100); border-radius: var(--pill);
}
.eyebrow .ic { width: 16px; height: 16px; color: var(--teal-500); }
.eyebrow--light { color: #fff; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); backdrop-filter: blur(6px); }
.eyebrow--light .ic { color: var(--teal-400); }

.hl { color: var(--teal-400); }
.hl-b { color: var(--blue-600); }

/* buttons */
.btn {
  --bh: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--bh); padding: 0 24px;
  font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent; border-radius: var(--pill);
  transition: transform var(--t-fast) var(--ease), background-color var(--t) var(--ease), border-color var(--t) var(--ease), color var(--t) var(--ease), box-shadow var(--t) var(--ease);
  touch-action: manipulation;
}
.btn .ic { width: 20px; height: 20px; transition: transform var(--t) var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn:hover .ic--go { transform: translateX(-4px); }
.btn:active { transform: scale(.98); }
.btn--sm { --bh: 42px; padding: 0 18px; font-size: var(--fs-sm); }
.btn--lg { --bh: 56px; padding: 0 30px; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--primary); color: #fff; box-shadow: 0 10px 24px -12px rgba(36, 121, 192, .8); }
.btn--primary:hover { background: var(--primary-hover); }
.btn--accent { background: var(--teal-400); color: var(--navy-900); box-shadow: 0 12px 28px -14px rgba(80, 188, 168, .9); }
.btn--accent:hover { background: var(--teal-300); }
.btn--ghost { border-color: var(--blue-200); color: var(--blue-700); background: #fff; }
.btn--ghost:hover { border-color: var(--blue-600); background: var(--blue-50); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .35); color: #fff; background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); }
.btn--ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, .14); }
.btn--light { background: #fff; color: var(--navy-800); }
.btn--light:hover { background: var(--blue-50); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; color: var(--blue-700); text-decoration: none;
}
.link-arrow .ic { width: 18px; height: 18px; transition: transform var(--t) var(--ease); }
.link-arrow:hover .ic { transform: translateX(-4px); }

.tag {
  display: inline-flex; align-items: center; padding: 3px 12px; margin: 0;
  font-size: .8125rem; font-weight: 700; line-height: 1.6;
  color: var(--teal-700); background: var(--teal-50); border-radius: var(--pill);
}
.tag--light { color: var(--navy-900); background: var(--teal-400); margin-bottom: 14px; }

.glass {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.glass-light {
  background: rgba(255, 255, 255, .88);
  border: 1px solid rgba(255, 255, 255, .9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.sec-head { margin-bottom: clamp(36px, 5vw, 56px); }
.sec-head h2 { font-size: var(--fs-h2); margin-bottom: 0; }
.sec-head p { color: var(--muted); max-width: 46ch; }
.sec-head--center { text-align: center; }
.sec-head--center h2 { margin-inline: auto; max-width: 28ch; }
.sec-head--split { display: grid; gap: 18px; align-items: end; }
.sec-head--split p { margin-bottom: 10px; }
@media (min-width: 900px) {
  .sec-head--split { grid-template-columns: 1.25fr 1fr; gap: 64px; }
  .sec-head--split > div:last-child { padding-bottom: 6px; }
}

.checks { display: grid; gap: 10px; margin: 0 0 22px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks .ic { width: 22px; height: 22px; margin-top: 3px; padding: 4px; color: #fff; background: var(--teal-500); border-radius: 50%; stroke-width: 2.5; }

.note {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: var(--fs-sm); color: var(--muted);
  padding: 12px 16px; background: var(--bg); border-radius: var(--r-md); border-inline-start: 3px solid var(--blue-400);
}
.note .ic { color: var(--blue-500); margin-top: 4px; width: 18px; height: 18px; }

/* decorative line-art */
.arcs { position: absolute; pointer-events: none; }
.arcs path { stroke: currentColor; stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.arcs__s { stroke: var(--teal-400) !important; }
.pulse-line path { stroke: var(--teal-400); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; fill: none; stroke-dasharray: 1; stroke-dashoffset: 0; vector-effect: non-scaling-stroke; }

/* ---------- 4. Header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: var(--z-hdr);
  padding-block: 14px;
  transition: background-color var(--t) var(--ease), box-shadow var(--t) var(--ease), padding var(--t) var(--ease);
}
.hdr::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgba(17, 13, 43, .55), transparent);
  transition: opacity var(--t) var(--ease);
}
.hdr__in { display: flex; align-items: center; gap: 16px; }
.hdr__logo { position: relative; display: block; width: 148px; flex: none; }
.hdr__logo img { width: 100%; height: auto; transition: opacity var(--t) var(--ease); }
.logo-c { position: absolute; inset: 0; opacity: 0; }
.hdr__nav { display: none; margin-inline: auto; }
.hdr__nav ul { display: flex; gap: 4px; }
.hdr__nav a {
  position: relative; display: block; padding: 10px 14px;
  color: rgba(255, 255, 255, .86); font-weight: 500; text-decoration: none; border-radius: var(--pill);
  transition: color var(--t-fast), background-color var(--t-fast);
}
.hdr__nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.hdr__nav a[aria-current="page"] { color: #fff; font-weight: 700; }
.hdr__nav a[aria-current="page"]::after {
  content: ""; position: absolute; inset-inline: 40%; bottom: 3px; height: 3px; border-radius: 3px; background: var(--teal-400);
}
.hdr__act { display: flex; align-items: center; gap: 6px; margin-inline-start: auto; }
.hdr__icon, .hdr__burger {
  display: grid; place-items: center; width: 44px; height: 44px;
  color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); border-radius: 50%;
  transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.hdr__icon:hover, .hdr__burger:hover { background: rgba(255, 255, 255, .18); }
.hdr__icon .ic, .hdr__burger .ic { width: 20px; height: 20px; }
.hdr__wa { background: var(--teal-400); border-color: var(--teal-400); color: var(--navy-900); }
.hdr__wa:hover { background: var(--teal-300); }
.hdr__cta, .hdr__phone, .hdr__icon:not(.hdr__wa):not(.hdr__phone) { display: none; }

.hdr.is-solid { background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgba(34, 26, 74, .25); padding-block: 10px; }
.hdr.is-solid::before { opacity: 0; }
.hdr.is-solid .logo-w { opacity: 0; }
.hdr.is-solid .logo-c { opacity: 1; }
.hdr.is-solid .hdr__nav a { color: var(--text); }
.hdr.is-solid .hdr__nav a:hover { color: var(--ink); background: var(--bg); }
.hdr.is-solid .hdr__nav a[aria-current="page"] { color: var(--ink); }
.hdr.is-solid .hdr__icon:not(.hdr__wa), .hdr.is-solid .hdr__burger { color: var(--navy-800); background: var(--bg); border-color: var(--line); }
.hdr.is-solid .hdr__icon:not(.hdr__wa):hover, .hdr.is-solid .hdr__burger:hover { background: var(--blue-50); color: var(--blue-700); }
.hdr.is-solid .hdr__cta { background: var(--primary); color: #fff; box-shadow: none; }
.hdr.is-solid .hdr__cta:hover { background: var(--primary-hover); }

@media (min-width: 640px) {
  .hdr__logo { width: 168px; }
  .hdr__phone { display: grid; }
}
@media (min-width: 1100px) {
  .hdr__nav { display: block; }
  .hdr__burger, .hdr__wa { display: none; }
  .hdr__cta { display: inline-flex; margin-inline-start: 6px; }
  .hdr__icon:not(.hdr__wa) { display: grid; }
  .hdr__act { margin-inline-start: 0; }
}

/* mobile menu */
.menu {
  position: fixed; inset: 0; z-index: var(--z-menu);
  display: flex; flex-direction: column; gap: 24px;
  padding: 16px var(--gutter) calc(24px + env(safe-area-inset-bottom));
  overflow-y: auto; overscroll-behavior: contain;
  color: #fff; background: var(--grad-dark);
  opacity: 0; transform: translateY(-12px);
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease);
}
.menu[hidden] { display: none; }
.menu.is-open { opacity: 1; transform: none; }
.menu__top { display: flex; align-items: center; justify-content: space-between; }
.menu__top img { width: 148px; }
.menu__close { display: grid; place-items: center; width: 44px; height: 44px; color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); border-radius: 50%; }
.menu__links li { opacity: 0; transform: translateY(10px); transition: opacity 360ms var(--ease), transform 360ms var(--ease); transition-delay: calc(var(--i) * 45ms + 80ms); }
.menu.is-open .menu__links li { opacity: 1; transform: none; }
.menu__links a {
  display: flex; align-items: baseline; gap: 14px; padding: 12px 0;
  font-size: 1.6rem; font-weight: 800; color: #fff; text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.menu__links span { font-size: .8125rem; font-weight: 700; color: var(--teal-400); }
.menu__links a[aria-current="page"] { color: var(--teal-400); }
.menu__label { margin: 0 0 10px; font-size: var(--fs-xs); font-weight: 700; color: rgba(255, 255, 255, .55); }
.menu__svc ul { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.menu__svc a { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px; font-size: var(--fs-xs); font-weight: 500; color: #fff; text-decoration: none; background: rgba(255, 255, 255, .06); border-radius: var(--r-sm); line-height: 1.4; }
.menu__svc .ic { width: 18px; height: 18px; color: var(--teal-400); }
.menu__foot { display: grid; gap: 10px; margin-top: auto; }

/* ---------- 5. Hero (home) ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh; display: flex; align-items: flex-end;
  padding: 120px 0 104px; color: #fff; background: var(--navy-900);
}
.hero__media { position: absolute; inset: -40px 0 0; z-index: -3; will-change: transform; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 30%; }
.hero__veil {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(to top, rgba(17, 13, 43, .96) 0%, rgba(17, 13, 43, .82) 38%, rgba(26, 20, 64, .38) 70%, rgba(26, 20, 64, .2) 100%),
    radial-gradient(60% 50% at 100% 100%, rgba(58, 147, 216, .35), transparent 70%);
}
.hero__grain {
  position: absolute; inset: 0; z-index: -2; opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1.2px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(to left, #000 0%, transparent 60%);
  mask-image: linear-gradient(to left, #000 0%, transparent 60%);
}
.hero__arcs { z-index: -1; color: rgba(255, 255, 255, .14); width: 560px; inset-inline-start: -160px; top: 70px; animation: drift 14s ease-in-out infinite; }
.hero__in { display: grid; gap: 32px; align-items: end; }
.hero__content { max-width: 640px; }
.hero h1 { font-size: var(--fs-display); color: #fff; line-height: 1.22; margin-bottom: 18px; }
.hero__lead { font-size: clamp(1.0625rem, 1rem + .3vw, 1.2rem); color: rgba(255, 255, 255, .84); max-width: 54ch; margin-bottom: 28px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero__trust { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.hero__trust li { display: flex; align-items: center; gap: 8px; font-size: var(--fs-sm); font-weight: 500; color: rgba(255, 255, 255, .9); }
.hero__trust .ic { width: 20px; height: 20px; padding: 3px; color: var(--navy-900); background: var(--teal-400); border-radius: 50%; stroke-width: 2.6; }

.hero__card { display: none; border-radius: var(--r-lg); padding: 22px 22px 14px; box-shadow: var(--sh-3); background: rgba(26, 20, 64, .42); }
.hero__card-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; color: var(--navy-900); background: var(--teal-400); margin-bottom: 14px; }
.hero__card-ic .ic { width: 28px; height: 28px; }
.hero__card-t { font-size: 1.35rem; font-weight: 800; color: #fff; margin-bottom: 4px; }
.hero__card-d { color: rgba(255, 255, 255, .78); font-size: var(--fs-sm); margin-bottom: 8px; }
.hero__card-pulse { width: 100%; height: 34px; margin-bottom: 10px; }
.hero__card-svc { display: grid; gap: 6px; }
.hero__card-svc li { display: flex; align-items: center; gap: 10px; font-size: var(--fs-sm); font-weight: 500; padding: 8px 12px; background: rgba(255, 255, 255, .06); border-radius: var(--r-sm); }
.hero__card-svc .ic { width: 18px; height: 18px; color: var(--teal-400); }

@media (min-width: 640px) {
  .hero__trust { display: flex; flex-wrap: wrap; gap: 10px 24px; }
}
@media (min-width: 900px) {
  .hero { align-items: center; padding: 140px 0 150px; min-height: min(100svh, 880px); }
  .hero__media { inset: -40px 0 -40px; }
  .hero__media img { object-position: 20% 35%; }
  .hero__veil {
    background:
      linear-gradient(to left, rgba(17, 13, 43, .95) 0%, rgba(26, 20, 64, .86) 34%, rgba(26, 20, 64, .42) 60%, rgba(26, 20, 64, .06) 100%),
      linear-gradient(to top, rgba(17, 13, 43, .7), transparent 35%);
  }
  .hero__in { grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; }
  .hero__card { display: block; justify-self: end; align-self: end; }
  .hero__arcs { inset-inline-start: auto; inset-inline-end: -120px; top: auto; bottom: -140px; width: 640px; color: rgba(255, 255, 255, .1); }
}
@media (min-width: 1200px) {
  .hero__in { grid-template-columns: minmax(0, 1fr) 320px; }
}

/* ---------- 6. Quick services (bento) ---------- */
.svc { position: relative; padding-block: calc(var(--section) * .75) var(--section); background: linear-gradient(180deg, var(--bg) 0%, #e9f2fb 100%); overflow: hidden; }
.svc__dots {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(58, 147, 216, .22) 1px, transparent 1.3px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(60% 50% at 0% 0%, #000, transparent 70%);
  mask-image: radial-gradient(60% 50% at 0% 0%, #000, transparent 70%);
}
.svc::after {
  content: ""; position: absolute; width: 520px; height: 520px; inset-inline-end: -220px; bottom: -260px;
  border-radius: 50%; border: 1px solid var(--blue-100); box-shadow: 0 0 0 60px rgba(220, 235, 249, .35), 0 0 0 120px rgba(220, 235, 249, .2);
  pointer-events: none;
}
.svc .container { position: relative; z-index: 1; }
.bento { display: grid; gap: 12px; }
.bento__feat {
  position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end;
  min-height: 420px; border-radius: var(--r-lg); text-decoration: none; color: #fff; box-shadow: var(--sh-2);
}
.bento__feat img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 30% 20%; transition: transform 900ms var(--ease); }
.bento__feat:hover img { transform: scale(1.04); }
.bento__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(17, 13, 43, .95) 8%, rgba(26, 20, 64, .55) 50%, rgba(26, 20, 64, .05) 80%); }
.bento__badge { position: absolute; top: 18px; inset-inline-start: 18px; padding: 6px 14px; font-size: var(--fs-xs); font-weight: 700; color: var(--navy-900); background: var(--teal-400); border-radius: var(--pill); }
.bento__body { display: block; padding: 26px; }
.bento__ic { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 14px; border-radius: 16px; color: #fff; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(8px); }
.bento__ic .ic { width: 28px; height: 28px; }
.bento__feat h3 { color: #fff; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 800; margin-bottom: 6px; }
.bento__feat p { color: rgba(255, 255, 255, .82); max-width: 40ch; margin-bottom: 16px; }
.bento__more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--teal-400); }
.bento__more .ic { transition: transform var(--t) var(--ease); }
.bento__feat:hover .bento__more .ic { transform: translateX(-5px); }

.tile {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px;
  padding: 16px 18px; text-decoration: none; color: var(--text);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
}
.tile__num { display: none; }
.tile__ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: var(--blue-600); background: var(--blue-50); transition: background-color var(--t), color var(--t), transform var(--t) var(--ease); }
.tile__ic .ic { width: 26px; height: 26px; }
.tile:nth-child(odd) .tile__ic { color: var(--teal-700); background: var(--teal-50); }
.tile h3 { font-size: 1.0625rem; margin: 0; }
.tile p { display: none; margin: 4px 0 0; font-size: var(--fs-sm); color: var(--muted); line-height: 1.7; }
.tile__go { display: grid; place-items: center; width: 34px; height: 34px; color: var(--blue-600); border-radius: 50%; background: var(--bg); transition: transform var(--t) var(--ease), background-color var(--t), color var(--t); }
.tile__go .ic { width: 18px; height: 18px; }
.tile:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: transparent; }
.tile:hover .tile__ic { color: #fff; background: var(--blue-600); transform: rotate(-6deg); }
.tile:hover .tile__go { color: #fff; background: var(--teal-500); transform: translateX(-3px); }

@media (min-width: 640px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bento__feat { grid-column: 1 / -1; }
  .tile { grid-template-columns: 1fr; align-content: start; gap: 12px; padding: 22px; min-height: 210px; }
  .tile p { display: block; }
  .tile__num { display: block; position: absolute; top: 18px; inset-inline-end: 20px; font-size: .8125rem; font-weight: 800; color: var(--blue-200); }
  .tile__go { position: absolute; bottom: 18px; inset-inline-end: 18px; opacity: 0; transform: translateX(6px); }
  .tile:hover .tile__go { opacity: 1; transform: none; }
}
@media (min-width: 1000px) {
  .bento { grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: repeat(3, auto); gap: 16px; }
  .bento__feat { grid-column: 1; grid-row: 1 / span 3; min-height: 100%; }
  .tile { min-height: 0; padding-bottom: 26px; }
}

/* ---------- 7. About (home) ---------- */
.about { position: relative; padding-block: var(--section); background: #fff; overflow: hidden; }
.about__grid { display: grid; gap: 56px; align-items: center; }
.about__media { position: relative; max-width: 520px; margin-inline: auto; width: 100%; padding-bottom: 40px; }
.about__img { width: 76%; aspect-ratio: 4 / 5; border-radius: 140px 140px var(--r-lg) var(--r-lg); overflow: hidden; box-shadow: var(--sh-2); margin-inline-start: auto; }
.about__img img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 20%; }
.about__round { position: absolute; inset-inline-start: 0; bottom: 70px; width: 44%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 6px solid #fff; box-shadow: var(--sh-2); }
.about__round img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 30%; }
.about__smile { position: absolute; width: 70%; inset-inline-start: 4%; bottom: 0; }
.about__smile path { stroke: var(--teal-400); stroke-width: 10; stroke-linecap: round; fill: none; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s var(--ease) .3s; }
.about__media.is-in .about__smile path { stroke-dashoffset: 0; }
.about__badge { position: absolute; top: 28px; inset-inline-start: 0; display: flex; align-items: center; gap: 12px; margin: 0; padding: 12px 16px; background: #fff; border-radius: var(--r-md); box-shadow: var(--sh-2); line-height: 1.4; animation: bob 7s ease-in-out infinite; }
.about__badge > .ic { width: 40px; height: 40px; padding: 9px; color: #fff; background: var(--blue-600); border-radius: 12px; }
.about__badge b { display: block; color: var(--ink); }
.about__badge span { font-size: var(--fs-sm); color: var(--muted); }
.about__text h2 { font-size: var(--fs-h2); }
.trust { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 28px 0 32px; }
.trust li { padding: 16px; border-radius: var(--r-md); background: var(--bg); border: 1px solid transparent; transition: border-color var(--t), background-color var(--t), transform var(--t) var(--ease); }
.trust li:hover { background: #fff; border-color: var(--blue-100); transform: translateY(-2px); }
.trust .ic { width: 26px; height: 26px; color: var(--blue-600); margin-bottom: 10px; }
.trust li:nth-child(even) .ic { color: var(--teal-500); }
.trust b { display: block; color: var(--ink); line-height: 1.4; }
.trust span { display: block; font-size: var(--fs-xs); color: var(--muted); line-height: 1.6; margin-top: 2px; }
@media (min-width: 900px) {
  .about__grid { grid-template-columns: 1fr 1.05fr; gap: 80px; }
  .about__media { margin: 0; }
}

/* ---------- 8. Why (dark) ---------- */
.why { position: relative; isolation: isolate; padding-block: var(--section); color: rgba(255, 255, 255, .8); background: var(--grad-dark); overflow: hidden; }
.why__plus {
  position: absolute; inset: 0; z-index: -1; opacity: .9;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44'%3E%3Cpath d='M22 18v8M18 22h8' stroke='%23ffffff' stroke-opacity='.06' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%);
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
}
.why::before { content: ""; position: absolute; z-index: -1; width: 600px; height: 600px; inset-inline-start: -200px; top: -200px; background: radial-gradient(circle, rgba(58, 147, 216, .28), transparent 65%); }
.why h2 { color: #fff; font-size: var(--fs-h2); }
.why__grid { display: grid; gap: 48px; }
.why__head > p { max-width: 42ch; }
.why__fig { position: relative; margin: 28px 0 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 11; }
.why__fig img { width: 100%; height: 100%; object-fit: cover; }
.why__fig figcaption { position: absolute; inset-inline-start: 14px; bottom: 14px; display: flex; align-items: center; gap: 8px; padding: 8px 14px; color: #fff; font-weight: 700; font-size: var(--fs-sm); border-radius: var(--pill); }
.why__fig .ic { color: var(--teal-400); width: 18px; height: 18px; }
.why__list { display: grid; gap: 0; counter-reset: why; }
.why__list li { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.why__list li:first-child { border-top: 1px solid rgba(255, 255, 255, .1); }
.why__ic { position: relative; display: grid; place-items: center; flex: none; width: 54px; height: 54px; border-radius: 16px; color: var(--teal-400); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); transition: background-color var(--t), color var(--t), box-shadow var(--t); }
.why__ic .ic { width: 26px; height: 26px; }
.why__list li:hover .why__ic { color: var(--navy-900); background: var(--teal-400); box-shadow: 0 0 0 6px rgba(80, 188, 168, .15); }
.why__list h3 { color: #fff; margin-bottom: 4px; }
.why__list p { margin: 0; font-size: var(--fs-sm); color: rgba(255, 255, 255, .7); }
@media (min-width: 900px) {
  .why__grid { grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
  .why__head { position: sticky; top: 110px; }
  .why__list { grid-template-columns: 1fr 1fr; column-gap: 36px; }
  .why__list li:nth-child(2) { border-top: 1px solid rgba(255, 255, 255, .1); }
  .why__list li { flex-direction: column; gap: 14px; padding: 28px 0; }
}

/* ---------- 9. Steps (timeline) ---------- */
.steps { position: relative; padding-block: var(--section); background: linear-gradient(180deg, var(--blue-50) 0%, #f8fbfe 100%); overflow: hidden; }
.steps--alt { background: linear-gradient(180deg, #f8fbfe 0%, var(--teal-50) 100%); }
.steps__track { position: relative; }
.steps__line { display: none; }
.steps__list { position: relative; display: grid; gap: 0; }
.steps__list::before { content: ""; position: absolute; inset-inline-start: 27px; top: 28px; bottom: 28px; width: 2px; background: linear-gradient(var(--teal-400), var(--blue-500)); opacity: .35; }
.step { position: relative; display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; padding-bottom: 28px; }
.step:last-child { padding-bottom: 0; }
.step__dot { grid-row: span 3; position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; color: var(--blue-600); background: #fff; border: 2px solid var(--blue-100); box-shadow: var(--sh-1); transition: transform var(--t) var(--ease), background-color var(--t), color var(--t), border-color var(--t); }
.steps--alt .step__dot { background: #fff; }
.step__dot .ic { width: 24px; height: 24px; }
.step__num { font-size: 2rem; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--blue-200); margin-top: 4px; }
.step h3 { margin: 6px 0 4px; }
.step p { margin: 0; font-size: var(--fs-sm); color: var(--muted); max-width: 36ch; }
.step:hover .step__dot { color: #fff; background: var(--blue-600); border-color: var(--blue-600); transform: scale(1.06); }
.step:last-child .step__dot { color: var(--navy-900); background: var(--teal-400); border-color: var(--teal-400); }
.steps__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 44px; }
@media (min-width: 900px) {
  .steps__line { display: block; position: absolute; inset-inline: 4%; top: 0; width: 92%; height: 120px; }
  .steps__line path { fill: none; stroke: var(--teal-400); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: .012 .012; vector-effect: non-scaling-stroke; opacity: .7; }
  .steps__list { grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .steps__list::before { display: none; }
  .step { grid-template-columns: 1fr; padding: 0; text-align: center; justify-items: center; }
  .step:nth-child(1) { margin-top: 0; }
  .step:nth-child(2) { margin-top: 56px; }
  .step:nth-child(3) { margin-top: 30px; }
  .step:nth-child(4) { margin-top: -6px; }
  .step__dot { width: 68px; height: 68px; grid-row: auto; margin-bottom: 14px; }
  .step__dot .ic { width: 28px; height: 28px; }
  .step__num { font-size: 2.6rem; margin: 0; }
  .steps__cta { justify-content: center; }
}

/* ---------- 10. Blog cards ---------- */
.blog-prev { position: relative; overflow: hidden; padding-block: calc(var(--section) + 20px) var(--section); background: var(--bg); }
.pgrid { display: grid; gap: 20px; }
@media (min-width: 640px) { .pgrid--2, .pgrid--3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .pgrid--3 { grid-template-columns: repeat(3, 1fr); } }
.pcard { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.pcard__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--blue-50); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 800ms var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.05); }
.pcard__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 18px; }
.pcard__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 12px; font-size: .8125rem; color: var(--muted); }
.pcard__meta span:not(.tag) { display: inline-flex; align-items: center; gap: 5px; }
.pcard__meta .ic { width: 15px; height: 15px; }
.pcard h3 { font-size: 1.125rem; line-height: 1.55; margin-bottom: 10px; }
.pcard h3 a { color: var(--ink); text-decoration: none; }
.pcard h3 a::after { content: ""; position: absolute; inset: 0; }
.pcard h3 a:hover { color: var(--blue-700); }
.pcard__desc { color: var(--muted); }
.pcard__date { display: flex; align-items: center; justify-content: space-between; margin: auto 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: .8125rem; color: var(--muted); }
.pcard__go { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: var(--blue-600); background: var(--blue-50); transition: background-color var(--t), color var(--t), transform var(--t) var(--ease); }
.pcard__go .ic { width: 16px; height: 16px; }
.pcard:hover .pcard__go { color: #fff; background: var(--blue-600); transform: translateX(-3px); }
.pcard--feat { box-shadow: var(--sh-1); }
.pcard--feat h3 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); line-height: 1.4; }
@media (min-width: 900px) {
  .pcard--feat { display: grid; grid-template-columns: 1.15fr 1fr; }
  .pcard--feat .pcard__media { aspect-ratio: auto; min-height: 400px; }
  .pcard--feat .pcard__body { padding: 40px; justify-content: center; }
  .pcard--feat .pcard__date { margin-top: 18px; }
}

/* ---------- 11. CTA band ---------- */
.cta { padding-block: 0 var(--section); background: var(--bg); }
.blog-prev + .cta, .steps--alt + .cta, .blog + .cta { padding-top: 0; }
.srv + .cta, .srel + .cta { background: #fff; }
.cta__panel {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; gap: 28px; padding: clamp(32px, 6vw, 72px);
  color: rgba(255, 255, 255, .85); background: var(--grad-brand); border-radius: var(--r-xl); box-shadow: var(--sh-3);
}
.cta__arcs { z-index: -1; color: rgba(255, 255, 255, .16); width: 520px; inset-inline-end: -150px; top: -60px; animation: drift 16s ease-in-out infinite; }
.cta__glow { position: absolute; z-index: -1; width: 420px; height: 420px; inset-inline-start: -120px; bottom: -220px; background: radial-gradient(circle, rgba(80, 188, 168, .45), transparent 65%); }
.cta h2 { color: #fff; font-size: var(--fs-h2); margin-bottom: 12px; }
.cta .hl { color: var(--teal-300); }
.cta__body p:last-child { margin: 0; max-width: 52ch; }
.cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
@media (max-width: 639px) { .cta__actions .btn { width: 100%; } .cta__num { width: 100%; text-align: center; } }
.cta__num { font-size: 1.5rem; font-weight: 800; color: #fff; text-decoration: none; margin-inline-start: 6px; }
@media (min-width: 1000px) {
  .cta__panel { grid-template-columns: 1.2fr 1fr; align-items: center; gap: 48px; }
  .cta__actions { display: grid; justify-self: end; width: min(100%, 360px); }
  .cta__actions .btn { width: 100%; }
  .cta__num { text-align: center; margin: 4px 0 0; }
}

/* ---------- 12. Footer ---------- */
.ftr { position: relative; isolation: isolate; overflow: hidden; padding: clamp(64px, 8vw, 96px) 0 calc(24px + 72px); color: rgba(255, 255, 255, .7); background: var(--navy-950); }
.ftr::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--grad-line); }
.ftr__arcs { z-index: -1; color: rgba(255, 255, 255, .05); width: 720px; inset-inline-start: -240px; bottom: -280px; }
.ftr__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 20px; }
.ftr__brand, .ftr__col:last-child { grid-column: 1 / -1; }
.ftr__brand img { width: 190px; margin-bottom: 18px; }
.ftr__brand p { font-size: var(--fs-sm); max-width: 40ch; }
.ftr__social { display: flex; gap: 10px; }
.ftr__social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #fff; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); transition: background-color var(--t), color var(--t), transform var(--t) var(--ease); }
.ftr__social a:hover { background: var(--teal-400); color: var(--navy-900); transform: translateY(-2px); }
.ftr__social .ic { width: 20px; height: 20px; }
.ftr__h { margin-bottom: 14px; font-weight: 700; color: #fff; }
.ftr__col ul { display: grid; gap: 4px; }
.ftr__col a, .ftr__col span { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; font-size: var(--fs-sm); color: rgba(255, 255, 255, .7); text-decoration: none; transition: color var(--t-fast); }
.ftr__col a:hover { color: var(--teal-400); }
.ftr__contact .ic { width: 18px; height: 18px; color: var(--teal-400); }
.ftr__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .8125rem; }
.ftr__bar p { margin: 0; }
.ftr__tag { display: inline-flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, .55); }
.ftr__tag .ic { width: 16px; height: 16px; color: var(--teal-400); }

@media (min-width: 1000px) {
  .ftr { padding-bottom: 28px; }
  .ftr__grid { grid-template-columns: 1.4fr .8fr 1fr 1.2fr; gap: 48px; }
  .ftr__brand, .ftr__col:last-child { grid-column: auto; }
}

/* floating WhatsApp (desktop) + action bar (mobile) */
.wa-float { display: none; }
.mbar {
  position: fixed; inset: auto 0 0; z-index: var(--z-float);
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 8px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -20px rgba(34, 26, 74, .4);
  transform: translateY(110%); transition: transform var(--t) var(--ease);
}
.mbar.is-on { transform: none; }
.mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; font-weight: 700; text-decoration: none; border-radius: var(--pill); color: var(--navy-800); background: var(--bg); border: 1px solid var(--line); }
.mbar .ic { width: 20px; height: 20px; }
.mbar__wa { color: var(--navy-900) !important; background: var(--teal-400) !important; border-color: var(--teal-400) !important; }
@media (min-width: 1000px) {
  .mbar { display: none; }
  .wa-float {
    position: fixed; z-index: var(--z-float); inset-inline-end: 24px; bottom: 24px;
    display: flex; align-items: center; gap: 0; height: 58px; padding: 0 16px; overflow: hidden;
    color: var(--navy-900); background: var(--teal-400); border-radius: var(--pill); font-weight: 700; text-decoration: none;
    box-shadow: 0 16px 34px -14px rgba(34, 26, 74, .55);
    transition: gap var(--t) var(--ease), padding var(--t) var(--ease), transform var(--t) var(--ease), opacity var(--t);
    opacity: 0; transform: translateY(16px); pointer-events: none;
  }
  .wa-float.is-on { opacity: 1; transform: none; pointer-events: auto; }
  .wa-float .ic { width: 26px; height: 26px; }
  .wa-float span { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width var(--t) var(--ease); }
  .wa-float:hover { gap: 8px; padding: 0 20px; }
  .wa-float:hover span { max-width: 80px; }
}

/* ---------- 13. Page hero (inner pages) ---------- */
.phero { position: relative; isolation: isolate; overflow: hidden; padding: 128px 0 72px; color: rgba(255, 255, 255, .82); background: var(--navy-900); }
.phero__bg { position: absolute; inset: 0; z-index: -2; background: var(--grad-dark); }
.phero__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1.2px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(to left, #000, transparent 70%); mask-image: linear-gradient(to left, #000, transparent 70%);
}
.phero__arcs { z-index: -1; color: rgba(255, 255, 255, .1); width: 520px; inset-inline-end: -150px; top: -40px; animation: drift 16s ease-in-out infinite; }
.phero h1 { color: #fff; font-size: var(--fs-h1); margin-bottom: 14px; max-width: 22ch; }
.phero__lead { font-size: 1.125rem; max-width: 58ch; margin: 0; }
.phero__pulse { position: absolute; inset-inline: 0; bottom: 18px; width: 100%; height: 40px; opacity: .45; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-bottom: 18px; font-size: var(--fs-xs); }
.crumbs li { display: inline-flex; align-items: center; gap: 4px; }
.crumbs li + li::before { content: "/"; opacity: .4; margin-inline: 4px; }
.crumbs a { color: rgba(255, 255, 255, .7); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs [aria-current] { color: var(--teal-400); font-weight: 700; }
@media (min-width: 900px) { .phero { padding: 168px 0 104px; } }

/* ---------- 14. About page ---------- */
.story { padding-block: var(--section); }
.story__grid { display: grid; gap: 48px; align-items: center; }
.story h2 { font-size: var(--fs-h2); }
.quote { position: relative; margin: 30px 0 0; padding: 22px 26px; border-radius: var(--r-lg); background: var(--bg); border-inline-start: 4px solid var(--teal-400); }
.quote p { margin: 0; font-size: 1.35rem; font-weight: 800; color: var(--ink); line-height: 1.6; }
.quote span { color: var(--blue-600); }
.story__media { position: relative; }
.story__media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--r-xl); box-shadow: var(--sh-2); }
.story__chip { position: absolute; inset-inline-start: 18px; bottom: 18px; display: flex; align-items: center; gap: 12px; padding: 12px 18px; color: #fff; border-radius: var(--r-md); line-height: 1.4; background: rgba(26, 20, 64, .55); }
.story__chip > .ic { width: 28px; height: 28px; color: var(--teal-400); }
.story__chip b { display: block; }
.story__chip span span, .story__chip span { font-size: var(--fs-xs); }
.story__chip b { font-size: 1rem; }
@media (min-width: 900px) { .story__grid { grid-template-columns: 1fr 1fr; gap: 80px; } }

.values { position: relative; padding-block: var(--section); background: var(--bg); overflow: hidden; }
.values .container { position: relative; }
.values__grid { display: grid; gap: 44px; }
.values h2 { font-size: var(--fs-h2); }
.values__head p { color: var(--muted); }
.values__list { display: grid; gap: 14px; }
.values__list li { position: relative; padding: 24px 24px 22px; background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden; transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.values__list li:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.values__n { position: absolute; top: 10px; inset-inline-end: 16px; font-size: 3rem; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--blue-100); }
.values__ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; color: var(--blue-600); background: var(--blue-50); margin-bottom: 14px; }
.values__ic .ic { width: 24px; height: 24px; }
.values__list li:nth-child(3n+2) .values__ic { color: var(--teal-700); background: var(--teal-50); }
.values__list h3 { margin-bottom: 4px; }
.values__list p { margin: 0; font-size: var(--fs-sm); color: var(--muted); }
.values__list li:last-child { background: var(--grad-brand); border: 0; }
.values__list li:last-child h3 { color: #fff; }
.values__list li:last-child p { color: rgba(255, 255, 255, .8); }
.values__list li:last-child .values__ic { color: var(--navy-900); background: var(--teal-400); }
.values__list li:last-child .values__n { -webkit-text-stroke-color: rgba(255, 255, 255, .25); }
@media (min-width: 640px) { .values__list { grid-template-columns: 1fr 1fr; } .values__list li:last-child { grid-column: 1 / -1; } }
@media (min-width: 1000px) {
  .values__grid { grid-template-columns: .8fr 1.4fr; gap: 64px; align-items: start; }
  .values__head { position: sticky; top: 110px; }
}

.offer { padding-block: var(--section) calc(var(--section) * .6); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 900px; margin-inline: auto; }
.chips a { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px; font-weight: 700; color: var(--ink); text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: var(--pill); box-shadow: var(--sh-1); transition: transform var(--t) var(--ease), border-color var(--t), color var(--t), background-color var(--t); }
.chips .ic { width: 22px; height: 22px; color: var(--blue-500); transition: color var(--t); }
.chips a:hover { transform: translateY(-2px); border-color: var(--blue-600); color: #fff; background: var(--blue-600); }
.chips a:hover .ic { color: var(--teal-300); }

/* ---------- 15. Services page ---------- */
.snav { position: sticky; top: 64px; z-index: 30; background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.snav ul { display: flex; gap: 8px; padding-block: 12px; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(to left, #000 92%, transparent); mask-image: linear-gradient(to left, #000 92%, transparent); }
.snav ul::-webkit-scrollbar { display: none; }
.snav a { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; font-size: var(--fs-sm); font-weight: 700; color: var(--text); text-decoration: none; white-space: nowrap; border-radius: var(--pill); background: var(--bg); border: 1px solid transparent; transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast); }
.snav .ic { width: 18px; height: 18px; color: var(--blue-500); }
.snav a:hover, .snav a.is-on { color: var(--blue-700); background: var(--blue-50); border-color: var(--blue-100); }
@media (min-width: 1000px) {
  .snav ul { flex-wrap: wrap; justify-content: center; gap: 6px; padding-block: 10px; -webkit-mask-image: none; mask-image: none; }
  .snav a { min-height: 38px; padding: 0 14px; font-size: .875rem; }
}

.srv { padding-block: clamp(24px, 3vw, 40px) var(--section); }
.srow { display: grid; gap: 28px; align-items: center; padding-block: clamp(32px, 5vw, 64px); scroll-margin-top: 140px; }
.srow + .srow { border-top: 1px dashed var(--line); }
.srow__media { position: relative; }
.srow__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-xl); box-shadow: var(--sh-2); transition: transform 800ms var(--ease); }
.srow:hover .srow__media img { transform: scale(1.015); }
#home-physiotherapy .srow__media img { object-position: 50% 25%; }
#home-nursing .srow__media img { object-position: 50% 20%; }
.srow__num { position: absolute; top: -18px; inset-inline-start: 18px; display: grid; place-items: center; width: 60px; height: 60px; font-weight: 800; font-size: 1.15rem; color: var(--navy-900); background: var(--teal-400); border-radius: 18px; box-shadow: 0 12px 24px -12px rgba(34, 26, 74, .5); border: 4px solid #fff; }
.srow__visual { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 18px; aspect-ratio: 4 / 3; padding: 32px; border-radius: var(--r-xl); background: var(--grad-brand); box-shadow: var(--sh-2); }
.srow__arcs { z-index: -1; color: rgba(255, 255, 255, .16); width: 420px; inset-inline-end: -110px; top: -70px; }
.srow__big { position: absolute; top: 34px; inset-inline-end: 34px; display: grid; place-items: center; width: 96px; height: 96px; border-radius: 28px; color: #fff; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(8px); }
.srow__big .ic { width: 52px; height: 52px; stroke-width: 1.4; }
.srow__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.srow__chips > span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; font-size: var(--fs-sm); font-weight: 700; color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--pill); }
.srow__chips .ic { width: 16px; height: 16px; color: var(--teal-400); stroke-width: 2.5; }
.srow__kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-size: var(--fs-xs); font-weight: 700; color: var(--muted); }
.srow__ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; color: var(--blue-600); background: var(--blue-50); }
.srow__ic .ic { width: 24px; height: 24px; }
.srow h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); }
.srow__act { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 900px) {
  .srow { grid-template-columns: 1fr 1fr; gap: 72px; }
  .srow--flip .srow__media { order: 2; }
}
.help { display: grid; gap: 18px; align-items: center; margin-top: 40px; padding: 28px; border-radius: var(--r-lg); background: var(--bg); border: 1px solid var(--line); }
.help__ic { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; color: #fff; background: var(--blue-600); }
.help__ic .ic { width: 30px; height: 30px; }
.help h2 { font-size: 1.4rem; margin-bottom: 4px; }
.help p { margin: 0; color: var(--muted); }
@media (min-width: 900px) { .help { grid-template-columns: auto 1fr auto; gap: 28px; padding: 32px 40px; } }

/* ---------- 16. Blog page ---------- */
.bsearch { position: relative; max-width: 560px; margin-top: 28px; }
.bsearch > .ic { position: absolute; inset-inline-start: 20px; top: 50%; translate: 0 -50%; width: 22px; height: 22px; color: var(--muted); pointer-events: none; }
.bsearch input { width: 100%; min-height: 58px; padding: 0 56px 0 20px; font-size: 1rem; color: var(--ink); background: #fff; border: 0; border-radius: var(--pill); box-shadow: var(--sh-3); }
.bsearch input:focus-visible { box-shadow: var(--sh-3), 0 0 0 4px rgba(80, 188, 168, .6); outline: none; }
.blog { padding-block: clamp(44px, 6vw, 72px) var(--section); background: var(--bg); }
.cats { display: flex; gap: 8px; margin-bottom: 28px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.cats::-webkit-scrollbar { display: none; }
.cat { flex: none; min-height: 44px; padding: 0 18px; font-size: var(--fs-sm); font-weight: 700; color: var(--text); background: #fff; border: 1px solid var(--line); border-radius: var(--pill); transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast); }
.cat:hover { border-color: var(--blue-200); color: var(--blue-700); }
.cat.is-on { color: #fff; background: var(--navy-800); border-color: var(--navy-800); }
.pfeat { margin-bottom: 20px; }
.empty { display: grid; justify-items: center; gap: 10px; padding: 56px 20px; text-align: center; background: #fff; border: 1px dashed var(--blue-200); border-radius: var(--r-lg); }
.empty[hidden] { display: none; }
.empty > .ic { width: 40px; height: 40px; color: var(--blue-400); }
.empty b { display: block; color: var(--ink); font-size: 1.15rem; }
.empty p { margin: 0; color: var(--muted); }
[data-post][hidden] { display: none !important; }

/* ---------- 17. Article ---------- */
.phero--art { padding-bottom: clamp(120px, 14vw, 180px); }
.phero--art h1 { max-width: 28ch; font-size: clamp(1.75rem, 1.3rem + 2vw, 2.6rem); line-height: 1.4; }
.art__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 18px 0 0; font-size: var(--fs-sm); }
.art__meta span { display: inline-flex; align-items: center; gap: 7px; }
.art__meta .ic { width: 18px; height: 18px; color: var(--teal-400); }
.art__cover { position: relative; z-index: 2; margin-top: calc(clamp(120px, 14vw, 180px) * -1 + 32px); }
.art__cover img { width: 100%; aspect-ratio: 16 / 9; max-height: 560px; object-fit: cover; border-radius: var(--r-xl); box-shadow: var(--sh-3); }
.art { display: grid; gap: 40px; padding-block: clamp(40px, 6vw, 72px); }
.art__side { display: none; }
.art__body { min-width: 0; max-width: 760px; }
.toc { background: var(--bg); border-radius: var(--r-lg); padding: 20px 22px; }
.toc__h, .toc summary { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-weight: 800; color: var(--ink); }
.toc .ic { width: 18px; height: 18px; color: var(--blue-500); }
.toc ol { counter-reset: toc; display: grid; gap: 2px; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 10px; padding: 7px 10px; font-size: var(--fs-sm); line-height: 1.55; color: var(--text); text-decoration: none; border-radius: var(--r-sm); transition: background-color var(--t-fast), color var(--t-fast); }
.toc a::before { content: counter(toc) "."; font-weight: 700; color: var(--blue-400); }
.toc a:hover { background: #fff; color: var(--ink); }
.toc a.is-on { background: #fff; color: var(--blue-700); font-weight: 700; box-shadow: var(--sh-1); }
.toc--m { margin-bottom: 28px; }
.toc--m summary { cursor: pointer; list-style: none; margin: 0; min-height: 28px; }
.toc--m summary::-webkit-details-marker { display: none; }
.toc--m summary::after { content: "+"; margin-inline-start: auto; font-size: 1.4rem; font-weight: 500; color: var(--blue-500); }
.toc--m[open] summary { margin-bottom: 10px; }
.toc--m[open] summary::after { content: "–"; }

.prose { font-size: 1.125rem; line-height: 2; color: #3c3860; }
.prose > p:first-child { font-size: 1.2rem; color: var(--ink); }
.prose h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.75rem); margin: 2em 0 .6em; scroll-margin-top: 100px; padding-inline-start: 16px; border-inline-start: 4px solid var(--teal-400); line-height: 1.45; }
.prose ul, .prose ol { margin: 0 0 1.4em; display: grid; gap: 10px; }
.prose ul li { position: relative; padding-inline-start: 26px; }
.prose ul li::before { content: ""; position: absolute; inset-inline-start: 4px; top: .8em; width: 9px; height: 9px; border-radius: 50%; background: var(--teal-400); box-shadow: 0 0 0 4px var(--teal-50); }
.prose ol { counter-reset: ol; }
.prose ol li { counter-increment: ol; position: relative; padding: 14px 18px 14px 18px; padding-inline-start: 58px; background: var(--bg); border-radius: var(--r-md); }
.prose ol li::before { content: counter(ol); position: absolute; inset-inline-start: 14px; top: 14px; display: grid; place-items: center; width: 30px; height: 30px; font-size: .9rem; font-weight: 800; color: #fff; background: var(--blue-600); border-radius: 10px; }
.prose strong { color: var(--ink); }
.art__fig { margin: 2em 0; }
.art__fig img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-lg); }
.art__fig figcaption { margin-top: 10px; font-size: var(--fs-sm); color: var(--muted); text-align: center; }
.art__cta { position: relative; isolation: isolate; overflow: hidden; display: grid; gap: 20px; margin-top: 40px; padding: 32px; color: rgba(255, 255, 255, .85); background: var(--grad-brand); border-radius: var(--r-xl); }
.art__cta-arcs { z-index: -1; color: rgba(255, 255, 255, .14); width: 380px; inset-inline-end: -100px; top: -60px; }
.art__cta h2 { color: #fff; font-size: 1.5rem; margin-bottom: 6px; }
.art__cta p { margin: 0; }
.art__cta-act { display: flex; flex-wrap: wrap; gap: 10px; }
.share { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.share__l { font-size: var(--fs-sm); font-weight: 700; color: var(--ink); margin-inline-end: 4px; }
.share a, .share button { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--navy-800); background: var(--bg); border: 1px solid var(--line); transition: background-color var(--t), color var(--t), transform var(--t) var(--ease); }
.share a:hover, .share button:hover { color: #fff; background: var(--blue-600); border-color: var(--blue-600); transform: translateY(-2px); }
.share .ic { width: 19px; height: 19px; }
.share__ok { position: absolute; bottom: calc(100% + 8px); white-space: nowrap; font-size: .75rem; font-weight: 700; color: #fff; background: var(--navy-800); padding: 4px 10px; border-radius: var(--pill); opacity: 0; transition: opacity var(--t); pointer-events: none; }
.share__ok:not(:empty) { opacity: 1; }
.art__share-m { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.art__wa { padding: 20px; border-radius: var(--r-lg); background: var(--navy-900); color: rgba(255, 255, 255, .78); font-size: var(--fs-sm); line-height: 1.6; }
.art__wa p { margin-bottom: 14px; }
.art__wa b { display: block; color: #fff; font-size: 1rem; margin-bottom: 2px; }
@media (min-width: 1000px) {
  .art { grid-template-columns: 290px minmax(0, 1fr); gap: 64px; }
  .art__side { display: block; }
  .art__sticky { position: sticky; top: 100px; display: grid; gap: 22px; }
  .toc--m, .art__share-m { display: none; }
  .art__cta { grid-template-columns: 1fr auto; align-items: center; padding: 36px 40px; }
}
.related { padding-block: clamp(56px, 7vw, 96px) var(--section); background: var(--bg); }
.related h2 { font-size: var(--fs-h2); }

/* ---------- 18. Contact ---------- */
.contact { padding-block: clamp(56px, 7vw, 96px); background: var(--bg); }
.contact__grid { display: grid; gap: 20px; }
.cinfo { position: relative; isolation: isolate; overflow: hidden; padding: clamp(26px, 4vw, 40px); color: rgba(255, 255, 255, .75); background: var(--grad-dark); border-radius: var(--r-xl); }
.cinfo__arcs { z-index: -1; color: rgba(255, 255, 255, .07); width: 460px; inset-inline-end: -170px; bottom: -150px; }
.cinfo h2 { color: #fff; font-size: 1.6rem; margin-bottom: 4px; }
.cinfo__list { display: grid; gap: 8px; margin: 22px 0; }
.cinfo__list a, .cinfo__list li > div { display: flex; align-items: center; gap: 14px; padding: 12px 14px; color: #fff; text-decoration: none; border-radius: var(--r-md); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); transition: background-color var(--t), border-color var(--t), transform var(--t) var(--ease); }
.cinfo__list a:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .2); transform: translateX(-3px); }
.cinfo__ic { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px; color: var(--teal-400); background: rgba(80, 188, 168, .12); }
.cinfo__ic .ic { width: 22px; height: 22px; }
.cinfo__ic--wa { color: var(--navy-900); background: var(--teal-400); }
.cinfo small { display: block; font-size: .8125rem; color: rgba(255, 255, 255, .6); line-height: 1.4; }
.cinfo b { display: block; font-size: 1.0625rem; line-height: 1.5; word-break: break-word; }
.cinfo__note { display: flex; align-items: center; gap: 10px; margin: 0; font-size: var(--fs-sm); font-weight: 700; color: var(--teal-300); }
.cinfo__note .ic { width: 20px; height: 20px; }

.cform { display: grid; gap: 16px; padding: clamp(26px, 4vw, 40px); background: #fff; border-radius: var(--r-xl); box-shadow: var(--sh-1); border: 1px solid var(--line); }
.cform h2 { font-size: 1.6rem; margin-bottom: 0; }
.cform__lead { margin: -8px 0 6px; color: var(--muted); font-size: var(--fs-sm); }
.field { display: grid; gap: 6px; align-content: start; }
.field label { font-weight: 700; font-size: var(--fs-sm); color: var(--ink); }
.field label span { color: var(--blue-600); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; font-size: 1rem; color: var(--ink);
  background: var(--bg); border: 1.5px solid transparent; border-radius: var(--r-md);
  transition: border-color var(--t-fast), background-color var(--t-fast), box-shadow var(--t-fast);
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.7; }
.field input[dir="ltr"] { text-align: right; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--blue-100); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--blue-500); box-shadow: 0 0 0 4px var(--blue-50); }
.field__help { margin: 0; font-size: .8125rem; color: var(--muted); }
.field__err { margin: 0; font-size: .8125rem; font-weight: 700; color: #b42318; }
.field__err:empty { display: none; }
.field.is-bad input { border-color: #d92d20; background: #fff; }
.cform__alt { margin: 0; text-align: center; font-size: var(--fs-sm); color: var(--muted); }
@media (min-width: 640px) {
  .cform { grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .cform h2, .cform__lead, .field--full { grid-column: 1 / -1; }
}
@media (min-width: 1000px) { .contact__grid { grid-template-columns: .9fr 1.25fr; gap: 24px; align-items: start; } }

.map { padding-block: 0 var(--section); background: var(--bg); }
.map__frame { position: relative; overflow: hidden; border-radius: var(--r-xl); box-shadow: var(--sh-2); background: var(--blue-50); }
.map__frame iframe { display: block; width: 100%; height: 420px; border: 0; filter: saturate(.85) hue-rotate(-6deg); }
.map__card { position: relative; padding: 22px; border-radius: 0; }
.map__card h2 { display: flex; align-items: center; gap: 8px; font-size: 1.25rem; margin-bottom: 4px; }
.map__card h2 .ic { color: var(--blue-600); }
.map__card p { color: var(--muted); font-size: var(--fs-sm); margin-bottom: 8px; }
@media (min-width: 900px) {
  .map__frame iframe { height: 460px; }
  .map__card { position: absolute; top: 24px; inset-inline-start: 24px; max-width: 340px; border-radius: var(--r-lg); box-shadow: var(--sh-2); }
}

/* =========================================================
   18b. Visual-richness layer — decorations, new sections, service pages
   ========================================================= */

/* --- decoration primitives --- */
[data-deco] { position: relative; isolation: isolate; }
[data-deco] > .container, .phero__in, .cta__body, .cta__actions { position: relative; z-index: 1; }
.floaters { position: absolute; inset: 0; z-index: 0; pointer-events: none; display: none; }
.fl {
  position: absolute; display: grid; place-items: center; width: var(--s); height: var(--s);
  opacity: 0; transform: translateY(14px) rotate(-8deg);
  transition: opacity 900ms var(--ease), transform 900ms var(--ease); transition-delay: calc(var(--i) * 140ms);
}
.fl .ic { width: 100%; height: 100%; stroke-width: 1.35; }
.fl--b { color: var(--blue-500); }
.fl--t { color: var(--teal-400); }
.fl--w { color: #fff; }
.in-view .fl { opacity: .16; transform: none; animation: flo 10s ease-in-out infinite; animation-delay: calc(var(--i) * -2.5s); }
.in-view .fl--w { opacity: .18; }
.in-view .fl--t { opacity: .3; }
@media (min-width: 640px) { .floaters { display: block; } }
@keyframes flo { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }

.bg-cross {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64'%3E%3Cpath d='M30 25h4v5h5v4h-5v5h-4v-5h-5v-4h5z' fill='%233a93d8' fill-opacity='.07'/%3E%3C/svg%3E");
  -webkit-mask-image: radial-gradient(70% 60% at 100% 100%, #000, transparent 75%);
  mask-image: radial-gradient(70% 60% at 100% 100%, #000, transparent 75%);
}
.bg-cross--soft { -webkit-mask-image: linear-gradient(to bottom, #000, transparent 30%, transparent 70%, #000); mask-image: linear-gradient(to bottom, #000, transparent 30%, transparent 70%, #000); }

.blob { position: absolute; z-index: -1; pointer-events: none; border-radius: 50%; }
.blob--a { width: 560px; height: 560px; inset-inline-end: -220px; top: -180px; background: radial-gradient(circle, rgba(80, 188, 168, .16), transparent 65%); }
.blob--b { width: 620px; height: 620px; inset-inline-start: -260px; bottom: -260px; background: radial-gradient(circle, rgba(58, 147, 216, .14), transparent 65%); }
.blob--c { width: 700px; height: 700px; inset-inline-start: -200px; top: -240px; background: radial-gradient(circle, rgba(58, 147, 216, .1), transparent 65%); }
.about .blob--b { bottom: auto; top: 30%; }

.curve { position: absolute; inset-inline: 0; z-index: 0; display: block; width: 100%; height: clamp(26px, 5vw, 72px); pointer-events: none; }
.curve path { fill: currentColor; }
.curve--top { top: -1px; }
.curve--bottom { bottom: -1px; }
.curve--white { color: #fff; }
.curve--tint { color: var(--blue-50); }

/* --- trust strip --- */
.tstrip { position: relative; z-index: 3; margin-top: -52px; background: linear-gradient(to bottom, transparent 52px, var(--bg) 52px); }
.tstrip__bar { display: grid; grid-template-columns: 1fr 1fr; background: #fff; border-radius: var(--r-lg); box-shadow: 0 24px 60px -28px rgba(17, 13, 43, .35), 0 1px 0 var(--line); overflow: hidden; }
.tstrip__bar li { display: flex; align-items: center; gap: 12px; padding: 16px 14px; line-height: 1.45; }
.tstrip__bar li:nth-child(odd) { border-inline-end: 1px solid var(--line); }
.tstrip__bar li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.tstrip__ic { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 14px; color: var(--blue-600); background: var(--blue-50); transition: transform var(--t) var(--ease); }
.tstrip__ic--t { color: var(--teal-700); background: var(--teal-50); }
.tstrip__ic .ic { width: 22px; height: 22px; }
.tstrip__bar li:hover .tstrip__ic { transform: translateY(-3px) rotate(-6deg); }
.tstrip b { display: block; color: var(--ink); font-size: .95rem; }
.tstrip small { display: block; font-size: .8rem; color: var(--muted); }
.tstrip__n { font-variant-numeric: tabular-nums; color: var(--blue-600); }
@media (min-width: 1000px) {
  .tstrip__bar { grid-template-columns: repeat(4, 1fr); padding: 6px; }
  .tstrip__bar li { padding: 20px 22px; border: 0 !important; }
  .tstrip__bar li + li { border-inline-start: 1px solid var(--line) !important; }
  .tstrip__ic { width: 52px; height: 52px; }
  .tstrip b { font-size: 1.05rem; }
}

/* --- why: ECG accent --- */
.why { padding-block: calc(var(--section) + 40px); }
.why__ecg { position: absolute; z-index: -1; inset-inline: 0; top: 46%; width: 100%; height: 90px; opacity: .14; }
.steps__ecg { position: absolute; z-index: 0; inset-inline: 0; bottom: 10%; width: 100%; height: 80px; opacity: .22; }
.steps__pattern, .sprov__pattern {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: repeating-linear-gradient(135deg, rgba(58, 147, 216, .06) 0 1px, transparent 1px 22px);
  -webkit-mask-image: radial-gradient(80% 70% at 50% 0%, #000, transparent 75%);
  mask-image: radial-gradient(80% 70% at 50% 0%, #000, transparent 75%);
}

/* --- showcase (editorial service blocks) --- */
.show { position: relative; padding-block: var(--section); background: #fff; overflow: hidden; }
.show__grid { display: grid; gap: 16px; }
.shw {
  position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end;
  min-height: 300px; border-radius: var(--r-lg); color: #fff; text-decoration: none; box-shadow: var(--sh-2);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.shw img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; transition: transform 1s var(--ease); }
.shw__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(17, 13, 43, .94) 5%, rgba(26, 20, 64, .45) 55%, rgba(26, 20, 64, 0) 85%); transition: opacity var(--t); }
.shw__num { position: absolute; top: 16px; inset-inline-start: 16px; padding: 4px 12px; font-size: .8125rem; font-weight: 800; color: var(--navy-900); background: var(--teal-400); border-radius: var(--pill); }
.shw__body { position: relative; display: block; width: 100%; padding: 22px 22px 24px; }
.shw__ic { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 12px; border-radius: 14px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .24); backdrop-filter: blur(8px); transition: transform var(--t) var(--ease), background-color var(--t); }
.shw__ic .ic { width: 26px; height: 26px; }
.shw h3 { color: #fff; font-size: 1.35rem; margin-bottom: 4px; }
.shw__txt { display: block; max-width: 40ch; font-size: var(--fs-sm); color: rgba(255, 255, 255, .8); }
.shw__go { position: absolute; bottom: 24px; inset-inline-end: 22px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--navy-900); background: var(--teal-400); transition: transform var(--t) var(--ease); }
.shw__go .ic { width: 20px; height: 20px; }
.shw:hover { transform: translateY(-4px); box-shadow: var(--sh-3); }
.shw:hover img { transform: scale(1.06); }
.shw:hover .shw__ic { transform: scale(1.08) rotate(-6deg); background: var(--blue-600); }
.shw:hover .shw__go { transform: translateX(-6px); }
@media (min-width: 900px) {
  .show__grid { grid-template-columns: 1.25fr 1fr; grid-template-rows: repeat(2, minmax(270px, auto)); }
  .shw--big { grid-row: span 2; min-height: 560px; }
  .shw--big h3 { font-size: 1.9rem; }
}
.strip { display: grid; gap: 10px; margin-top: 16px; }
.strip a {
  display: flex; align-items: center; gap: 14px; height: 100%; padding: 16px 18px; text-decoration: none; color: var(--text);
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md);
  transition: background-color var(--t), box-shadow var(--t), transform var(--t) var(--ease), border-color var(--t);
}
.strip__ic { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 14px; color: var(--blue-600); background: #fff; box-shadow: var(--sh-1); transition: background-color var(--t), color var(--t), transform var(--t) var(--ease); }
.strip__ic .ic { width: 24px; height: 24px; }
.strip b { display: block; color: var(--ink); line-height: 1.4; }
.strip small { display: block; font-size: .8125rem; color: var(--muted); line-height: 1.55; }
.strip__go { width: 18px; height: 18px; margin-inline-start: auto; flex: none; color: var(--blue-600); transition: transform var(--t) var(--ease); }
.strip a:hover { background: #fff; border-color: transparent; box-shadow: var(--sh-2); transform: translateY(-2px); }
.strip a:hover .strip__ic { color: #fff; background: var(--blue-600); transform: rotate(-6deg); }
.strip a:hover .strip__go { transform: translateX(-5px); }
@media (min-width: 900px) { .strip { grid-template-columns: repeat(3, 1fr); } }

/* --- visual CTA --- */
.vcta { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(84px, 10vw, 150px); color: rgba(255, 255, 255, .82); background: var(--navy-900); }
.vcta__media { position: absolute; inset: 0; z-index: -3; }
.vcta__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 14%; }
.vcta__veil { position: absolute; inset: 0; z-index: -2; background: linear-gradient(to top, rgba(17, 13, 43, .96) 20%, rgba(26, 20, 64, .78) 100%); }
.vcta__arcs { z-index: -1; color: rgba(255, 255, 255, .1); width: 600px; inset-inline-start: -220px; bottom: -260px; }
.vcta h2 { color: #fff; font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem); line-height: 1.3; }
.vcta__content { max-width: 560px; }
.vcta__content > p:not(.eyebrow) { font-size: 1.1rem; margin-bottom: 28px; }
.vcta__act { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) {
  .vcta__media { inset-inline-start: auto; width: 58%; }
  .vcta__veil { background: linear-gradient(to left, var(--navy-900) 40%, rgba(26, 20, 64, .75) 58%, rgba(26, 20, 64, .1) 100%); }
}

.blog-prev__wave { position: absolute; z-index: 0; inset: -1px 0 auto; height: 56px; background: var(--navy-900); border-radius: 0 0 50% 50% / 0 0 100% 100%; }

/* --- contact band --- */
.cband { padding-block: 0 var(--section); background: var(--bg); }
.cband__panel {
  position: relative; isolation: isolate; overflow: hidden; display: grid; gap: 28px; padding: clamp(28px, 6vw, 64px);
  color: rgba(255, 255, 255, .85); background: var(--grad-brand); background-size: 160% 160%; border-radius: var(--r-xl); box-shadow: var(--sh-3);
}
.cband__arcs { z-index: -1; color: rgba(255, 255, 255, .15); width: 540px; inset-inline-end: -160px; top: -80px; }
.cband__text, .cband__tiles { position: relative; z-index: 1; }
.cband h2 { color: #fff; font-size: var(--fs-h2); margin-bottom: 12px; }
.cband .hl { color: var(--teal-300); }
.cband__text p:last-child { margin: 0; max-width: 46ch; }
.cband__tiles { display: grid; gap: 10px; }
.ctile {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; color: #fff; text-decoration: none; line-height: 1.4;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); border-radius: var(--r-md);
  transition: background-color var(--t), transform var(--t) var(--ease), border-color var(--t);
}
.ctile__ic { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 14px; color: var(--navy-800); background: #fff; transition: transform var(--t) var(--ease); }
.ctile--wa .ctile__ic { background: var(--teal-400); color: var(--navy-900); }
.ctile__ic .ic { width: 22px; height: 22px; }
.ctile small { display: block; font-size: .8rem; color: rgba(255, 255, 255, .7); }
.ctile b { display: block; font-size: 1.05rem; word-break: break-word; }
.ctile__go { width: 18px; height: 18px; margin-inline-start: auto; flex: none; transition: transform var(--t) var(--ease); }
.ctile:hover { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .35); transform: translateX(-4px); }
.ctile:hover .ctile__ic { transform: scale(1.08) rotate(-6deg); }
.ctile:hover .ctile__go { transform: translateX(-4px); }
@media (min-width: 1000px) { .cband__panel { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 56px; } }
@media (min-width: 900px) {
  .cta__panel { background-size: 160% 160%; }
  .in-view .cta__panel, .in-view .cband__panel { animation: gradShift 16s ease-in-out infinite alternate; }
}
@keyframes gradShift { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

/* --- services index: clickable rows --- */
a.srow__media { display: block; text-decoration: none; border-radius: var(--r-xl); }
.srow h2 a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
.srow h2 a:hover { color: var(--blue-700); }
.srv { position: relative; overflow: hidden; }

/* --- icon composition (service without photo) --- */
.svis { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; background: var(--grad-brand); }
.svis__arcs { color: rgba(255, 255, 255, .16); width: 300px; inset-inline-end: -90px; top: -60px; }
.svis__ring { position: absolute; width: 150px; height: 150px; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .35); box-shadow: 0 0 0 26px rgba(255, 255, 255, .04); }
.svis__ic { position: relative; display: grid; place-items: center; width: 84px; height: 84px; color: #fff; border-radius: 24px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .24); transition: transform 600ms var(--ease); }
.svis__ic .ic { width: 44px; height: 44px; stroke-width: 1.4; }

/* --- service cards (related / grids) --- */
.scards { display: grid; gap: 16px; }
@media (min-width: 640px) { .scards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .scards { grid-template-columns: repeat(4, 1fr); } }
.scard {
  display: flex; flex-direction: column; overflow: hidden; color: var(--text); text-decoration: none;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t);
}
.scard__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--blue-50); }
.scard__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; transition: transform 900ms var(--ease); }
.scard__body { display: flex; flex-direction: column; flex: 1; gap: 4px; padding: 0 20px 20px; }
.scard__top { position: relative; display: flex; align-items: flex-end; justify-content: space-between; margin-top: -26px; margin-bottom: 8px; }
.scard__ic { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; color: var(--blue-600); background: #fff; box-shadow: var(--sh-2); transition: transform var(--t) var(--ease), background-color var(--t), color var(--t); }
.scard__ic .ic { width: 26px; height: 26px; }
.scard__num { font-size: .8125rem; font-weight: 800; color: var(--blue-200); }
.scard h3 { margin: 0; font-size: 1.125rem; }
.scard__txt { font-size: var(--fs-sm); color: var(--muted); line-height: 1.7; }
.scard__more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 12px; font-weight: 700; font-size: var(--fs-sm); color: var(--blue-700); }
.scard__more .ic { width: 18px; height: 18px; transition: transform var(--t) var(--ease); }
.scard:hover { transform: translateY(-5px); box-shadow: var(--sh-2); border-color: transparent; }
.scard:hover .scard__media img, .scard:hover .svis__ic { transform: scale(1.06); }
.scard:hover .scard__ic { color: #fff; background: var(--blue-600); transform: translateY(-3px) rotate(-6deg); }
.scard:hover .scard__more .ic { transform: translateX(-5px); }

/* --- service page: hero --- */
.shero { position: relative; overflow: hidden; padding: 116px 0 clamp(90px, 10vw, 140px); color: rgba(255, 255, 255, .82); background: var(--navy-900); }
.shero__grid { display: grid; gap: 36px; align-items: center; }
.shero h1 { color: #fff; font-size: var(--fs-display); line-height: 1.25; margin-bottom: 14px; }
.shero__kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: var(--fs-xs); font-weight: 700; color: rgba(255, 255, 255, .72); }
.shero__num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; font-weight: 800; color: var(--navy-900); background: var(--teal-400); }
.shero__lead { font-size: clamp(1.0625rem, 1rem + .3vw, 1.2rem); max-width: 52ch; margin-bottom: 26px; }
.shero__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.shero__chips li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; font-size: var(--fs-xs); font-weight: 700; color: #fff; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--pill); }
.shero__chips .ic { width: 16px; height: 16px; color: var(--teal-400); }
.shero__media { position: relative; padding: 18px 0; }
.shero__photo img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: 50% 22%; border-radius: var(--r-xl); box-shadow: var(--sh-3); border: 6px solid rgba(255, 255, 255, .06); }
.shero__vis { position: relative; display: grid; place-items: center; aspect-ratio: 5 / 4; overflow: hidden; border-radius: var(--r-xl); background: var(--grad-brand); box-shadow: var(--sh-3); }
.shero__vis-arcs { color: rgba(255, 255, 255, .16); width: 480px; inset-inline-end: -140px; top: -90px; }
.shero__vis-ring { position: absolute; width: 58%; aspect-ratio: 1; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .35); box-shadow: 0 0 0 40px rgba(255, 255, 255, .04), 0 0 0 80px rgba(255, 255, 255, .025); }
.shero__vis-ic { position: relative; display: grid; place-items: center; width: 130px; height: 130px; color: #fff; border-radius: 36px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .26); backdrop-filter: blur(8px); }
.shero__vis-ic .ic { width: 68px; height: 68px; stroke-width: 1.3; }
.shero__vis-chips { position: absolute; inset-inline: 20px; bottom: 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.shero__vis-chips span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; font-size: .8125rem; font-weight: 700; color: #fff; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); border-radius: var(--pill); }
.shero__vis-chips .ic { width: 14px; height: 14px; color: var(--teal-400); stroke-width: 2.5; }
.shero__float { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 10px 14px; color: #fff; font-size: .8125rem; line-height: 1.4; border-radius: var(--r-md); background: rgba(26, 20, 64, .55); box-shadow: var(--sh-3); }
.shero__float b { display: block; font-size: .95rem; }
.shero__float > .ic { width: 26px; height: 26px; color: var(--teal-400); }
.shero__float--a { top: 0; inset-inline-end: 10px; }
.shero__float--b { bottom: 0; inset-inline-start: 10px; }
.in-view .shero__float--a { animation: bob 7s ease-in-out infinite; }
.in-view .shero__float--b { animation: bob 8s ease-in-out infinite -3s; }
.shero .crumbs { position: relative; }
@media (min-width: 1000px) {
  .shero { padding-top: 156px; }
  .shero__grid { grid-template-columns: 1.05fr 1fr; gap: 64px; }
  .shero__float--a { inset-inline-end: -18px; top: 8%; }
  .shero__float--b { inset-inline-start: -18px; bottom: 6%; }
}

/* --- service page: overview --- */
.sov { position: relative; overflow: hidden; padding-block: var(--section); background: #fff; }
.sov__grid { display: grid; gap: 48px; align-items: start; }
.sov h2 { font-size: var(--fs-h2); }
.sov__text > p:not(.eyebrow):not(.note) { font-size: 1.1rem; }
.sov__panel { position: relative; margin-top: 28px; padding: 44px 28px 28px; border-radius: var(--r-xl); background: linear-gradient(160deg, var(--blue-50), var(--teal-50)); border: 1px solid var(--blue-100); }
.sov__panel-ic { position: absolute; top: -28px; inset-inline-start: 28px; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; color: #fff; background: var(--grad-brand); box-shadow: var(--sh-2); }
.sov__panel-ic .ic { width: 30px; height: 30px; }
.sov__panel h3 { font-size: 1.3rem; margin-bottom: 16px; }
.sov__panel-cta { display: grid; gap: 10px; }
.sov__tel { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; font-weight: 700; color: var(--navy-800); text-decoration: none; }
.sov__tel .ic { width: 18px; height: 18px; color: var(--blue-600); }
@media (min-width: 1000px) { .sov__grid { grid-template-columns: 1.3fr .9fr; gap: 72px; } .sov__panel { position: sticky; top: 110px; margin-top: 40px; } }

/* --- service page: what we provide --- */
.sprov { position: relative; overflow: hidden; padding-block: var(--section); background: linear-gradient(180deg, var(--bg), #eaf3fb); }
.prov { display: grid; gap: 14px; }
@media (min-width: 640px) { .prov { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .prov { grid-template-columns: repeat(4, 1fr); } }
.prov__item {
  position: relative; overflow: hidden; padding: 26px 24px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.prov__item::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 3px; background: var(--grad-line); transform: scaleX(0); transform-origin: right; transition: transform 400ms var(--ease); }
.prov__n { position: absolute; top: 14px; inset-inline-end: 18px; font-size: 2.6rem; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--blue-100); }
.prov__ic { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 18px; border-radius: 16px; color: var(--blue-600); background: var(--blue-50); transition: transform var(--t) var(--ease), background-color var(--t), color var(--t); }
.prov__ic .ic { width: 28px; height: 28px; }
.prov__item:nth-child(even) .prov__ic { color: var(--teal-700); background: var(--teal-50); }
.prov__item h3 { margin-bottom: 6px; }
.prov__item p { margin: 0; font-size: var(--fs-sm); color: var(--muted); }
.prov__item:hover { transform: translateY(-5px); box-shadow: var(--sh-2); }
.prov__item:hover::after { transform: scaleX(1); }
.prov__item:hover .prov__ic { transform: scale(1.08) rotate(-6deg); color: #fff; background: var(--blue-600); }
.prov__item:first-child { background: var(--grad-brand); border-color: transparent; }
.prov__item:first-child h3 { color: #fff; }
.prov__item:first-child p { color: rgba(255, 255, 255, .8); }
.prov__item:first-child .prov__ic { color: var(--navy-900); background: var(--teal-400); }
.prov__item:first-child .prov__n { -webkit-text-stroke-color: rgba(255, 255, 255, .25); }

/* --- service page: why --- */
.swhy { position: relative; overflow: hidden; padding-block: var(--section); color: rgba(255, 255, 255, .8); background: var(--grad-dark); }
.swhy h2 { color: #fff; font-size: var(--fs-h2); }
.swhy__grid { display: grid; gap: 44px; align-items: center; }
.swhy__fig { position: relative; margin: 0; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 3.4; box-shadow: var(--sh-3); }
.swhy__fig img { width: 100%; height: 100%; object-fit: cover; }
.swhy__fig figcaption { position: absolute; inset-inline-start: 16px; bottom: 16px; display: flex; align-items: center; gap: 8px; padding: 8px 14px; color: #fff; font-weight: 700; font-size: var(--fs-sm); border-radius: var(--pill); }
.swhy__fig .ic { width: 18px; height: 18px; color: var(--teal-400); }
.swhy__list { display: grid; margin-top: 10px; }
.swhy__list li { display: flex; gap: 16px; padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.swhy__list h3 { color: #fff; margin-bottom: 2px; }
.swhy__list p { margin: 0; font-size: var(--fs-sm); color: rgba(255, 255, 255, .7); }
.swhy__list li:hover .why__ic { color: var(--navy-900); background: var(--teal-400); box-shadow: 0 0 0 6px rgba(80, 188, 168, .15); }
@media (min-width: 640px) { .swhy__list { grid-template-columns: 1fr 1fr; column-gap: 28px; } }
@media (min-width: 1000px) { .swhy__grid { grid-template-columns: .9fr 1.1fr; gap: 72px; } }

/* --- service page: related --- */
.srel { position: relative; overflow: hidden; padding-block: var(--section); background: #fff; }


/* ---------- 19. Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 650ms var(--ease), transform 650ms var(--ease); transition-delay: calc(var(--d, 0) * 70ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.hero .reveal { transition-duration: 800ms; }

.pulse-line path { stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease) .4s; }
.pulse-line.is-in path, .hero__card.is-in .pulse-line path { stroke-dashoffset: 0; }
.steps__line path { animation: dash 30s linear infinite; }

@keyframes drift { 0%, 100% { transform: translate3d(0, 0, 0) rotate(0); } 50% { transform: translate3d(0, -14px, 0) rotate(2deg); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes dash { to { stroke-dashoffset: -1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 1ms !important; transition-delay: 0ms !important; }
  .reveal { opacity: 1; transform: none; }
  .pulse-line path, .about__smile path { stroke-dashoffset: 0; }
  .hero__media { transform: none !important; }
}
.shero__media--vis .shero__float--b { display: none; }

/* mobile refinements for the visual layer */
.shw__body { padding-inline-end: 84px; }
@media (max-width: 899px) {
  .hero__arcs { display: none; }
}
@media (max-width: 999px) {
  .tstrip__bar li { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px; }
  .tstrip__ic { width: 40px; height: 40px; border-radius: 12px; }
}
@media (max-width: 639px) {
  .shero__vis { aspect-ratio: 1; }
  .shero__vis-ic { width: 96px; height: 96px; border-radius: 28px; margin-bottom: 70px; }
  .shero__vis-ic .ic { width: 50px; height: 50px; }
  .shero__vis-ring { margin-bottom: 70px; }
}

/* services dropdown (desktop nav) */
.hdr__nav li { position: relative; }
.hdr__nav .has-sub > a { display: flex; align-items: center; gap: 4px; }
.sub-chev { width: 14px; height: 14px; transition: transform var(--t) var(--ease); }
.sub {
  position: absolute; top: 100%; inset-inline-start: 50%; z-index: 60; width: 560px; padding-top: 12px;
  opacity: 0; visibility: hidden; transform: translate(50%, 8px);
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease), visibility var(--t);
}
.sub > ul, .sub > .sub__all { background: #fff; }
.sub > ul {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 12px 12px 6px;
  border-radius: var(--r-lg) var(--r-lg) 0 0; box-shadow: var(--sh-3); border: 1px solid var(--line); border-bottom: 0;
}
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: translate(50%, 0); }
.has-sub:hover .sub-chev, .has-sub:focus-within .sub-chev { transform: rotate(180deg); }
.hdr__nav .sub a { display: flex; align-items: flex-start; gap: 12px; padding: 10px 12px; color: var(--text); border-radius: var(--r-md); line-height: 1.45; font-weight: 400; }
.hdr__nav .sub a:hover { background: var(--bg); color: var(--ink); }
.hdr__nav .sub a::after { display: none; }
.sub__ic { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; color: var(--blue-600); background: var(--blue-50); transition: background-color var(--t), color var(--t), transform var(--t) var(--ease); }
.sub__ic .ic { width: 21px; height: 21px; }
.sub li:nth-child(even) .sub__ic { color: var(--teal-700); background: var(--teal-50); }
.hdr__nav .sub a:hover .sub__ic { color: #fff; background: var(--blue-600); transform: rotate(-6deg); }
.sub b { display: block; font-size: .95rem; font-weight: 700; color: var(--ink); }
.sub small { display: block; font-size: .8rem; color: var(--muted); }
.hdr__nav .sub .sub__all {
  display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; margin: 0;
  font-weight: 700; color: var(--blue-700); border: 1px solid var(--line); border-top: 1px solid var(--line);
  border-radius: 0 0 var(--r-lg) var(--r-lg); box-shadow: var(--sh-3);
}
.hdr__nav .sub .sub__all:hover { background: var(--blue-50); color: var(--blue-700); }
.sub__all .ic { width: 18px; height: 18px; }
