/* ==========================================================================
   Technology Spot — Digital Marketing & SEO Agency
   Design system + components
   ========================================================================== */

:root {
  --navy-950: #020a1f;
  --navy: #051232;
  --navy-800: #0a1c47;
  --navy-700: #122a62;
  --blue: #1d7af3;
  --blue-600: #0d62d6;
  --blue-400: #4d98f9;
  --blue-200: #b8d5ff;
  --blue-100: #dceaff;
  --blue-50: #eef5ff;
  --cream: #f6f0e4;
  --amber: #ffb547;

  --ink: #0a1430;
  --body: #46526f;
  --muted: #6c7896;
  --line: #e3e9f4;
  --bg: #ffffff;
  --bg-soft: #f5f8fe;

  --on-dark: #ffffff;
  --on-dark-body: #b3c0dd;
  --on-dark-line: rgba(255, 255, 255, .1);

  --grad: linear-gradient(115deg, #1d7af3 0%, #4aa3ff 55%, #8fd3ff 100%);
  --grad-strong: linear-gradient(135deg, #1d7af3 0%, #0d4fc2 100%);

  --radius: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(5, 18, 50, .05), 0 4px 14px rgba(5, 18, 50, .05);
  --shadow: 0 18px 40px -18px rgba(5, 18, 50, .25);
  --shadow-lg: 0 40px 80px -30px rgba(5, 18, 50, .40);
  --shadow-blue: 0 14px 34px -12px rgba(29, 122, 243, .55);

  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 78px;

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, h5 { color: var(--ink); margin: 0 0 .5em; line-height: 1.12; letter-spacing: -.025em; font-weight: 800; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2.5px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--blue); color: #fff; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 999;
  background: var(--blue); color: #fff; padding: 10px 18px; border-radius: 10px; font-weight: 700;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- View transitions between pages ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .35s var(--ease-in-out) both; }
::view-transition-new(root) { animation: vt-in .55s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-12px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(18px); } }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(820px + var(--gutter) * 2); }
.section { padding-block: clamp(76px, 10vw, 136px); position: relative; }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.section--soft { background: var(--bg-soft); }
.section--cream { background: var(--cream); }
.section--dark { background: var(--navy); color: var(--on-dark-body); overflow: hidden; }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--on-dark); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.section-head--split > div { max-width: 680px; }
.section-head p:last-child { margin-bottom: 0; }

.grid { display: grid; gap: clamp(18px, 2.2vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split--wide-left { grid-template-columns: 1.1fr .9fr; }
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .split, .split--wide-left { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- Typography ---------- */
.display { font-size: clamp(2.4rem, 5vw, 4.35rem); line-height: 1.02; letter-spacing: -.04em; font-weight: 800; }
.h1 { font-size: clamp(2.3rem, 5vw, 4rem); line-height: 1.05; letter-spacing: -.035em; }
.h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); line-height: 1.08; letter-spacing: -.03em; }
.h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); letter-spacing: -.02em; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.22rem); line-height: 1.7; color: var(--body); }
.section--dark .lead, .on-dark .lead { color: var(--on-dark-body); }
.accent {
  font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .06em;
}
.text-blue { color: var(--blue); }
.muted { color: var(--muted); }
.center { text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue);
  box-shadow: 0 0 0 4px rgba(29, 122, 243, .18);
  animation: pulse-dot 2.4s var(--ease) infinite;
}
.eyebrow--pill {
  padding: 8px 16px 8px 12px; border-radius: 999px; background: rgba(29, 122, 243, .1);
  border: 1px solid rgba(29, 122, 243, .25);
}
.section--dark .eyebrow, .on-dark .eyebrow { color: #7fb6ff; }
.section--dark .eyebrow--pill, .on-dark .eyebrow--pill { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: #d6e6ff; }
@media (max-width: 480px) {
  .eyebrow { font-size: .7rem; letter-spacing: .1em; gap: 8px; }
  .eyebrow--pill { padding: 7px 12px 7px 10px; }
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(29, 122, 243, .18); }
  50% { box-shadow: 0 0 0 8px rgba(29, 122, 243, 0); }
}

/* Rich text (blog + legal) */
.prose { font-size: 1.08rem; line-height: 1.85; color: #37425f; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin: 2.2em 0 .6em; }
.prose h3 { font-size: 1.3rem; margin: 1.8em 0 .5em; }
.prose p, .prose ul, .prose ol { margin-bottom: 1.25em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--blue); font-weight: 700; }
.prose a { color: var(--blue); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.prose a:hover { color: var(--blue-600); }
.prose strong { color: var(--ink); }
.prose blockquote {
  margin: 2em 0; padding: 22px 26px; border-left: 4px solid var(--blue);
  background: var(--blue-50); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--ink); font-weight: 500;
}
.prose .callout {
  margin: 2em 0; padding: 24px 26px; border-radius: var(--radius-md);
  background: var(--navy); color: var(--on-dark-body);
}
.prose .callout strong { color: #fff; }
.prose .callout p:last-child { margin: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0 2em; font-size: .98rem; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { color: var(--ink); background: var(--bg-soft); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--blue); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; font-weight: 700; font-size: .98rem; line-height: 1.2;
  background: var(--bg); color: var(--fg); border: 1.5px solid transparent;
  overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: transform .45s var(--ease-out), box-shadow .35s var(--ease), background-color .3s, color .3s, border-color .3s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; transition: transform .45s var(--ease-out); flex: none; }
.btn:hover svg { transform: translateX(4px); }
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, .35) 50%, transparent 80%);
  transform: translateX(-120%); transition: transform .8s var(--ease-out);
}
.btn:hover::after { transform: translateX(120%); }
.btn--primary { box-shadow: var(--shadow-blue); }
.btn--primary:hover { background: var(--blue-600); box-shadow: 0 18px 40px -12px rgba(29, 122, 243, .7); }
.btn--dark { --bg: var(--navy); }
.btn--dark:hover { --bg: var(--navy-700); }
.btn--white { --bg: #fff; --fg: var(--navy); }
.btn--white:hover { --bg: var(--blue-50); }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--ghost-light { --bg: rgba(255, 255, 255, .04); --fg: #fff; border-color: rgba(255, 255, 255, .22); backdrop-filter: blur(6px); }
.btn--ghost-light:hover { border-color: #fff; --bg: rgba(255, 255, 255, .1); }
.btn--sm { padding: 11px 18px; font-size: .9rem; }
.btn--lg { padding: 18px 32px; font-size: 1.04rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue);
}
.link-arrow svg { width: 18px; height: 18px; transition: transform .4s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center; color: #fff;
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease), transform .5s var(--ease-out), color .3s, height .3s;
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: rgba(255, 255, 255, .82); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid rgba(5, 18, 50, .07);
  transition: opacity .4s var(--ease);
}
.site-header.is-scrolled { color: var(--ink); --header-h: 68px; box-shadow: 0 10px 30px -20px rgba(5, 18, 50, .3); }
.site-header.is-scrolled::before { opacity: 1; }
.site-header.is-hidden { transform: translateY(-110%); }
.header-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; }
.brand { position: relative; display: block; width: 158px; flex: none; }
.brand img { width: 100%; height: auto; transition: opacity .35s var(--ease); }
.brand .brand-dark { position: absolute; inset: 0; opacity: 0; }
.site-header.is-scrolled .brand-light { opacity: 0; }
.site-header.is-scrolled .brand-dark { opacity: 1; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 999px; font-weight: 600; font-size: .95rem; opacity: .92;
  transition: background-color .25s, opacity .25s;
}
.nav-link svg { width: 16px; height: 16px; transition: transform .35s var(--ease-out); }
.nav-link:hover, .nav-item:focus-within > .nav-link { opacity: 1; background: rgba(255, 255, 255, .1); }
.site-header.is-scrolled .nav-link:hover, .site-header.is-scrolled .nav-item:focus-within > .nav-link { background: rgba(5, 18, 50, .06); }
.nav-link[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; margin-left: -2.5px;
  border-radius: 50%; background: var(--blue);
}
.nav-item { position: relative; }
.nav-item.has-mega { position: static; }
.nav-item:hover > .nav-link svg, .nav-item.is-open > .nav-link svg { transform: rotate(180deg); }
.header-cta { display: flex; align-items: center; gap: 12px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .92rem; opacity: .9; }
.header-phone svg { width: 16px; height: 16px; }

