/* ===== Booh! Finance — Dark Mode (compatible con tu HTML) ===== */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

:root{
  --booh-blue:#00AFD8;
  --bg-dark:#0B0C10;
  --bg-card:#1A1C22;
  --text:#F4F4F4;
  --muted:#B0B3B8;
  --radius:14px;
  --transition:.3s ease;
}

*{margin:0;padding:0;box-sizing:border-box}
html,body{height:100%}
body{
  font-family:'Roboto',sans-serif;
  background:var(--bg-dark);
  color:var(--text);
  line-height:1.6;
  overflow-x:hidden;
}

/* ===== Header / Navbar ===== */
header{
  position:fixed; top:0; left:0; right:0; z-index:1000;
  background:rgba(11,12,16,.85);
  backdrop-filter: blur(8px);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.navbar{
  max-width:1200px; margin:0 auto;
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 20px;
}
.logo{ height:64px; width:auto; display:block }
.navbar ul{ list-style:none; display:flex; gap:22px; align-items:center }
.navbar a{
  color:var(--muted); text-decoration:none; font-weight:500; transition:var(--transition);
}
.navbar a:hover{ color:var(--booh-blue) }

/* Compensa header fijo para el primer bloque */
section:first-of-type{ padding-top:96px }

/* ===== Secciones genéricas ===== */
section{
  padding:72px 20px;
}
section h2{
  font-size:2rem; margin-bottom:16px; color:var(--booh-blue);
}
section p{ color:var(--muted); max-width:800px; margin:0 auto }

/* ===== HERO (#home) ===== */
#home.hero{
  min-height:78vh;
  display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center;
  gap:18px;
  background:linear-gradient(160deg,#0B0C10 0%,#12141C 100%);
}

/* ===== HERO NUEVO (versión mejorada Booh! Finance) ===== */
#home.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: var(--text);
  padding: 2rem;
  background: radial-gradient(circle at 30% 30%, rgba(0,175,216,0.25) 0%, transparent 70%),
              linear-gradient(160deg, #0B0C10 0%, #12141C 100%);
}

/* Imagen fintech sutil en el fondo */
#home.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("img/hero.png");
  background-size: cover;
  background-position: center;
  opacity: 1;
  z-index: 0;
}

/* Halo de luz azul superior */
#home.hero::after {
  content: "";
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,175,216,0.35) 0%, transparent 70%);
  filter: blur(80px);
  z-index: 0;
}

#home.hero h1 {
  position: relative;
  z-index: 1;
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  color: var(--booh-blue);
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
  animation: fadeDown 1s ease forwards;
  color:white
}

#home.hero p {
  position: relative;
  z-index: 1;
  color: white;
  max-width: 680px;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  animation: fadeUp 1.2s ease forwards;
}

#home.hero button {
  position: relative;
  z-index: 1;
  background: var(--booh-blue);
  color: #0B0C10;
  border: none;
  padding: 0.9rem 2rem;
  border-radius: var(--radius);
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(0,175,216,0.3);
  transition: all 0.3s ease;
  animation: fadeUp 1.4s ease forwards;
}

#home.hero button:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 25px rgba(0,175,216,0.5);
}

/* Animaciones */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
  }
#home h1{
  font-size: clamp(2rem, 5vw, 3rem);
  color:var(--booh-blue);
}
#home p{ max-width:720px }
#home button{
  background:var(--booh-blue); color:#061017;
  border:0; padding:12px 22px; border-radius:var(--radius);
  font-weight:700; cursor:pointer; transition:var(--transition);
}
#home button:hover{ transform:translateY(-3px); box-shadow:0 0 18px rgba(0,175,216,.45) }

/* ===== CÓMO FUNCIONA (#how) ===== */
#how{ background:linear-gradient(160deg,#0C0E14,#1A1C22) }
#how .steps{
  margin-top:24px;
  display:grid; gap:18px;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
}
#how .steps > div{
  background:var(--bg-card); border-radius:var(--radius); padding:20px;
  box-shadow:0 4px 20px rgba(0,0,0,.35);
  position:relative; overflow:hidden; transition:var(--transition);
}
#how .steps > div::after{
  content:""; position:absolute; top:-40px; right:-40px; width:120px; height:120px;
  background:radial-gradient(circle at center, rgba(0,175,216,.18), transparent 60%);
}
#how .steps > div:hover{ transform:translateY(-6px); box-shadow:0 6px 26px rgba(0,175,216,.28) }
#how h3{ color:var(--booh-blue); margin-bottom:8px }

/* ===== VENTAJAS (#benefits) ===== */
#benefits{
  background:#0E1016;
  text-align:center;
}
#benefits .benefits{
  margin:20px auto 26px;
  display:grid; gap:14px; max-width:900px;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  list-style:none;
}
#benefits .benefits li{
  background:var(--bg-card); padding:14px 16px; border-radius:12px;
  color:var(--text); border:1px solid rgba(255,255,255,.05);
}
#benefits button{
  background:transparent; color:var(--booh-blue); border:1px solid var(--booh-blue);
  padding:10px 18px; border-radius:12px; cursor:pointer; transition:var(--transition);
}
#benefits button:hover{ background:rgba(0,175,216,.12) }

/* ===== IA PRICING (#ai) ===== */
#ai{
  background:linear-gradient(160deg,#0C0E14,#171922);
  border-top:1px solid rgba(255,255,255,.06);
  border-bottom:1px solid rgba(255,255,255,.06);
}
#ai p{ margin-top:10px }

