/* ═══════════════════════════════════════════
   PAFAGEL — Enhanced Premium Edition
   Palette: #f9fbff bg, #0b1220 text, #1b80ee/#31cdfa blue, #ff7a59 pop
   Fonts: Libre Baskerville + Mulish
═══════════════════════════════════════════ */

:root {
  --brand-1: #1b80ee;
  --brand-2: #28a0f0;
  --brand-3: #31cdfa;
  --neutral-1: #0b1220;
  --neutral-2: #1a2333;
  --neutral-3: #b4b7b9;
  --surface: #f6f7fb;
  --white: #ffffff;
  --pop-1: #ff7a59;
  --pop-2: #f9c74f;
  --pop-3: #31cdfa;
  --card-bg: rgba(255,255,255,0.94);
  --card-border: rgba(26,35,51,0.08);
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 18px 50px rgba(11,18,32,0.09);
  --shadow-hover: 0 26px 64px rgba(27,128,238,0.20);
  --transition: 0.28s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: "Mulish", "Segoe UI", sans-serif;
  color: var(--neutral-1);
  font-size: 0.95rem;
  background:
    radial-gradient(circle at 10% 10%, rgba(49,205,250,0.35) 0%, transparent 38%),
    radial-gradient(circle at 90% 8%,  rgba(27,128,238,0.28) 0%, transparent 36%),
    radial-gradient(circle at 60% 85%, rgba(249,199,79,0.18) 0%, transparent 38%),
    radial-gradient(circle at 20% 80%, rgba(49,205,250,0.14) 0%, transparent 32%),
    linear-gradient(180deg, #f3f8ff 0%, #eaf1fb 50%, #f5f8fd 100%);
  background-size: 160% 160%, 160% 160%, 140% 140%, 130% 130%, 100% 100%;
  animation: ambient 9s ease-in-out infinite;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

/* ── Particles canvas ── */
#particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.page { position: relative; z-index: 2; }

/* ═══ NAV ═══ */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 6vw 16px;
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}

.nav-scrolled {
  background: rgba(243,248,255,0.90);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(26,35,51,0.07), 0 4px 24px rgba(27,128,238,0.08);
  padding: 14px 6vw;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Libre Baskerville", serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--neutral-1);
  letter-spacing: 0.2px;
  animation: dropIn .7s ease both;
}

.brand-orb {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: conic-gradient(from 200deg, var(--brand-1), var(--brand-3), var(--pop-1), var(--brand-1));
  box-shadow: 0 6px 18px rgba(27,128,238,0.35);
  animation: spin 8s linear infinite;
  flex-shrink: 0;
}

.brand-orb-sm { width: 26px; height: 26px; border-radius: 8px; }

.nav-links {
  display: flex;
  gap: 28px;
  animation: dropIn .7s .08s ease both;
}

.nav-links a {
  color: var(--neutral-2);
  font-size: 0.92rem;
  font-weight: 600;
  position: relative;
  padding-bottom: 4px;
  transition: color var(--transition);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 2px; width: 0;
  background: linear-gradient(90deg, var(--brand-1), var(--brand-3));
  transition: width .3s ease;
  border-radius: 2px;
}

.nav-links a:hover { color: var(--brand-1); }
.nav-links a:hover::after { width: 100%; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 6px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--neutral-1); border-radius: 2px; transition: var(--transition); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 99;
  background: rgba(243,248,255,0.97); backdrop-filter: blur(18px);
  flex-direction: column; align-items: center; justify-content: center;
  gap: 32px; opacity: 0; pointer-events: none; transition: opacity .3s ease;
}
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mm-link { color: var(--neutral-1); font-family: "Libre Baskerville", serif; font-size: 1.8rem; font-weight: 700; transition: color var(--transition); }
.mm-link:hover { color: var(--brand-1); }

/* ═══ HERO ═══ */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 80px 6vw 90px;
  align-items: center;
  position: relative;
  min-height: 80vh;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.hero-orb-1 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(49,205,250,0.38), transparent 65%);
  top: -100px; right: -80px;
  animation: floatOrb 8s ease-in-out infinite;
}

