/* ════════════════════════════════════════════════════════════════
   Nubenta Landing — styles.css
   ════════════════════════════════════════════════════════════════ */

/* ─── Reset ────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

/* ─── Variables ────────────────────────────────────────────────── */
:root {
  --primary:       #1B2A6B;
  --primary-dark:  #16235A;
  --terracotta:    #C8603A;
  --cream:         #FAF7F2;
  --sand:          #F2EDE4;
  --white:         #FFFFFF;
  --ink:           #1A1A1A;
  --text:          #4A4A4A;
  --muted:         #8C8C8C;
  --border:        #E8E2D9;
  --green:         #22C55E;

  --r-sm:   8px;
  --r-md:   16px;
  --r-lg:   24px;
  --r-pill: 999px;

  --shadow:    0 4px 24px rgba(27, 42, 107, 0.08);
  --shadow-lg: 0 8px 48px rgba(27, 42, 107, 0.13);

  --serif: 'Playfair Display', Georgia, serif;
  --sans:  'Inter', system-ui, -apple-system, sans-serif;

  --max-w: 1140px;
}

/* ─── Base ──────────────────────────────────────────────────────── */
body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ─── Buttons ───────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--r-pill);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
  border: 2px solid transparent;
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(27, 42, 107, 0.28);
}

.btn-ghost {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-ghost:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
  font-size: 16px;
  padding: 15px 40px;
}
.btn-white:hover {
  background: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}

.btn-full { width: 100%; }

/* ─── Nav ───────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s;
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.3px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--primary); }

.nav-cta { margin-left: auto; flex-shrink: 0; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.2s;
}

/* ─── Hero ──────────────────────────────────────────────────────── */
.hero {
  background: var(--cream);
  padding: 80px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 48px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  background: var(--terracotta);
  color: var(--white);
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 20px;
}

.hero-headline {
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 18px;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 460px;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.trust-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}
.trust-item svg { color: var(--terracotta); flex-shrink: 0; }

/* Hero visual */
.hero-visual { position: relative; }