/* ===== TESTIMONIOS (#testimonials) ===== */
#testimonials{
  background:#0D0F15; text-align:center;
}
#testimonials blockquote{
  max-width:800px; margin:12px auto; padding:18px 20px;
  background:var(--bg-card); border-left:4px solid var(--booh-blue);
  border-radius:12px; color:#E8F8FC; font-style:italic;
}
#testimonials cite{ display:block; color:var(--muted); margin-top:8px }

/* ===== CONTACTO (#contact) ===== */
#contact{
  background:linear-gradient(160deg,#0B0C10,#10131A);
  text-align:center;
}
#contact form{
  margin:18px auto 0; max-width:720px;
  display:grid; gap:12px;
  grid-template-columns:1fr 1fr;
  background:rgba(26,28,34,.6);
  padding:18px; border-radius:16px; border:1px solid rgba(255,255,255,.06);
}
#contact input{
  background:#12141C; color:var(--text); border:1px solid rgba(255,255,255,.08);
  border-radius:10px; padding:12px 14px; outline:none; transition:var(--transition);
}
#contact input:focus{ border-color:var(--booh-blue); box-shadow:0 0 0 3px rgba(0,175,216,.15) }
#contact button{
  grid-column:1 / -1;
  background:var(--booh-blue); color:#071018; border:0;
  border-radius:12px; padding:12px 18px; font-weight:700; cursor:pointer; transition:var(--transition);
}
#contact button:hover{ transform:translateY(-2px); box-shadow:0 0 16px rgba(0,175,216,.35) }

/* ===== Footer ===== */
footer{
  text-align:center; padding:34px 20px; color:var(--muted);
  border-top:1px solid rgba(255,255,255,.06);
}

/* ===== Utilidades / Animaciones ===== */
.fade-in{ opacity:0; transform:translateY(32px); transition:opacity .8s ease, transform .8s ease }
.fade-in.appear{ opacity:1; transform:translateY(0) }

/* ===== Responsivo ===== */
@media (max-width: 900px){
  .navbar ul{ gap:14px }
}
@media (max-width: 720px){
  #contact form{ grid-template-columns:1fr }
}
@media (max-width: 640px){
  .navbar{ justify-content:space-between }
  .navbar ul{ display:none } /* simplifica en móvil; si quieres menú burger lo añadimos */
  }

/* ===== Animaciones de aparición ===== */

/* Visible por defecto (si JS falla o aún no cargó) */
.fade-in {
  opacity: 1;
  transform: none;
}

/* Cuando JS está activo, habilita efecto */
.js .fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.js .fade-in.appear {
  opacity: 1;
  transform: translateY(0);
}

/* ===== MENÚ HAMBURGUESA ===== */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2000;
}
.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Estado activo (cruz) */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== MENÚ MÓVIL FIJO Y FUNCIONAL ===== */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  /* menú inicialmente oculto */
  .navbar ul {
    position: fixed;
    top: 65px;
    right: 0;
    width: 220px;
    display: flex;
    flex-direction: column;
    background: rgba(26, 28, 34, 0.98);
    border-left: 1px solid rgba(255,255,255,0.06);
    border-top: 1px solid rgba(255,255,255,0.06);
    border-radius: 0 0 0 12px;
    padding: 16px;
    gap: 14px;
    opacity: 0;
    transform: translateX(100%);
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 2000;
  }

  /* al hacer clic se muestra */
  .navbar ul.show {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
  }

  .navbar ul li a {
    color: var(--text);
    font-size: 1.1rem;
  }
}

/* ===== REPARAR VISIBILIDAD DEL MENÚ ===== */

/* Asegura que los enlaces se muestren en desktop */
@media (min-width: 769px) {
  .navbar ul {
    display: flex !important;
    position: static;
    background: transparent;
    border: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .menu-toggle {
    display: none !important;
  }
}

/* En móvil, el menú se oculta hasta que se pulsa la hamburguesa */
@media (max-width: 768px) {
  .navbar ul {
    display: none;
  }

  .navbar ul.show {
    display: flex;
  }
}

/* ===== FIX GENERAL DE VISIBILIDAD DEL MENÚ SUPERIOR ===== */

/* Header siempre visible encima de todo */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 3000;
  background: rgba(11, 12, 16, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Navbar */
.navbar {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}

/* Logo */
.logo {
  height: 34px;
  width: auto;
}



/* ===== MENÚ MÓVIL (<=768px) ===== */
@media (max-width: 768px) {
  /* botón visible en móvil */
  .menu-toggle { 
    display: flex; 
    flex-direction: column; 
    justify-content: space-between;
    width: 28px; height: 22px;
    background: none; border: 0; cursor: pointer; z-index: 3001;
  }
  .menu-toggle span { height: 3px; width: 100%; background: var(--text); border-radius: 2px; transition: .3s }

  /* animación a X */
  .menu-toggle.active span:nth-child(1){ transform: rotate(45deg) translate(5px, 5px) }
  .menu-toggle.active span:nth-child(2){ opacity: 0 }
  .menu-toggle.active span:nth-child(3){ transform: rotate(-45deg) translate(6px, -6px) }

  /* menú oculto por defecto */
  #nav-links{
    position: fixed;
    top: 65px; right: 0;
    width: 240px; max-height: calc(100vh - 65px);
    display: flex; flex-direction: column; gap: 14px;
    background: rgba(26,28,34,.98);
    border-left: 1px solid rgba(255,255,255,.06);
    border-top: 1px solid rgba(255,255,255,.06);
    border-radius: 0 0 0 12px;
    padding: 16px;
    overflow:auto;

    opacity: 0; transform: translateX(100%);
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
    z-index: 3000;
  }

  /* visible al abrir */
  #nav-links.show{
    opacity: 1; transform: translateX(0);
    pointer-events: auto;
  }

  /* evita que otras reglas lo fuercen visible */
  header .navbar ul { display: flex !important; } /* base */
}

