/* =========================================================================
   Adria Office Zagreb — Virtual Office Services
   Clean corporate light theme. Hand-tuned design system.
   ========================================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Brand */
  --navy:        #0B1F3A;
  --navy-700:    #102A4C;
  --blue:        #2563EB;
  --blue-600:    #2563EB;
  --blue-700:    #1D4ED8;
  --cyan:        #06B6D4;
  --accent-grad: linear-gradient(135deg, #2563EB 0%, #06B6D4 100%);

  /* Neutrals */
  --bg:          #FFFFFF;
  --bg-soft:     #F6F8FC;
  --bg-softer:   #EFF4FB;
  --text:        #0F172A;
  --muted:       #475569;
  --muted-2:     #64748B;
  --border:      #E2E8F0;
  --border-2:    #CBD5E1;
  --white:       #FFFFFF;

  /* Effects */
  --shadow-sm:   0 1px 2px rgba(15,23,42,.06), 0 1px 3px rgba(15,23,42,.04);
  --shadow-md:   0 8px 24px -8px rgba(15,23,42,.12), 0 2px 8px rgba(15,23,42,.05);
  --shadow-lg:   0 24px 60px -16px rgba(15,23,42,.18), 0 8px 24px -12px rgba(37,99,235,.12);
  --shadow-blue: 0 16px 40px -12px rgba(37,99,235,.45);

  /* Layout */
  --container: 1200px;
  --radius:    18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --ease:      cubic-bezier(.22,.61,.36,1);

  /* z-index scale */
  --z-base: 1;
  --z-header: 50;
  --z-float: 40;
  --z-overlay: 60;
  --z-menu: 70;
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (max-width: 600px) { html { scroll-padding-top: 88px; } }

/* Lenis smooth scroll (active only when JS enables it) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* Skip link */
.skip-link {
  position: fixed; top: 10px; left: 50%; transform: translate(-50%, -130%);
  z-index: 100; background: var(--navy); color: #fff; padding: 12px 22px;
  border-radius: 999px; font-weight: 700; font-size: .95rem; box-shadow: var(--shadow-lg);
  transition: transform .25s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip; /* clip (not hidden) so <body> doesn't become the scroll container — keeps window scroll + Lenis working */
}

img,svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid rgba(37,99,235,.55); outline-offset: 3px; border-radius: 6px; }

