/* =========================================================
   ISB Domestic Staff — Home page styles
   ========================================================= */
:root {
  --navy: #0b2d5b;
  --navy-2: #0b3d7a;
  --blue: #1f8bff;
  --sky: #e8f3ff;
  --teal: #14b8a6;
  --mint: #2dd4bf;
  --orange: #ff6a3d;
  --orange-2: #ff8a3d;
  --yellow: #fbbf24;
  --green: #22c55e;
  --ink: #0f1f3a;
  --text: #475569;
  --muted: #64748b;
  --line: #e5edf7;
  --bg: #ffffff;
  --bg-soft: #f4f9ff;
  --card: #ffffff;
  --shadow-sm: 0 4px 14px rgba(15, 45, 91, .06);
  --shadow: 0 14px 40px rgba(15, 45, 91, .10);
  --shadow-lg: 0 26px 60px rgba(15, 45, 91, .16);
  --radius: 18px;
  --grad-text: linear-gradient(90deg, #0b3d7a 0%, #1f8bff 55%, #14b8a6 100%);
  --grad-cta: linear-gradient(135deg, #ff6a3d 0%, #ff8a3d 100%);
  --font: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --script: "Caveat", "Comic Sans MS", cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0; }
p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }

.ic { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic--fill { fill: currentColor; stroke: none; }

.text-grad {
  background: var(--grad-text);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: shine 6s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }

.eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--blue);
}
.eyebrow--center { color: var(--teal); }
.eyebrow--light { color: #cfe7ff; }

.script-note {
  font-family: var(--script); font-size: 1.45rem; line-height: 1.1; color: var(--navy-2);
  transform: rotate(-8deg); position: absolute; pointer-events: none;
}
.mini-heart { width: 20px; height: 20px; fill: none; stroke: #f43f5e; stroke-width: 2; display: inline-block; vertical-align: middle; animation: beat 1.4s ease-in-out infinite; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .8rem 1.4rem; border-radius: 999px; font-weight: 600; font-size: .95rem;
  border: 2px solid transparent; transition: transform .25s, box-shadow .25s, background .25s, color .25s;
  white-space: nowrap; position: relative; overflow: hidden;
}
.btn--lg { padding: 1rem 1.7rem; font-size: 1rem; }
.btn--primary { background: var(--grad-cta); color: #fff; box-shadow: 0 10px 24px rgba(255, 106, 61, .35); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(255, 106, 61, .45); }
.btn--primary .ic { transition: transform .25s; }
.btn--primary:hover .ic { transform: translateX(4px); }
.btn--ghost { background: #fff; color: var(--navy-2); border-color: #bcd9ff; }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-3px); box-shadow: var(--shadow); }
.btn--glow::after {
  content: ""; position: absolute; top: 0; left: -75%; width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-25deg); animation: sweep 3.2s ease-in-out infinite;
}
@keyframes sweep { 0%, 60% { left: -75%; } 100% { left: 130%; } }

/* ---------- Preloader & progress ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; background: #fff;
  transition: opacity .5s, visibility .5s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__house { position: relative; width: 90px; height: 90px; display: grid; place-items: center; }
.preloader__house img { width: 54px; animation: bob 1.2s ease-in-out infinite; }
.preloader__ring { position: absolute; inset: 0; border-radius: 50%; border: 3px solid var(--sky); border-top-color: var(--orange); animation: spin 1s linear infinite; }
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 1001; background: linear-gradient(90deg, var(--blue), var(--teal), var(--orange)); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: box-shadow .3s, padding .3s;
  padding: 14px 0;
}
.header.is-scrolled { box-shadow: 0 8px 30px rgba(15,45,91,.08); padding: 8px 0; }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand__mark { width: 48px; height: 48px; transition: transform .4s; }
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.06); }
.brand__text strong { white-space: nowrap; display: block; font-size: 1.25rem; color: var(--navy-2); font-weight: 800; letter-spacing: -.01em; }
.brand__text small { white-space: nowrap; display: block; font-size: .74rem; color: var(--muted); margin-top: -2px; }

.nav { display: flex; align-items: center; gap: 24px; }
.nav__link { white-space: nowrap; font-weight: 500; font-size: .92rem; color: var(--ink); position: relative; padding: 6px 0; }
.nav__link::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--blue); transform: scaleX(0); transform-origin: right; transition: transform .3s; }
.nav__link:hover, .nav__link.is-active { color: var(--blue); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__cta-mobile { display: none; }

.header__actions { display: flex; align-items: center; gap: 18px; }
.header__phone { display: flex; align-items: center; gap: 10px; }
.header__phone-ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--sky); color: var(--blue); animation: ring 2.4s ease-in-out infinite; }
.header__phone strong { white-space: nowrap; display: block; color: var(--ink); font-size: .95rem; }
.header__phone small { display: block; color: var(--blue); font-size: .72rem; margin-top: -3px; }
@keyframes ring { 0%, 100% { transform: rotate(0); } 5%, 15% { transform: rotate(-14deg); } 10%, 20% { transform: rotate(14deg); } 25% { transform: rotate(0); } }

.burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--sky); position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--navy-2); border-radius: 2px; transition: transform .3s, opacity .3s; }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 27px; }
.burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 50px 0 110px; background: linear-gradient(180deg, #f2f8ff 0%, #ffffff 100%); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__bg canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: drift 14s ease-in-out infinite alternate; }
.blob--1 { width: 420px; height: 420px; background: #cfe5ff; top: -120px; left: -120px; }
.blob--2 { width: 380px; height: 380px; background: #c9f3ec; bottom: -80px; right: 25%; animation-delay: -4s; }
.blob--3 { width: 300px; height: 300px; background: #ffe0d3; top: 10%; right: -80px; animation-delay: -8s; }
@keyframes drift { to { transform: translate(60px, 40px) scale(1.12); } }

.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero__title { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -.02em; margin: 14px 0 18px; }
.hero__lead { font-size: 1.2rem; font-weight: 500; color: var(--ink); margin-bottom: 12px; }
.hero__sub { max-width: 540px; }
.typer { color: var(--blue); font-weight: 600; }
.typer__caret { color: var(--orange); font-weight: 600; animation: blink .8s steps(1) infinite; margin-left: 1px; }
@keyframes blink { 50% { opacity: 0; } }
.hero__btns { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 32px; }
.hero__feats { display: flex; flex-wrap: wrap; gap: 26px; }
.hero__feats li { display: flex; align-items: center; gap: 10px; font-size: .82rem; font-weight: 500; color: var(--ink); line-height: 1.25; }
.feat-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 1.2rem; transition: transform .3s; }
.hero__feats li:hover .feat-ic { transform: translateY(-4px) rotate(-6deg); }
.feat-ic--green { background: #dcfce7; color: #16a34a; }
.feat-ic--blue { background: #dbeafe; color: var(--blue); }
.feat-ic--teal { background: #ccfbf1; color: #0d9488; }
.feat-ic--navy { background: #e0e7ff; color: var(--navy-2); }

.hero__visual { position: relative; min-height: 560px; }
.hero__img-main { position: absolute; left: 6%; top: 30px; width: 58%; aspect-ratio: 3/4; z-index: 2; }
.hero__img-main img { width: 100%; height: 100%; object-fit: cover; border-radius: 200px 200px 28px 28px; box-shadow: var(--shadow-lg); }
.hero__ring { position: absolute; inset: -14px; border-radius: 214px 214px 40px 40px; border: 2px dashed #9cc9ff; animation: spin-dash 30s linear infinite; z-index: -1; }
@keyframes spin-dash { to { filter: hue-rotate(360deg); } }
.hero__img-family { position: absolute; right: 0; top: 150px; width: 48%; aspect-ratio: 4/5; z-index: 1; }
.hero__img-family img { width: 100%; height: 100%; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow); }
.hero__note { position: absolute; left: -6%; top: 40px; z-index: 3; font-family: var(--script); font-size: 1.45rem; line-height: 1.1; color: var(--navy-2); transform: rotate(-10deg); }
.hero__note .draw-arrow { width: 70px; height: 52px; stroke: var(--navy-2); stroke-width: 2.2; stroke-linecap: round; display: block; margin: 4px 0 0 60px; }
.hero__note .mini-heart { position: absolute; right: -6px; bottom: 6px; }

.glass { background: rgba(255,255,255,.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.9); box-shadow: var(--shadow); border-radius: 18px; }
.float-card { position: absolute; z-index: 4; padding: 16px 18px; }
.float-card--top { top: 0; right: 0; min-width: 210px; }
.float-card__head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.float-card__head strong { font-size: .85rem; color: var(--ink); line-height: 1.25; }
.float-card__ic { width: 36px; height: 36px; border-radius: 10px; background: var(--sky); color: var(--blue); display: grid; place-items: center; font-size: 1.1rem; }
.ticks li { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--ink); margin-top: 5px; }
.ticks .ic { color: #fff; background: var(--green); border-radius: 50%; padding: 3px; width: 17px; height: 17px; stroke-width: 3; }
.float-card--bottom { right: 4%; bottom: 20px; display: flex; align-items: center; gap: 18px; transform: rotate(-4deg); }
.float-card--bottom strong { font-size: 1rem; color: var(--navy-2); line-height: 1.25; }
.beat { width: 34px; height: 34px; display: grid; place-items: center; color: #f43f5e; font-size: 1.6rem; animation: beat 1.2s ease-in-out infinite; }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.25); } 30% { transform: scale(1); } 45% { transform: scale(1.18); } }
.float-chip { position: absolute; left: 0; bottom: 30px; z-index: 4; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 999px; background: #fff; box-shadow: var(--shadow); font-size: .82rem; color: var(--ink); }
.float-chip strong { color: var(--orange); }
.avatars { display: flex; }
.avatars img { width: 32px; height: 32px; border-radius: 50%; border: 2px solid #fff; object-fit: cover; margin-left: -10px; }
.avatars img:first-child { margin-left: 0; }

[data-float] { animation: floaty 5s ease-in-out infinite; }
.float-card--bottom[data-float] { animation-name: floaty-r; animation-delay: -2s; }
.float-chip[data-float] { animation-delay: -3.5s; }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
@keyframes floaty-r { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

.wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 70px; fill: #fff; }

/* ---------- Marquee ---------- */
.marquee { background: var(--navy-2); color: #fff; overflow: hidden; padding: 14px 0; position: relative; z-index: 2; }
.marquee__track { display: flex; gap: 46px; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: .95rem; white-space: nowrap; }
.marquee .ic { color: var(--yellow); animation: spin 6s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 90px 0; position: relative; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 46px; }
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 700; margin: 10px 0 12px; }
.section-head p:not(.eyebrow) { color: var(--muted); }
.section-head--left { text-align: center; margin-bottom: 30px; }
.underline-draw { position: relative; white-space: nowrap; }
.underline-draw::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 8px; width: 100%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 10'%3E%3Cpath d='M2 7c50-6 140-6 196-1' fill='none' stroke='%23ff6a3d' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center/100% 100%; transform: scaleX(0); transform-origin: left; transition: transform 1s .4s ease; }
.is-visible .underline-draw::after { transform: scaleX(1); }

/* ---------- Services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.svc {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .35s, border-color .35s, transform .35s;
  transform-style: preserve-3d; will-change: transform;
}
.svc:hover { box-shadow: var(--shadow-lg); border-color: #bcd9ff; }
.svc__img { height: 150px; overflow: hidden; background: linear-gradient(180deg, #eaf4ff, #fff); position: relative; }
.svc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.svc:hover .svc__img img { transform: scale(1.1); }
.svc__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(11,61,122,.25)); opacity: 0; transition: opacity .4s; }
.svc:hover .svc__img::after { opacity: 1; }
.svc__img--icon { display: grid; place-items: center; }
.spin-gear { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, #bfe3ff, #e6f4ff); color: var(--blue); font-size: 2.6rem; box-shadow: 0 0 0 10px rgba(31,139,255,.08); }
.spin-gear .ic { animation: spin 8s linear infinite; }
.svc__body { padding: 16px 18px 20px; }
.svc__body h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 4px; transition: color .3s; }
.svc:hover .svc__body h3 { color: var(--blue); }
.svc__body p { font-size: .82rem; color: var(--muted); line-height: 1.45; }
.svc__go { position: absolute; right: 14px; top: 124px; width: 38px; height: 38px; border-radius: 50%; background: var(--grad-cta); color: #fff; display: grid; place-items: center; transform: scale(0) rotate(-90deg); transition: transform .35s cubic-bezier(.3,1.6,.5,1); box-shadow: 0 8px 18px rgba(255,106,61,.4); }
.svc:hover .svc__go { transform: scale(1) rotate(0); }

/* ---------- How it works ---------- */
.how { background: linear-gradient(180deg, #eef6ff, #f7fbff); overflow: hidden; }
.how__dots { position: absolute; inset: 0; background-image: radial-gradient(#cfe2fb 1.4px, transparent 1.4px); background-size: 22px 22px; opacity: .5; mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent); pointer-events: none; }
.how .container { position: relative; }
.how__note { right: 0; top: -10px; }
.how__note svg { width: 60px; height: 46px; stroke: var(--navy-2); stroke-width: 2; stroke-linecap: round; display: block; margin-left: 30px; }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.steps__line { position: absolute; left: 12%; right: 12%; top: 38px; width: 76%; height: 20px; overflow: visible; }
.steps__line path { stroke: #9cc9ff; stroke-width: 3; stroke-dasharray: 10 10; fill: none; stroke-dashoffset: 1000; transition: stroke-dashoffset 2.4s ease; }
.steps.is-visible .steps__line path, .steps__line.is-drawn path { stroke-dashoffset: 0; animation: dash-move 1.2s linear infinite 2.4s; }
@keyframes dash-move { to { stroke-dashoffset: -20; } }
.step { text-align: left; position: relative; z-index: 1; }
.step__ic { position: relative; width: 78px; height: 78px; border-radius: 50%; margin: 0 auto 22px; display: grid; place-items: center; color: #fff; font-size: 1.9rem; box-shadow: 0 14px 30px rgba(31,139,255,.3); transition: transform .4s; }
.step:hover .step__ic { transform: translateY(-6px) scale(1.06); }
.step__ic--blue { background: linear-gradient(135deg, #4facfe, #1f6fff); }
.step__ic--teal { background: linear-gradient(135deg, #34d3b6, #0ea5a0); box-shadow: 0 14px 30px rgba(20,184,166,.3); }
.step__ic--sky { background: linear-gradient(135deg, #60a5fa, #2563eb); }
.step__ic--mint { background: linear-gradient(135deg, #5eead4, #14b8a6); box-shadow: 0 14px 30px rgba(20,184,166,.3); }
.pulse { position: absolute; inset: 0; border-radius: 50%; border: 2px solid currentColor; color: inherit; opacity: 0; }
.step__ic--blue .pulse, .step__ic--sky .pulse { border-color: #60a5fa; }
.step__ic--teal .pulse, .step__ic--mint .pulse { border-color: #2dd4bf; }
.step__ic .pulse { animation: pulse 2.4s ease-out infinite; }
.step:nth-child(3) .pulse { animation-delay: .6s; } .step:nth-child(4) .pulse { animation-delay: 1.2s; } .step:nth-child(5) .pulse { animation-delay: 1.8s; }
@keyframes pulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.7); opacity: 0; } }
.step__txt { display: flex; gap: 12px; align-items: flex-start; justify-content: center; }
.step__n { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font-weight: 700; font-size: .9rem; }
.step:nth-child(3) .step__n, .step:nth-child(5) .step__n { background: var(--teal); }
.step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.step p { font-size: .85rem; color: var(--muted); }

/* ---------- Why ---------- */
.why { padding-top: 70px; padding-bottom: 70px; }
.why__grid { display: grid; grid-template-columns: .85fr 1.4fr; gap: 50px; align-items: center; }
.why__visual { position: relative; }
.why__img { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/4.3; }
.why__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s; }
.why__visual:hover .why__img img { transform: scale(1.06); }
.why__note { left: -10px; top: -40px; z-index: 2; }
.why__badge { position: absolute; right: -24px; bottom: 30px; display: flex; align-items: center; gap: 12px; padding: 12px 18px; z-index: 2; }
.why__badge-ic { width: 42px; height: 42px; border-radius: 12px; background: #fff7e6; color: #f59e0b; display: grid; place-items: center; font-size: 1.3rem; }
.why__badge strong { display: block; color: var(--ink); }
.why__badge small { color: var(--muted); font-size: .76rem; }
.why__cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.why-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 18px; text-align: center; box-shadow: var(--shadow-sm); transition: transform .35s, box-shadow .35s; position: relative; overflow: hidden; }
.why-card::before { content: ""; position: absolute; inset: auto 0 0 0; height: 4px; background: linear-gradient(90deg, var(--blue), var(--teal)); transform: scaleX(0); transition: transform .4s; }
.why-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.why-card:hover::before { transform: scaleX(1); }
.why-card__ic { width: 58px; height: 58px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center; color: #fff; font-size: 1.5rem; transition: transform .5s; }
.why-card:hover .why-card__ic { transform: rotateY(360deg); }
.why-card__ic--teal { background: linear-gradient(135deg, #5eead4, #14b8a6); }
.why-card__ic--orange { background: linear-gradient(135deg, #ff9a5a, #ff5a2d); }
.why-card__ic--blue { background: linear-gradient(135deg, #60a5fa, #2563eb); }
.why-card__ic--yellow { background: linear-gradient(135deg, #fcd34d, #f59e0b); }
.why-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.why-card p { font-size: .84rem; color: var(--muted); }

/* ---------- Testimonials ---------- */
.testi { background: var(--bg-soft); padding-bottom: 70px; }
.slider { position: relative; }
.slider__viewport { overflow: hidden; padding: 10px 4px 20px; }
.slider__track { display: flex; gap: 24px; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.t-card { flex: 0 0 calc((100% - 48px) / 3); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 22px; box-shadow: var(--shadow-sm); position: relative; transition: transform .35s, box-shadow .35s; }
.t-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.t-card__q { width: 34px; height: 34px; fill: #cfe2fb; position: absolute; left: 22px; top: 22px; }
.t-card p { padding-left: 48px; font-size: .9rem; color: var(--text); min-height: 72px; }
.stars { display: flex; gap: 3px; margin: 12px 0 14px 48px; }
.stars svg { width: 16px; height: 16px; fill: var(--yellow); }
.t-card__who { display: flex; align-items: center; gap: 12px; }
.t-card__who img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 3px solid var(--sky); }
.t-card__who strong { display: block; color: var(--ink); font-size: .95rem; }
.t-card__who small { color: var(--muted); font-size: .78rem; }
.slider__btn { position: absolute; top: 42%; transform: translateY(-50%); z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy-2); display: grid; place-items: center; box-shadow: var(--shadow-sm); transition: background .25s, color .25s, transform .25s; }
.slider__btn:hover { background: var(--blue); color: #fff; transform: translateY(-50%) scale(1.08); }
.slider__btn--prev { left: -22px; } .slider__btn--next { right: -22px; }
.slider__dots { display: flex; justify-content: center; gap: 8px; margin-top: 8px; }
.slider__dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: #bcd9ff; transition: width .3s, background .3s; }
.slider__dots button.is-active { width: 28px; background: var(--orange); }

/* ---------- Stats ---------- */
.stats-wrap { background: var(--bg-soft); padding: 10px 0 60px; }
.stats-wrap .container { position: relative; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 22px; box-shadow: var(--shadow); padding: 26px 10px; margin-right: 170px; }
.stat { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 4px 16px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat__ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 1.6rem; transition: transform .4s; }
.stat:hover .stat__ic { transform: rotate(-10deg) scale(1.1); }
.stat__ic--blue { background: #dbeafe; color: var(--blue); }
.stat__ic--green { background: #ccfbf1; color: #0d9488; }
.stat__ic--yellow { background: #fef3c7; color: #f59e0b; }
.stat__ic--teal { background: #cffafe; color: #0891b2; }
.stat strong { display: block; font-size: 1.7rem; color: var(--ink); font-weight: 800; line-height: 1.1; }
.stat small { color: var(--muted); font-size: .82rem; }
.stats__note { right: 0; top: 0; }

/* ---------- CTA ---------- */
.cta-wrap { padding: 20px 0 70px; background: linear-gradient(180deg, var(--bg-soft) 50%, #fff 50%); }
.cta { position: relative; border-radius: 26px; overflow: hidden; display: grid; grid-template-columns: 1.5fr 1fr; gap: 30px; align-items: center; padding: 46px 54px; color: #fff; box-shadow: var(--shadow-lg); }
.cta__bg { position: absolute; inset: 0; z-index: 0; background: linear-gradient(110deg, #0b3d7a, #127fa8); }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .32; mix-blend-mode: luminosity; animation: kenburns 22s ease-in-out infinite alternate; }
.cta__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(11,61,122,.95) 20%, rgba(18,127,168,.75) 70%, rgba(20,184,166,.55)); }
@keyframes kenburns { to { transform: scale(1.15) translateX(-3%); } }
.cta__shape { position: absolute; border-radius: 50%; z-index: 1; border: 2px solid rgba(255,255,255,.18); }
.cta__shape--1 { width: 260px; height: 260px; right: -60px; top: -90px; animation: spin 40s linear infinite; border-style: dashed; }
.cta__shape--2 { width: 140px; height: 140px; left: 40%; bottom: -70px; background: rgba(255,255,255,.06); animation: floaty 6s ease-in-out infinite; }
.cta__content, .cta__side { position: relative; z-index: 2; }
.cta h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; margin: 8px 0 10px; }
.cta__content > p:not(.eyebrow) { color: #dbeafe; }
.cta__form { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 10px; margin-top: 24px; }
.cta__form input, .cta__form select { width: 100%; padding: .8rem 1rem; border-radius: 12px; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.14); color: #fff; font: inherit; font-size: .9rem; outline: none; transition: background .25s, border-color .25s; }
.cta__form input::placeholder { color: #cfe2fb; }
.cta__form select option { color: var(--ink); }
.cta__form input:focus, .cta__form select:focus { background: rgba(255,255,255,.24); border-color: #fff; }
.cta__form input.is-invalid { border-color: #fca5a5; animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.cta__side { display: flex; flex-direction: column; align-items: flex-end; gap: 18px; }
.cta__phone { display: flex; align-items: center; gap: 12px; }
.cta__phone-ic { width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.16); display: grid; place-items: center; font-size: 1.2rem; animation: ring 2.4s ease-in-out infinite; }
.cta__phone strong { display: block; font-size: 1.3rem; }
.cta__phone small { color: #cfe2fb; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 34px 0 0; }
.footer__top { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 30px; align-items: center; padding-bottom: 26px; }
.footer__mid { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; font-size: .9rem; color: var(--ink); }
.footer__nav a:hover { color: var(--blue); }
.socials { display: flex; gap: 10px; }
.socials a { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; transition: transform .3s; }
.socials a:hover { transform: translateY(-4px) rotate(8deg); }
.s-fb { background: #1877f2; } .s-ig { background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af); } .s-in { background: #0a66c2; } .s-yt { background: #ff0000; }
.footer__tag { text-align: right; font-size: .82rem; color: var(--muted); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); padding: 16px 0 22px; font-size: .8rem; color: var(--muted); }
.footer__bottom a:hover { color: var(--blue); }
.heart-red { color: #ef4444; vertical-align: -2px; animation: beat 1.4s infinite; }

/* ---------- Floating actions ---------- */
.fab-wa { position: fixed; left: 22px; bottom: 22px; z-index: 900; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; font-size: 1.7rem; box-shadow: 0 10px 26px rgba(37,211,102,.45); }
.fab-wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25d366; z-index: -1; animation: pulse 2s ease-out infinite; }
.fab-wa__tip { position: absolute; left: 70px; background: var(--ink); color: #fff; font-size: .8rem; padding: 6px 12px; border-radius: 8px; white-space: nowrap; opacity: 0; transform: translateX(-8px); transition: .3s; pointer-events: none; }
.fab-wa:hover .fab-wa__tip { opacity: 1; transform: none; }
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 900; width: 48px; height: 48px; border: 0; border-radius: 14px; background: var(--navy-2); color: #fff; display: grid; place-items: center; font-size: 1.3rem; opacity: 0; visibility: hidden; transform: translateY(20px); transition: .35s; box-shadow: var(--shadow); }
.to-top.is-shown { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--orange); }

/* ---------- Reveal animations ---------- */
.reveal, .reveal-left { opacity: 0; transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); }
.reveal { transform: translateY(40px); }
.reveal-left { transform: translateX(-60px); }
.reveal.is-visible, .reveal-left.is-visible { opacity: 1; transform: none; }
.svc.reveal.is-visible { transition: opacity .9s, transform .2s, box-shadow .35s, border-color .35s; }
.draw-arrow path, .how__note .draw { stroke-dasharray: 200; stroke-dashoffset: 200; transition: stroke-dashoffset 1.6s .6s ease; }
.is-visible .draw-arrow path, .is-visible .draw, .is-visible.how__note .draw { stroke-dashoffset: 0; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* Fallback art for images that fail to load */
img.is-fallback { object-fit: cover; }

/* ---------- Responsive ---------- */
@media (max-width: 1400px) {
  .header__phone { display: none; }
}
@media (max-width: 1180px) {
  .svc-grid { grid-template-columns: repeat(4, 1fr); }
  .why__cards { grid-template-columns: repeat(2, 1fr); }
  .stats { margin-right: 0; }
  .stats__note { display: none; }
}
@media (max-width: 980px) {
  .burger { display: block; }
  .header__cta { display: none; }
  .nav {
    position: fixed; top: 0; right: 0; height: 100vh; width: min(320px, 85vw); background: #fff; flex-direction: column; align-items: flex-start;
    gap: 6px; padding: 90px 28px 28px; box-shadow: -20px 0 50px rgba(15,45,91,.15); transform: translateX(100%); visibility: hidden; transition: transform .4s cubic-bezier(.2,.8,.2,1), visibility .4s; z-index: -1;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav__link { font-size: 1.05rem; padding: 10px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav__link::after { display: none; }
  .nav__cta-mobile { display: inline-flex; margin-top: 18px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { min-height: 520px; max-width: 600px; margin: 10px auto 0; width: 100%; }
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 46px; }
  .steps__line, .how__note { display: none; }
  .why__grid { grid-template-columns: 1fr; }
  .why__visual { max-width: 460px; margin: 0 auto; }
  .t-card { flex-basis: calc((100% - 24px) / 2); }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .stat:nth-child(3) { border-left: 0; }
  .cta { grid-template-columns: 1fr; padding: 40px 30px; }
  .cta__side { align-items: flex-start; }
  .cta__form { grid-template-columns: 1fr 1fr; }
  .footer__top { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .footer__tag { text-align: center; }
}
@media (max-width: 640px) {
  .brand__text strong { font-size: 1.05rem; }
  .brand__text small { font-size: .68rem; }
  .brand__mark { width: 40px; height: 40px; }
  .hero { padding-top: 30px; }
  .hero__btns .btn { width: 100%; }
  .hero__feats { gap: 16px; display: grid; grid-template-columns: 1fr 1fr; }
  .hero__visual { min-height: 430px; }
  .hero__img-main { width: 64%; left: 0; top: 50px; }
  .hero__img-family { width: 50%; top: 170px; }
  .hero__note { display: none; }
  .float-card--top { min-width: 0; padding: 12px; }
  .float-card--top .ticks { display: none; }
  .float-card--bottom { bottom: 0; padding: 12px 14px; }
  .float-chip { bottom: 70px; font-size: .74rem; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .svc__img { height: 120px; }
  .svc__go { top: 96px; width: 32px; height: 32px; }
  .svc__body { padding: 12px 14px 16px; }
  .steps { grid-template-columns: 1fr; }
  .why__note { display: none; }
  .why__badge { right: 10px; }
  .why__cards { grid-template-columns: 1fr 1fr; gap: 12px; }
  .why-card { padding: 20px 12px; }
  .t-card { flex-basis: 100%; }
  .slider__btn { display: none; }
  .stats { grid-template-columns: 1fr 1fr; padding: 18px 6px; }
  .stat { flex-direction: column; text-align: center; gap: 8px; padding: 4px 8px; }
  .stat strong { font-size: 1.35rem; }
  .cta { padding: 32px 20px; }
  .cta__form { grid-template-columns: 1fr; }
  .footer__bottom { justify-content: center; text-align: center; }
  .section { padding: 64px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-left { opacity: 1; transform: none; }
}
