/* ============================================================
   EXPLORA MARKETING DIGITAL — styles.css
   Brand: #151243 | #f3d913 | #f21049 | #5e17eb | #f1f1f1
   Fonts: Montserrat (headings) + DM Sans (body)
   ============================================================ */

/* ——— DESIGN TOKENS ——— */
:root {
  /* Brand Palette */
  --clr-bg:         #0d0d24;
  --clr-surface:    #151243;
  --clr-yellow:     #f3d913;
  --clr-red:        #f21049;
  --clr-purple:     #5e17eb;
  --clr-light:      #f1f1f1;
  --clr-white:      #ffffff;
  --clr-muted:      rgba(241, 241, 241, 0.55);
  --clr-border:     rgba(255, 255, 255, 0.1);

  /* Glow/Accent shortcuts */
  --glow-purple:    0 0 40px rgba(94, 23, 235, 0.45);
  --glow-yellow:    0 0 30px rgba(243, 217, 19, 0.35);
  --glow-red:       0 0 30px rgba(242, 16, 73, 0.35);

  /* Typography */
  --font-head:      'Montserrat', sans-serif;
  --font-body:      'DM Sans', sans-serif;

  /* Spacing */
  --space-xs:       0.5rem;
  --space-sm:       1rem;
  --space-md:       2rem;
  --space-lg:       4rem;
  --space-xl:       6rem;

  /* Radii */
  --radius-sm:      8px;
  --radius-md:      16px;
  --radius-lg:      28px;
  --radius-full:    9999px;

  /* Transitions */
  --ease-out:       cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast:         0.2s var(--ease-out);
  --t-med:          0.4s var(--ease-out);
}

/* ——— RESET & BASE ——— */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  background-color: var(--clr-bg);
  color: var(--clr-light);
  overflow-x: hidden;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  user-select: none;
  -webkit-user-select: none;
}

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

/* Screen-reader only utility */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ——— SCROLLBAR ——— */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--clr-bg); }
::-webkit-scrollbar-thumb {
  background: var(--clr-purple);
  border-radius: var(--radius-full);
}

/* ——— NOISE & GALAXY BACKGROUND ——— */
.noise-overlay {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px;
}

#galaxy-bg {
  position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 80% 50% at 20% 30%, rgba(94, 23, 235, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 70%, rgba(242, 16, 73, 0.1) 0%, transparent 60%),
    radial-gradient(circle at center, #16154a 0%, var(--clr-bg) 100%);
  overflow: hidden;
}

/* Stars injected by JS */
.star {
  position: absolute;
  background: white;
  border-radius: 50%;
  animation: twinkle var(--dur, 3s) ease-in-out var(--delay, 0s) infinite alternate;
}
@keyframes twinkle {
  0%   { opacity: 0.15; transform: scale(0.8); }
  100% { opacity: 0.9; transform: scale(1.3); box-shadow: 0 0 6px rgba(255,255,255,0.8); }
}

.shooting-star {
  position: absolute;
  height: 1.5px;
  background: linear-gradient(90deg, rgba(255,255,255,1), transparent);
  transform: rotate(-40deg);
  opacity: 0;
  animation: shoot var(--dur, 6s) linear var(--delay, 0s) infinite;
}
@keyframes shoot {
  0%   { transform: translateX(110vw) translateY(-60vh) rotate(-40deg); opacity: 1; width: 120px; }
  30%  { opacity: 0; }
  100% { transform: translateX(-60vw) translateY(120vh) rotate(-40deg); opacity: 0; width: 120px; }
}

/* ——— LAYOUT ——— */
.container {
  width: min(1200px, 100% - 2rem);
  margin-inline: auto;
}

/* ——— GLASSMORPHISM ——— */
.glass {
  background: rgba(21, 18, 67, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--clr-border);
}

/* ——— TYPOGRAPHY UTILS ——— */
.text-accent { color: var(--clr-yellow); }

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clr-yellow);
  margin-bottom: var(--space-sm);
}

.section-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.2;
  color: var(--clr-white);
  margin-bottom: var(--space-md);
}
.section-title.centered { text-align: center; }

.section-subtitle {
  color: var(--clr-muted);
  font-size: 1.05rem;
  max-width: 56ch;
  margin-inline: auto;
}

