/* ==========================================================================
   Alpha Dev — premium liquid glass theme, monochrome, light + dark
   ========================================================================== */

@font-face { font-display: swap; }

:root{
  --font-display: 'Sora', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --ease-out: cubic-bezier(.16,1,.3,1);
  --ease-soft: cubic-bezier(.22,.61,.36,1);
  --dur-fast: .25s;
  --dur-med: .55s;
  --dur-slow: .9s;

  --container: 1240px;
  --nav-h: 84px;
}

/* ---------- Dark theme (default) ---------- */
html[data-theme="dark"]{
  --bg-0: #050506;
  --bg-1: #0a0a0c;
  --bg-2: #101013;
  --ink-0: #f6f6f8;
  --ink-1: rgba(246,246,248,.68);
  --ink-2: rgba(246,246,248,.44);
  --ink-3: rgba(246,246,248,.22);
  --line-0: rgba(255,255,255,.12);
  --line-1: rgba(255,255,255,.07);
  --glass-fill: rgba(255,255,255,.065);
  --glass-fill-strong: rgba(255,255,255,.1);
  --glass-spec: rgba(255,255,255,.5);
  --accent: #ffffff;
  --accent-ink: #050506;
  --shadow-color: 0,0,0;
  --grain-opacity: .05;
  --invert-logo: 0;
  --dash-accent: #1c8c63;
  --dash-accent-soft: rgba(28,140,99,.16);
}