.hero-orb-2 {
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(27,128,238,0.28), transparent 65%);
  bottom: 20px; left: 5%;
  animation: floatOrb 6s 1.5s ease-in-out infinite;
}

.hero-orb-3 {
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(249,199,79,0.24), transparent 65%);
  top: 50%; left: 48%;
  animation: floatOrb 10s 3s ease-in-out infinite;
}

.hero-text { position: relative; z-index: 1; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(255,122,89,.13), rgba(249,199,79,.18));
  border: 1px solid rgba(255,122,89,.2);
  color: var(--neutral-2);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.pill-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--pop-1);
  box-shadow: 0 0 7px var(--pop-1);
  animation: blink 2.2s ease-in-out infinite;
}

.hero h1 {
  font-family: "Libre Baskerville", serif;
  font-size: clamp(2.1rem, 3.5vw, 3.1rem);
  line-height: 1.13;
  color: var(--neutral-1);
  margin-bottom: 22px;
  letter-spacing: -0.3px;
  animation: textRise .9s .08s ease both;
}

.accent {
  background: linear-gradient(120deg, var(--brand-1), var(--brand-3));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 4s ease-in-out infinite;
}

.hero-sub {
  font-size: 0.97rem;
  color: var(--neutral-2);
  line-height: 1.75;
  margin-bottom: 34px;
  max-width: 480px;
  animation: textRise .9s .18s ease both;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  animation: textRise .9s .28s ease both;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--brand-1), var(--brand-3));
  color: var(--white);
  font-weight: 700;
  font-size: 0.92rem;
  font-family: "Mulish", sans-serif;
  box-shadow: 0 10px 28px rgba(27,128,238,0.32);
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
  border: none;
  letter-spacing: .2px;
}

.cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(27,128,238,0.45);
  filter: brightness(1.06);
}

.cta:active { transform: translateY(1px) scale(.98); }

.cta-arrow { transition: transform .25s ease; }
.cta:hover .cta-arrow { transform: translateX(5px); }

.cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1.5px solid rgba(26,35,51,0.18);
  color: var(--neutral-2);
  font-weight: 600;
  font-size: 0.92rem;
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
}

.cta-ghost:hover {
  background: rgba(27,128,238,0.07);
  border-color: var(--brand-1);
  color: var(--brand-1);
  transform: translateY(-2px);
}

/* Hero Card */
.hero-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  animation: floatCard 9s ease-in-out infinite;
  z-index: 1;
  backdrop-filter: blur(8px);
  transition: box-shadow var(--transition);
}

.hero-card:hover { box-shadow: var(--shadow-hover); }

.hero-card-shine {
  position: absolute; inset: 0; border-radius: inherit;
  opacity: 0; pointer-events: none; transition: opacity .4s ease;
}

.hero-card > strong {
  display: block;
  font-family: "Libre Baskerville", serif;
  font-size: 1.1rem;
  color: var(--neutral-1);
  margin-bottom: 10px;
}

.hero-card > p {
  color: var(--neutral-2);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 22px;
}

/* Metrics */
.metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.metric {
  background: linear-gradient(135deg, rgba(27,128,238,0.07), rgba(49,205,250,0.08));
  border: 1px solid rgba(27,128,238,0.1);
  border-radius: var(--radius-sm);
  padding: 14px 12px;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  display: grid;
  gap: 3px;
}

.metric:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 28px rgba(27,128,238,0.16);
  background: linear-gradient(135deg, rgba(27,128,238,0.13), rgba(49,205,250,0.12));
}

.metric-icon {
  width: 28px; height: 28px;
  margin-bottom: 6px;
  color: var(--brand-1);
}

.metric-icon svg { width: 100%; height: 100%; }
.metric strong { display: block; font-size: 0.96rem; color: var(--neutral-1); }
.metric span { display: block; font-size: 0.76rem; color: var(--neutral-2); }

/* ═══ STATS SECTION — Full blended design ═══ */
.stats-section {
  margin: 0 6vw 0;
  background: linear-gradient(135deg, rgba(27,128,238,0.06) 0%, rgba(49,205,250,0.04) 50%, rgba(255,255,255,0.8) 100%);
  border: 1px solid rgba(27,128,238,0.1);
  border-radius: 28px;
  padding: 0;
  box-shadow: 0 8px 40px rgba(27,128,238,0.08);
  overflow: hidden;
  position: relative;
  backdrop-filter: blur(10px);
}