.emoji {
  display: inline-block;
  filter: drop-shadow(0 4px 8px rgba(94, 23, 235, 0.4));
}

/* ——— BUTTONS ——— */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-full);
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
  white-space: nowrap;
}
.btn:focus-visible { outline: 3px solid var(--clr-yellow); outline-offset: 3px; }

.btn-primary {
  background: var(--clr-purple);
  color: var(--clr-white);
  box-shadow: var(--glow-purple);
}
.btn-primary:hover {
  background: #7428ff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 0 55px rgba(94, 23, 235, 0.65);
}

.btn-ghost {
  background: transparent;
  color: var(--clr-muted);
  border: 1px solid var(--clr-border);
}
.btn-ghost:hover {
  border-color: var(--clr-yellow);
  color: var(--clr-yellow);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--clr-white);
  border: 2px solid var(--clr-purple);
}
.btn-outline:hover {
  background: var(--clr-purple);
  transform: translateY(-2px);
  box-shadow: var(--glow-purple);
}

.btn-full { width: 100%; justify-content: center; }

/* ——— HEADER / NAV ——— */
#site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 1rem;
  transition: background var(--t-med), box-shadow var(--t-med);
}
#site-header.scrolled {
  background: rgba(13, 13, 36, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--clr-border);
}

#site-header.menu-open {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: rgba(13, 13, 36, 1);
}

.nav-inner {
  max-width: 1200px;
  margin: auto;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo {
  display: flex; align-items: center;
  flex-shrink: 0;
}
.nav-logo img { height: 36px; width: auto; }
.logo-fallback {
  display: none;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--clr-yellow);
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex; gap: 2rem;
  margin-left: auto;
}
.nav-links a {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--clr-muted);
  transition: color var(--t-fast);
}
.nav-links a:hover { color: var(--clr-white); }

.nav-cta {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.55rem 1.4rem;
  border-radius: var(--radius-full);
  background: var(--clr-yellow);
  color: var(--clr-surface);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.nav-cta:hover {
  transform: scale(1.04);
  box-shadow: var(--glow-yellow);
}

.nav-burger {
  display: none;
  flex-direction: column; gap: 5px;
  margin-left: auto;
  padding: 8px;
}
.nav-burger span {
  display: block; width: 24px; height: 2px;
  background: var(--clr-white);
  border-radius: 2px;
  transition: transform var(--t-fast), opacity var(--t-fast);
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ——— SCROLL PROGRESS BAR ——— */
#progress-bar {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--clr-purple), var(--clr-yellow));
  z-index: 200;
  transition: width 0.1s linear;
}

/* ——— SECTION: HERO ——— */
.section-hero {
  min-height: 100svh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 8rem 1rem 4rem;
  position: relative;
}

.badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--clr-border);
  background: rgba(255,255,255,0.05);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--clr-muted);
  letter-spacing: 0.03em;
  margin-bottom: 1.5rem;
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 6px #4ade80;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

.hero-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--clr-muted);
  max-width: 56ch;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}
.hero-subtitle strong { color: var(--clr-white); font-weight: 600; }

.hero-actions {
  display: flex; gap: 1rem;
  flex-wrap: wrap; justify-content: center;
  margin-bottom: 2.5rem;
}

.hero-tags {
  display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center;
  font-family: monospace;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.25);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
}
.scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, transparent, var(--clr-yellow));
  animation: scroll-fade 2s ease-in-out infinite;
}
@keyframes scroll-fade {
  0%, 100% { opacity: 0.2; transform: scaleY(0.8); }
  50% { opacity: 0.8; transform: scaleY(1); }
}

