/* ==========================================================================
   DESIGN SYSTEM & VARIABLES - Lic. Ximena Rodríguez (Psicología)
   ========================================================================== */

:root {
  /* Color Palette - Dusty Rose, Plum & Warm Charcoal Editorial (Alineada al Logo) */
  --color-primary: #4A333A;        /* Ciruela Profundo / Mauve Borgoña Sobrio */
  --color-primary-hover: #38242A;  /* Ciruela Oscuro */
  --color-primary-light: #7A5963;  /* Malva Ceniza */
  --color-primary-subtle: #F5E8EA; /* Rubor tenue para fondos de iconos y acentos */
  
  --color-accent: #A65364;         /* Rosewood / Terracota Rosado Cálido */
  --color-accent-hover: #914556;  /* Rosewood Intenso */
  --color-accent-light: #FAECEE;  /* Rosa Empolvado Tenue */
  
  --color-bg-main: #FAF6F5;        /* Crema Perla Cálido / Lino con rubor suave */
  --color-bg-card: #FFFFFF;        /* Blanco Puro para tarjetas limpias */
  --color-bg-alt: #F4E7E8;         /* Rosa Empolvado Oficial del Logo */
  
  --color-text-main: #272224;      /* Carbón Tinta / Grafito Cálido del Logo */
  --color-text-muted: #615558;     /* Gris Cálido / Malva Neutro */
  --color-text-light: #74676B;     /* Gris Pluma Suave */
  
  --color-border: #E8D5D8;         /* Rosa Empolvado para bordes */
  --color-border-subtle: #F2E4E6;  /* Borde Extra Sutil */
  
  /* Status Colors */
  --color-success: #388E3C;
  --color-warning: #F57C00;
  --color-danger: #D32F2F;

  /* Typography */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(39, 34, 36, 0.04);
  --shadow-md: 0 8px 24px rgba(39, 34, 36, 0.08);
  --shadow-lg: 0 16px 40px rgba(39, 34, 36, 0.12);
  --shadow-glow: 0 8px 25px rgba(184, 93, 110, 0.25);
  
  /* Borders & Transitions */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: all 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reading Scroll Progress Bar */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3.5px;
  width: 0%;
  background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-primary) 50%, var(--color-accent) 100%);
  z-index: 10001;
  transition: width 0.08s linear;
  box-shadow: 0 0 10px rgba(184, 93, 110, 0.4);
}

/* ==========================================================================
   BASE & RESET
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg-main);
  color: var(--color-text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--color-primary-hover);
  line-height: 1.25;
}

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

a:hover {
  color: var(--color-accent);
}

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: normal;
  text-align: center;
  max-width: 100%;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

@media (hover: hover) and (pointer: fine) {
.btn-primary:hover {
  background-color: var(--color-primary-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
}

.btn-accent {
  background-color: var(--color-accent);
  color: #ffffff;
  box-shadow: var(--shadow-glow);
}

@media (hover: hover) and (pointer: fine) {
.btn-accent:hover {
  background-color: var(--color-accent-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(184, 93, 110, 0.4);
}
}

.btn-outline {
  background-color: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

@media (hover: hover) and (pointer: fine) {
.btn-outline:hover {
  background-color: var(--color-primary-subtle);
  color: var(--color-primary-hover);
  transform: translateY(-2px);
}
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background-color: var(--color-primary-subtle);
  color: var(--color-primary);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.badge-accent {
  background-color: var(--color-accent-light);
  color: var(--color-accent);
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(250, 247, 242, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(229, 223, 200, 0.5);
  transition: var(--transition);
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background-color: var(--color-primary-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 1.4rem;
}

.brand-logo {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-logo-img {
  max-height: 40px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

@media (hover: hover) and (pointer: fine) {
.brand:hover .brand-logo-img {
  transform: scale(1.08);
}
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-primary-hover);
  line-height: 1.1;
}

.brand-subtitle {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-main);
  position: relative;
  padding: 0.25rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: var(--transition);
  border-radius: 2px;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--color-primary);
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
  padding-top: 130px;
  padding-bottom: 70px;
  position: relative;
  background: radial-gradient(circle at 80% 20%, rgba(184, 93, 110, 0.07) 0%, transparent 60%);
  overflow: hidden;
}

/* Ambient Floating Glow Elements */
.hero-ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.hero-glow-1 {
  width: 380px;
  height: 380px;
  background: rgba(184, 93, 110, 0.16);
  top: 10%;
  left: -80px;
  animation: ambientFloat 9s ease-in-out infinite alternate;
}

