:root {
  --bg:#ffffff;
  --bg-gradient: #f8fafc;
  --text:#111827;
  --accent:#2d3748;
  --muted:#64748b;
  --radius:12px;
  --header-height: 120px;
  --hero-offset: 0;
  --logo-height: 140px;
}

/* Asegurar renderizado correcto de emojis coloridos */
* {
  font-variant-emoji: emoji;
  /* Evitar guiones en saltos de línea */
  hyphens: none !important;
  -webkit-hyphens: none !important;
  -moz-hyphens: none !important;
  -ms-hyphens: none !important;
  word-break: normal;
  overflow-wrap: break-word;
}

body, select, option, .country-select {
  font-family: 'Inter', 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', system-ui, sans-serif;
  -webkit-font-feature-settings: "liga";
  font-feature-settings: "liga";
}

.contact-button {
  position: fixed;
  top: 65px;
  right: 50px;
  padding: 12px 28px;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 28px;
  color: #0b0b0b;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  background: #ffffff;
  transition: all 0.22s ease;
  z-index: 100001;
  box-shadow: 0 6px 18px rgba(16,24,40,0.06);
}

.services-info {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: #000;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 200;
  text-align: center;
  opacity: 0.65;
  z-index: 10;
  white-space: nowrap;
  padding: 0 1rem;
  max-width: 90%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact-button:hover {
  background: #000;
  color: white;
}

/* Puntos de fondo */
.centered-logo {
  position: fixed;
  top: 30px;
  left: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  background: transparent;
  border-radius: 0;
  z-index: 100001;
}

.logo {
  height: 140px;
  width: auto;
  filter: none;
  transition: all 0.24s ease;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
}

.centered-logo a {
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.centered-logo a:focus,
.centered-logo a:active {
  outline: none;
}

.logo:hover {
  transform: scale(1.01);
  filter: drop-shadow(0 0 35px rgba(45, 55, 72, 0.12));
}

.logo-slogan {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: 300;
  color: #1a1a1a;
  letter-spacing: 1px;
  text-transform: lowercase;
  opacity: 0.8;
  transition: opacity 0.24s ease;
  white-space: nowrap;
}

.centered-logo a:hover .logo-slogan {
  opacity: 1;
}
*{box-sizing:border-box}
html,body,#root{min-height:100%}
html, body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  min-height: 100vh;
  width: 100%;
  color: var(--text);
  overflow-x: hidden;
  overflow-y: auto;
  position: relative;
  /* Fondo animado tecnológico */
  background: #ffffff;
  /* Deshabilitar selección de texto */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  /* Ocultar scrollbar */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

/* Fondo con degradado base */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, 
    #ffffff 0%, 
    #f5f5f5 30%, 
    #e8e8e8 60%, 
    #d0d0d0 100%
  );
  pointer-events: none;
  z-index: 0;
}

/* Formas de niebla animadas en toda la pantalla */
.bg-glow {
  position: fixed;
  top: 0;
  left: -10%;
  width: 120%;
  height: 100%;
  background: 
    radial-gradient(ellipse 80% 50% at 15% 20%, rgba(99,102,241,0.25) 0%, transparent 50%),
    radial-gradient(ellipse 70% 45% at 85% 30%, rgba(139,92,246,0.20) 0%, transparent 45%),
    radial-gradient(ellipse 60% 40% at 45% 50%, rgba(59,130,246,0.18) 0%, transparent 50%),
    radial-gradient(ellipse 90% 70% at 15% 85%, rgba(99,102,241,0.35) 0%, transparent 50%),
    radial-gradient(ellipse 70% 60% at 75% 90%, rgba(139,92,246,0.30) 0%, transparent 45%),
    radial-gradient(ellipse 60% 50% at 45% 100%, rgba(59,130,246,0.28) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
  animation: fogMove 10s ease-in-out infinite;
  filter: blur(25px);
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: -5%;
  width: 110%;
  height: 100%;
  background: 
    radial-gradient(ellipse 65% 45% at 80% 15%, rgba(168,85,247,0.22) 0%, transparent 45%),
    radial-gradient(ellipse 55% 40% at 20% 40%, rgba(79,70,229,0.20) 0%, transparent 50%),
    radial-gradient(ellipse 70% 50% at 60% 60%, rgba(99,102,241,0.18) 0%, transparent 45%),
    radial-gradient(ellipse 80% 65% at 85% 80%, rgba(139,92,246,0.32) 0%, transparent 45%),
    radial-gradient(ellipse 65% 55% at 25% 95%, rgba(59,130,246,0.28) 0%, transparent 50%),
    radial-gradient(ellipse 50% 45% at 55% 85%, rgba(168,85,247,0.25) 0%, transparent 45%);
  pointer-events: none;
  z-index: 1;
  animation: fogMove2 14s ease-in-out infinite;
  filter: blur(30px);
}

@keyframes fogMove {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.75;
  }
  15% {
    transform: translate(120px, -50px) scale(1.2);
    opacity: 1;
  }
  30% {
    transform: translate(-80px, 30px) scale(0.9);
    opacity: 0.8;
  }
  50% {
    transform: translate(150px, -25px) scale(1.15);
    opacity: 0.95;
  }
  70% {
    transform: translate(-100px, 40px) scale(1.1);
    opacity: 0.85;
  }
  85% {
    transform: translate(60px, -35px) scale(0.95);
    opacity: 1;
  }
}

@keyframes fogMove2 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.8;
  }
  20% {
    transform: translate(-130px, 45px) scale(1.18);
    opacity: 0.95;
  }
  40% {
    transform: translate(90px, -35px) scale(0.88);
    opacity: 0.75;
  }
  60% {
    transform: translate(-70px, 55px) scale(1.22);
    opacity: 1;
  }
  80% {
    transform: translate(110px, -40px) scale(0.92);
    opacity: 0.85;
  }
}