.stats-section::before {
  content: "";
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 180px;
  background: radial-gradient(ellipse, rgba(27,128,238,0.1), transparent 65%);
  pointer-events: none;
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  padding: 36px 20px;
  position: relative;
  transition: background var(--transition);
}

.stat-item:hover {
  background: rgba(27,128,238,0.05);
}

.stat-num {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 8px;
}

.stat-num strong {
  font-family: "Libre Baskerville", serif;
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--brand-1), var(--brand-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}

.stat-num > span {
  font-family: "Libre Baskerville", serif;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  background: linear-gradient(135deg, var(--brand-2), var(--brand-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}

.stat-item p {
  color: var(--neutral-2);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.stat-divider {
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(27,128,238,0.15) 30%, rgba(27,128,238,0.15) 70%, transparent);
  align-self: stretch;
  margin: 16px 0;
}

/* ═══ SECTIONS ═══ */
section { padding: 90px 6vw; position: relative; }

.section-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--brand-1);
  margin-bottom: 12px;
  padding-left: 18px;
  position: relative;
}

.section-eyebrow::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 10px; height: 1.5px;
  background: var(--brand-1);
  transform: translateY(-50%);
}

.section-title {
  font-family: "Libre Baskerville", serif;
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  color: var(--neutral-1);
  margin-bottom: 16px;
  line-height: 1.18;
  letter-spacing: -0.2px;
}

.section-sub {
  color: var(--neutral-2);
  line-height: 1.75;
  max-width: 640px;
  font-size: 0.96rem;
}

/* ═══ ABOUT ═══ */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: 22px;
  margin-top: 38px;
}

.about-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.about-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(27,128,238,0.2);
}

.about-card-icon {
  width: 40px; height: 40px;
  margin-bottom: 16px;
  display: block;
  color: var(--brand-1);
  filter: drop-shadow(0 2px 8px rgba(27,128,238,0.3));
}

.about-card-icon svg { width: 100%; height: 100%; }

.about-card h3 {
  font-family: "Libre Baskerville", serif;
  font-size: 1.1rem;
  color: var(--neutral-1);
  margin-bottom: 10px;
}

.about-card p { color: var(--neutral-2); font-size: 0.92rem; line-height: 1.7; }

/* Shared shine overlay */
.card-shine {
  position: absolute; inset: 0;
  border-radius: inherit;
  opacity: 0; pointer-events: none;
  transition: opacity .4s ease;
}

/* ═══ SERVICES ═══ */
.services-section { background: linear-gradient(180deg, transparent, rgba(27,128,238,0.03) 50%, transparent); }

.services-bg-orb {
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(49,205,250,0.2), transparent 65%);
  top: -60px; right: -180px;
  filter: blur(50px);
  pointer-events: none;
  animation: floatOrb 12s ease-in-out infinite;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px,1fr));
  gap: 18px;
  margin-top: 38px;
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(27,128,238,0.22);
}

.service-card:hover .service-bar { width: 100%; }
.service-card:hover .service-num { color: var(--brand-1); }

.service-num {
  font-family: "Libre Baskerville", serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(11,18,32,0.18);
  letter-spacing: 2px;
  margin-bottom: 14px;
  transition: color var(--transition);
}

.service-icon {
  width: 34px; height: 34px;
  margin-bottom: 14px;
  display: block;
  color: var(--brand-1);
  filter: drop-shadow(0 2px 6px rgba(27,128,238,0.28));
}

.service-icon svg { width: 100%; height: 100%; }

.service-card h4 { color: var(--neutral-1); font-size: 0.97rem; font-weight: 700; margin-bottom: 8px; line-height: 1.35; }
.service-card p { color: var(--neutral-2); font-size: 0.87rem; line-height: 1.65; }