/* ——— FADE-UP ANIMATION ——— */
.animate-fade-up {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.7s var(--ease-out) forwards;
  animation-delay: var(--delay, 0s);
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Intersection Observer animation */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ——— SECTION: PROPUESTA ——— */
.section-propuesta {
  padding: var(--space-xl) 0;
  position: relative; z-index: 1;
}

.pain-card {
  border-radius: var(--radius-lg);
  padding: 3rem;
  margin-bottom: var(--space-lg);
  text-align: center;
}

.pain-list {
  display: flex; flex-direction: column; gap: 1.2rem;
  max-width: 600px;
  margin: 0 auto var(--space-md);
  text-align: left;
}
.pain-list li {
  display: flex; align-items: flex-start; gap: 1rem;
}
.pain-icon { font-size: 1.6rem; flex-shrink: 0; margin-top: -2px; }
.pain-list p { font-size: 1.05rem; color: var(--clr-muted); }
.pain-list p strong { color: var(--clr-red); font-weight: 700; }

.pain-cta-text {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--clr-white);
  margin-bottom: var(--space-md);
}

/* Transformation Grid */
.transform-block { text-align: center; }

.transform-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  align-items: stretch;
  max-width: 900px;
  margin-inline: auto;
}

.transform-divider {
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  color: var(--clr-yellow);
  font-family: var(--font-head);
  font-weight: 900;
}

.transform-col {
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: left;
}
.transform-col h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.transform-col ul { display: flex; flex-direction: column; gap: 0.8rem; }
.transform-col ul li {
  font-size: 0.92rem;
  padding-left: 1.2rem;
  position: relative;
  color: var(--clr-muted);
}
.transform-col ul li::before {
  content: '';
  position: absolute; left: 0; top: 0.55em;
  width: 6px; height: 6px;
  border-radius: 50%;
}

.transform-col.before {
  background: rgba(242, 16, 73, 0.08);
  border: 1px solid rgba(242, 16, 73, 0.2);
}
.transform-col.before h3 { color: var(--clr-red); }
.transform-col.before ul li::before { background: var(--clr-red); opacity: 0.6; }

.transform-col.after {
  background: rgba(94, 23, 235, 0.1);
  border: 1px solid rgba(94, 23, 235, 0.3);
}
.transform-col.after h3 { color: var(--clr-yellow); }
.transform-col.after ul li::before { background: var(--clr-yellow); }
.transform-col.after ul li { color: var(--clr-light); }

/* ——— SECTION: STATS ——— */
.section-stats {
  padding: var(--space-lg) 0;
  position: relative; z-index: 1;
}
.section-stats::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(94, 23, 235, 0.08) 0%, rgba(242, 16, 73, 0.05) 100%);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
  position: relative;
}

.stat-item {
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
}
.stat-number {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
  background: linear-gradient(135deg, var(--clr-purple), var(--clr-yellow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-muted);
}

/* ——— SECTION: ABOUT ——— */
.section-about {
  padding: var(--space-xl) 0;
  position: relative; z-index: 1;
}

.about-card {
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: flex;
  align-items: center;
  gap: 3rem;
  position: relative;
  overflow: hidden;
}
.about-card::after {
  content: '';
  position: absolute; top: 50%; right: -100px;
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(94, 23, 235, 0.2), transparent 70%);
  border-radius: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.about-avatar {
  flex-shrink: 0;
  width: 180px; height: 180px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--clr-purple);
  box-shadow: var(--glow-purple);
}
.about-avatar img { width: 100%; height: 100%; object-fit: cover; }

.about-name {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 0.5rem;
}
.about-role {
  font-size: 1rem;
  font-weight: 600;
  color: var(--clr-muted);
  margin-bottom: 0.75rem;
}
.about-bio {
  font-size: 0.95rem;
  color: var(--clr-muted);
  margin-bottom: 1.2rem;
}
.about-quote {
  border-left: 3px solid var(--clr-purple);
  padding-left: 1rem;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--clr-muted);
  max-width: 50ch;
}

/* ——— SECTION: TESTIMONIALS ——— */
.section-testimonios {
  padding: var(--space-xl) 0;
  position: relative; z-index: 1;
  overflow: hidden;
}
.section-header {
  margin-bottom: var(--space-lg);
}

.marquee-wrapper {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  margin-bottom: 1.2rem;
}
.marquee-reverse .marquee-track {
  animation-direction: reverse;
}

.marquee-track {
  display: flex;
  gap: 1.2rem;
  width: max-content;
  animation: marquee-scroll 45s linear infinite;
}
.marquee-wrapper:hover .marquee-track { animation-play-state: paused; }

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.testimonial-card {
  flex-shrink: 0;
  width: 320px;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border-color: transparent;
  transition: border-color var(--t-fast);
}
.testimonial-card:hover { border-color: rgba(94, 23, 235, 0.4); }