/* Mega menu */
.mega {
  position: absolute; top: calc(100% + 16px); left: 50%; width: min(900px, calc(100vw - 32px));
  transform: translate(-50%, 12px); opacity: 0; visibility: hidden; pointer-events: none;
  background: #fff; color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); padding: 14px; display: grid; grid-template-columns: 1.7fr 1fr; gap: 14px;
  transition: opacity .3s var(--ease), transform .45s var(--ease-out), visibility .3s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.nav-item:hover .mega, .nav-item.is-open .mega, .nav-item:focus-within .mega {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0);
}
.mega-list { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega-link { display: flex; gap: 14px; padding: 14px; border-radius: 14px; transition: background-color .25s; }
.mega-link:hover { background: var(--bg-soft); }
.mega-link .ico { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); transition: background-color .3s, color .3s, transform .4s var(--ease-out); }
.mega-link:hover .ico { background: var(--blue); color: #fff; transform: rotate(-6deg) scale(1.05); }
.mega-link .ico svg { width: 20px; height: 20px; }
.mega-link strong { display: block; font-size: .96rem; color: var(--ink); line-height: 1.3; }
.mega-link span.d { display: block; font-size: .84rem; color: var(--muted); line-height: 1.45; margin-top: 3px; }
.mega-feature {
  position: relative; overflow: hidden; border-radius: 18px; padding: 26px; color: #fff;
  background: var(--navy); display: flex; flex-direction: column; justify-content: flex-end; min-height: 280px;
}
.mega-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; transition: transform 1.2s var(--ease-out); }
.mega-feature:hover img { transform: scale(1.06); }
.mega-feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 18, 50, .1), rgba(5, 18, 50, .95)); }
.mega-feature > * { position: relative; z-index: 1; }
.mega-feature strong { font-size: 1.25rem; line-height: 1.25; display: block; margin-bottom: 6px; }
.mega-feature p { font-size: .9rem; color: var(--on-dark-body); margin-bottom: 16px; line-height: 1.5; }

/* Burger + mobile nav */
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; position: relative; background: rgba(255, 255, 255, .1); }
.site-header.is-scrolled .burger { background: rgba(5, 18, 50, .06); }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .45s var(--ease-out), opacity .3s, top .45s var(--ease-out); }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 27px; }
.nav-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-open .burger span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 90; background: var(--navy); color: #fff;
  padding: calc(var(--header-h) + 20px) var(--gutter) 32px; overflow-y: auto; overscroll-behavior: contain;
  clip-path: circle(0% at calc(100% - 44px) 40px); visibility: hidden;
  transition: clip-path .75s var(--ease-in-out), visibility 0s .75s;
}
.nav-open .mobile-nav { clip-path: circle(150% at calc(100% - 44px) 40px); visibility: visible; transition: clip-path .85s var(--ease-in-out), visibility 0s; }
.nav-open .site-header { color: #fff; }
.nav-open .site-header::before { opacity: 0; }
.nav-open .site-header .brand-light { opacity: 1; }
.nav-open .site-header .brand-dark { opacity: 0; }
.mobile-nav ul { list-style: none; }
.mobile-nav > ul > li { border-bottom: 1px solid var(--on-dark-line); opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease), transform .6s var(--ease-out); }
.nav-open .mobile-nav > ul > li { opacity: 1; transform: none; transition-delay: calc(.25s + var(--i) * .06s); }
.mobile-nav > ul > li > a, .mobile-nav summary { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; font-size: 1.6rem; font-weight: 700; letter-spacing: -.02em; cursor: pointer; list-style: none; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary svg { width: 22px; height: 22px; transition: transform .35s var(--ease-out); }
.mobile-nav details[open] summary svg { transform: rotate(180deg); }
.mobile-nav details ul { padding: 0 0 14px; display: grid; gap: 2px; }
.mobile-nav details ul a { display: block; padding: 9px 0; color: var(--on-dark-body); font-weight: 500; }
.mobile-nav-foot { margin-top: 32px; display: grid; gap: 14px; }
.mobile-nav-foot a:not(.btn) { color: var(--on-dark-body); display: flex; gap: 10px; align-items: center; }
.mobile-nav-foot svg { width: 18px; height: 18px; }

@media (max-width: 1120px) {
  .header-phone { display: none; }
}
@media (max-width: 1024px) {
  .nav, .header-cta .btn { display: none; }
  .burger { display: block; }
}

/* Scroll progress */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 101; transform-origin: 0 50%; transform: scaleX(0); background: var(--grad); pointer-events: none; }