.service-bar {
  position: absolute;
  bottom: 0; left: 0;
  height: 3px; width: 0;
  background: linear-gradient(90deg, var(--brand-1), var(--brand-3));
  transition: width .5s cubic-bezier(.4,0,.2,1);
  border-radius: 2px;
}

/* ═══ MAPMAN ═══ */
.mapman-section {
  background:
    radial-gradient(ellipse at 65% 50%, rgba(27,128,238,0.09), transparent 60%),
    radial-gradient(ellipse at 15% 70%, rgba(49,205,250,0.07), transparent 50%);
}

.mapman-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.mapman-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--brand-1);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1.5px solid rgba(27,128,238,0.3);
  background: rgba(27,128,238,0.07);
  margin-bottom: 24px;
}

.mapman-logo-wrap {
  position: relative;
  width: 100px; height: 100px;
  margin-bottom: 22px;
}

.mapman-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(27,128,238,0.2);
}

.mapman-ring-1 { inset: -14px; animation: spin 10s linear infinite; }
.mapman-ring-2 { inset: -28px; border-color: rgba(49,205,250,0.12); animation: spin 18s linear infinite reverse; }

.mapman-logo-img {
  width: 100%; height: 100%;
  border-radius: 22px;
  object-fit: contain;
  background: var(--white);
  border: 1px solid var(--card-border);
  box-shadow: 0 14px 36px rgba(27,128,238,0.18);
  padding: 8px;
}

.mapman-title {
  font-family: "Libre Baskerville", serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--neutral-1);
  margin-bottom: 14px;
  line-height: 1.15;
}

.mapman-lead {
  color: var(--neutral-2);
  font-size: 0.96rem;
  line-height: 1.75;
  max-width: 420px;
  margin-bottom: 28px;
}

.mapman-stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.mapman-stat strong { display: block; font-family: "Libre Baskerville", serif; font-size: 1.05rem; color: var(--neutral-1); }
.mapman-stat span { font-size: 0.8rem; color: var(--neutral-2); }

.mapman-features { display: grid; gap: 16px; }

.mapman-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.mapman-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: var(--shadow-hover);
  border-color: rgba(27,128,238,0.2);
}

.mapman-card-icon {
  width: 36px; height: 36px;
  flex-shrink: 0;
  color: var(--brand-1);
  filter: drop-shadow(0 2px 6px rgba(27,128,238,0.3));
}

.mapman-card-icon svg { width: 100%; height: 100%; }

.mapman-card h3 { color: var(--neutral-1); font-size: 0.98rem; font-weight: 700; margin-bottom: 4px; }
.mapman-card p { color: var(--neutral-2); font-size: 0.87rem; line-height: 1.6; }

/* ═══ CONTACT ═══ */
.contact {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 26px;
  align-items: start;
}

.contact-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), border-color var(--transition);
}

.contact-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: rgba(27,128,238,0.18);
}

