/* ==========================================================================
   KIWIWEB - Rediseño Conceptual "Kiwi Pop Flat" (Flat & Bold High-Contrast)
   ========================================================================== */

/* Importar tipografías */
@import url('https://fonts.googleapis.com/css2?family=Alex+Brush&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Fredoka:wght@600;700;800&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* Variables globales y tokens de diseño */
:root {
  /* Paleta de Colores de la Imagen de Referencia */
  --bg-flat-green: #7EDB69;      /* Verde Kiwi plano superior */
  --bg-flat-charcoal: #191919;   /* Carbón oscuro inferior */
  --bg-flat-white: #ffffff;
  --bg-flat-cream: #F5FAD1;      /* Centro del kiwi / acento */

  /* Colores del Sistema */
  --text-dark: #191919;
  --text-light: #ffffff;
  --text-muted-dark: #4b5563;
  --text-muted-light: #9ca3af;

  /* Bordes Neobrutalistas */
  --border-thick: 3px solid #191919;
  --border-thin: 1.5px solid #191919;
  
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --border-radius-full: 9999px;

  /* Sombras Planas Rígidas (Offset Shadows) */
  --shadow-flat: 6px 6px 0px #191919;
  --shadow-flat-large: 10px 10px 0px #191919;
  --shadow-flat-hover: 9px 9px 0px #191919;
  --shadow-flat-active: 0px 0px 0px #191919;

  /* Colores Pop del Mezclador (Estilo Pop Ilustrativo) */
  --pop-strawberry: #FF5E7E;
  --pop-mango: #FFB319;
  --pop-mint: #4EECD6;
  --pop-blueberry: #A27BFF;
  --pop-orange: #FF7E47;

  --transition-pop: all 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --transition-smooth: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Outfit', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-flat-white);
  overflow-x: hidden;
}

body {
  line-height: 1.6;
  font-size: 16px;
  background-color: var(--bg-flat-white);
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
}

/* Tipografías */
h1, h2, h3, h4 {
  font-family: 'Fredoka', sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
}

p {
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

/* Botones Neobrutalistas */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--border-radius-full);
  border: var(--border-thick);
  cursor: pointer;
  transition: var(--transition-pop);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--bg-flat-green);
  color: var(--bg-flat-charcoal);
  box-shadow: var(--shadow-flat);
}

.btn-primary:hover {
  background-color: #92ee7d;
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-flat-hover);
}

.btn-primary:active {
  transform: translate(0, 0);
  box-shadow: var(--shadow-flat-active);
}

.btn-secondary {
  background-color: var(--bg-flat-white);
  color: var(--bg-flat-charcoal);
  box-shadow: var(--shadow-flat);
}

.btn-secondary:hover {
  background-color: var(--bg-flat-cream);
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-flat-hover);
}

.btn-secondary:active {
  transform: translate(0, 0);
  box-shadow: var(--shadow-flat-active);
}

/* Contenedores Ilustrativos (Neobrutalistas) */
.glass-panel {
  background: var(--bg-flat-white);
  border: var(--border-thick);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-flat);
  transition: var(--transition-pop);
}

.glass-panel:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-flat-hover);
}

/* Navegación Flotante Neobrutalista */
.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1200px;
  height: 70px;
  background: var(--bg-flat-white);
  border: var(--border-thick);
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  z-index: 1000;
  box-shadow: var(--shadow-flat);
  transition: var(--transition-pop);
}

.navbar.scrolled {
  top: 10px;
  box-shadow: 4px 4px 0px var(--bg-flat-charcoal);
}

.navbar-brand {
  display: flex;
  align-items: center;
  height: 50px;
  width: 180px;
}

.navbar-brand object {
  filter: none;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-link {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--text-dark);
  position: relative;
  padding: 5px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--bg-flat-green);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--bg-flat-green);
  transition: var(--transition-smooth);
}

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

.nav-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.nav-btn span {
  width: 25px;
  height: 3px;
  background-color: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

/* ==========================================
   Hero Section Premium (Kiwi Pop Flat Style)
   ========================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 5% 80px;
  position: relative;
  overflow: hidden;
  background-color: var(--bg-flat-green);
  color: var(--text-dark);
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 28px;
  z-index: 10;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--bg-flat-white);
  border: var(--border-thick);
  padding: 8px 18px;
  border-radius: var(--border-radius-full);
  color: var(--text-dark);
  font-weight: 800;
  font-family: 'Fredoka', sans-serif;
  font-size: 13px;
  align-self: flex-start;
  box-shadow: 3px 3px 0px #191919;
}

.urgency-badge {
  background-color: var(--bg-flat-cream);
}

.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ff3366; /* Rosa pop */
  display: inline-block;
  position: relative;
  box-shadow: none;
  border: 1.5px solid #191919;
  animation: pulse-animation-flat 1.5s infinite;
}

@keyframes pulse-animation-flat {
  0% {
    transform: scale(0.8);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(0.8);
  }
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  line-height: 1.05;
  font-weight: 800;
  color: var(--text-dark);
}

.hero-title span {
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  color: var(--bg-flat-white);
  text-shadow: -3px -3px 0 #191919, 3px -3px 0 #191919, -3px 3px 0 #191919, 3px 3px 0 #191919, 6px 6px 0 #191919;
  display: inline-block;
}