/* ===== DESKTOP (>=769px): menú siempre visible, sin hamburguesa ===== */
@media (min-width: 769px){
  #nav-links{ 
    position: static; display: flex !important; gap: 22px; 
    background: transparent; border: 0; padding: 0; 
    opacity: 1; transform: none; pointer-events: auto;
  }
  .menu-toggle{ display: none !important; }
                                        }
/* ===== ICONOS SECCIÓN "CÓMO FUNCIONA" ===== */
#how .steps {
  margin-top: 2rem;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

#how .steps > div {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 2rem 1.5rem 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#how .steps > div:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 26px rgba(0, 175, 216, 0.28);
}

/* ——— Iconos por cada paso ——— */
#how .steps > div::before {
  content: "";
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  width: 36px;
  height: 36px;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.95;
  filter: drop-shadow(0 2px 6px rgba(0,175,216,0.4));
}

/* Paso 1: Conéctate (icono plug) */
#how .steps > div:nth-child(1)::before {
  background-image: url("data:image/svg+xml,%3Csvg fill='%2300AFD8' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 7h3v6H7V7zm7 0h3v6h-3V7zM6 14h12v2a5 5 0 0 1-5 5h-2a5 5 0 0 1-5-5v-2z'/%3E%3C/svg%3E");
}

/* Paso 2: Recibe tu oferta (icono rayo) */
#how .steps > div:nth-child(2)::before {
  background-image: url("data:image/svg+xml,%3Csvg fill='%2300AFD8' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13 2L3 14h6l-2 8 10-12h-6l2-8z'/%3E%3C/svg%3E");
}

/* Paso 3: Devuelve fácil (icono billetera) */
#how .steps > div:nth-child(3)::before {
  background-image: url("data:image/svg+xml,%3Csvg fill='%2300AFD8' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 7H3a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h18a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2zm-3 6a2 2 0 1 1 0-4 2 2 0 0 1 0 4z'/%3E%3C/svg%3E");
}

/* espacio adicional para el icono */
#how .steps h3 {
  padding-left: 3.2rem;
  margin-bottom: 0.5rem;
  color: var(--booh-blue);
}


/* ===== IA PRICING SECTION ===== */
#ai {
  background: linear-gradient(160deg, #0C0E14, #171922);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 6rem 2rem;
}

#ai .ai-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  gap: 2.5rem;
  flex-wrap: wrap;
}

#ai .ai-text {
  flex: 1 1 400px;
}

#ai .ai-text h2 {
  color: var(--booh-blue);
  font-size: 2rem;
  margin-bottom: 1rem;
}

#ai .ai-text p {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.6;
}

#ai .ai-image {
  flex: 1 1 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#ai .ai-image img {
  width: 100%;
  max-width: 480px;
  border-radius: 16px;
  box-shadow: 0 0 40px rgba(0,175,216,0.25);
  object-fit: cover;
  transition: transform 0.4s ease;
}

#ai .ai-image img:hover {
  transform: scale(1.04);
}

/* Responsive */
@media (max-width: 768px) {
  #ai .ai-content {
    flex-direction: column;
    text-align: center;
  }

  #ai .ai-image img {
    max-width: 90%;
    margin-top: 1.5rem;
  }
}

/* ===== Ajuste de espaciado IA Pricing ===== */
#ai {
  padding: 4rem 2rem 5rem; /* menos padding arriba */
}

#ai .ai-content {
  align-items: flex-start; /* alinea arriba */
  gap: 1.5rem;             /* reduce separación */
}

#ai .ai-image {
  margin-top: 1rem;        /* ajusta espacio superior */
}

#ai .ai-image img {
  margin-top: 0;
  max-width: 420px;        /* un poco más pequeño */
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 0 30px rgba(0,175,216,0.25);
  object-fit: cover;
}


/* ===== IA Pricing 100% vertical en móvil ===== */
@media (max-width: 768px) {
  #ai {
    padding: 3rem 1.5rem;
  }

  /* disposición en columna */
  #ai .ai-content {
    display: block !important;      /* anula el flex horizontal */
    text-align: center;
  }

  #ai .ai-text {
    margin-bottom: 1.5rem;
  }

  #ai .ai-image {
    margin: 0 auto;
    text-align: center;
  }

  #ai .ai-image img {
    width: 90%;
    max-width: 380px;
    margin: 0 auto;
    display: block;
  }
}

/* ===== Ajuste tamaño logo Booh Finance ===== */
.navbar .logo {
  height: 58px !important;  /* antes 34px */
  width: auto;
  object-fit: contain;
  transition: height 0.3s ease;
}

/* Un poco más pequeño en móvil */
@media (max-width: 768px) {
  .navbar .logo {
    height: 50px !important;
  }
}


