/* ═══════════════════════════════════════════
   SPRAY TECH SOLUTIONS — SHARED STYLES
   ═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

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

:root {
  --ink:        #050d1a;
  --navy:       #080f1e;
  --navy-2:     #0a1628;
  --navy-3:     #0d2044;
  --blue:       #1a6fd4;
  --blue-2:     #2d7fe8;
  --blue-3:     #4da6ff;
  --white:      #ffffff;
  --off-white:  #eef3fb;
  --muted:      #7a8faa;
  --muted-2:    #4e6080;
  --glass:      rgba(255,255,255,0.04);
  --glass-b:    rgba(255,255,255,0.07);
  --border:     rgba(255,255,255,0.07);
  --border-b:   rgba(26,111,212,0.3);
  --glow:       rgba(26,111,212,0.25);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--navy);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; }

/* ─── UTILITIES ─── */
.container { max-width: 1240px; margin: 0 auto; padding: 0 5%; }
.section { padding: 110px 0; }
.section-sm { padding: 70px 0; }

.tag {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(26,111,212,0.1);
  border: 1px solid rgba(26,111,212,0.25);
  color: var(--blue-3); font-size: 0.72rem;
  font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 100px;
  margin-bottom: 18px;
}

.heading-xl {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 900; line-height: 1.08; letter-spacing: -0.02em;
}
.heading-lg {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800; line-height: 1.12; letter-spacing: -0.02em;
}
.heading-md {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700; line-height: 1.2;
}

.grad-text {
  background: linear-gradient(135deg, #60a5fa 0%, #3d8ef0 40%, #a78bfa 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lead { font-size: 1.1rem; color: var(--muted); line-height: 1.75; max-width: 580px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 12px;
  font-size: 0.95rem; font-weight: 700; letter-spacing: 0.01em;
  transition: all 0.2s ease; cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-2) 100%);
  color: #fff;
  box-shadow: 0 4px 24px rgba(26,111,212,0.35), 0 1px 0 rgba(255,255,255,0.1) inset;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(26,111,212,0.5);
}
.btn-ghost {
  background: var(--glass-b); border: 1px solid var(--border);
  color: var(--white);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.15); }

/* ─── NAV ─── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  padding: 0 5%; height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  transition: all 0.35s ease;
}
#nav.scrolled {
  background: rgba(8,15,30,0.97);
  backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--border);
  height: 64px;
}
.nav-brand {
  display: flex; align-items: center; gap: 12px;
}
.nav-brand img { height: 46px; width: auto; border-radius: 8px; }
.nav-brand-text strong { display: block; font-size: 1rem; font-weight: 800; line-height: 1.1; }
.nav-brand-text small { font-size: 0.68rem; color: var(--blue-3); letter-spacing: 0.12em; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.65); font-size: 0.875rem; font-weight: 500;
  padding: 7px 13px; border-radius: 8px;
  transition: all 0.15s;
}
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(255,255,255,0.06); }

.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-phone { font-size: 0.82rem; color: var(--muted); font-weight: 500; }
.nav-phone span { color: var(--white); font-weight: 700; }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: all 0.25s; }

/* ─── FOOTER ─── */
footer {
  background: var(--ink);
  border-top: 1px solid var(--border);
  padding: 64px 5% 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  max-width: 1240px; margin: 0 auto 48px;
}
.footer-brand img { height: 52px; margin-bottom: 16px; border-radius: 10px; }
.footer-brand-name { font-size: 1.1rem; font-weight: 800; margin-bottom: 4px; }
.footer-brand-sub { font-size: 0.75rem; color: var(--blue-3); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px; }
.footer-brand p { font-size: 0.875rem; color: var(--muted); line-height: 1.65; }