.hero-desc {
  font-size: 18px;
  color: var(--text-dark);
  font-weight: 500;
  max-width: 580px;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 10px;
}

.badge-group {
  display: flex;
  gap: 24px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  font-family: 'Fredoka', sans-serif;
}

.badge-icon {
  width: 32px;
  height: 32px;
  background-color: var(--bg-flat-white);
  border: var(--border-thick);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  font-weight: 800;
  font-size: 13px;
  box-shadow: 2px 2px 0px #191919;
}

/* Widget de Lighthouse / Rendimiento en Hero */
.hero-visual {
  z-index: 5;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-dashboard-widget {
  width: 320px;
  padding: 24px;
  background: var(--bg-flat-white);
  border: var(--border-thick);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-flat-large);
  position: relative;
  transform: perspective(1000px) rotateY(-10deg) rotateX(10deg);
  transition: var(--transition-pop);
}

.hero-dashboard-widget:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.05);
  box-shadow: 12px 12px 0px #191919;
}

.widget-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: var(--border-thick);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.widget-dots {
  display: flex;
  gap: 6px;
}

.widget-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid #191919;
}

.widget-dots span:nth-child(1) { background: #ff5f56; }
.widget-dots span:nth-child(2) { background: #ffbd2e; }
.widget-dots span:nth-child(3) { background: #27c93f; }

.widget-title {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.widget-performance-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.performance-score {
  position: relative;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.performance-score svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.performance-score svg path:nth-child(1) {
  stroke: #191919;
  stroke-width: 4px;
}

.performance-score svg path:nth-child(2) {
  stroke: var(--bg-flat-green);
  stroke-width: 4px;
}

.performance-score span {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-dark);
  font-family: 'Fredoka', sans-serif;
  text-shadow: none;
}

.widget-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  border-top: var(--border-thick);
  padding-top: 16px;
}

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

.stat-val {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-dark);
  font-family: 'Fredoka', sans-serif;
  display: block;
}

.stat-val.green {
  color: #2e7d32;
}

.stat-lbl {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted-dark);
}

/* ==========================================
   Secciones Generales
   ========================================== */
section {
  padding: 100px 5%;
  position: relative;
}

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

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section-tag {
  color: var(--text-dark);
  font-weight: 800;
  font-family: 'Fredoka', sans-serif;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  background-color: var(--bg-flat-cream);
  border: var(--border-thin);
  padding: 4px 14px;
  border-radius: var(--border-radius-full);
  width: fit-content;
  margin: 0 auto;
  box-shadow: 2px 2px 0px #191919;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: inherit;
}

.section-desc {
  font-size: 17px;
  color: inherit;
  font-weight: 500;
  opacity: 0.85;
}

/* Alternancia de Fondos de Sección */
.how-it-works {
  background-color: var(--bg-flat-white);
  color: var(--text-dark);
  border-top: var(--border-thick);
}

#clinica {
  background-color: var(--bg-flat-charcoal);
  color: var(--text-light);
  border-top: var(--border-thick);
}

#configurador {
  background-color: var(--bg-flat-green);
  color: var(--text-dark);
  border-top: var(--border-thick);
  border-bottom: var(--border-thick);
}

#transparencia {
  background-color: var(--bg-flat-white);
  color: var(--text-dark);
}

#faq {
  background-color: var(--bg-flat-charcoal);
  color: var(--text-light);
  border-top: var(--border-thick);
}

/* ==========================================
   Safari Browser Mockup (Clínica UX)
   ========================================== */
.browser-mockup {
  border-radius: var(--border-radius-lg);
  border: var(--border-thick);
  background: var(--bg-flat-white);
  box-shadow: var(--shadow-flat-large);
  overflow: hidden;
  margin-top: 40px;
}

.browser-header {
  height: 44px;
  background: var(--bg-flat-cream);
  border-bottom: var(--border-thick);
  display: grid;
  grid-template-columns: 100px 1fr 100px;
  align-items: center;
  padding: 0 15px;
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid #191919;
}

