/* ================================================================
   CukruDev Solutions — Public NFC Profile Card
   Design by Claude Design · implemented in staff-profile.css
   ================================================================ */

/* Fonts are loaded via <link rel="preconnect"> + <link rel="stylesheet"> in
   the Blade view. An @import here would chain a second request behind this
   file instead of starting both in parallel. */

:root {
  --ink:        #070b16;
  --ink-2:      #0b1224;
  --ink-3:      #121a31;
  --blue:       #1b6dff;
  --blue-2:     #004fd6;
  --sky:        #69bdff;
  --white:      #ffffff;
  --muted:      #8a96b3;
  /* Was #5b6884 — only 3.4:1 on the ink background, which fails WCAG AA for
     the small footer text it was used on. #7d8aa8 clears 4.5:1. */
  --muted-2:    #7d8aa8;
  --line:       rgba(255,255,255,0.08);
  --line-2:     rgba(255,255,255,0.14);
  --glass:      rgba(255,255,255,0.035);
  --glass-2:    rgba(255,255,255,0.06);
  --shadow-lg:  0 24px 60px -20px rgba(0,0,0,0.6), 0 2px 0 rgba(255,255,255,0.04) inset;
  --radius:     18px;
  --radius-sm:  12px;
  --maxw:       560px;
}

*,*::before,*::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--white);
  background: var(--ink);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { max-width: 100%; display: block; }

/* Keyboard users need to see where they are; mouse users never trigger this. */
:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 3px;
  border-radius: 8px;
}

/* ── Skip link ────────────────────────────────────────────────── */
.sp-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
}
.sp-skip:focus {
  left: 12px;
  top: 12px;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

/* ── Background atmosphere ────────────────────────────────────── */
.atmosphere {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 75% 65% at 18% 58%, rgba(12,60,180,0.60), transparent 65%),
    radial-gradient(ellipse 55% 50% at 82% 38%, rgba(18,75,200,0.35), transparent 60%),
    #060d1c;
}
.atmosphere::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 1;
}

/* ── Layout shell ─────────────────────────────────────────────── */
.sp-page { position: relative; z-index: 1; }
.sp-shell {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 18px 96px;
}