body::-webkit-scrollbar {
  width: 0;
  display: none;
}

/* Canvas de partículas del cursor */
.particle-canvas {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  pointer-events: none !important;
  z-index: 99999 !important;
}

.app{
  width:100%;
  max-width:720px;
  position: relative;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  position: relative;
}

.hero-content {
  text-align: center;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.word-carousel {
  position: relative;
  height: 6rem;
  margin-bottom: 0.75rem;
  perspective: 1000px;
}

.word-cycle {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  transform-style: preserve-3d;
}

.word-cycle span {
  font-size: 4.8rem;
  font-weight: 800;
  line-height: 1.3;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #1a1a1a 0%, #000000 50%, #2d2d2d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: absolute;
  opacity: 0;
  animation: cycleWords 12s cubic-bezier(0.22, 1, 0.36, 1) infinite;
  transform: scale(0.9);
  letter-spacing: -1px;
  text-transform: uppercase;
}

.word-cycle span:nth-child(2) { animation-delay: 2.4s; }
.word-cycle span:nth-child(3) { animation-delay: 4.8s; }
.word-cycle span:nth-child(4) { animation-delay: 7.2s; }
.word-cycle span:nth-child(5) { animation-delay: 9.6s; }

@keyframes cycleWords {
  0% {
    opacity: 0;
    transform: scale(0.8);
    filter: blur(8px);
  }
  8% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
  10% {
    transform: scale(1.03);
  }
  12%, 18% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
  25% {
    opacity: 0;
    transform: scale(1.1);
    filter: blur(8px);
  }
  100% {
    opacity: 0;
    transform: scale(0.8);
  }
}

.hero-subtitle {
  font-size: 3.8rem;
  font-weight: 400;
  margin: 0 0 2rem 0;
  line-height: 1.2;
  background: linear-gradient(120deg, #000000, #1a1a1a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.98;
  letter-spacing: -1.5px;
  transform: translateZ(0);
  hyphens: none;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

@keyframes letterSparkle {
  0%, 90%, 100% {
    filter: drop-shadow(0 0 1px rgba(0,0,0,0.2));
    text-shadow: none;
    transform: scale(1);
  }
  50% {
    filter: drop-shadow(0 0 2px rgba(255,255,255,0.15));
    text-shadow: 0 0 3px rgba(255,255,255,0.1);
    transform: scale(1.01);
  }
}

.cta-button {
  display: inline-block;
  background: #ffffff;
  color: #1a1a1a;
  font-size: 1.1rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  padding: 1rem 2.8rem;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1), 0 0 0 0 rgba(0, 0, 0, 0.2);
  animation: ctaPulse 2s ease-in-out infinite;
  z-index: 10;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.05), transparent);
  transition: left 0.5s ease;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  background: #1a1a1a;
  color: #ffffff;
  border-color: #1a1a1a;
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2), 0 0 20px rgba(0, 0, 0, 0.1);
  animation: none;
}

.cta-button:active {
  transform: translateY(-2px) scale(1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

@keyframes ctaPulse {
  0%, 100% {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1), 0 0 0 0 rgba(0, 0, 0, 0.2);
  }
  50% {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15), 0 0 0 8px rgba(0, 0, 0, 0);
  }
}