.browser-dots span.dot-red { background: #ff5f56; }
.browser-dots span.dot-yellow { background: #ffbd2e; }
.browser-dots span.dot-green { background: #27c93f; }

.browser-address-bar {
  background: var(--bg-flat-white);
  border: var(--border-thick);
  border-radius: 6px;
  font-size: 11px;
  color: var(--text-dark);
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
  font-weight: 700;
}

.browser-address-lock {
  color: var(--text-dark);
  font-size: 10px;
  display: flex;
  align-items: center;
}

.comparison-slider-container {
  position: relative;
  width: 100%;
  height: 620px;
  overflow: hidden;
  user-select: none;
}

.slider-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* Lado Antes (Modern but Badly Designed) */
.panel-before {
  background-color: #f5f5f5;
  color: #333333;
  z-index: 1;
  overflow-y: auto !important;
  overflow-x: hidden;
  scrollbar-width: none;
}
.panel-before::-webkit-scrollbar {
  display: none;
}

.ugly-web {
  width: var(--slider-width, 1100px);
  height: auto;
  min-height: 100%;
  min-width: auto;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  background-color: #f0f4f8;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.bad-header {
  background-color: #0d233a;
  color: #ffffff;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px;
  border-bottom: 4px solid #ff6600; /* Naranja chillón */
}

.bad-logo {
  font-weight: 900;
  font-size: 18px;
  color: #7fa01e;
  font-family: Arial, sans-serif;
}

.bad-menu {
  display: flex;
  gap: 15px;
  max-width: 550px;
}

.bad-link {
  font-size: 11px;
  font-weight: bold;
  color: #00bfff !important; /* Azul eléctrico en fondo oscuro */
  text-decoration: underline !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}

.bad-link.active {
  color: #ff3300 !important;
}

.bad-header-phone {
  background: #ff6600;
  color: #ffffff;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: bold;
  border: 2px solid #000000;
}

.bad-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 20px;
  background: #eaeaea;
  align-items: center;
  border-bottom: 2px solid #ccc;
  height: 250px;
}

.bad-text {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.bad-text h2 {
  font-size: 20px;
  font-family: 'Arial Black', Impact, sans-serif;
  color: #0d233a;
  line-height: 1.1;
  margin: 0;
}

.bad-text p {
  font-size: 11px;
  color: #777777; /* Pobre contraste en fondo #eaeaea */
  line-height: 1.3;
  margin: 0;
}

.bad-btn {
  background: #ff0000;
  color: #ffffff;
  font-weight: 900;
  padding: 10px 15px;
  border: 3px solid #000000;
  cursor: pointer;
  font-size: 13px;
  width: fit-content;
}

.bad-btn:hover {
  background: #800080;
}

.bad-image-container {
  height: 190px;
  border: 3px dashed #ff0000;
  overflow: hidden;
}

.bad-stretched-img {
  width: 100%;
  height: 100%;
}

.bad-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  padding: 15px;
  height: calc(100% - 370px);
}

.bad-card {
  padding: 12px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  box-sizing: border-box;
}

.bad-card.border-solid {
  border: 3px solid #0d233a;
  background: #ffffff;
}

.bad-card.border-dashed {
  border: 3px dashed #ff6600;
  background: #ffffe0;
}

.bad-card.border-shadow {
  box-shadow: 6px 6px 0px #00bfff;
  background: #ffffff;
  border: 1px solid #777777;
}

.bad-card h3 {
  font-family: "Comic Sans MS", cursive, sans-serif; /* Error clásico */
  font-size: 14px;
  color: #0d233a;
  margin: 4px 0;
}

.bad-card p {
  font-size: 11px;
  color: #555555;
  line-height: 1.3;
  margin: 0;
}

.bad-card-icon {
  font-size: 24px;
}

.bad-card-btn {
  background: #e0e0e0;
  border: 1px solid #777777;
  color: #0000ff;
  font-size: 10px;
  padding: 2px 8px;
  cursor: pointer;
  width: fit-content;
}

.bad-cookie-banner {
  background: #ffffe0;
  border-top: 3px solid #ff6600;
  padding: 10px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  box-sizing: border-box;
}

.bad-cookie-banner span {
  font-size: 11px;
  color: #ff0000; /* Texto de alerta en color rojo inadecuado */
  font-weight: bold;
  text-align: left;
}

.bad-cookie-btn {
  background: #008000;
  color: #ffffff;
  font-weight: bold;
  border: 1px solid #000000;
  padding: 4px 12px;
  cursor: pointer;
}

/* Lado Después (KiwiWeb Modern Website - Real Design) */
.panel-after {
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%); /* Fondo gris-blanco neutro elegante */
  color: #1e293b;
  z-index: 2;
  width: 50%; /* Controlado por JS */
  overflow-y: auto !important;
  overflow-x: hidden;
  scrollbar-width: none;
}
.panel-after::-webkit-scrollbar {
  display: none;
}

.beautiful-web-wrapper {
  width: var(--slider-width, 1100px);
  height: auto;
  min-height: 100%;
  min-width: auto;
  position: absolute;
  top: 0;
  left: 0;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 35px; /* Más espaciado premium */
  box-sizing: border-box;
}

.beautiful-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  padding-bottom: 15px;
}

.beautiful-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0px;
  line-height: 1;
}

.beautiful-logo-title {
  font-family: 'Alex Brush', cursive;
  font-size: 38px;
  color: #1a1a18;
  line-height: 0.6;
  margin-bottom: 2px;
}

.beautiful-logo-subtitle {
  font-family: 'Outfit', sans-serif;
  font-size: 8px;
  font-weight: 500;
  color: #8e8d89;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.beautiful-cta-header-btn {
  background: transparent;
  border: 1px solid #1a1a18;
  color: #1a1a18;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.5px;
  padding: 8px 20px;
  cursor: pointer;
  border-radius: var(--border-radius-full);
  transition: var(--transition-smooth);
}

.beautiful-cta-header-btn:hover {
  background: #1a1a18;
  color: #ffffff;
}

.beautiful-hero {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 0 40px;
}

.beautiful-hero-carousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  z-index: 1;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 2;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Tarjeta flotante blanca translúcida */
.beautiful-hero-card {
  position: relative;
  z-index: 5;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  width: 360px;
  padding: 35px;
  border-radius: 0; /* Bordes rectos para look editorial */
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 15px;
  text-align: left;
}

.beautiful-hero-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: 34px;
  font-weight: 600;
  color: #1a1a18;
  line-height: 1.15;
}

