/* ============================================
   MURASTORE - Premium Styles with GSAP-ready
   ============================================ */

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

:root {
  --primary: #E0B872;
  --primary-light: #EBC98A;
  --primary-dark: #B8924A;
  --primary-glow: rgba(224, 184, 114, 0.35);
  --dark: #050505;
  --dark-2: #0F0F0F;
  --dark-3: #161412;
  --light: #FFFFFF;
  --gray-100: #E8E4DC;
  --gray-200: #C8C0B0;
  --gray-300: #9A9082;
  --gray-400: #6B6058;
  --success: #00b090;
  --accent: #A68B67;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-behavior: auto; /* GSAP handles smooth scroll */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-main);
  background: var(--dark);
  color: var(--light);
  overflow-x: hidden;
  line-height: 1.6;
}

body.loading {
  overflow: hidden;
}

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

ul {
  list-style: none;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   Cursor Follower
   ============================================ */
.cursor-follower {
  position: fixed;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--primary-light);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-out-expo),
              height 0.3s var(--ease-out-expo),
              border-color 0.3s ease,
              background 0.3s ease;
  mix-blend-mode: difference;
  display: none;
}

@media (pointer: fine) {
  .cursor-follower {
    display: block;
  }
}

.cursor-follower.hovering {
  width: 50px;
  height: 50px;
  background: rgba(224, 184, 114, 0.15);
  border-color: var(--primary);
}

/* ============================================
   Preloader
   ============================================ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader-inner {
  text-align: center;
}

.preloader-logo {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-light);
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

.preloader-bar {
  width: 200px;
  height: 3px;
  background: var(--dark-3);
  border-radius: 3px;
  overflow: hidden;
}

.preloader-bar-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 3px;
  transition: width 0.1s ease;
}

/* ============================================
   Navigation
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: all 0.4s var(--ease-out-expo);
}

.nav.scrolled {
  background: rgba(5, 5, 5, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  border-bottom: 1px solid rgba(224, 184, 114, 0.1);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--light);
  letter-spacing: -0.03em;
  transition: color 0.3s ease;
}

.nav-logo:hover {
  color: var(--primary-light);
}

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

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-300);
  transition: color 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s var(--ease-out-expo);
}

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

.nav-link:hover::after {
  width: 100%;
}

.nav-link--cta {
  background: var(--primary);
  color: white !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s var(--ease-out-expo);
}

.nav-link--cta::after {
  display: none;
}

.nav-link--cta:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--primary-glow);
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-burger span {
  width: 24px;
  height: 2px;
  background: var(--light);
  border-radius: 2px;
  transition: all 0.3s var(--ease-out-expo);
}

.nav-burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-burger.active span:nth-child(2) {
  opacity: 0;
}
.nav-burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  background: rgba(10, 10, 15, 0.97);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out-expo);
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu-link {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--light);
  transition: color 0.3s ease;
}

.mobile-menu-link:hover {
  color: var(--primary-light);
}

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

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

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

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(224, 184, 114, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(166, 139, 103, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(224, 184, 114, 0.06) 0%, transparent 50%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(224, 184, 114, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(224, 184, 114, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 50%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 50%, black 0%, transparent 70%);
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--primary-light);
  border-radius: 50%;
  opacity: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 50px;
  background: rgba(224, 184, 114, 0.1);
  border: 1px solid rgba(224, 184, 114, 0.2);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary-light);
  margin-bottom: 2rem;
  opacity: 0;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-title-line {
  display: block;
  overflow: hidden;
}

.hero-title-line--accent {
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  color: var(--gray-300);
  max-width: 850px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  opacity: 0;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 4rem;
  opacity: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--primary);
  color: white;
}

.btn--primary:hover {
  background: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px var(--primary-glow);
}

.btn--ghost {
  background: transparent;
  color: var(--gray-300);
  border: 1px solid rgba(255,255,255,0.1);
}

.btn--ghost:hover {
  color: var(--light);
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--light);
  border: 1.5px solid rgba(224, 184, 114, 0.4);
}

.btn--outline:hover {
  border-color: var(--primary);
  background: rgba(224, 184, 114, 0.08);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(224, 184, 114, 0.15);
}

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

.btn--lg {
  padding: 18px 40px;
  font-size: 1.05rem;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  opacity: 0;
}

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

.hero-stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--light);
}

.hero-stat-plus,
.hero-stat-unit {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-light);
}

.hero-stat-label {
  display: block;
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-top: 4px;
}

.hero-stat-divider {
  width: 1px;
  height: 50px;
  background: rgba(255,255,255,0.08);
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  color: var(--gray-400);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  position: relative;
}

.hero-scroll-wheel {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: var(--primary-light);
  border-radius: 3px;
  animation: scroll-wheel 2s ease-in-out infinite;
}

@keyframes scroll-wheel {
  0% { transform: translateX(-50%) translateY(0); opacity: 1; }
  100% { transform: translateX(-50%) translateY(12px); opacity: 0; }
}

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

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 50px;
  background: rgba(224, 184, 114, 0.1);
  border: 1px solid rgba(224, 184, 114, 0.15);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-300);
  max-width: 550px;
  margin: 0 auto;
}

/* ============================================
   Features Section
   ============================================ */