.form-header{display:flex;align-items:center;gap:12px;margin-bottom:8px}
.form-title{margin:0 0 12px 0;font-size:20px}
.logo-placeholder{display:flex;flex-direction:column;align-items:center;gap:12px;padding:12px;border-radius:12px;border:1px dashed #e9edf5;margin-bottom:12px}
.logo-placeholder img{max-width:180px;max-height:90px;object-fit:contain}
.logo-actions{display:flex;gap:8px;align-items:center}
.logo-actions input[type=file]{font-size:13px}
.progress{height:6px;background:#eee;border-radius:8px;overflow:hidden;margin-bottom:18px}
.progress{display:none !important}
.progress-bar{height:100%;background:linear-gradient(90deg,var(--accent),#8f8bf5);width:0%}
.survey{min-height:220px;display:flex;align-items:center;justify-content:center}
.step{display:none;flex-direction:column;gap:12px;width:100%;opacity:0;transform:translateY(8px);transition:opacity .32s ease, transform .32s ease}
.step.active{display:flex;opacity:1;transform:translateY(0)}
.input, .textarea{
  width:100%;
  padding:16px;
  border-radius:10px;
  border:1px solid #e2e8f0;
  font-size:16px;
  background: white;
  color: #2d3748;
  transition: all 0.3s ease;
}
.input:focus, .textarea:focus {
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.08);
  outline: none;
}
.options{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.option{
  padding:16px;
  border-radius:10px;
  border:1px solid #e2e8f0;
  background:white;
  color: #2d3748;
  cursor:pointer;
  transition: all 0.3s ease;
}
.option:hover {
  background:#f7fafc;
  transform: translateY(-2px);
  border-color: #cbd5e0;
}
.option.selected{
  border-color:var(--accent);
  box-shadow: var(--glow);
  background:#f7fafc;
}
.form-footer{display:flex;justify-content:space-between;gap:12px;margin-top:18px}
@keyframes borderGlow {
  0% { opacity: 0.5; }
  100% { opacity: 1; }
}

.btn{
  background: #ffffff;
  color: #1a1a1a;
  padding:16px 32px;
  border-radius:10px;
  border: 1px solid rgba(0,0,0,0.12);
  cursor:pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  letter-spacing: 0.5px;
}
.btn:hover {
  background: #1a1a1a;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--glow);
}
.btn[disabled]{
  opacity:.5;
  cursor:not-allowed;
  transform: none;
}
.btn.ghost{
  background:transparent;
  color:var(--muted);
  border:1px solid #e2e8f0;
}
.result{padding:18px;border-radius:10px;background:#f8fafc;border:1px solid #eef2ff}
/* Responsive para tablets */
@media (max-width: 1024px) {
  .word-carousel {
    height: 5rem;
    margin-bottom: 0.5rem;
  }
  
  .word-cycle span {
    font-size: 4rem;
  }
  
  .hero-subtitle {
    font-size: 2rem;
    margin-bottom: 1.25rem;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
  
  .answers-summary {
    display: none;
  }
}

/* Responsive para móviles grandes */
@media (max-width: 768px) {
  .centered-logo {
    position: absolute;
    top: 16px;
    left: 16px;
  }
  
  .logo {
    height: 110px;
  }
  
  .contact-button {
    position: absolute;
    top: 38px;
    right: 24px;
    padding: 12px;
    font-size: 0;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .contact-button::before {
    content: '';
    width: 22px;
    height: 22px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 2L11 13'/%3E%3Cpath d='M22 2L15 22L11 13L2 9L22 2Z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }
  
  .contact-button:hover {
    background: #000;
  }
  
  .contact-button:hover::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 2L11 13'/%3E%3Cpath d='M22 2L15 22L11 13L2 9L22 2Z'/%3E%3C/svg%3E");
  }
  
  .word-carousel {
    height: 4rem;
    margin-bottom: 1rem;
  }
  
  .word-cycle span {
    font-size: 2.8rem;
    letter-spacing: -1px;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    padding: 0 0.5rem;
    line-height: 1.35;
  }
  
  .hero-content {
    padding: 5rem 1.5rem 4rem 1.5rem;
    min-height: 100vh;
    min-height: 100dvh;
  }
  
  .cta-button {
    padding: 1.15rem 3rem;
    font-size: 1.05rem;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }
  
  .services-info {
    position: fixed;
    font-size: 0.7rem;
    padding: 0 1.5rem;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    white-space: normal;
    line-height: 1.4;
    opacity: 0.6;
    letter-spacing: 0.3px;
    z-index: 100;
    background: transparent;
    max-width: 90%;
    text-align: center;
    word-break: keep-all;
    overflow-wrap: break-word;
    hyphens: none !important;
    -webkit-hyphens: none !important;
  }
}

/* Responsive para móviles pequeños */
@media (max-width: 520px) {
  .form-card {
    padding: 18px;
  }
  
  .centered-logo {
    position: absolute;
    top: 12px;
    left: 12px;
  }
  
  .logo {
    height: 95px;
  }
  
  .contact-button {
    position: absolute;
    top: 32px;
    right: 20px;
    padding: 10px;
    width: 42px;
    height: 42px;
  }
  
  .contact-button::before {
    width: 18px;
    height: 18px;
  }
  
  .word-carousel {
    height: 3.5rem;
    margin-bottom: 0.75rem;
  }
  
  .word-cycle span {
    font-size: 2.4rem;
    letter-spacing: -0.5px;
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 1.75rem;
    padding: 0 0.25rem;
    line-height: 1.4;
  }
  
  .hero-content {
    padding: 4.5rem 1.25rem 3.5rem 1.25rem;
    min-height: 100vh;
    min-height: 100dvh;
  }
  
  .cta-button {
    padding: 1.1rem 2.5rem;
    font-size: 1rem;
    margin-top: 1.25rem;
    width: auto;
    min-width: 180px;
    border-radius: 50px;
  }
  
  :root {
    --hero-offset: 0;
  }
  
  .services-info {
    position: fixed;
    font-size: 0.65rem;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    line-height: 1.35;
    padding: 0 1rem;
    max-width: none;
    z-index: 100;
    background: transparent;
    opacity: 0.6;
    text-align: center;
  }
}

/* Responsive muy pequeño */
@media (max-width: 380px) {
  .centered-logo {
    position: absolute;
    top: 10px;
    left: 10px;
  }
  
  .logo {
    height: 85px;
  }
  
  .contact-button {
    position: absolute;
    top: 28px;
    right: 16px;
    width: 38px;
    height: 38px;
    padding: 9px;
  }
  
  .contact-button::before {
    width: 16px;
    height: 16px;
  }
  
  .word-carousel {
    height: 3rem;
    margin-bottom: 0.5rem;
  }
  
  .word-cycle span {
    font-size: 2rem;
    letter-spacing: -0.3px;
  }
  
  .hero-subtitle {
    font-size: 1.15rem;
    margin-bottom: 1.25rem;
    line-height: 1.4;
  }
  
  .cta-button {
    padding: 1rem 2rem;
    font-size: 0.95rem;
    margin-top: 1rem;
    border-radius: 50px;
  }
  
  .services-info {
    position: fixed;
    font-size: 0.55rem;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    padding: 0 0.5rem;
    z-index: 100;
    background: transparent;
    opacity: 0.6;
    max-width: none;
    text-align: center;
  }
}

/* Estilos del cuestionario - Estilo Typeform */
.questionnaire-section {
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: transparent;
  position: relative;
}

.question-container {
  max-width: 1200px;
  width: 100%;
  background: transparent;
  padding: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 10;
}

.question-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 100000;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #1a1a1a, #333);
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  width: 0%;
}

.progress-text {
  display: none;
}

.question-content {
  margin-bottom: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 2rem;
  opacity: 1;
  transform: translateY(0);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  overflow: visible;
}

.question-content.fade-out {
  opacity: 0;
  transform: translateY(-20px);
}

.question-content.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease-out forwards;
}

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

.question-title {
  font-family: 'Poppins', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 2rem;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  opacity: 0;
  transform: translateY(30px);
  animation: slideInTitle 0.8s ease-out 0.2s forwards;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
  -webkit-hyphens: none;
  max-height: calc(2.2rem * 1.2 * 2);
  display: block;
}

.question-subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: #666;
  margin-bottom: 3rem;
  line-height: 1.5;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  animation: slideInSubtitle 0.8s ease-out 0.4s forwards;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.question-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(300px, 1fr));
  grid-template-rows: repeat(2, auto);
  gap: 1.5rem;
  margin: 2rem auto 0;
  width: 100%;
  max-width: 1200px;
  justify-items: stretch;
  align-items: start;
  justify-self: center;
  position: relative;
  z-index: 10;
}

/* Grid para preguntas con 3 opciones (2 arriba, 1 abajo centrado) */
.question-options.grid-3 {
  grid-template-columns: repeat(2, minmax(300px, 1fr));
  grid-template-rows: repeat(2, auto);
  justify-items: stretch;
  align-items: start;
}

.question-options.grid-3 .option-button:last-child {
  grid-column: 1 / -1;
  max-width: 600px;
  justify-self: center;
}

/* Grid para preguntas con 4 opciones (2x2) */
.question-options.grid-4 {
  grid-template-columns: repeat(2, minmax(300px, 1fr));
  grid-template-rows: repeat(2, auto);
  justify-items: stretch;
  align-items: start;
}

/* Grid para preguntas con 6 opciones (3x2) */
.question-options.grid-6 {
  grid-template-columns: repeat(3, minmax(280px, 1fr));
  grid-template-rows: repeat(2, auto);
  justify-items: stretch;
  align-items: start;
  justify-content: center;
}

.question-options.grid-6 .option-button:nth-child(2),
.question-options.grid-6 .option-button:nth-child(5) {
  justify-self: center;
}

/* Formulario para datos de contacto */
.question-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: 3rem;
  background: transparent;
  border-radius: 16px;
  box-shadow: none;
  border: none;
}

.form-input {
  padding: 1rem 1.25rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  transition: all 0.3s ease;
  outline: none;
  color: #1e293b;
  width: 100%;
  box-sizing: border-box;
  min-height: 54px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.form-input::placeholder {
  color: #94a3b8;
  font-weight: 400;
  opacity: 1;
}

.form-input:focus {
  border-color: #1a1a1a;
  background: #ffffff;
  transform: none;
  box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.08), 0 1px 2px rgba(0, 0, 0, 0.05);
}

.form-input.error {
  border-color: #ff4444;
  box-shadow: 0 0 0 3px rgba(255, 68, 68, 0.1);
  animation: shake 0.3s ease-in-out;
}

/* Contenedor para el teléfono */
.phone-input-container {
  display: flex;
  gap: 0.5rem;
  width: 100%;
}

.country-select {
  padding: 1rem 1rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  transition: all 0.3s ease;
  outline: none;
  color: #1e293b;
  cursor: pointer;
  min-width: 110px;
  max-width: 110px;
  box-sizing: border-box;
  min-height: 54px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 1rem center;
  background-repeat: no-repeat;
  background-size: 1em;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 3rem;
}

.country-select option {
  font-family: 'Inter', system-ui, sans-serif;
  padding: 0.5rem;
  background: white;
  color: #333;
}

.country-select:focus {
  border-color: #1a1a1a;
  background: #ffffff;
  transform: none;
  box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.08), 0 1px 2px rgba(0, 0, 0, 0.05);
}