.beautiful-hero-card p {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: #5c5b57;
  line-height: 1.6;
}

.beautiful-hero-card-btn {
  background: #1e293b;
  color: #ffffff;
  border: none;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.5px;
  padding: 12px 24px;
  border-radius: var(--border-radius-full);
  cursor: pointer;
  width: fit-content;
  transition: var(--transition-smooth);
}

.beautiful-hero-card-btn:hover {
  background: #334155;
  transform: translateY(-2px);
}

.carousel-dots {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 8px;
  z-index: 5;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.carousel-dot.active {
  background: #8c7a6b;
  transform: scale(1.2);
}

/* Stat Section (+65 Arquitectos) */
.beautiful-stat-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 35px 0 10px 0;
  text-align: center;
}

.stat-big-num {
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  font-weight: 500;
  color: #1a1a18;
  line-height: 1;
  margin-bottom: 5px;
}

.stat-big-lbl {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 400;
  color: #8e8d89;
  letter-spacing: 1px;
  text-transform: none;
}

/* Servicios Section (3 Columnas con fotos y textos centrados) */
.beautiful-services-section {
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  padding-top: 30px;
  text-align: center;
}

.beautiful-services-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 400;
  color: #1a1a18;
  margin-bottom: 25px;
}

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

.beautiful-service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.service-img-wrapper {
  width: 100%;
  height: 140px;
  overflow: hidden;
  border-radius: 0;
}

.service-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.beautiful-service-card:hover .service-img-wrapper img {
  transform: scale(1.05);
}

.beautiful-service-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 600;
  color: #1a1a18;
  margin-top: 5px;
}

.beautiful-service-card p {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 300;
  color: #6e6d69;
  line-height: 1.5;
  max-width: 250px;
}

/* "Cómo lo hacemos" Section (Proceso y Collage) */
.beautiful-process-section {
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  padding-top: 35px;
  text-align: center;
}

.beautiful-process-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 400;
  color: #1a1a18;
  margin-bottom: 30px;
}

.beautiful-process-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  grid-template-rows: auto auto;
  gap: 30px 20px;
  align-items: center;
}

.step-1 { grid-column: 1; grid-row: 1; }
.step-4 { grid-column: 1; grid-row: 2; }
.collage-column { grid-column: 2; grid-row: 1 / span 2; display: flex; justify-content: center; align-items: center; height: 280px; }
.step-2 { grid-column: 3; grid-row: 1; }
.step-3 { grid-column: 3; grid-row: 2; }

.process-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 10px;
}

.step-bg-number {
  font-family: 'Playfair Display', serif;
  font-size: 80px;
  font-weight: 400;
  color: rgba(140, 122, 107, 0.08);
  line-height: 1;
  position: absolute;
  top: -30px;
  z-index: 1;
}

.step-content {
  position: relative;
  z-index: 2;
}

.step-content h5 {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 600;
  color: #1a1a18;
  margin-bottom: 6px;
}

.step-content p {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  color: #6e6d69;
  line-height: 1.5;
}

/* Collage de Imágenes Solapadas */
.collage-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.collage-img {
  position: absolute;
  object-fit: cover;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border: 4px solid #ffffff;
  transition: transform 0.4s ease, z-index 0.2s;
}

.collage-img:hover {
  transform: scale(1.05) translateY(-5px);
  z-index: 10 !important;
}

.img-oval {
  width: 130px;
  height: 170px;
  border-radius: 100px; /* Ovalado */
  top: 10px;
  left: 0;
  z-index: 2;
}

.img-kitchen {
  width: 160px;
  height: 110px;
  top: 40px;
  right: 0px;
  z-index: 3;
}

.img-bath {
  width: 110px;
  height: 130px;
  bottom: 0px;
  left: 70px;
  z-index: 1;
}

/* Control deslizante (Range Input) */
.slider-bar-input {
  display: none;
}

.slider-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: var(--bg-flat-charcoal);
  z-index: 5;
  pointer-events: none;
  box-shadow: none;
}

.slider-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: var(--bg-flat-white) url('kiwi.svg') no-repeat center;
  background-size: 80%;
  border: var(--border-thick);
  border-radius: 50%;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 4px 4px 0px var(--bg-flat-charcoal);
  pointer-events: auto;
  cursor: ew-resize;
  filter: none;
}

.slider-button::before, .slider-button::after {
  display: none !important;
}

.slider-label {
  position: absolute;
  bottom: 20px;
  padding: 6px 14px;
  border-radius: var(--border-radius-sm);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  z-index: 4;
  border: var(--border-thick);
  box-shadow: 3px 3px 0px #191919;
  font-family: 'Fredoka', sans-serif;
}

.label-before {
  left: 20px;
  background: var(--bg-flat-cream);
  color: var(--text-dark);
}

.label-after {
  right: 20px;
  background: var(--bg-flat-green);
  color: var(--text-dark);
}

/* ==========================================
   Futuristic Web Lab (Smoothie Builder)
   ========================================== */
.smoothie-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
  background: var(--bg-flat-white);
  padding: 50px;
  border-radius: var(--border-radius-lg);
  border: var(--border-thick);
  box-shadow: var(--shadow-flat-large);
}