.features {
  padding: 120px 0;
  position: relative;
}

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

.feature-card {
  position: relative;
  padding: 40px 32px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  transition: all 0.5s var(--ease-out-expo);
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(224, 184, 114, 0.06), transparent 40%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card:hover {
  border-color: rgba(224, 184, 114, 0.2);
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.feature-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(224, 184, 114, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  margin-bottom: 1.5rem;
  transition: all 0.4s var(--ease-out-expo);
}

.feature-card:hover .feature-card-icon {
  background: var(--primary);
  color: white;
  transform: scale(1.1) rotate(-5deg);
}

.feature-card-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.feature-card-desc {
  font-size: 0.95rem;
  color: var(--gray-300);
  line-height: 1.7;
}

.feature-card-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transition: width 0.5s var(--ease-out-expo);
}

.feature-card:hover .feature-card-line {
  width: 100%;
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ============================================
   Marquee Section
   ============================================ */
.marquee-section {
  padding: 40px 0;
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  overflow: hidden;
}

.marquee {
  position: relative;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 40px;
  white-space: nowrap;
  will-change: transform;
}

.marquee-item {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(255,255,255,0.08);
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.marquee-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(224, 184, 114, 0.2);
  flex-shrink: 0;
}

/* ============================================
   Pricing Section
   ============================================ */
.pricing {
  padding: 120px 0;
  position: relative;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  align-items: stretch; /* Esto iguala la altura de todas las cajas */
}

.pricing-card {
  background: var(--dark-2); /* Ajustado para que se vea si la variable fallaba */
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 3rem 2rem;
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: rgba(224, 184, 114, 0.15);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.pricing-card--featured {
  background: linear-gradient(180deg, rgba(224, 184, 114, 0.08) 0%, rgba(224, 184, 114, 0.02) 100%);
  border-color: rgba(224, 184, 114, 0.25);
  transform: scale(1.03);
}

.pricing-card--featured:hover {
  transform: scale(1.03) translateY(-8px);
  border-color: rgba(224, 184, 114, 0.4);
  box-shadow: 0 30px 80px rgba(224, 184, 114, 0.2);
}

.pricing-card-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 20px;
  background: var(--primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 50px;
  white-space: nowrap;
}

.pricing-card-header {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.pricing-card-name {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--primary-light);
  display: block;
  margin-bottom: 1rem;
}

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

.pricing-card-currency {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gray-300);
}

.pricing-card-amount {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.pricing-card-period {
  font-size: 1rem;
  color: var(--gray-400);
  font-weight: 500;
}

.pricing-card-desc {
  font-size: 0.9rem;
  color: var(--gray-300);
  line-height: 1.6;
}

.pricing-card-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 2rem;
}

.pricing-card-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--gray-200);
}