/* ===== Ajuste total del simulador en móviles ===== */
@media (max-width: 768px) {

  /* Sección general */
  #simulator {
    padding: 2rem 1rem;
  }

  /* Disposición vertical */
  .simu {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }

  /* Formulario ocupa todo el ancho */
  .simu-form {
    padding: 1rem;
    border-radius: 12px;
  }

  .grid-2 {
    grid-template-columns: 1fr !important;
    gap: 0.8rem;
  }

  /* Inputs más cómodos en móvil */
  .field input,
  .field select {
    width: 100%;
    font-size: 1rem;
    padding: 12px 14px;
  }

  .hint {
    font-size: 0.9rem;
  }

  /* Botón centrado y más grande */
  .cta {
    width: 100%;
    font-size: 1.05rem;
    padding: 14px;
    border-radius: 10px;
  }

  /* Resultados */
  .simu-result .cards {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }

  .simu-result .card {
    text-align: center;
    padding: 1rem;
  }

  /* Tabla de pagos */
  .schedule {
    max-height: none;
    overflow-x: auto;
  }

  /* Avisos */
  #simuResult div[style*='color:#ffb347'] {
    text-align: center;
    font-size: 0.95rem;
    margin-top: 1rem !important;
  }
}


/*simulador*/

    #simulator h2 {
      color: #00AFD8;
      margin-bottom: 1rem;
      margin-top: 40px;
    }

    .simu {
      display: grid;
      gap: 2rem;
      grid-template-columns: 1fr 1.2fr;
    }

    .simu-form {
      background: #1A1C22;
      border: 1px solid rgba(255, 255, 255, .06);
      border-radius: 14px;
      padding: 1.25rem;
      display: grid;
      gap: 1rem;
    }

    .grid-2 {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1rem;
    }

    .field {
      display: grid;
      gap: .35rem;
    }

    .field label {
      color: #B0B3B8;
      font-size: .95rem;
    }

    .field input,
    .field select {
      background: #12141C;
      color: #F4F4F4;
      border: 1px solid rgba(255, 255, 255, .1);
      border-radius: 10px;
      padding: 10px 12px;
      outline: none;
      transition: .2s;
    }

    .field input:focus,
    .field select:focus {
      border-color: #00AFD8;
      box-shadow: 0 0 0 3px rgba(0, 175, 216, .15);
    }

    .hint {
      color: #B0B3B8;
      font-size: .85rem;
    }

    .readonly {
      background: #101218;
      color: #00AFD8;
      font-weight: 600;
    }

    .cta {
      background: #00AFD8;
      color: #061017;
      border: 0;
      padding: 12px 18px;
      border-radius: 12px;
      font-weight: 700;
      cursor: pointer;
      transition: .25s;
    }

    .cta:hover {
      transform: translateY(-2px);
      box-shadow: 0 0 14px rgba(0, 175, 216, .35);
    }

    .simu-result .cards {
      display: grid;
      gap: 1rem;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }

    .simu-result .card {
      background: #1A1C22;
      border-radius: 14px;
      padding: 1rem;
      border: 1px solid rgba(255, 255, 255, .06);
    }

    .simu-result .card h4 {
      color: #00AFD8;
      margin-bottom: .4rem;
    }

    .simu-result .card p {
      font-size: 1.15rem;
    }

    .schedule {
      margin-top: 1rem;
      background: rgba(26, 28, 34, .6);
      border: 1px solid rgba(255, 255, 255, .06);
      border-radius: 12px;
      overflow: auto;
      max-height: 420px;
    }

    .schedule table {
      width: 100%;
      border-collapse: collapse;
      font-size: .95rem;
    }

    .schedule th,
    .schedule td {
      padding: .75rem .9rem;
      border-bottom: 1px solid rgba(255, 255, 255, .06);
      text-align: right;
    }

    .schedule th:first-child,
    .schedule td:first-child {
      text-align: left;
    }

    @media (max-width: 900px) {
      .simu {
        grid-template-columns: 1fr;
      }
    }
    
    /* ===== Ajuste tamaño logo Booh Finance ===== */
.navbar .logo {
  height: 58px !important;  /* antes 34px */
  width: auto;
  object-fit: contain;
  transition: height 0.3s ease;
}

/* Un poco más pequeño en móvil */
@media (max-width: 768px) {
  .navbar .logo {
    height: 50px !important;
  }
      }




/* ===== IA Pricing (con imagen) ===== */
#ai {
  background:#0E1015;
  border-top:1px solid rgba(255,255,255,0.05);
  padding:4rem 2rem;
  text-align:left;
}

#ai h2 {
  color:#00AFD8;
  text-align:center;
  margin-bottom:2rem;
}

.ai-content {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:3rem;
  flex-wrap:wrap;
  max-width:1100px;
  margin:0 auto;
}

.ai-text {
  flex:1;
  min-width:320px;
}

.ai-text ul {
  list-style:none;
  margin-top:1rem;
  line-height:1.7;
}

.ai-text li::before {
  content:"•";
  color:#00AFD8;
  margin-right:8px;
}

.ai-pricing {
  background:#1A1C22;
  border:1px solid rgba(255,255,255,0.08);
  border-radius:14px;
  padding:1.5rem;
  margin-top:1.5rem;
}

.pricing-card {
  background:rgba(255,255,255,0.04);
  padding:1.2rem;
  border-radius:10px;
  margin-bottom:1rem;
  text-align:center;
}

.pricing-card .price-now {
  font-size:1.3rem;
  font-weight:700;
  color:#00AFD8;
}

.pricing-card .contract {
  font-size:0.95rem;
  color:#B0B3B8;
  margin:0.5rem 0;
}

.pricing-card .price-after {
  font-size:1rem;
  color:#F4F4F4;
}

.ai-image {
  flex:1;
  min-width:300px;
  display:flex;
  justify-content:center;
}

.ai-image img {
  width:100%;
  max-width:480px;
  border-radius:16px;
  box-shadow:0 0 20px rgba(0,175,216,0.15);
}