.contact-form { display: grid; gap: 18px; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-grid label {
  display: grid; gap: 7px;
  font-size: 0.82rem; font-weight: 600;
  color: var(--neutral-2); letter-spacing: .2px;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(26,35,51,0.12);
  background: #f2f6fe;
  color: var(--neutral-1);
  font-family: "Mulish", sans-serif;
  font-size: 0.93rem;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  outline: none;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  border-color: rgba(27,128,238,0.5);
  background: #eef4ff;
  box-shadow: 0 0 0 3px rgba(27,128,238,0.1);
}

.form-grid .full { grid-column: 1/-1; }

.contact-info h3 {
  font-family: "Libre Baskerville", serif;
  font-size: 1.2rem;
  color: var(--neutral-1);
  margin-bottom: 6px;
}

.contact-details { display: grid; gap: 12px; margin-top: 20px; }

.contact-detail-item {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 13px 15px;
  background: linear-gradient(135deg, rgba(27,128,238,0.06), rgba(49,205,250,0.04));
  border: 1px solid rgba(27,128,238,0.1);
  border-radius: var(--radius-sm);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.contact-detail-item:hover {
  background: linear-gradient(135deg, rgba(27,128,238,0.12), rgba(49,205,250,0.08));
  border-color: rgba(27,128,238,0.2);
  transform: translateX(4px);
}

.contact-detail-icon {
  flex-shrink: 0;
  color: var(--brand-1);
  margin-top: 2px;
}

.contact-detail-item strong { display: block; color: var(--neutral-1); font-size: 0.87rem; font-weight: 700; margin-bottom: 2px; }
.contact-detail-item span { display: block; color: var(--neutral-2); font-size: 0.81rem; word-break: break-all; }

/* ═══ FOOTER ═══ */
.footer {
  padding: 50px 6vw 36px;
  background: var(--neutral-1);
  color: var(--white);
  position: relative;
  overflow: hidden;
  margin-top: 32px;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  width: 500px; height: 180px;
  transform: translateX(-50%) translateY(-50%);
  background: radial-gradient(ellipse, rgba(27,128,238,0.18), transparent 70%);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
  position: relative;
}

.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.footer-brand strong { color: var(--white); font-size: 0.96rem; font-weight: 700; }
.footer p { color: var(--neutral-3); font-size: 0.88rem; line-height: 1.65; }
.footer h4 { color: var(--white); font-size: 0.9rem; font-weight: 700; margin-bottom: 14px; }
.footer ul { list-style: none; display: grid; gap: 8px; }
.footer li { color: var(--neutral-3); font-size: 0.87rem; line-height: 1.5; transition: color var(--transition); }
.footer li:hover { color: var(--white); }
.footer small { display: block; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.08); color: rgba(255,255,255,0.3); font-size: 0.8rem; position: relative; }

/* ═══ WHATSAPP ═══ */
.whatsapp {
  position: fixed;
  right: 24px; bottom: 24px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #18b76a, #25d366);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(24,183,106,0.38);
  font-size: 0.83rem; font-weight: 700;
  z-index: 200;
  animation: waPulse 2.6s ease-in-out infinite;
  transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 14px 36px rgba(24,183,106,0.52);
  animation: none;
}

.wa-icon-svg { color: white; flex-shrink: 0; }

/* ═══ SCROLL REVEAL ═══ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1); }
.reveal.revealed { opacity: 1; transform: none; }
.reveal-delay-1.revealed { transition-delay: .12s; }
.reveal-delay-2.revealed { transition-delay: .22s; }
.reveal-delay-3.revealed { transition-delay: .32s; }

/* ═══ KEYFRAMES ═══ */
@keyframes ambient {
  0%   { background-position: 0% 0%,   100% 0%,  50% 100%, 20% 80%,  0% 0%; }
  33%  { background-position: 15% 20%, 75% 18%, 60% 90%,  8% 72%,  0% 0%; }
  66%  { background-position: 8% 12%,  88% 10%, 45% 95%, 25% 85%,  0% 0%; }
  100% { background-position: 0% 0%,   100% 0%,  50% 100%, 20% 80%,  0% 0%; }
}

@keyframes floatOrb {
  0%,100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(30px) scale(1.06); }
}

@keyframes floatCard {
  0%,100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes shimmer {
  0%,100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes dropIn {
  0% { opacity: 0; transform: translateY(-14px); }
  100% { opacity: 1; transform: none; }
}

@keyframes textRise {
  0% { opacity: 0; transform: translateY(16px); }
  100% { opacity: 1; transform: none; }
}

@keyframes blink {
  0%,100% { opacity: 1; box-shadow: 0 0 7px var(--pop-1); }
  50% { opacity: .5; box-shadow: 0 0 16px var(--pop-1); }
}

@keyframes waPulse {
  0%,100% { box-shadow: 0 8px 24px rgba(24,183,106,0.38); }
  50% { box-shadow: 0 8px 36px rgba(24,183,106,0.62); }
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding: 60px 6vw 60px; }
  .hero-card { max-width: 480px; }
  .mapman-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .stat-divider:nth-child(4) { display: none; }
  .stat-item { padding: 28px 16px; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: flex; }
  section { padding: 64px 5vw; }
  .form-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: 1fr 1fr; padding: 0; }
  .stat-divider { display: none; }
  .stat-item { padding: 24px 12px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .whatsapp span { display: none; }
  .hero-orb { opacity: .6; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  #particles { display: none; }
}
