/* ==========================================================================
   Ketertech — Design System
   ========================================================================== */

:root {
  --bg: #10142a;
  --bg-alt: #171f3d;
  --bg-alt-2: #1c274a;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-strong: rgba(255, 255, 255, 0.1);
  --border: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.2);
  --text: #f3f5fb;
  --text-muted: #9aa2c2;
  --text-dim: #6b7394;

  --purple: #8b5cf6;
  --purple-deep: #6d28d9;
  --blue: #3b82f6;
  --cyan: #22d3ee;

  --gradient: linear-gradient(120deg, #8b5cf6 0%, #4f7bff 55%, #22d3ee 100%);
  --gradient-soft: linear-gradient(120deg, rgba(139,92,246,0.18), rgba(34,211,238,0.10));
  --gradient-text: linear-gradient(120deg, #c4b5fd 0%, #93c5fd 50%, #67e8f9 100%);

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;

  --container: 1180px;
  --header-h: 84px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text);
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

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

.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--cyan);
}

/* ---------------------------------- Background texture ---------------------------------- */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 90%);
  pointer-events: none;
}

.bg-glow {
  position: fixed;
  inset: 0;
  z-index: -3;
  background: var(--bg);
}

.glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.3;
  will-change: transform;
}

/* ---------------------------------- Buttons ---------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient);
  color: #05070f;
  box-shadow: 0 10px 30px -8px rgba(139, 92, 246, 0.55);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -10px rgba(139, 92, 246, 0.7);
}

.btn-ghost {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  border-color: var(--border-strong);
  background: var(--surface-strong);
  transform: translateY(-2px);
}

.btn-sm { padding: 11px 22px; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ---------------------------------- Header ---------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(16, 20, 42, 0.82);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-img {
  height: 58px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 14px rgba(139, 92, 246, 0.4)) brightness(1.12) saturate(1.3) contrast(1.08);
  transition: filter 0.3s var(--ease);
}
.logo:hover .logo-img {
  filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.6)) brightness(1.2) saturate(1.4) contrast(1.1);
}
.logo-img-footer { height: 40px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
  transition: color 0.25s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient);
}

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

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}
.nav-toggle span {
  width: 18px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------------------------------- Sections ---------------------------------- */
main { padding-top: var(--header-h); }

.section {
  padding: 120px 0;
  position: relative;
}
.section-tight { padding: 80px 0; }
.section-head {
  max-width: 640px;
  margin-bottom: 64px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

h2.section-title { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 18px; }
.section-lede { color: var(--text-muted); font-size: 1.08rem; max-width: 620px; }

/* ---------------------------------- Hero ---------------------------------- */
.hero {
  position: relative;
  padding: 170px 0 110px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  margin-bottom: 26px;
}
.hero-lede {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 540px;
  margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 46px; }

.hero-trust {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-radius: 100px;
  background: var(--surface);
  border: 1px solid var(--border);
  width: fit-content;
  font-size: 0.86rem;
  color: var(--text-muted);
}
.hero-trust b { color: var(--text); font-weight: 600; }
.hero-trust .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  flex-shrink: 0;
}

/* Hero visual panel — mock dashboard */
.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(139,92,246,0.14), rgba(9,13,30,0.6));
  backdrop-filter: blur(6px);
  padding: 28px;
  min-height: 440px;
  /* No overflow:hidden here on purpose — the floating badges need to sit
     near the edges without their corners being clipped by the rounded
     border-radius. The glow effect gets its own clipped layer below. */
}
.hero-visual-glow {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
.hero-visual-glow::before {
  content: '';
  position: absolute;
  inset: -40%;
  background: var(--gradient);
  opacity: 0.16;
  filter: blur(60px);
  animation: rotateGlow 18s linear infinite;
}
@keyframes rotateGlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.mock-window {
  position: relative;
  z-index: 1;
  background: rgba(6, 9, 20, 0.85);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 70px -20px rgba(0,0,0,0.6);
}
.mock-bar {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.mock-bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--surface-strong); }
.mock-body { padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.mock-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-muted);
}
.mock-row b { color: var(--text); font-weight: 600; }
.mock-pill {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(34, 211, 238, 0.14);
  color: var(--cyan);
}
.mock-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 90px;
  padding: 14px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.mock-chart i {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: var(--gradient);
  opacity: 0.85;
}
.mock-float {
  position: absolute;
  z-index: 2;
  padding: 9px 14px;
  border-radius: 12px;
  background: rgba(10, 14, 30, 0.94);
  border: 1px solid var(--border-strong);
  font-size: 0.7rem;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  box-shadow: 0 20px 40px -14px rgba(0,0,0,0.6);
}
/* Kept inside the panel's bounds — the panel clips overflow (for the
   glow effect), so floats can't poke past its edges like they used to. */