.hero-glow-2 {
  width: 440px;
  height: 440px;
  background: rgba(74, 51, 58, 0.12);
  bottom: 5%;
  right: -60px;
  animation: ambientFloat 12s ease-in-out infinite alternate-reverse;
}

@keyframes ambientFloat {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -25px) scale(1.08); }
  100% { transform: translate(-25px, 20px) scale(0.96); }
}

@keyframes floatOrganic {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-7px) rotate(0.6deg); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.hero-title {
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  color: var(--color-primary-hover);
  line-height: 1.15;
}

.hero-title span {
  font-style: italic;
  color: var(--color-accent);
  position: relative;
  display: inline-block;
  vertical-align: baseline;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
  will-change: opacity, transform, filter;
}

.hero-title span::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(184, 93, 110, 0.2);
  border-radius: 4px;
  z-index: -1;
  transition: width 0.3s ease;
}

.hero-rotating-word.word-out {
  opacity: 0;
  transform: translateY(-16px);
  filter: blur(4px);
}

.hero-rotating-word.word-in-prep {
  opacity: 0;
  transform: translateY(16px);
  filter: blur(4px);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  max-width: 540px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
  width: 100%;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.trust-item i {
  color: var(--color-primary);
  font-size: 1.1rem;
}

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

.hero-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 8px solid #ffffff;
}

.hero-image-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}

@media (hover: hover) and (pointer: fine) {
.hero-image-card:hover img {
  transform: scale(1.03);
}
}

.hero-floating-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border-subtle);
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 260px;
  animation: floatOrganic 5s ease-in-out infinite;
}

.floating-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background-color: var(--color-accent-light);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.floating-text .floating-title {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary-hover);
}

.floating-text p {
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   HIGHLIGHTS / STATS BAR
   ========================================================================== */

.features-bar {
  background-color: var(--color-primary);
  color: #ffffff;
  padding: 2.5rem 0;
  margin-top: 2rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 2rem;
}

.feature-box {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: transform 0.3s ease;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--color-accent-light);
  flex-shrink: 0;
  transition: background 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .feature-box:hover {
    transform: translateY(-3px);
  }

  .feature-box:hover .feature-icon {
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
  }
}

.feature-info h3 {
  font-family: var(--font-sans);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.feature-info p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

/* ==========================================================================
   SECTION COMMON STYLES
   ========================================================================== */

.section {
  padding: 6rem 0;
}

.section-alt {
  background-color: var(--color-bg-alt);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem auto;
}

.section-subtitle {
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--color-primary-hover);
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.05rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   ACERCA DE MÍ (BIOGRAPHY & APPROACH)
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.about-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image-card img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.about-experience-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--color-bg-main);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary);
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about-text p {
  font-size: 1.02rem;
  color: var(--color-text-muted);
  line-height: 1.75;
}

/* ==========================================================================
   SERVICIOS
   ========================================================================== */

.services-grid,
.services-grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

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

@media (max-width: 767.98px) {
  .services-grid,
  .services-grid-4 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.service-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  border: 1px solid var(--color-border-subtle);
  box-shadow: var(--shadow-sm);
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  opacity: 0;
  transition: var(--transition);
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background-color: var(--color-primary-subtle);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 36px rgba(74, 51, 58, 0.12);
    border-color: var(--color-primary-light);
  }

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

  .service-card:hover .service-icon {
    background-color: var(--color-primary);
    color: #ffffff;
  }
}

.service-card h3 {
  font-size: 1.6rem;
  color: var(--color-primary-hover);
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.service-features {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--color-text-main);
  font-weight: 500;
}

.service-features li i {
  color: var(--color-primary);
}

