/* ============================================================
   Wonders Home Health Care — Premium Redesign
   Fonts: Plus Jakarta Sans (UI) + DM Serif Display (headings)
   ============================================================ */

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/plusjakartasans-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/plusjakartasans-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/plusjakartasans-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/plusjakartasans-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal; font-weight: 800; font-display: swap;
  src: url('../fonts/plusjakartasans-800.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Serif Display';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/dmserifdisplay-400.woff2') format('woff2');
}

:root {
  --blue-950: #071e52;
  --blue-900: #0a2a6b;
  --blue-800: #123a96;
  --blue-600: #1e63d8;
  --blue-500: #2f7aec;
  --blue-100: #dbe8ff;
  --blue-50:  #eef4ff;
  --red-600: #e22f35;
  --red-500: #f24a4f;
  --red-50:  #ffecec;
  --ink:     #0f2145;
  --slate:   #55657f;
  --muted:   #8593ab;
  --bg:      #f6f9ff;
  --white:   #ffffff;
  --ring:    rgba(30, 99, 216, .35);
  --shadow-sm: 0 2px 10px rgba(10, 42, 107, .08);
  --shadow-md: 0 12px 34px rgba(10, 42, 107, .14);
  --shadow-lg: 0 26px 60px rgba(10, 42, 107, .20);
  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 10px;
  --font-ui: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-display: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; }

body {
  font-family: var(--font-ui);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 16.5px;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--blue-800); }
ul { list-style: none; }

::selection { background: var(--blue-600); color: #fff; }

/* ---------- scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--blue-600), var(--red-500));
  z-index: 9999; border-radius: 0 3px 3px 0;
}

/* ---------- layout helpers ---------- */
.container { width: min(1180px, 92%); margin: 0 auto; }
.section { padding: 96px 0; position: relative; }
.section-tight { padding: 70px 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 800; letter-spacing: .18em;
  text-transform: uppercase; color: var(--blue-600);
}
.eyebrow::before {
  content: ''; width: 34px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--red-500), var(--blue-600));
}
.eyebrow.on-dark { color: #9ec1ff; }

h1, h2, h3 { line-height: 1.15; }
.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -.01em;
}
.h-xl { font-size: clamp(2.4rem, 5vw, 3.9rem); }
.h-lg { font-size: clamp(2rem, 4vw, 3rem); }
.h-md { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.lead { font-size: 1.12rem; color: var(--slate); max-width: 56ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

.section-head { max-width: 760px; margin-bottom: 54px; }
.section-head.center { margin-inline: auto; }
.section-head .display { margin: 14px 0 16px; }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--blue-600);
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px; border: 0; cursor: pointer;
  font: 700 15px/1 var(--font-ui); letter-spacing: .02em;
  color: #fff; background: var(--btn-bg);
  overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease-spring), box-shadow .35s, background .3s;
  box-shadow: 0 10px 26px rgba(30, 99, 216, .35);
}
.btn::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, transparent 25%, rgba(255,255,255,.28) 50%, transparent 75%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease-out);
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(30, 99, 216, .45); color: #fff; }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(-1px) scale(.98); }

.btn-red { --btn-bg: var(--red-500); box-shadow: 0 10px 26px rgba(226, 47, 53, .35); }
.btn-red:hover { box-shadow: 0 16px 34px rgba(226, 47, 53, .45); }