.hero-photo {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3.5;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-placeholder {
  width: 100%;
  height: 100%;
  min-height: 340px;
  background: linear-gradient(135deg, #DDD0C0 0%, #C2A57E 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.photo-placeholder p {
  font-size: 11px;
  color: rgba(0, 0, 0, 0.32);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.8;
}

/* Float card */
.hero-float-card {
  position: absolute;
  bottom: -16px;
  left: -20px;
  background: var(--white);
  border-radius: var(--r-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  min-width: 220px;
}

.float-brand {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.float-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  margin-bottom: 10px;
}

.float-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 10px;
}
.float-label { font-size: 11px; color: var(--muted); font-weight: 500; }
.float-value { font-size: 22px; font-weight: 700; color: var(--ink); letter-spacing: -0.5px; }

.float-divider { height: 1px; background: var(--border); margin-bottom: 10px; }

.float-row { display: flex; justify-content: space-between; align-items: center; }
.float-meta { font-size: 12px; color: var(--muted); }
.float-meta--green { color: var(--green); font-weight: 600; }

/* ─── Social Proof / Testimonios ───────────────────────────────── */
.proof {
  background: var(--white);
  padding: 64px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.proof-label {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 36px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testimonial-card {
  background: var(--sand);
  border-radius: var(--r-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.stars {
  color: var(--terracotta);
  font-size: 15px;
  letter-spacing: 3px;
}

.testimonial-card blockquote {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
  font-style: italic;
  flex: 1;
}

.author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.author-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.5px;
}

.author strong { display: block; font-size: 13px; color: var(--ink); font-weight: 600; }
.author span   { display: block; font-size: 12px; color: var(--muted); }

/* ─── Section header (compartido) ─────────────────────────────── */
.section-header { text-align: center; margin-bottom: 48px; }

.section-title {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 12px;
}

.section-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ─── Features ──────────────────────────────────────────────────── */
.features {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  background:
    radial-gradient(ellipse 700px 480px at 88% 4%, rgba(200, 96, 58, 0.22) 0%, rgba(200, 96, 58, 0.09) 40%, transparent 72%),
    var(--sand);
}

.features::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(27, 42, 107, 0.14) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

.features .container {
  position: relative;
  z-index: 1;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.features-grid .feature-card:nth-child(1) { grid-column: span 2; }
.features-grid .feature-card:nth-child(2) { grid-column: span 1; }
.features-grid .feature-card:nth-child(3) { grid-column: span 1; }
.features-grid .feature-card:nth-child(4) { grid-column: span 2; }

.feature-card {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border-radius: var(--r-md);
  padding: 30px;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-num {
  position: absolute;
  top: -6px;
  right: 14px;
  font-family: var(--serif);
  font-size: 88px;
  font-weight: 700;
  line-height: 1;
  color: currentColor;
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
}

.feature-icon,
.feature-card h3,
.feature-card p,
.feature-mini {
  position: relative;
  z-index: 1;
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: var(--primary);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.65;
}

.feature-card--lg h3 { font-size: 19px; }
.feature-card--lg p { max-width: 420px; }

/* Mini illustration — barcode (Ventas rápidas) */
.feature-mini--barcode {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 32px;
  margin-top: 20px;
}
.feature-mini--barcode span {
  display: block;
  height: 100%;
  background: var(--primary);
  opacity: 0.7;
  border-radius: 1px;
}
.feature-mini--barcode span:nth-child(3n)   { width: 2px; }
.feature-mini--barcode span:nth-child(3n+1) { width: 5px; opacity: 0.35; }
.feature-mini--barcode span:nth-child(3n+2) { width: 3px; height: 70%; }
.feature-mini--barcode span:nth-child(7)    { height: 55%; }

/* Mini illustration — desglose de pago (Cierre de caja) */
.feature-mini--split {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.mini-pill {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--r-pill);
}
.mini-pill--cash  { background: rgba(34, 197, 94, 0.12);  color: #158a45; }
.mini-pill--card  { background: rgba(27, 42, 107, 0.10);  color: var(--primary); }
.mini-pill--fiado { background: rgba(200, 96, 58, 0.12);  color: var(--terracotta); }

/* ─── App Showcase ───────────────────────────────────────────────── */
.showcase {
  background: var(--white);
  padding: 80px 0;
}

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

/* Phone mockups */
.phones-wrap {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone {
  position: absolute;
  width: 226px;
  background: #1C1C1E;
  border-radius: 42px;
  padding: 12px;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.28);
}

.phone--solo { transform: rotate(-2deg); }

.phone-screen {
  border-radius: 30px;
  overflow: hidden;
  aspect-ratio: 9 / 19;
}

/* Callouts flotantes alrededor del celular único */
.showcase-callout {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 220px;
  background: var(--white);
  border-radius: var(--r-md);
  padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  animation: float 4s ease-in-out infinite;
}

.showcase-callout--top {
  top: 14%;
  right: 0;
  transform: rotate(-3deg);
}

.showcase-callout--bottom {
  bottom: 10%;
  left: 0;
  transform: rotate(2deg);
  animation-delay: 0.6s;
}

.showcase-callout-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.showcase-callout-icon--terracotta { background: var(--terracotta); }

.showcase-callout-text { display: flex; flex-direction: column; gap: 2px; }
.showcase-callout-title { font-size: 13px; font-weight: 700; color: var(--ink); }
.showcase-callout-sub { font-size: 11px; color: var(--muted); line-height: 1.3; }

@media (prefers-reduced-motion: reduce) {
  .showcase-callout { animation: none; }
}

/* Showcase text */
.showcase-content .section-title { text-align: left; margin-bottom: 14px; }
.showcase-content > p {
  font-size: 16px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 28px;
}

.feature-list { display: flex; flex-direction: column; gap: 10px; }

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  background: var(--cream);
  border-radius: var(--r-sm);
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}

.feature-list li::before {
  content: '';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
  background-color: var(--terracotta);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* ─── Pricing ────────────────────────────────────────────────────── */
.pricing {
  background: var(--cream);
  padding: 80px 0;
}

.pricing-card {
  max-width: 620px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 40px 44px;
  box-shadow: var(--shadow-lg);
}

.pricing-badge {
  display: inline-flex;
  padding: 6px 18px;
  background: var(--terracotta);
  color: var(--white);
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 28px;
}

.pricing-top { margin-bottom: 8px; }

.price-display {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
}

.price-amount {
  font-family: var(--serif);
  font-size: 56px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -2px;
  line-height: 1;
}

.price-period {
  font-size: 20px;
  color: var(--muted);
  font-weight: 400;
}

.price-label {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
}

.price-breakdown {
  background: var(--sand);
  border-radius: var(--r-sm);
  padding: 18px 20px;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.breakdown-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.breakdown-tier  { color: var(--text); font-weight: 500; flex: 1; }
.breakdown-arrow { color: var(--border); font-size: 16px; }
.breakdown-price { color: var(--ink); font-weight: 700; white-space: nowrap; }

.pricing-divider { height: 1px; background: var(--border); margin-bottom: 24px; }

.pricing-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 32px;
  margin-bottom: 32px;
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text);
}

.check {
  color: var(--terracotta);
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}

.pricing-note {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin-top: 14px;
  line-height: 1.5;
}

/* ─── Final CTA ──────────────────────────────────────────────────── */
.cta-final {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 100px 0;
  text-align: center;
}

.cta-final-inner h2 {
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 18px;
}

.cta-final-inner > p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.cta-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}
.cta-sep { opacity: 0.4; }

/* ─── Footer ─────────────────────────────────────────────────────── */
.footer {
  background: #111827;
  padding: 48px 0 0;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand { display: flex; flex-direction: column; gap: 6px; }
.footer-logo  { font-size: 18px; font-weight: 700; color: var(--white); }
.footer-tagline { font-size: 13px; color: rgba(255, 255, 255, 0.38); }

.footer-links { display: flex; gap: 24px; align-items: center; }
.footer-links a { font-size: 14px; color: rgba(255, 255, 255, 0.48); transition: color 0.15s; }
.footer-links a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.28);
}

/* ════════════════════════════════════════════════════════════════
   Responsive
   ════════════════════════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 960px) {
  .hero-grid { gap: 32px; }
  .showcase-grid { gap: 40px; }
  .phones-wrap { height: 390px; }
  .phone { width: 185px; }
}

/* Mobile */
@media (max-width: 768px) {
  /* Nav */
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 24px;
    border-bottom: 1px solid var(--border);
    gap: 18px;
    z-index: 99;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 16px; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  /* Hero */
  .hero { padding: 48px 0 72px; }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-visual { order: -1; }
  .hero-float-card { left: 0; bottom: -12px; }
  .hero-sub { font-size: 16px; max-width: 100%; }

  /* Testimonials */
  .testimonials-grid { grid-template-columns: 1fr; }

  /* Features */
  .features-grid { grid-template-columns: 1fr; }
  .features-grid .feature-card { grid-column: span 1; }

  /* Showcase */
  .showcase-grid { grid-template-columns: 1fr; gap: 48px; }
  .phones-wrap { height: 330px; }
  .phone { width: 155px; }
  .showcase-callout { max-width: 168px; padding: 10px 14px; gap: 10px; }
  .showcase-callout--top { top: 4%; right: -8px; }
  .showcase-callout--bottom { bottom: 4%; left: -8px; }
  .showcase-content .section-title { text-align: center; }
  .showcase-content > p { text-align: center; }

  /* Pricing */
  .pricing-card { padding: 28px 22px; }
  .price-amount { font-size: 44px; }
  .pricing-features { grid-template-columns: 1fr; }

  /* Footer */
  .footer-top { flex-direction: column; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* Small mobile */
@media (max-width: 480px) {
  .trust-row { flex-direction: column; gap: 10px; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; text-align: center; }
  .cta-trust { flex-direction: column; gap: 6px; }
  .cta-sep { display: none; }
  .breakdown-row { flex-wrap: wrap; gap: 4px; }
  .footer-links { flex-wrap: wrap; gap: 16px; }
}

/* ════════════════════════════════════════════════════════════════
   Animaciones y mejoras visuales
   ════════════════════════════════════════════════════════════════ */

/* ─── 1. Scroll reveal ──────────────────────────────────────────── */
.reveal,
.reveal-item {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  transition-delay: var(--delay, 0s);
}

.reveal.revealed,
.reveal-item.revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-item { opacity: 1; transform: none; transition: none; }
}

/* ─── 2. Tarjeta flotante del hero — efecto hover continuo ──────── */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

.hero-float-card {
  animation: float 3.6s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .hero-float-card { animation: none; }
}

/* ─── 3. CTA button — pulso de atención ────────────────────────── */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(27, 42, 107, 0); }
  50%       { box-shadow: 0 0 0 8px rgba(27, 42, 107, 0.18); }
}

.hero-buttons .btn-primary {
  animation: pulse-glow 2.8s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .hero-buttons .btn-primary { animation: none; }
}

/* ─── 4. Patrón de puntos en el hero ───────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(27, 42, 107, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

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

/* ─── 5. Feature cards — hover más expresivo ───────────────────── */
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
  transition: transform 0.2s ease;
}

.feature-icon {
  transition: transform 0.2s ease;
}

/* ─── 6. Separador diagonal hero → stats bar ────────────────────── */
.hero {
  padding-bottom: 96px;
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
  margin-bottom: -48px;
  background:
    radial-gradient(ellipse at 88% 18%, rgba(200, 96, 58, 0.14) 0%, transparent 52%),
    radial-gradient(ellipse at 6% 78%, rgba(27, 42, 107, 0.10) 0%, transparent 50%),
    var(--cream);
}

/* ─── 7. SVG underline animado en titular ───────────────────────── */
.headline-accent {
  position: relative;
  display: inline;
  white-space: nowrap;
}

.accent-underline {
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 12px;
  overflow: visible;
  pointer-events: none;
}

.accent-underline path {
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  animation: draw-underline 0.9s cubic-bezier(0.4, 0, 0.2, 1) 0.5s forwards;
}

@keyframes draw-underline {
  to { stroke-dashoffset: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .accent-underline path { animation: none; stroke-dashoffset: 0; }
}

/* ─── 8. Stats bar ──────────────────────────────────────────────── */
.stats-bar {
  background: var(--white);
  padding: 72px 0 48px;
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px;
  border-right: 1px solid var(--border);
}

.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -1px;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item { border-bottom: 1px solid var(--border); padding: 20px 0; }
  .stat-item:nth-child(3),
  .stat-item:nth-child(4) { border-bottom: none; }
}

/* ─── 9. Marquee band ───────────────────────────────────────────── */
.marquee-band {
  background: var(--primary);
  padding: 14px 0;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: marquee 28s linear infinite;
  white-space: nowrap;
}

.marquee-band:hover .marquee-track { animation-play-state: paused; }

.marquee-track span {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.m-dot {
  color: var(--terracotta) !important;
  font-size: 9px !important;
  opacity: 0.9;
}

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

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ─── 10. Comillas decorativas en testimonios ───────────────────── */
.proof { border-top: none; }

.testimonial-card {
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: -12px;
  right: 14px;
  font-size: 110px;
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--terracotta);
  opacity: 0.10;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

/* ─── 11. Feature cards — borde de color por card ───────────────── */
.features-grid .feature-card:nth-child(1) { border-left: 3px solid var(--terracotta); }
.features-grid .feature-card:nth-child(2) { border-left: 3px solid var(--primary); }
.features-grid .feature-card:nth-child(3) { border-left: 3px solid #22C55E; }
.features-grid .feature-card:nth-child(4) { border-left: 3px solid #D99E4A; }

.features-grid .feature-card:nth-child(1) .feature-num { color: var(--terracotta); }
.features-grid .feature-card:nth-child(2) .feature-num { color: var(--primary); }
.features-grid .feature-card:nth-child(3) .feature-num { color: #22C55E; }
.features-grid .feature-card:nth-child(4) .feature-num { color: #D99E4A; }