/* ---------- Typography ---------- */
h1,h2,h3,h4 {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  color: var(--navy);
  line-height: 1.12;
  letter-spacing: -.02em;
  font-weight: 800;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--blue-700);
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; border-radius: 2px;
  background: var(--accent-grad);
}
.section-title { font-size: clamp(1.9rem, 4vw, 2.85rem); }
.section-lead {
  color: var(--muted); font-size: 1.075rem; max-width: 60ch;
  margin-top: 14px; line-height: 1.7;
}

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 22px; }
.section { padding-block: clamp(64px, 9vw, 118px); }
.section--soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .section-lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px;
  font-family: "Plus Jakarta Sans", sans-serif; font-weight: 700; font-size: .98rem;
  cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  white-space: nowrap; will-change: transform;
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn-primary { background: var(--accent-grad); color: #fff; box-shadow: var(--shadow-blue); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 22px 48px -12px rgba(37,99,235,.55); }
.btn-ghost { background: #fff; color: var(--navy); border: 1.5px solid var(--border-2); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--blue); color: var(--blue-700); box-shadow: var(--shadow-md); }
.btn-wa { background: #25D366; color: #fff; box-shadow: 0 14px 34px -12px rgba(37,211,102,.6); }
.btn-wa:hover { transform: translateY(-3px); background: #1ebe5b; }
.btn-block { width: 100%; }
.btn-lg { padding: 17px 32px; font-size: 1.05rem; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 16px 16px auto 16px; z-index: var(--z-header);
  max-width: calc(var(--container) + 32px); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px 12px 22px;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(226,232,240,.9);
  border-radius: 999px;
  box-shadow: 0 6px 22px -10px rgba(15,23,42,.16);
  transition: padding .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), top .3s var(--ease);
}
.header.scrolled { padding-block: 8px; background: rgba(255,255,255,.9); box-shadow: 0 10px 30px -12px rgba(15,23,42,.22); }

.brand { display: flex; align-items: center; gap: 11px; font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; font-size: 1.18rem; color: var(--navy); letter-spacing: -.02em; }
.brand .mark {
  width: 38px; height: 38px; border-radius: 11px; flex: none;
  background: var(--accent-grad); display: grid; place-items: center;
  box-shadow: 0 6px 16px -6px rgba(37,99,235,.6);
}
.brand .mark svg { width: 21px; height: 21px; }
.brand small { display: block; font-size: .62rem; font-weight: 600; letter-spacing: .12em; color: var(--muted-2); text-transform: uppercase; margin-top: -2px; font-family: "Inter"; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 9px 15px; border-radius: 999px; font-weight: 600; font-size: .95rem; color: var(--muted);
  transition: color .2s, background .2s;
}
.nav a:hover { color: var(--navy); background: var(--bg-softer); }

.header-actions { display: flex; align-items: center; gap: 10px; }

.lang-toggle {
  display: inline-flex; align-items: center; padding: 4px; border-radius: 999px;
  background: var(--bg-softer); border: 1px solid var(--border);
}
.lang-toggle button {
  padding: 6px 12px; border-radius: 999px; font-weight: 700; font-size: .82rem; color: var(--muted-2);
  transition: color .2s, background .2s, box-shadow .2s;
}
.lang-toggle button.active { background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }

.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; background: var(--bg-softer); }
.menu-toggle svg { width: 24px; height: 24px; color: var(--navy); }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: var(--z-menu);
  background: rgba(11,31,58,.45); backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(86vw, 360px);
  background: #fff; padding: 26px 24px; display: flex; flex-direction: column; gap: 6px;
  transform: translateX(100%); transition: transform .42s var(--ease);
  box-shadow: -20px 0 60px -20px rgba(15,23,42,.4);
}
.mobile-menu.open .mobile-panel { transform: translateX(0); }
.mobile-panel .mm-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.mobile-panel a { padding: 15px 14px; border-radius: 14px; font-weight: 600; font-size: 1.08rem; color: var(--navy); transition: background .2s; }
.mobile-panel a:hover { background: var(--bg-soft); }
.mobile-panel .mm-cta { margin-top: 14px; display: grid; gap: 10px; }
.mm-close { width: 44px; height: 44px; border-radius: 12px; background: var(--bg-soft); display: grid; place-items: center; }
.mm-close svg { width: 24px; height: 24px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: 150px; padding-bottom: 80px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-bg .blob {
  position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5;
  will-change: transform;
}
.hero-bg .b1 { width: 520px; height: 520px; top: -160px; right: -120px; background: radial-gradient(circle, rgba(37,99,235,.45), transparent 70%); animation: float1 18s ease-in-out infinite; }
.hero-bg .b2 { width: 460px; height: 460px; top: 40px; left: -180px; background: radial-gradient(circle, rgba(6,182,212,.35), transparent 70%); animation: float2 22s ease-in-out infinite; }
.hero-bg .grid-fade {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(37,99,235,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(37,99,235,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 30%, transparent 75%);
}
@keyframes float1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-40px,40px) scale(1.08); } }
@keyframes float2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(50px,-30px) scale(1.12); } }