.footer-col h4 { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { color: rgba(255,255,255,0.6); font-size: 0.875rem; transition: color 0.15s; }
.footer-col ul a:hover { color: #fff; }

.footer-bottom {
  max-width: 1240px; margin: 0 auto;
  padding-top: 28px; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 0.8rem; color: var(--muted-2); }
.footer-badges { display: flex; gap: 10px; }
.footer-badge {
  background: rgba(26,111,212,0.1); border: 1px solid rgba(26,111,212,0.2);
  color: var(--blue-3); font-size: 0.7rem; font-weight: 700;
  padding: 3px 10px; border-radius: 4px; letter-spacing: 0.05em;
}

/* ─── MOBILE NAV ─── */
#mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 998;
  background: rgba(5,13,26,0.98); backdrop-filter: blur(20px);
  flex-direction: column; align-items: center; justify-content: center; gap: 32px;
}
#mobile-menu.open { display: flex; }
#mobile-menu a { font-size: 1.5rem; font-weight: 700; color: #fff; }

/* ─── REVEAL ANIMATION ─── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.up { transform: translateY(30px); }
.reveal.left { transform: translateX(-30px); }
.reveal.right { transform: translateX(30px); }
.reveal.scale { transform: scale(0.95); }
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ─── WHATSAPP BUTTON ─── */
.wa-btn {
  position: fixed; bottom: 28px; right: 28px; z-index: 9999;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 28px rgba(37,211,102,0.45), 0 2px 8px rgba(0,0,0,0.3);
  cursor: pointer; text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  animation: wa-pulse 2.5s ease-in-out infinite;
}
.wa-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 40px rgba(37,211,102,0.6), 0 2px 8px rgba(0,0,0,0.3);
  animation: none;
}
.wa-btn svg { width: 32px; height: 32px; fill: #fff; }
.wa-tooltip {
  position: absolute; right: 72px; top: 50%;
  transform: translateY(-50%);
  background: #1a1a2e; color: #fff;
  font-size: 0.78rem; font-weight: 600; white-space: nowrap;
  padding: 7px 12px; border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s;
}
.wa-tooltip::after {
  content: ''; position: absolute; left: 100%; top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent; border-left-color: #1a1a2e;
}
.wa-btn:hover .wa-tooltip { opacity: 1; }
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 6px 28px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0.4); }
  50%       { box-shadow: 0 6px 28px rgba(37,211,102,0.45), 0 0 0 12px rgba(37,211,102,0); }
}

/* ─── STICKY MOBILE CTA BAR ─── */
.mob-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9997;
  background: rgba(5,13,26,0.97);
  backdrop-filter: blur(20px) saturate(1.8);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 12px 16px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.mob-bar-call {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: #fff; font-size: 0.92rem; font-weight: 700;
  padding: 14px; border-radius: 12px; text-decoration: none;
  box-shadow: 0 4px 18px rgba(26,111,212,0.4);
  letter-spacing: 0.01em;
}
.mob-bar-wa {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: #25D366;
  color: #fff; font-size: 0.92rem; font-weight: 700;
  padding: 14px; border-radius: 12px; text-decoration: none;
  box-shadow: 0 4px 18px rgba(37,211,102,0.4);
  letter-spacing: 0.01em;
}
.mob-bar svg { width: 18px; height: 18px; fill: #fff; flex-shrink: 0; }

/* ─── MOBILE ─── */
@media (max-width: 900px) {
  .nav-links, .nav-phone { display: none; }
  .nav-right { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  /* move wa button above mobile bar */
  .wa-btn { bottom: 96px; right: 18px; width: 52px; height: 52px; }
  .wa-btn svg { width: 26px; height: 26px; }
}
@media (max-width: 768px) {
  /* Show sticky bottom bar */
  .mob-bar { display: grid; }
  /* Push page content up so bar doesn't hide it */
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  /* Hide floating WA — bottom bar handles it */
  .wa-btn { display: none; }

  /* ── Nav — always solid on mobile, no bleed-through ── */
  #nav {
    background: rgba(8,15,30,0.99) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    height: 60px;
    padding: 0 18px;
  }
  .nav-brand img { height: 36px; }
  .nav-brand-text strong { font-size: 0.88rem; }
  .nav-brand-text small { font-size: 0.58rem; }

  /* ── Typography ── */
  .heading-xl { font-size: 2.2rem; letter-spacing: -0.025em; line-height: 1.1; }
  .heading-lg { font-size: 1.75rem; letter-spacing: -0.02em; }
  .lead { font-size: 1rem; }

  /* ── Section spacing ── */
  .section { padding: 64px 0; }
  .section-sm { padding: 48px 0; }
  .container { padding: 0 20px; }

  /* ── Nav ── */
  #nav { padding: 0 20px; height: 64px; }
  .nav-brand img { height: 38px; }
  .nav-brand-text strong { font-size: 0.9rem; }
  .nav-brand-text small { font-size: 0.6rem; }

  /* ── Footer ── */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer-badges { justify-content: center; flex-wrap: wrap; }
  footer { padding: 48px 20px 24px; }

  /* ── Mobile menu ── */
  #mobile-menu { gap: 24px; }
  #mobile-menu a { font-size: 1.3rem; }
}