.smoothie-controls {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.smoothie-controls h3 {
  color: var(--text-dark);
  font-size: 22px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 800;
}

.ingredients-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.ingredient-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px;
  background-color: var(--bg-flat-white);
  border: var(--border-thick);
  border-radius: var(--border-radius-md);
  cursor: pointer;
  box-shadow: 3px 3px 0px #191919;
  transition: var(--transition-pop);
}

.ingredient-card:hover {
  transform: translate(-3px, -3px);
  background-color: var(--bg-flat-cream);
  box-shadow: 5px 5px 0px #191919;
}

.ingredient-card.selected {
  background-color: var(--bg-flat-cream);
}

.ingredient-card[data-type="strawberry"].selected { border-color: var(--pop-strawberry); box-shadow: 4px 4px 0px var(--pop-strawberry); }
.ingredient-card[data-type="mango"].selected { border-color: var(--pop-mango); box-shadow: 4px 4px 0px var(--pop-mango); }
.ingredient-card[data-type="mint"].selected { border-color: var(--pop-mint); box-shadow: 4px 4px 0px var(--pop-mint); }
.ingredient-card[data-type="blueberry"].selected { border-color: var(--pop-blueberry); box-shadow: 4px 4px 0px var(--pop-blueberry); }
.ingredient-card[data-type="orange"].selected { border-color: var(--pop-orange); box-shadow: 4px 4px 0px var(--pop-orange); }

.ingredient-checkbox {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: var(--border-thick);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background-color: var(--bg-flat-white);
  transition: var(--transition-smooth);
}

.ingredient-card.selected .ingredient-checkbox {
  border-color: #191919;
  color: var(--text-dark);
}

.ingredient-card[data-type="strawberry"].selected .ingredient-checkbox { background-color: var(--pop-strawberry); }
.ingredient-card[data-type="mango"].selected .ingredient-checkbox { background-color: var(--pop-mango); }
.ingredient-card[data-type="mint"].selected .ingredient-checkbox { background-color: var(--pop-mint); }
.ingredient-card[data-type="blueberry"].selected .ingredient-checkbox { background-color: var(--pop-blueberry); }
.ingredient-card[data-type="orange"].selected .ingredient-checkbox { background-color: var(--pop-orange); }

.ingredient-checkbox::after {
  content: '✓';
  font-size: 13px;
  font-weight: 800;
  opacity: 0;
}

.ingredient-card.selected .ingredient-checkbox::after {
  opacity: 1;
}

.ingredient-emoji {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.ingredient-text {
  flex-grow: 1;
  text-align: left;
}

.ingredient-text h4 {
  font-size: 16px;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.ingredient-text p {
  font-size: 13px;
  color: var(--text-muted-dark);
}

/* Blender Previsualización */
.smoothie-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.blender-container {
  position: relative;
  width: 240px;
  height: 340px;
}

.blender-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.blender-jar {
  fill: none;
  stroke: var(--bg-flat-charcoal);
  stroke-width: 5px;
  stroke-linecap: round;
}

.blender-handle {
  stroke: var(--bg-flat-charcoal);
  stroke-width: 5px;
  stroke-linecap: round;
}

.blender-lid {
  fill: var(--bg-flat-charcoal);
  stroke: var(--bg-flat-charcoal);
  stroke-width: 5px;
  stroke-linejoin: round;
}

.blender-base {
  fill: var(--bg-flat-cream);
  stroke: var(--bg-flat-charcoal);
  stroke-width: 5px;
}

/* Líquidos del Mezclador */
.smoothie-layer {
  transform-origin: bottom center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  opacity: 0;
  transform: scaleY(0);
}

.smoothie-layer.active {
  opacity: 0.95;
  transform: scaleY(1);
}

.layer-strawberry { fill: var(--pop-strawberry); }
.layer-mango { fill: var(--pop-mango); }
.layer-mint { fill: var(--pop-mint); }
.layer-blueberry { fill: var(--pop-blueberry); }
.layer-orange { fill: var(--pop-orange); }

.blender-shaking {
  animation: shake 0.15s infinite;
}

.blender-bubbles {
  position: absolute;
  bottom: 80px;
  left: 50px;
  width: 140px;
  height: 150px;
  pointer-events: none;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.3s;
}

.blender-shaking .blender-bubbles {
  opacity: 1;
}

.bubble {
  position: absolute;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  bottom: 0;
  animation: rise 1s infinite ease-in;
}

.smoothie-status {
  text-align: center;
  width: 100%;
}

.smoothie-status h3 {
  color: #ffffff;
  font-size: 18px;
}

.smoothie-bar-wrapper {
  width: 100%;
  height: 10px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-full);
  margin: 15px auto;
  overflow: hidden;
}

.smoothie-bar-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--neon-kiwi) 0%, #bbf246 100%);
  box-shadow: 0 0 10px var(--neon-kiwi-glow);
  border-radius: var(--border-radius-full);
  transition: var(--transition-smooth);
}

/* ==========================================
   ¿Por qué gratis? (Transparencia)
   ========================================== */
.why-free-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 30px;
}

.free-card {
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: left;
  background: var(--bg-flat-white);
  border: var(--border-thick);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-flat);
  transition: var(--transition-pop);
}

.free-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-flat-hover);
}