html[data-theme="light"]{
  --bg-0: #fbfbfc;
  --bg-1: #f3f3f5;
  --bg-2: #ececef;
  --ink-0: #0b0b0c;
  --ink-1: rgba(11,11,12,.66);
  --ink-2: rgba(11,11,12,.44);
  --ink-3: rgba(11,11,12,.22);
  --line-0: rgba(10,10,12,.12);
  --line-1: rgba(10,10,12,.07);
  --glass-fill: rgba(255,255,255,.55);
  --glass-fill-strong: rgba(255,255,255,.75);
  --glass-spec: rgba(255,255,255,.9);
  --accent: #0b0b0c;
  --accent-ink: #fbfbfc;
  --shadow-color: 10,10,12;
  --grain-opacity: .035;
  --invert-logo: 1;
  --dash-accent: #17754f;
  --dash-accent-soft: rgba(23,117,79,.12);
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
html, body{ height: 100%; }

body{
  margin: 0;
  background: var(--bg-0);
  color: var(--ink-0);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color var(--dur-med) var(--ease-soft), color var(--dur-med) var(--ease-soft);
  overflow-x: hidden;
}

body.is-loading{ overflow: hidden; }

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
button{ font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul{ margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4,p{ margin: 0; }
svg{ display: block; }

::selection{ background: var(--ink-0); color: var(--bg-0); }

.container{
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.hide-mobile{ display: initial; }
@media (max-width: 760px){ .hide-mobile{ display: none !important; } }

/* ---------- Background atmosphere ---------- */
.atmosphere{
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.atmosphere .orb{
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .5;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.9), rgba(255,255,255,0) 70%);
  mix-blend-mode: var(--orb-blend, screen);
  will-change: transform;
}
html[data-theme="light"] .atmosphere .orb{
  --orb-blend: multiply;
  background: radial-gradient(circle at 30% 30%, rgba(10,10,12,.5), rgba(10,10,12,0) 70%);
  opacity: .22;
}
.atmosphere .orb-1{ width: 620px; height: 620px; top: -220px; left: -120px; animation: float-a 26s ease-in-out infinite; }
.atmosphere .orb-2{ width: 520px; height: 520px; top: 30%; right: -180px; animation: float-b 32s ease-in-out infinite; }
.atmosphere .orb-3{ width: 480px; height: 480px; bottom: -200px; left: 20%; animation: float-c 28s ease-in-out infinite; }

@keyframes float-a{
  0%,100%{ transform: translate(0,0) scale(1); }
  50%{ transform: translate(60px,80px) scale(1.12); }
}
@keyframes float-b{
  0%,100%{ transform: translate(0,0) scale(1); }
  50%{ transform: translate(-70px,50px) scale(1.08); }
}
@keyframes float-c{
  0%,100%{ transform: translate(0,0) scale(1); }
  50%{ transform: translate(50px,-60px) scale(1.15); }
}

.grain{
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: var(--grain-opacity);
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 180px 180px;
}

@media (prefers-reduced-motion: reduce){
  .atmosphere .orb{ animation: none !important; }
  html{ scroll-behavior: auto; }
  *{ animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ---------- Glass surfaces ---------- */
.glass{
  position: relative;
  background: var(--glass-fill);
  border: 1px solid var(--line-0);
  border-radius: var(--radius-md);
  box-shadow:
    0 1px 0 0 rgba(255,255,255,.06) inset,
    0 18px 50px -24px rgba(var(--shadow-color), .55);
}
/* Backdrop blur is expensive to recompute on scroll, so it is reserved for
   the handful of surfaces that actually float over moving content
   (nav, floating buttons, the lightbox) rather than every card on the page. */
.nav-inner.glass,
.to-top.glass{
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  /* Promotes this to its own stable GPU layer — sticky + backdrop-filter
     is a known trigger for Chrome/Windows to leave stale blur paint behind
     on scroll, bleeding content from below into the nav. */
  transform: translateZ(0);
  will-change: transform;
}
.glass::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--glass-spec), transparent 36%, transparent 64%, var(--glass-spec));
  opacity: .22;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ---------- Loader ---------- */
.loader{
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-0);
  pointer-events: none;
  transition: opacity .7s var(--ease-soft), visibility .7s;
  /* Guaranteed fallback: hides itself even if JS never adds body.is-ready
     (e.g. a tab backgrounded mid-load throttles its timers on mobile). */
  animation: loader-dismiss .01s linear 1.6s forwards;
}
.loader img{
  width: 64px;
  height: 64px;
  opacity: 0;
  filter: invert(var(--invert-logo));
  animation: loader-pop .9s var(--ease-out) forwards .15s;
}
body.is-ready .loader{ opacity: 0; visibility: hidden; }
@keyframes loader-pop{
  0%{ opacity: 0; transform: scale(.7); }
  60%{ opacity: 1; transform: scale(1.05); }
  100%{ opacity: 1; transform: scale(1); }
}
@keyframes loader-dismiss{ to{ opacity: 0; visibility: hidden; } }

/* ---------- Cursor ---------- */
.cursor-dot, .cursor-ring{
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 998;
  border-radius: 50%;
  transform: translate(-50%,-50%);
  mix-blend-mode: var(--cursor-blend, difference);
}
html[data-theme="light"]{ --cursor-blend: difference; }
.cursor-dot{ width: 6px; height: 6px; background: var(--ink-0); transition: opacity .2s; }
.cursor-ring{
  width: 34px; height: 34px;
  border: 1px solid var(--ink-0);
  transition: width .25s var(--ease-out), height .25s var(--ease-out), opacity .2s, border-color .25s;
  opacity: .7;
}
.cursor-ring.is-active{ width: 56px; height: 56px; opacity: 1; }
@media (hover: none), (pointer: coarse){
  .cursor-dot, .cursor-ring{ display: none; }
}

/* ---------- Nav ---------- */
.nav{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: padding var(--dur-fast) var(--ease-soft);
}
.nav.is-scrolled{ padding: 12px 0; }
.nav-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 14px 10px 18px;
  border-radius: var(--radius-pill);
}
.nav-brand{
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .01em;
  font-size: 17px;
}
.nav-brand img{ width: 28px; height: 28px; filter: invert(var(--invert-logo)); }
.nav-links{
  display: flex;
  align-items: center;
  gap: 2px;
  position: relative;
}
.nav-links a{
  position: relative;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-1);
  border-radius: var(--radius-pill);
  transition: color var(--dur-fast) var(--ease-soft);
}
.nav-links a:hover{ color: var(--ink-0); }
.nav-links a.is-active{ color: var(--ink-0); }
.nav-actions{ display: flex; align-items: center; gap: 10px; }

.theme-toggle{
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-0);
  background: var(--glass-fill);
  position: relative;
  flex: none;
}
.theme-toggle svg{ width: 18px; height: 18px; position: absolute; transition: transform .5s var(--ease-out), opacity .35s; }
.theme-toggle .icon-sun{ opacity: 0; transform: rotate(-70deg) scale(.5); }
.theme-toggle .icon-moon{ opacity: 1; transform: rotate(0) scale(1); }
html[data-theme="light"] .theme-toggle .icon-sun{ opacity: 1; transform: rotate(0) scale(1); }
html[data-theme="light"] .theme-toggle .icon-moon{ opacity: 0; transform: rotate(70deg) scale(.5); }