.mock-float-1 { top: 14px; right: 14px; }
.mock-float-2 { bottom: 14px; left: 14px; }
.mock-float b { display: block; font-size: 0.88rem; color: var(--cyan); font-family: 'Space Grotesk', sans-serif; margin-top: 1px; }

/* ---------------------------------- Stats ---------------------------------- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat {
  padding: 44px 24px;
  text-align: center;
  border-left: 1px solid var(--border);
}
.stat:first-child { border-left: none; }
.stat .num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  font-weight: 700;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat .label {
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---------------------------------- Cards grid ---------------------------------- */
.grid {
  display: grid;
  gap: 24px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  padding: 32px 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  background: var(--surface-strong);
}
.card-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gradient-soft);
  border: 1px solid var(--border);
  margin-bottom: 20px;
  color: var(--cyan);
}
.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: 0.94rem; }

/* ---------------------------------- Checklist ---------------------------------- */
.checklist { display: flex; flex-direction: column; gap: 18px; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 1.02rem;
  color: var(--text);
}
.check-icon {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--gradient-soft);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan);
  font-size: 0.8rem;
  margin-top: 2px;
}

/* ---------------------------------- Split section (image/text alternating) ---------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.split.reverse .split-visual { order: 2; }
.split-visual {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--gradient-soft);
  min-height: 340px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.split-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 100px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 18px;
}
.split h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 16px; }
.split p { color: var(--text-muted); margin-bottom: 20px; }

/* ---------------------------------- Quote / Lema ---------------------------------- */
.quote-block {
  position: relative;
  padding: 70px 60px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(139,92,246,0.14), rgba(34,211,238,0.06));
  border: 1px solid var(--border);
  text-align: center;
  overflow: hidden;
}
.quote-block p {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-weight: 500;
  line-height: 1.35;
  max-width: 760px;
  margin: 0 auto;
}
.quote-block span {
  display: block;
  margin-top: 22px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ---------------------------------- CTA band ---------------------------------- */
.cta-band {
  border-radius: var(--radius-lg);
  padding: 70px 60px;
  background: var(--gradient);
  color: #05070f;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: #05070f; font-size: clamp(1.7rem, 3vw, 2.4rem); max-width: 520px; }
.cta-band p { color: rgba(5,7,15,0.72); margin-top: 10px; font-size: 1rem; }
.cta-band .btn-ghost {
  background: rgba(5,7,15,0.1);
  border-color: rgba(5,7,15,0.3);
  color: #05070f;
}
.cta-band .btn-ghost:hover { background: rgba(5,7,15,0.18); }

/* ---------------------------------- Footer ---------------------------------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 80px 0 30px;
  background: var(--bg-alt);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer-brand p { color: var(--text-muted); font-size: 0.92rem; margin-top: 16px; max-width: 280px; }
.footer-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 18px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: var(--text-muted); font-size: 0.92rem; transition: color 0.25s var(--ease); }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 30px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 12px;
}
.social-row { display: flex; gap: 12px; }
.social-row a {
  width: 36px; height: 36px;
  border-radius: 9px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: all 0.25s var(--ease);
}
.social-row a:hover { color: var(--text); border-color: var(--border-strong); background: var(--surface); }

/* ---------------------------------- Forms ---------------------------------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }
.field input, .field select, .field textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--text);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-dim); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--purple);
  background: var(--surface-strong);
}
.field textarea { resize: vertical; min-height: 130px; }

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.checkbox-row input { margin-top: 4px; accent-color: var(--purple); }
.checkbox-row a { color: var(--cyan); }

.form-note {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-top: 14px;
}

.form-status {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  display: none;
}
.form-status.show { display: block; }
.form-status.ok { background: rgba(34,211,238,0.1); border: 1px solid rgba(34,211,238,0.3); color: var(--cyan); }

.contact-info-card {
  padding: 34px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}
.contact-info-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.contact-info-row:last-child { border-bottom: none; }
a.contact-info-row { transition: opacity 0.25s var(--ease); }
a.contact-info-row:hover { opacity: 0.75; }
.contact-info-row .ic {
  width: 42px; height: 42px;
  border-radius: 11px;
  background: var(--gradient-soft);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan);
  flex-shrink: 0;
}
.contact-info-row .label { font-size: 0.78rem; color: var(--text-dim); }
.contact-info-row .value { font-size: 0.98rem; font-weight: 500; }

/* ---------------------------------- Breadcrumb / page hero (sub-pages) ---------------------------------- */
.page-hero {
  padding: 170px 0 90px;
  position: relative;
}
.breadcrumb {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--text); }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); max-width: 780px; }
.page-hero .section-lede { margin-top: 20px; font-size: 1.1rem; }