.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); }
.hero h1 .grad { background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { color: var(--muted); font-size: 1.18rem; line-height: 1.7; margin-top: 22px; max-width: 52ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 34px; }
.hero-trust .stars { display: flex; gap: 2px; color: #F59E0B; }
.hero-trust .stars svg { width: 18px; height: 18px; }
.hero-trust small { color: var(--muted); font-size: .92rem; }
.hero-trust strong { color: var(--navy); }
.hero-trust .divider { width: 1px; height: 30px; background: var(--border-2); }

/* Hero word rotator */
.hero-rotator {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 26px;
  padding: 9px 16px 9px 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  font-weight: 600; font-size: .98rem; color: var(--muted);
}
.hero-rotator .rot-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-grad); flex: none; box-shadow: 0 0 0 4px rgba(37,99,235,.14); }
.hero-rotator .rot-window { position: relative; height: 1.5em; overflow: hidden; display: inline-block; }
.hero-rotator .rot-word {
  display: inline-block; font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; color: var(--navy);
  background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  white-space: nowrap; will-change: transform, opacity;
}
.hero-rotator .rot-word.out { animation: rotOut .5s var(--ease) forwards; }
.hero-rotator .rot-word.in { animation: rotIn .5s var(--ease) forwards; }
@keyframes rotOut { to { transform: translateY(-110%); opacity: 0; } }
@keyframes rotIn { from { transform: translateY(110%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* Scan beam over the address card (suggests mail scanning) */
.address-card .scan-beam {
  position: absolute; left: 0; right: 0; top: 0; height: 46%;
  background: linear-gradient(180deg, rgba(37,99,235,0) 0%, rgba(37,99,235,.10) 60%, rgba(6,182,212,.22) 100%);
  border-bottom: 1.5px solid rgba(6,182,212,.55);
  box-shadow: 0 8px 24px -6px rgba(6,182,212,.4);
  pointer-events: none; mix-blend-mode: multiply; opacity: .9;
  animation: scanMove 4.2s var(--ease) infinite;
}
@keyframes scanMove {
  0%   { transform: translateY(-100%); opacity: 0; }
  12%  { opacity: .95; }
  50%  { transform: translateY(118%); opacity: .95; }
  62%  { opacity: 0; }
  100% { transform: translateY(118%); opacity: 0; }
}

/* Hero visual card */
.hero-visual { position: relative; }
.address-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 26px; position: relative; overflow: hidden;
}
.address-card .ac-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px dashed var(--border-2); }
.ac-badge { display: inline-flex; align-items: center; gap: 7px; font-size: .78rem; font-weight: 700; color: #16A34A; background: #DCFCE7; padding: 6px 12px; border-radius: 999px; }
.ac-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 3px rgba(34,197,94,.25); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 3px rgba(34,197,94,.25); } 50% { box-shadow: 0 0 0 6px rgba(34,197,94,0); } }
.ac-logo { width: 40px; height: 40px; border-radius: 11px; background: var(--accent-grad); display: grid; place-items: center; }
.ac-logo svg { width: 22px; height: 22px; }
.address-card h3 { font-size: 1.2rem; margin-top: 18px; }
.address-card .addr { color: var(--muted); font-size: .98rem; margin-top: 4px; }
.ac-rows { margin-top: 18px; display: grid; gap: 10px; }
.ac-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--bg-soft); border-radius: 14px; font-size: .94rem; font-weight: 500; }
.ac-row .ico { width: 36px; height: 36px; border-radius: 10px; background: #fff; display: grid; place-items: center; flex: none; box-shadow: var(--shadow-sm); color: var(--blue-700); }
.ac-row .ico svg { width: 19px; height: 19px; }
.ac-row .meta { margin-left: auto; font-size: .8rem; color: var(--muted-2); font-weight: 600; }

.float-chip {
  position: absolute; background: #fff; border: 1px solid var(--border); border-radius: 16px;
  padding: 13px 16px; box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 11px;
  font-weight: 700; font-size: .9rem; color: var(--navy);
}
.float-chip .ci { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; flex: none; }
.float-chip small { display: block; font-weight: 500; font-size: .76rem; color: var(--muted-2); }
.chip-1 { top: -26px; left: -28px; animation: bob 5s ease-in-out infinite; }
.chip-1 .ci { background: #2563EB; }
.chip-2 { bottom: -24px; right: -22px; animation: bob 6s ease-in-out infinite .8s; }
.chip-2 .ci { background: #06B6D4; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Logo strip ---------- */
.logos { padding-block: 40px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg); }
.logos p { text-align: center; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); font-weight: 600; margin-bottom: 22px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 64px; width: max-content; animation: scroll-x 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: "Plus Jakarta Sans"; font-weight: 800; font-size: 1.45rem; color: #94A3B8; letter-spacing: -.02em; white-space: nowrap; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat { text-align: center; padding: 30px 18px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.stat:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.stat .num { font-family: "Plus Jakarta Sans"; font-weight: 800; font-size: clamp(2.1rem, 4vw, 2.9rem); background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.stat .lbl { color: var(--muted); font-size: .96rem; margin-top: 8px; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 28px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  position: relative; overflow: hidden;
}
.service::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--accent-grad); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.service:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service:hover::after { transform: scaleX(1); }
.service .s-ico { width: 56px; height: 56px; border-radius: 16px; background: var(--bg-softer); display: grid; place-items: center; color: var(--blue-700); margin-bottom: 20px; transition: background .35s, color .35s; }
.service:hover .s-ico { background: var(--accent-grad); color: #fff; }
.service .s-ico svg { width: 27px; height: 27px; }
.service h3 { font-size: 1.22rem; margin-bottom: 9px; }
.service p { color: var(--muted); font-size: .98rem; }

/* Services carousel — auto-rotates + drag/scroll manually */
.services-marquee {
  overflow-x: auto; overflow-y: hidden; padding-block: 6px; cursor: grab;
  scrollbar-width: none; -ms-overflow-style: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.services-marquee::-webkit-scrollbar { display: none; }
.services-marquee.grabbing { cursor: grabbing; }
.services-marquee.grabbing .service { pointer-events: none; }
.services-track { display: flex; width: max-content; }
.services-track .service { width: 340px; flex: none; margin-right: 22px; }

/* Scroll line below (drag to move) */
.services-progress {
  position: relative; height: 6px; border-radius: 999px; background: var(--border);
  max-width: 320px; margin: 28px auto 0; cursor: pointer; touch-action: none;
}
.services-progress-bar {
  position: absolute; top: 0; left: 0; height: 100%; width: 24%; border-radius: 999px;
  background: var(--accent-grad); will-change: transform;
}
@media (max-width: 600px) {
  .services-track .service { width: 80vw; margin-right: 16px; }
}

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; position: relative; }
.step { position: relative; padding: 0 8px; }
.step .step-no { width: 56px; height: 56px; border-radius: 16px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-md); display: grid; place-items: center; font-family: "Plus Jakarta Sans"; font-weight: 800; font-size: 1.4rem; color: var(--blue-700); margin-bottom: 20px; position: relative; z-index: 2; }
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .98rem; }
.steps .connector { position: absolute; top: 28px; left: 12%; right: 12%; height: 3px; border-radius: 3px; background: repeating-linear-gradient(90deg, rgba(148,163,184,.4) 0 8px, transparent 8px 16px); z-index: 0; overflow: visible; }
/* moving glow dot along the connector (positioned by JS, perfectly in sync) */
.steps .connector .flow-dot {
  position: absolute; top: 50%; left: 0; width: 16px; height: 16px; margin: -8px 0 0 -8px;
  border-radius: 50%; background: radial-gradient(circle at 50% 50%, #fff 0%, var(--cyan) 38%, var(--blue) 72%);
  box-shadow: 0 0 16px 5px rgba(37,99,235,.55), 0 0 7px 2px rgba(6,182,212,.7);
  will-change: transform, opacity; opacity: 0; transition: opacity .35s;
}
/* numbers smoothly light up when the dot reaches them (JS toggles .lit) */
.step .step-no { transition: background .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease), border-color .35s var(--ease); }
.step .step-no.lit {
  background: var(--accent-grad); color: #fff; border-color: transparent;
  transform: translateY(-2px) scale(1.07);
  box-shadow: 0 0 0 6px rgba(37,99,235,.12), 0 16px 32px -10px rgba(37,99,235,.7);
}

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px 28px;
  display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  position: relative;
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.plan.featured { background: var(--navy); border-color: var(--navy); color: #E2E8F0; box-shadow: var(--shadow-lg); transform: translateY(-12px); }
.plan.featured:hover { transform: translateY(-18px); }
.plan.featured h3, .plan.featured .price .amt { color: #fff; }
.plan.featured .price .per, .plan.featured .plan-desc { color: #94A3B8; }
.plan.featured .feat li { color: #CBD5E1; }
.plan .ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--accent-grad); color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 16px; border-radius: 999px; box-shadow: var(--shadow-blue); white-space: nowrap; }
.plan h3 { font-size: 1.3rem; }
.plan-desc { color: var(--muted); font-size: .92rem; margin-top: 4px; min-height: 40px; }
.price { margin: 18px 0 6px; display: flex; align-items: baseline; gap: 6px; }
.price .amt { font-family: "Plus Jakarta Sans"; font-weight: 800; font-size: 2.8rem; color: var(--navy); letter-spacing: -.03em; }
.price .per { color: var(--muted); font-size: .95rem; }
.feat { display: grid; gap: 13px; margin: 22px 0 26px; }
.feat li { display: flex; align-items: flex-start; gap: 11px; font-size: .96rem; color: var(--text); }
.feat li svg { width: 20px; height: 20px; flex: none; color: var(--blue); margin-top: 1px; }
.plan.featured .feat li svg { color: var(--cyan); }
.plan .btn { margin-top: auto; }
.plan.featured .btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.2); }
.plan.featured .btn-ghost:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.4); }
.pricing-note { text-align: center; color: var(--muted-2); font-size: .9rem; margin-top: 30px; }