.menu-toggle{
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-0);
  background: var(--glass-fill);
  display: none;
  align-items: center;
  justify-content: center;
  position: relative;
}
.menu-toggle span{
  position: absolute;
  width: 16px; height: 1.5px;
  background: var(--ink-0);
  transition: transform .3s var(--ease-soft), opacity .3s;
}
.menu-toggle span:nth-child(1){ transform: translateY(-4px); }
.menu-toggle span:nth-child(2){ transform: translateY(4px); }
body.menu-open .menu-toggle span:nth-child(1){ transform: rotate(45deg); }
body.menu-open .menu-toggle span:nth-child(2){ transform: rotate(-45deg); }

@media (max-width: 920px){
  .nav-links{ display: none; }
  .menu-toggle{ display: flex; }
}

.mobile-menu{
  position: fixed;
  inset: 0;
  z-index: 95;
  padding: calc(var(--nav-h) + 20px) 24px 40px;
  background: var(--bg-0);
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity .35s var(--ease-soft), transform .35s var(--ease-soft), visibility .35s;
}
body.menu-open .mobile-menu{ opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-menu a{
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-1);
}
.mobile-menu .btn{ margin-top: 20px; align-self: flex-start; }

/* ---------- Buttons ---------- */
.btn{
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .01em;
  white-space: nowrap;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), background var(--dur-fast);
  will-change: transform;
}
.btn svg{ width: 16px; height: 16px; }
.btn-primary{
  background: var(--ink-0);
  color: var(--bg-0);
}
.btn-primary:hover{ box-shadow: 0 10px 30px -10px rgba(var(--shadow-color), .5); }
.btn-ghost{
  border: 1px solid var(--line-0);
  background: var(--glass-fill);
}
.btn-ghost:hover{ border-color: var(--ink-2); }
.btn-sm{ padding: 10px 18px; font-size: 13px; }
.btn-block{ width: 100%; justify-content: center; }
.auth-divider{ display:flex; align-items:center; gap:12px; margin:20px 0; color: var(--ink-2); font-size:12.5px; }
.auth-divider::before, .auth-divider::after{ content:''; flex:1; height:1px; background: var(--line-0); }

/* ---------- Type ---------- */
.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding: 7px 14px 7px 10px;
  border-radius: var(--radius-pill);
}
.eyebrow .dot{ width: 6px; height: 6px; border-radius: 50%; background: var(--ink-0); }

h1, h2, h3, h4{ font-family: var(--font-display); letter-spacing: -.01em; }

.section{ position: relative; z-index: 2; padding: 128px 0; }
.section-head{ max-width: 680px; margin: 0 0 56px; }
.section-head.is-center{ margin-left: auto; margin-right: auto; text-align: center; }
.section-title{ font-size: clamp(32px, 4.4vw, 48px); font-weight: 650; line-height: 1.12; margin-top: 18px; }
.section-sub{ margin-top: 16px; font-size: 17px; line-height: 1.65; color: var(--ink-1); }

/* reveal-on-scroll */
@keyframes reveal-fallback{ to{ opacity: 1; transform: translateY(0); } }
[data-reveal]{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  /* Guaranteed fallback in case the IntersectionObserver misses this
     element (seen on some mobile browsers for content already in view
     when the page loads) — reveals it regardless after a few seconds. */
  animation: reveal-fallback .01s linear 3s forwards;
}
[data-reveal].is-visible{ opacity: 1; transform: translateY(0); }
[data-reveal-stagger] > *{
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  animation: reveal-fallback .01s linear 3s forwards;
}
[data-reveal-stagger].is-visible > *{ opacity: 1; transform: translateY(0); }

/* ================= HERO ================= */
.hero{
  position: relative;
  z-index: 2;
  padding: calc(var(--nav-h) + 72px) 0 100px;
  min-height: 92vh;
  display: flex;
  align-items: center;
}
.hero-inner{ width: 100%; text-align: center; }
.hero-eyebrow{ justify-content: center; margin-bottom: 26px; }
.hero-title{
  font-size: clamp(40px, 7.4vw, 92px);
  font-weight: 650;
  line-height: 1.04;
  letter-spacing: -.02em;
}
.hero-title .line{ display: block; overflow: hidden; }
@keyframes hero-rise{ from{ transform: translateY(110%); } to{ transform: translateY(0); } }
.hero-title .line span{
  display: inline-block;
  animation: hero-rise 1s var(--ease-out) both;
  animation-delay: calc(var(--i, 0) * 90ms + 200ms);
}
.hero-title em{
  font-style: normal;
  position: relative;
  background: linear-gradient(90deg, var(--ink-0), var(--ink-2), var(--ink-0));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: sheen 5s linear infinite;
}
@keyframes sheen{ to{ background-position: -200% center; } }