.phone-input {
  flex: 1;
  min-width: 0;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

.submit-btn {
  padding: 1rem 2rem;
  background: #1a1a1a;
  color: white;
  border: none;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
  position: relative;
  overflow: hidden;
  text-transform: none;
  min-height: 54px;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 12px rgba(26, 26, 26, 0.15);
}

.submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.submit-btn:hover {
  background: #000000;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26, 26, 26, 0.25);
}

.submit-btn:hover::before {
  left: 100%;
}

.submit-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(26, 26, 26, 0.2);
}

/* Animaciones para el formulario */
.question-form {
  animation: formSlideIn 0.8s ease-out;
}

.form-input {
  animation: inputSlideIn 0.6s ease-out;
}

.form-input:nth-child(1) {
  animation-delay: 0.1s;
}

.form-input:nth-child(2) {
  animation-delay: 0.2s;
}

.submit-btn {
  animation: buttonSlideIn 0.6s ease-out 0.3s both;
}

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

@keyframes inputSlideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes slideInTitle {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInSubtitle {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.option-button {
  padding: 1rem 1.5rem;
  border: 2px solid transparent;
  border-radius: 8px;
  background: #ffffff;
  color: #333;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  position: relative;
  z-index: 10;
  border-left: 4px solid transparent;
  opacity: 0;
  transform: translateX(-30px);
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  min-height: 80px;
  height: auto;
  min-width: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
  -webkit-hyphens: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.option-button:nth-child(1) { animation: slideInOption 0.6s ease-out 0.6s forwards; }
.option-button:nth-child(2) { animation: slideInOption 0.6s ease-out 0.7s forwards; }
.option-button:nth-child(3) { animation: slideInOption 0.6s ease-out 0.8s forwards; }
.option-button:nth-child(4) { animation: slideInOption 0.6s ease-out 0.9s forwards; }
.option-button:nth-child(5) { animation: slideInOption 0.6s ease-out 1.0s forwards; }
.option-button:nth-child(6) { animation: slideInOption 0.6s ease-out 1.1s forwards; }

@keyframes slideInOption {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.option-button:hover {
  background: #ffffff;
  transform: translateX(8px);
  border-left-color: #1a1a1a;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.option-button.selected {
  background: rgba(26, 26, 26, 0.95);
  color: white;
  border-left-color: #333;
  transform: translateX(12px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.question-navigation {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  gap: 1rem;
  z-index: 1000;
}

.nav-button {
  padding: 1rem 1.5rem;
  border: none;
  border-radius: 6px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.next-button {
  background: #1a1a1a;
  color: white;
  padding: 1rem 2rem;
}

.next-button:hover:not(:disabled) {
  background: #333;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.next-button:disabled {
  background: #ccc;
  color: #999;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.prev-button {
  background: #ffffff;
  color: #666;
  border: 1px solid #e0e0e0;
}

.prev-button:hover {
  background: #ffffff;
  color: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.question-number {
  position: fixed;
  top: 2rem;
  right: 2rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: #999;
  background: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  z-index: 1000;
}

/* Responsive para cuestionario en tablets */
@media (max-width: 1024px) {
  .question-title {
    font-size: 1.9rem;
  }
  
  .question-subtitle {
    font-size: 1.15rem;
  }
  
  .option-button {
    padding: 1.2rem 2rem;
    font-size: 1rem;
  }
}

/* Responsive para cuestionario en móvil */
@media (max-width: 768px) {
  .questionnaire-section {
    padding: 5rem 1rem 6rem 1rem;
    overflow: visible;
    min-height: 100vh;
    min-height: 100dvh;
  }
  
  .question-container {
    padding: 0.75rem;
    max-width: 100%;
    overflow: visible;
  }
  
  .question-content {
    padding: 1.5rem 1rem;
    overflow: visible;
    min-height: auto;
  }
  
  .question-title {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    max-width: 100%;
    line-height: 1.35;
    hyphens: none;
    max-height: none;
  }
  
  .question-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    max-width: 100%;
    line-height: 1.5;
    color: #64748b;
  }
  
  .question-navigation {
    bottom: 0;
    right: 0;
    left: 0;
    padding: 1rem 1.25rem;
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    justify-content: space-between;
    gap: 0.75rem;
  }
  
  .nav-button {
    flex: 1;
    justify-content: center;
    padding: 0.9rem 1.25rem;
    font-size: 0.9rem;
    border-radius: 12px;
  }
  
  .next-button {
    padding: 0.9rem 1.5rem;
  }
  
  .question-number {
    top: auto;
    bottom: auto;
    right: auto;
    position: relative;
    margin-bottom: 1rem;
    background: rgba(0, 0, 0, 0.05);
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    align-self: center;
  }
  
  .option-button:hover {
    transform: translateY(-2px);
  }
  
  .option-button.selected {
    transform: translateY(-2px) scale(1.01);
  }
  
  .question-options {
    grid-template-columns: 1fr;
    grid-template-rows: unset;
    gap: 0.85rem;
    margin: 1.25rem auto 0;
    max-width: 100%;
    padding-bottom: 1rem;
  }
  
  .question-options.grid-3,
  .question-options.grid-4,
  .question-options.grid-6 {
    grid-template-columns: 1fr;
    grid-template-rows: unset;
    max-width: 100%;
  }
  
  .question-options.grid-3 .option-button:last-child {
    grid-column: unset;
    max-width: unset;
    justify-self: stretch;
    margin: 0;
  }
  
  .option-button {
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
    border-radius: 12px;
    border-left: none;
    border: 2px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  }
  
  .option-button:hover {
    border-left: none;
    border-color: rgba(0, 0, 0, 0.15);
  }
  
  .option-button.selected {
    border-left: none;
    border-color: #1a1a1a;
  }
  
  .question-options.grid-6 .option-button:nth-child(2),
  .question-options.grid-6 .option-button:nth-child(5) {
    justify-self: stretch;
  }
  
  .option-button {
    min-height: 60px;
    height: auto;
    font-size: 0.9rem;
    padding: 1rem 1.25rem;
    min-width: unset;
    max-width: unset;
    width: 100%;
    white-space: normal;
  }
  
  .question-form {
    max-width: 100%;
    gap: 1.25rem;
    padding: 1.5rem;
    margin: 0.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  }
  
  .phone-input-container {
    flex-direction: row;
    gap: 0.5rem;
  }
  
  .country-select {
    padding: 1rem;
    font-size: 0.9rem;
    min-width: 100px;
    max-width: 100px;
    padding-right: 2rem;
    border-radius: 10px;
  }
  
  .form-input {
    padding: 1rem;
    font-size: 0.95rem;
    border-radius: 10px;
  }
  
  .submit-btn {
    padding: 1rem 1.75rem;
    font-size: 0.95rem;
    border-radius: 10px;
    margin-top: 0.5rem;
  }
}

/* Contact page layout - Diseño integrado tipo pasarela de pago */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 0;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  margin-top: 120px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(200, 200, 200, 0.3);
  overflow: visible;
  height: calc(80vh - 60px);
  min-height: 550px;
}

.answers-summary {
  background: linear-gradient(135deg, #f0f2f5 0%, #e8ecf0 100%);
  padding: 1.5rem;
  height: 100%;
  overflow-y: auto;
  border-right: 1px solid rgba(200, 200, 200, 0.2);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Ocultar scrollbar pero mantener funcionalidad */
.answers-summary::-webkit-scrollbar {
  width: 0;
  display: none;
}

.answers-summary {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.summary-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 1.5rem 0;
  text-align: center;
}

.answer-item {
  margin-bottom: 1rem;
  padding-bottom: 0;
  border-bottom: none;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: all 0.5s ease-out;
}

.answer-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}



.answer-item::before {
  display: none;
}

.answer-question {
  font-size: 0.9rem;
  font-weight: 500;
  color: #495057;
  margin-bottom: 0.5rem;
  line-height: 1.4;
  text-transform: none;
  letter-spacing: normal;
  background: #ffffff;
  padding: 1rem 1.25rem;
  border-radius: 18px 18px 18px 4px;
  position: relative;
  max-width: 80%;
  align-self: flex-start;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
  -webkit-hyphens: none;
}

.answer-question.chat-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.chat-message {
  opacity: 0 !important;
  transform: translateY(20px) !important;
  transition: opacity 0.8s ease-out, transform 0.8s ease-out !important;
  will-change: opacity, transform;
}

.chat-message.chat-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.answer-question::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: -6px;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-bottom-color: rgba(255, 255, 255, 0.9);
  border-left: none;
  border-bottom-left-radius: 4px;
}

.answer-response {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.4;
  background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
  padding: 1rem 1.25rem;
  border-radius: 18px 18px 4px 18px;
  position: relative;
  max-width: 80%;
  align-self: flex-end;
  box-shadow: 0 2px 12px rgba(26, 26, 26, 0.2);
  margin-bottom: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
  -webkit-hyphens: none;
}

.answer-response.chat-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.answer-response::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: -6px;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-bottom-color: #333;
  border-right: none;
  border-bottom-right-radius: 4px;
}



.answer-response::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: -6px;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-bottom-color: #333;
  border-right: none;
  border-bottom-right-radius: 4px;
}

.contact-form-section {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  padding: 3rem 2.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.contact-form-section::-webkit-scrollbar {
  width: 0;
  display: none;
}

.contact-form-section .question-title {
  margin-bottom: 1rem;
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: -0.5px;
}

.contact-form-section .question-subtitle {
  margin-bottom: 2.5rem;
  text-align: center;
  color: #64748b;
  font-size: 1.05rem;
  line-height: 1.6;
  font-weight: 400;
}

.contact-form-section .phone-input-container {
  display: flex;
  gap: 1rem;
  width: 100%;
  align-items: stretch;
}

.contact-form-section .country-select {
  flex-shrink: 0;
}

.contact-form-section .phone-input {
  flex: 1;
  min-width: 0;
}

.contact-form-section .question-form {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

/* Responsive para tablets grande */
@media (max-width: 1024px) {
  .contact-container {
    max-width: 95%;
    height: 85vh;
  }
  
  .contact-form-section .question-title {
    font-size: 1.8rem;
  }
  
  .form-input, .country-select {
    font-size: 0.95rem;
  }
}

/* Responsive para el layout de contacto en móvil */
@media (max-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr;
    max-width: 94%;
    width: 94%;
    border-radius: 20px;
    height: auto;
    min-height: auto;
    max-height: none;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
    margin: 1rem auto;
  }
  
  .answers-summary {
    order: 2;
    padding: 1.25rem;
    gap: 0.85rem;
    border-right: none;
    border-top: 1px solid rgba(200, 200, 200, 0.15);
    height: auto;
    max-height: 40vh;
    min-height: 180px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf0 100%);
    border-radius: 0 0 20px 20px;
  }
  
  .contact-form-section {
    order: 1;
    padding: 2rem 1.5rem;
    height: auto;
    min-height: auto;
    overflow-y: visible;
    border-radius: 20px 20px 0 0;
  }
  
  .contact-form-section .question-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
  }
  
  .contact-form-section .question-subtitle {
    font-size: 0.9rem;
    margin-bottom: 1.75rem;
    color: #64748b;
  }
  
  .contact-form-section .question-form {
    max-width: 100%;
    gap: 1.1rem;
    padding: 0;
  }
  
  .answer-question {
    font-size: 0.8rem;
    padding: 0.75rem 1rem;
    max-width: 82%;
    border-radius: 14px 14px 14px 4px;
  }
  
  .answer-response {
    font-size: 0.85rem;
    padding: 0.75rem 1rem;
    max-width: 82%;
    border-radius: 14px 14px 4px 14px;
  }
  
  .answer-item {
    margin-bottom: 0.5rem;
    gap: 0.5rem;
  }
  
  .form-input, .country-select {
    min-height: 52px;
    padding: 0.9rem 1rem;
    font-size: 1rem;
    border-radius: 12px;
    border: 1.5px solid #e2e8f0;
  }
  
  .form-input:focus, .country-select:focus {
    border-color: #1a1a1a;
    box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.06);
  }
  
  .phone-input-container {
    gap: 0.5rem;
    flex-direction: row;
  }
  
  .country-select {
    min-width: 95px;
    max-width: 95px;
  }
  
  .submit-btn {
    min-height: 52px;
    padding: 1rem 1.75rem;
    font-size: 1rem;
    margin-top: 0.75rem;
    border-radius: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
  }
}

/* Success page styles */
.success-container {
  text-align: center;
  max-width: 650px;
  margin: 0 auto;
  padding: 3rem 2rem;
  animation: fadeInUp 0.8s ease-out;
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

.success-icon {
  margin: 0 auto 2rem;
  animation: scaleIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.success-icon svg {
  filter: drop-shadow(0 4px 12px rgba(26, 26, 26, 0.1));
}

@keyframes scaleIn {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.success-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 1rem 0;
  line-height: 1.2;
  animation: slideInTitle 0.8s ease-out 0.2s both;
  font-family: 'Poppins', sans-serif;
}

.success-subtitle {
  font-size: 1.15rem;
  color: #64748b;
  margin: 0 0 2rem 0;
  line-height: 1.6;
  font-weight: 400;
  animation: slideInSubtitle 0.8s ease-out 0.4s both;
  max-width: 480px;
}

.success-time-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 2px solid #86efac;
  border-radius: 6px;
  color: #166534;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 2rem;
  animation: slideInSubtitle 0.8s ease-out 0.6s both;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.15);
}

.success-time-badge svg {
  flex-shrink: 0;
}

.success-message {
  font-size: 1rem;
  color: #475569;
  line-height: 1.7;
  margin: 0 0 2.5rem 0;
  animation: slideInSubtitle 0.8s ease-out 0.8s both;
  max-width: 420px;
}

.success-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.15rem 2.5rem;
  background: #1a1a1a;
  color: white;
  border: none;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(26, 26, 26, 0.15);
  animation: slideInSubtitle 0.8s ease-out 1s both;
}

.success-button:hover {
  background: #000000;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 26, 26, 0.25);
}

.success-button:active {
  transform: translateY(0);
}

.success-button svg {
  transition: transform 0.3s ease;
}

.success-button:hover svg {
  transform: translateX(-4px);
}

@media (max-width: 768px) {
  .success-container {
    padding: 2rem 1.5rem;
    padding-top: 25px;
    max-width: 100%;
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
  }
  
  .success-icon {
    margin-bottom: 1.25rem;
  }
  
  .success-icon svg {
    width: 60px;
    height: 60px;
  }
  
  .success-title {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    line-height: 1.25;
  }
  
  .success-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    padding: 0 0.5rem;
  }
  
  .success-time-badge {
    font-size: 0.85rem;
    padding: 0.75rem 1.15rem;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    width: 100%;
    max-width: 260px;
    justify-content: center;
  }
  
  .success-time-badge svg {
    width: 16px;
    height: 16px;
  }
  
  .success-message {
    font-size: 0.9rem;
    margin-bottom: 1.75rem;
    padding: 0 0.5rem;
    line-height: 1.6;
  }
  
  .success-button {
    padding: 0.9rem 1.75rem;
    font-size: 0.9rem;
    width: 100%;
    max-width: 260px;
    justify-content: center;
    border-radius: 8px;
  }
}