.btn-ghost {
  --btn-bg: transparent; color: var(--blue-700, #173f8f);
  border: 2px solid var(--blue-600); color: var(--blue-600);
  box-shadow: none; background: transparent;
}
.btn-ghost:hover { background: var(--blue-600); color: #fff; box-shadow: 0 14px 30px rgba(30,99,216,.3); }

.btn-white { --btn-bg: #fff; color: var(--blue-800); box-shadow: 0 10px 26px rgba(0,0,0,.18); }
.btn-white:hover { color: var(--blue-600); }

.btn-sm { padding: 11px 22px; font-size: 13.5px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; color: var(--blue-600);
}
.link-arrow .arr { transition: transform .3s var(--ease-spring); }
.link-arrow:hover .arr { transform: translateX(6px); }

/* ---------- top bar ---------- */
.topbar {
  background: linear-gradient(90deg, var(--blue-950), var(--blue-800));
  color: #cfe0ff; font-size: 13.5px;
  position: relative; z-index: 60;
}
.topbar .container { display: flex; align-items: center; gap: 26px; padding: 9px 0; }
.topbar a { color: #fff; font-weight: 600; }
.topbar a:hover { color: #9ec1ff; }
.topbar .tb-item { display: inline-flex; align-items: center; gap: 8px; }
.topbar .tb-item svg { flex: none; opacity: .8; }
.topbar .spacer { flex: 1; }
.topbar .badge-247 {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(242, 74, 79, .18); color: #ffb4b6;
  border: 1px solid rgba(242, 74, 79, .45);
  padding: 3px 12px; border-radius: 999px; font-weight: 700; font-size: 12px;
}
.topbar .badge-247 .dot {
  width: 7px; height: 7px; border-radius: 50%; background: #ff5c62;
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(242,74,79,.6); }
  70% { box-shadow: 0 0 0 8px rgba(242,74,79,0); }
  100% { box-shadow: 0 0 0 0 rgba(242,74,79,0); }
}

/* ---------- header / nav ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: box-shadow .3s, background .3s;
}
.header.scrolled { box-shadow: 0 8px 30px rgba(10,42,107,.12); background: rgba(255,255,255,.96); }
.header .container { display: flex; align-items: center; gap: 20px; padding: 14px 0; transition: padding .3s; }
.header.scrolled .container { padding: 9px 0; }

.logo { display: flex; align-items: center; gap: 12px; flex: none; position: relative; overflow: hidden; border-radius: 10px; }
.logo img { height: 70px; width: auto; transition: height .3s; }
.header.scrolled .logo img { height: 50px; }
.logo .logo-text { display: none; }

/* periodic logo animation (like the reference site's animated logo) */
.logo img { animation: logoPulse 7s ease-in-out infinite; transform-origin: left center; }
@keyframes logoPulse {
  0%, 72% { transform: scale(1); filter: none; }
  80% { transform: scale(1.045); filter: drop-shadow(0 3px 8px rgba(30,99,216,.35)); }
  88% { transform: scale(.99); }
  96%, 100% { transform: scale(1); filter: none; }
}
/* shine sweep across the logo every 7s */
.logo::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 55%;
  left: -70%; pointer-events: none;
  background: linear-gradient(105deg, transparent 20%, rgba(255,255,255,.75) 50%, transparent 80%);
  transform: skewX(-18deg);
  animation: logoShine 7s ease-in-out infinite;
}
@keyframes logoShine {
  0%, 70% { left: -70%; }
  92%, 100% { left: 130%; }
}

.nav { flex: 1; }
.nav ul { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.nav a.nav-link {
  position: relative; display: block; padding: 12px 15px;
  font-weight: 600; font-size: 15px; color: var(--ink);
  border-radius: 10px; transition: color .25s;
}
.nav a.nav-link::after {
  content: ''; position: absolute; left: 15px; right: 15px; bottom: 6px;
  height: 2.5px; border-radius: 3px;
  background: linear-gradient(90deg, var(--red-500), var(--blue-600));
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease-out);
}
.nav a.nav-link:hover, .nav a.nav-link.active { color: var(--blue-600); }
.nav a.nav-link:hover::after, .nav a.nav-link.active::after { transform: scaleX(1); }

.header-cta { display: flex; align-items: center; gap: 12px; flex: none; margin-left: auto; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 8px; z-index: 70;
}
.hamburger span {
  width: 26px; height: 3px; border-radius: 3px; background: var(--blue-800);
  transition: transform .35s var(--ease-out), opacity .25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(.4); }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 65;
  background:
    radial-gradient(circle at 85% -10%, rgba(242,74,79,.22), transparent 55%),
    radial-gradient(circle at -10% 105%, rgba(47,122,236,.35), transparent 55%),
    linear-gradient(160deg, var(--blue-950), var(--blue-900) 55%, #12347e);
  display: flex; flex-direction: column;
  padding: 100px 8% 34px;
  clip-path: circle(0% at calc(100% - 44px) 44px);
  transition: clip-path .65s var(--ease-out);
  visibility: hidden;
}
.mobile-menu.open { clip-path: circle(150% at calc(100% - 44px) 44px); visibility: visible; }

.mm-nav { flex: 1; overflow-y: auto; margin-top: 16px; }
.mm-nav a {
  display: flex; align-items: center; gap: 16px;
  color: #fff; padding: 13px 4px;
  border-bottom: 1px solid rgba(255,255,255,.09);
  transform: translateX(34px); opacity: 0;
  transition: transform .5s var(--ease-out), opacity .5s, padding-left .25s;
}
.mobile-menu.open .mm-nav a { transform: none; opacity: 1; }
.mm-nav a .num {
  font-family: var(--font-display); font-size: .95rem; color: rgba(255,255,255,.4);
  font-style: italic; min-width: 26px;
  transition: color .3s;
}
.mm-nav a .lbl { font-family: var(--font-display); font-size: clamp(1.5rem, 5.6vw, 2.1rem); flex: 1; }
.mm-nav a .arr {
  font-size: 1.2rem; color: #ff8f93; opacity: 0; transform: translateX(-10px);
  transition: opacity .3s, transform .3s var(--ease-spring);
}
.mm-nav a:hover .num { color: #ff8f93; }
.mm-nav a:hover { padding-left: 12px; }
.mm-nav a:hover .arr { opacity: 1; transform: none; }
.mm-nav a:active { color: #ffb4b6; }

.mm-foot {
  padding-top: 24px; margin-top: 10px;
  border-top: 1px solid rgba(255,255,255,.14);
  display: flex; flex-direction: column; gap: 14px;
  transform: translateY(24px); opacity: 0;
  transition: transform .55s var(--ease-out) .35s, opacity .55s .35s;
}
.mobile-menu.open .mm-foot { transform: none; opacity: 1; }
.mm-foot .btn { justify-content: center; }
.mm-phone {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  color: #fff; font-weight: 800; font-size: 1.05rem;
}
.mm-phone em { font-style: normal; font-weight: 600; color: #9ec1ff; font-size: .85rem; }
.mm-phone:hover { color: #ffb4b6; }
.mm-mail { text-align: center; color: #8fa8d6; font-size: .9rem; }
.mm-mail:hover { color: #fff; }

/* ---------- hero ---------- */
.hero {
  position: relative; height: min(88vh, 780px); min-height: 560px;
  overflow: hidden; background: var(--blue-950);
}
.slides, .slide { position: absolute; inset: 0; }
.slide {
  opacity: 0; transition: opacity 1.4s var(--ease-out);
  pointer-events: none;
}
.slide.active { opacity: 1; pointer-events: auto; }
.slide .img {
  position: absolute; inset: -6%;
  background-size: cover; background-position: center 30%;
  transform: scale(1.02);
}
.slide.active .img { animation: kenburns 8s ease-out forwards; }
@keyframes kenburns {
  from { transform: scale(1.14) translate(1.5%, 0); }
  to   { transform: scale(1.02) translate(0, 0); }
}
.slide::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(7,30,82,.92) 0%, rgba(7,30,82,.62) 42%, rgba(7,30,82,.18) 75%, rgba(7,30,82,.35) 100%),
    linear-gradient(0deg, rgba(7,30,82,.55) 0%, transparent 40%);
}
.hero-content {
  position: relative; z-index: 5; height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  color: #fff; max-width: 700px;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(6px);
  color: #dce9ff; padding: 8px 18px; border-radius: 999px;
  font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  width: fit-content; margin-bottom: 26px;
}
.hero-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: #ff5c62; animation: pulse 1.6s infinite; }
.hero h1 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1.08; letter-spacing: -.01em;
  margin-bottom: 22px;
}
.hero h1 .accent { color: #ff8f93; font-style: italic; }
.hero p.sub { font-size: 1.15rem; color: #d4e2fb; max-width: 52ch; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* staggered slide-in for hero children */
.hero-anim > * { opacity: 0; transform: translateY(34px); animation: heroUp 1s var(--ease-out) forwards; }
.hero-anim > *:nth-child(1) { animation-delay: .15s; }
.hero-anim > *:nth-child(2) { animation-delay: .3s; }
.hero-anim > *:nth-child(3) { animation-delay: .45s; }
.hero-anim > *:nth-child(4) { animation-delay: .6s; }
@keyframes heroUp { to { opacity: 1; transform: none; } }

.hero-nav { position: absolute; z-index: 6; display: flex; gap: 10px; }
.hero-arrows { right: 4%; bottom: 42px; }
.hero-arrow {
  width: 52px; height: 52px; border-radius: 50%; cursor: pointer;
  border: 1.5px solid rgba(255,255,255,.4); color: #fff;
  background: rgba(255,255,255,.08); backdrop-filter: blur(6px);
  display: grid; place-items: center; font-size: 20px;
  transition: background .3s, transform .3s var(--ease-spring);
}
.hero-arrow:hover { background: var(--red-500); transform: scale(1.1); border-color: var(--red-500); }

.hero-dots { left: 4%; bottom: 52px; }
.hero-dot {
  width: 34px; height: 5px; border-radius: 4px; border: 0; cursor: pointer;
  background: rgba(255,255,255,.3); overflow: hidden; position: relative;
  transition: background .3s;
}
.hero-dot.active { background: rgba(255,255,255,.35); }
.hero-dot .fill {
  position: absolute; inset: 0; background: #fff; border-radius: 4px;
  transform: scaleX(0); transform-origin: left;
}
.hero-dot.active .fill { animation: dotfill 6s linear forwards; }
@keyframes dotfill { to { transform: scaleX(1); } }

.scroll-hint {
  position: absolute; z-index: 6; left: 50%; bottom: 24px; transform: translateX(-50%);
  color: rgba(255,255,255,.75); font-size: 11px; letter-spacing: .25em; text-transform: uppercase;
  display: none;
}

/* ---------- promo cards (domainmedicalhh "boxes") ---------- */
.promo-strip { position: relative; z-index: 10; margin-top: -88px; }
.promo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.promo-card {
  background: #fff; border-radius: var(--r-lg); padding: 34px 30px;
  box-shadow: var(--shadow-md); border: 1px solid #e8effc;
  position: relative; overflow: hidden;
  transition: transform .45s var(--ease-out), box-shadow .45s;
}
.promo-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: linear-gradient(90deg, var(--red-500), var(--blue-600));
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease-out);
}
.promo-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.promo-card:hover::before { transform: scaleX(1); }
.promo-card .icon {
  width: 60px; height: 60px; border-radius: 18px;
  display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(135deg, var(--blue-50), var(--blue-100));
  color: var(--blue-600);
  transition: transform .45s var(--ease-spring), background .35s, color .35s;
}
.promo-card:hover .icon {
  transform: rotate(-8deg) scale(1.08);
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800)); color: #fff;
}
.promo-card h3 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 400; margin-bottom: 10px; }
.promo-card p { color: var(--slate); font-size: .97rem; margin-bottom: 18px; }

/* ---------- split welcome (left content / right "let's talk") ---------- */
.split { display: grid; grid-template-columns: 1.55fr 1fr; gap: 60px; align-items: start; }

.welcome-img {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-md); margin: 30px 0;
}
.welcome-img img { transition: transform 1.2s var(--ease-out); width: 100%; }
.welcome-img:hover img { transform: scale(1.06); }
.welcome-img .badge-float {
  position: absolute; right: 22px; bottom: 22px;
  background: #fff; border-radius: var(--r-md); padding: 14px 20px;
  box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 12px;
  animation: floaty 4.5s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.badge-float .num { font-family: var(--font-display); font-size: 1.8rem; color: var(--red-500); line-height: 1; }
.badge-float .lbl { font-size: 12px; font-weight: 700; color: var(--slate); text-transform: uppercase; letter-spacing: .06em; }

.check-list li {
  display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px;
  color: var(--slate);
}
.check-list li b { color: var(--ink); }
.check-list .ck {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  color: #fff; display: grid; place-items: center; font-size: 13px; margin-top: 2px;
}

/* right "let's talk" card */
.talk-card {
  position: sticky; top: 110px;
  background: linear-gradient(160deg, var(--blue-900), var(--blue-950));
  border-radius: var(--r-lg); color: #fff; padding: 38px 32px;
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.talk-card::before {
  content: ''; position: absolute; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(47,122,236,.5), transparent 70%);
  top: -120px; right: -120px;
}
.talk-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; margin-bottom: 8px; }
.talk-card > p { color: #c3d5f7; font-size: .96rem; margin-bottom: 24px; }
.talk-card .btn { width: 100%; justify-content: center; margin-bottom: 12px; }
.talk-info { margin-top: 24px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.15); }
.talk-info .row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; font-size: .93rem; }
.talk-info .row:last-child { margin-bottom: 0; }
.talk-info .ic {
  flex: none; width: 38px; height: 38px; border-radius: 11px;
  background: rgba(255,255,255,.1); display: grid; place-items: center; color: #9ec1ff;
}
.talk-info .lbl { font-size: 11.5px; text-transform: uppercase; letter-spacing: .1em; color: #8fa8d6; font-weight: 700; }
.talk-info a, .talk-info b { color: #fff; }
.talk-info a:hover { color: #ffb4b6; }

/* ---------- services grid ---------- */
.bg-soft { background: var(--bg); }
.bg-deco { position: absolute; pointer-events: none; z-index: 0; }
.bg-deco.blob-a {
  width: 560px; height: 560px; right: -200px; top: -140px; border-radius: 50%;
  background: radial-gradient(circle, rgba(30,99,216,.09), transparent 70%);
}
.bg-deco.blob-b {
  width: 480px; height: 480px; left: -180px; bottom: -160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(242,74,79,.08), transparent 70%);
}

.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; position: relative; z-index: 1; }
.svc-card {
  background: #fff; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid #e8effc; box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease-out), box-shadow .5s;
  display: flex; flex-direction: column;
}
.svc-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.svc-card .thumb { position: relative; height: 200px; overflow: hidden; }
.svc-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.svc-card:hover .thumb img { transform: scale(1.09); }
.svc-card .thumb::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(7,30,82,.35), transparent 55%);
}
.svc-card .thumb .chip {
  position: absolute; left: 16px; bottom: 14px; z-index: 2;
  background: rgba(255,255,255,.92); color: var(--blue-800);
  font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 13px; border-radius: 999px; backdrop-filter: blur(4px);
}
.svc-card .body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.svc-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.32rem; margin-bottom: 10px; }
.svc-card p { color: var(--slate); font-size: .95rem; flex: 1; margin-bottom: 18px; }