@keyframes hero-fade-up{ from{ opacity: 0; transform: translateY(16px); } to{ opacity: 1; transform: translateY(0); } }

.hero-sub{
  max-width: 600px;
  margin: 28px auto 0;
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-1);
  animation: hero-fade-up .9s var(--ease-out) .7s both;
}
.hero-sub a, .section-sub a{
  color: var(--dash-accent);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition: text-decoration-color .2s;
}
.hero-sub a:hover, .section-sub a:hover{ text-decoration-color: var(--dash-accent); }

.hero-cta{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 40px;
  flex-wrap: wrap;
  animation: hero-fade-up .9s var(--ease-out) .85s both;
}

.hero-stats{
  margin-top: 88px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-1);
  border: 1px solid var(--line-1);
  border-radius: var(--radius-md);
  overflow: hidden;
  animation: hero-fade-up .9s var(--ease-out) 1s both;
}
.stat{
  background: var(--glass-fill);
  padding: 28px 16px;
  text-align: center;
}
.stat-num{ font-family: var(--font-display); font-size: clamp(26px,3vw,36px); font-weight: 700; }
.stat-label{ margin-top: 6px; font-size: 13px; color: var(--ink-2); }
@media (max-width: 720px){
  .hero-stats{ grid-template-columns: repeat(2,1fr); }
}

/* ================= MARQUEE ================= */
.marquee-section{ position: relative; z-index: 2; padding: 50px 0; border-top: 1px solid var(--line-1); border-bottom: 1px solid var(--line-1); }
.marquee{ overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track{ display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee-track span{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 34px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
}
.marquee-track span svg{ width: 6px; height: 6px; color: var(--ink-3); flex: none; }
@keyframes marquee{ to{ transform: translateX(-50%); } }

/* ================= SERVICES ================= */
.services-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 980px){ .services-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px){ .services-grid{ grid-template-columns: 1fr; } }

.service-card{
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  transition: transform var(--dur-fast) var(--ease-out), border-color var(--dur-fast);
}
.service-card:hover{ transform: translateY(-6px); border-color: var(--ink-2); }
.service-icon{
  width: 52px; height: 52px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: var(--ink-0);
  color: var(--bg-0);
  margin-bottom: 22px;
}
.service-icon svg{ width: 24px; height: 24px; }
.service-card h3{ font-size: 20px; font-weight: 650; }
.service-card p{ margin-top: 10px; color: var(--ink-1); font-size: 15px; line-height: 1.65; }
.service-index{ position: absolute; top: 24px; right: 28px; font-family: var(--font-display); font-size: 13px; color: var(--ink-3); }

/* ---------- Service visuals ---------- */
.service-visual{ margin-top: 22px; }

/* SEO: search visibility mockup */
.mock-search{ display: flex; flex-direction: column; gap: 8px; }
.mock-search-bar{
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-0);
  background: var(--bg-2);
  font-size: 12.5px;
  color: var(--ink-2);
}
.mock-search-bar svg{ width: 14px; height: 14px; flex: none; color: var(--ink-3); }
.mock-result{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
}
.mock-result.mock-result-top{ border-color: var(--line-0); background: var(--glass-fill); }
.mock-result-badge{
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--ink-0);
  color: var(--bg-0);
  font-size: 10.5px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.mock-result:not(.mock-result-top) .mock-result-badge{ background: transparent; color: var(--ink-3); border: 1px solid var(--line-0); }
.mock-result-lines{ flex: 1; display: flex; flex-direction: column; gap: 5px; }
.mock-result-lines i{ display: block; height: 6px; border-radius: 3px; background: var(--ink-3); }
.mock-result-lines i:first-child{ width: 72%; background: var(--ink-1); }
.mock-result-lines i:last-child{ width: 46%; }

/* Google Business: map card mockup */
.mock-map{ display: flex; flex-direction: column; gap: 10px; }
.mock-map-card{
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--line-0);
  background: var(--bg-2);
}
.mock-map-photo{
  width: 46px; height: 46px;
  border-radius: 10px;
  flex: none;
  background: var(--ink-0);
  opacity: .14;
  display: flex; align-items: center; justify-content: center;
}
.mock-map-photo svg{ width: 20px; height: 20px; color: var(--ink-0); opacity: .9; }
.mock-map-info{ flex: 1; min-width: 0; }
.mock-map-name{ height: 8px; width: 70%; border-radius: 4px; background: var(--ink-1); margin-bottom: 8px; }
.mock-map-stars{ display: flex; gap: 2px; color: var(--ink-0); margin-bottom: 8px; }
.mock-map-stars svg{ width: 11px; height: 11px; }
.mock-map-actions{ display: flex; gap: 6px; }
.mock-map-actions span{ font-size: 10.5px; font-weight: 700; padding: 4px 9px; border-radius: var(--radius-pill); border: 1px solid var(--line-0); color: var(--ink-2); }
.mock-map-caption{ font-size: 12.5px; color: var(--ink-2); line-height: 1.5; }
.mock-map-caption strong{ color: var(--ink-1); font-weight: 600; }