.free-card-icon {
  width: 54px;
  height: 54px;
  background-color: var(--bg-flat-cream);
  color: var(--text-dark);
  border: var(--border-thick);
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 2px 2px 0px #191919;
}

.free-card h3 {
  font-size: 20px;
  color: var(--text-dark);
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
}

.free-card p {
  color: var(--text-muted-dark);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}

/* ==========================================
   Preguntas Frecuentes (FAQ Accordion)
   ========================================== */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-flat-white);
  border: var(--border-thick);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: 3px 3px 0px #191919;
  transition: var(--transition-pop);
}

.faq-item:hover, .faq-item.active {
  background: var(--bg-flat-cream);
  border-color: #191919;
  box-shadow: 5px 5px 0px #191919;
}

.faq-header {
  padding: 24px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-header h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  font-family: 'Fredoka', sans-serif;
}

.faq-icon-wrapper {
  width: 24px;
  height: 24px;
  color: var(--text-dark);
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-item.active .faq-icon-wrapper {
  transform: rotate(45deg);
  color: var(--text-dark);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active .faq-content {
  max-height: 200px;
}

.faq-text {
  padding: 0 30px 24px;
  color: var(--text-muted-dark);
  font-size: 15px;
  font-weight: 500;
  text-align: left;
}

/* ==========================================
   Modal Onboarding / Formulario
   ========================================== */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(25, 25, 25, 0.8);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: var(--bg-flat-white);
  border: var(--border-thick);
  border-radius: var(--border-radius-lg);
  width: 90%;
  max-width: 550px;
  padding: 40px;
  box-shadow: var(--shadow-flat-large);
  position: relative;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-dark);
  transition: var(--transition-smooth);
}

.modal-close:hover {
  color: var(--bg-flat-green);
  transform: rotate(90deg);
}

