/* ============================================================
   Luis Bardales — AI Automation Engineer
   Design system + styles
   ============================================================ */

:root {
  /* Palette — near-black canvas with violet→indigo→cyan aurora */
  --bg:            #07070c;
  --bg-soft:       #0c0d15;
  --surface:       rgba(255, 255, 255, 0.03);
  --surface-2:     rgba(255, 255, 255, 0.05);
  --border:        rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  --text:          #ecedf4;
  --text-muted:    #a2a6b8;
  --text-dim:      #6f7385;

  --violet:        #a78bfa;
  --indigo:        #818cf8;
  --cyan:          #22d3ee;
  --accent:        #8b7bff;

  --grad: linear-gradient(120deg, #818cf8 0%, #a78bfa 45%, #22d3ee 100%);
  --grad-soft: linear-gradient(120deg, rgba(129,140,248,.18), rgba(167,139,250,.18) 50%, rgba(34,211,238,.14));

  --glow: 0 0 60px -12px rgba(139, 123, 255, 0.55);
  --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, 0.7);

  --font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;

  --maxw: 1160px;
  --radius: 20px;
  --radius-sm: 12px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset & base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img, svg { display: block; max-width: 100%; }

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

/* ---------- Ambient background ---------- */
.bg-aurora {
  position: fixed; inset: 0; z-index: -3;
  overflow: hidden; pointer-events: none;
}
.blob {
  position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: 0.55;
  will-change: transform;
}
.blob-1 { width: 620px; height: 620px; top: -220px; left: -120px;
  background: radial-gradient(circle, rgba(129,140,248,.9), transparent 65%);
  animation: drift1 22s var(--ease) infinite alternate; }
.blob-2 { width: 560px; height: 560px; top: 10%; right: -180px;
  background: radial-gradient(circle, rgba(167,139,250,.8), transparent 65%);
  animation: drift2 26s var(--ease) infinite alternate; }
.blob-3 { width: 520px; height: 520px; bottom: -160px; left: 30%;
  background: radial-gradient(circle, rgba(34,211,238,.55), transparent 65%);
  animation: drift3 30s var(--ease) infinite alternate; }

@keyframes drift1 { to { transform: translate(120px, 80px) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-100px, 120px) scale(1.1); } }
@keyframes drift3 { to { transform: translate(80px, -90px) scale(1.2); } }

.bg-grid {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
}

.cursor-glow {
  position: fixed; top: 0; left: 0; z-index: -1; pointer-events: none;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(139,123,255,.10), transparent 60%);
  transform: translate(-50%, -50%);
  transition: opacity .3s ease; opacity: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  padding: 13px 22px; border-radius: 999px; cursor: pointer;
  border: 1px solid transparent; transition: all .25s var(--ease);
  white-space: nowrap; position: relative;
}
.btn svg { transition: transform .25s var(--ease); }
.btn-primary {
  color: #0a0a10; background: var(--grad);
  background-size: 160% 160%; box-shadow: var(--glow);
}
.btn-primary:hover { transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 0 70px -8px rgba(139,123,255,.7); }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-ghost { color: var(--text); background: var(--surface); border-color: var(--border-strong); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--violet); transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-block { width: 100%; }

/* Loading state: disabled look + inline spinner */
.btn.is-loading { cursor: progress; opacity: .85; transform: none !important; box-shadow: var(--glow); }
.btn:disabled { cursor: not-allowed; }
.btn-spinner {
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(10, 10, 16, .25);
  border-top-color: #0a0a10;
  animation: btn-spin .6s linear infinite;
  flex: 0 0 auto;
}
@keyframes btn-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .btn-spinner { animation-duration: 1.4s; }
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: all .35s var(--ease); padding: 18px 0;
}
.site-header.scrolled {
  padding: 10px 0;
  background: rgba(8, 8, 14, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 600; font-size: 19px; letter-spacing: -0.02em; }
.brand-mark { display: grid; place-items: center; }
.brand-dot { color: var(--violet); }

.nav-links { display: flex; gap: 4px; }
.nav-links a {
  color: var(--text-muted); font-size: 15px; font-weight: 500;
  padding: 8px 14px; border-radius: 999px; transition: all .2s ease;
}
.nav-links a:hover { color: var(--text); background: var(--surface-2); }

.header-cta { display: flex; align-items: center; gap: 12px; }
.lang-switch {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; height: 34px; padding: 0 10px;
  border: 1px solid var(--border-strong); border-radius: 999px;
  color: var(--text-muted); font-size: 13px; font-weight: 600; letter-spacing: .04em;
  transition: all .2s ease;
}
.lang-switch:hover { color: var(--text); border-color: var(--violet); background: var(--surface-2); }
.mobile-lang { display: flex; align-items: center; gap: 8px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all .3s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; flex-direction: column; gap: 6px;
  padding: 12px 24px 24px;
  background: rgba(8,8,14,.92); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }
.mobile-menu a { color: var(--text-muted); font-size: 17px; font-weight: 500; padding: 12px 6px; border-bottom: 1px solid var(--border); }
.mobile-menu a.btn { color: #0a0a10; border: 0; margin-top: 10px; justify-content: center; }

/* ---------- Hero ---------- */
.hero { padding: 190px 0 90px; position: relative; }
.hero .container { display: flex; flex-direction: column; align-items: center; text-align: center; }

.pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 16px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border-strong);
  font-size: 13.5px; color: var(--text-muted); backdrop-filter: blur(8px);
  transition: all .25s ease;
}
.pill:hover { border-color: var(--violet); color: var(--text); }
.pill strong { color: var(--text); font-weight: 600; }
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 10px #34d399; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }

.hero-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 1.05;
  letter-spacing: -0.03em; margin: 28px 0 0; max-width: 15ch;
}
.grad-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero-sub { color: var(--text-muted); font-size: clamp(1.05rem, 2vw, 1.28rem); margin-top: 26px; max-width: 60ch; }

.hero-actions { display: flex; gap: 14px; margin-top: 38px; flex-wrap: wrap; justify-content: center; }

.hero-trust { margin-top: 54px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.trust-label { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-dim); }
.trust-flags { display: flex; gap: 26px; flex-wrap: wrap; justify-content: center; }
.trust-flags span { font-size: 15px; color: var(--text-muted); font-weight: 500; }

/* ---------- Stats ---------- */
.stats { padding: 20px 0 40px; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  padding: 34px; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); backdrop-filter: blur(10px);
}
.stat { text-align: center; }
.stat-num {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label { color: var(--text-muted); font-size: 14px; margin-top: 10px; }

/* ---------- Section shells ---------- */
.section { padding: 100px 0; position: relative; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.eyebrow {
  display: inline-block; font-size: 12.5px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--violet); margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.1; letter-spacing: -0.025em;
}
.section-lead { color: var(--text-muted); font-size: 1.12rem; margin-top: 18px; }
.section-lead em { color: var(--text); font-style: normal; font-weight: 600; }

/* ---------- Cards (shared) ---------- */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px;
  transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
  position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  padding: 1px; background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .3s ease; pointer-events: none;
}
.card:hover { transform: translateY(-5px); background: var(--surface-2); }
.card:hover::before { opacity: 1; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-icon {
  width: 52px; height: 52px; display: grid; place-items: center; font-size: 24px;
  border-radius: 14px; background: var(--grad-soft); border: 1px solid var(--border);
  margin-bottom: 20px;
}
.service h3 { font-family: var(--font-display); font-size: 1.28rem; font-weight: 600; letter-spacing: -.01em; }
.service p { color: var(--text-muted); font-size: 15.5px; margin-top: 12px; }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.service-tags li { font-size: 12.5px; color: var(--text-dim); padding: 5px 11px; border: 1px solid var(--border); border-radius: 999px; }

/* ---------- Work ---------- */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.work-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.work-tag { font-size: 12.5px; font-weight: 600; letter-spacing: .04em; color: var(--violet); padding: 6px 12px; border: 1px solid var(--border-strong); border-radius: 999px; background: var(--grad-soft); }
.work-link { font-size: 18px; color: var(--text-muted); width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--border); transition: all .25s ease; }
.work-link:hover { color: var(--text); border-color: var(--violet); background: var(--surface-2); transform: rotate(0deg) scale(1.05); }
.work-card h3 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; letter-spacing: -.02em; }
.work-card p { color: var(--text-muted); font-size: 15.5px; margin-top: 12px; }
.work-metrics { display: flex; gap: 22px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--border); }
.work-metrics span { font-size: 13.5px; color: var(--text-dim); }
.work-metrics strong { color: var(--text); font-family: var(--font-display); font-weight: 600; }

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.process-step { padding: 30px 26px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); position: relative; transition: all .3s var(--ease); }
.process-step:hover { border-color: var(--border-strong); transform: translateY(-4px); }
.step-num { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; opacity: .9; }
.process-step h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; margin-top: 12px; }
.process-step p { color: var(--text-muted); font-size: 15px; margin-top: 10px; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; align-items: center; }
.about-media { position: relative; }
.about-photo {
  aspect-ratio: 4/5; border-radius: var(--radius); border: 1px solid var(--border-strong);
  background:
    radial-gradient(circle at 30% 20%, rgba(129,140,248,.4), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(34,211,238,.3), transparent 55%),
    var(--bg-soft);
  display: grid; place-items: center; overflow: hidden; box-shadow: var(--shadow-lg);
}
.about-initials { font-family: var(--font-display); font-size: 5rem; font-weight: 700; letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.about-badge {
  position: absolute; bottom: -18px; right: -14px;
  background: rgba(12,13,21,.9); backdrop-filter: blur(12px);
  border: 1px solid var(--border-strong); border-radius: 14px; padding: 14px 18px;
  display: flex; flex-direction: column; box-shadow: var(--shadow-lg);
}
.about-badge strong { font-family: var(--font-display); font-size: 15px; }
.about-badge span { font-size: 12.5px; color: var(--text-muted); }
.about-content > p { color: var(--text-muted); margin-top: 18px; font-size: 1.05rem; }
.skills { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 28px; }
.skills span { font-size: 13px; color: var(--text-muted); padding: 7px 14px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); transition: all .2s ease; }
.skills span:hover { color: var(--text); border-color: var(--violet); }

