/* ============================================
   EL IMPACTO DE TU LOCALIDAD - CSS ADVANZADO
   Sistema de diseño que simula React + Tailwind
   ============================================ */

/* --- Variables del Sistema de Diseño --- */
:root {
  /* Colores base */
  --bg-primary: #0a0a0f;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(232, 115, 74, 0.3);

  /* Colores de marca */
  --color-terracotta: #e8734a;
  --color-terracotta-hover: #c4572e;
  --color-indigo: #6366f1;
  --color-indigo-hover: #4f46e5;
  --color-green: #22c55e;

  /* Texto */
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-muted: rgba(255, 255, 255, 0.45);
  --text-dim: rgba(255, 255, 255, 0.3);

  /* Fuentes */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Espaciado */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  --space-2xl: 8rem;

  /* Radios */
  --radius-sm: 0.75rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
  --radius-full: 9999px;

  /* Transiciones */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-transform: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

/* --- Utilidades Layout --- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 1024px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.section {
  position: relative;
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
  overflow: hidden;
}

@media (min-width: 768px) {
  .section {
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-2xl);
  }
}

/* --- Flex & Grid --- */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }

.grid {
  display: grid;
}

.grid-cols-1 { grid-template-columns: 1fr; }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (min-width: 768px) {
  .md-grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md-grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
  .md-flex-row { flex-direction: row; }
}

@media (min-width: 1024px) {
  .lg-grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .lg-grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
}

/* --- Utilidades Espaciado --- */
.text-center { text-align: center; }
.text-left { text-align: left; }

.mx-auto { margin-left: auto; margin-right: auto; }

.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }
.mt-20 { margin-top: 5rem; }
.mt-24 { margin-top: 6rem; }

.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mb-20 { margin-bottom: 5rem; }

.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }

.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }
.space-y-16 > * + * { margin-top: 4rem; }

/* --- Utilidades Texto --- */
.max-w-lg { max-width: 32rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }

/* --- Utilidades Display --- */
.inline-flex {
  display: inline-flex;
}

.hidden {
  display: none;
}

@media (min-width: 1024px) {
  .lg-flex { display: flex; }
  .lg-hidden { display: none; }
}

/* --- Fuentes --- */
.font-display {
  font-family: var(--font-display);
}

.font-body {
  font-family: var(--font-body);
}

/* Tamaños tipográficos */
.text-xs { font-size: 0.75rem; letter-spacing: 0.05em; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 2rem; }
.text-4xl { font-size: 2.5rem; }
.text-5xl { font-size: 3.5rem; }
.text-6xl { font-size: 4.5rem; }
.text-7xl { font-size: 5.5rem; }
.text-8xl { font-size: 7rem; }

@media (min-width: 768px) {
  .md-text-5xl { font-size: 3.5rem; }
  .md-text-6xl { font-size: 4.5rem; }
  .md-text-7xl { font-size: 5.5rem; }
  .md-text-xl { font-size: 1.25rem; }
  .md-text-2xl { font-size: 1.5rem; }
  .md-text-3xl { font-size: 2rem; }
}

@media (min-width: 1024px) {
  .lg-text-6xl { font-size: 4.5rem; }
  .lg-text-7xl { font-size: 5.5rem; }
  .lg-text-8xl { font-size: 7rem; }
}

.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

.leading-tight { line-height: 0.95; }
.leading-snug { line-height: 1.25; }
.leading-relaxed { line-height: 1.75; }

/* --- Colores Texto --- */
.text-white { color: var(--text-primary); }
.text-white-70 { color: var(--text-secondary); }
.text-white-60 { color: var(--text-secondary); }
.text-white-50 { color: var(--text-muted); }
.text-white-40 { color: var(--text-dim); }

.text-terracotta { color: var(--color-terracotta); }
.text-indigo { color: var(--color-indigo); }
.text-green { color: var(--color-green); }