/* ---------- stats band ---------- */
.stats {
  position: relative; overflow: hidden;
  background: linear-gradient(115deg, var(--blue-950) 0%, var(--blue-800) 60%, var(--blue-600) 100%);
  color: #fff;
}
.stats::before {
  content: ''; position: absolute; inset: 0; opacity: .25;
  background-image: radial-gradient(rgba(255,255,255,.35) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
}
.stats .container { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding: 74px 0; }
.stat { text-align: center; }
.stat .num {
  font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 3.6rem);
  line-height: 1; color: #fff;
}
.stat .num .suffix { color: #ff8f93; }
.stat .lbl { margin-top: 10px; color: #a9c2f0; font-weight: 600; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }

/* ---------- why us / feature rows ---------- */
.feature-rows { display: grid; gap: 60px; }
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.feature-row.flip > .f-img { order: 2; }
.f-img { position: relative; }
.f-img .main { border-radius: var(--r-lg); box-shadow: var(--shadow-md); width: 100%; }
.f-img .sticker {
  position: absolute; width: 210px; border-radius: var(--r-md);
  box-shadow: var(--shadow-lg); border: 6px solid #fff;
  bottom: -34px; right: -18px; transform: rotate(4deg);
}
.f-img .exp-badge {
  position: absolute; top: -26px; left: -26px;
  width: 130px; height: 130px; border-radius: 50%;
  background: linear-gradient(140deg, var(--red-500), #c01f25);
  color: #fff; display: grid; place-items: center; text-align: center;
  box-shadow: var(--shadow-lg); font-weight: 700; font-size: 13px; line-height: 1.3;
  transform: rotate(-8deg);
  animation: floaty 5s ease-in-out infinite;
}
.f-img .exp-badge b { display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 400; }

/* ---------- testimonials ---------- */
.testi-wrap { position: relative; overflow: hidden; }
.testi-track { display: flex; transition: transform .7s var(--ease-out); }
.testi { flex: 0 0 100%; padding: 10px; }
.testi-inner {
  max-width: 820px; margin: 0 auto; text-align: center;
  background: #fff; border-radius: var(--r-lg); padding: 54px 60px 46px;
  box-shadow: var(--shadow-md); border: 1px solid #e8effc; position: relative;
}
.testi-inner .quote-mark {
  font-family: var(--font-display); font-size: 5.4rem; line-height: .6;
  color: var(--blue-100); position: absolute; top: 34px; left: 40px;
}
.testi-inner .stars { color: #f5a623; letter-spacing: 4px; font-size: 17px; margin-bottom: 18px; }
.testi-inner blockquote {
  font-size: 1.22rem; color: var(--ink); font-weight: 500; line-height: 1.7; margin-bottom: 26px;
}
.testi-inner .who { display: flex; align-items: center; justify-content: center; gap: 14px; }
.testi-inner .who img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; }
.testi-inner .who .n { font-weight: 800; }
.testi-inner .who .r { color: var(--muted); font-size: 13px; }
.testi-nav { display: flex; justify-content: center; gap: 14px; margin-top: 30px; }
.testi-btn {
  width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
  border: 1.5px solid var(--blue-100); background: #fff; color: var(--blue-700, #173f8f);
  display: grid; place-items: center; font-size: 18px;
  transition: all .3s var(--ease-out);
}
.testi-btn:hover { background: var(--blue-600); border-color: var(--blue-600); color: #fff; transform: scale(1.08); }
.testi-dots { display: flex; gap: 8px; align-items: center; }
.testi-dot { width: 9px; height: 9px; border-radius: 50%; border: 0; background: var(--blue-100); cursor: pointer; transition: all .3s; }
.testi-dot.active { width: 26px; border-radius: 8px; background: var(--blue-600); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: #fff; border: 1px solid #e6edf9; border-radius: var(--r-md);
  margin-bottom: 14px; overflow: hidden;
  transition: box-shadow .3s, border-color .3s;
}
.faq-item.open { border-color: var(--blue-600); box-shadow: var(--shadow-md); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  background: none; border: 0; cursor: pointer; text-align: left;
  padding: 20px 26px; font: 700 1.02rem var(--font-ui); color: var(--ink);
}
.faq-q .ic {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: var(--blue-50); color: var(--blue-600);
  display: grid; place-items: center; font-size: 18px;
  transition: transform .4s var(--ease-spring), background .3s, color .3s;
}
.faq-item.open .faq-q .ic { transform: rotate(45deg); background: var(--blue-600); color: #fff; }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .5s var(--ease-out);
}
.faq-a .inner { padding: 0 26px 24px; color: var(--slate); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(115deg, rgba(7,30,82,.94), rgba(18,58,150,.86)), var(--cta-img);
  background-size: cover; background-position: center;
  color: #fff; padding: 74px 60px;
  display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap;
}
.cta-band h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.9rem, 4vw, 2.8rem); max-width: 20ch; }
.cta-band p { color: #c3d5f7; margin-top: 10px; max-width: 48ch; }
.cta-phone {
  display: inline-flex; align-items: center; gap: 16px;
}
.cta-phone .ic {
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--red-500); display: grid; place-items: center; color: #fff;
  animation: ringPulse 2s infinite;
}
@keyframes ringPulse {
  0% { box-shadow: 0 0 0 0 rgba(242,74,79,.55); }
  70% { box-shadow: 0 0 0 18px rgba(242,74,79,0); }
  100% { box-shadow: 0 0 0 0 rgba(242,74,79,0); }
}
.cta-phone .t { font-size: 12px; text-transform: uppercase; letter-spacing: .15em; color: #a9c2f0; font-weight: 700; }
.cta-phone .n { font-family: var(--font-display); font-size: 1.9rem; color: #fff; }

/* ---------- footer ---------- */
.footer {
  background: var(--blue-950); color: #b9cbf0; position: relative; overflow: hidden;
}
.footer::before {
  content: ''; position: absolute; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(47,122,236,.16), transparent 70%);
  top: -260px; right: -160px;
}
.footer .container { position: relative; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 46px;
  padding: 80px 0 54px;
}
.footer .f-logo img { height: 62px; background: #fff; padding: 8px 14px; border-radius: 14px; }
.footer .f-about { font-size: .94rem; margin: 20px 0 22px; max-width: 34ch; }
.footer .f-phone { font-family: var(--font-display); font-size: 1.4rem; color: #fff; }
.footer .f-note { font-size: 12px; color: #8fa8d6; }
.footer h4 {
  color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; margin-bottom: 20px;
  display: flex; align-items: center; gap: 10px;
}
.footer h4::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,.14); }
.footer ul li { margin-bottom: 11px; }
.footer ul a {
  color: #b9cbf0; font-size: .95rem; position: relative;
  transition: color .25s, padding-left .3s var(--ease-out);
}
.footer ul a::before {
  content: '›'; position: absolute; left: -13px; opacity: 0;
  transition: opacity .25s; color: var(--red-500); font-weight: 800;
}
.footer ul a:hover { color: #fff; padding-left: 13px; }
.footer ul a:hover::before { opacity: 1; }
.footer .f-form input, .footer .f-form textarea {
  width: 100%; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  border-radius: 10px; padding: 12px 15px; color: #fff; font: 500 14px var(--font-ui);
  margin-bottom: 10px; outline: none; transition: border-color .3s, background .3s;
  resize: vertical;
}
.footer .f-form input::placeholder, .footer .f-form textarea::placeholder { color: #8fa8d6; }
.footer .f-form input:focus, .footer .f-form textarea:focus {
  border-color: var(--blue-500); background: rgba(255,255,255,.11);
}
.footer .f-contact li { display: flex; gap: 12px; margin-bottom: 14px; font-size: .93rem; }
.footer .f-contact .ic { color: #9ec1ff; flex: none; margin-top: 3px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 22px 0; font-size: 13.5px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.footer-bottom a { color: #9ec1ff; }
.footer-bottom a:hover { color: #fff; }

/* ---------- page hero (interior pages) ---------- */
.page-hero {
  position: relative; padding: 110px 0 120px; color: #fff; overflow: hidden;
  background: linear-gradient(115deg, rgba(7,30,82,.93), rgba(18,58,150,.75)), var(--ph-img);
  background-size: cover; background-position: center;
}
.page-hero .crumbs { font-size: 13.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: #9ec1ff; margin-bottom: 18px; }
.page-hero .crumbs a { color: #c9dbff; }
.page-hero .crumbs .sep { margin: 0 10px; opacity: .5; }
.page-hero h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.6rem, 5.5vw, 4rem); }
.page-hero .lead { color: #c9dbff; margin-top: 16px; }

/* ---------- service detail rows ---------- */
.svc-detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.svc-detail {
  display: flex; gap: 20px; background: #fff; border: 1px solid #e8effc;
  border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease-out), box-shadow .4s, border-color .3s;
}
.svc-detail:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--blue-100); }
.svc-detail .ic {
  flex: none; width: 56px; height: 56px; border-radius: 16px;
  background: linear-gradient(135deg, var(--blue-50), var(--blue-100));
  color: var(--blue-600); display: grid; place-items: center;
  transition: transform .4s var(--ease-spring), background .3s, color .3s;
}
.svc-detail:hover .ic { transform: rotate(-8deg) scale(1.07); background: var(--blue-600); color: #fff; }
.svc-detail h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 6px; }
.svc-detail p { color: var(--slate); font-size: .92rem; }

/* service category tabs */
.svc-tabs { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-bottom: 50px; }
.svc-tab {
  border: 1.5px solid var(--blue-100); background: #fff; color: var(--slate);
  padding: 12px 26px; border-radius: 999px; cursor: pointer;
  font: 700 14.5px var(--font-ui);
  transition: all .3s var(--ease-out);
}
.svc-tab:hover { border-color: var(--blue-600); color: var(--blue-600); transform: translateY(-2px); }
.svc-tab.active { background: var(--blue-600); border-color: var(--blue-600); color: #fff; box-shadow: 0 10px 24px rgba(30,99,216,.35); }
.svc-panel { display: none; }
.svc-panel.show { display: block; animation: fadeUp .6s var(--ease-out); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------- careers ---------- */
.perk-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.perk {
  background: #fff; border-radius: var(--r-md); padding: 28px 24px; text-align: center;
  border: 1px solid #e8effc; box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease-out), box-shadow .4s;
}
.perk:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.perk .ic {
  width: 58px; height: 58px; margin: 0 auto 16px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-50), var(--blue-100));
  color: var(--blue-600); display: grid; place-items: center;
}
.perk h3 { font-size: 1rem; font-weight: 800; margin-bottom: 6px; }
.perk p { font-size: .88rem; color: var(--slate); }

.job-list { max-width: 860px; margin: 0 auto; }
.job {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  background: #fff; border: 1px solid #e8effc; border-radius: var(--r-md);
  padding: 24px 30px; margin-bottom: 16px; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease-out), box-shadow .35s;
}
.job:hover { transform: translateX(8px); box-shadow: var(--shadow-md); }
.job .info { flex: 1; min-width: 220px; }
.job h3 { font-size: 1.12rem; font-weight: 800; }
.job .meta { display: flex; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 13.5px; margin-top: 6px; }
.job .meta span { display: inline-flex; align-items: center; gap: 6px; }
.job .tag {
  font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
  background: var(--blue-50); color: var(--blue-600);
}
.job .tag.hot { background: var(--red-50); color: var(--red-600); }

/* ---------- forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.f-field { position: relative; }
.f-field input, .f-field select, .f-field textarea {
  width: 100%; padding: 17px 18px 8px; border-radius: 12px;
  border: 1.5px solid #dde6f5; background: #fff; color: var(--ink);
  font: 500 15px var(--font-ui); outline: none;
  transition: border-color .3s, box-shadow .3s;
}
.f-field textarea { min-height: 140px; padding-top: 24px; resize: vertical; }
.f-field label {
  position: absolute; left: 18px; top: 15px; color: var(--muted);
  font-size: 15px; pointer-events: none; font-weight: 600;
  transition: all .22s var(--ease-out);
}
.f-field input:focus, .f-field select:focus, .f-field textarea:focus {
  border-color: var(--blue-600); box-shadow: 0 0 0 4px var(--ring);
}
.f-field input:focus + label, .f-field input.filled + label,
.f-field textarea:focus + label, .f-field textarea.filled + label,
.f-field select:focus + label, .f-field select.filled + label {
  top: 6px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-600);
}
.f-field .err { display: none; color: var(--red-600); font-size: 12.5px; font-weight: 600; margin-top: 6px; padding-left: 4px; }
.f-field.invalid input, .f-field.invalid textarea, .f-field.invalid select { border-color: var(--red-500); box-shadow: 0 0 0 4px rgba(226,47,53,.12); }
.f-field.invalid .err { display: block; }

.form-toast {
  position: fixed; bottom: 30px; left: 50%; transform: translate(-50%, 120px);
  background: var(--blue-900); color: #fff; padding: 16px 28px; border-radius: 14px;
  box-shadow: var(--shadow-lg); font-weight: 600; z-index: 100;
  display: flex; align-items: center; gap: 12px;
  transition: transform .55s var(--ease-spring);
}
.form-toast.show { transform: translate(-50%, 0); }
.form-toast .ok-ic {
  width: 28px; height: 28px; border-radius: 50%; background: #2ec76b;
  display: grid; place-items: center; font-size: 15px;
}

/* contact page layout */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 60px; align-items: start; }
.contact-cards { display: grid; gap: 16px; margin-top: 30px; }
.contact-card {
  display: flex; gap: 18px; align-items: flex-start;
  background: #fff; border: 1px solid #e8effc; border-radius: var(--r-md);
  padding: 22px 24px; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease-out), box-shadow .35s;
}
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.contact-card .ic {
  flex: none; width: 50px; height: 50px; border-radius: 14px;
  background: linear-gradient(135deg, var(--blue-50), var(--blue-100));
  color: var(--blue-600); display: grid; place-items: center;
}
.contact-card .lbl { font-size: 11.5px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 800; }
.contact-card b { font-size: 1.02rem; }

.choice-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.choice-chips input { display: none; }
.choice-chips .chip {
  padding: 10px 18px; border-radius: 999px; border: 1.5px solid #dde6f5;
  font: 600 13.5px var(--font-ui); color: var(--slate); cursor: pointer;
  transition: all .28s var(--ease-out); user-select: none;
}
.choice-chips .chip:hover { border-color: var(--blue-600); color: var(--blue-600); }
.choice-chips input:checked + .chip {
  background: var(--blue-600); border-color: var(--blue-600); color: #fff;
  box-shadow: 0 8px 20px rgba(30,99,216,.3);
}

/* ---------- reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(46px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal.rv-left { transform: translateX(-56px); }
.reveal.rv-right { transform: translateX(56px); }
.reveal.rv-zoom { transform: scale(.86); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; }
.reveal[data-delay="4"] { transition-delay: .48s; }

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

/* ---------- back to top ---------- */
.back-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 60;
  width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800)); color: #fff;
  display: grid; place-items: center; font-size: 20px;
  box-shadow: var(--shadow-md);
  opacity: 0; transform: translateY(24px); pointer-events: none;
  transition: opacity .4s, transform .4s var(--ease-spring), background .3s;
}
.back-top.show { opacity: 1; transform: none; pointer-events: auto; }
.back-top:hover { background: var(--red-500); transform: translateY(-4px); }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .nav { display: none; }
  .header-cta .btn { display: none; }
  .hamburger { display: flex; }
  .reveal.rv-left, .reveal.rv-right { transform: translateY(46px); }
  .promo-grid { grid-template-columns: 1fr; }
  .promo-strip { margin-top: -60px; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 44px; }
  .talk-card { position: static; }
  .stats .container { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .perk-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-row, .feature-row.flip { grid-template-columns: 1fr; gap: 40px; }
  .feature-row.flip > .f-img { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 54px 34px; }
}