.service-tags{ display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.service-tag{
  font-size: 12px;
  font-weight: 600;
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-0);
  color: var(--ink-1);
  transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast);
}
.service-tag:hover{ background: var(--ink-0); color: var(--bg-0); border-color: var(--ink-0); }

/* ================= CHECKER ================= */
.checker-panel{
  max-width: 760px;
  margin: 0 auto;
  padding: 48px;
}
@media (max-width: 620px){ .checker-panel{ padding: 32px 24px; } }

.checker-form{ display: flex; gap: 12px; flex-wrap: wrap; }
.checker-input{
  flex: 1;
  min-width: 220px;
  padding: 16px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-0);
  background: var(--bg-1);
  color: var(--ink-0);
  font-size: 15px;
  font-family: var(--font-body);
}
.checker-input::placeholder{ color: var(--ink-3); }
.checker-input:focus{ outline: none; border-color: var(--ink-2); }
.checker-form .btn{ flex: none; }
@media (max-width: 480px){ .checker-form{ flex-direction: column; } .checker-form .btn{ width: 100%; justify-content: center; } }

.checker-state{ margin-top: 30px; text-align: center; }
.checker-state p{ margin-top: 14px; color: var(--ink-1); font-size: 14.5px; line-height: 1.6; }
#checkerError .btn{ margin-top: 16px; }
.checker-spinner{
  display: inline-block;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 2.5px solid var(--line-0);
  border-top-color: var(--ink-0);
  animation: spin .8s linear infinite;
}
@keyframes spin{ to{ transform: rotate(360deg); } }

.checker-results{ margin-top: 34px; }
.checker-scores{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 28px; }
@media (max-width: 520px){ .checker-scores{ grid-template-columns: 1fr; } }
.score-row-head{ display: flex; align-items: baseline; justify-content: space-between; font-size: 13.5px; font-weight: 600; color: var(--ink-1); }
.score-num{ font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--ink-0); }
.score-track{ margin-top: 8px; height: 6px; border-radius: 4px; background: var(--line-0); overflow: hidden; }
.score-fill{ height: 100%; width: 0%; border-radius: 4px; background: var(--ink-0); transition: width 1s var(--ease-out); }
.score-row-desc{ margin-top: 8px; font-size: 12.5px; line-height: 1.5; color: var(--ink-2); }
.checker-verdict{
  margin-top: 28px;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  background: var(--glass-fill);
  border: 1px solid var(--line-0);
  font-size: 14.5px;
  color: var(--ink-1);
  line-height: 1.6;
}
.checker-results .btn{ margin-top: 22px; }

/* ================= WORK ================= */
.filter-row{ display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter-btn{
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--line-0);
  color: var(--ink-1);
  transition: all var(--dur-fast) var(--ease-soft);
}
.filter-btn.is-active, .filter-btn:hover{ background: var(--ink-0); color: var(--bg-0); border-color: var(--ink-0); }

.work-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-flow: dense;
  gap: 20px;
}
@media (max-width: 860px){ .work-grid{ grid-template-columns: 1fr; } }

.work-card{
  grid-column: span 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: opacity .5s var(--ease-soft), transform .5s var(--ease-soft);
}
.work-card.is-hidden{ display: none; }
.work-card.is-featured{ grid-column: span 2; }
@media (max-width: 860px){ .work-card.is-featured{ grid-column: span 1; } }

.work-window{
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--line-1);
}
.work-window i{ width: 9px; height: 9px; border-radius: 50%; background: var(--ink-3); }
.work-window span{ margin-left: 10px; font-size: 12px; color: var(--ink-3); font-family: var(--font-display); }

