/* ==========================================================
   Sam Peters Law Practice | Site styles
   Palette: white + blues. Type: Google Sans + Roboto.
   ========================================================== */

:root {
  --navy: #061a3a;
  --ink: #0a2552;
  --deep: #0d3276;
  --blue: #1a56db;
  --blue-2: #3b7bf6;
  --sky: #e8f0fe;
  --mist: #f4f8ff;
  --ice: #d2e3fc;
  --line: #dce6f7;
  --text: #1c2740;
  --muted: #5a6a8a;
  --white: #ffffff;

  --display: "Google Sans", "Google Sans Display", "Roboto", system-ui, sans-serif;
  --body: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(6, 26, 58, .06), 0 2px 8px rgba(6, 26, 58, .05);
  --shadow: 0 10px 30px -10px rgba(10, 37, 82, .22);
  --shadow-lg: 0 30px 60px -20px rgba(10, 37, 82, .35);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 { font-family: var(--display); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; font-weight: 500; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--blue); color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 110px 0; position: relative; }
.section.tight { padding: 80px 0; }
.bg-mist { background: var(--mist); }
.bg-navy { background: var(--navy); color: #c9d6f2; }
.bg-navy h2, .bg-navy h3, .bg-navy h4 { color: #fff; }
.center { text-align: center; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-size: 13px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--blue);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.center .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.bg-navy .eyebrow, .on-dark .eyebrow { color: #8fb4ff; }
.h-xl { font-size: clamp(40px, 6.2vw, 84px); line-height: 1.02; letter-spacing: -.03em; }
.h-lg { font-size: clamp(32px, 4.2vw, 54px); letter-spacing: -.025em; }
.h-md { font-size: clamp(24px, 2.6vw, 34px); }
.lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--muted); max-width: 640px; }
.center .lead { margin-left: auto; margin-right: auto; }
.bg-navy .lead { color: #aebfe2; }
.grad-text {
  background: linear-gradient(100deg, var(--blue) 0%, #5b9bff 50%, var(--blue) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 6s linear infinite;
}
.on-dark .grad-text, .hero .grad-text, .page-hero .grad-text, .band .grad-text, .bg-navy .grad-text, .cta .grad-text { background-image: linear-gradient(100deg, #8fb4ff 0%, #ffffff 50%, #8fb4ff 100%); background-size: 200% auto; }
@keyframes shine { to { background-position: 200% center; } }
.serif-i { font-style: italic; font-weight: 400; }

/* ---------- Buttons (Gmail-style pills) ---------- */
.btn {
  --bg: var(--blue); --fg: #fff;
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px; border-radius: 100px; border: 0;
  background: var(--bg); color: var(--fg);
  font-family: var(--display); font-weight: 500; font-size: 15px; letter-spacing: .01em;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), color .3s;
  box-shadow: 0 8px 20px -8px rgba(26, 86, 219, .6);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--navy); transform: translateY(101%);
  transition: transform .5s var(--ease); border-radius: inherit;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(26, 86, 219, .7); }
.btn:hover::before { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn.ghost { --bg: transparent; --fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55); }
.btn.ghost::before { background: #fff; }
.btn.ghost:hover { color: var(--navy); }
.btn.light { --bg: #fff; --fg: var(--blue); }
.btn.light::before { background: var(--sky); }
.btn.outline { --bg: transparent; --fg: var(--blue); box-shadow: inset 0 0 0 1.5px var(--blue); }
.btn.outline::before { background: var(--blue); }
.btn.outline:hover { color: #fff; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display); font-weight: 500; color: var(--blue);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center;
  background: var(--navy); transition: clip-path 1s var(--ease) .1s;
  clip-path: inset(0 0 0 0);
}
.preloader.done { clip-path: inset(0 0 100% 0); }
.preloader .mark { width: 92px; height: 92px; }
.preloader .mark path, .preloader .mark circle { stroke: #fff; stroke-width: 2; fill: none; stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 1.4s var(--ease) forwards; }
.preloader .mark text { fill: #fff; opacity: 0; animation: fadeIn .6s .8s forwards; font-family: var(--display); }
.preloader .bar { position: absolute; bottom: 40px; left: 50%; width: 160px; height: 2px; background: rgba(255,255,255,.15); transform: translateX(-50%); overflow: hidden; border-radius: 2px; }
.preloader .bar::after { content: ""; position: absolute; inset: 0; background: #8fb4ff; transform: translateX(-100%); animation: load 1.2s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes load { to { transform: translateX(0); } }

/* ---------- Header ---------- */
.topbar {
  background: var(--navy); color: #a9bce3; font-size: 13px;
  position: relative; z-index: 60;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; height: 40px; }
.topbar a:hover { color: #fff; }
.topbar .tb-left, .topbar .tb-right { display: flex; gap: 22px; align-items: center; }
.topbar svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: 6px; opacity: .8; }

.header {
  position: fixed; left: 0; right: 0; top: 40px; z-index: 50;
  transition: top .4s var(--ease), background .4s, box-shadow .4s, backdrop-filter .4s;
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; transition: height .4s var(--ease); }
.header.scrolled { top: 0; background: rgba(255,255,255,.86); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgba(6,26,58,.3); }
.header.scrolled .wrap { height: 70px; }
.header.hide { transform: translateY(-110%); }
.header { transition: top .4s var(--ease), background .4s, box-shadow .4s, transform .5s var(--ease); }

.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand .logo { width: 46px; height: 46px; flex: none; }
.brand .logo .ring { stroke: currentColor; }
.brand .name { font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: .02em; line-height: 1.05; }
.brand .name small { display: block; font-weight: 400; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; opacity: .75; margin-top: 4px; }
.header.scrolled .brand, .header.solid .brand { color: var(--navy); }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  position: relative; padding: 10px 16px; border-radius: 100px;
  font-family: var(--display); font-weight: 500; font-size: 15px; color: rgba(255,255,255,.9);
  transition: background .3s, color .3s;
}
.nav a:hover { background: rgba(255,255,255,.12); color: #fff; }
.nav a.active { background: rgba(255,255,255,.16); color: #fff; }
.header.scrolled .nav a, .header.solid .nav a { color: var(--text); }
.header.scrolled .nav a:hover, .header.solid .nav a:hover { background: var(--sky); color: var(--blue); }
.header.scrolled .nav a.active, .header.solid .nav a.active { background: var(--sky); color: var(--blue); }
.nav .btn { margin-left: 12px; padding: 12px 22px; }
.header .nav .btn, .header.scrolled .nav .btn { color: #fff; }

.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--blue); position: relative; box-shadow: 0 8px 20px -8px rgba(26,86,219,.7); }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; border-radius: 2px; transition: transform .4s var(--ease), opacity .3s, top .4s var(--ease); }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 28px; }
body.menu-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

.drawer {
  position: fixed; inset: 0; z-index: 45; background: var(--navy);
  display: flex; flex-direction: column; justify-content: center; padding: 100px 32px 40px;
  clip-path: circle(0 at calc(100% - 46px) 60px); transition: clip-path .8s var(--ease);
}
body.menu-open .drawer { clip-path: circle(150% at calc(100% - 46px) 60px); }
body.menu-open { overflow: hidden; }
body.menu-open .header { background: transparent; box-shadow: none; backdrop-filter: none; }
body.menu-open .header .brand { color: #fff; }
body.menu-open .header .burger { background: rgba(255,255,255,.16); box-shadow: none; }
body.menu-open .header .burger span { background: #fff; }
.drawer a.dl { display: block; font-family: var(--display); font-size: clamp(34px, 9vw, 52px); color: #fff; padding: 6px 0; opacity: 0; transform: translateY(30px); transition: opacity .5s, transform .6s var(--ease), color .3s; }
.drawer a.dl:hover, .drawer a.dl.active { color: #8fb4ff; }
body.menu-open .drawer a.dl { opacity: 1; transform: none; }
body.menu-open .drawer a.dl:nth-child(1) { transition-delay: .2s; }
body.menu-open .drawer a.dl:nth-child(2) { transition-delay: .26s; }
body.menu-open .drawer a.dl:nth-child(3) { transition-delay: .32s; }
body.menu-open .drawer a.dl:nth-child(4) { transition-delay: .38s; }
body.menu-open .drawer a.dl:nth-child(5) { transition-delay: .44s; }
.drawer .dmeta { margin-top: 40px; color: #8ea3cc; font-size: 14px; line-height: 2; }

/* ---------- Hero slider ---------- */
.hero { position: relative; height: 100vh; min-height: 740px; max-height: 1000px; background: var(--navy); overflow: hidden; color: #fff; }
.hero .slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.2s var(--ease), visibility 1.2s; }
.hero .slide.is-active { opacity: 1; visibility: visible; z-index: 2; }
.hero .slide .bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.18); transition: transform 8s linear; }
.hero .slide.is-active .bg { transform: scale(1.02); }
.hero .slide::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(6,26,58,.94) 0%, rgba(6,26,58,.72) 42%, rgba(13,50,118,.25) 100%),
    linear-gradient(0deg, rgba(6,26,58,.7) 0%, transparent 40%);
}
.hero .content { position: absolute; inset: 0; z-index: 3; display: flex; align-items: center; padding: 124px 0 130px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 60px; align-items: center; }
.hero .copy { max-width: 760px; min-width: 0; }
.hero .h-xl { font-size: clamp(38px, 5vw, 76px); }
.hero .kicker {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 100px;
  background: rgba(255,255,255,.1); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.18);
  font-family: var(--display); font-size: 13px; letter-spacing: .06em; margin-bottom: 26px;
}
.hero .kicker b { background: var(--blue); padding: 4px 10px; border-radius: 100px; font-weight: 500; font-size: 12px; }
.hero .h-xl { color: #fff; margin-bottom: 24px; }
.hero .h-xl .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero .h-xl .line > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); }
.hero .slide.is-active .h-xl .line > span { transform: none; }
.hero .slide.is-active .h-xl .line:nth-child(2) > span { transition-delay: .12s; }
.hero .slide.is-active .h-xl .line:nth-child(3) > span { transition-delay: .24s; }
.hero p.sub { font-size: clamp(16px, 1.4vw, 19px); color: #c6d4f0; max-width: 560px; opacity: 0; transform: translateY(20px); transition: all 1s var(--ease) .45s; }
.hero .kicker, .hero .actions { opacity: 0; transform: translateY(20px); transition: all 1s var(--ease) .1s; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; transition-delay: .6s; }
.hero .slide.is-active .kicker, .hero .slide.is-active p.sub, .hero .slide.is-active .actions { opacity: 1; transform: none; }

.hero-ui { position: absolute; z-index: 5; left: 0; right: 0; bottom: 44px; }
.hero-ui .wrap { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.hero-dots { display: flex; gap: 22px; flex: 1; max-width: 640px; }
.hero-dots button {
  flex: 1; background: none; border: 0; padding: 14px 0 0; text-align: left; color: rgba(255,255,255,.78);
  font-family: var(--display); font-size: 13px; position: relative; transition: color .3s;
}
.hero-dots button::before, .hero-dots button::after { content: ""; position: absolute; top: 0; left: 0; height: 2px; border-radius: 2px; }
.hero-dots button::before { right: 0; background: rgba(255,255,255,.2); }
.hero-dots button::after { width: 0; background: #fff; }
.hero-dots button.is-active { color: #fff; }
.hero-dots button.is-active::after { animation: progress var(--dur, 7s) linear forwards; }
.hero-dots button span { display: block; font-size: 11px; letter-spacing: .14em; opacity: .85; }
@keyframes progress { to { width: 100%; } }
.hero-arrows { display: flex; gap: 10px; }
.circle-btn {
  width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.06);
  color: #fff; display: grid; place-items: center; backdrop-filter: blur(6px); transition: background .3s, border-color .3s, transform .3s var(--ease);
}
.circle-btn:hover { background: #fff; color: var(--navy); transform: scale(1.06); }
.circle-btn svg { width: 20px; height: 20px; }
.circle-btn.dark { border-color: var(--line); color: var(--navy); background: #fff; }
.circle-btn.dark:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

.hero-card {
  position: relative; width: 100%; padding: 26px; border-radius: 22px;
  background: rgba(6,26,58,.55); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  opacity: 0; transform: translateX(40px); transition: opacity 1s var(--ease) .5s, transform 1.1s var(--ease) .5s;
}
.hero .slide.is-active .hero-card { opacity: 1; transform: none; animation: floaty 6s ease-in-out 1.6s infinite; }
.hero-card .hc-top { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.hero-card .hc-ico { width: 44px; height: 44px; border-radius: 14px; background: var(--blue); display: grid; place-items: center; }
.hero-card .hc-ico svg { width: 22px; height: 22px; color: #fff; }
.hero-card h4 { color: #fff; font-size: 17px; margin: 0; }
.hero-card p { font-size: 14px; color: #dbe5fa; margin: 0 0 14px; }
.hero-card .hc-list li { display: flex; gap: 10px; align-items: center; font-size: 14px; padding: 7px 0; border-top: 1px solid rgba(255,255,255,.12); color: #e5edff; }
.hero-card .hc-list svg { width: 16px; height: 16px; color: #8fb4ff; flex: none; }
@keyframes floaty { 50% { transform: translateY(-12px); } }
.scroll-cue { position: absolute; z-index: 5; left: 50%; bottom: 120px; transform: translateX(-50%); display: none; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; min-height: 560px; padding: 210px 0 110px; color: #fff; overflow: hidden; background: var(--navy); }
.page-hero .bg { position: absolute; inset: -60px 0; background-size: cover; background-position: center; will-change: transform; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(6,26,58,.96) 10%, rgba(6,26,58,.7) 55%, rgba(26,86,219,.35)); }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; max-width: 880px; }
.page-hero .lead { color: #c6d4f0; }
.crumbs { display: flex; gap: 10px; align-items: center; font-family: var(--display); font-size: 14px; color: #9fb4de; margin-bottom: 22px; }
.crumbs a:hover { color: #fff; }
.crumbs svg { width: 14px; height: 14px; }
.page-hero .ph-deco { position: absolute; right: -120px; bottom: -160px; width: 520px; height: 520px; z-index: 1; opacity: .18; animation: spin 60s linear infinite; }

/* ---------- Marquee ---------- */
.marquee { background: var(--blue); color: #fff; padding: 22px 0; overflow: hidden; position: relative; z-index: 3; }
.marquee.alt { background: var(--sky); color: var(--navy); }
.marquee .track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.marquee .item { display: flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--display); font-size: clamp(18px, 2vw, 26px); font-weight: 500; white-space: nowrap; }
.marquee .item svg { width: 22px; height: 22px; opacity: .7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Reveal animations ---------- */
[data-reveal] { opacity: 0; transition: opacity 1s var(--ease), transform 1.1s var(--ease), clip-path 1.2s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal="up"] { transform: translateY(46px); }
[data-reveal="left"] { transform: translateX(-60px); }
[data-reveal="right"] { transform: translateX(60px); }
[data-reveal="zoom"] { transform: scale(.9); }
[data-reveal="mask"] { opacity: 1; clip-path: inset(0 0 100% 0); }
[data-reveal="wipe"] { opacity: 1; clip-path: inset(0 100% 0 0); }
[data-reveal].in { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; clip-path: none; }
}

/* ---------- Intro / split ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 80px; align-items: center; }
.split.rev { grid-template-columns: 1fr 1.05fr; }
.stack { position: relative; min-height: 600px; }
.stack .s-main { position: absolute; left: 0; top: 0; width: 74%; height: 88%; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.stack .s-sub { position: absolute; right: 0; bottom: 0; width: 52%; height: 54%; border-radius: var(--radius-lg); overflow: hidden; border: 8px solid #fff; box-shadow: var(--shadow-lg); }
.stack img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.stack .s-main:hover img, .stack .s-sub:hover img { transform: scale(1.06); }
.badge-spin { position: absolute; left: 62%; top: 6%; width: 150px; height: 150px; z-index: 3; border-radius: 50%; background: var(--blue); display: grid; place-items: center; box-shadow: 0 20px 40px -12px rgba(26,86,219,.7); }
.badge-spin svg.ring-text { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.badge-spin svg.ring-text text { fill: #fff; font-family: var(--display); font-size: 11.5px; letter-spacing: 3.2px; text-transform: uppercase; }
.badge-spin .core { width: 54px; height: 54px; color: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }
.exp-chip { position: absolute; left: -20px; bottom: 60px; z-index: 3; background: #fff; border-radius: 20px; padding: 18px 22px; box-shadow: var(--shadow-lg); display: flex; gap: 14px; align-items: center; animation: floaty2 5s ease-in-out infinite; }
.exp-chip .num { font-family: var(--display); font-size: 40px; font-weight: 700; color: var(--blue); line-height: 1; }
.exp-chip .t { font-size: 13px; line-height: 1.4; color: var(--muted); max-width: 120px; }
@keyframes floaty2 { 50% { transform: translateY(-10px); } }

.checks li { display: flex; gap: 14px; padding: 10px 0; align-items: flex-start; }
.checks .ck { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--sky); color: var(--blue); display: grid; place-items: center; margin-top: 2px; }
.checks .ck svg { width: 14px; height: 14px; }
.checks b { font-family: var(--display); font-weight: 500; color: var(--navy); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow); position: relative; z-index: 4; }
.stat { padding: 38px 30px; border-right: 1px solid var(--line); position: relative; }
.stat:last-child { border-right: 0; }
.stat .n { font-family: var(--display); font-size: clamp(40px, 4vw, 58px); font-weight: 700; color: var(--navy); line-height: 1; letter-spacing: -.03em; }
.stat .n sup { font-size: .45em; color: var(--blue); vertical-align: top; margin-left: 2px; }
.stat .l { color: var(--muted); font-size: 15px; margin-top: 10px; }
.stat::before { content: ""; position: absolute; left: 30px; top: 0; width: 40px; height: 3px; background: var(--blue); border-radius: 0 0 3px 3px; }
.stats-lift { margin-top: -70px; }

/* ---------- Section head ---------- */
.shead { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 60px; flex-wrap: wrap; }
.shead .lead { margin: 0; }

/* ---------- Practice cards ---------- */
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pcard {
  position: relative; padding: 34px 28px 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  overflow: hidden; isolation: isolate; transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .4s, color .4s;
  display: flex; flex-direction: column; min-height: 300px;
}
.pcard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, var(--blue) 0%, var(--deep) 100%); transform: translateY(101%); transition: transform .7s var(--ease); }
.pcard:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; color: #d4e2ff; }
.pcard:hover::before { transform: none; }
.pcard .num { position: absolute; right: 22px; top: 18px; font-family: var(--display); font-size: 54px; font-weight: 700; color: var(--sky); line-height: 1; transition: color .4s; }
.pcard:hover .num { color: rgba(255,255,255,.12); }
.pcard .ico { width: 58px; height: 58px; border-radius: 16px; background: var(--sky); color: var(--blue); display: grid; place-items: center; margin-bottom: 26px; transition: background .4s, color .4s, transform .6s var(--ease); }
.pcard .ico svg { width: 28px; height: 28px; }
.pcard:hover .ico { background: rgba(255,255,255,.14); color: #fff; transform: rotate(-8deg) scale(1.05); }
.pcard h3 { font-size: 20px; transition: color .4s; }
.pcard:hover h3 { color: #fff; }
.pcard p { font-size: 15px; color: var(--muted); transition: color .4s; flex: 1; }
.pcard:hover p { color: #c6d6fb; }
.pcard .more { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 500; color: var(--blue); font-size: 14px; transition: color .4s; }
.pcard .more svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.pcard:hover .more { color: #fff; }
.pcard:hover .more svg { transform: translateX(6px); }

/* ---------- Lifecycle ---------- */
.life { position: relative; }
.life-track { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; position: relative; }
.life-track::before { content: ""; position: absolute; left: 30px; right: 30px; top: 30px; height: 2px; background: rgba(255,255,255,.14); }
.life-progress { position: absolute; left: 30px; top: 30px; height: 2px; width: 0; background: linear-gradient(90deg, #8fb4ff, #fff); transition: width 1s var(--ease); }
.life-step { position: relative; padding-right: 20px; cursor: pointer; background: none; border: 0; text-align: left; color: inherit; }
.life-step .dot { position: relative; z-index: 2; width: 62px; height: 62px; border-radius: 50%; background: var(--navy); border: 2px solid rgba(255,255,255,.22); display: grid; place-items: center; font-family: var(--display); font-weight: 700; color: #8fb4ff; transition: all .5s var(--ease); margin-bottom: 22px; }
.life-step:hover .dot, .life-step.on .dot { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 0 0 8px rgba(26,86,219,.25); }
.life-step h4 { color: #fff; font-size: 18px; margin-bottom: 8px; }
.life-step p { font-size: 14px; color: #9fb2da; margin: 0; line-height: 1.6; }
.life-detail { margin-top: 56px; display: grid; grid-template-columns: 1fr 1.3fr; gap: 50px; align-items: center; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-lg); padding: 40px; }
.life-detail .ld-img { border-radius: 20px; overflow: hidden; aspect-ratio: 4/3; }
.life-detail .ld-img img { width: 100%; height: 100%; object-fit: cover; transition: opacity .5s, transform 1s var(--ease); }
.life-detail .ld-body h3 { font-size: clamp(24px, 2.4vw, 32px); }
.life-detail .ld-body .ld-k { color: #8fb4ff; font-family: var(--display); letter-spacing: .14em; font-size: 13px; text-transform: uppercase; }
.life-detail ul li { display: flex; gap: 12px; padding: 8px 0; color: #c6d4f0; border-bottom: 1px dashed rgba(255,255,255,.12); }
.life-detail ul li svg { width: 18px; height: 18px; color: #8fb4ff; flex: none; margin-top: 4px; }
.fade-swap { animation: swap .7s var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateY(14px); } }

/* ---------- Quote band ---------- */
.band { position: relative; padding: 150px 0; color: #fff; overflow: hidden; }
.band .bg { position: absolute; inset: -80px 0; background-size: cover; background-position: center; will-change: transform; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,26,58,.92), rgba(13,50,118,.75)); }
.band .wrap { position: relative; z-index: 2; }
.band blockquote { margin: 0; font-family: var(--display); font-size: clamp(26px, 3.4vw, 46px); line-height: 1.25; max-width: 980px; letter-spacing: -.02em; }
.band .qmark { width: 64px; height: 64px; color: #8fb4ff; margin-bottom: 20px; }
.band cite { display: block; margin-top: 30px; font-style: normal; color: #9fb4de; font-family: var(--display); letter-spacing: .1em; text-transform: uppercase; font-size: 13px; }

/* ---------- Carousel (generic) ---------- */
.carousel { position: relative; }
.c-viewport { overflow: hidden; cursor: grab; touch-action: pan-y; }
.c-viewport.dragging { cursor: grabbing; }
.c-track { display: flex; gap: 24px; transition: transform .8s var(--ease); will-change: transform; }
.c-viewport.dragging .c-track { transition: none; }
.c-slide { flex: 0 0 calc((100% - 48px) / 3); user-select: none; }
.c-nav { display: flex; gap: 10px; align-items: center; }
.c-dots { display: flex; gap: 8px; margin-top: 34px; justify-content: center; }
.c-dots button { width: 10px; height: 10px; border-radius: 10px; border: 0; background: var(--ice); padding: 0; transition: width .5s var(--ease), background .3s; }
.c-dots button.on { width: 34px; background: var(--blue); }
.bg-navy .c-dots button { background: rgba(255,255,255,.2); }
.bg-navy .c-dots button.on { background: #8fb4ff; }

.mcard { height: 100%; border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.mcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.mcard .m-img { aspect-ratio: 16/11; overflow: hidden; position: relative; }
.mcard .m-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); pointer-events: none; }
.mcard:hover .m-img img { transform: scale(1.08); }
.mcard .m-tag { position: absolute; left: 18px; top: 18px; background: rgba(255,255,255,.92); color: var(--blue); padding: 6px 14px; border-radius: 100px; font-family: var(--display); font-size: 12px; font-weight: 500; letter-spacing: .06em; }
.mcard .m-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.mcard h3 { font-size: 21px; }
.mcard p { color: var(--muted); font-size: 15px; flex: 1; }

/* ---------- Why / feature tiles ---------- */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.why .w { background: #fff; padding: 40px 34px; position: relative; transition: background .5s; }
.why .w:hover { background: var(--mist); }
.why .w .wi { width: 52px; height: 52px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; margin-bottom: 22px; transition: transform .6s var(--ease); }
.why .w:hover .wi { transform: rotate(360deg); }
.why .w .wi svg { width: 24px; height: 24px; }
.why .w h3 { font-size: 20px; }
.why .w p { color: var(--muted); font-size: 15px; margin: 0; }
.why .w .wn { position: absolute; top: 30px; right: 30px; font-family: var(--display); font-size: 13px; color: var(--ice); font-weight: 700; letter-spacing: .1em; }

/* ---------- People ---------- */
.people { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.person { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 3/4.2; background: var(--sky); }
.person img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.9); }
.person:hover img { transform: scale(1.07); filter: saturate(1.05); }
.person .pinfo { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 16px 18px; border-radius: 16px; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); transform: translateY(0); transition: transform .5s var(--ease); }
.person .pinfo h4 { font-size: 16px; margin: 0 0 2px; }
.person .pinfo span { font-size: 13px; color: var(--muted); line-height: 1.45; display: block; }
.person .pinfo p { font-size: 13px; color: var(--muted); margin: 0; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .6s var(--ease), opacity .4s, margin .4s; }
.person:hover .pinfo p { max-height: 140px; opacity: 1; margin-top: 8px; }

/* ---------- CTA ---------- */
.cta { position: relative; border-radius: 36px; overflow: hidden; padding: 80px 70px; background: linear-gradient(120deg, var(--blue) 0%, var(--deep) 70%, var(--navy) 100%); color: #fff; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; isolation: isolate; }
.cta h2 { color: #fff; font-size: clamp(30px, 3.6vw, 48px); }
.cta p { color: #cfdcfb; }
.cta .cta-actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-end; }
.cta .orb { position: absolute; border-radius: 50%; z-index: -1; filter: blur(2px); }
.cta .orb.a { width: 420px; height: 420px; right: -120px; top: -180px; background: radial-gradient(circle, rgba(143,180,255,.45), transparent 70%); animation: floaty2 7s ease-in-out infinite; }
.cta .orb.b { width: 300px; height: 300px; left: 30%; bottom: -200px; background: radial-gradient(circle, rgba(255,255,255,.18), transparent 70%); animation: floaty2 9s ease-in-out infinite reverse; }
.cta .grid-lines { position: absolute; inset: 0; z-index: -1; opacity: .12; background-image: linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at 80% 50%, #000 10%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 80% 50%, #000 10%, transparent 70%); }
.cta .phone-big { font-family: var(--display); font-size: 22px; color: #fff; display: flex; gap: 10px; align-items: center; }
.cta .phone-big svg { width: 22px; height: 22px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #9fb2da; padding: 100px 0 0; position: relative; overflow: hidden; }
.footer .big-word { position: absolute; left: 50%; bottom: 40px; transform: translateX(-50%); font-family: var(--display); font-weight: 700; font-size: clamp(80px, 16vw, 240px); letter-spacing: -.05em; color: rgba(255,255,255,.035); white-space: nowrap; pointer-events: none; line-height: 1; }
.f-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 50px; position: relative; z-index: 2; }
.footer .brand { margin-bottom: 22px; }
.footer h5 { color: #fff; font-size: 16px; margin-bottom: 20px; }
.footer ul li { padding: 6px 0; }
.footer ul a { transition: color .3s, padding .3s; }
.footer ul a:hover { color: #fff; padding-left: 6px; }
.footer .f-contact li { display: flex; gap: 12px; }
.footer .f-contact svg { width: 18px; height: 18px; color: #8fb4ff; flex: none; margin-top: 4px; }
.newsletter { display: flex; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 100px; padding: 6px; margin-top: 18px; }
.newsletter input { flex: 1; min-width: 0; background: none; border: 0; color: #fff; padding: 0 16px; font: inherit; font-size: 14px; outline: none; }
.newsletter input::placeholder { color: #7f93bd; }
.newsletter button { border: 0; border-radius: 100px; background: var(--blue); color: #fff; width: 44px; height: 44px; display: grid; place-items: center; transition: background .3s; }
.newsletter button:hover { background: var(--blue-2); }
.newsletter button svg { width: 18px; height: 18px; }
.socials { display: flex; gap: 10px; margin-top: 24px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.16); display: grid; place-items: center; transition: background .3s, border-color .3s, transform .3s var(--ease); }
.socials a:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-3px); color: #fff; }
.socials svg { width: 16px; height: 16px; }
.f-bottom { margin-top: 80px; padding: 26px 0 180px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 20px; font-size: 14px; position: relative; z-index: 2; flex-wrap: wrap; }

.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 40; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--blue); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; transform: translateY(20px); transition: opacity .4s, transform .4s var(--ease), background .3s; }
.to-top.show { opacity: 1; transform: none; }
.to-top:hover { background: var(--navy); }
.to-top svg { width: 20px; height: 20px; position: relative; z-index: 2; }
.to-top .ring { position: absolute; inset: 0; transform: rotate(-90deg); }
.to-top .ring circle { fill: none; stroke: rgba(255,255,255,.9); stroke-width: 2; stroke-dasharray: 151; stroke-dashoffset: 151; }

.scroll-progress { position: fixed; left: 0; top: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--blue), #8fb4ff); z-index: 100; }

/* ---------- Expertise page ---------- */
.tabs-wrap { display: grid; grid-template-columns: 340px 1fr; gap: 50px; align-items: start; }
.tab-list { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 6px; background: var(--mist); padding: 12px; border-radius: 24px; }
.tab-list button { display: flex; gap: 14px; align-items: center; text-align: left; border: 0; background: none; padding: 14px 16px; border-radius: 16px; font-family: var(--display); font-weight: 500; font-size: 15px; color: var(--text); transition: background .3s, color .3s, transform .3s var(--ease); }
.tab-list button .tn { width: 32px; height: 32px; border-radius: 10px; background: #fff; color: var(--blue); display: grid; place-items: center; font-size: 12px; flex: none; transition: background .3s, color .3s; box-shadow: var(--shadow-sm); }
.tab-list button:hover { background: #fff; transform: translateX(4px); }
.tab-list button.on { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -10px rgba(26,86,219,.8); }
.tab-list button.on .tn { background: rgba(255,255,255,.18); color: #fff; box-shadow: none; }
.tab-panel { display: none; }
.tab-panel.on { display: block; animation: swap .7s var(--ease); }
.tp-hero { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16/7; margin-bottom: 36px; }
.tp-hero img { width: 100%; height: 100%; object-fit: cover; }
.tp-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6,26,58,.85), rgba(6,26,58,.1) 70%); }
.tp-hero .tp-title { position: absolute; left: 34px; bottom: 28px; right: 34px; z-index: 2; color: #fff; }
.tp-hero .tp-title h2 { color: #fff; margin: 0; font-size: clamp(24px, 3vw, 38px); }
.tp-hero .tp-title span { font-family: var(--display); letter-spacing: .14em; text-transform: uppercase; font-size: 12px; color: #a9c4ff; }
.tp-cols { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; }
.blist li { position: relative; padding: 14px 0 14px 40px; border-bottom: 1px solid var(--line); }
.blist li::before { content: ""; position: absolute; left: 0; top: 16px; width: 24px; height: 24px; border-radius: 8px; background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a56db' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/14px no-repeat; }
.side-card { background: var(--navy); color: #c6d4f0; border-radius: 24px; padding: 32px; position: relative; overflow: hidden; }
.side-card h4 { color: #fff; font-size: 19px; }
.side-card .sc-list li { padding: 10px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: 15px; display: flex; gap: 10px; }
.side-card .sc-list li svg { width: 18px; height: 18px; color: #8fb4ff; flex: none; margin-top: 3px; }
.side-card::after { content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; border: 30px solid rgba(143,180,255,.08); }

.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.spec { display: grid; grid-template-columns: 200px 1fr; border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: box-shadow .5s var(--ease), transform .5s var(--ease); }
.spec:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.spec .sp-img { overflow: hidden; }
.spec .sp-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.spec:hover .sp-img img { transform: scale(1.08); }
.spec .sp-body { padding: 28px; }
.spec h3 { font-size: 20px; }
.spec ul li { font-size: 14px; color: var(--muted); padding: 5px 0 5px 18px; position: relative; }
.spec ul li::before { content: ""; position: absolute; left: 0; top: 14px; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }

.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 10px 18px; border-radius: 100px; background: #fff; border: 1px solid var(--line); font-family: var(--display); font-size: 14px; color: var(--navy); transition: all .3s var(--ease); }
.chip:hover { background: var(--blue); color: #fff; border-color: var(--blue); transform: translateY(-2px); }
.bg-navy .chip { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: #dbe6ff; }
.bg-navy .chip:hover { background: var(--blue); border-color: var(--blue); }

.priv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.priv { padding: 32px 26px; border-radius: 22px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); transition: background .4s, transform .5s var(--ease), border-color .4s; }
.priv:hover { background: rgba(26,86,219,.25); border-color: rgba(143,180,255,.4); transform: translateY(-6px); }
.priv .pi { width: 50px; height: 50px; border-radius: 14px; background: rgba(143,180,255,.14); color: #8fb4ff; display: grid; place-items: center; margin-bottom: 20px; }
.priv .pi svg { width: 24px; height: 24px; }
.priv h3 { font-size: 19px; color: #fff; }
.priv p { font-size: 14.5px; color: #a9bbdf; margin: 0; }

/* ---------- Approach page ---------- */
.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.model { position: relative; padding: 36px 30px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.model:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.model .mi { width: 60px; height: 60px; border-radius: 18px; background: linear-gradient(140deg, var(--blue), var(--deep)); color: #fff; display: grid; place-items: center; margin-bottom: 24px; box-shadow: 0 10px 24px -10px rgba(26,86,219,.8); }
.model .mi svg { width: 28px; height: 28px; }
.model h3 { font-size: 21px; }
.model p { color: var(--muted); font-size: 15px; margin: 0; }
.model .glow { position: absolute; right: -80px; bottom: -80px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, var(--sky), transparent 70%); transition: transform .8s var(--ease); }
.model:hover .glow { transform: scale(1.6); }

.deliv { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.dcard { perspective: 1000px; height: 230px; }
.dcard .inner { position: relative; width: 100%; height: 100%; transition: transform .9s var(--ease); transform-style: preserve-3d; }
.dcard:hover .inner, .dcard:focus-within .inner { transform: rotateY(180deg); }
.dcard .face { position: absolute; inset: 0; border-radius: 22px; padding: 28px; backface-visibility: hidden; -webkit-backface-visibility: hidden; display: flex; flex-direction: column; justify-content: space-between; }
.dcard .front { background: #fff; border: 1px solid var(--line); }
.dcard .front .fi { width: 50px; height: 50px; border-radius: 14px; background: var(--sky); color: var(--blue); display: grid; place-items: center; }
.dcard .front .fi svg { width: 24px; height: 24px; }
.dcard .front h4 { font-size: 19px; margin: 0; }
.dcard .front small { color: var(--blue); font-family: var(--display); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.dcard .back { background: linear-gradient(150deg, var(--blue), var(--deep)); color: #dce7ff; transform: rotateY(180deg); justify-content: center; }
.dcard .back h4 { color: #fff; font-size: 18px; }
.dcard .back p { margin: 0; font-size: 15px; }

.fees { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.fee { position: relative; border-radius: var(--radius-lg); padding: 38px 30px; background: #fff; border: 1px solid var(--line); transition: all .5s var(--ease); }
.fee.feat { background: var(--navy); color: #c6d4f0; border-color: var(--navy); transform: translateY(-14px); box-shadow: var(--shadow-lg); }
.fee.feat h3 { color: #fff; }
.fee .ft { display: inline-block; font-family: var(--display); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); background: var(--sky); padding: 6px 12px; border-radius: 100px; margin-bottom: 22px; }
.fee.feat .ft { background: var(--blue); color: #fff; }
.fee h3 { font-size: 24px; }
.fee p { font-size: 15px; color: var(--muted); }
.fee.feat p { color: #a9bbdf; }
.fee ul li { font-size: 14px; padding: 8px 0; border-top: 1px solid var(--line); display: flex; gap: 10px; }
.fee.feat ul li { border-color: rgba(255,255,255,.1); }
.fee ul li svg { width: 16px; height: 16px; color: var(--blue); flex: none; margin-top: 4px; }
.fee.feat ul li svg { color: #8fb4ff; }
.fee:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.fee.feat:hover { transform: translateY(-20px); }

.steps { position: relative; max-width: 940px; margin: 0 auto; }
.steps::before { content: ""; position: absolute; left: 35px; top: 0; bottom: 0; width: 2px; background: var(--line); }
.steps .fill { position: absolute; left: 35px; top: 0; width: 2px; height: 0; background: linear-gradient(var(--blue), #8fb4ff); }
.step { position: relative; display: grid; grid-template-columns: 72px 1fr; gap: 30px; padding: 0 0 50px; }
.step .sn { width: 72px; height: 72px; border-radius: 50%; background: #fff; border: 2px solid var(--line); display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--blue); position: relative; z-index: 2; transition: all .6s var(--ease); }
.step.in .sn { background: var(--blue); color: #fff; border-color: var(--blue); box-shadow: 0 0 0 8px var(--sky); }
.step .sb { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px 30px; box-shadow: var(--shadow-sm); }
.step .sb h3 { font-size: 21px; margin-bottom: 6px; }
.step .sb p { color: var(--muted); margin: 0; font-size: 15px; }
.step .sb .when { display: inline-block; font-family: var(--display); font-size: 12px; color: var(--blue); background: var(--sky); padding: 4px 12px; border-radius: 100px; margin-bottom: 10px; letter-spacing: .06em; }

.faq { max-width: 900px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 26px 60px 26px 0; position: relative; font-family: var(--display); font-weight: 500; font-size: 19px; color: var(--navy); transition: color .3s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--blue); }
.faq summary::after { content: ""; position: absolute; right: 0; top: 50%; width: 40px; height: 40px; margin-top: -20px; border-radius: 50%; background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a56db' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/18px no-repeat; transition: transform .5s var(--ease), background-color .3s; }
.faq details[open] summary::after { transform: rotate(135deg); background-color: var(--ice); }
.faq .ans { padding: 0 60px 26px 0; color: var(--muted); }
.faq details[open] .ans { animation: swap .6s var(--ease); }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 50px; align-items: start; }
.cinfo { display: flex; flex-direction: column; gap: 16px; }
.ci { display: flex; gap: 18px; align-items: flex-start; padding: 24px; border-radius: 22px; background: var(--mist); border: 1px solid var(--line); transition: all .4s var(--ease); }
.ci:hover { background: #fff; box-shadow: var(--shadow); transform: translateX(6px); }
.ci .cii { width: 52px; height: 52px; border-radius: 16px; background: var(--blue); color: #fff; display: grid; place-items: center; flex: none; }
.ci .cii svg { width: 24px; height: 24px; }
.ci h4 { font-size: 17px; margin-bottom: 4px; }
.ci p { margin: 0; color: var(--muted); font-size: 15px; }
.ci a:hover { color: var(--blue); }

.form-card { background: #fff; border-radius: 30px; padding: 44px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); position: relative; }
.form-card h3 { font-size: 28px; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fgrid .full { grid-column: 1 / -1; }
.field { position: relative; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--text);
  background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 22px 16px 8px; outline: none;
  transition: border-color .3s, box-shadow .3s; appearance: none; -webkit-appearance: none;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a6a8a' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center/18px no-repeat; }
.field label { position: absolute; left: 17px; top: 16px; font-size: 15px; color: var(--muted); pointer-events: none; transition: all .25s var(--ease); background: transparent; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(26,86,219,.12); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label { top: 6px; font-size: 11.5px; color: var(--blue); letter-spacing: .04em; }
.field.err input, .field.err textarea, .field.err select { border-color: #d93025; }
.field .msg { display: none; font-size: 12.5px; color: #d93025; margin-top: 6px; }
.field.err .msg { display: block; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); }
/* Consent checkbox: undo the text-input styling from .field input and draw a real checkbox */
.consent input[type="checkbox"] {
  flex: none; width: 22px; height: 22px; margin: 1px 0 0; padding: 0;
  border: 1.5px solid #b9c8e4; border-radius: 7px; background: #fff; cursor: pointer;
  display: grid; place-content: center; box-shadow: none;
  transition: background .2s, border-color .2s, box-shadow .2s;
}
.consent input[type="checkbox"]::before {
  content: ""; width: 12px; height: 12px; background: #fff;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
  transform: scale(0); transition: transform .2s var(--ease);
}
.consent input[type="checkbox"]:checked { background: var(--blue); border-color: var(--blue); }
.consent input[type="checkbox"]:checked::before { transform: scale(1); }
.consent input[type="checkbox"]:hover { border-color: var(--blue); }
.consent input[type="checkbox"]:focus-visible { box-shadow: 0 0 0 4px rgba(26,86,219,.18); }
.field.consent.err input[type="checkbox"] { border-color: #d93025; box-shadow: 0 0 0 4px rgba(217,48,37,.12); }
.consent label, .consent input + label,
.field.consent input:not(:placeholder-shown) + label, .field.consent input:focus + label {
  position: static; top: auto; font-size: 14px; letter-spacing: 0; color: var(--muted);
  line-height: 1.55; cursor: pointer; pointer-events: auto;
}
.field.consent.err input[type="checkbox"] + label { color: #c5221f; }
.form-status { display: none; margin-top: 18px; padding: 16px 18px; border-radius: 14px; font-size: 15px; }
.form-status.ok { display: block; background: #e6f4ea; color: #137333; }
.form-status.bad { display: block; background: #fce8e6; color: #c5221f; }
.btn[disabled] { opacity: .7; pointer-events: none; }

.offices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.office { border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: all .5s var(--ease); }
.office:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.office .o-img { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.office .o-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.office:hover .o-img img { transform: scale(1.08); }
.office .o-img .pin { position: absolute; left: 18px; bottom: 18px; background: var(--blue); color: #fff; padding: 6px 14px; border-radius: 100px; font-family: var(--display); font-size: 12px; letter-spacing: .08em; }
.office .o-body { padding: 26px; }
.office h3 { font-size: 22px; margin-bottom: 8px; }
.office p { color: var(--muted); font-size: 15px; margin: 0 0 4px; }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; height: 440px; box-shadow: var(--shadow); border: 1px solid var(--line); filter: saturate(.85); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Home: mini split gallery / sectors ---------- */
.sectors { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.sector { padding: 24px 18px; text-align: center; border-radius: 20px; background: #fff; border: 1px solid var(--line); transition: all .4s var(--ease); }
.sector:hover { transform: translateY(-6px); border-color: var(--blue); box-shadow: var(--shadow); }
.sector svg { width: 34px; height: 34px; color: var(--blue); margin: 0 auto 12px; }
.sector h4 { font-size: 15px; margin: 0; }

.img-reveal { position: relative; overflow: hidden; border-radius: var(--radius-lg); }
.img-reveal img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .hero-card { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .nav a { padding: 10px 12px; }
  .pgrid { grid-template-columns: repeat(2, 1fr); }
  .people { grid-template-columns: repeat(3, 1fr); }
  .sectors { grid-template-columns: repeat(3, 1fr); }
  .priv-grid, .deliv, .fees { grid-template-columns: repeat(2, 1fr); }
  .fee.feat { transform: none; }
  .f-top { grid-template-columns: 1fr 1fr; }
  .c-slide { flex-basis: calc((100% - 24px) / 2); }
}
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: block; }
}
@media (max-width: 980px) {
  .nav { display: none; }
  .burger { display: block; }
  .topbar .tb-left a:nth-child(n+2) { display: none; }
  .split, .split.rev, .contact-grid, .tabs-wrap, .tp-cols, .life-detail { grid-template-columns: 1fr; gap: 50px; }
  .tab-list { position: static; flex-direction: row; overflow-x: auto; scrollbar-width: none; }
  .tab-list::-webkit-scrollbar { display: none; }
  .tab-list button { flex: none; }
  .tab-list button:hover { transform: none; }
  .stack { min-height: 480px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .life-track { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .life-track::before, .life-progress { display: none; }
  .why, .models, .offices, .spec-grid { grid-template-columns: 1fr 1fr; }
  .cta { grid-template-columns: 1fr; padding: 60px 40px; }
  .cta .cta-actions { align-items: flex-start; }
  .section { padding: 80px 0; }
}
@media (max-width: 680px) {
  .wrap { padding: 0 16px; }
  .topbar { display: none; }
  .header { top: 0; }
  .header .wrap { height: 70px; }
  .brand .name { font-size: 16px; }
  .brand .name small { font-size: 9.5px; letter-spacing: .2em; }
  .hero { min-height: 640px; }
  .hero .content { padding: 90px 0 110px; align-items: center; }
  .hero-ui { bottom: 26px; }
  .hero-dots { gap: 10px; }
  .hero-dots button { font-size: 0; }
  .hero-dots button span { display: none; }
  .hero-arrows .circle-btn { width: 46px; height: 46px; }
  .pgrid, .people, .why, .models, .offices, .spec-grid, .priv-grid, .deliv, .fees, .f-top { grid-template-columns: 1fr; }
  .people { grid-template-columns: 1fr 1fr; gap: 12px; }
  .person .pinfo { left: 8px; right: 8px; bottom: 8px; padding: 12px; }
  .person .pinfo p { display: none; }
  .sectors { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 26px 20px; }
  .stat::before { left: 20px; }
  .life-track { grid-template-columns: 1fr 1fr; }
  .life-detail { padding: 22px; }
  .spec { grid-template-columns: 1fr; }
  .spec .sp-img { aspect-ratio: 16/9; }
  .c-slide { flex-basis: 88%; }
  .fgrid { grid-template-columns: 1fr; }
  .form-card { padding: 28px 20px; }
  .cta { padding: 44px 22px; border-radius: 26px; }
  .badge-spin { width: 110px; height: 110px; left: 58%; }
  .badge-spin svg.ring-text text { font-size: 9px; letter-spacing: 2.2px; }
  .badge-spin .core { width: 38px; height: 38px; }
  .exp-chip { left: 0; bottom: 20px; }
  .stack { min-height: 400px; }
  .page-hero { padding: 150px 0 80px; min-height: 0; }
  .shead { margin-bottom: 40px; }
  .band { padding: 100px 0; }
  .tp-hero { aspect-ratio: 4/3; }
  .tp-hero .tp-title { left: 20px; right: 20px; bottom: 18px; }
  .step { grid-template-columns: 52px 1fr; gap: 16px; }
  .step .sn { width: 52px; height: 52px; font-size: 16px; }
  .steps::before, .steps .fill { left: 25px; }
  .step .sb { padding: 20px; }
  .map-wrap { height: 320px; }
  .f-bottom { padding-bottom: 110px; }
}