.pricing-card-features li svg {
  color: var(--success);
  flex-shrink: 0;
}

.pricing-card .btn {
  margin-top: auto !important;
}

.pricing-card-features {
  flex-grow: 1; /* Esto ayuda a empujar el botón hacia abajo */
}

/* FORMATO MÓVIL: Uno debajo del otro y nivelados */
@media (max-width: 900px) {
  .pricing-grid {
    display: flex !important;
    flex-direction: column !important; /* Fuerza la lista vertical */
    gap: 2rem !important;
    padding: 0 !important;
    overflow-x: hidden !important; /* Quita el deslizamiento lateral */
  }

  .pricing-card {
    width: 100% !important;
    min-width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 550px; /* Ajusta este número si quieres que sean más altas */
  }

  .pricing-card .btn {
    margin-top: auto !important; /* Mantiene el botón al fondo de cada tarjeta */
  }
  
  .pricing-card--featured {
    transform: none !important; /* Evita que la tarjeta destacada se vea rara en móvil */
    margin: 10px 0;
  }
}

/* ============================================
   CTA Section
   ============================================ */
.cta {
  padding: 120px 0;
  position: relative;
}

.cta-inner {
  position: relative;
  text-align: center;
  padding: 80px 40px;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(224, 184, 114, 0.08) 0%, rgba(166, 139, 103, 0.05) 100%);
  border: 1px solid rgba(224, 184, 114, 0.15);
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(224, 184, 114, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  position: relative;
}

.cta-title-line {
  display: block;
}

.cta-title-line--accent {
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-subtitle {
  font-size: 1.1rem;
  color: var(--gray-300);
  margin-bottom: 2.5rem;
  position: relative;
}

.cta-actions {
  position: relative;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.footer-inner {
  text-align: center;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--light);
  letter-spacing: -0.03em;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--gray-400);
  margin-top: 8px;
  margin-bottom: 2rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 2rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--gray-300);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-light);
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--gray-400);
}

/* ============================================
   WhatsApp Float
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 90;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  transition: all 0.4s var(--ease-out-expo);
  opacity: 0;
  transform: scale(0) translateY(20px);
}

.whatsapp-float.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.3);
  animation: whatsapp-ring 2s ease-out infinite;
}

@keyframes whatsapp-ring {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* ============================================
   Cookie Banner & Modal
   ============================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 95;
  background: rgba(5, 5, 5, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(224, 184, 114, 0.15);
  padding: 20px 24px;
  transform: translateY(100%);
  transition: transform 0.5s var(--ease-out-expo);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-banner-text p {
  font-size: 0.85rem;
  color: var(--gray-300);
  line-height: 1.6;
  margin-bottom: 4px;
}

.cookie-banner-link {
  font-size: 0.8rem;
  color: var(--primary-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-banner-link:hover {
  color: var(--light);
}

.cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.btn--sm {
  padding: 10px 20px;
  font-size: 0.8rem;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cookie-modal.visible {
  opacity: 1;
  pointer-events: all;
}

.cookie-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  cursor: pointer;
}

.cookie-modal-content {
  position: relative;
  background: var(--dark);
  border: 1px solid rgba(224, 184, 114, 0.12);
  border-radius: 20px;
  padding: 32px;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.4s var(--ease-out-expo);
}

.cookie-modal.visible .cookie-modal-content {
  transform: translateY(0) scale(1);
}

.cookie-modal-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.cookie-modal-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.cookie-modal-option strong {
  font-size: 0.95rem;
  display: block;
  margin-bottom: 4px;
}

.cookie-modal-option p {
  font-size: 0.8rem;
  color: var(--gray-400);
  line-height: 1.5;
}

.cookie-modal-actions {
  margin-top: 1.5rem;
  text-align: right;
}

/* Cookie Toggle Switch */
.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: var(--dark-3);
  border-radius: 26px;
  transition: all 0.3s ease;
}