@media (max-width: 760px) {
  .section { padding: 64px 0; }
  .topbar { font-size: 12.5px; }
  .topbar .container { gap: 12px; padding: 7px 0; }
  .topbar .tb-hide { display: none; }
  .topbar .badge-247 .txt { display: none; }
  .topbar .badge-247 { font-size: 11px; padding: 3px 10px; }
  .nav { display: none; }
  .header-cta .btn { display: none; }
  .hamburger { display: flex; }
  .hero { height: auto; min-height: 620px; }
  .hero-content { padding: 60px 0 130px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-arrows { display: none; }
  .hero-dots { bottom: 30px; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc-detail-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .perk-grid { grid-template-columns: 1fr; }
  .stats .container { grid-template-columns: 1fr 1fr; padding: 54px 0; }
  .testi-inner { padding: 44px 26px 38px; }
  .testi-inner blockquote { font-size: 1.05rem; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .f-img .sticker { width: 150px; bottom: -20px; right: -6px; }
  .f-img .exp-badge { width: 110px; height: 110px; top: -16px; left: -10px; }
}

/* ---------- resources page ---------- */
.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.resource-card {
  display: flex; flex-direction: column; gap: 10px;
  background: #fff; border: 1px solid #e8effc; border-radius: var(--r-md);
  padding: 28px; box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease-out), box-shadow .4s, border-color .3s;
}
.resource-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); border-color: var(--blue-600); }
.resource-card .cat {
  font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--red-600);
}
.resource-card h3 { font-size: 1.08rem; font-weight: 800; color: var(--ink); }
.resource-card p { color: var(--slate); font-size: .92rem; flex: 1; }
.resource-card .go { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: .92rem; color: var(--blue-600); }
.resource-card:hover .go { color: var(--blue-800); }