/* ---------- FAQ ---------- */
.faq-container { max-width: 800px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); padding: 4px 24px; transition: border-color .25s ease; }
.faq-item[open] { border-color: var(--border-strong); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 20px 0; font-weight: 600; font-size: 1.05rem;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 1.6rem; font-weight: 400; color: var(--violet);
  transition: transform .3s var(--ease); line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--text-muted); padding: 0 0 22px; font-size: 15.5px; max-width: 68ch; }

/* ---------- CTA ---------- */
.cta-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 50px;
  padding: 52px; border-radius: 28px; align-items: start;
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(circle at 0% 0%, rgba(129,140,248,.14), transparent 45%),
    radial-gradient(circle at 100% 100%, rgba(34,211,238,.1), transparent 45%),
    var(--surface);
  box-shadow: var(--shadow-lg);
}
.cta-copy .section-title { text-align: left; }
.cta-copy > p { color: var(--text-muted); margin-top: 18px; }
.cta-direct { display: flex; flex-direction: column; gap: 12px; margin-top: 30px; }
.cta-contact { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); transition: all .25s ease; }
.cta-contact:hover { border-color: var(--violet); background: var(--surface-2); transform: translateX(4px); }
.cta-ic { font-size: 20px; }
.cta-contact > span:last-child { display: flex; flex-direction: column; }
.cta-k { font-size: 12px; color: var(--text-dim); text-transform: uppercase; letter-spacing: .08em; }
.cta-v { font-size: 15px; font-weight: 600; color: var(--text); }

.cta-form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--text-muted); }
.field input, .field textarea {
  font-family: var(--font-body); font-size: 15px; color: var(--text);
  background: rgba(0,0,0,.25); border: 1px solid var(--border-strong); border-radius: 12px;
  padding: 13px 15px; transition: all .2s ease; resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-dim); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--violet); background: rgba(0,0,0,.4); box-shadow: 0 0 0 3px rgba(139,123,255,.15); }
.form-note { font-size: 14px; margin-top: 4px; min-height: 20px; text-align: center; }
.form-note.ok { color: #34d399; }
.form-note.err { color: #f87171; }
.form-note.pending { color: var(--text-muted); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 60px 0 30px; margin-top: 40px; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-brand { max-width: 340px; }
.footer-brand .brand-text { font-family: var(--font-display); font-size: 20px; font-weight: 600; }
.footer-brand p { color: var(--text-muted); font-size: 14.5px; margin-top: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; }
.footer-links a { color: var(--text-muted); font-size: 15px; transition: color .2s ease; }
.footer-links a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--text-dim); font-size: 13.5px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .nav-links, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 70px; }
  .about-media { max-width: 380px; margin: 0 auto; }
  .cta-card { grid-template-columns: 1fr; padding: 36px; gap: 36px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .hero { padding: 150px 0 70px; }
  .section { padding: 74px 0; }
  .services-grid, .work-grid, .process-grid { grid-template-columns: 1fr; }
  .stats-grid { padding: 26px 20px; }
  .cta-card { padding: 26px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .work-card h3 { font-size: 1.4rem; }
}

/* ---------- WhatsApp bubble ---------- */
.wa-bubble {
  position: fixed; z-index: 90; right: 24px; bottom: 24px;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #25d366 0%, #12a150 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 12px 30px -8px rgba(18, 161, 80, 0.6),
    0 0 0 1px rgba(0, 0, 0, 0.2),
    var(--glow);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.wa-bubble:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow:
    0 16px 38px -6px rgba(18, 161, 80, 0.75),
    0 0 60px -10px rgba(37, 211, 102, 0.6);
}
.wa-bubble:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
.wa-icon { position: relative; z-index: 2; }

/* Pulsing ring */
.wa-ring {
  position: absolute; inset: 0; border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  animation: wa-pulse 2.4s var(--ease) infinite;
  pointer-events: none;
}
@keyframes wa-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70%  { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Tooltip label */
.wa-tooltip {
  position: absolute; right: calc(100% + 14px); top: 50%;
  transform: translateY(-50%) translateX(6px);
  white-space: nowrap; font-size: 13.5px; font-weight: 600; color: var(--text);
  padding: 9px 14px; border-radius: 999px;
  background: rgba(12, 13, 21, 0.9); backdrop-filter: blur(12px);
  border: 1px solid var(--border-strong); box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.wa-tooltip::after {
  content: ""; position: absolute; left: 100%; top: 50%; transform: translateY(-50%);
  border: 6px solid transparent; border-left-color: rgba(12, 13, 21, 0.9);
}
.wa-bubble:hover .wa-tooltip,
.wa-bubble:focus-visible .wa-tooltip {
  opacity: 1; transform: translateY(-50%) translateX(0);
}

@media (max-width: 620px) {
  .wa-bubble { width: 54px; height: 54px; right: 18px; bottom: 18px; }
  .wa-icon { width: 27px; height: 27px; }
  .wa-tooltip { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .blob { animation: none !important; }
  .wa-ring { animation: none !important; }
}