/* ---------- Screenshot stack ---------- */
.work-stack{
  position: relative;
  height: 230px;
  margin: 26px 26px 6px;
  cursor: pointer;
}
.work-stack img{
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 14px;
  border: 1px solid var(--line-0);
  box-shadow: 0 16px 36px -18px rgba(var(--shadow-color), .6);
  background: var(--bg-1);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.work-stack img:nth-of-type(1){ transform: rotate(0deg) translate(0,0); z-index: 3; }
.work-stack img:nth-of-type(2){ transform: rotate(-4deg) translate(-10px,10px); z-index: 2; }
.work-stack img:nth-of-type(3){ transform: rotate(5deg) translate(14px,16px); z-index: 1; }
.work-card:hover .work-stack img:nth-of-type(1){ transform: rotate(-2deg) translate(-16px,-6px); }
.work-card:hover .work-stack img:nth-of-type(2){ transform: rotate(-8deg) translate(-30px,14px); }
.work-card:hover .work-stack img:nth-of-type(3){ transform: rotate(9deg) translate(26px,20px); }
.work-stack-hint{
  position: absolute;
  right: 10px;
  bottom: -2px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  background: var(--ink-0);
  color: var(--bg-0);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .3s var(--ease-soft), transform .3s var(--ease-soft);
}
.work-stack-hint svg{ width: 13px; height: 13px; }
.work-card:hover .work-stack-hint{ opacity: 1; transform: translateY(0); }
.work-card.no-shots .work-stack{ display: none; }

/* UI/UX: single device-mockup poster preview, no rotation or cropping */
.work-stack.poster-preview{
  height: 192px;
  margin: 22px 0 4px;
  border-radius: 14px;
  border: 1px solid var(--line-0);
  background: var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 8px;
}
.work-stack.poster-preview img{
  position: static;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: none;
  box-shadow: none;
  transform: none;
  transition: transform .5s var(--ease-out);
}
.work-stack.poster-preview:hover img{ transform: scale(1.035); }
.work-stack.poster-preview .work-stack-hint{
  right: 10px;
  bottom: 10px;
}

.work-body{
  padding: 30px 30px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.work-tag{
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-2);
  border: 1px solid var(--line-0);
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}
.work-card h3{ font-size: 23px; font-weight: 650; }
.work-client{ margin-top: 4px; font-size: 13px; color: var(--ink-2); }
.work-card p{ margin-top: 14px; color: var(--ink-1); font-size: 15px; line-height: 1.65; }
.work-link{
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}
.work-link svg{ width: 15px; height: 15px; transition: transform .3s var(--ease-out); }
.work-card:hover .work-link svg{ transform: translate(4px,-4px); }
.work-link.is-disabled{ color: var(--ink-3); pointer-events: none; }

/* ================= PROCESS ================= */
.process-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 980px){ .process-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){ .process-grid{ grid-template-columns: 1fr; } }
.process-card{ padding: 30px 26px; border-radius: var(--radius-lg); }
.process-num{ font-family: var(--font-display); font-size: 13px; font-weight: 700; color: var(--ink-3); }
.process-card h3{ margin-top: 16px; font-size: 19px; font-weight: 650; }
.process-card p{ margin-top: 10px; font-size: 14px; color: var(--ink-1); line-height: 1.6; }

/* ================= TESTIMONIALS ================= */
.testimonial-wrap{ position: relative; max-width: 780px; margin: 0 auto; }
.testimonial-track{ overflow: hidden; border-radius: var(--radius-lg); }
.testimonial-rail{ display: flex; transition: transform .6s var(--ease-out); }
.testimonial-slide{ flex: 0 0 100%; padding: 56px 60px; text-align: center; }
@media (max-width: 640px){ .testimonial-slide{ padding: 40px 26px; } }
.stars{ display: flex; justify-content: center; gap: 4px; color: var(--ink-0); }
.stars svg{ width: 16px; height: 16px; }
.testimonial-quote{
  margin-top: 24px;
  font-family: var(--font-display);
  font-size: clamp(19px, 2.4vw, 25px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -.01em;
}
.testimonial-author{ margin-top: 26px; font-size: 14px; font-weight: 650; }
.testimonial-role{ margin-top: 2px; font-size: 13px; color: var(--ink-2); }
.testimonial-nav{ display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 30px; }
.t-arrow{
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-0);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--dur-fast), color var(--dur-fast);
}
.t-arrow:hover{ background: var(--ink-0); color: var(--bg-0); }
.t-arrow svg{ width: 16px; height: 16px; }
.t-dots{ display: flex; gap: 8px; }
.t-dots button{ width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); transition: all .3s; }
.t-dots button.is-active{ width: 22px; border-radius: 4px; background: var(--ink-0); }