/* ── Sticky nav ───────────────────────────────────────────────── */
.sp-topbar {
  position: sticky; top: 0; z-index: 50;
  margin: 0 0 18px;
  padding: 12px 32px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  background: rgba(7,11,22,0.62);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.sp-brand {
  display: flex; align-items: center; gap: 8px;
  font-weight: 700; letter-spacing: -0.01em;
}
.sp-nav-logo {
  width: 32px; height: 32px;
  display: grid; place-items: center;
}
.sp-nav-logo svg { width: 18px; height: 18px; color: white; }
.sp-nav-logo img { width: 32px; height: 32px; object-fit: contain; }
.sp-brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.sp-brand-text .sp-bname { font-size: 13.5px; font-weight: 700; letter-spacing: -0.01em; }
.sp-brand-text .sp-bsub  { font-size: 9px; font-weight: 600; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; }
.sp-topbar-save {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px;
  border-radius: 10px;
  font-size: 13px; font-weight: 700;
  background: white;
  color: #0a0e1a;
  box-shadow: 0 4px 18px -4px rgba(255,255,255,0.25);
  position: relative; overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.sp-topbar-save::before {
  content: "";
  position: absolute; top: 0; left: -70%;
  width: 55%; height: 100%;
  background: linear-gradient(110deg, transparent 25%, rgba(0,0,0,0.06) 50%, transparent 75%);
  animation: btn-shine 2.8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes btn-shine {
  0%   { left: -70%; }
  50%  { left: 115%; }
  100% { left: 115%; }
}
.sp-topbar-save:hover { transform: translateY(-1px); box-shadow: 0 8px 24px -4px rgba(255,255,255,0.3); }
.sp-topbar-save svg { width: 14px; height: 14px; }

/* ── Reveal animation ─────────────────────────────────────────── */
/* Plays automatically on paint — the previous React version never actually
   toggled the `.is-in` class anywhere, so these elements stayed invisible
   (opacity: 0) at rest. Using a plain CSS animation both removes the need
   for JS and fixes that latent bug. */
.reveal {
  animation: revealIn 0.6s cubic-bezier(0.22,1,0.36,1) both;
}

@keyframes revealIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* ── Profile header card ──────────────────────────────────────── */
.sp-profile-card {
  position: relative;
  margin-top: 8px;
  padding: 28px 22px 22px;
}
.sp-avatar-orbit {
  position: relative; width: 104px; height: 104px;
  margin: 0 auto 14px;
}
.orbit-ring {
  position: absolute; inset: -8px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(27,109,255,0) 0%, rgba(27,109,255,0.9) 30%, rgba(105,189,255,0.6) 60%, rgba(27,109,255,0) 100%);
  filter: blur(6px);
  animation: orbit 6s linear infinite;
  opacity: 0.85;
}
.orbit-ring::after {
  content: ""; position: absolute; inset: 6px;
  border-radius: 50%;
  background: radial-gradient(circle, transparent 58%, rgba(27,109,255,0.35) 60%, transparent 70%);
  animation: pulse-ring 3s ease-in-out infinite;
}
@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes pulse-ring {
  0%,100% { transform: scale(1); opacity: 0.6; }
  50%     { transform: scale(1.08); opacity: 1; }
}
.sp-avatar-orbit > img,
.sp-avatar-orbit > .sp-initials {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 50%;
  display: grid; place-items: center;
  overflow: hidden;
}
.sp-avatar-orbit > img { object-fit: cover; border: 2px solid rgba(255,255,255,0.12); box-shadow: 0 12px 30px -8px rgba(0,0,0,0.7); }
.sp-initials {
  background: linear-gradient(135deg, #1a2547, #0b1224);
  color: white; font-weight: 800; font-size: 36px; letter-spacing: -0.02em;
  border: 2px solid rgba(255,255,255,0.12);
  box-shadow: 0 12px 30px -8px rgba(0,0,0,0.7);
}
.sp-verified-badge {
  position: absolute; right: -2px; bottom: 2px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  display: grid; place-items: center;
  border: 3px solid var(--ink-2);
  box-shadow: 0 6px 16px -4px rgba(27,109,255,0.7);
}
.sp-verified-badge svg { width: 14px; height: 14px; color: white; }

.sp-name {
  text-align: center;
  margin: 4px 0 4px;
  font-size: 26px; font-weight: 800;
  letter-spacing: -0.02em; line-height: 1.15;
}
.sp-position {
  text-align: center;
  color: var(--sky);
  font-size: 14px; font-weight: 600;
  letter-spacing: 0.01em;
}
.sp-staffid {
  display: flex; align-items: center; justify-content: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 11.5px; color: var(--muted); font-weight: 500;
}
.sp-staffid span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: 0.05em;
}
.sp-short-title {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  margin-top: 6px;
}
.sp-company-tag {
  display: inline-flex; align-items: center; gap: 6px;
  margin: 14px auto 0;
  padding: 6px 11px;
  border-radius: 10px;
  background: rgba(27,109,255,0.12);
  border: 1px solid rgba(27,109,255,0.35);
  color: var(--sky);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
}
/* center row helper */
.sp-profile-card { display: flex; flex-direction: column; align-items: center; }

.sp-social-row {
  display: flex; justify-content: center; gap: 10px;
  margin-top: 18px;
}
.sp-social-row a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--white);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.sp-social-row a:hover {
  transform: scale(1.15);
  background: rgba(27,109,255,0.18);
  border-color: rgba(27,109,255,0.45);
  box-shadow: 0 6px 18px -4px rgba(27,109,255,0.6), 0 0 0 3px rgba(27,109,255,0.08);
}
.sp-social-row a svg { width: 16px; height: 16px; }

/* ── Section + eyebrow ────────────────────────────────────────── */
.sp-link-stack,
.sp-content-card { margin-top: 28px; }
.sp-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.18em; text-transform: uppercase;
  margin: 0 0 12px;
}
.sp-eyebrow::before {
  content: ""; width: 16px; height: 1px; background: var(--blue); opacity: 0.7;
}