.testimonial-header {
  display: flex; align-items: center; gap: 0.85rem;
  margin-bottom: 0.85rem;
}
.testimonial-header > div:last-child strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--clr-white);
}
.testimonial-header > div:last-child span {
  font-size: 0.72rem;
  color: var(--clr-muted);
}
.testimonial-card > p {
  font-size: 0.87rem;
  color: var(--clr-muted);
  line-height: 1.6;
}

.avatar-circle {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.9rem;
  color: white;
}

/* ——— SECTION: CTA/FORM ——— */
.section-cta {
  padding: var(--space-xl) 0;
  position: relative; z-index: 1;
}

.cta-card {
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  text-align: center;
  border-top: 3px solid var(--clr-purple);
  box-shadow: var(--glow-purple);
  max-width: 680px;
  margin-inline: auto;
}

.cta-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.cta-subtitle {
  color: var(--clr-muted);
  font-size: 1rem;
  max-width: 50ch;
  margin: 0 auto 2rem;
}

.lead-form {
  display: flex; flex-direction: column;
  gap: 1rem;
  max-width: 440px;
  margin-inline: auto;
}

.form-group input {
  width: 100%;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--clr-border);
  color: var(--clr-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.form-group input::placeholder { color: rgba(255,255,255,0.3); }
.form-group input:focus {
  outline: none;
  border-color: var(--clr-purple);
  box-shadow: 0 0 0 3px rgba(94, 23, 235, 0.25);
}

.form-disclaimer {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  text-align: center;
  margin-top: 0.25rem;
}

/* ——— FOOTER ——— */
.site-footer {
  padding: var(--space-md) 0;
  border-top: 1px solid var(--clr-border);
  text-align: center;
  position: relative; z-index: 1;
}
.footer-brand {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  color: var(--clr-yellow);
  margin-bottom: 0.4rem;
}
.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  margin-bottom: 0.6rem;
}
.footer-links {
  display: flex; gap: 1.5rem; justify-content: center;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 0.8rem;
  color: var(--clr-muted);
  transition: color var(--t-fast);
}
.footer-links a:hover { color: var(--clr-yellow); }

/* ——— MODAL ——— */
.modal-overlay {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  background: rgba(9, 8, 28, 0.85);
  backdrop-filter: blur(8px);
}
.modal-overlay[hidden] { display: none; }

.modal-box {
  width: min(640px, 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 0 60px rgba(94, 23, 235, 0.5);
  transform: scale(0.96);
  opacity: 0;
  transition: transform var(--t-med), opacity var(--t-med);
}
.modal-overlay:not([hidden]) .modal-box {
  transform: scale(1);
  opacity: 1;
}

.modal-header {
  padding: 2.5rem;
  text-align: center;
  border-bottom: 1px solid var(--clr-border);
}
.modal-check-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: #22c55e;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  color: white;
}
.modal-header h3 {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 0.4rem;
}
.modal-header p { font-size: 0.9rem; color: var(--clr-muted); }