/* ================= PRICING ================= */
.pricing-grid{ display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; align-items: stretch; }
@media (max-width: 980px){ .pricing-grid{ grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; } }
.price-card{ padding: 36px 30px; border-radius: var(--radius-lg); display: flex; flex-direction: column; }
.price-card.is-popular{ border-color: var(--ink-1); transform: translateY(-8px); }
@media (max-width: 980px){ .price-card.is-popular{ transform: none; } }
.price-badge{
  align-self: flex-start;
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: var(--ink-0); color: var(--bg-0);
  padding: 6px 12px; border-radius: var(--radius-pill);
  margin-bottom: 18px;
}
.price-card h3{ font-size: 19px; font-weight: 650; }
.price-note{ margin-top: 4px; font-size: 12px; color: var(--ink-2); }
.price-amount{ margin-top: 18px; font-family: var(--font-display); font-size: 34px; font-weight: 700; }
.price-amount small{ font-size: 14px; font-weight: 500; color: var(--ink-2); }
.price-desc{ margin-top: 14px; font-size: 14px; color: var(--ink-1); line-height: 1.6; }
.price-features{ margin-top: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.price-features li{ display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--ink-1); }
.price-features svg{ width: 15px; height: 15px; flex: none; margin-top: 2px; color: var(--ink-0); }
.price-card .btn{ margin-top: 28px; }
.pricing-note{ margin-top: 30px; text-align: center; font-size: 13.5px; color: var(--ink-2); }

/* ---------- Custom add-ons ---------- */
.addon-panel{
  margin-top: 20px;
  padding: 48px;
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 44px;
  align-items: center;
}
.addon-head h3{ margin-top: 16px; font-size: clamp(22px, 2.6vw, 28px); font-weight: 650; line-height: 1.2; }
.addon-head p{ margin-top: 12px; color: var(--ink-1); font-size: 14.5px; line-height: 1.65; max-width: 340px; }
.addon-head .btn{ margin-top: 26px; }
.addon-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.addon-grid li{ display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--ink-1); line-height: 1.55; }
.addon-grid svg{ width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--ink-0); }

@media (max-width: 860px){
  .addon-panel{ grid-template-columns: 1fr; padding: 36px 26px; gap: 30px; }
  .addon-grid{ grid-template-columns: 1fr; }
  .addon-head p{ max-width: none; }
}

/* ================= FAQ ================= */
.faq-list{ max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item{ border-radius: var(--radius-md); overflow: hidden; }
.faq-q{
  margin: 0;
  padding: 24px 26px 4px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
}
.faq-a p{ padding: 10px 26px 24px; color: var(--ink-1); font-size: 14.5px; line-height: 1.7; max-width: 640px; }

/* ================= CONTACT ================= */
.contact-panel{
  border-radius: var(--radius-lg);
  padding: 64px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 50px;
  overflow: hidden;
  position: relative;
}
@media (max-width: 860px){ .contact-panel{ grid-template-columns: 1fr; padding: 40px 28px; } }
.contact-title{ font-size: clamp(28px, 3.6vw, 42px); font-weight: 650; line-height: 1.15; }
.contact-copy{ margin-top: 16px; color: var(--ink-1); font-size: 16px; line-height: 1.7; max-width: 440px; }
.contact-cta{ margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }
.contact-list{ display: flex; flex-direction: column; gap: 0; }
.contact-row{
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-1);
}
.contact-row:first-child{ padding-top: 0; }
.contact-row-icon{
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-0);
  flex: none;
}
.contact-row-icon svg{ width: 18px; height: 18px; }
.contact-row-label{ font-size: 15px; font-weight: 650; color: var(--ink-0); flex: 1; }
.contact-row-caption{ display: block; font-size: 12px; color: var(--ink-2); text-transform: uppercase; letter-spacing: .08em; }
.contact-row-place{ display: block; margin-top: 2px; font-size: 15px; font-weight: 600; color: var(--ink-0); }
.contact-row-arrow{
  flex: none;
  width: 16px; height: 16px;
  color: var(--ink-3);
  transition: transform var(--dur-fast) var(--ease-out), color var(--dur-fast);
}
a.contact-row:hover .contact-row-arrow{ transform: translate(3px,-3px); color: var(--ink-0); }
a.contact-row:hover .contact-row-icon{ border-color: var(--ink-2); }