/* Responsive */
@media (max-width:768px){
  #ai {padding:2.5rem 1.2rem;}
  .ai-content {flex-direction:column-reverse;text-align:center;}
  .ai-image img {max-width:100%;margin-top:1.5rem;}
}

/* ===== Corrección de solapamiento del botón IA Pricing ===== */
#ai .ai-pricing {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  position: relative;
}

#ai .ai-pricing .hint {
  margin-bottom: 1rem;
  text-align: center;
  line-height: 1.5;
}

#ai .ai-pricing .cta {
  margin-top: 0.8rem;
  margin-bottom: 0; /* Evita que el botón empuje el contenedor */
  z-index: 1;
}

/* En móvil, más espacio y alineación centrada */
@media (max-width: 768px) {
  #ai .ai-pricing {
    padding-bottom: 1.5rem;
  }

  #ai .ai-pricing .cta {
    width: 100%;
    text-align: center;
    margin-top: 1rem;
  }
}


/* === IA Scoring v2 — Mobile-first, glass & gradient === */
#scoring{
  --booh:#00AFD8;
  --bg1:#0B0C10;
  --bg2:#0F1117;
  --panel:rgba(255,255,255,.06);
  --text:#E8EAED;
  --muted:#B0B3B8;

  position: relative;
  padding: 64px 16px;
  color: var(--text);
  background:
    radial-gradient(80% 60% at 50% -10%, rgba(0,175,216,.18), transparent 60%),
    linear-gradient(180deg, var(--bg1), var(--bg2));
  overflow: hidden;
}

#scoring h2{
  text-align:center;
  color:var(--booh);
  font-weight:800;
  letter-spacing:.2px;
  margin:0 0 28px;
}

.scoring-wrapper{
  display:grid;
  gap:20px;
  max-width:1100px;
  margin:0 auto;
}

/* Imagen arriba en móvil, lado a lado en desktop */
.scoring-image{
  order:-1;
  display:flex;
  justify-content:center;
}
.scoring-image img{
  width:100%;
  max-width:680px;
  border-radius:18px;
  box-shadow:0 12px 40px rgba(0,0,0,.35);
  outline:1px solid rgba(255,255,255,.06);
}

/* Tarjeta principal de texto */
.scoring-text{
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border:1px solid var(--panel);
  border-radius:16px;
  padding:18px;
  backdrop-filter:saturate(140%) blur(6px);
}

.scoring-text p{
  color:var(--text);
  opacity:.92;
  line-height:1.65;
}

/* Lista de puntos */
.score-list{
  list-style:none;
  margin:14px 0 0;
  padding:0;
  display:grid;
  gap:10px;
}
.score-list li{
  padding:10px 12px;
  border:1px solid var(--panel);
  border-radius:12px;
  background:rgba(255,255,255,.03);
  color:#D7D9DE;
}

/* Tabla de bandas */
.score-table{
  margin-top:16px;
  background:rgba(255,255,255,.04);
  border:1px solid var(--panel);
  border-radius:14px;
  overflow:hidden;
}
.score-table h3{
  margin:0;
  padding:12px 14px;
  color:var(--booh);
  border-bottom:1px solid var(--panel);
  background:rgba(0,175,216,.06);
  font-weight:700;
}
.score-table table{
  width:100%;
  border-collapse:collapse;
  font-size:.95rem;
}
.score-table th,.score-table td{
  padding:12px 14px;
  border-bottom:1px solid rgba(255,255,255,.06);
}
.score-table th{
  text-transform:uppercase;
  font-size:.78rem;
  letter-spacing:.5px;
  color:#aeb3b9;
}
.tag{
  display:inline-block;
  padding:4px 10px;
  border-radius:999px;
  font-weight:700;
  font-size:.82rem;
}
.tag-low{  background:rgba(0,200,120,.15); color:#20d08a; }
.tag-mid{  background:rgba(250,180,70,.15); color:#ffbf55; }
.tag-high{ background:rgba(255,90,90,.15);  color:#ff6b6b; }

/* Tooltips rediseñados */
.tooltip{
  position:relative;
  cursor:help;
  border-bottom:1px dotted rgba(255,255,255,.45);
}
.tooltip::after{
  content:attr(data-tip);
  position:absolute;
  left:50%;
  bottom:125%;
  transform:translateX(-50%);
  background:#0E121A;
  color:#F5F7FA;
  border:1px solid rgba(255,255,255,.12);
  border-radius:8px;
  padding:8px 10px;
  width:min(260px,80vw);
  box-shadow:0 8px 24px rgba(0,0,0,.35);
  opacity:0; pointer-events:none; transition:.2s;
}
.tooltip:hover::after{ opacity:1; }

/* CTA consistente y visible */
#scoring .cta{
  display:inline-block;
  margin-top:16px;
  padding:14px 22px;
  background:var(--booh);
  color:#0B0C10;
  border:none;
  border-radius:12px;
  font-weight:800;
  letter-spacing:.2px;
  box-shadow:0 8px 22px rgba(0,175,216,.35);
  transition:transform .18s ease, box-shadow .18s ease;
}
#scoring .cta:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 26px rgba(0,175,216,.5);
}

/* —— Desktop layout —— */
@media (min-width: 980px){
  .scoring-wrapper{
    grid-template-columns: 1fr 1.1fr; /* imagen | texto */
    align-items:center;
  }
  .scoring-image{ order:0; }
  .scoring-text{ padding:22px; }
}

/* Espaciados finos en pantallas muy pequeñas */
@media (max-width: 380px){
  #scoring{ padding:48px 12px; }
  .score-table th,.score-table td{ padding:10px 12px; }
  }


/* === Ventajas (Sección Benefits) === */
#benefits {
  background: linear-gradient(180deg, #0B0C10 0%, #0E1015 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 4rem 2rem;
  color: #F4F4F4;
  text-align: center;
  position: relative;
  overflow: hidden;
}

#benefits::before {
  content: "";
  position: absolute;
  top: -20%;
  left: -20%;
  width: 140%;
  height: 140%;
  background: radial-gradient(circle at center, rgba(0, 175, 216, 0.1) 0%, transparent 70%);
  z-index: 0;
}