/* ---------- application form (careers) ---------- */
.apply-shell {
  max-width: 880px; margin: 0 auto; background: #fff;
  border-radius: var(--r-lg); border: 1px solid #e8effc;
  box-shadow: var(--shadow-md); overflow: hidden;
}
.apply-head {
  background: linear-gradient(135deg, var(--blue-900), var(--blue-800));
  color: #fff; padding: 36px 44px 30px;
}
.apply-head h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; }
.apply-head p { color: #c3d5f7; font-size: .94rem; margin-top: 8px; }
.apply-steps { display: flex; gap: 0; padding: 0 44px; }
.apply-step {
  flex: 1; display: flex; align-items: center; gap: 10px; padding: 18px 4px;
  font: 700 12px var(--font-ui); letter-spacing: .05em; text-transform: uppercase;
  color: var(--muted); border-bottom: 3px solid #e8effc; cursor: default;
  transition: color .3s, border-color .3s;
}
.apply-step .sn {
  flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: #e8effc; color: var(--muted); display: grid; place-items: center;
  font-size: 12px; font-weight: 800;
  transition: background .3s, color .3s, transform .3s var(--ease-spring);
}
.apply-step.active { color: var(--blue-600); border-color: var(--blue-600); }
.apply-step.active .sn { background: var(--blue-600); color: #fff; transform: scale(1.12); }
.apply-step.done { color: #2ec76b; border-color: #2ec76b; }
.apply-step.done .sn { background: #2ec76b; color: #fff; }
.apply-body { padding: 38px 44px 44px; }
.apply-panel { display: none; }
.apply-panel.show { display: block; animation: fadeUp .55s var(--ease-out); }
.apply-panel h4 { font-size: 1.15rem; font-weight: 800; margin-bottom: 6px; }
.apply-panel .sub { color: var(--muted); font-size: .9rem; margin-bottom: 24px; }
.apply-section-lbl {
  font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-600); margin: 26px 0 12px; display: flex; align-items: center; gap: 12px;
}
.apply-section-lbl:first-child { margin-top: 0; }
.apply-section-lbl::after { content: ''; flex: 1; height: 1px; background: #e8effc; }
.apply-nav { display: flex; justify-content: space-between; gap: 14px; margin-top: 34px; }
.apply-note { color: var(--muted); font-size: 12.5px; margin-top: 16px; text-align: center; }

.check-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.check-grid .chk { position: relative; }
.check-grid .chk input { position: absolute; opacity: 0; pointer-events: none; }
.check-grid .chk span {
  display: inline-block; padding: 10px 18px; border-radius: 999px;
  border: 1.5px solid #dde6f5; font: 600 13.5px var(--font-ui); color: var(--slate);
  cursor: pointer; transition: all .25s var(--ease-out); user-select: none;
}
.check-grid .chk span:hover { border-color: var(--blue-600); color: var(--blue-600); }
.check-grid .chk input:checked + span {
  background: var(--blue-600); border-color: var(--blue-600); color: #fff;
  box-shadow: 0 6px 16px rgba(30,99,216,.3);
}
.radio-row { display: flex; gap: 10px; }
.radio-pill input { position: absolute; opacity: 0; pointer-events: none; }
.radio-pill span {
  display: inline-block; padding: 10px 24px; border-radius: 999px;
  border: 1.5px solid #dde6f5; font: 700 13.5px var(--font-ui); color: var(--slate);
  cursor: pointer; transition: all .25s var(--ease-out); user-select: none;
}
.radio-pill input:checked + span {
  background: var(--blue-600); border-color: var(--blue-600); color: #fff;
}
.radio-q { font-weight: 700; font-size: .95rem; margin: 18px 0 10px; }

.attest {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--blue-50); border: 1.5px solid var(--blue-100);
  border-radius: var(--r-md); padding: 18px 20px; margin-top: 24px;
}
.attest input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue-600); cursor: pointer; flex: none; }
.attest label { font-size: .9rem; color: var(--slate); cursor: pointer; }
.attest.invalid { border-color: var(--red-500); box-shadow: 0 0 0 4px rgba(226,47,53,.12); }

@media (max-width: 760px) {
  .apply-steps { padding: 0 18px; }
  .apply-step { font-size: 0; gap: 0; justify-content: center; padding: 14px 0; }
  .apply-step .sn { font-size: 12px; }
  .apply-head, .apply-body { padding-left: 22px; padding-right: 22px; }
  .resource-grid { grid-template-columns: 1fr; }
}

/* ---------- appointment page ---------- */
.slot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.slot {
  text-align: center; padding: 16px 8px; border-radius: 12px;
  border: 1.5px solid #dde6f5; cursor: pointer; user-select: none;
  transition: all .28s var(--ease-out);
}
.slot:hover { border-color: var(--blue-600); }
.slot input { position: absolute; opacity: 0; pointer-events: none; }
.slot .d { font-weight: 800; font-size: .95rem; color: var(--ink); display: block; }
.slot .t { font-size: .8rem; color: var(--muted); display: block; margin-top: 3px; }
.slot input:checked ~ .d, .slot input:checked ~ .t { color: #fff; }
.slot:has(input:checked) {
  background: var(--blue-600); border-color: var(--blue-600);
  box-shadow: 0 8px 20px rgba(30,99,216,.32); transform: translateY(-2px);
}
.slot:has(input:checked) .d, .slot:has(input:checked) .t { color: #fff; }
@media (max-width: 760px) { .slot-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- responsive image backgrounds ---------- */
.slide .img.s1 { background-image: url('/assets/images/hero-1.jpg'); }
.slide .img.s2 { background-image: url('/assets/images/hero-2.jpg'); }
.slide .img.s3 { background-image: url('/assets/images/hero-3.jpg'); }
.slide .img.s4 { background-image: url('/assets/images/hero-4.jpg'); }
.slide .img.s5 { background-image: url('/assets/images/hero-5.jpg'); }

.cta-band { --cta-img: url('/assets/images/cta-bg.jpg'); }
.page-hero.ph-about       { --ph-img: url('/assets/images/hero-2.jpg'); }
.page-hero.ph-services    { --ph-img: url('/assets/images/hero-4.jpg'); }
.page-hero.ph-careers     { --ph-img: url('/assets/images/nurse-heart.jpg'); }
.page-hero.ph-contact     { --ph-img: url('/assets/images/hero-5.jpg'); }
.page-hero.ph-resources   { --ph-img: url('/assets/images/hero-4.jpg'); }
.page-hero.ph-appointment { --ph-img: url('/assets/images/hero-3.jpg'); }

@media (max-width: 760px) {
  .slide .img.s1 { background-image: url('/assets/images/hero-1-m.jpg'); }
  .slide .img.s2 { background-image: url('/assets/images/hero-2-m.jpg'); }
  .slide .img.s3 { background-image: url('/assets/images/hero-3-m.jpg'); }
  .slide .img.s4 { background-image: url('/assets/images/hero-4-m.jpg'); }
  .slide .img.s5 { background-image: url('/assets/images/hero-5-m.jpg'); }
  .cta-band { --cta-img: url('/assets/images/cta-bg-m.jpg'); }
  .page-hero.ph-about       { --ph-img: url('/assets/images/hero-2-m.jpg'); }
  .page-hero.ph-services    { --ph-img: url('/assets/images/hero-4-m.jpg'); }
  .page-hero.ph-careers     { --ph-img: url('/assets/images/nurse-heart-m.jpg'); }
  .page-hero.ph-contact     { --ph-img: url('/assets/images/hero-5-m.jpg'); }
  .page-hero.ph-resources   { --ph-img: url('/assets/images/hero-4-m.jpg'); }
  .page-hero.ph-appointment { --ph-img: url('/assets/images/hero-3-m.jpg'); }
}

/* ---------- mobile menu close button ---------- */
.menu-close {
  position: absolute; top: 26px; right: 26px; z-index: 5;
  width: 52px; height: 52px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.45);
  background: rgba(255,255,255,.08); color: #fff;
  font-size: 20px; cursor: pointer;
  display: grid; place-items: center;
  transition: background .3s, transform .3s var(--ease-spring), opacity .4s, border-color .3s;
  opacity: 0;
}
.mobile-menu.open .menu-close { opacity: 1; transition-delay: .25s; }
.menu-close:hover { background: var(--red-500); border-color: var(--red-500); transform: rotate(90deg) scale(1.08); }

/* ---------- embedded map ---------- */
.map-wrap {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid #e8effc; min-height: 420px;
}
.map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-card {
  position: absolute; left: 28px; bottom: 28px; z-index: 2;
  background: #fff; border-radius: var(--r-md); padding: 22px 26px;
  box-shadow: var(--shadow-md); display: flex; flex-direction: column; gap: 4px;
  max-width: 290px;
}
.map-card b { font-family: var(--font-display); font-size: 1.15rem; }
.map-card span { color: var(--slate); font-size: .92rem; line-height: 1.5; }
.map-card a { margin-top: 8px; font-weight: 800; font-size: .9rem; color: var(--red-500); }
.map-card a:hover { text-decoration: underline; }
@media (max-width: 640px) {
  .map-card { left: 14px; right: 14px; bottom: 14px; max-width: none; }
}

/* ---------- honeypot (anti-spam, invisible to humans) ---------- */
.hp-field {
  position: absolute !important; left: -9999px !important; top: -9999px !important;
  height: 1px; width: 1px; overflow: hidden; opacity: 0; pointer-events: none;
}

/* ---------- service area chips ---------- */
.area-chips {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
  max-width: 760px; margin: 0 auto;
}
.area-chip {
  padding: 11px 22px; border-radius: 999px; background: #fff;
  border: 1.5px solid #dce7f9; font-weight: 700; font-size: .92rem; color: var(--blue-900);
  box-shadow: 0 2px 10px rgba(24,58,140,.06);
  transition: transform .25s var(--ease-spring), border-color .25s, color .25s, box-shadow .25s;
}
.area-chip:hover {
  transform: translateY(-3px); border-color: var(--blue-400); color: var(--blue-600);
  box-shadow: 0 8px 22px rgba(24,58,140,.12);
}

/* ---------- google review CTA ---------- */
.goog-review {
  margin: 34px auto 0; max-width: 640px;
  display: flex; align-items: center; gap: 16px;
  background: #fff; border: 1.5px solid #e8effc; border-radius: 18px;
  padding: 18px 24px; box-shadow: var(--shadow-sm);
}
.g-badge {
  width: 46px; height: 46px; border-radius: 12px; flex: none;
  background: #f4f8ff; border: 1px solid #e2ecfc;
  display: grid; place-items: center;
}
.g-txt { flex: 1; line-height: 1.35; }
.g-txt b { display: block; font-size: .98rem; color: var(--ink); }
.g-txt span { font-size: .84rem; color: var(--slate); }
.g-btn {
  flex: none; display: inline-flex; align-items: center; gap: 10px;
  background: var(--blue-600); color: #fff; font-weight: 800; font-size: .9rem;
  padding: 12px 20px; border-radius: 999px;
  transition: background .25s, transform .25s var(--ease-spring), box-shadow .25s;
}
.g-btn .g-stars { color: #ffd45e; letter-spacing: 1px; font-size: .8rem; }
.g-btn:hover { background: var(--blue-800); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
@media (max-width: 640px) {
  .goog-review { flex-direction: column; text-align: center; }
}

/* ---------- real google reviews ---------- */
.g-rating {
  margin-top: 12px; font-size: .95rem; color: var(--slate); font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px;
}
.g-rating .g-stars { color: #f5a623; letter-spacing: 2px; }
.g-rating b { color: var(--ink); font-weight: 800; }
.testi-inner .who .avatar {
  width: 52px; height: 52px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 1.05rem; letter-spacing: .5px;
}
.testi-inner .who .r { display: inline-flex; align-items: center; gap: 6px; }
.testi-inner .who .r .g-ic { flex: none; }

/* ---------- footer social ---------- */
.f-social { display: flex; gap: 10px; margin-top: 16px; }
.f-social a {
  width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.08); color: #b9cbf0;
  border: 1px solid rgba(255,255,255,.12);
  transition: background .3s, color .3s, transform .3s var(--ease-spring);
}
.f-social a:hover { background: #1877f2; color: #fff; transform: translateY(-3px); border-color: #1877f2; }