/* --- Badges & Labels --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid var(--border-subtle);
}

.badge-terracotta {
  border-color: rgba(232, 115, 74, 0.3);
  background: rgba(232, 115, 74, 0.08);
  color: var(--color-terracotta);
}

.badge-indigo {
  border-color: rgba(99, 102, 241, 0.3);
  background: rgba(99, 102, 241, 0.08);
  color: var(--color-indigo);
}

.badge-green {
  border-color: rgba(34, 197, 94, 0.3);
  background: rgba(34, 197, 94, 0.08);
  color: var(--color-green);
}

/* --- Botones --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn-terracotta {
  background: linear-gradient(135deg, var(--color-terracotta), var(--color-terracotta-hover));
  color: white;
  box-shadow: 0 0 20px rgba(232, 115, 74, 0.25);
}

.btn-terracotta:hover {
  box-shadow: 0 0 40px rgba(232, 115, 74, 0.5);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.8);
  background: transparent;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-indigo {
  background: linear-gradient(135deg, var(--color-indigo), var(--color-indigo-hover));
  color: white;
}

.btn-indigo:hover {
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.4);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1.125rem 2.5rem;
  font-size: 1.125rem;
}

.btn-block {
  width: 100%;
}

/* --- Cards --- */
.card {
  background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all var(--transition-base);
}

.card:hover {
  border-color: rgba(232, 115, 74, 0.25);
}

.card-indigo:hover {
  border-color: rgba(99, 102, 241, 0.25);
}

.card-green:hover {
  border-color: rgba(34, 197, 94, 0.25);
}

.card-padding-lg {
  padding: 2rem;
}

@media (min-width: 768px) {
  .card-padding-lg {
    padding: 3rem;
  }
}

/* --- Glass Card --- */
.glass-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
}

/* --- Image Container --- */
.img-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.img-container:hover img {
  transform: scale(1.05);
}

.img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,15,0.6), transparent, rgba(10,10,15,0.2));
}

.img-overlay-bottom {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,15,0.7), transparent);
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.5s ease;
  background: transparent;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(20px);
  border-bottom-color: rgba(255, 255, 255, 0.05);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 1.25rem;
  cursor: pointer;
}

.brand-impacto {
  color: var(--color-terracotta);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-tld {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 300;
  letter-spacing: -0.02em;
}

.navbar-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .navbar-nav {
    display: flex;
  }
}

.nav-link {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color var(--transition-fast);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.nav-link:hover {
  color: var(--color-terracotta);
}

/* Mobile menu toggle */
.mobile-toggle, .mobile-menu, .mobile-menu-wrapper { display: none !important; }

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  transition: transform 0.1s linear;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom, rgba(10,10,15,0.7), rgba(10,10,15,0.5), rgba(10,10,15,1)),
    linear-gradient(to right, rgba(10,10,15,0.6), transparent, rgba(10,10,15,0.6));
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}

.hero-particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(232, 115, 74, 0.2);
  animation: floatParticle var(--duration, 4s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

@keyframes floatParticle {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(-15px); opacity: 1; }
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding-top: 5rem;
  max-width: 64rem;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.95;
  color: white;
  text-shadow: 0 4px 30px rgba(0,0,0,0.5);
  margin-bottom: 2rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 300;
  max-width: 48rem;
  margin: 0 auto 1.5rem;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.5rem;
  }
}

.hero-desc {
  color: rgba(255, 255, 255, 0.55);
  max-width: 36rem;
  margin: 0 auto 3rem;
  font-size: 1rem;
  line-height: 1.7;
}

@media (min-width: 768px) {
  .hero-desc {
    font-size: 1.125rem;
  }
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 4rem;
}

@media (min-width: 640px) {
  .hero-cta {
    flex-direction: row;
    justify-content: center;
  }
}

/* Stats bar */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 48rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .stats-bar {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-terracotta);
  line-height: 1;
}

@media (min-width: 768px) {
  .stat-value {
    font-size: 2.5rem;
  }
}

.stat-label {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.5rem;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: bounce 2s infinite;
}

.scroll-indicator span {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* --- Quote Block --- */
.quote-block {
  position: relative;
  max-width: 56rem;
  margin: 4rem auto 0;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 768px) {
  .quote-block {
    padding: 3rem;
  }
}

.quote-icon {
  position: absolute;
  top: -1.5rem;
  left: 2rem;
  color: rgba(232, 115, 74, 0.15);
}

.quote-icon svg {
  width: 4rem;
  height: 4rem;
}

.quote-text {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .section-header {
    margin-bottom: 5rem;
  }
}

/* --- Timeline --- */
.timeline {
  position: relative;
  max-width: 60rem;
  margin: 0 auto;
}

.timeline-line {
  position: absolute;
  left: 1.5rem;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--color-indigo), rgba(99,102,241,0.4), transparent);
}

@media (min-width: 768px) {
  .timeline-line {
    left: 50%;
    transform: translateX(-50%);
  }
}