/* ---------------------------------- Reveal animation ---------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in-view { opacity: 1; transform: none; }
/* Defensive net: if JS fails to add in-view class, content must still be visible */
.no-js .reveal, .reveal[data-split] { opacity: 1; transform: none; }

/* stagger */
.reveal[data-d="1"] { transition-delay: 0.08s; }
.reveal[data-d="2"] { transition-delay: 0.16s; }
.reveal[data-d="3"] { transition-delay: 0.24s; }
.reveal[data-d="4"] { transition-delay: 0.32s; }
.reveal[data-d="5"] { transition-delay: 0.4s; }
.reveal[data-d="6"] { transition-delay: 0.48s; }

/* ---------------------------------- Utility ---------------------------------- */
.mt-lg { margin-top: 60px; }
.text-center { text-align: center; }
.divider {
  height: 1px;
  background: var(--border);
  margin: 0;
}

/* ---------------------------------- Responsive ---------------------------------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .split, .split.reverse .split-visual { grid-template-columns: 1fr; }
  .split { gap: 34px; }
  .split.reverse .split-visual { order: 0; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  :root { --header-h: 72px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn-primary { display: none; }
  .hero { padding: 130px 0 70px; }
  .section { padding: 80px 0; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .cta-band { flex-direction: column; text-align: center; padding: 50px 30px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-grid { grid-template-columns: 1fr; }
  .quote-block { padding: 50px 26px; }

  .mobile-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    bottom: 0;
    background: rgba(16, 20, 42, 0.97);
    backdrop-filter: blur(14px);
    z-index: 90;
    display: flex;
    flex-direction: column;
    padding: 32px 24px;
    gap: 6px;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
  }
  .mobile-nav.is-open { transform: translateX(0); }
  .mobile-nav a {
    padding: 16px 4px;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
  }
  .mobile-nav a.active { color: var(--cyan); }
  .mobile-nav .btn { margin-top: 24px; }
}

/* ==========================================================================
   WhatsApp floating widget
   ========================================================================== */

.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 999;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #fff;
  padding: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  animation: wa-pulse 2.8s ease-in-out infinite;
  transition: transform 0.25s var(--ease);
}

.wa-float:hover { transform: scale(1.08); }

.wa-float-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.wa-float-badge {
  position: absolute;
  right: -3px;
  bottom: -3px;
  width: 24px;
  height: 24px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  border: 2px solid var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.wa-float-badge svg { width: 14px; height: 14px; }

.wa-float-bubble {
  position: absolute;
  right: 70px;
  bottom: 14px;
  background: var(--surface-strong);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-strong);
  color: var(--text);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.wa-float.show-bubble .wa-float-bubble {
  opacity: 1;
  transform: translateX(0);
}

@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(139, 92, 246, 0.35); }
  50% { box-shadow: 0 6px 24px rgba(139, 92, 246, 0.6), 0 0 0 8px rgba(139, 92, 246, 0.1); }
}

@media (max-width: 640px) {
  .wa-float { right: 14px; bottom: 14px; width: 54px; height: 54px; padding: 9px; }
  .wa-float-badge { width: 20px; height: 20px; }
  .wa-float-badge svg { width: 12px; height: 12px; }
  .wa-float-bubble { display: none; }
}

@media (min-width: 761px) {
  .mobile-nav { display: none; }
}