/* ── Action link cards ────────────────────────────────────────── */
.sp-link-stack { display: flex; flex-direction: column; gap: 10px; }
.link-card {
  position: relative;
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: rgba(14, 22, 44, 0.82);
  border: 1px solid rgba(255,255,255,0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  overflow: hidden;
  color: var(--white);
}
.link-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.13);
  box-shadow: 0 14px 28px -16px rgba(0,0,0,0.8);
}
.link-icon {
  flex: 0 0 auto;
  width: 42px; height: 42px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(27,109,255,0.18);
  color: var(--sky);
  border: 1px solid rgba(27,109,255,0.25);
}
.link-icon svg { width: 19px; height: 19px; }
.link-icon img { width: 22px; height: 22px; object-fit: contain; filter: brightness(0) invert(1); }
/* WhatsApp — green */
.link-card .link-icon.ic-wa { background: rgba(37,211,102,0.16); border-color: rgba(37,211,102,0.28); color: #25d366; }
/* Save Contact — blue (primary handled separately) */
.link-card .link-icon.ic-save { background: rgba(27,109,255,0.22); border-color: rgba(27,109,255,0.35); color: #69bdff; }
/* Email — orange-red */
.link-card .link-icon.ic-email { background: rgba(255,107,57,0.16); border-color: rgba(255,107,57,0.28); color: #ff8c5a; }
/* Company Website — purple */
.link-card .link-icon.ic-web { background: rgba(139,92,246,0.18); border-color: rgba(139,92,246,0.32); color: #a78bfa; }
/* Request Quotation — teal */
.link-card .link-icon.ic-quote { background: rgba(20,184,166,0.16); border-color: rgba(20,184,166,0.28); color: #2dd4bf; }
.link-card > span:not(.link-icon):not(.link-arrow) { flex: 1 1 auto; min-width: 0; }
.link-card strong { display: block; font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.link-card small  { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Addresses are the payload, not a caption — never truncate one. */
.link-card small.wrap { white-space: normal; overflow-wrap: anywhere; }
.link-arrow {
  flex: 0 0 auto; color: var(--muted-2);
  transition: transform 0.25s ease, color 0.25s ease;
  display: grid; place-items: center;
}
.link-arrow svg { width: 18px; height: 18px; }
.link-card:hover .link-arrow { transform: translateX(4px); color: var(--white); }

/* Primary Save Contact */
.link-card.primary {
  background: linear-gradient(180deg, #ffffff 0%, #eef3ff 100%);
  border: 1px solid rgba(255,255,255,0.5);
  box-shadow: 0 20px 40px -16px rgba(27,109,255,0.45), inset 0 1px 0 rgba(255,255,255,1);
  color: var(--ink);
  overflow: hidden;
}
.link-card.primary .link-icon {
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  border-color: transparent;
  color: white;
  box-shadow: 0 6px 14px -4px rgba(27,109,255,0.55);
}
.link-card.primary strong { color: var(--ink); }
.link-card.primary small  { color: #5b6884; }
.link-card.primary .link-arrow { color: var(--blue); }
.link-card.primary::before {
  content: ""; position: absolute; top: 0; left: -60%;
  width: 60%; height: 100%;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.65) 50%, transparent 70%);
  animation: shimmer 3.4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes shimmer {
  0%   { left: -60%; }
  50%  { left: 110%; }
  100% { left: 110%; }
}

/* ── Content panels ───────────────────────────────────────────── */
.sp-content-card {
  padding: 18px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.02));
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.sp-bio {
  margin: 0;
  color: #c8d1e6;
  font-size: 14.5px;
  line-height: 1.65;
  text-wrap: pretty;
}

/* ── Expertise chips ──────────────────────────────────────────── */
.sp-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.sp-chip {
  padding: 7px 12px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  font-size: 12.5px; font-weight: 500;
  color: #cfd7ec;
  transition: all 0.2s ease;
  cursor: default;
}
.sp-chip:hover {
  border-color: rgba(27,109,255,0.6);
  box-shadow: 0 0 0 3px rgba(27,109,255,0.12), 0 0 14px -4px rgba(27,109,255,0.7);
  color: white;
}

/* ── Services grid ────────────────────────────────────────────── */
.sp-services-grid {
  display: grid; gap: 10px;
  grid-template-columns: repeat(2, 1fr);
}
.sp-service-item {
  padding: 16px 14px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.02));
  border: 1px solid var(--line);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.sp-service-item:hover { transform: translateY(-2px); border-color: rgba(27,109,255,0.4); }
.sp-service-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(27,109,255,0.22), rgba(0,79,214,0.18));
  border: 1px solid rgba(27,109,255,0.28);
  display: grid; place-items: center;
  font-size: 18px;
  margin-bottom: 10px;
}
.sp-service-item h3 { font-size: 14px; font-weight: 700; margin: 0 0 4px; letter-spacing: -0.01em; }
.sp-service-item p  { font-size: 12.5px; color: var(--muted); line-height: 1.5; margin: 0; }

/* ── Projects ─────────────────────────────────────────────────── */
.sp-projects-grid { display: flex; flex-direction: column; gap: 14px; }
.sp-project-item {
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.02));
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.sp-project-item:hover { transform: translateY(-2px); border-color: rgba(27,109,255,0.4); }
.sp-project-img {
  aspect-ratio: 16/9; width: 100%; object-fit: cover;
  border-bottom: 1px solid var(--line);
}
.sp-project-body { padding: 14px 16px 16px; }
.sp-project-body h3 { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; margin: 0 0 4px; }
.sp-project-body p  { font-size: 13px; color: var(--muted); margin: 0 0 12px; line-height: 1.55; }
.sp-project-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--sky);
  transition: gap 0.2s ease, color 0.2s ease;
}
.sp-project-link:hover { gap: 10px; color: white; }
.sp-project-link svg { width: 14px; height: 14px; }

/* ── Footer ───────────────────────────────────────────────────── */
.sp-footer {
  margin-top: 0;
  padding: 32px 24px calc(28px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--muted-2);
  font-size: 12px;
  background: rgba(7,11,22,0.62);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.sp-footer-logo {
  width: 36px; height: 36px;
  margin: 0 auto 10px;
  display: grid; place-items: center;
}
.sp-footer-logo img { width: 100%; height: 100%; object-fit: contain; }
.sp-footer-logo svg { width: 18px; height: 18px; color: white; }
.sp-footer p { margin: 4px 0 0; }
.sp-footer .sp-footer-name { color: white; font-weight: 700; font-size: 14px; letter-spacing: -0.01em; }
.sp-footer .sp-footer-tag  { color: var(--sky); font-size: 11.5px; font-weight: 500; letter-spacing: 0.04em; }
.sp-footer span { display: block; margin-top: 14px; line-height: 1.7; }
.sp-footer span .reg { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.04em; color: var(--muted); }
.sp-footer a { color: var(--sky); }
.sp-footer a:hover { color: white; }

/* ── NFC Overlay ──────────────────────────────────────────────── */
/* Auto-dismisses via a timed CSS animation (2.4s hold + 0.7s fade) instead
   of a JS setTimeout toggling a `.nfc-hide` class — no JS needed. */
.nfc-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: #060d1c;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0;
  animation: nfcAutoHide 0.7s ease 2400ms forwards;
}

@keyframes nfcAutoHide {
  from { opacity: 1; }
  to { opacity: 0; pointer-events: none; }
}

.nfc-anim {
  position: relative; width: 180px; height: 180px;
  display: grid; place-items: center; margin-bottom: 28px;
}
.nfc-ring {
  position: absolute; border-radius: 50%;
  border: 1.5px solid rgba(27,109,255,0.5);
  animation: nfc-ripple 2.2s ease-out infinite;
}
.nfc-ring-1 { width: 80px;  height: 80px; }
.nfc-ring-2 { width: 120px; height: 120px; animation-delay: 0.35s; }
.nfc-ring-3 { width: 160px; height: 160px; animation-delay: 0.7s; }
@keyframes nfc-ripple {
  0%   { transform: scale(0.85); opacity: 1; }
  100% { transform: scale(1.15); opacity: 0; }
}
.nfc-core {
  width: 60px; height: 60px; border-radius: 18px; z-index: 2;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  display: grid; place-items: center;
  box-shadow: 0 0 40px rgba(27,109,255,0.6), 0 0 80px rgba(27,109,255,0.25);
  color: white;
  animation: nfc-core-pulse 2.2s ease-in-out infinite;
}
.nfc-core svg { width: 28px; height: 28px; }
@keyframes nfc-core-pulse {
  0%,100% { box-shadow: 0 0 40px rgba(27,109,255,0.6), 0 0 80px rgba(27,109,255,0.25); }
  50%     { box-shadow: 0 0 60px rgba(27,109,255,0.9), 0 0 120px rgba(27,109,255,0.4); }
}
.nfc-label {
  font-size: 18px; font-weight: 700; color: white;
  letter-spacing: -0.02em; margin: 0 0 8px;
}
.nfc-sub {
  font-size: 13.5px; color: var(--muted); margin: 0;
  font-weight: 400;
}

/* Save Contact highlight when coming from NFC */
.nfc-save-pulse {
  animation: nfc-save-glow 0.5s ease 4;
}
@keyframes nfc-save-glow {
  0%,100% { box-shadow: none; transform: scale(1); }
  50%     { box-shadow: 0 0 0 4px rgba(27,109,255,0.35), 0 20px 40px -12px rgba(27,109,255,0.5); transform: scale(1.02); }
}

/* ── Floating WhatsApp button ─────────────────────────────────── */
.wa-widget {
  position: fixed;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 60;
}
.wa-float {
  position: relative;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #1ea854);
  color: white;
  display: grid; place-items: center;
  box-shadow: 0 12px 24px -6px rgba(37,211,102,0.55), 0 0 0 0 rgba(37,211,102,0.5);
  animation: wa-bounce 2.4s ease-in-out 1s 2;
  text-decoration: none;
}
.wa-float::before, .wa-float::after {
  content: ""; position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.55);
  animation: wa-ring 2.4s ease-out infinite;
}
.wa-float::after { animation-delay: 1.2s; }
.wa-float svg { width: 26px; height: 26px; position: relative; z-index: 1; }
@keyframes wa-bounce {
  0%,100% { transform: translateY(0); }
  20%     { transform: translateY(-8px); }
  40%     { transform: translateY(0); }
  60%     { transform: translateY(-4px); }
  80%     { transform: translateY(0); }
}
@keyframes wa-ring {
  0%   { transform: scale(1);   opacity: 0.6; }
  100% { transform: scale(1.8); opacity: 0; }
}
.wa-bubble {
  position: absolute; right: 68px; bottom: 12px;
  padding: 10px 12px;
  background: white; color: var(--ink);
  border-radius: 12px;
  font-size: 12.5px; font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 12px 26px -6px rgba(0,0,0,0.5);
  transform: translateY(4px); opacity: 0;
  animation: tooltip-flash 4s ease-out 0.6s 1 forwards;
  pointer-events: none;
  font-family: 'Inter', sans-serif;
}
.wa-bubble::after {
  content: ""; position: absolute; right: -5px; bottom: 16px;
  width: 10px; height: 10px; background: white;
  transform: rotate(45deg); border-radius: 2px;
}
@keyframes tooltip-flash {
  0%   { opacity: 0; transform: translateY(8px); }
  12%  { opacity: 1; transform: translateY(0); }
  75%  { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-2px); }
}

/* The floating chat button is fixed, so the footer has to reserve room for
   it — otherwise it sits on top of the company link. */
.sp-footer.has-wa { padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px)); }

/* ── Responsive ───────────────────────────────────────────────── */
/* Two service cards side by side get unreadable on the narrowest phones. */
@media (max-width: 420px) {
  .sp-services-grid { grid-template-columns: 1fr; }
}
@media (min-width: 768px) {
  .sp-shell { max-width: 640px; padding: 0 24px 120px; }
  .sp-profile-card { padding: 36px 28px 26px; }
  .sp-name { font-size: 30px; }
  .sp-services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .sp-shell { max-width: 720px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  /* The auto-hide is an animation with a 2.4s delay, which the rule above
     doesn't shorten — without this the splash would block the card for
     2.4 seconds with no motion to justify the wait. */
  .nfc-overlay { display: none; }
}