@media (max-width: 380px) {
  .success-container {
    padding: 1.5rem 1rem;
    padding-top: 20px;
    min-height: auto;
    justify-content: flex-start;
  }
  
  .success-icon {
    margin-bottom: 1rem;
  }
  
  .success-icon svg {
    width: 50px;
    height: 50px;
  }
  
  .success-title {
    font-size: 1.35rem;
  }
  
  .success-subtitle {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }
  
  .success-time-badge {
    font-size: 0.8rem;
    padding: 0.65rem 0.9rem;
    margin-bottom: 1rem;
  }
  
  .success-time-badge svg {
    width: 14px;
    height: 14px;
  }
  
  .success-message {
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
  }
  
  .success-button {
    padding: 0.8rem 1.5rem;
    font-size: 0.85rem;
  }
}

/* Banner de éxito temporal */
.success-banner {
  display: none;
}

/* Éxito dentro del popup */
.popup-success-inline {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1rem;
  animation: fadeInScale 0.4s ease-out;
}

.popup-success-icon {
  margin-bottom: 1.5rem;
  animation: scaleInBounce 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.popup-success-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 0.5rem 0;
}

.popup-success-text {
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  color: #64748b;
  margin: 0;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes scaleInBounce {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@media (max-width: 520px) {
  .popup-success-inline {
    padding: 1.5rem 1rem;
  }
  
  .popup-success-icon svg {
    width: 60px;
    height: 60px;
  }
  
  .popup-success-title {
    font-size: 1.3rem;
  }
  
  .popup-success-text {
    font-size: 0.9rem;
  }
}

@media (max-width: 380px) {
  .popup-success-inline {
    padding: 1.25rem 0.75rem;
  }
  
  .popup-success-icon svg {
    width: 50px;
    height: 50px;
  }
  
  .popup-success-title {
    font-size: 1.2rem;
  }
  
  .popup-success-text {
    font-size: 0.85rem;
  }
}

/* Pop-up de contacto */
.contact-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100002;
  animation: fadeIn 0.3s ease;
}

.contact-popup.active {
  display: flex;
}

.contact-popup-content {
  background: white;
  border-radius: 12px;
  padding: 1rem 2rem 1.5rem;
  max-width: 520px;
  width: 90%;
  max-height: 95vh;
  position: relative;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4);
  animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: visible;
  display: flex;
  flex-direction: column;
}