/* ---------- Background FX ---------- */
.fx { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.fx .blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.fx .b1 { width: 560px; height: 560px; background: #1d7af3; top: -180px; right: -120px; animation: float-a 16s var(--ease-in-out) infinite alternate; }
.fx .b2 { width: 420px; height: 420px; background: #3b2bd9; bottom: -200px; left: -140px; opacity: .35; animation: float-b 19s var(--ease-in-out) infinite alternate; }
.fx .b3 { width: 300px; height: 300px; background: #22c3ff; top: 40%; left: 45%; opacity: .18; animation: float-c 14s var(--ease-in-out) infinite alternate; }
.fx .grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 80%);
}
@keyframes float-a { to { transform: translate(-120px, 90px) scale(1.12); } }
@keyframes float-b { to { transform: translate(140px, -80px) scale(1.18); } }
@keyframes float-c { to { transform: translate(-160px, -60px) scale(.85); } }

/* ---------- Home hero ---------- */
.hero {
  position: relative; background: var(--navy); color: var(--on-dark-body); overflow: hidden;
  padding: calc(var(--header-h) + clamp(32px, 5vw, 64px)) 0 clamp(70px, 8vw, 110px);
  min-height: min(100svh, 940px); display: flex; align-items: center;
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(40px, 5vw, 80px); align-items: center; }
.hero h1 { color: #fff; margin-bottom: 26px; }
.hero .lead { color: var(--on-dark-body); max-width: 560px; margin-bottom: 34px; }
.hero-trust { display: flex; align-items: center; gap: 16px; margin-top: 40px; font-size: .92rem; color: var(--on-dark-body); }
.avatars { display: flex; }
.avatars img, .avatars span { width: 44px; height: 44px; border-radius: 50%; border: 2.5px solid var(--navy); object-fit: cover; margin-left: -12px; background: var(--navy-700); }
.avatars > :first-child { margin-left: 0; }
.avatars span { display: grid; place-items: center; font-size: .72rem; font-weight: 800; color: #fff; background: var(--blue); }
.hero-trust strong { color: #fff; display: block; font-size: .98rem; }
.stars { display: inline-flex; gap: 2px; color: var(--amber); vertical-align: -2px; }
.stars svg { width: 15px; height: 15px; }

.hero-visual { position: relative; perspective: 1400px; }
.hero-visual-inner { position: relative; transform-style: preserve-3d; transition: transform .8s var(--ease-out); }
.hero-frame {
  position: relative; border-radius: 32px; overflow: hidden; aspect-ratio: 8 / 7;
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .6); border: 1px solid rgba(255, 255, 255, .12);
}
.hero-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(5, 18, 50, .55)); }

.float-card {
  position: absolute; z-index: 2; background: rgba(255, 255, 255, .96); color: var(--ink);
  border-radius: 18px; padding: 16px 18px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45);
  backdrop-filter: blur(10px); transform: translateZ(60px);
}
.float-card small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.float-card strong { font-size: 1.05rem; color: var(--ink); }
.fc-traffic { left: -48px; bottom: 60px; width: 250px; animation: bob 6s var(--ease-in-out) infinite; }
.fc-traffic .row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.fc-traffic .up { display: inline-flex; align-items: center; gap: 4px; font-size: .78rem; font-weight: 800; color: #0f9d58; background: #e7f7ee; padding: 3px 8px; border-radius: 999px; }
.fc-traffic .up svg { width: 13px; height: 13px; }
.fc-traffic svg.chart { width: 100%; height: 70px; overflow: visible; }
.chart-line { fill: none; stroke: var(--blue); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 400; stroke-dashoffset: 400; }
.chart-area { fill: url(#chartGrad); opacity: 0; }
.is-in .chart-line, .hero .chart-line { animation: draw 2.2s .9s var(--ease-out) forwards; }
.is-in .chart-area, .hero .chart-area { animation: fade-in 1.4s 1.6s var(--ease) forwards; }
.chart-dot { fill: #fff; stroke: var(--blue); stroke-width: 3; opacity: 0; animation: fade-in .4s 2.8s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade-in { to { opacity: 1; } }

.fc-rank { right: -26px; top: 48px; display: flex; align-items: center; gap: 12px; animation: bob 7s -2s var(--ease-in-out) infinite; }
.fc-rank .ico { width: 42px; height: 42px; border-radius: 12px; background: var(--blue); color: #fff; display: grid; place-items: center; flex: none; }
.fc-rank .ico svg { width: 20px; height: 20px; }
.fc-health { right: 28px; bottom: -30px; display: flex; align-items: center; gap: 14px; animation: bob 6.5s -4s var(--ease-in-out) infinite; }
.ring { width: 58px; height: 58px; position: relative; flex: none; }
.ring svg { width: 58px; height: 58px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 6; }
.ring .track { stroke: var(--blue-100); }
.ring .val { stroke: var(--blue); stroke-linecap: round; stroke-dasharray: 150.8; stroke-dashoffset: 150.8; animation: ring-fill 2s 1.2s var(--ease-out) forwards; }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: .95rem; color: var(--ink); }
@keyframes ring-fill { to { stroke-dashoffset: 6; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }

.spin-badge { position: absolute; left: -58px; top: -46px; width: 132px; height: 132px; z-index: 3; transform: translateZ(80px); }
.spin-badge svg.txt { width: 100%; height: 100%; animation: spin 18s linear infinite; }
.spin-badge svg.txt text { fill: #fff; font-size: 10.4px; font-weight: 700; letter-spacing: 2.2px; text-transform: uppercase; font-family: var(--font); }
.spin-badge .core { position: absolute; inset: 30px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; box-shadow: var(--shadow-blue); }
.spin-badge .core img { width: 42px; filter: brightness(0) invert(1); }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; margin: 30px auto 0; width: 100%; }
  .fc-traffic { left: -12px; }
  .fc-rank { right: -8px; }
  .spin-badge { left: -14px; }
}
@media (max-width: 560px) {
  .fc-traffic { width: 200px; bottom: 40px; padding: 12px 14px; }
  .fc-traffic svg.chart { height: 52px; }
  .fc-rank { top: 20px; padding: 12px 14px; }
  .fc-rank strong { font-size: .92rem; }
  .fc-health { right: 12px; }
  .spin-badge { width: 100px; height: 100px; top: -34px; }
  .spin-badge .core { inset: 24px; }
  .spin-badge .core img { width: 30px; }
  .spin-badge svg.txt text { font-size: 10px; }
  .hero-trust { flex-direction: column; align-items: flex-start; }
}

/* Split-text reveal */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.w > .wi { display: inline-block; }
html.js [data-split] .wi { transform: translateY(110%); transition: transform 1s var(--ease-out); transition-delay: calc(var(--i) * 55ms + 100ms); }
html.js [data-split].is-in .wi { transform: none; }
.w .accent { padding-right: .12em; }

/* ---------- Marquee ---------- */
.marquee { position: relative; overflow: hidden; display: flex; user-select: none; --speed: 38s; }
.marquee-track { display: flex; flex: none; min-width: 100%; gap: 0; animation: marquee var(--speed) linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee--reverse .marquee-track { animation-direction: reverse; }
@keyframes marquee { to { transform: translateX(-100%); } }
.ticker { background: var(--blue); color: #fff; padding: 22px 0; transform: rotate(-1.4deg) scale(1.02); margin-top: -26px; position: relative; z-index: 2; box-shadow: 0 20px 40px -20px rgba(29, 122, 243, .6); }
.ticker .item { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.ticker .item svg { width: 22px; height: 22px; opacity: .8; }
.marquee-fade { mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.stat { padding: clamp(24px, 3vw, 40px); border-right: 1px solid var(--line); position: relative; }
.stat:last-child { border-right: 0; }
.stat-num { font-size: clamp(2.4rem, 4.6vw, 3.8rem); font-weight: 800; color: var(--ink); letter-spacing: -.045em; line-height: 1; display: block; margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.stat-num em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { font-weight: 600; color: var(--muted); font-size: .95rem; }
.section--dark .stats { background: rgba(255, 255, 255, .03); border-color: var(--on-dark-line); }
.section--dark .stat { border-color: var(--on-dark-line); }
.section--dark .stat-num { color: #fff; }
.section--dark .stat-label { color: var(--on-dark-body); }
@media (max-width: 860px) {
  .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); }
  .section--dark .stat:nth-child(-n+2) { border-bottom-color: var(--on-dark-line); }
}

/* ---------- Cards ---------- */
.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 2.6vw, 34px); transition: transform .6s var(--ease-out), box-shadow .5s var(--ease), border-color .4s;
  isolation: isolate; overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
[data-spotlight]::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(29, 122, 243, .12), transparent 60%);
}
[data-spotlight]:hover::before { opacity: 1; }
.card h3 { font-size: 1.28rem; margin-bottom: 10px; }
.card p { font-size: .98rem; margin-bottom: 0; }
.ico-box {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px;
  background: var(--blue-50); color: var(--blue); transition: transform .6s var(--ease-out), background-color .4s, color .4s;
}
.ico-box svg { width: 26px; height: 26px; }
.card:hover .ico-box { background: var(--blue); color: #fff; transform: rotate(-8deg) scale(1.06); }
.card-num { position: absolute; top: 26px; right: 30px; font-weight: 800; font-size: .9rem; color: var(--blue-200); letter-spacing: .05em; }

.section--dark .card { background: rgba(255, 255, 255, .035); border-color: var(--on-dark-line); color: var(--on-dark-body); }
.section--dark .card:hover { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.section--dark .card h3 { color: #fff; }
.section--dark .ico-box { background: rgba(29, 122, 243, .16); color: #7fb6ff; }
.section--dark .card:hover .ico-box { background: var(--blue); color: #fff; }
.section--dark .card-num { color: rgba(255, 255, 255, .18); }
.section--dark [data-spotlight]::before { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(29, 122, 243, .22), transparent 60%); }

/* Services bento */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(250px, auto); gap: clamp(16px, 1.8vw, 22px); }
.svc { display: flex; flex-direction: column; }
.svc .tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.svc .tags li { font-size: .76rem; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--bg-soft); color: var(--body); border: 1px solid var(--line); }
.svc .go {
  margin-top: auto; padding-top: 22px; display: flex; align-items: center; justify-content: space-between; font-weight: 700; color: var(--ink); font-size: .94rem;
}
.svc .go i { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); transition: background-color .35s, color .35s, transform .5s var(--ease-out), border-color .35s; }
.svc .go i svg { width: 18px; height: 18px; }
.svc:hover .go i { background: var(--blue); border-color: var(--blue); color: #fff; transform: rotate(-45deg); }
.svc--feature { grid-column: span 2; grid-row: span 2; color: #fff; background: var(--navy); border: 0; justify-content: flex-end; min-height: 520px; }
.svc--feature img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease-out); }
.svc--feature:hover img.bg { transform: scale(1.06); }
.svc--feature::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 18, 50, .05) 10%, rgba(5, 18, 50, .92) 72%); }
.svc--feature h3 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.svc--feature p { color: #d0dbf0; font-size: 1.04rem; max-width: 520px; }
.svc--feature .tags li { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .18); backdrop-filter: blur(6px); }
.svc--feature .go { color: #fff; }
.svc--feature .go i { border-color: rgba(255, 255, 255, .3); }
.svc--feature .ico-box { background: var(--blue); color: #fff; margin-top: auto; }
.svc--feature .go { margin-top: 0; }
.svc--wide { grid-column: span 2; }
.svc--cta { background: var(--grad-strong); border: 0; color: #fff; }
.svc--cta h3 { color: #fff; }
.svc--cta p { color: #dbe9ff; }
.svc--cta .go { color: #fff; }
.svc--cta .go i { border-color: rgba(255, 255, 255, .4); }
.svc--cta:hover .go i { background: #fff; color: var(--blue); }
.svc--cta .ico-box { background: rgba(255, 255, 255, .16); color: #fff; }
@media (max-width: 1024px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc--feature { min-height: 440px; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .svc--feature, .svc--wide { grid-column: auto; grid-row: auto; }
}

/* ---------- Media / image blocks ---------- */
.media { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--blue-50); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--tall { aspect-ratio: 4 / 5; }
.media--wide { aspect-ratio: 16 / 11; }
.media--square { aspect-ratio: 1 / 1; }
html.js [data-reveal="clip"] { clip-path: inset(12% 12% 12% 12% round 28px); opacity: 0; transition: clip-path 1.4s var(--ease-out), opacity .8s var(--ease); }
html.js [data-reveal="clip"].is-in { clip-path: inset(0 0 0 0 round var(--radius)); opacity: 1; }
html.js [data-reveal="clip"] img { transform: scale(1.25); transition: transform 1.8s var(--ease-out); }
html.js [data-reveal="clip"].is-in img { transform: scale(1); }

.img-stack { position: relative; padding: 0 12% 14% 0; }
.img-stack .media:first-child { aspect-ratio: 4 / 4.2; }
.img-stack .media.small { position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 1 / 1.05; border: 8px solid #fff; box-shadow: var(--shadow-lg); border-radius: 28px; }
.section--soft .img-stack .media.small { border-color: var(--bg-soft); }
.exp-badge {
  position: absolute; left: -18px; bottom: 22%; z-index: 3; background: var(--navy); color: #fff; border-radius: 20px;
  padding: 20px 22px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 14px; animation: bob 7s var(--ease-in-out) infinite;
}
.exp-badge b { font-size: 2.4rem; line-height: 1; letter-spacing: -.04em; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.exp-badge span { font-size: .84rem; line-height: 1.35; color: var(--on-dark-body); font-weight: 600; }
@media (max-width: 560px) { .exp-badge { left: 8px; padding: 14px 16px; } .exp-badge b { font-size: 1.9rem; } }

/* Check list */
.checklist { list-style: none; display: grid; gap: 14px; margin: 26px 0 34px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink); font-weight: 600; line-height: 1.5; }
.checklist li i { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; margin-top: 1px; }
.checklist li i svg { width: 14px; height: 14px; stroke-width: 3; }
.checklist li span { display: block; font-weight: 400; color: var(--body); font-size: .96rem; margin-top: 2px; }
.checklist--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .checklist--2 { grid-template-columns: 1fr; } }
.section--dark .checklist li { color: #fff; }
.section--dark .checklist li span { color: var(--on-dark-body); }

/* ---------- Process ---------- */
.process { position: relative; display: grid; grid-template-columns: repeat(var(--steps, 3), minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); counter-reset: step; }
.process::before, .process::after { content: ""; position: absolute; top: 36px; left: 36px; right: 36px; height: 2px; background: var(--line); }
.process::after { background: var(--grad); transform-origin: 0 50%; transform: scaleX(var(--progress, 0)); transition: transform 1.6s var(--ease-out); }
.process.is-in { --progress: 1; }
.section--dark .process::before { background: var(--on-dark-line); }
.step { position: relative; z-index: 1; }
.step-dot {
  width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 26px;
  background: #fff; border: 2px solid var(--line); color: var(--blue); font-weight: 800; font-size: 1.2rem;
  transition: background-color .5s, color .5s, border-color .5s, transform .6s var(--ease-out);
}
.section--soft .step-dot { background: var(--bg-soft); }
.section--dark .step-dot { background: var(--navy); border-color: rgba(255, 255, 255, .15); color: #7fb6ff; }
.process.is-in .step-dot { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 0 0 8px rgba(29, 122, 243, .12); }
.process.is-in .step:nth-child(1) .step-dot { transition-delay: .1s; }
.process.is-in .step:nth-child(2) .step-dot { transition-delay: .45s; }
.process.is-in .step:nth-child(3) .step-dot { transition-delay: .8s; }
.process.is-in .step:nth-child(4) .step-dot { transition-delay: 1.1s; }
.process.is-in .step:nth-child(5) .step-dot { transition-delay: 1.4s; }
.step h3 { font-size: 1.24rem; }
.step p { font-size: .97rem; margin: 0; }
@media (max-width: 900px) {
  .process { grid-template-columns: 1fr; gap: 8px; }
  .process::before, .process::after { top: 36px; bottom: 36px; left: 35px; right: auto; width: 2px; height: auto; }
  .process::after { transform-origin: 50% 0; transform: scaleY(var(--progress, 0)); }
  .step { display: grid; grid-template-columns: 72px 1fr; column-gap: 22px; padding-bottom: 26px; }
  .step-dot { margin: 0; grid-row: span 2; }
  .step h3 { margin-top: 18px; }
}

/* ---------- Testimonials ---------- */
.testi-marquee { --speed: 60s; padding-block: 8px; }
.testi-marquee .marquee-track { gap: 22px; padding-right: 22px; }
.testi {
  width: min(420px, 82vw); flex: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; display: flex; flex-direction: column; gap: 20px; transition: transform .5s var(--ease-out), box-shadow .5s;
}
.testi:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.testi blockquote { margin: 0; color: var(--ink); font-size: 1.02rem; line-height: 1.7; font-weight: 500; }
.testi .q { width: 34px; height: 34px; color: var(--blue); }
.testi-person { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.testi-person .av { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--grad-strong); flex: none; }
.testi-person strong { display: block; color: var(--ink); line-height: 1.3; }
.testi-person span { font-size: .88rem; color: var(--muted); }

/* ---------- Gallery strip ---------- */
.gallery-strip { display: flex; gap: clamp(14px, 1.6vw, 22px); will-change: transform; width: max-content; }
.gallery-strip figure { margin: 0; flex: none; width: clamp(260px, 30vw, 440px); aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; }
.gallery-strip figure:nth-child(even) { aspect-ratio: 4 / 4.6; width: clamp(220px, 24vw, 340px); }
.gallery-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.gallery-strip figure:hover img { transform: scale(1.06); }
.gallery-wrap { overflow: hidden; }
.gallery-strip { align-items: center; }

/* ---------- Team ---------- */
.team-card { text-align: left; }
.team-card .av {
  width: 76px; height: 76px; border-radius: 22px; display: grid; place-items: center; margin-bottom: 22px;
  background: var(--grad-strong); color: #fff; font-weight: 800; font-size: 1.5rem; letter-spacing: -.02em;
  box-shadow: var(--shadow-blue); transition: transform .6s var(--ease-out), border-radius .6s var(--ease-out);
}
.team-card:hover .av { transform: rotate(-6deg); border-radius: 50%; }
.team-card h3 { margin-bottom: 4px; }
.team-card .role { color: var(--blue); font-weight: 700; font-size: .92rem; margin-bottom: 14px; display: block; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; background: var(--navy); color: var(--on-dark-body); overflow: hidden;
  padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 clamp(64px, 8vw, 110px);
}
.page-hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: 56px; align-items: center; }
.page-hero-inner.has-media { grid-template-columns: 1.1fr .9fr; }
.page-hero h1 { color: #fff; margin-bottom: 22px; }
.page-hero .lead { color: var(--on-dark-body); max-width: 640px; margin-bottom: 32px; }
.page-hero--center .page-hero-inner { text-align: center; }
.page-hero--center .lead { margin-inline: auto; }
.page-hero--center .btn-row, .page-hero--center .breadcrumbs ol { justify-content: center; }
.page-hero-media { position: relative; }
.page-hero-media .media { aspect-ratio: 5 / 4.4; box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .6); border: 1px solid rgba(255, 255, 255, .1); }
.page-hero-media .float-card { left: -30px; bottom: 30px; display: flex; align-items: center; gap: 12px; animation: bob 6s var(--ease-in-out) infinite; transform: none; }
.page-hero-media .float-card .ico { width: 42px; height: 42px; border-radius: 12px; background: var(--blue); color: #fff; display: grid; place-items: center; flex: none; }
.page-hero-media .float-card .ico svg { width: 20px; height: 20px; }
@media (max-width: 960px) {
  .page-hero-inner.has-media { grid-template-columns: 1fr; }
  .page-hero-media { max-width: 560px; }
  .page-hero-media .float-card { left: 12px; bottom: -20px; }
}
.breadcrumbs { margin-bottom: 26px; font-size: .88rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 8px; color: #8ea3cc; }
.breadcrumbs li + li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #4c6293; }
.breadcrumbs a { color: #d5e2ff; transition: color .2s; }
.breadcrumbs a:hover { color: #fff; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; color: #c6d3ee; font-size: .92rem; font-weight: 600; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 18px; height: 18px; color: #7fb6ff; }

/* ---------- Pricing ---------- */
.pricing { align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: clamp(28px, 3vw, 40px); }
.plan h3 { font-size: 1.3rem; margin-bottom: 4px; }
.plan .plan-for { font-size: .94rem; color: var(--muted); margin-bottom: 26px; }
.price { display: flex; align-items: flex-start; gap: 4px; color: var(--ink); margin-bottom: 6px; }
.price sup { font-size: 1.4rem; font-weight: 700; margin-top: 10px; }
.price b { font-size: clamp(3rem, 5vw, 4rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.price span { align-self: flex-end; margin-bottom: 8px; color: var(--muted); font-weight: 600; font-size: .95rem; }
.plan .note { font-size: .84rem; color: var(--muted); margin-bottom: 26px; }
.plan ul { list-style: none; display: grid; gap: 12px; margin-bottom: 32px; }
.plan li { display: flex; gap: 12px; font-size: .96rem; color: var(--ink); line-height: 1.45; }
.plan li svg { width: 20px; height: 20px; flex: none; color: var(--blue); stroke-width: 2.6; }
.plan li.off { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(108, 120, 150, .5); }
.plan li.off svg { color: #c2cadb; }
.plan .btn { margin-top: auto; }
.plan--featured { background: var(--navy); border-color: var(--navy); color: var(--on-dark-body); transform: translateY(-14px); box-shadow: var(--shadow-lg); }
.plan--featured:hover { transform: translateY(-20px); }
.plan--featured h3, .plan--featured .price, .plan--featured li { color: #fff; }
.plan--featured .plan-for, .plan--featured .price span, .plan--featured .note { color: var(--on-dark-body); }
.plan--featured li svg { color: #7fb6ff; }
.plan-badge { position: absolute; top: 24px; right: 24px; font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: var(--grad); color: #fff; }
@media (max-width: 1024px) { .plan--featured { transform: none; } .plan--featured:hover { transform: translateY(-6px); } }

.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: .96rem; }
.compare th, .compare td { padding: 16px 20px; text-align: center; border-bottom: 1px solid var(--line); }
.compare th:first-child, .compare td:first-child { text-align: left; color: var(--ink); font-weight: 600; }
.compare thead th { background: var(--bg-soft); color: var(--ink); font-weight: 800; }
.compare tr:last-child td { border-bottom: 0; }
.compare svg { width: 20px; height: 20px; margin: auto; color: var(--blue); stroke-width: 2.8; }
.compare .no { color: #c2cadb; }
.table-scroll { overflow-x: auto; border-radius: var(--radius); }
.table-scroll .compare { min-width: 640px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 14px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; transition: border-color .3s, box-shadow .4s; }
.faq details[open] { border-color: rgba(29, 122, 243, .35); box-shadow: 0 16px 40px -24px rgba(29, 122, 243, .45); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 26px; font-weight: 700; color: var(--ink); font-size: 1.06rem; line-height: 1.45; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; transition: transform .5s var(--ease-out), background-color .3s, color .3s; }
.faq summary i svg { width: 18px; height: 18px; }
.faq details[open] summary i { transform: rotate(135deg); background: var(--blue); color: #fff; }
.faq .ans { padding: 0 26px 24px; color: var(--body); }
.faq .ans p:last-child { margin: 0; }
.section--soft .faq details { background: #fff; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: clamp(24px, 3vw, 36px); background: var(--navy); color: var(--on-dark-body);
  padding: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; isolation: isolate;
}
.cta-band .fx { z-index: -1; }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band .lead { color: var(--on-dark-body); }
.cta-band .eyebrow { color: #7fb6ff; }
.cta-band .eyebrow--pill { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: #d6e6ff; }
.cta-band p { margin-bottom: 0; }
.cta-band .btn-row { justify-content: flex-end; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } .cta-band .btn-row { justify-content: flex-start; } }

.audit-form { display: flex; gap: 10px; padding: 8px; background: #fff; border-radius: 999px; box-shadow: var(--shadow-lg); max-width: 560px; }
.audit-form input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 0 18px; font-size: 1rem; color: var(--ink); background: transparent; }
.audit-form input::placeholder { color: #95a1bb; }
@media (max-width: 520px) {
  .audit-form { flex-direction: column; border-radius: 22px; }
  .audit-form input { padding: 14px 12px; }
}

/* ---------- Blog cards ---------- */
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .6s var(--ease-out), box-shadow .5s; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card .thumb { aspect-ratio: 16 / 10; overflow: hidden; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.post-card:hover .thumb img { transform: scale(1.07); }
.post-card .body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: .82rem; font-weight: 600; color: var(--muted); margin-bottom: 12px; }
.post-meta .cat { color: var(--blue); background: var(--blue-50); padding: 4px 10px; border-radius: 999px; font-weight: 700; }
.post-card h3 { font-size: 1.25rem; line-height: 1.3; margin-bottom: 10px; transition: color .3s; }
.post-card:hover h3 { color: var(--blue); }
.post-card p { font-size: .96rem; margin-bottom: 18px; }
.post-card .link-arrow { margin-top: auto; }
.post-card--feature { display: grid; grid-template-columns: 1.1fr 1fr; }
.post-card--feature .thumb { aspect-ratio: auto; min-height: 360px; }
.post-card--feature .body { padding: clamp(28px, 4vw, 52px); justify-content: center; }
.post-card--feature h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
@media (max-width: 860px) { .post-card--feature { grid-template-columns: 1fr; } .post-card--feature .thumb { min-height: 0; aspect-ratio: 16 / 10; } }

/* Article */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(40px, 5vw, 72px); align-items: start; }
.article-cover { margin-top: calc(clamp(40px, 6vw, 80px) * -1); position: relative; z-index: 2; }
.article-cover .media { aspect-ratio: 16 / 8; box-shadow: var(--shadow-lg); }
.toc { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 22px; }
.toc-box { border: 1px solid var(--line); border-radius: var(--radius-md); padding: 22px; background: #fff; }
.toc-box h4 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.toc-box ol { list-style: none; display: grid; gap: 2px; counter-reset: toc; }
.toc-box li a { display: block; padding: 7px 10px; border-radius: 8px; font-size: .92rem; line-height: 1.4; color: var(--body); border-left: 2px solid transparent; transition: background-color .2s, color .2s, border-color .2s; }
.toc-box li a:hover { background: var(--bg-soft); color: var(--ink); }
.toc-box li a.is-active { color: var(--blue); border-left-color: var(--blue); background: var(--blue-50); font-weight: 600; }
.toc-cta { background: var(--navy); color: var(--on-dark-body); border-radius: var(--radius-md); padding: 26px; }
.toc-cta strong { display: block; color: #fff; font-size: 1.15rem; line-height: 1.3; margin-bottom: 8px; }
.toc-cta p { font-size: .92rem; line-height: 1.55; }
.author-box { display: flex; gap: 18px; align-items: center; padding: 24px; border-radius: var(--radius-md); background: var(--bg-soft); margin-top: 48px; }
.author-box img { width: 64px; height: 64px; border-radius: 16px; background: var(--navy); padding: 12px; flex: none; }
.author-box strong { color: var(--ink); display: block; }
.author-box p { margin: 0; font-size: .94rem; }
.key-takeaways { background: var(--blue-50); border: 1px solid var(--blue-100); border-radius: var(--radius-md); padding: 26px 28px; margin-bottom: 2em; }
.key-takeaways h2 { font-size: 1.1rem !important; margin: 0 0 12px !important; letter-spacing: 0; }
.key-takeaways ul { margin: 0; }
@media (max-width: 1024px) { .article-layout { grid-template-columns: 1fr; } .toc { position: static; } .toc-box { display: none; } }

/* ---------- Forms ---------- */
.form-card { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: clamp(26px, 4vw, 48px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { position: relative; }
.field label { display: block; font-size: .86rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.field label .req { color: var(--blue); }
.field input, .field select, .field textarea {
  width: 100%; padding: 15px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg-soft);
  color: var(--ink); font-size: 1rem; transition: border-color .25s, background-color .25s, box-shadow .25s; appearance: none;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236c7896' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(29, 122, 243, .12); }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #e5484d; }
.field .err { display: none; color: #d13438; font-size: .82rem; margin-top: 6px; font-weight: 600; }
.field.has-error .err { display: block; }
.form-note { font-size: .84rem; color: var(--muted); margin: 14px 0 0; }
.form-status { display: none; margin-top: 18px; padding: 16px 18px; border-radius: 14px; font-weight: 600; font-size: .95rem; }
.form-status.ok { display: block; background: #e7f7ee; color: #0b7a44; }
.form-status.info { display: block; background: var(--blue-50); color: var(--blue-600); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); font-size: .9rem; font-weight: 600; color: var(--body); transition: all .25s; background: #fff; }
.chips input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.chips input:focus-visible + span { outline: 2.5px solid var(--blue); outline-offset: 2px; }

.contact-cards { display: grid; gap: 16px; }
.contact-card { display: flex; gap: 18px; align-items: center; padding: 22px; border-radius: var(--radius-md); background: rgba(255, 255, 255, .04); border: 1px solid var(--on-dark-line); transition: background-color .3s, transform .5s var(--ease-out); }
.contact-card:hover { background: rgba(255, 255, 255, .08); transform: translateX(6px); }
.contact-card .ico-box { margin: 0; width: 52px; height: 52px; flex: none; }
.contact-card small { display: block; color: var(--on-dark-body); font-size: .82rem; font-weight: 600; }
.contact-card strong { color: #fff; font-size: 1.02rem; overflow-wrap: break-word; }
#contact-form { scroll-margin-top: 190px; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--navy-950); color: var(--on-dark-body); padding: clamp(64px, 8vw, 110px) 0 28px; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr) 1.4fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--on-dark-line); position: relative; z-index: 1; }
.footer-brand img { width: 170px; margin-bottom: 22px; }
.footer-brand p { font-size: .95rem; max-width: 340px; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 20px; }
.footer-links { list-style: none; display: grid; gap: 10px; font-size: .95rem; }
.footer-links a { position: relative; transition: color .25s; }
.footer-links a:hover { color: #fff; }
.footer-links a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out); }
.footer-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--on-dark-line); color: #fff; transition: background-color .3s, border-color .3s, transform .5s var(--ease-out); }
.socials a:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-4px); }
.socials svg { width: 18px; height: 18px; }
.newsletter { display: flex; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--on-dark-line); margin-top: 16px; }
.newsletter input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; padding: 0 14px; color: #fff; font-size: .94rem; }
.newsletter input::placeholder { color: #7686a8; }
.newsletter button { width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; flex: none; transition: transform .4s var(--ease-out), background-color .3s; }
.newsletter button:hover { transform: rotate(-45deg); background: var(--blue-400); }
.newsletter button svg { width: 18px; height: 18px; }
.footer-contact { list-style: none; display: grid; gap: 12px; font-size: .95rem; margin-top: 20px; }
.footer-contact a, .footer-contact li { display: flex; gap: 10px; align-items: center; }
.footer-contact svg { width: 17px; height: 17px; color: #7fb6ff; flex: none; }
.footer-contact a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 26px; font-size: .88rem; position: relative; z-index: 1; }
.footer-bottom nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-bottom a:hover { color: #fff; }
.footer-giant {
  position: relative; z-index: 0; font-weight: 800; letter-spacing: -.06em; line-height: .8; text-align: center; white-space: nowrap;
  font-size: clamp(2.4rem, 10.2vw, 10.4rem); margin: clamp(30px, 5vw, 60px) 0 0; user-select: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, 0) 85%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
@media (max-width: 1080px) { .footer-top { grid-template-columns: 1fr 1fr 1fr; } .footer-brand, .footer-news { grid-column: 1 / -1; } }
@media (max-width: 600px) { .footer-top { grid-template-columns: 1fr 1fr; } }

/* ---------- Floating UI ---------- */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 80; width: 54px; height: 54px; border-radius: 50%;
  background: var(--navy); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow);
  opacity: 0; transform: translateY(20px) scale(.9); pointer-events: none; transition: opacity .4s, transform .5s var(--ease-out), background-color .3s;
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--blue); }
.to-top > svg { width: 20px; height: 20px; position: relative; z-index: 1; }
.to-top .prog { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top .prog circle { fill: none; stroke: var(--blue-400); stroke-width: 2.5; stroke-dasharray: 157; stroke-dashoffset: calc(157 - 157 * var(--p, 0)); stroke-linecap: round; }

.cursor { position: fixed; top: 0; left: 0; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 1.5px solid rgba(29, 122, 243, .7); pointer-events: none; z-index: 200; opacity: 0; transition: width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out), opacity .3s, background-color .3s, border-color .3s; mix-blend-mode: normal; }
.cursor.is-active { opacity: 1; }
.cursor.is-hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(29, 122, 243, .1); border-color: rgba(29, 122, 243, .3); }

/* ---------- Reveal on scroll ---------- */
html.js [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
html.js [data-reveal="left"] { transform: translateX(-48px); }
html.js [data-reveal="right"] { transform: translateX(48px); }
html.js [data-reveal="zoom"] { transform: scale(.92); }
html.js [data-reveal="fade"] { transform: none; }
html.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Misc ---------- */
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .92rem; color: var(--ink); transition: transform .4s var(--ease-out), border-color .3s, box-shadow .3s; }
.pill:hover { transform: translateY(-3px); border-color: var(--blue-200); box-shadow: var(--shadow-sm); }
.pill svg { width: 16px; height: 16px; color: var(--blue); }
.section--dark .pill { background: rgba(255, 255, 255, .05); border-color: var(--on-dark-line); color: #fff; }
.divider { height: 1px; background: var(--line); margin: 0; border: 0; }

.value-card { padding: 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.mv-card { position: relative; overflow: hidden; border-radius: var(--radius); padding: clamp(30px, 4vw, 48px); color: var(--on-dark-body); background: var(--navy); isolation: isolate; }
.mv-card h3 { color: #fff; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.mv-card .big { font-size: clamp(1.25rem, 2vw, 1.55rem); color: #fff; font-weight: 700; line-height: 1.4; letter-spacing: -.01em; }
.mv-card--blue { background: var(--grad-strong); color: #dbe9ff; }

.flags { display: flex; flex-wrap: wrap; gap: 10px; }

.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; }
.notfound .code { font-size: clamp(7rem, 24vw, 16rem); font-weight: 800; line-height: .9; letter-spacing: -.07em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  html.js [data-reveal], html.js [data-split] .wi { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .marquee-track { animation: none !important; }
  .chart-line { stroke-dashoffset: 0; }
  .chart-area, .chart-dot { opacity: 1; }
  .ring .val { stroke-dashoffset: 6; }
  .cursor { display: none; }
}