.service-cta {
  margin-top: 1.5rem;
  width: 100%;
  justify-content: center;
}

/* ==========================================================================
   MINI QUIZ / CUESTIONARIO ("¿POR DÓNDE EMPEZAR?")
   ========================================================================== */

.quiz-container {
  background: linear-gradient(135deg, var(--color-primary-hover), var(--color-primary));
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  color: #ffffff;
  box-shadow: var(--shadow-lg);
}

.quiz-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.quiz-header h2 {
  font-size: 2.2rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.quiz-header p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
}

.quiz-step {
  display: none;
}

.quiz-step.active {
  display: block;
}

.quiz-question {
  font-family: var(--font-sans);
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 1.75rem;
}

.quiz-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 1rem;
}

.quiz-option-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (hover: hover) and (pointer: fine) {
.quiz-option-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: #ffffff;
  transform: translateY(-2px);
}
}

.quiz-result-card {
  text-align: center;
  background: #ffffff;
  color: var(--color-text-main);
  padding: 2.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.quiz-result-card h3 {
  font-size: 1.8rem;
  color: var(--color-primary-hover);
  margin-bottom: 0.75rem;
}

.quiz-result-card p {
  color: var(--color-text-muted);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   AGENDA Y LISTA DE ESPERA (REEMPLAZO DIRECTO DEL TURNERO)
   ========================================================================== */

.waitlist-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 860px;
  margin: 0 auto;
}

.waitlist-notice-card {
  background: #FEF9F0;
  border: 1px solid #F3E5D0;
  border-left: 6px solid var(--color-accent);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.notice-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  background: var(--color-accent-light);
  color: var(--color-accent);
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.notice-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--color-accent);
  color: #ffffff;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.6rem;
}

.notice-body h3 {
  font-size: 1.35rem;
  color: var(--color-primary-hover);
  margin-bottom: 0.5rem;
}

.notice-body p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.waitlist-form-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: 2.75rem 2.5rem;
  box-shadow: var(--shadow-md);
}

.waitlist-form-header {
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--color-border-subtle);
  padding-bottom: 1.25rem;
}

.waitlist-form-header h3 {
  font-size: 1.35rem;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.waitlist-form-header p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (max-width: 600px) {
  .form-grid-2 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  width: 100%;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-primary-hover);
  display: block;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-border);
  background-color: var(--color-bg-main);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--color-text-main);
  transition: var(--transition);
  box-sizing: border-box;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  background-color: #ffffff;
  box-shadow: 0 0 0 4px var(--color-primary-subtle);
}

.form-control::placeholder {
  color: var(--color-text-light);
  opacity: 0.8;
}

select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%235C6565' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.15rem center;
  padding-right: 2.75rem;
}

textarea.form-control {
  resize: vertical;
  min-height: 105px;
  line-height: 1.5;
}

.waitlist-submit-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.waitlist-submit-row .btn {
  width: 100%;
  white-space: normal;
  text-align: center;
  line-height: 1.35;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  box-sizing: border-box;
}

.waitlist-help-text {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  line-height: 1.4;
}

.waitlist-help-text i {
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==========================================================================
   PREGUNTAS FRECUENTES (FAQ ACCORDION)
   ========================================================================== */

.faq-wrapper {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--color-border);
}

.faq-button {
  width: 100%;
  padding: 1.35rem 1.75rem;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-primary-hover);
  cursor: pointer;
  text-align: left;
}

.faq-icon {
  font-size: 1.25rem;
  color: var(--color-primary);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--color-accent);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
  background-color: var(--color-bg-main);
}

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

.faq-content-inner {
  padding: 1.25rem 1.75rem 1.75rem 1.75rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   BOTÓN FLOTANTE WHATSAPP
   ========================================================================== */

.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  width: 60px;
  height: 60px;
  text-decoration: none;
}

.whatsapp-btn {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  background-color: #25D366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  animation: pulse 2s infinite;
}

@media (hover: hover) and (pointer: fine) {
.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.6);
}
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  background: var(--color-text-main);
  color: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* ==========================================================================
   CTA FINAL SECTION
   ========================================================================== */