/* ================= FOOTER ================= */
.footer{ position: relative; z-index: 2; padding: 70px 0 32px; border-top: 1px solid var(--line-1); }
.footer-top{
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 46px;
}
.footer-brand{ max-width: 320px; }
.footer-brand .nav-brand{ margin-bottom: 14px; }
.footer-brand p{ color: var(--ink-1); font-size: 14px; line-height: 1.7; }
.footer-social{ display: flex; gap: 10px; margin-top: 22px; }
.footer-social a{
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-0);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--dur-fast), color var(--dur-fast), transform var(--dur-fast);
}
.footer-social a:hover{ background: var(--ink-0); color: var(--bg-0); transform: translateY(-3px); }
.footer-social svg{ width: 17px; height: 17px; }
.footer-cols{ display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h4{ font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 18px; }
.footer-col ul{ display: flex; flex-direction: column; gap: 12px; }
.footer-col a{ font-size: 14.5px; color: var(--ink-1); transition: color var(--dur-fast); }
.footer-col a:hover{ color: var(--ink-0); }
.footer-bottom{
  padding-top: 28px;
  border-top: 1px solid var(--line-1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  color: var(--ink-2);
}

/* ---------- Lightbox ---------- */
.lightbox{
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s var(--ease-soft), visibility .4s;
}
.lightbox.is-open{ opacity: 1; visibility: visible; }
.lightbox-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(var(--shadow-color), .72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.lightbox-panel{
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 920px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-1);
  border: 1px solid var(--line-0);
  transform: scale(.94) translateY(16px);
  opacity: 0;
  transition: transform .45s var(--ease-out), opacity .45s var(--ease-out);
}
.lightbox.is-open .lightbox-panel{ transform: scale(1) translateY(0); opacity: 1; }
.lightbox-close{
  position: absolute;
  top: 16px; right: 16px;
  z-index: 3;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--glass-fill-strong);
  border: 1px solid var(--line-0);
  backdrop-filter: blur(10px);
}
.lightbox-close svg{ width: 16px; height: 16px; }
.lightbox-stage{
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  background: var(--bg-2);
  overflow: hidden;
}
.lightbox-stage img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  transition: opacity .35s var(--ease-soft);
}
.lightbox-stage img.is-active{ opacity: 1; }
.lightbox-footer{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  flex-wrap: wrap;
}
.lightbox-title{ font-family: var(--font-display); font-size: 17px; font-weight: 650; }
.lightbox-meta{ margin-top: 3px; font-size: 13px; color: var(--ink-2); }
.lightbox-controls{ display: flex; align-items: center; gap: 12px; }
.lightbox-arrow{
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-0);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--dur-fast), color var(--dur-fast);
}
.lightbox-arrow:hover{ background: var(--ink-0); color: var(--bg-0); }
.lightbox-arrow svg{ width: 15px; height: 15px; }
.lightbox-count{ font-size: 12.5px; color: var(--ink-2); min-width: 40px; text-align: center; }
body.lightbox-open{ overflow: hidden; }

@media (max-width: 620px){
  .lightbox-footer{ flex-direction: column; align-items: flex-start; }
}

/* ---------- Back to top ---------- */
.to-top{
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .35s var(--ease-soft), transform .35s var(--ease-soft), visibility .35s;
}
.to-top.is-visible{ opacity: 1; visibility: visible; transform: translateY(0); }
.to-top svg{ width: 17px; height: 17px; }

/* ---------- WhatsApp floating button ---------- */
.wa-float{
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: var(--radius-pill);
  background: var(--ink-0);
  color: var(--bg-0);
  box-shadow: 0 14px 40px -16px rgba(var(--shadow-color), .6);
  transform: translateY(0);
  animation: wa-pulse 3.2s ease-in-out infinite;
}
.wa-float svg{ width: 18px; height: 18px; }
.wa-float span{ font-size: 13px; font-weight: 650; }
@keyframes wa-pulse{
  0%, 100%{ transform: translateY(0); }
  50%{ transform: translateY(-5px); }
}
@media (max-width: 620px){
  .wa-float span{ display: none; }
  .wa-float{ padding: 14px; }
}

/* ---------- Magnetic ---------- */
[data-magnetic]{ will-change: transform; }

/* ---------- misc helpers ---------- */
.mt-0{ margin-top: 0 !important; }
.center{ text-align: center; }

@media (max-width: 760px){
  .section{ padding: 88px 0; }
  .hero{ padding-top: calc(var(--nav-h) + 40px); min-height: auto; }
  .contact-panel{ gap: 36px; }
  /* A long button label (e.g. "Check if your business name is free")
     otherwise forces white-space:nowrap wide enough to push its whole
     flex/grid container past the viewport, clipping everything beside it. */
  .btn{ white-space: normal; text-align: center; }
  .contact-cta, .addon-head .btn{ width: 100%; }
  .contact-cta{ flex-direction: column; align-items: stretch; }
  .contact-cta .btn{ justify-content: center; }
}