/* ---------- Location / Why ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature-list { display: grid; gap: 18px; margin-top: 26px; }
.feature-item { display: flex; gap: 16px; }
.feature-item .fi-ico { width: 48px; height: 48px; border-radius: 14px; background: var(--bg-softer); color: var(--blue-700); display: grid; place-items: center; flex: none; }
.feature-item .fi-ico svg { width: 23px; height: 23px; }
.feature-item h4 { font-size: 1.08rem; margin-bottom: 3px; color: var(--navy); }
.feature-item p { color: var(--muted); font-size: .95rem; }
.map-card { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--border); background: #fff; }
.map-card iframe { width: 100%; height: 420px; border: 0; display: block; filter: saturate(1.05); }
.map-card .map-foot { display: flex; align-items: center; gap: 12px; padding: 18px 22px; }
.map-card .map-foot .ico { width: 42px; height: 42px; border-radius: 12px; background: var(--accent-grad); display: grid; place-items: center; color: #fff; flex: none; }
.map-card .map-foot small { color: var(--muted); display: block; font-size: .82rem; }
.map-card .map-foot strong { color: var(--navy); }

/* ---------- Testimonials ---------- */
.tst-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tst { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease); display: flex; flex-direction: column; }
.tst:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.tst .stars { display: flex; gap: 2px; color: #F59E0B; margin-bottom: 14px; }
.tst .stars svg { width: 17px; height: 17px; }
.tst .quote { color: var(--text); font-size: 1rem; line-height: 1.7; flex: 1; }
.tst .who { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.tst .avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-family: "Plus Jakarta Sans"; font-weight: 800; color: #fff; flex: none; }
.tst .who strong { display: block; font-size: .96rem; color: var(--navy); }
.tst .who small { color: var(--muted-2); font-size: .85rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin-inline: auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 14px; background: #fff; overflow: hidden; transition: box-shadow .3s, border-color .3s; }
.faq-item.open { box-shadow: var(--shadow-md); border-color: var(--border-2); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; text-align: left; font-family: "Plus Jakarta Sans"; font-weight: 700; font-size: 1.05rem; color: var(--navy); }
.faq-q .chev { width: 32px; height: 32px; border-radius: 50%; background: var(--bg-softer); display: grid; place-items: center; flex: none; transition: transform .35s var(--ease), background .3s; color: var(--blue-700); }
.faq-q .chev svg { width: 18px; height: 18px; }
.faq-item.open .chev { transform: rotate(180deg); background: var(--accent-grad); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a-inner { padding: 0 22px 22px; color: var(--muted); font-size: .98rem; line-height: 1.7; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.contact-info { display: grid; gap: 16px; }
.ci-card { display: flex; gap: 15px; align-items: center; padding: 20px 22px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.ci-card:hover { transform: translateX(6px); box-shadow: var(--shadow-md); }
.ci-card .ico { width: 50px; height: 50px; border-radius: 14px; background: var(--bg-softer); color: var(--blue-700); display: grid; place-items: center; flex: none; }
.ci-card .ico svg { width: 23px; height: 23px; }
.ci-card.wa .ico { background: #DCFCE7; color: #16A34A; }
.ci-card small { color: var(--muted-2); font-size: .82rem; display: block; }
.ci-card strong { color: var(--navy); font-size: 1.05rem; }

.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-lg); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .9rem; color: var(--navy); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--border); border-radius: 12px;
  font: inherit; font-size: .98rem; color: var(--text); background: var(--bg-soft);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(37,99,235,.12); }
.form-success { display: none; text-align: center; padding: 30px 10px; }
.form-success.show { display: block; }
.form-success .ok { width: 64px; height: 64px; border-radius: 50%; background: #DCFCE7; color: #16A34A; display: grid; place-items: center; margin: 0 auto 16px; }
.form-success .ok svg { width: 34px; height: 34px; }
.form-success h3 { font-size: 1.3rem; margin-bottom: 8px; }
.form-success p { color: var(--muted); }
.consent { font-size: .82rem; color: var(--muted-2); margin-top: 6px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--navy); padding: clamp(40px, 6vw, 72px); text-align: center; box-shadow: var(--shadow-lg); }
.cta-band::before { content: ""; position: absolute; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(37,99,235,.5), transparent 70%); top: -180px; right: -120px; filter: blur(40px); }
.cta-band::after { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(6,182,212,.4), transparent 70%); bottom: -160px; left: -100px; filter: blur(40px); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.7rem); }
.cta-band p { color: #CBD5E1; max-width: 56ch; margin: 16px auto 30px; font-size: 1.08rem; }
.cta-band .hero-cta { justify-content: center; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #94A3B8; padding-block: 60px 30px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer .brand { color: #fff; margin-bottom: 16px; }
.footer .brand small { color: #64748B; }
.footer-about { font-size: .94rem; line-height: 1.7; max-width: 34ch; }
.footer h5 { color: #fff; font-family: "Plus Jakarta Sans"; font-weight: 700; font-size: 1rem; margin-bottom: 16px; }
.footer-links { display: grid; gap: 11px; }
.footer-links a { font-size: .94rem; transition: color .2s, padding-left .2s; }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: .88rem; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: background .25s, transform .25s; }
.socials a:hover { background: var(--blue); transform: translateY(-3px); }
.footer-legal { display: flex; align-items: center; gap: 10px; font-size: .88rem; flex-wrap: wrap; justify-content: center; }
.footer-legal a { color: #94A3B8; transition: color .2s; }
.footer-legal a:hover { color: #fff; }
.footer-legal span { color: #475569; }
.socials svg { width: 19px; height: 19px; color: #fff; }

/* ---------- Floating WhatsApp ---------- */
.wa-float { position: fixed; bottom: 24px; right: 24px; z-index: var(--z-float); width: 60px; height: 60px; border-radius: 50%; background: #25D366; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37,211,102,.7); transition: transform .3s var(--ease); }
.wa-float svg { width: 32px; height: 32px; color: #fff; }
.wa-float:hover { transform: scale(1.1); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25D366; opacity: .55; animation: ripple 2.2s ease-out infinite; z-index: -1; }
@keyframes ripple { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.8); opacity: 0; } }

/* ---------- Scroll reveal ---------- */
/* Hidden state only applies when JS is available, so no-JS users still see all content. */
.reveal { transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal { opacity: 0; transform: translateY(28px); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

/* ---------- Scroll progress ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--accent-grad); z-index: var(--z-overlay); transition: width .1s linear; }

/* ---------- Language visibility ---------- */
[data-i18n][data-hidden="true"] { display: none; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 460px; margin-inline: auto; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .services-grid, .tst-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .header-actions .btn { display: none; }
  .menu-toggle { display: flex; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .plan.featured { transform: none; }
  .plan.featured:hover { transform: translateY(-6px); }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .steps .connector { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .header { inset: 10px 10px auto 10px; padding: 10px 10px 10px 16px; }
  .services-grid, .tst-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .float-chip { display: none; }
  .hero { padding-top: 130px; }
  .hero-trust .divider { display: none; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 420px) {
  .stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero-bg .blob, .chip-1, .chip-2, .marquee-track, .wa-float::before, .ac-badge .dot { animation: none !important; }
  .address-card .scan-beam { display: none !important; }
  .hero-rotator .rot-word { animation: none !important; transform: none !important; opacity: 1 !important; }
  .hero-photo { animation: none !important; transform: scale(1.04) !important; }
  .services-track { animation: none !important; }
  .services-marquee { overflow-x: auto; }
  .steps .connector::before { animation: none !important; opacity: .4; }
  .step .step-no { animation: none !important; }
}

/* =========================================================================
   Liquid glass — subtle, high-quality glass on icon chips
   ========================================================================= */
.s-ico, .fi-ico, .ci-card .ico {
  background: linear-gradient(145deg, rgba(255,255,255,.78), rgba(231,240,255,.5));
  border: 1px solid rgba(255,255,255,.85);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.95), inset 0 -3px 6px rgba(37,99,235,.06), 0 8px 18px -10px rgba(37,99,235,.28);
  -webkit-backdrop-filter: blur(8px) saturate(150%);
  backdrop-filter: blur(8px) saturate(150%);
}
.ac-row .ico {
  background: linear-gradient(145deg, rgba(255,255,255,.92), rgba(238,244,255,.7));
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.95), 0 4px 10px -6px rgba(15,23,42,.16);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
/* gentle glass sheen on gradient logo squares (kept very subtle, icon stays crisp) */
.mark, .ac-logo { position: relative; overflow: hidden; }
.mark::after, .ac-logo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(150deg, rgba(255,255,255,.4) 0%, rgba(255,255,255,.08) 38%, rgba(255,255,255,0) 60%);
}
.mark > *, .ac-logo > * { position: relative; z-index: 1; }
/* keep the service icon readable on its gradient hover state */
.service:hover .s-ico { border-color: transparent; box-shadow: 0 10px 22px -8px rgba(37,99,235,.5); }

/* =========================================================================
   Blog (WordPress)
   ========================================================================= */
.container--narrow { max-width: 760px; }
.brand-logo { height: 38px; width: auto; display: block; }

.blog-hero { position: relative; overflow: hidden; padding-top: 150px; }
.blog-hero .container { position: relative; z-index: 1; max-width: 800px; }
.blog-hero .section-title { margin-top: 10px; }

/* Listing grid */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post-card-media { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--bg-softer); overflow: hidden; }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.post-card:hover .post-card-media img { transform: scale(1.05); }
.post-card-fallback { position: absolute; inset: 0; display: grid; place-items: center; color: #B6C2D4; }
.post-card-fallback svg { width: 56px; height: 56px; }
.post-card-tag { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.92); backdrop-filter: blur(6px); color: var(--blue-700); font-size: .76rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; box-shadow: var(--shadow-sm); }
.post-card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post-card-meta { font-size: .82rem; color: var(--muted-2); font-weight: 600; }
.post-card-title { font-size: 1.2rem; line-height: 1.3; margin: 8px 0 10px; }
.post-card-title a { color: var(--navy); transition: color .2s; }
.post-card-title a:hover { color: var(--blue-700); }
.post-card-excerpt { color: var(--muted); font-size: .96rem; flex: 1; }
.post-card-more { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; font-weight: 700; font-size: .92rem; color: var(--blue-700); transition: gap .2s; }
.post-card-more svg { width: 17px; height: 17px; }
.post-card-more:hover { gap: 11px; }

.blog-empty { text-align: center; color: var(--muted); padding: 40px 0; font-size: 1.05rem; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; flex-wrap: wrap; }
.pagination .page-numbers {
  min-width: 44px; height: 44px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px; border: 1px solid var(--border); background: #fff; color: var(--navy); font-weight: 700;
  transition: background .2s, color .2s, border-color .2s;
}
.pagination .page-numbers:hover { border-color: var(--blue); color: var(--blue-700); }
.pagination .page-numbers.current { background: var(--accent-grad); color: #fff; border-color: transparent; }
.pagination .page-numbers.dots { border: none; background: none; }

/* Single post */
.post-header { padding-bottom: 24px; }
.post-back { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-weight: 600; font-size: .92rem; margin-bottom: 18px; transition: color .2s, gap .2s; }
.post-back svg { width: 18px; height: 18px; }
.post-back:hover { color: var(--blue-700); gap: 11px; }
.post-title { font-size: clamp(1.9rem, 4.5vw, 3rem); margin: 12px 0 0; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; color: var(--muted-2); font-size: .92rem; font-weight: 500; }
.post-meta .dot { opacity: .5; }
.post-cover { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); margin-bottom: 14px; }
.post-cover img { width: 100%; height: auto; display: block; }

/* Post prose */
.post-body { font-size: 1.08rem; line-height: 1.8; color: #1E293B; padding-block: 26px; }
.post-body > * + * { margin-top: 1.1em; }
.post-body h2 { font-size: 1.7rem; margin-top: 1.8em; }
.post-body h3 { font-size: 1.35rem; margin-top: 1.5em; }
.post-body a { color: var(--blue-700); text-decoration: underline; text-underline-offset: 3px; }
.post-body a:hover { color: var(--blue); }
.post-body ul, .post-body ol { padding-left: 1.4em; }
.post-body ul { list-style: disc; }
.post-body ol { list-style: decimal; }
.post-body li + li { margin-top: .5em; }
.post-body img { border-radius: var(--radius); box-shadow: var(--shadow-md); height: auto; }
.post-body blockquote { border-left: 4px solid var(--blue); background: var(--bg-soft); padding: 16px 22px; border-radius: 0 12px 12px 0; color: var(--muted); font-style: italic; }
.post-body code { background: var(--bg-softer); padding: 2px 7px; border-radius: 6px; font-size: .92em; }
.post-body figure { margin: 1.4em 0; }
.post-body figcaption { font-size: .85rem; color: var(--muted-2); text-align: center; margin-top: 8px; }

/* Share buttons */
.post-share { display: flex; align-items: center; gap: 10px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.post-share-label { font-weight: 700; color: var(--navy); font-size: .95rem; margin-right: 4px; }
.share-btn { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--border); background: #fff; display: grid; place-items: center; color: var(--muted); cursor: pointer; transition: color .2s, border-color .2s, transform .2s, background .2s; }
.share-btn:hover { color: var(--blue-700); border-color: var(--blue); transform: translateY(-2px); }
.share-btn svg { width: 19px; height: 19px; }
.share-btn.copied { background: #DCFCE7; color: #16A34A; border-color: #86EFAC; }

/* 404 */
.error-404 { position: relative; overflow: hidden; padding-top: 160px; }
.error-404 .eyebrow { font-size: 1rem; }
@media (max-width: 600px) { .error-404 { padding-top: 130px; } }

@media (max-width: 1024px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .post-grid { grid-template-columns: 1fr; } .blog-hero { padding-top: 130px; } }

/* =========================================================================
   Modern upgrade
   ========================================================================= */

/* Moving hero background photo (Ken Burns), blended into the light design */
.hero-photo {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  will-change: transform; transform: scale(1.06);
  animation: kenburns 28s ease-in-out infinite alternate;
}
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(246,248,252,.97) 0%, rgba(246,248,252,.88) 36%, rgba(246,248,252,.58) 68%, rgba(255,255,255,.22) 100%);
}
@keyframes kenburns {
  0%   { transform: scale(1.06) translate(0, 0); }
  100% { transform: scale(1.2) translate(-2.5%, -2.5%); }
}
.hero.has-photo .blob { opacity: .28; }
@media (max-width: 860px) {
  .hero-photo::after { background: linear-gradient(180deg, rgba(246,248,252,.9) 0%, rgba(246,248,252,.95) 60%, rgba(246,248,252,.99) 100%); }
}

/* Richer hero ambience (aurora glow, no markup change) */
.hero-bg::after {
  content: ""; position: absolute; inset: -25% -10% auto -10%; height: 680px; pointer-events: none;
  background:
    radial-gradient(45% 55% at 28% 18%, rgba(37,99,235,.12), transparent 70%),
    radial-gradient(40% 50% at 82% 4%, rgba(6,182,212,.12), transparent 70%);
}

/* Cursor spotlight on cards */
.service, .plan, .tst { --mx: 50%; --my: 50%; }
.service::before, .plan::before, .tst::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0;
  opacity: 0; transition: opacity .4s var(--ease);
  background: radial-gradient(440px circle at var(--mx) var(--my), rgba(37,99,235,.10), transparent 45%);
}
.plan.featured::before { background: radial-gradient(440px circle at var(--mx) var(--my), rgba(56,189,248,.20), transparent 45%); }
.service:hover::before, .plan:hover::before, .tst:hover::before { opacity: 1; }
.service > *, .plan > *, .tst > * { position: relative; z-index: 1; }

/* Primary button sheen sweep */
.btn-primary { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary::after {
  content: ""; position: absolute; top: 0; left: -75%; width: 45%; height: 100%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.4), transparent);
  transform: skewX(-18deg); transition: left .65s var(--ease);
}
.btn-primary:hover::after { left: 130%; }

/* Featured pricing card — gradient ring + glow */
.plan.featured {
  border: 1.5px solid transparent;
  background:
    linear-gradient(var(--navy), var(--navy)) padding-box,
    var(--accent-grad) border-box;
  box-shadow: 0 30px 70px -22px rgba(37,99,235,.55), var(--shadow-lg);
}

/* Slightly more cinematic reveal */
.js .reveal { transform: translateY(30px) scale(.99); }
.js .reveal.in { transform: none; }

/* Crisper service icon transition + lift */
.service { transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); }
.service:hover { box-shadow: 0 26px 60px -22px rgba(15,23,42,.22), 0 6px 18px -10px rgba(37,99,235,.25); }

/* Animated gradient accent on section titles' eyebrow dot already exists; add subtle shine to ribbon */
.plan .ribbon { background-size: 200% 100%; animation: ribbonShift 6s linear infinite; }
@keyframes ribbonShift { to { background-position: 200% 0; } }

@media (prefers-reduced-motion: reduce) {
  .btn-primary::after, .plan .ribbon { animation: none !important; transition: none !important; }
  .service::before, .plan::before, .tst::before { display: none !important; }
}