.cta-section {
  padding: 5rem 0;
  background-color: var(--color-bg-alt);
  position: relative;
}

.cta-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2.5rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.cta-card .badge {
  margin-bottom: 1rem;
}

.cta-card h2 {
  font-family: var(--font-serif);
  font-size: 2.35rem;
  font-weight: 600;
  color: var(--color-primary-hover);
  margin-bottom: 1.15rem;
  line-height: 1.25;
}

.cta-card p {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  line-height: 1.65;
  max-width: 620px;
  margin: 0 auto 2.25rem;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-actions .btn {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

@media (max-width: 767.98px) {
  .cta-section {
    padding: 3.5rem 0;
  }

  .cta-card {
    padding: 2.5rem 1.5rem;
  }

  .cta-card h2 {
    font-size: 1.85rem;
  }

  .cta-card p {
    font-size: 0.98rem;
    margin-bottom: 1.75rem;
  }

  .cta-actions .btn {
    width: 100%;
    font-size: 0.95rem;
    padding: 0.9rem 1.25rem;
  }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
  background-color: var(--color-primary-hover);
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 0 2rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  color: #ffffff;
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-logo-img {
  max-height: 52px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.25));
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
}

@media (hover: hover) and (pointer: fine) {
.social-btn:hover {
  background: var(--color-accent);
  color: #ffffff;
  transform: translateY(-2px);
}
}

.footer-col h4 {
  font-family: var(--font-sans);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  flex-wrap: wrap;
  gap: 1rem;
}


/* ==========================================================================
   ANIMATIONS, KEYFRAMES & SCROLL REVEAL SYSTEM
   ========================================================================== */

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

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@keyframes quizSlideIn {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: translateX(0); }
}