.timeline-item {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .timeline-item {
    padding-left: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
  }

  .timeline-item:nth-child(even) .timeline-card {
    grid-column: 1;
    grid-row: 1;
  }

  .timeline-item:nth-child(even) .timeline-dot-area {
    grid-column: 2;
    grid-row: 1;
    padding-left: 2rem;
  }

  .timeline-item:nth-child(odd) .timeline-card {
    grid-column: 2;
    padding-left: 2rem;
  }

  .timeline-item:nth-child(odd) .timeline-dot-area {
    grid-column: 1;
    grid-row: 1;
    justify-content: flex-end;
    padding-right: 2rem;
  }
}

.timeline-dot {
  position: absolute;
  left: 1rem;
  top: 1.5rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-indigo);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
  z-index: 2;
}

@media (min-width: 768px) {
  .timeline-dot {
    position: static;
    flex-shrink: 0;
  }
}

.timeline-dot-area {
  display: none;
}

@media (min-width: 768px) {
  .timeline-dot-area {
    display: flex;
    align-items: flex-start;
    padding-top: 1.5rem;
  }
}

.timeline-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
}

.timeline-card.active {
  border-color: rgba(99, 102, 241, 0.3);
  background: rgba(99, 102, 241, 0.08);
}

/* --- Price Cards --- */
.price-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  transition: all var(--transition-base);
}

@media (min-width: 768px) {
  .price-card {
    padding: 2.5rem;
  }
}

.price-card-featured {
  border-color: rgba(232, 115, 74, 0.3);
}

.price-card-featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 2rem;
  right: 2rem;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-terracotta), transparent);
}

.price-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.price-badge-terracotta {
  background: rgba(232, 115, 74, 0.12);
  color: var(--color-terracotta);
}

.price-badge-indigo {
  background: rgba(99, 102, 241, 0.12);
  color: var(--color-indigo);
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin: 1rem 0 0.25rem;
}

.price-number {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
}

.price-suffix {
  color: rgba(255, 255, 255, 0.45);
  font-size: 1rem;
}

.price-note {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
}

.price-features {
  list-style: none;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.price-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.875rem;
}

.feature-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.feature-check.terracotta { background: rgba(232, 115, 74, 0.15); }
.feature-check.indigo { background: rgba(99, 102, 241, 0.15); }

.feature-check svg {
  width: 12px;
  height: 12px;
}

/* --- Contact Info Cards --- */
.info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--transition-base);
}

.info-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-icon-terracotta { background: rgba(232, 115, 74, 0.1); }
.info-icon-indigo { background: rgba(99, 102, 241, 0.1); }
.info-icon-green { background: rgba(34, 197, 94, 0.1); }

.info-icon svg {
  width: 20px;
  height: 20px;
}

/* --- Feature List Items --- */
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all var(--transition-base);
}

.feature-item:hover {
  border-color: rgba(232, 115, 74, 0.2);
}

.feature-item-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-item-icon svg {
  width: 18px;
  height: 18px;
}

/* --- Footer --- */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.75rem;
}

/* --- Floating Badge --- */
.floating-badge {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  background: var(--color-terracotta);
  color: white;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.875rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  z-index: 10;
}

@media (min-width: 768px) {
  .floating-badge {
    bottom: 1.5rem;
    right: 1.5rem;
  }
}

/* --- Scarcity Alert --- */
.scarcity-alert {
  padding: 2rem;
}

/* --- Metric Badge --- */
.metric-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: white;
  z-index: 5;
}

/* --- Animaciones de Entrada (Scroll) --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger delays */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }
.delay-600 { transition-delay: 0.6s; }
.delay-700 { transition-delay: 0.7s; }