#benefits h2 {
  position: relative;
  z-index: 1;
  color: #00AFD8;
  font-size: 2.2rem;
  margin-bottom: 2rem;
  font-weight: 800;
}

#benefits .benefits {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
  max-width: 950px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  position: relative;
  z-index: 1;
}

/* Tarjetas individuales */
#benefits .benefits li {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 1.5rem 1.2rem;
  font-size: 1.05rem;
  color: #E8EAED;
  font-weight: 500;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 130px;
  backdrop-filter: blur(4px);
}

/* Íconos decorativos opcionales */
#benefits .benefits li::before {
  content: "✨";
  display: block;
  font-size: 1.6rem;
  color: #00AFD8;
  margin-bottom: 0.6rem;
  transition: transform 0.25s ease;
}

/* Hover / efecto visual */
#benefits .benefits li:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0, 175, 216, 0.25);
  border-color: rgba(0, 175, 216, 0.3);
}

#benefits .benefits li:hover::before {
  transform: scale(1.3) rotate(5deg);
}

/* Botón CTA debajo de las ventajas */
#benefits button {
  margin-top: 2rem;
  background: #00AFD8;
  color: #0B0C10;
  font-weight: 700;
  border: none;
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 24px rgba(0,175,216,0.3);
}

#benefits button:hover {
  background: #04C3F0;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0,175,216,0.4);
}

/* Modo responsive */
@media (max-width: 768px) {
  #benefits {
    padding: 3rem 1.2rem;
  }
  #benefits .benefits li {
    font-size: 1rem;
  }
  #benefits h2 {
    font-size: 1.8rem;
  }
}

/* ==== IA SCORING ==== */
.ia-scoring {
  padding: 80px 20px;
  text-align: center;
}

.section-title {
  font-size: 2.4rem;
  color: #00afd8;
  font-weight: 700;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 50px;
}

.scoring-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.scoring-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  padding: 30px;
  transition: transform 0.3s ease;
}

.scoring-card:hover {
  transform: translateY(-6px);
}

.scoring-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.1));
}

.scoring-card h3 {
  color: #00afd8;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.scoring-card p {
  color: #555;
  font-size: 1rem;
  line-height: 1.5;
}