.cookie-toggle-slider::before {
  content: '';
  position: absolute;
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background: var(--gray-300);
  border-radius: 50%;
  transition: all 0.3s var(--ease-out-expo);
}

.cookie-toggle input:checked + .cookie-toggle-slider {
  background: var(--primary);
}

.cookie-toggle input:checked + .cookie-toggle-slider::before {
  transform: translateX(22px);
  background: white;
}

.cookie-toggle--disabled .cookie-toggle-slider {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Footer Legal Links */
.footer-legal {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 1.5rem;
}

.footer-legal a {
  font-size: 0.8rem;
  color: var(--gray-400);
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--primary-light);
}

@media (max-width: 768px) {
  .cookie-banner-inner {
    flex-direction: column;
    text-align: center;
  }
  .cookie-banner-actions {
    flex-wrap: wrap;
    justify-content: center;
  }
  .footer-legal {
    flex-direction: column;
    gap: 12px;
  }
}

/* ============================================
   GSAP animation utility classes
   ============================================ */
.gsap-reveal {
  opacity: 0;
  transform: translateY(40px);
}

.split-text .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
}

/* Smooth scroll padding */
section[id] {
  scroll-margin-top: 80px;
}

/* Selection */
::selection {
  background: rgba(224, 184, 114, 0.3);
  color: white;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--dark);
}

::-webkit-scrollbar-thumb {
  background: var(--dark-3);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 480px) {
  /* Hero title — font sized so both spans fit on 1 line each on ~390px screens.
     word-break:break-word is intentionally REMOVED: it caused arbitrary char-splits
     when combined with the JS word-wrapper spans. The JS already handles word safety. */
  .hero-title {
    font-size: clamp(1.3rem, 5.8vw, 2rem);
    letter-spacing: -0.03em;
    line-height: 1.15;
  }
  .hero-title-line {
    white-space: normal;
    overflow: visible; /* let wrapped words breathe vertically */
  }
  /* Subtitle — keep readable but compact enough for ~3 lines */
  .hero-subtitle {
    font-size: 0.88rem;
    line-height: 1.6;
    max-width: 100%;
  }
  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }
  .hero-stat-divider {
    width: 40px;
    height: 1px;
  }
  .hero-actions {
    flex-direction: column;
  }
  .btn {
    width: 100%;
    justify-content: center;
  }
  .cta-inner {
    padding: 60px 24px;
  }
}

/* ============================================
   Single Plan Layout
   ============================================ */
.pricing-solo-wrap {
  max-width: 760px;
  margin: 0 auto;
}

.pricing-card--solo {
  padding: 52px 48px;
  text-align: center;
}

.pricing-solo-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--primary-light);
  margin-bottom: 2rem;
}

.pricing-solo-prices {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.pricing-price-chip {
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 16px;
  padding: 20px 28px;
  min-width: 180px;
}

.pricing-price-chip--accent {
  background: rgba(224, 184, 114, 0.15);
  border-color: rgba(224, 184, 114, 0.45);
}

.pricing-price-chip-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.pricing-price-chip-amount {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--light);
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}

.pricing-price-chip-amount span:first-child {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--gray-300);
}

.pricing-price-chip-period {
  font-size: 1rem !important;
  color: var(--gray-400) !important;
  font-weight: 500 !important;
}

.pricing-price-chip-note {
  display: block;
  font-size: 0.75rem;
  color: var(--gray-400);
  margin-top: 6px;
}

.pricing-price-chip-sep {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  color: var(--gray-400);
}

.pricing-solo-desc {
  font-size: 0.95rem;
  color: var(--gray-300);
  line-height: 1.7;
  max-width: 100%;
  margin: 0 auto 2rem;
}

.pricing-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 32px;
  text-align: left;
  margin-bottom: 2.5rem !important;
}