/* --- Hero Animations --- */
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(232, 115, 74, 0.3); }
  50% { box-shadow: 0 0 40px rgba(232, 115, 74, 0.6); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-animate {
  animation: fadeInUp 0.8s ease-out forwards;
}

.hero-animate-d1 { animation-delay: 0.1s; opacity: 0; }
.hero-animate-d2 { animation-delay: 0.2s; opacity: 0; }
.hero-animate-d3 { animation-delay: 0.3s; opacity: 0; }
.hero-animate-d4 { animation-delay: 0.4s; opacity: 0; }
.hero-animate-d5 { animation-delay: 0.5s; opacity: 0; }
.hero-animate-d6 { animation-delay: 0.6s; opacity: 0; }

/* --- Scrollbar --- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--color-terracotta);
  border-radius: 4px;
}

/* --- Gradient Backgrounds --- */
.bg-gradient-dark {
  background: linear-gradient(to bottom, var(--bg-primary), #0f0a12, var(--bg-primary));
}

.bg-gradient-indigo {
  background: linear-gradient(to bottom, var(--bg-primary), #0f0f1a, var(--bg-primary));
}

/* --- Selection --- */
::selection {
  background: rgba(232, 115, 74, 0.3);
  color: white;
}

/* --- Responsive Adjustments --- */
@media (max-width: 767px) {
  /* Texto hero más pequeño */
  .text-3xl { font-size: 1.6rem; }
  .text-4xl { font-size: 2rem; }
  .text-5xl { font-size: 2.3rem; }
  .text-6xl { font-size: 2.6rem; }
  .text-7xl { font-size: 3rem; }
  .text-8xl { font-size: 3.5rem; }
  
  /* Hero padding */
  .hero-content {
    padding-top: 6rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  /* Stats bar en móvil */
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .stat-value {
    font-size: 1.75rem;
  }
  
  /* Grids en una columna */
  .grid-cols-2,
  .grid-cols-4,
  .md-grid-cols-2,
  .md-grid-cols-4,
  .lg-grid-cols-2,
  .lg-grid-cols-4 {
    grid-template-columns: 1fr;
  }
  
  /* Cards de precio apiladas */
  .price-card {
    padding: 1.5rem;
  }
  
  .price-number {
    font-size: 3rem;
  }
  
  /* Timeline en móvil */
  .timeline-line {
    left: 1rem;
  }
  
  .timeline-item {
    padding-left: 2.5rem;
    display: block;
  }
  
  .timeline-dot {
    left: 0.5rem;
  }
  
  .timeline-dot-area {
    display: none;
  }
  
  .timeline-card {
    padding: 1rem;
  }
  
  /* Quote block */
  .quote-block {
    padding: 1.5rem;
  }
  
  .quote-text {
    font-size: 1.15rem;
  }
  
  /* Feature items */
  .feature-item {
    padding: 0.75rem;
  }
  
  /* Section padding */
  .section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  
  .section-header {
    margin-bottom: 2rem;
  }
  
  /* Floating badge */
  .floating-badge {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 1rem;
    display: inline-block;
  }

  /* Imágenes responsive en móvil */
  .img-container {
    border-radius: var(--radius-md);
  }

  .img-container img {
    height: auto !important;
    min-height: 180px;
  }
  
  /* Info cards */
  .info-card {
    padding: 1rem;
  }
  
  /* Footer */
  .footer .flex-col {
    text-align: center;
  }
  
  /* Container padding */
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  /* Scroll indicator */
  .scroll-indicator {
    bottom: 1.5rem;
  }

  /* Botones: permitir salto de línea en móvil */
  .btn {
    white-space: normal;
  }

  /* Footer copyright centrado y con wrap */
  .footer-copy {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  /* Card de escasez: menos padding */
  .scarcity-alert {
    padding: 1.25rem;
  }

  .scarcity-alert .scarcity-icon {
    width: 36px;
    height: 36px;
  }

  /* Tags de negocios más compactos */
  .scarcity-tags {
    gap: 0.5rem;
  }

  .scarcity-tags > div {
    padding: 0.35rem 0.5rem !important;
  }

  .scarcity-tags > div span {
    font-size: 0.7rem;
  }

  .scarcity-tags svg {
    width: 12px;
    height: 12px;
  }

  /* Reducir márgenes excesivos en móvil */
  .mb-20 {
    margin-bottom: 2.5rem;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-cta {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-cta .btn {
    width: 100%;
  }
  
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .price-features {
    gap: 0.5rem;
  }
  
  .price-feature {
    font-size: 0.8rem;
  }
  
  .badge {
    font-size: 0.65rem;
    padding: 0.4rem 0.8rem;
  }
}

/* Navbar móvil fixes */
@media (max-width: 1023px) {
  .navbar-nav {
    display: none !important;
  }
  
  .mobile-toggle {
    display: none !important;
  }
}

/* Stagger for grid children */
.stagger-children > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-children > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-children > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-children > *:nth-child(5) { transition-delay: 0.5s; }
.stagger-children > *:nth-child(6) { transition-delay: 0.6s; }

/* --- Icon inline --- */
.icon {
  display: inline-block;
  vertical-align: middle;
}

/* --- Horizontal rule --- */
.divider {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.15), transparent);
  margin: 2rem 0;
}