.scoring-image img {
  max-width: 900px;
  width: 100%;
  border-radius: 15px;
  margin: 40px auto;
  display: block;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.cta-box {
  margin-top: 40px;
}

.cta-box p {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 20px;
}

.cta-button {
  display: inline-block;


  /* =======================================================
   🌐 IA SCORING PAGE (Booh Finance)
   ======================================================= */

/* ==========================================================
   💠 BOOH SCORING (booh-scoring.html)
   ========================================================== */

/* ====== HEADER ====== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 11, 18, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 6px;
  text-decoration: none;
}
.brand-mark {
  color: var(--booh-blue, #00AFD8);
  font-weight: 900;
  letter-spacing: 0.5px;
  font-size: 1.3rem;
}
.brand-sub {
  color: var(--text-muted, #A0B3C5);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
}
.main-nav a {
  color: var(--text, #E6F1FA);
  text-decoration: none;
  margin-left: 18px;
  opacity: 0.8;
  font-weight: 500;
  transition: opacity 0.2s ease;
}
.main-nav a:hover {
  opacity: 1;
}

/* ====== HERO ====== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 65vh;
  overflow: hidden;
  color: var(--text);
  background: linear-gradient(180deg, #08111A 0%, #05080E 100%);
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 40%, rgba(0,175,216,0.25), rgba(0,0,0,0.85));
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
  max-width: 760px;
}
.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
  font-weight: 900;
}
.hero p {
  color: var(--text-muted, #A0B3C5);
  margin-bottom: 24px;
  line-height: 1.6;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ====== BUTTONS ====== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s ease;
}
.btn-primary {
  background: linear-gradient(180deg, #00AFD8, #28E1FF);
  color: #001018;
  border: none;
}
.btn-primary:hover {
  transform: translateY(-2px);
}
.btn-ghost {
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  color: var(--text, #E6F1FA);
}

/* ====== SECTIONS ====== */
.section {
  padding: 80px 0;
}
.section-alt {
  background: linear-gradient(180deg, #0A111B 0%, #05080E 100%);
}
.section-title {
  font-size: 2rem;
  margin-bottom: 40px;
  text-align: center;
}

/* ====== "CÓMO FUNCIONA" ====== */
#como-funciona .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
#como-funciona .step {
  position: relative;
  background: var(--card, #0F1622);
  border-radius: 16px;
  padding: 30px 24px 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  transition: transform 0.25s ease, background 0.25s ease;
}
#como-funciona .step:hover {
  transform: translateY(-4px);
  background: #101b2a;
}
#como-funciona .step-number {
  position: absolute;
  top: -18px;
  left: -18px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: #001018;
  background: linear-gradient(180deg, var(--booh-blue, #00AFD8), #27E1FF);
  box-shadow: 0 10px 24px rgba(0,0,0,.35);
}

/* ====== FORMULARIO ====== */
#inputs .form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
#inputs .form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
#inputs .form-field label {
  font-weight: 600;
  color: var(--text);
}
#inputs .form-field input,
#inputs .form-field select {
  background: var(--bg-soft, #0B1018);
  color: var(--text, #E6F1FA);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 10px 12px;
  outline: none;
  transition: border 0.25s ease;
}
#inputs .form-field input:focus,
#inputs .form-field select:focus {
  border-color: var(--booh-blue, #00AFD8);
}
#inputs .form-field input::placeholder {
  color: var(--text-muted, #8AA0B4);
}
#inputs .form-actions {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 20px;
}
#inputs .hint {
  color: var(--text-muted, #8AA0B4);
  font-size: 0.9rem;
  margin-top: 8px;
}

/* ====== GAUGE RESULTADO ====== */
.gauge-wrap {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1 / 0.6;
  margin: 0 auto;
}
.gauge-arc {
  width: 100%;
  height: 100%;
  background: conic-gradient(
    #FF6B6B 0turn,
    #FF6B6B 0.2turn,
    #F6C344 0.35turn,
    #20D489 0.5turn,
    transparent 0.5turn
  );
  -webkit-mask:
    radial-gradient(100% 100% at 50% 100%, transparent 56%, #000 56.5%),
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  border-bottom-left-radius: 999px;
  border-bottom-right-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
}
.gauge-needle {
  --needle: 72;
  position: absolute;
  bottom: 6%;
  left: 50%;
  width: 2px;
  height: 46%;
  background: #fff;
  transform-origin: 50% 100%;
  transform: translateX(-50%) rotate(calc(-90deg + (var(--needle) * 1.8deg)));
  transition: transform 1s ease-out;
}
.gauge-label {
  position: absolute;
  bottom: 12%;
  left: 50%;
  transform: translateX(-50%);
  font-weight: 900;
  font-size: 1.5rem;
  text-align: center;
  color: var(--text);
}
.legend {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 0;
  margin-top: 14px;
  color: var(--text-muted, #8AA0B4);
}
.legend .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 6px;
}
.legend .dot-low  { background: #20D489; }
.legend .dot-mid  { background: #F6C344; }
.legend .dot-high { background: #FF6B6B; }

/* ====== PANEL RESULTADO ====== */
#resultado .kv {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}
#resultado .kv .k {
  color: var(--text-muted, #8AA0B4);
}
#resultado .kv .v {
  font-weight: 700;
}
#resultado .note {
  font-size: 0.85rem;
  color: var(--text-muted, #8AA0B4);
  margin-top: 12px;
}

/* ====== FAQ ====== */
#faq .accordion details {
  background: var(--card, #0F1622);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 10px;
}
#faq .accordion summary {
  font-weight: 600;
  cursor: pointer;
  color: var(--text);
}

/* ====== RESPONSIVE ====== */
@media (max-width: 900px) {
  .hero-content { text-align: center; }
  .hero-ctas { justify-content: center; }
  #resultado .grid-2 { grid-template-columns: 1fr; }
}
/* ==========================================================
   BOOH SCORING – estilos específicos (coincide 100% con HTML)
   ========================================================== */

/* ====== HEADER ====== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 11, 18, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 6px;
  text-decoration: none;
}
.brand-mark {
  color: var(--booh-blue, #00AFD8);
  font-weight: 900;
  letter-spacing: 0.5px;
  font-size: 1.3rem;
}
.brand-sub {
  color: var(--text-muted, #A0B3C5);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
}
.main-nav a {
  color: var(--text, #E6F1FA);
  text-decoration: none;
  margin-left: 18px;
  opacity: 0.8;
  font-weight: 500;
  transition: opacity 0.2s ease;
}
.main-nav a:hover {
  opacity: 1;
}

/* ====== HERO ====== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 65vh;
  overflow: hidden;
  color: var(--text);
  background: linear-gradient(180deg, #08111A 0%, #05080E 100%);
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 40%, rgba(0,175,216,0.25), rgba(0,0,0,0.85));
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
  max-width: 760px;
}
.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
  font-weight: 900;
}
.hero p {
  color: var(--text-muted, #A0B3C5);
  margin-bottom: 24px;
  line-height: 1.6;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ====== BOTONES ====== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s ease;
}
.btn-primary {
  background: linear-gradient(180deg, #00AFD8, #28E1FF);
  color: #001018;
  border: none;
}
.btn-primary:hover {
  transform: translateY(-2px);
}
.btn-ghost {
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  color: var(--text, #E6F1FA);
}

/* ====== SECCIONES ====== */
.section {
  padding: 80px 0;
}
.section-alt {
  background: linear-gradient(180deg, #0A111B 0%, #05080E 100%);
}
.section-title {
  font-size: 2rem;
  margin-bottom: 40px;
  text-align: center;
}

/* ====== “CÓMO FUNCIONA” ====== */
#como-funciona .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
#como-funciona .step {
  position: relative;
  background: var(--card, #0F1622);
  border-radius: 16px;
  padding: 30px 24px 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  transition: transform 0.25s ease, background 0.25s ease;
}
#como-funciona .step:hover {
  transform: translateY(-4px);
  background: #101b2a;
}
#como-funciona .step-number {
  position: absolute;
  top: -18px;
  left: -18px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: #001018;
  background: linear-gradient(180deg, var(--booh-blue, #00AFD8), #27E1FF);
  box-shadow: 0 10px 24px rgba(0,0,0,.35);
}

/* ====== FORMULARIO ====== */
#inputs .form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
#inputs .form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
#inputs .form-field label {
  font-weight: 600;
  color: var(--text);
}
#inputs .form-field input,
#inputs .form-field select {
  background: var(--bg-soft, #0B1018);
  color: var(--text, #E6F1FA);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 10px 12px;
  outline: none;
  transition: border 0.25s ease;
}
#inputs .form-field input:focus,
#inputs .form-field select:focus {
  border-color: var(--booh-blue, #00AFD8);
}
#inputs .form-field input::placeholder {
  color: var(--text-muted, #8AA0B4);
}
#inputs .form-actions {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 20px;
}
#inputs .hint {
  color: var(--text-muted, #8AA0B4);
  font-size: 0.9rem;
  margin-top: 8px;
}

/* ====== RESULTADO ====== */
#resultado .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  align-items: start;
}

/* Gauge */
.gauge {
  background: var(--card, #0F1622);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
}
.gauge-wrap {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1 / 0.6;
  margin: 0 auto;
}
.gauge-arc {
  width: 100%;
  height: 100%;
  background: conic-gradient(
    #FF6B6B 0turn,
    #FF6B6B 0.2turn,
    #F6C344 0.35turn,
    #20D489 0.5turn,
    transparent 0.5turn
  );
  -webkit-mask:
    radial-gradient(100% 100% at 50% 100%, transparent 56%, #000 56.5%),
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  border-bottom-left-radius: 999px;
  border-bottom-right-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
}
.gauge-needle {
  --needle: 72;
  position: absolute;
  bottom: 6%;
  left: 50%;
  width: 2px;
  height: 46%;
  background: #fff;
  transform-origin: 50% 100%;
  transform: translateX(-50%) rotate(calc(-90deg + (var(--needle) * 1.8deg)));
  transition: transform 1s ease-out;
}
.gauge-label {
  position: absolute;
  bottom: 12%;
  left: 50%;
  transform: translateX(-50%);
  font-weight: 900;
  font-size: 1.5rem;
  text-align: center;
  color: var(--text);
}

/* Leyenda */
.legend {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 0;
  margin-top: 14px;
  color: var(--text-muted, #8AA0B4);
}
.legend .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 6px;
}
.legend .dot-low  { background: #20D489; }
.legend .dot-mid  { background: #F6C344; }
.legend .dot-high { background: #FF6B6B; }

/* Panel derecho */
#resultado .card {
  background: var(--card, #0F1622);
  border-radius: 16px;
  padding: 20px;
}
#resultado .kv {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}
#resultado .kv .k { color: var(--text-muted, #8AA0B4); }
#resultado .kv .v { font-weight: 700; }
#resultado .note {
  font-size: 0.85rem;
  color: var(--text-muted, #8AA0B4);
  margin-top: 12px;
}

/* ====== FAQ ====== */
#faq .accordion details {
  background: var(--card, #0F1622);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 10px;
}
#faq .accordion summary {
  font-weight: 600;
  cursor: pointer;
  color: var(--text);
}

/* ====== RESPONSIVE ====== */
@media (max-width: 900px) {
  .hero-content { text-align: center; }
  .hero-ctas { justify-content: center; }
  }

/* === IA SCORING === */

#como-funciona .step { position: relative; padding-top: 28px; }
#como-funciona .step-number {
  position: absolute; top: -14px; left: -14px;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 900; color: #001018;
  background: linear-gradient(180deg, var(--booh-blue, #00AFD8), #28E1FF);
  box-shadow: 0 8px 20px rgba(0,0,0,.3);
}

/* FORMULARIO */
#inputs .form-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
#inputs .form-field {
  display: flex; flex-direction: column; gap: 6px;
}
#inputs .form-field input, #inputs .form-field select {
  background: var(--bg-soft, #0B1018);
  color: var(--text, #E6F1FA);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px; padding: 10px 12px;
}
#inputs .form-actions { grid-column: 1 / -1; text-align: center; margin-top: 15px; }

/* GAUGE */
.gauge-wrap {
  position: relative; width: 100%; max-width: 400px;
  aspect-ratio: 1 / 0.6; margin: 0 auto;
}
.gauge-arc {
  width: 100%; height: 100%;
  background: conic-gradient(#FF6B6B 0turn, #FF6B6B 0.2turn, #F6C344 0.35turn, #20D489 0.5turn, transparent 0.5turn);
  -webkit-mask: radial-gradient(100% 100% at 50% 100%, transparent 56%, #000 56.5%), linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  border-bottom-left-radius: 999px; border-bottom-right-radius: 999px;
}
.gauge-needle {
  --needle: 70;
  position: absolute; bottom: 6%; left: 50%;
  width: 2px; height: 46%; background: white;
  transform-origin: 50% 100%;
  transform: translateX(-50%) rotate(calc(-90deg + (var(--needle) * 1.8deg)));
  transition: transform 1s ease-out;
}
.gauge-label {
  position: absolute; bottom: 12%; left: 50%; transform: translateX(-50%);
  font-weight: 900; font-size: 1.5rem;
}

/* LEYENDA */
.legend { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 12px; color: var(--text-muted, #8AA0B4); }
.legend .dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; margin-right: 6px; }
.legend .dot-low { background: #20D489; }
.legend .dot-mid { background: #F6C344; }
.legend .dot-high { background: #FF6B6B; }

#resultado .kv { display: grid; gap: 6px; margin-top: 10px; }
#resultado .kv .k { color: var(--text-muted, #8AA0B4); }
#resultado .kv .v { font-weight: 700; }
#resultado .note { color: var(--text-muted, #8AA0B4); font-size: 0.85rem; margin-top: 10px; }