.contact-popup-content::-webkit-scrollbar {
  width: 0;
  display: none;
}

.contact-popup-close {
  position: relative;
  align-self: flex-end;
  margin-bottom: 0.25rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #64748b;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.contact-popup-close:hover {
  background: #f1f5f9;
  color: #1a1a1a;
}

.popup-header {
  margin-bottom: 0.75rem;
  text-align: center;
}

.contact-popup-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 0.25rem 0;
  letter-spacing: -0.5px;
}

.contact-popup-subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  color: #64748b;
  margin: 0;
}

.contact-email {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  padding: 0.6rem 1rem;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.contact-email svg {
  color: #64748b;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.contact-email a {
  color: #1a1a1a;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-email a:hover {
  color: #0ea5e9;
}

.contact-divider {
  text-align: center;
  margin: 0.75rem 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-divider::before,
.contact-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e2e8f0;
}

.contact-divider span {
  padding: 0 0.5rem;
  font-size: 0.7rem;
  color: #94a3b8;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-popup-form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.popup-label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: #334155;
  letter-spacing: 0.3px;
}

.popup-input,
.popup-textarea {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  color: #1a1a1a;
  transition: all 0.2s ease;
  box-sizing: border-box;
  background: white;
}

.popup-input:focus,
.popup-textarea:focus {
  outline: none;
  border-color: #1a1a1a;
  background: #fafbfc;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.popup-input::placeholder,
.popup-textarea::placeholder {
  color: #94a3b8;
}

.popup-input.error,
.popup-textarea.error {
  border-color: #ff4444;
  box-shadow: 0 0 0 3px rgba(255, 68, 68, 0.1);
  animation: shake 0.3s ease-in-out;
}

.popup-textarea {
  resize: none;
  min-height: 50px;
  line-height: 1.4;
}

.popup-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: #1a1a1a;
  color: white;
  border: none;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 0.25rem;
  width: 100%;
}

.popup-submit-btn:hover {
  background: #000000;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 26, 26, 0.25);
}

.popup-submit-btn:active {
  transform: translateY(0);
}

.popup-submit-btn svg {
  transition: transform 0.3s ease;
}

.popup-submit-btn:hover svg {
  transform: translateX(4px);
}

.popup-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 0;
}