@media (max-width: 600px) {
  .pricing-card--solo {
    padding: 32px 20px;
    min-height: auto !important;
  }
  /* Keep chips side-by-side (row) on mobile — matches the desktop style the user wants */
  .pricing-solo-prices {
    flex-direction: row;
    gap: 14px;
    flex-wrap: nowrap;
  }
  /* Chips shrink to fill available width equally */
  .pricing-price-chip {
    flex: 1;
    min-width: 0;
    padding: 16px 12px;
  }
  /* Chip label: "MANTENIMIENTO" debe caber dentro del chip */
  .pricing-price-chip-label {
    font-size: 0.58rem;
    letter-spacing: 0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
  }
  /* Scale down the large price numbers to fit small screens */
  .pricing-price-chip-amount {
    font-size: 2.2rem;
  }
  .pricing-price-chip-sep {
    font-size: 1.4rem;
    align-self: center;
  }
  .pricing-features-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Proceso Section
   ============================================ */
.proceso {
  padding: 120px 0;
  position: relative;
}

.proceso-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

/* Connecting line between cards */
.proceso-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 13%;
  right: 13%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(224, 184, 114, 0.25) 20%,
    rgba(224, 184, 114, 0.25) 80%,
    transparent);
  z-index: 0;
  pointer-events: none;
}

.proceso-card {
  position: relative;
  z-index: 1;
  padding: 32px 24px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 20px;
  text-align: center;
  transition: all 0.5s var(--ease-out-expo);
}

.proceso-card:hover {
  border-color: rgba(224, 184, 114, 0.2);
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.proceso-step {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: rgba(224, 184, 114, 0.18);
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.proceso-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(224, 184, 114, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  margin: 0 auto 1.25rem;
  transition: all 0.4s var(--ease-out-expo);
}

.proceso-card:hover .proceso-icon {
  background: var(--primary);
  color: white;
  transform: scale(1.1) rotate(-5deg);
}

.proceso-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--light);
}

.proceso-desc {
  font-size: 0.88rem;
  color: var(--gray-300);
  line-height: 1.65;
}

@media (max-width: 900px) {
  .proceso-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .proceso-grid::before {
    display: none;
  }
}

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

/* ============================================
   Pricing card setup note
   ============================================ */
.pricing-card-setup {
  font-size: 0.78rem;
  color: var(--primary-light);
  margin-top: 0.3rem;
  margin-bottom: 0.5rem;
  opacity: 0.8;
}

/* ============================================
   Pricing Add-on: Página Web Opcional
   ============================================ */
.pricing-addon {
  margin-bottom: 2rem;
}

/* — divider — */
.pricing-addon-sep {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
}
.pricing-addon-sep::before,
.pricing-addon-sep::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.1);
}
.pricing-addon-sep span {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gray-400);
  white-space: nowrap;
}

/* — hidden native checkbox — display:none is the only reliable cross-browser hide — */
.pricing-addon-input {
  display: none;
}

/* — selectable card — */
.pricing-addon-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
  cursor: pointer;
  transition: all 0.35s var(--ease-out-expo);
  text-align: left;
  width: 100%;
}
.pricing-addon-item:hover {
  border-color: rgba(224, 184, 114, 0.35);
  background: rgba(224, 184, 114, 0.05);
}
.pricing-addon-item.addon-selected {
  border-color: rgba(224, 184, 114, 0.55);
  background: rgba(224, 184, 114, 0.1);
  box-shadow: 0 0 0 1px rgba(224, 184, 114, 0.2),
              0 8px 32px rgba(224, 184, 114, 0.12);
}

/* — custom checkbox box — */
.pricing-addon-box {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 1.5px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.04);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  color: transparent;
}
.pricing-addon-item.addon-selected .pricing-addon-box {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

/* — body: icon + text — */
.pricing-addon-body {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}
.pricing-addon-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(224, 184, 114, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary-light);
  transition: all 0.3s var(--ease-out-expo);
}
.pricing-addon-item.addon-selected .pricing-addon-icon-wrap {
  background: rgba(224, 184, 114, 0.2);
  color: var(--primary-light);
}
.pricing-addon-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.pricing-addon-title {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--light);
}
.pricing-addon-subtitle {
  font-size: 0.76rem;
  color: var(--gray-400);
  line-height: 1.45;
}