.form-header {
  text-align: center;
  margin-bottom: 25px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-header h2 {
  font-size: 24px;
  color: var(--text-dark);
  font-family: 'Fredoka', sans-serif;
  font-weight: 800;
}

.form-header p {
  font-size: 14px;
  color: var(--text-muted-dark);
  font-weight: 500;
}

.submit-btn {
  width: 100%;
  margin-top: 10px;
}

/* ==========================================
   Footer (Kiwi Pop Flat Theme)
   ========================================== */
footer {
  background: var(--bg-flat-charcoal);
  color: var(--text-light);
  padding: 80px 5% 40px;
  border-top: var(--border-thick);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
}

.footer-logo {
  height: 50px;
  align-self: flex-start;
}

.footer-logo svg {
  height: 100%;
}

.footer-info p {
  color: var(--text-muted-light);
  max-width: 450px;
  font-size: 15px;
  font-weight: 500;
}

.footer-links {
  display: flex;
  justify-content: space-around;
  gap: 30px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 15px;
  text-align: left;
}

.footer-column h4 {
  font-family: 'Fredoka', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: var(--bg-flat-green);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

.footer-column a {
  color: var(--text-muted-light);
  font-weight: 500;
}

.footer-column a:hover {
  color: var(--bg-flat-green);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 30px;
  border-top: var(--border-thin);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted-light);
}

/* Animación Clásica */
@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(3deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes shake {
  0% { transform: translate(0, 0) rotate(0deg); }
  10% { transform: translate(-2px, 1px) rotate(-1deg); }
  20% { transform: translate(1px, -1px) rotate(1deg); }
  30% { transform: translate(-1px, 2px) rotate(0deg); }
  40% { transform: translate(2px, 1px) rotate(1deg); }
  50% { transform: translate(-1px, -1px) rotate(-1deg); }
  60% { transform: translate(1px, 2px) rotate(0deg); }
  75% { transform: translate(-2px, 1px) rotate(1deg); }
  90% { transform: translate(2px, -1px) rotate(-1deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes rise {
  0% { transform: translateY(0) scale(0.5); opacity: 0; }
  50% { opacity: 0.8; }
  100% { transform: translateY(-130px) scale(1.2); opacity: 0; }
}

@keyframes scaleIn {
  0% { transform: scale(0); }
  100% { transform: scale(1); }
}

/* ==========================================================================
   Responsive (Media Queries)
   ========================================================================== */

@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .hero-tag {
    align-self: center;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .badge-group {
    justify-content: center;
  }
  
  .why-free-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .smoothie-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 30px;
  }
  
  .blender-container {
    order: -1;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 85vh; /* Portada reducida un 15% en móvil */
    padding-top: 130px; /* Más espacio desde la barra de navegación */
    padding-bottom: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .hero-content {
    gap: 18px; /* Hace el espaciado interno del texto más compacto */
  }

  .hero-visual {
    display: none; /* Oculta el kiwi grande interactivo en móvil */
  }
  
  .floating-element {
    display: none; /* Oculta los kiwis flotantes del fondo */
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
    align-items: center;
    width: 100%;
    margin-top: 0; /* Elimina margen adicional */
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 280px; /* Botones más cómodos para pulsar con el pulgar */
  }

  .badge-group {
    display: none; /* Ocultar badges en móvil para un diseño más limpio y directo */
  }

}

/* Mover cabecera móvil a 1024px para evitar amontonamiento de enlaces en resoluciones intermedias */
@media (max-width: 1024px) {
  .navbar {
    padding: 0 20px;
  }
  
  .navbar .btn {
    display: none; /* Oculta botón de cabecera en móvil para dar espacio al logo */
  }
  
  .nav-links {
    position: absolute;
    top: 85px;
    left: 50%;
    transform: translateX(-50%) scale(0.95);
    width: 100%;
    background: rgba(8, 12, 9, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius-md);
    flex-direction: column;
    padding: 30px;
    gap: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    border: 1px solid var(--glass-border);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-bounce);
  }
  
  .nav-links.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) scale(1);
  }
  
  .nav-btn {
    display: flex;
  }
  
  .nav-links li {
    text-align: center;
  }
}

/* Ajustes de optimización para pantallas de portátiles y tamaños de escritorio intermedios */
@media (min-width: 1025px) and (max-width: 1200px) {
  .navbar {
    width: 95%; /* Mayor espacio de ancho disponible */
    padding: 0 20px;
  }
  
  .navbar-brand {
    width: 150px; /* Logo ligeramente más pequeño */
  }
  
  .nav-links {
    gap: 16px; /* Gaps más reducidos entre enlaces */
  }
  
  .nav-link {
    font-size: 13px; /* Tamaño de fuente compacto */
  }
}

@media (max-width: 1024px) {
  
  /* Cabecera del navegador adaptada a pantallas móviles */
  .browser-header {
    grid-template-columns: 1fr; /* Centrar la barra en móvil */
    padding: 0 10px;
    height: 36px;
    align-items: center;
    display: flex;
  }
  .browser-dots {
    display: none; /* Ocultar botones Safari en móvil por espacio */
  }
  .browser-address-bar {
    max-width: 100%;
    height: 22px;
    font-size: 10px;
    margin: 0 auto;
  }

  /* Contenedor del comparador en móvil */
  .comparison-slider-container {
    height: 600px; /* Suficiente espacio para el apilamiento móvil de carrusel y servicios */
  }
  
  /* --- MÓVIL: Versión Fea (Bad/Amateur) --- */
  .bad-header {
    flex-direction: column;
    height: auto;
    padding: 8px;
    gap: 6px;
  }
  .bad-menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
  }
  .bad-link {
    font-size: 10px;
  }
  .bad-header-phone {
    font-size: 10px;
    padding: 4px 8px;
  }
  .bad-hero {
    grid-template-columns: 1fr;
    height: auto;
    padding: 10px;
    gap: 10px;
  }
  .bad-text h2 {
    font-size: 15px;
  }
  .bad-text p {
    font-size: 10px;
    line-height: 1.25;
  }
  .bad-btn {
    font-size: 11px;
    padding: 6px 12px;
  }
  .bad-image-container {
    height: 80px;
  }
  .bad-services {
    grid-template-columns: 1fr;
    height: auto;
    gap: 8px;
    padding: 8px;
  }
  .bad-card {
    height: 60px;
    flex-direction: row;
    align-items: center;
    padding: 6px;
  }
  .bad-card-icon {
    font-size: 18px;
  }
  .bad-card h3 {
    font-size: 11px;
    margin: 0 8px;
  }
  .bad-card p {
    display: none; /* Oculta textos largos para evitar colapsos visuales excesivos */
  }
  .bad-cookie-banner {
    padding: 6px 10px;
  }
  .bad-cookie-banner span {
    font-size: 9px;
  }
  .bad-cookie-btn {
    padding: 2px 8px;
    font-size: 10px;
  }

  /* --- MÓVIL: Versión Hermosa (Reformas Pepe) --- */
  .beautiful-web-wrapper {
    padding: 15px;
    gap: 24px;
  }
  .beautiful-header {
    justify-content: center;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    padding-bottom: 12px;
  }
  .beautiful-logo {
    align-items: center;
    text-align: center;
  }
  .beautiful-logo-title {
    font-size: 34px;
    margin-bottom: 2px;
  }
  .beautiful-logo-subtitle {
    font-size: 8px;
    letter-spacing: 3px;
  }
  .beautiful-cta-header-btn {
    display: none !important;
  }
  .beautiful-hero {
    height: 520px;
    padding: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .beautiful-hero-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85%;
    max-width: 320px;
    padding: 35px 25px;
    background: rgba(245, 243, 240, 0.9);
    border-radius: 0;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 0;
  }
  .beautiful-hero-card h2 {
    font-size: 30px;
    font-family: 'Playfair Display', serif;
    color: #1a1a18;
    line-height: 1.15;
  }
  .beautiful-hero-card p {
    font-size: 13px;
    line-height: 1.6;
    color: #5c5b57;
  }
  .beautiful-hero-card-btn {
    font-size: 12px;
    padding: 12px 24px;
    width: 100%;
    text-align: center;
    align-self: center;
  }
  .carousel-dots {
    bottom: 15px;
    right: 15px;
  }
  .carousel-dot {
    width: 6px;
    height: 6px;
  }
  .beautiful-stat-section {
    padding: 40px 0 20px 0;
  }
  .stat-big-num {
    font-size: 42px;
  }
  .stat-big-lbl {
    font-size: 12px;
  }
  .beautiful-services-section {
    padding-top: 20px;
  }
  .beautiful-services-section h2 {
    font-size: 16px;
    margin-bottom: 15px;
  }
  .beautiful-services-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .beautiful-service-card {
    gap: 8px;
  }
  .service-img-wrapper {
    height: 130px;
  }
  .beautiful-service-card h4 {
    font-size: 13px;
  }
  .beautiful-service-card p {
    font-size: 10px;
    line-height: 1.4;
    max-width: 100%;
  }
  .beautiful-process-section {
    padding-top: 20px;
  }
  .beautiful-process-section h2 {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .beautiful-process-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 25px;
  }
  .step-1, .step-2, .step-3, .step-4 {
    grid-column: auto;
    grid-row: auto;
  }
  .collage-column {
    display: none !important; /* El collage no se muestra en móvil */
  }
  .step-bg-number {
    font-size: 60px;
    top: -20px;
  }
  .step-content h5 {
    font-size: 14px;
  }
  .step-content p {
    font-size: 10px;
    line-height: 1.4;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

/* --- Ajustes adicionales para móviles pequeños --- */
@media (max-width: 480px) {

  .hero-title {
    font-size: 2rem;
  }
  .hero-desc {
    font-size: 15px;
  }
  .smoothie-grid {
    padding: 15px;
  }
  .ingredient-card {
    padding: 10px;
    gap: 10px;
  }
  .ingredient-emoji {
    font-size: 20px;
  }
  .ingredient-text h4 {
    font-size: 13px;
  }
  .ingredient-text p {
    font-size: 10px;
  }
  .faq-header {
    padding: 14px 18px;
  }
  .faq-header h3 {
    font-size: 14px;
  }
  .faq-text {
    padding: 0 18px 14px;
    font-size: 12px;
  }
  .modal-content {
    padding: 20px 15px;
    width: 95%;
  }
  .form-header h2 {
    font-size: 18px;
  }
}

/* ==========================================
   Sección: Cómo Funciona (Conversión)
   ========================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 50px;
}

.step-card {
  padding: 50px 30px 40px 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
  position: relative;
  overflow: visible;
  background: var(--bg-flat-white);
  border: var(--border-thick);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-flat);
  transition: var(--transition-pop);
}

.step-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-flat-hover);
}

.step-number {
  position: absolute;
  top: -16px;
  left: 24px;
  background: var(--bg-flat-green);
  color: var(--text-dark);
  border: var(--border-thick);
  border-radius: var(--border-radius-sm);
  padding: 4px 12px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  font-family: 'Fredoka', sans-serif;
  box-shadow: 3px 3px 0px var(--text-dark);
  z-index: 10;
  transition: var(--transition-pop);
}

.step-card:hover .step-number {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0px var(--text-dark);
}

.step-card h3 {
  font-size: 19px;
  color: var(--text-dark);
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
}

.step-card p {
  color: var(--text-muted-dark);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
}

@media (max-width: 992px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ==========================================
   Modal Onboarding Rediseño Conversión
   ========================================== */
.modal-content {
  width: 95% !important;
  max-width: 600px !important;
  padding: 40px !important;
}

.modal-onboarding-layout {
  display: block;
  margin-top: 25px;
}

.modal-form-side {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Campos de Formulario Neobrutalistas */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
  text-align: left;
}

.form-group label {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--text-dark);
}

.form-group input, .form-group textarea, .form-group select {
  padding: 12px 16px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  background-color: var(--bg-flat-white);
  border: var(--border-thick);
  border-radius: var(--border-radius-sm);
  outline: none;
  transition: var(--transition-smooth);
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  background-color: var(--bg-flat-cream);
  box-shadow: 3px 3px 0px #191919;
}

.modal-info-side {
  background: var(--bg-flat-cream);
  border: var(--border-thick);
  border-radius: var(--border-radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-self: flex-start;
  text-align: left;
  box-shadow: 4px 4px 0px #191919;
}

.modal-info-side h4 {
  font-size: 16px;
  color: var(--text-dark);
  font-family: 'Fredoka', sans-serif;
  font-weight: 800;
  border-bottom: var(--border-thick);
  padding-bottom: 12px;
}

.modal-guarantees-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.modal-guarantees-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.guarantee-check {
  width: 22px;
  height: 22px;
  background: var(--bg-flat-green);
  color: var(--text-dark);
  border: var(--border-thin);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 2px;
  box-shadow: 1.5px 1.5px 0px #191919;
}

.modal-guarantees-list strong {
  font-size: 13px;
  color: var(--text-dark);
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  display: block;
  margin-bottom: 2px;
}

.modal-guarantees-list p {
  font-size: 11px;
  color: var(--text-muted-dark);
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
}

.success-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 30px 10px;
}

.success-icon {
  width: 70px;
  height: 70px;
  background-color: var(--bg-flat-green);
  color: var(--text-dark);
  border: var(--border-thick);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 4px 4px 0px #191919;
}

.success-state h2 {
  font-family: 'Fredoka', sans-serif;
  font-size: 26px;
  color: var(--text-dark);
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

.success-state p {
  font-size: 15px;
  color: var(--text-muted-dark);
  font-weight: 500;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .modal-onboarding-layout {
    display: block;
  }
  .modal-content {
    padding: 30px 20px !important;
  }
  .hero-actions {
    display: none;
  }
}

