/* =============================================================
   IAact — index.html  ·  estilos de página (v1.0 dark-premium)
   ============================================================= */

/* =============================================================
   HERO
   ============================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 150px 0 90px;
  background:
    radial-gradient(900px 520px at 78% 8%, rgba(59,111,191,0.22), transparent 60%),
    radial-gradient(700px 500px at 5% 90%, rgba(86,214,192,0.08), transparent 62%),
    var(--bg-900);
  overflow: hidden;
}
.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 440px; gap: 64px; align-items: center;
}
.hero__eyebrow { margin-bottom: 26px; }
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(42px, 5.6vw, 74px);
  font-weight: 800; line-height: 1.02; letter-spacing: -0.03em;
  color: #fff;
}
.hero__title .accent { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero__title .accent-amber { background: var(--grad-amber); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero__subtitle { font-size: 18px; color: var(--tx-mid); line-height: 1.7; margin: 26px 0 36px; max-width: 540px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 44px; }
.hero__social-proof { display: flex; align-items: center; gap: 18px; font-size: 15.5px; color: var(--tx-mid); flex-wrap: wrap; }
.hero__social-proof span { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.hero__social-proof span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 3px rgba(78,204,158,0.15); }
.hero__sp-divider { width: 1px; height: 16px; background: var(--hair); }

/* ─ Chat mockup (slide 0) ─ */
.chat-mockup { background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)); border: 1px solid var(--hair); border-radius: var(--radius-lg); padding: 20px; backdrop-filter: blur(10px); box-shadow: var(--shadow-lg); }
.chat-header { display: flex; align-items: center; gap: 10px; padding-bottom: 16px; border-bottom: 1px solid var(--hair-soft); margin-bottom: 16px; }
.chat-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--grad-brand); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 14px; color: #fff; flex-shrink: 0; }
.chat-name { font-size: 14px; font-weight: 600; color: #fff; }
.chat-status { font-size: 12px; color: var(--success); display: flex; align-items: center; gap: 5px; }
.chat-status::before { content: ''; display: block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chat-messages { display: flex; flex-direction: column; gap: 12px; min-height: 240px; }
.msg { max-width: 88%; }
.msg--norma .msg__bubble { background: rgba(59,111,191,0.22); border: 1px solid rgba(59,111,191,0.32); color: var(--tx-hi); border-radius: 6px 16px 16px 16px; font-size: 13.5px; line-height: 1.55; padding: 11px 14px; }
.msg--user { align-self: flex-end; }
.msg--user .msg__bubble { background: rgba(255,255,255,0.1); color: var(--tx-mid); border-radius: 16px 6px 16px 16px; font-size: 13.5px; line-height: 1.55; padding: 11px 14px; }

/* ─ Carousel ─ */
.hero-carousel { position: relative; width: 100%; }
.hc-indicators { display: flex; gap: 8px; justify-content: center; margin-bottom: 16px; }
.hc-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.2); border: none; cursor: pointer; padding: 0; transition: background 0.2s, transform 0.2s, width 0.2s; }
.hc-dot--active { background: var(--amber); width: 22px; border-radius: 5px; }
.hc-label { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--tx-lo); margin-bottom: 12px; }
.hc-label__dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; animation: pulse-dot 2s ease-in-out infinite; }
.hc-label__dot--blue { background: var(--daxia-blue); }
.hc-label__dot--amber { background: var(--amber); }
.hc-label__dot--green { background: var(--success); }
@keyframes pulse-dot { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.hc-slide { display: none; animation: hc-fadein 0.5s ease; }
.hc-slide--active { display: block; }
.hero-carousel .hc-slide img { width: 100%; height: auto; }
@keyframes hc-fadein { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* =============================================================
   URGENCY — bento de datos
   ============================================================= */
.urgency { padding: 56px 0; background: var(--bg-850); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.urgency__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.urgency__card { position: relative; background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015)); border: 1px solid var(--hair); border-radius: var(--radius-lg); padding: 32px 34px; overflow: hidden; transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s; }
.urgency__card::before { content: ''; position: absolute; inset: 0; pointer-events: none; }
.urgency__card:hover { transform: translateY(-4px); box-shadow: 0 18px 42px rgba(0,0,0,0.35); }
.urgency__card--amber::before { background: radial-gradient(120% 140% at 0% 0%, rgba(245,166,35,0.14), transparent 60%); }
.urgency__card--amber:hover { border-color: rgba(245,166,35,0.4); }
.urgency__card--red::before { background: radial-gradient(120% 140% at 0% 0%, rgba(224,90,90,0.14), transparent 60%); }
.urgency__card--red:hover { border-color: rgba(224,90,90,0.4); }
.urgency__card--ai::before { background: radial-gradient(120% 140% at 0% 0%, rgba(91,141,224,0.16), transparent 60%); }
.urgency__card--ai:hover { border-color: rgba(91,141,224,0.4); }
.urgency__card--spain::before { background: radial-gradient(120% 140% at 0% 0%, rgba(241,191,0,0.12), transparent 60%); }
.urgency__card--spain:hover { border-color: rgba(241,191,0,0.4); }

.urgency__icon { position: relative; width: 46px; height: 46px; margin-bottom: 20px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; }
.urgency__icon svg { width: 22px; height: 22px; }
.urgency__icon--amber { background: rgba(245,166,35,0.12); border: 1px solid rgba(245,166,35,0.3); color: var(--amber); }
.urgency__icon--red { background: rgba(224,90,90,0.12); border: 1px solid rgba(224,90,90,0.3); color: #F0797D; }
.urgency__icon--spain { background: rgba(241,191,0,0.12); border: 1px solid rgba(241,191,0,0.3); color: #F1BF00; }
.urgency__icon--blue { background: rgba(91,141,224,0.16); border: 1px solid rgba(91,141,224,0.4); color: var(--blue-300); }

.urgency__big { position: relative; font-family: var(--font-display); font-size: clamp(28px, 3vw, 38px); font-weight: 800; letter-spacing: -0.02em; color: #fff; margin-bottom: 12px; line-height: 1.1; }
.urgency__big--amber, .urgency__big--spain { display: inline-block; width: fit-content; }
.urgency__big--amber { background: var(--grad-amber); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.urgency__big--red { color: #F09595; }
.urgency__big--spain { background: var(--grad-spain); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.urgency__label { position: relative; font-size: 14.5px; color: var(--tx-lo); line-height: 1.6; max-width: 42ch; }
.urgency__label strong { color: var(--tx-mid); font-weight: 600; }
.urgency__kicker { display: flex; width: fit-content; margin-bottom: 10px; }
.urgency__kicker--amber { background: rgba(199,133,26,0.14); border-color: rgba(199,133,26,0.35); color: var(--amber-dark); }
.urgency__kicker--red { background: rgba(194,59,58,0.14); border-color: rgba(194,59,58,0.35); color: #C23B3A; }
.urgency__kicker--spain { background: rgba(169,134,10,0.14); border-color: rgba(169,134,10,0.35); color: #A9860A; }

.ai-tools { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 24px; margin-bottom: 18px; }
.ai-tool { display: flex; align-items: center; gap: 9px; }
.ai-tool__icon { width: 28px; height: 28px; flex-shrink: 0; border-radius: 8px; overflow: hidden; display: flex; }
.ai-tool__icon svg { width: 100%; height: 100%; display: block; }
.ai-tool__name { font-family: var(--font-display); font-weight: 800; font-size: 21px; letter-spacing: -0.01em; }
.ai-tool--chatgpt .ai-tool__name { color: #74AA9C; }
.ai-tool--claude .ai-tool__name { color: #D97757; }
.ai-tool--copilot .ai-tool__name { background: var(--grad-copilot); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ai-tool--gemini .ai-tool__name { background: var(--grad-gemini); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

@media (max-width: 700px) {
  .urgency__grid { grid-template-columns: 1fr; }
  .urgency__card { padding: 26px 24px; }
}

/* =============================================================
   Genérico: cabecera de sección centrada
   ============================================================= */
.section { padding: 110px 0; position: relative; }
.section--alt { background: var(--bg-850); }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.sec-head .eyebrow { margin-bottom: 18px; }

/* =============================================================
   PROBLEM
   ============================================================= */
.problem { padding: 110px 0; background: var(--bg-900); }
.problem__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.problem__statement { font-family: var(--font-display); font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; line-height: 1.22; letter-spacing: -0.02em; color: #fff; }
.problem__statement .highlight { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.problem__copy { font-size: 16px; color: var(--tx-mid); line-height: 1.8; margin-top: 26px; }
.problem__copy p + p { margin-top: 16px; }
.problem__fears { display: flex; flex-direction: column; gap: 14px; }
.fear-card { position: relative; background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015)); border: 1px solid var(--hair); border-radius: var(--radius-md); padding: 22px 22px 22px 26px; overflow: hidden; transition: transform 0.2s, border-color 0.2s; }
.fear-card:hover { transform: translateY(-2px); border-color: rgba(255,255,255,0.18); }
.fear-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; }
.fear-card--red::before { background: linear-gradient(#F0797D, #E24B4A); }
.fear-card--amber::before { background: var(--grad-amber); }
.fear-card--blue::before { background: var(--grad-brand); }
.fear-card__title { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.fear-card__text { font-size: 14px; color: var(--tx-lo); line-height: 1.6; }
.problem__bridge { font-size: 18px; color: var(--tx-mid); line-height: 1.75; margin-top: 28px; max-width: 760px; }
.problem__bridge strong { color: #fff; }

/* =============================================================
   MITOS VS REALIDAD (tarjetas interactivas)
   ============================================================= */
.badge--red { background: rgba(224,90,90,0.14); border-color: rgba(224,90,90,0.32); color: #F0797D; }
.mito-card { padding: 24px 26px; }
.mito-card__tag { margin-bottom: 14px; }
.mito-card__mito { font-size: 16px; font-weight: 700; color: #fff; line-height: 1.5; }
.mito-card__reveal {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
  padding: 0; background: none; border: none; font-family: var(--font-body);
  font-size: 14px; font-weight: 600; color: var(--blue-300); cursor: pointer;
  transition: color 0.2s, gap 0.2s;
}
.mito-card__reveal:hover { color: var(--blue-400); gap: 11px; }
.mito-card__arrow { flex-shrink: 0; transition: transform 0.2s; }
.mito-card--open .mito-card__arrow { transform: rotate(180deg); }
.mito-card__answer { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--hair); }
.mito-card__answer .mito-card__tag { margin-bottom: 10px; }
.mito-card__text { font-size: 14px; color: rgba(255,255,255,0.54); line-height: 1.65; }
.mito-card__text strong { color: var(--tx-mid); font-weight: 600; }
.mito-card--open .mito-card__answer { animation: mitoReveal 0.35s ease; }
@keyframes mitoReveal { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

/* =============================================================
   DIAGNÓSTICO (solution)
   ============================================================= */
.solution { padding: 110px 0; background: var(--bg-850); position: relative; overflow: hidden; }
.solution::before { content: ''; position: absolute; top: -120px; left: 50%; transform: translateX(-50%); width: 900px; height: 500px; background: var(--glow-blue); pointer-events: none; }
.solution__header { text-align: center; max-width: 720px; margin: 0 auto; }
.solution__header .eyebrow { margin-bottom: 18px; justify-content: center; }
.diagnostico-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-top: 56px; }
.diagnostico-features { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; }
.diagnostico-feature { display: flex; gap: 14px; align-items: flex-start; }
.diagnostico-feature__icon { width: 42px; height: 42px; flex-shrink: 0; background: rgba(91,141,224,0.12); border: 1px solid rgba(91,141,224,0.25); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; }
.diagnostico-feature__icon svg { width: 20px; height: 20px; stroke: var(--blue-300); }
.diagnostico-feature__title { font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 4px; }
.diagnostico-feature__text { font-size: 13px; color: var(--tx-lo); line-height: 1.5; }
.diagnostico-card { position: relative; background: linear-gradient(160deg, rgba(59,111,191,0.28), rgba(20,25,38,0.6)); border: 1px solid rgba(91,141,224,0.35); border-radius: var(--radius-xl); padding: 44px 40px; text-align: center; box-shadow: var(--shadow-lg); backdrop-filter: blur(10px); overflow: hidden; }
.diagnostico-card::before { content: ''; position: absolute; top: -80px; right: -80px; width: 240px; height: 240px; background: var(--glow-blue); }
.diagnostico-card__precio { position: relative; display: flex; flex-direction: column; align-items: center; margin-bottom: 24px; }
.diagnostico-card__cero { font-family: var(--font-display); font-size: 84px; font-weight: 800; line-height: 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.diagnostico-card__label { font-size: 15px; color: var(--tx-mid); margin-top: 4px; }
.diagnostico-card__confianza { position: relative; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); padding: 22px 0; }
.diagnostico-card__confianza span { font-size: 14px; color: var(--tx-hi); font-weight: 500; }
.diagnostico-card__nota { font-size: 12px; color: var(--tx-lo); margin-top: 14px; margin-bottom: 0; }

/* =============================================================
   HOW IT WORKS
   ============================================================= */
.how { padding: 110px 0; background: var(--bg-900); position: relative; overflow: hidden; }
.how::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 900px; height: 900px; background: var(--glow-blue); pointer-events: none; }
.how__header { text-align: center; margin-bottom: 64px; position: relative; z-index: 1; }
.how__header .eyebrow { justify-content: center; margin-bottom: 18px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; z-index: 1; }
.step { position: relative; background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015)); border: 1px solid var(--hair); border-radius: var(--radius-lg); padding: 34px 28px; transition: transform 0.2s, border-color 0.2s; }
.step:hover { transform: translateY(-4px); border-color: rgba(91,141,224,0.4); }
.step__num { width: 52px; height: 52px; border-radius: 14px; background: var(--grad-brand); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; font-family: var(--font-display); font-size: 20px; font-weight: 800; color: #fff; box-shadow: 0 8px 22px rgba(59,111,191,0.35); }
.step__title { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.step__text { font-size: 14px; color: var(--tx-lo); line-height: 1.6; }

/* =============================================================
   TEAM
   ============================================================= */
.team { padding: 110px 0; background: var(--bg-850); }
.team__header { text-align: center; margin-bottom: 60px; }
.team__header .eyebrow { justify-content: center; margin-bottom: 18px; }
.team__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.team-card { background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015)); border: 1px solid var(--hair); border-radius: var(--radius-xl); padding: 38px; display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: start; transition: transform 0.2s, border-color 0.2s; }
.team-card:hover { transform: translateY(-4px); border-color: rgba(91,141,224,0.4); }
.team-avatar { width: 92px; height: 92px; border-radius: 50%; overflow: hidden; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 30px; font-weight: 800; flex-shrink: 0; border: 2px solid var(--hair); }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-avatar--daxia { background: rgba(59,111,191,0.18); color: var(--blue-300); }
.team-avatar--delsi { background: rgba(78,204,158,0.15); color: var(--success); }
.team-card__name { font-family: var(--font-display); font-size: 21px; font-weight: 800; color: #fff; margin-bottom: 4px; }
.team-card__role { font-size: 12px; font-weight: 600; color: var(--blue-300); text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 14px; }
.team-card__bio { font-size: 14px; color: var(--tx-lo); line-height: 1.7; }

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 960px) {
  .hero { min-height: auto; padding: 140px 0 70px; }
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-carousel { max-width: 440px; }
  .problem__grid { grid-template-columns: 1fr; gap: 44px; }
  .diagnostico-grid { grid-template-columns: 1fr; gap: 44px; }
  .steps { grid-template-columns: 1fr; }
  .team__grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .diagnostico-features { grid-template-columns: 1fr; }
  .team-card { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 18px; }
}

/* Portátiles / pantallas de poca altura: el hero (con su CTA) cabe sin scroll.
   Solo aplica en escritorio (>960px) y cuando la ventana es baja; el monitor alto no se toca. */
@media (min-width: 961px) and (max-height: 940px) {
  .hero { padding: 88px 0 44px; }
  .hero__grid { gap: 48px; }
  .hero__eyebrow { margin-bottom: 16px; }
  .hero__title { font-size: clamp(34px, min(4.8vw, 7vh), 60px); }
  .hero__subtitle { font-size: 16px; line-height: 1.55; margin: 16px 0 22px; }
  .hero__actions { margin-bottom: 22px; }
  .hc-label { margin-bottom: 8px; }
  .hero-carousel .hc-slide img { max-height: 58vh; width: auto; max-width: 100%; margin: 0 auto; }
}
@media (min-width: 961px) and (max-height: 760px) {
  .hero { padding: 80px 0 36px; }
  .hero__title { font-size: clamp(30px, min(4.4vw, 6.4vh), 50px); }
  .hero__subtitle { margin: 12px 0 18px; }
  .hero__actions { margin-bottom: 16px; }
  .hero-carousel .hc-slide img { max-height: 52vh; }
}