.popup-success.active {
  display: flex;
}

.success-checkmark {
  margin-bottom: 1.5rem;
  animation: scaleIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.success-title-popup {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 0.75rem 0;
}

.success-message-popup {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  color: #64748b;
  margin: 0;
  line-height: 1.6;
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

/* Responsive para pop-up de contacto */
@media (max-width: 768px) {
  .contact-popup-content {
    padding: 0.75rem 1.25rem 1.25rem;
    max-width: 92%;
    width: 92%;
    border-radius: 12px;
    max-height: 95vh;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: visible;
  }
  
  .contact-popup-close {
    width: 28px;
    height: 28px;
    font-size: 1.25rem;
    margin-bottom: 0.15rem;
  }
  
  .popup-header {
    margin-bottom: 0.5rem;
  }
  
  .contact-popup-title {
    font-size: 1.2rem;
  }
  
  .contact-popup-subtitle {
    font-size: 0.8rem;
  }
  
  .contact-email {
    padding: 0.5rem 0.85rem;
    margin-bottom: 0.5rem;
    gap: 0.4rem;
  }
  
  .contact-email svg {
    width: 14px;
    height: 14px;
  }
  
  .contact-email a {
    font-size: 0.8rem;
  }
  
  .contact-divider {
    margin: 0.5rem 0;
  }
  
  .contact-divider span {
    font-size: 0.65rem;
  }
  
  .contact-popup-form {
    gap: 0.5rem;
  }
  
  .popup-label {
    font-size: 0.7rem;
  }
  
  .popup-input,
  .popup-textarea {
    padding: 0.45rem 0.7rem;
    font-size: 0.8rem;
    border-radius: 6px;
    border-width: 1.5px;
  }
  
  .popup-textarea {
    min-height: 40px;
  }
  
  .popup-submit-btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    border-radius: 6px;
    margin-top: 0.25rem;
  }
  
  .success-title-popup {
    font-size: 1.2rem;
  }
  
  .success-message-popup {
    font-size: 0.85rem;
    line-height: 1.4;
  }
  
  .success-checkmark svg {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 520px) {
  .contact-popup-content {
    padding: 0.6rem 1rem 1rem;
    max-width: 96%;
    width: 96%;
    overflow: visible;
  }
  
  .contact-popup-close {
    width: 26px;
    height: 26px;
    font-size: 1.1rem;
    margin-bottom: 0.1rem;
  }
  
  .contact-email {
    flex-direction: row;
    gap: 0.35rem;
    padding: 0.4rem 0.7rem;
    margin-bottom: 0.4rem;
  }
  
  .contact-email svg {
    width: 12px;
    height: 12px;
  }
  
  .contact-email a {
    font-size: 0.75rem;
  }
  
  .contact-popup-form {
    gap: 0.4rem;
  }
  
  .form-group {
    gap: 0.15rem;
  }
  
  .popup-label {
    font-size: 0.65rem;
  }
  
  .popup-input,
  .popup-textarea {
    font-size: 0.75rem;
    padding: 0.4rem 0.6rem;
  }
  
  .popup-textarea {
    min-height: 35px;
  }
  
  .popup-submit-btn {
    font-size: 0.75rem;
    padding: 0.45rem 0.9rem;
  }
  
  .contact-divider {
    margin: 0.4rem 0;
  }
  
  .contact-divider span {
    font-size: 0.6rem;
  }
}

/* Responsive adicional para móviles pequeños */
@media (max-width: 520px) {
  .contact-container {
    max-width: 98%;
    width: 98%;
    border-radius: 12px;
    min-height: 90vh;
  }
  
  .contact-form-section {
    padding: 1.25rem 1rem;
  }
  
  .contact-form-section .question-title {
    font-size: 1.2rem;
    margin-bottom: 1.25rem;
  }
  
  .contact-form-section .question-form {
    gap: 0.85rem;
  }
  
  .form-input, .country-select {
    min-height: 44px;
    padding: 0.75rem 0.85rem;
    font-size: 0.85rem;
  }
  
  .submit-btn {
    min-height: 44px;
    padding: 0.85rem 1.25rem;
    font-size: 0.85rem;
  }
  
  .answers-summary {
    padding: 0.85rem;
    min-height: 200px;
    max-height: 30vh;
  }
  
  .answer-question,
  .answer-response {
    font-size: 0.75rem;
    padding: 0.6rem 0.7rem;
  }
  
  .question-title {
    font-size: 1.3rem;
  }
  
  .question-subtitle {
    font-size: 0.9rem;
  }
  
  .option-button {
    padding: 0.9rem 1.2rem;
    font-size: 0.9rem;
  }
  
  .questionnaire-section {
    padding: 6rem 1rem 1rem 1rem;
  }
  
  .question-content {
    padding: 1.5rem 1rem;
  }
}

/* Responsive para móviles ultra pequeños */
@media (max-width: 380px) {
  .contact-container {
    max-width: 98%;
    width: 98%;
  }
  
  .contact-form-section {
    padding: 1rem 0.85rem;
  }
  
  .contact-form-section .question-title {
    font-size: 1.1rem;
  }
  
  .form-input, .country-select {
    font-size: 0.8rem;
    padding: 0.7rem 0.75rem;
  }
  
  .contact-popup-content {
    padding: 1.25rem 0.85rem;
  }
  
  .popup-input,
  .popup-textarea {
    font-size: 0.75rem;
  }
}

/* Modo landscape para móviles */
@media (max-height: 600px) and (orientation: landscape) {
  .questionnaire-section {
    padding: 5rem 1rem 1rem 1rem;
  }
  
  .question-content {
    padding: 1rem;
    min-height: auto;
  }
  
  .question-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }
  
  .question-subtitle {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }
  
  .option-button {
    padding: 0.75rem 1.2rem;
  }
  
  .contact-container {
    height: auto;
    min-height: 95vh;
    max-height: none;
  }
  
  .contact-form-section {
    padding: 1rem;
  }
  
  .answers-summary {
    max-height: 40vh;
  }
  
  .contact-popup-content {
    max-height: 90vh;
    overflow-y: auto;
  }
}