/* — price tag — */
.pricing-addon-price {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-light);
  flex-shrink: 0;
  white-space: nowrap;
  text-align: right;
}
.pricing-addon-item.addon-selected .pricing-addon-price {
  color: var(--light);
}
.pricing-addon-price small {
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--gray-400);
  display: block;
  letter-spacing: 0.05em;
}

/* — mobile/tablet add-on — */
@media (max-width: 768px) {
  .pricing-addon-item {
    padding: 14px 14px;
    gap: 8px;
    flex-wrap: nowrap;
    align-items: center;
  }
  /* Ocultar icono en móvil para ganar espacio al título */
  .pricing-addon-icon-wrap {
    display: none;
  }
  .pricing-addon-box {
    width: 20px;
    height: 20px;
    border-radius: 5px;
    flex-shrink: 0;
  }
  .pricing-addon-body {
    gap: 0;
    min-width: 0;
    flex: 1;
  }
  /* Título: forzado a 1 línea con overflow ellipsis por si acaso */
  .pricing-addon-title {
    font-size: 0.82rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  /* Subtítulo: ~2 líneas en móvil gracias al tamaño ajustado */
  .pricing-addon-subtitle {
    font-size: 0.7rem;
    line-height: 1.45;
    white-space: normal;
    display: block;
  }
  /* Precio más prominente */
  .pricing-addon-price {
    font-size: 1.4rem;
    font-weight: 900;
    flex-shrink: 0;
    margin-left: 6px;
  }
  .pricing-addon-price small {
    font-size: 0.62rem;
    letter-spacing: 0.04em;
  }
}

/* ============================================
   LANGUAGE SELECTOR
   ============================================ */
/* Nav right group — holds lang selector + burger together */
.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-select {
  position: relative;
  display: flex;
  align-items: center;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  color: var(--gray-200);
  font-family: var(--font-main);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 6px 10px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
}

.lang-btn:hover {
  background: rgba(224, 184, 114, 0.1);
  border-color: rgba(224, 184, 114, 0.35);
  color: var(--primary);
}

.lang-btn svg:first-child {
  opacity: 0.7;
}

.lang-chevron {
  transition: transform 0.25s var(--ease-out-expo);
  opacity: 0.7;
}

.lang-select.open .lang-chevron {
  transform: rotate(180deg);
}

.lang-select.open .lang-btn {
  background: rgba(224, 184, 114, 0.1);
  border-color: rgba(224, 184, 114, 0.4);
  color: var(--primary);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  background: #111008;
  border: 1px solid rgba(224, 184, 114, 0.2);
  border-radius: 12px;
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.97);
  transform-origin: top right;
  transition: opacity 0.22s var(--ease-out-expo),
              transform 0.22s var(--ease-out-expo),
              visibility 0.22s;
  z-index: 1000;
  box-shadow: 0 16px 48px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04);
}

.lang-select.open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.lang-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 9px 12px;
  background: none;
  border: none;
  border-radius: 8px;
  color: var(--gray-200);
  font-family: var(--font-main);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s, color 0.15s;
  gap: 8px;
}

.lang-option:hover {
  background: rgba(224, 184, 114, 0.1);
  color: var(--primary);
}

.lang-option.lang-option--active {
  color: var(--primary);
  background: rgba(224, 184, 114, 0.08);
}

.lang-option span {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  opacity: 0.6;
  color: inherit;
}

/* Mobile: shrink label, keep visible */
@media (max-width: 768px) {
  .lang-btn {
    padding: 5px 8px;
    font-size: 0.72rem;
    gap: 4px;
  }
  .lang-btn svg:first-child {
    display: none;
  }
}

@media (max-width: 480px) {
  .lang-dropdown {
    right: -8px;
    min-width: 150px;
  }
}