.modal-email-sim { background: #ffffff; color: #1a1a2e; }

.email-meta {
  background: #f1f5f9;
  padding: 1rem 1.5rem;
  font-size: 0.8rem;
  border-bottom: 1px solid #e2e8f0;
  display: flex; flex-direction: column; gap: 0.25rem;
}
.email-meta strong { color: #1e293b; }

.email-body {
  padding: 1.5rem;
  font-size: 0.9rem;
  line-height: 1.7;
  display: flex; flex-direction: column; gap: 0.8rem;
}
.email-body strong { color: #5e17eb; }

.email-cta-wrap { text-align: center; padding: 0.5rem 0; }
.btn-whatsapp {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-md);
  background: #25D366;
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  transition: background var(--t-fast), transform var(--t-fast);
}
.btn-whatsapp:hover { background: #128C7E; transform: scale(1.03); }

.modal-footer {
  padding: 1rem 1.5rem;
  text-align: center;
  background: rgba(21, 18, 67, 0.6);
  border-top: 1px solid var(--clr-border);
}
.btn-close-modal {
  font-size: 0.8rem;
  color: var(--clr-muted);
  transition: color var(--t-fast);
}
.btn-close-modal:hover { color: var(--clr-white); }

/* ——— CHATBOT ——— */
.chatbot-wrapper {
  position: fixed; bottom: 1.5rem; right: 1.5rem;
  z-index: 200;
  display: flex; flex-direction: column; align-items: flex-end; gap: 0.75rem;
}

.chat-toggle-btn {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-purple), var(--clr-red));
  color: white;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--glow-purple);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
  animation: float-btn 3s ease-in-out infinite;
}
.chat-toggle-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(94, 23, 235, 0.7);
}
@keyframes float-btn {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

.chat-window {
  width: min(360px, calc(100vw - 2rem));
  border-radius: var(--radius-lg);
  overflow: hidden;
  flex-direction: column;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}
.chat-window:not([hidden]) { display: flex; }

.chat-header {
  background: var(--clr-purple);
  padding: 1rem 1.2rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.chat-header strong {
  font-family: var(--font-head);
  font-size: 0.9rem;
  color: white;
}
.chat-status {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.65);
  display: block;
}
.chat-close-btn {
  margin-left: auto;
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  transition: color var(--t-fast);
}
.chat-close-btn:hover { color: white; }

.chat-body {
  padding: 1rem;
  height: 240px;
  overflow-y: auto;
  display: flex; flex-direction: column; gap: 0.7rem;
  background: rgba(9, 8, 28, 0.85);
  scrollbar-width: thin;
}

.msg {
  max-width: 85%;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  line-height: 1.5;
}
.msg-bot {
  background: rgba(94, 23, 235, 0.25);
  border: 1px solid rgba(94, 23, 235, 0.3);
  color: var(--clr-light);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.msg-user {
  background: var(--clr-purple);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chat-quick-btns {
  padding: 0.75rem;
  display: flex; flex-wrap: wrap; gap: 0.4rem;
  justify-content: center;
  background: rgba(9, 8, 28, 0.9);
  border-top: 1px solid var(--clr-border);
}
.chat-quick-btns button {
  font-size: 0.72rem;
  font-family: var(--font-body);
  font-weight: 500;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(94, 23, 235, 0.2);
  border: 1px solid rgba(94, 23, 235, 0.35);
  color: var(--clr-light);
  transition: background var(--t-fast), border-color var(--t-fast);
}
.chat-quick-btns button:hover {
  background: var(--clr-purple);
  border-color: var(--clr-purple);
}

/* ——— BACK TO TOP ——— */
.back-to-top {
  position: fixed; bottom: 1.5rem; left: 1.5rem;
  z-index: 200;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(21, 18, 67, 0.8);
  border: 1px solid var(--clr-border);
  color: var(--clr-white);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity var(--t-fast), transform var(--t-fast), background var(--t-fast);
  backdrop-filter: blur(8px);
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover { background: var(--clr-purple); }

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .transform-grid { grid-template-columns: 1fr; gap: 1rem; }
  .transform-divider { transform: rotate(90deg); }
  .about-card { flex-direction: column; text-align: center; }
  .about-quote { border-left: none; border-top: 3px solid var(--clr-purple); padding: 1rem 0 0; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }

  /* Mobile nav overlay */
  .nav-links.mobile-open {
    display: flex; flex-direction: column;
    position: fixed; inset: 68px 0 0;
    background: rgba(9, 8, 28, 0.97);
    backdrop-filter: blur(20px);
    align-items: center; justify-content: center;
    gap: 2rem; padding: 2rem;
    z-index: 99;
  }
  .nav-links.mobile-open a {
    font-size: 1.1rem;
  }
  .nav-cta.mobile-open {
    display: inline-flex;
    position: fixed;
    bottom: 2rem; left: 50%; transform: translateX(-50%);
    z-index: 100;
  }

  .hero-title { font-size: clamp(2.2rem, 9vw, 3.5rem); }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 320px; justify-content: center; }

  .pain-card { padding: 2rem 1.5rem; }
  .cta-card { padding: 2rem 1.5rem; }
  .about-card { padding: 2rem 1.5rem; }

  .stats-grid { gap: 1.5rem; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-card { width: 280px; }
}