.quiz-step.active {
  animation: quizSlideIn 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   SCROLL REVEAL ENGINE (SUAVE, PROGRESIVO Y EDITORIAL)
   ========================================================================== */

.reveal-init {
  opacity: 1;
}

.reveal-enabled .reveal-init {
  opacity: 0;
  transform: translateY(42px) scale(0.985);
  transition: opacity 1.15s cubic-bezier(0.22, 1, 0.36, 1), transform 1.15s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-enabled .reveal-init.reveal-left {
  transform: translateX(-45px) scale(0.985);
}

.reveal-enabled .reveal-init.reveal-right {
  transform: translateX(45px) scale(0.985);
}

.reveal-enabled .reveal-init.reveal-scale {
  transform: scale(0.94);
}

.reveal-enabled .reveal-init.is-revealed {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

/* Stagger Delays for Progressive Cascade Reveals */
.stagger-1 { transition-delay: 0.10s; }
.stagger-2 { transition-delay: 0.22s; }
.stagger-3 { transition-delay: 0.35s; }
.stagger-4 { transition-delay: 0.48s; }
.stagger-5 { transition-delay: 0.60s; }
.stagger-6 { transition-delay: 0.72s; }

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

@media (max-width: 992px) {
  .hero-grid,
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-image-card img,
  .about-image-card img {
    height: 380px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767.98px) {
  .btn,
  .btn-lg {
    white-space: normal;
  }

  .waitlist-form-card {
    padding: 1.75rem 1.25rem;
  }

  .waitlist-submit-row .btn {
    font-size: 0.92rem;
    padding: 0.85rem 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   ACCESSIBILITY: PREFERS REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal-init,
  .reveal-init.reveal-left,
  .reveal-init.reveal-right,
  .reveal-init.reveal-scale {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .hero-glow-1,
  .hero-glow-2,
  .hero-floating-card {
    animation: none !important;
  }
}

@media (max-width: 1199px) {
  .js-enabled .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    box-shadow: var(--shadow-md);
    visibility: hidden;
    transform: translateY(-150%);
    max-height: calc(100dvh - 80px);
    overflow-y: auto;
    transition: var(--transition);
  }

  .js-enabled .nav-menu.active {
    visibility: visible;
    transform: translateY(0);
  }

  .js-enabled .mobile-toggle {
    display: block;
  }

  .nav-actions .btn {
    display: none;
  }


  html:not(.js-enabled) .header { position: static; }
  html:not(.js-enabled) .navbar { height: auto; flex-wrap: wrap; gap: 1.25rem; padding-top: 1rem; padding-bottom: 1rem; }
  html:not(.js-enabled) .nav-menu { width: 100%; flex-wrap: wrap; gap: 0.75rem 1rem; }
  html:not(.js-enabled) .hero { padding-top: 3rem; }
}

/* Accesibilidad y mejoras progresivas */
[hidden] { display: none !important; }
html { scroll-padding-top: 104px; overflow-x: clip; }
section[id] { scroll-margin-top: 0; }
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 4px; }
section[tabindex="-1"]:focus, main[tabindex="-1"]:focus { outline: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 0.75rem; left: 1rem; z-index: 10002; padding: 0.75rem 1rem; border-radius: var(--radius-sm); background: var(--color-primary); color: white; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); color: white; }
.nav-menu { min-width: 0; }
.hero-image-caption { margin-top: 2rem; text-align: right; font-size: 0.78rem; color: var(--color-text-muted); }
.about-portrait-card { width: 100%; max-width: 480px; justify-self: center; }
.about-portrait-card img { display: block; height: auto; }
.quiz-back-btn { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1.5rem; padding: 0.65rem 0; border: 0; background: transparent; color: #fff; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.quiz-result-note { font-size: 0.88rem !important; }
.quiz-option-btn[aria-pressed="true"] { border-color: #fff; background: rgba(255,255,255,0.22); }
html:not(.js-enabled) .quiz-step { display: none; }
.no-script-message a { color: #fff; text-decoration: underline; }
.field-help { font-size: 0.78rem; color: var(--color-text-muted); }
.field-error { font-size: 0.82rem; color: var(--color-primary); font-weight: 600; }
.form-control[aria-invalid="true"] { border-color: var(--color-accent); }
.waitlist-status { margin-top: 1.5rem; padding: 1rem; background: var(--color-primary-subtle); border-radius: var(--radius-sm); color: var(--color-primary); }
.waitlist-retry { margin-top: 1rem; }
.direct-contact { margin-top: 1.25rem; font-size: 0.88rem; color: var(--color-text-muted); }
.direct-contact a { text-decoration: underline; text-underline-offset: 3px; }
.faq-heading { margin: 0; }
html:not(.js-enabled) .faq-content { max-height: none; }
html:not(.js-enabled) .faq-icon { display: none; }
.faq-button:disabled { cursor: default; opacity: 1; }
.quiz-container, .quiz-result-card, .about-text, .service-card, .notice-body { min-width: 0; }
.quiz-option-btn span, .faq-button span { min-width: 0; overflow-wrap: anywhere; }
.quiz-option-btn i, .faq-icon { flex-shrink: 0; }
.quiz-option-btn { gap: 0.75rem; }

@media (max-width: 767.98px) {
  .whatsapp-float { display: none; }
  .quiz-container { padding: 2rem 1.25rem; }
  .quiz-header h2 { font-size: 1.9rem; }
  .quiz-result-card { padding: 1.5rem 1rem; }
  .quiz-question { font-size: 1.05rem; }
  .quiz-option-btn { padding: 1rem; }
  .section { padding: 4rem 0; }
  .waitlist-notice-card { padding: 1.5rem; flex-direction: column; gap: 1rem; }
  .hero-trust { gap: 0.75rem; }
  .hero-floating-card { left: 0; }
  .service-card { padding: 2rem 1.5rem; }
  .faq-button { gap: 0.75rem; padding: 1.25rem; font-size: 0.95rem; }
  .faq-content-inner { padding: 1rem 1.25rem 1.5rem; }
  .footer-links a, .footer-links span { overflow-wrap: anywhere; }
}
@media (max-width: 400px) {
  .brand-title { font-size: 1.2rem; }
  .hero-cta, .hero-cta .btn { width: 100%; }
}

@media (max-width: 600px) {
  .hero-trust {
    flex-direction: column;
    align-items: flex-start;
  }
}
