/* ============================================================
   Ospita — landing page
   Tokens heredados del design system del producto:
   rose #f43f5e · teal #0d9488 · bg #faf9f9 · panel #fffefe
   border #eceaea · Outfit · radii 6/10/16 · sombras suaves
   ============================================================ */

:root {
  --rose: #f43f5e;
  --rose-dark: #e11d48;
  --rose-soft: #fff1f3;
  --teal: #0d9488;
  --teal-dark: #0f766e;
  --teal-soft: #f0fdfa;
  --bg: #faf9f9;
  --panel: #fffefe;
  --border: #eceaea;
  --ink: #262222;
  --ink-soft: #6b6363;
  --shadow-sm: 0 1px 3px rgba(38, 34, 34, 0.05);
  --shadow-md: 0 6px 24px rgba(38, 34, 34, 0.07);
  --shadow-lg: 0 16px 48px rgba(38, 34, 34, 0.08);
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Outfit", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
h3 { font-size: 1.13rem; font-weight: 600; }

img, svg { max-width: 100%; }

a { color: inherit; }

/* ---------- botones ---------- */

.btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  border: 1.5px solid transparent;
}

.btn-lg { padding: 14px 30px; font-size: 1.05rem; }

.btn-primary {
  background: var(--rose);
  color: #fff;
  box-shadow: 0 6px 18px rgba(244, 63, 94, 0.28);
}
.btn-primary:hover { background: var(--rose-dark); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--ink-soft); transform: translateY(-1px); }

.btn-light {
  background: #fff;
  color: var(--teal-dark);
}
.btn-light:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 249, 249, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}

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

.brand-mark { width: 30px; height: 30px; }

.brand-name {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

.nav-links a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.96rem;
  color: var(--ink-soft);
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--ink); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: none;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  cursor: pointer;
  padding: 0 10px;
}
.nav-burger span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: 80px 0 72px;
  overflow: hidden;
}

/* Dos manchas de color que derivan lentamente: dan vida al fondo sin pedir atención */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.hero::before {
  width: 620px;
  height: 460px;
  top: -120px;
  right: -80px;
  background: radial-gradient(closest-side, rgba(244, 63, 94, 0.13), transparent 72%);
  animation: drift1 22s ease-in-out infinite;
}
.hero::after {
  width: 540px;
  height: 400px;
  bottom: -140px;
  left: -100px;
  background: radial-gradient(closest-side, rgba(13, 148, 136, 0.12), transparent 72%);
  animation: drift2 26s ease-in-out infinite;
}

@keyframes drift1 {
  0%, 100% { transform: none; }
  50% { transform: translate(-46px, 40px) scale(1.12); }
}
@keyframes drift2 {
  0%, 100% { transform: none; }
  50% { transform: translate(52px, -36px) scale(1.1); }
}

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

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
}

/* Antetítulo manuscrito: es el separador visual entre secciones. */
.eyebrow {
  display: block;
  font-family: "Caveat", cursive;
  font-size: 2rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--rose);
  margin-bottom: 8px;
}

.eyebrow-light { color: #fff; opacity: 0.95; }

/* Acento de color en la segunda mitad de cada titular */
h1 em, h2 em {
  font-style: normal;
  color: var(--rose);
}
.trust h2 em { color: #7dd3d0; }

.hero h1 em {
  font-style: normal;
  color: var(--rose);
}

.lead {
  font-size: 1.14rem;
  color: var(--ink-soft);
  margin: 20px 0 30px;
  max-width: 34em;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }

.hero-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  list-style: none;
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 500;
}
.hero-bullets li { display: flex; align-items: center; gap: 7px; }
.hero-bullets li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

/* chat mockup */

.hero-visual { position: relative; }

.chat-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-width: 460px;
  margin-left: auto;
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}

.chat-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--rose-soft);
  color: var(--rose-dark);
  display: grid;
  place-items: center;
  font-weight: 700;
  flex-shrink: 0;
}

.chat-name { font-weight: 600; font-size: 0.95rem; line-height: 1.3; }
.chat-sub { font-size: 0.8rem; color: var(--ink-soft); }

.chat-live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--teal-dark);
  background: var(--teal-soft);
  border: 1px solid rgba(13, 148, 136, 0.2);
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.chat-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse 2s infinite;
}

/* Altura fija: la conversación crece hacia arriba sin mover la página.
   El contenido completo no cabe, así que el borde superior se desvanece —
   sin la máscara el mensaje más antiguo queda cortado por la mitad y parece
   un error de maquetación en vez de un chat desplazado. */
.chat-body {
  height: 352px;
  overflow: hidden;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  background:
    linear-gradient(180deg, rgba(250, 249, 249, 0.6), rgba(250, 249, 249, 0));
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 54px);
  mask-image: linear-gradient(180deg, transparent 0, #000 54px);
}

.msg {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: var(--r-md);
  font-size: 0.9rem;
  line-height: 1.45;
  flex-shrink: 0;   /* si no, flex las encoge antes de recortar el contenedor */
}

/* Sin JS la conversación se ve completa y sin indicadores de escritura. */
.typing { display: none; }

.chat-body.is-live [data-seq] { display: none; }

.chat-body.is-live [data-seq].is-in {
  display: block;
  animation: msgIn 0.42s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.chat-body.is-live .typing.is-in {
  display: flex;
  align-self: flex-end;
  gap: 4px;
  flex-shrink: 0;
  background: var(--rose-soft);
  border: 1px solid rgba(244, 63, 94, 0.15);
  border-radius: var(--r-md);
  border-bottom-right-radius: var(--r-sm);
  padding: 12px 15px;
}

.typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rose);
  animation: typingDot 1s infinite;
}
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }

@keyframes msgIn {
  from { opacity: 0; transform: translateY(12px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

/* Insignia que aparece cuando la conversación termina bien */
.hero-badge {
  position: absolute;
  right: -10px;
  bottom: 38px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: 10px 15px;
  opacity: 0;
}

/* El estado en reposo es visible y se declara aquí. Dejarlo en manos del
   `forwards` de badgeIn no basta: convive con una segunda animación infinita
   y el valor retenido no siempre gana. */
.hero-badge.is-in {
  opacity: 1;
  animation:
    badgeIn 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
    badgeFloat 4.5s ease-in-out 0.6s infinite;
}

@keyframes badgeIn {
  from { opacity: 0; transform: translateY(14px) scale(0.93); }
  to { opacity: 1; transform: none; }
}
@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.hb-stars { color: #f59e0b; font-size: 0.92rem; letter-spacing: -1px; }
.hb-txt {
  display: flex;
  flex-direction: column;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
}
.hb-txt small { font-weight: 500; font-size: 0.68rem; color: var(--ink-soft); }

.msg-time {
  display: block;
  font-size: 0.68rem;
  color: var(--ink-soft);
  margin-top: 5px;
}

.msg-guest {
  align-self: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  border-bottom-left-radius: var(--r-sm);
}

.msg-bot {
  align-self: flex-end;
  background: var(--rose-soft);
  border: 1px solid rgba(244, 63, 94, 0.15);
  border-bottom-right-radius: var(--r-sm);
}
.msg-bot .msg-time { color: var(--rose-dark); }

.chat-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  font-size: 0.8rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--border);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(13, 148, 136, 0.35); }
  50% { box-shadow: 0 0 0 6px rgba(13, 148, 136, 0); }
}

/* ---------- secciones genéricas ---------- */

section { scroll-margin-top: 80px; }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 52px;
}

/* Filete degradado que abre cada sección */
.section-head::before {
  content: "";
  display: block;
  width: 46px;
  height: 3px;
  margin: 0 auto 24px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--rose), var(--teal));
}

.section-sub {
  color: var(--ink-soft);
  margin-top: 14px;
  font-size: 1.05rem;
}

/* ---------- flujo (bento) ---------- */

.flow { padding: 96px 0; }

.bento {
  display: flex;
  gap: 14px;
  height: 640px;
}

.bento-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.bento-col > .bento-card { flex: 1; min-height: 0; }
.bento-col-center > .bento-card { height: 100%; }

.bento-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
}

.bento-head {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  padding: 16px 20px;
}

.bento-title { font-weight: 700; font-size: 1rem; line-height: 1.3; }
.bento-tag { font-size: 0.72rem; opacity: 0.65; margin-top: 2px; }

.bc-1 { background: var(--rose-soft); border: 1px solid rgba(244, 63, 94, 0.12); }
.bc-2 { background: #2b2626; color: #fff; }
.bc-3 { background: var(--teal-soft); border: 1px solid rgba(13, 148, 136, 0.12); }
.bc-4 { background: linear-gradient(165deg, #f43f5e, #e11d48); color: #fff; }
.bc-5 { background: linear-gradient(165deg, #0d9488, #0f766e); color: #fff; }
.bc-6 { background: var(--panel); border: 1px solid var(--border); }
.bc-7 { background: #3a3535; color: #fff; }

.bento-art { position: absolute; inset: 0; }

/* tarjeta 1: inbox */
.art-inbox {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  padding: 0 16px 12px;
}

.inb-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: var(--r-md);
  padding: 6px 10px;
  box-shadow: 0 4px 14px rgba(38, 34, 34, 0.08);
}

.inb-av {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--rose-soft);
  color: var(--rose-dark);
  font-size: 0.7rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.av2 { background: var(--teal-soft); color: var(--teal-dark); }
.av3 { background: #fef3c7; color: #92400e; }

.inb-lines { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.inb-lines i { height: 5px; border-radius: 3px; background: #eceaea; }
.inb-lines i:first-child { width: 55%; background: #dcd8d8; }
.inb-lines i:last-child { width: 80%; }
.inb-time { font-size: 0.62rem; color: var(--ink-soft); }

.ir-1 { animation: inbRow1 7s infinite; }
.ir-2 { animation: inbRow2 7s infinite; }
.ir-3 { animation: inbRow3 7s infinite; }

@keyframes inbRow1 {
  0%, 4% { opacity: 0; transform: translateY(10px); }
  10%, 88% { opacity: 1; transform: none; }
  96%, 100% { opacity: 0; }
}
@keyframes inbRow2 {
  0%, 16% { opacity: 0; transform: translateY(10px); }
  22%, 88% { opacity: 1; transform: none; }
  96%, 100% { opacity: 0; }
}
@keyframes inbRow3 {
  0%, 28% { opacity: 0; transform: translateY(10px); }
  34%, 88% { opacity: 1; transform: none; }
  96%, 100% { opacity: 0; }
}

/* tarjeta 2: chat oscuro */
.art-chat {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 0 16px 14px;
}

.c2-guest {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 10px 10px 10px 4px;
  padding: 8px 12px;
  font-size: 0.78rem;
  max-width: 85%;
  animation: c2Guest 8s infinite;
}

.c2-slot { position: relative; align-self: flex-end; max-width: 88%; }

.c2-reply {
  background: var(--rose);
  border-radius: 10px 10px 4px 10px;
  padding: 8px 12px;
  font-size: 0.78rem;
  animation: c2Reply 8s infinite;
}

.c2-typing {
  position: absolute;
  right: 0;
  bottom: 0;
  background: var(--rose);
  border-radius: 10px 10px 4px 10px;
  padding: 11px 14px;
  display: flex;
  gap: 4px;
  animation: c2Typing 8s infinite;
}

.c2-typing i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  animation: typingDot 1s infinite;
}
.c2-typing i:nth-child(2) { animation-delay: 0.15s; }
.c2-typing i:nth-child(3) { animation-delay: 0.3s; }

@keyframes c2Guest {
  0% { opacity: 0; transform: translateY(6px); }
  6%, 90% { opacity: 1; transform: none; }
  97%, 100% { opacity: 0; }
}
@keyframes c2Typing {
  0%, 8% { opacity: 0; }
  14%, 42% { opacity: 1; }
  48%, 100% { opacity: 0; }
}
@keyframes c2Reply {
  0%, 46% { opacity: 0; transform: translateY(6px); }
  52%, 90% { opacity: 1; transform: none; }
  97%, 100% { opacity: 0; }
}
@keyframes typingDot {
  0%, 100% { transform: none; opacity: 0.5; }
  50% { transform: translateY(-3px); opacity: 1; }
}

/* tarjeta 3: calendario disponibilidad */
.art-cal {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding-bottom: 16px;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 16px);
  gap: 6px;
}

.cal-grid i {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: rgba(13, 148, 136, 0.12);
}

.cal-grid .hl-1 { animation: calHl1 6s infinite; }
.cal-grid .hl-2 { animation: calHl2 6s infinite; }
.cal-grid .hl-3 { animation: calHl3 6s infinite; }
.cal-grid .hl-4 { animation: calHl4 6s infinite; }

@keyframes calHl1 {
  0%, 9% { background: rgba(13, 148, 136, 0.12); }
  14%, 88% { background: var(--teal); }
  94%, 100% { background: rgba(13, 148, 136, 0.12); }
}
@keyframes calHl2 {
  0%, 19% { background: rgba(13, 148, 136, 0.12); }
  24%, 88% { background: var(--teal); }
  94%, 100% { background: rgba(13, 148, 136, 0.12); }
}
@keyframes calHl3 {
  0%, 29% { background: rgba(13, 148, 136, 0.12); }
  34%, 88% { background: var(--teal); }
  94%, 100% { background: rgba(13, 148, 136, 0.12); }
}
@keyframes calHl4 {
  0%, 39% { background: rgba(13, 148, 136, 0.12); }
  44%, 88% { background: var(--teal); }
  94%, 100% { background: rgba(13, 148, 136, 0.12); }
}

.cal-chip {
  background: #fff;
  color: var(--teal-dark);
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 4px 12px;
  box-shadow: 0 4px 14px rgba(38, 34, 34, 0.12);
  animation: chipPop 6s infinite;
}

@keyframes chipPop {
  0%, 48% { opacity: 0; transform: scale(0.8); }
  54%, 88% { opacity: 1; transform: scale(1); }
  94%, 100% { opacity: 0; }
}

/* tarjeta 4: órbita central */
.ring {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
}
.r1 { width: 190px; height: 190px; }
.r2 { width: 305px; height: 305px; border-color: rgba(255, 255, 255, 0.13); }

.orbit-core {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 78px;
  height: 78px;
  background: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  z-index: 3;
}
.orbit-core svg { width: 40px; height: 40px; }

.orbit-spin {
  position: absolute;
  top: 40%;
  left: 50%;
  width: 248px;
  height: 248px;
  margin: -124px 0 0 -124px;
  animation: spin 26s linear infinite;
}

.orb {
  position: absolute;
  width: 46px;
  height: 46px;
  background: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  animation: spinBack 26s linear infinite;
}
.orb svg { width: 24px; height: 24px; }

.o-1 { top: 0; left: 50%; margin: -23px 0 0 -23px; }
.o-2 { top: 50%; right: 0; margin: -23px -23px 0 0; }
.o-3 { bottom: 0; left: 50%; margin: 0 0 -23px -23px; }
.o-4 { top: 50%; left: 0; margin: -23px 0 0 -23px; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spinBack { to { transform: rotate(-360deg); } }

.laptop {
  position: absolute;
  bottom: 56px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.laptop-screen {
  width: 150px;
  height: 90px;
  background: rgba(255, 255, 255, 0.14);
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-bottom: none;
  border-radius: 10px 10px 0 0;
  display: grid;
  place-items: center;
}
.laptop-screen svg { width: 34px; height: 34px; }

.laptop-base {
  width: 190px;
  height: 10px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 0 0 10px 10px;
}

.bento-foot-chip {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 0.66rem;
  font-weight: 700;
  color: #fff;
  padding: 5px 13px;
  border-radius: 999px;
  white-space: nowrap;
}

/* tarjeta 5: distribución de reseñas */
.art-bars {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  padding: 0 18px 16px;
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 78px;
}

.bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font-size: 0.6rem;
  font-weight: 700;
  opacity: 0.85;
}

.bar i {
  width: 15px;
  border-radius: 4px 4px 0 0;
  background: rgba(255, 255, 255, 0.9);
  transform-origin: bottom;
}

.b-1 i { height: 62px; animation: barUp 7s infinite; }
.b-2 i { height: 26px; animation: barUp 7s 0.15s infinite; }
.b-3 i { height: 13px; animation: barUp 7s 0.3s infinite; background: rgba(255, 255, 255, 0.55); }
.b-4 i { height: 8px;  animation: barUp 7s 0.45s infinite; background: rgba(255, 255, 255, 0.4); }
.b-5 i { height: 6px;  animation: barUp 7s 0.6s infinite; background: rgba(255, 255, 255, 0.4); }

@keyframes barUp {
  0%, 6% { transform: scaleY(0); }
  20%, 88% { transform: scaleY(1); }
  96%, 100% { transform: scaleY(0); }
}

.bars-chip {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 0.64rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
  animation: chipPop 7s infinite;
}

/* tarjeta 6: a quién calificar */
.art-rank {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 0 14px 16px;
}

.rank {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 7px 10px;
  box-shadow: 0 4px 14px rgba(38, 34, 34, 0.06);
}

.rank-av {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-size: 0.68rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.av-warm { background: #fef3c7; color: #b45309; }

.rank-txt { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.rank-txt b { font-size: 0.72rem; line-height: 1.2; }
.rank-txt small { font-size: 0.6rem; color: var(--ink-soft); }

.rank-flag {
  font-size: 0.58rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
}
.flag-go { background: var(--teal-soft); color: var(--teal-dark); }
.flag-stop { background: #fef3c7; color: #b45309; }

.r-a { animation: notifIn1 7s infinite; }
.r-b { animation: notifIn2 7s infinite; }

/* tarjeta 7: notificaciones */
.art-notif {
  display: flex;
  align-items: flex-end;
  padding: 0 14px 12px;
}

.notif-panel {
  width: 100%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 7px 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.notif-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  opacity: 0.9;
}
.notif-head svg { width: 14px; height: 14px; opacity: 0.8; }

.notif {
  display: flex;
  gap: 7px;
  align-items: center;
  background: #fff;
  border-radius: 9px;
  padding: 4px 8px;
  color: var(--ink);
}

.notif-ic {
  width: 21px;
  height: 21px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.notif-ic svg { width: 13px; height: 13px; }
.ic-rose { background: var(--rose-soft); color: var(--rose-dark); }
.ic-amber { background: #fef3c7; color: #b45309; }
.ic-teal { background: var(--teal-soft); color: var(--teal-dark); }

.notif > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.notif b { font-size: 0.63rem; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.notif small { font-size: 0.56rem; line-height: 1.3; color: var(--ink-soft); }

.n-1 { animation: notifIn1 8s infinite; }
.n-2 { animation: notifIn2 8s infinite; }

@keyframes notifIn1 {
  0%, 7% { opacity: 0; transform: translateX(14px); }
  13%, 88% { opacity: 1; transform: none; }
  95%, 100% { opacity: 0; }
}
@keyframes notifIn2 {
  0%, 21% { opacity: 0; transform: translateX(14px); }
  27%, 88% { opacity: 1; transform: none; }
  95%, 100% { opacity: 0; }
}
/* ---------- features ---------- */

.features { padding: 88px 0; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.feature-icon svg { width: 24px; height: 24px; }

.icon-rose { background: var(--rose-soft); color: var(--rose-dark); }
.icon-teal { background: var(--teal-soft); color: var(--teal-dark); }

.feature-card h3 { margin-bottom: 8px; }
.feature-card p { font-size: 0.94rem; color: var(--ink-soft); }

/* ---------- slider de features ---------- */

.ftabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}

.ftab {
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--ink-soft);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.ftab:hover { border-color: var(--ink-soft); color: var(--ink); }

.ftab.is-active {
  background: var(--rose);
  border-color: var(--rose);
  color: #fff;
  box-shadow: 0 4px 14px rgba(244, 63, 94, 0.26);
}

.fviewport { overflow: hidden; }

.ftrack {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.fslide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 40px;
  align-items: center;
  padding: 4px;
  min-width: 0;
}

/* marco tipo captura de pantalla */
.shot {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.shot-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.shot-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #e0dcdc;
}
.shot-bar em {
  margin-left: 8px;
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.shot-body { padding: 18px; min-height: 268px; }
.shot-body img { display: block; width: 100%; border-radius: var(--r-sm); }

.fcopy-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--teal-dark);
  background: var(--teal-soft);
  border: 1px solid rgba(13, 148, 136, 0.18);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 14px;
}

.fcopy h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 12px; }
.fcopy > p { color: var(--ink-soft); font-size: 1rem; }
.fcopy .check-list { margin-top: 18px; }
.fcopy .check-list li { font-size: 0.93rem; align-items: flex-start; }
.fcopy .check-list li::before { margin-top: 1px; }

.fnav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 34px;
}

/* --- mockups de pantalla --- */

.mk { font-size: 0.76rem; }
.mk label, .mk-lbl {
  display: block;
  font-size: 0.64rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  margin-bottom: 5px;
}

.mk-input {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 7px 11px;
  font-size: 0.78rem;
}

.mk-field { margin-bottom: 11px; }

.mk-btn {
  display: inline-block;
  background: var(--rose);
  color: #fff;
  font-size: 0.73rem;
  font-weight: 700;
  padding: 7px 15px;
  border-radius: var(--r-sm);
  margin-top: 4px;
}

/* studio */
.mk-studio { display: grid; grid-template-columns: 108px 1fr; gap: 18px; }
.mk-side { display: flex; flex-direction: column; gap: 4px; }
.mk-nav {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 6px 10px;
  border-radius: var(--r-sm);
}
.mk-nav.is-on { background: var(--rose-soft); color: var(--rose-dark); font-weight: 700; }

/* tono */
.mk-agent { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.mk-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--rose-soft);
  color: var(--rose-dark);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1rem;
}
.mk-avatar svg { width: 23px; height: 23px; }
.mk-agent b { font-size: 0.9rem; display: block; }
.mk-agent small { font-size: 0.7rem; color: var(--ink-soft); }

.mk-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.mk-chips span {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.mk-chips span.on {
  background: var(--teal-soft);
  border-color: rgba(13, 148, 136, 0.25);
  color: var(--teal-dark);
}

.mk-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
}
.mk-toggle i {
  width: 30px;
  height: 17px;
  border-radius: 999px;
  background: #e4e0e0;
  position: relative;
  flex-shrink: 0;
}
.mk-toggle i::after {
  content: "";
  position: absolute;
  top: 2.5px;
  left: 2.5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s ease;
}
.mk-toggle i.on { background: var(--teal); }
.mk-toggle i.on::after { transform: translateX(13px); }

/* consulta al anfitrión y relevo al huésped */
.mk-relay { display: flex; flex-direction: column; }

.rl-label {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  margin-bottom: 5px;
}
.rl-right { text-align: right; }

.rl-msg {
  position: relative;
  font-size: 0.78rem;
  line-height: 1.45;
  padding: 9px 12px 19px;
  border-radius: var(--r-md);
  max-width: 88%;
  margin-bottom: 10px;
}

.rl-time {
  position: absolute;
  right: 11px;
  bottom: 5px;
  font-size: 0.6rem;
  color: var(--ink-soft);
}

.rl-ask {
  align-self: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  border-bottom-left-radius: var(--r-sm);
}

.rl-you {
  align-self: flex-end;
  background: var(--teal-soft);
  border: 1px solid rgba(13, 148, 136, 0.22);
  border-bottom-right-radius: var(--r-sm);
}

.rl-div {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 12px;
}
.rl-div::before, .rl-div::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}
.rl-div span {
  font-size: 0.61rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  white-space: nowrap;
}

/* el mensaje al huésped ocurre en otro hilo: ancho completo con acento lateral */
.rl-guest {
  align-self: stretch;
  max-width: 100%;
  background: var(--rose-soft);
  border: 1px solid rgba(244, 63, 94, 0.18);
  border-left: 3px solid var(--rose);
  padding-top: 27px;
  margin-bottom: 0;
}

.rl-from {
  position: absolute;
  top: 7px;
  left: 12px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--rose-dark);
}
.rl-from svg { width: 13px; height: 13px; }

/* evaluador de reseñas */
.ev-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
}

.ev-av {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal-dark);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.ev-who { flex: 1; min-width: 0; }
.ev-who b { display: block; font-size: 0.82rem; line-height: 1.25; }
.ev-who small { font-size: 0.68rem; color: var(--ink-soft); }

.ev-verdict {
  font-size: 0.66rem;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}
.v-go { background: var(--teal-soft); color: var(--teal-dark); }

.ev-score {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 9px 14px;
  margin-bottom: 14px;
}
.ev-stars { font-size: 1.05rem; color: #f59e0b; letter-spacing: -1px; }
.ev-meta b { display: block; font-size: 0.74rem; line-height: 1.2; }
.ev-meta small { font-size: 0.66rem; color: var(--ink-soft); }

.ev-lbl {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  margin-bottom: 7px;
}

.ev-quote {
  font-size: 0.76rem;
  font-style: italic;
  border-left: 2px solid var(--teal);
  padding: 2px 0 2px 10px;
  margin-bottom: 7px;
}

.ev-foot {
  margin-top: 10px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--teal-dark);
  background: var(--teal-soft);
  border-radius: var(--r-sm);
  padding: 8px 11px;
  text-align: center;
}

/* faq */
.mk-faq-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  margin-bottom: 7px;
  font-size: 0.79rem;
}
.mk-faq-row.is-gap { border-color: #fcd34d; background: #fffbeb; }
.mk-count {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--ink-soft);
  background: var(--bg);
  border-radius: 999px;
  padding: 3px 9px;
  white-space: nowrap;
  flex-shrink: 0;
}
.mk-count-warn { background: #fef3c7; color: #b45309; }

/* calendario */
.mk-cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: 0.82rem;
  margin-bottom: 12px;
}
.mk-src {
  font-size: 0.66rem;
  font-weight: 600;
  color: var(--teal-dark);
  background: var(--teal-soft);
  border-radius: 999px;
  padding: 3px 9px;
}

.mk-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-bottom: 14px;
}
.mk-cal-grid i {
  height: 26px;
  border-radius: 5px;
  background: var(--bg);
  border: 1px solid var(--border);
}
.mk-cal-grid i.busy { background: #f1efef; border-color: #e4e0e0; }
.mk-cal-grid i.free { background: var(--teal); border-color: var(--teal); }

.mk-trace {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 8px 11px;
  font-size: 0.73rem;
  color: var(--ink-soft);
  flex-wrap: wrap;
}
.mk-trace code {
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 0.7rem;
  color: var(--teal-dark);
  background: var(--teal-soft);
  border-radius: 4px;
  padding: 2px 6px;
}

/* privacidad */
.mk-input.is-locked {
  color: var(--ink-soft);
  font-style: italic;
  background: repeating-linear-gradient(
    -45deg, #faf9f9, #faf9f9 6px, #f3f1f1 6px, #f3f1f1 12px
  );
}
.mk-note {
  margin-top: 12px;
  font-size: 0.71rem;
  color: var(--ink-soft);
  text-align: center;
  font-style: italic;
}

/* ---------- cómo funciona ---------- */

.how {
  padding: 88px 0;
  background: var(--panel);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  list-style: none;
  counter-reset: step;
}

.step {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 26px 26px;
}

.step-num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--rose);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(244, 63, 94, 0.3);
}

.step h3 { margin-bottom: 8px; }
.step p { font-size: 0.94rem; color: var(--ink-soft); }

/* ---------- se siente humano ---------- */

.human { padding: 96px 0; }

.wsp-mini {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 14px;
}

.wsp-label {
  font-size: 0.66rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

.wsp-label-right { align-self: flex-end; margin-top: 6px; }

.wsp-msg {
  font-size: 0.84rem;
  line-height: 1.45;
  padding: 8px 12px;
  border-radius: var(--r-md);
  max-width: 95%;
}

.wsp-ask {
  align-self: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  border-bottom-left-radius: var(--r-sm);
}

.wsp-host {
  align-self: flex-end;
  background: var(--teal-soft);
  border: 1px solid rgba(13, 148, 136, 0.2);
  border-bottom-right-radius: var(--r-sm);
}

/* el mensaje al huésped ocurre en OTRA conversación: ancho completo, no una burbuja más del hilo */
.wsp-bot {
  align-self: stretch;
  max-width: 100%;
  background: var(--rose-soft);
  border: 1px solid rgba(244, 63, 94, 0.15);
  border-left: 3px solid var(--rose);
}

/* ---------- confianza ---------- */

.trust {
  padding: 92px 0;
  background:
    radial-gradient(700px 400px at 90% 0%, rgba(255, 255, 255, 0.08), transparent 70%),
    linear-gradient(135deg, #0f766e, #115e59);
  color: #fff;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.trust-copy h2 { margin-bottom: 16px; }
.trust-copy p { color: rgba(255, 255, 255, 0.85); margin-bottom: 26px; max-width: 30em; }

.trust-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.trust-list li {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r-md);
  padding: 16px 20px;
  font-size: 0.97rem;
  color: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(4px);
}

.trust-list strong { color: #fff; }

/* ---------- hitl ---------- */

.hitl { padding: 88px 0; }

.hitl-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: center;
}

.hitl-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 24px;
  max-width: 440px;
}

.hitl-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.hitl-instruction {
  background: var(--teal-soft);
  border: 1px solid rgba(13, 148, 136, 0.2);
  border-radius: var(--r-md);
  padding: 12px 16px;
  font-size: 0.93rem;
  color: var(--teal-dark);
  font-weight: 500;
}

.hitl-arrow {
  text-align: center;
  color: var(--ink-soft);
  margin: 12px 0;
  font-size: 1.1rem;
}

.hitl-draft {
  background: var(--rose-soft);
  border: 1px solid rgba(244, 63, 94, 0.15);
  border-radius: var(--r-md);
  padding: 12px 16px;
  font-size: 0.93rem;
}

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

.hitl-btn {
  padding: 7px 16px;
  border-radius: var(--r-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: default;
}

.hitl-approve { background: var(--teal); color: #fff; }
.hitl-edit { background: var(--bg); border: 1px solid var(--border); }
.hitl-discard { color: var(--ink-soft); }

.check-list {
  list-style: none;
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 0.98rem;
}

.check-list li::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ---------- asesor ---------- */

.advisor { padding: 96px 0; }

/* minmax(0,…) y no 1fr: una pista `1fr` nunca baja del ancho mínimo de su
   contenido, y basta un `white-space: nowrap` dentro para que la página
   entera gane scroll horizontal. */
.advisor-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.adv-side { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.adv-card { min-width: 0; }

.adv-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}

.adv-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.adv-icon svg { width: 24px; height: 24px; }

.adv-card h3 { margin-bottom: 8px; }
.adv-card p { font-size: 0.94rem; color: var(--ink-soft); }

.adv-main p { max-width: 46em; }

.pending-panel {
  margin-top: 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pending-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--ink-soft);
  padding: 0 2px 2px;
}

.pending-count {
  background: var(--rose-soft);
  color: var(--rose-dark);
  border-radius: 999px;
  padding: 2px 9px;
  font-size: 0.68rem;
}

.pending-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 9px 11px;
}

.p-av {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-weight: 700;
  font-size: 0.78rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.p-av.av-warm { background: #fef3c7; color: #b45309; }
.p-av.av-mute { background: #f1efef; color: var(--ink-soft); }

.p-txt { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.p-txt b { font-size: 0.79rem; line-height: 1.25; }
.p-txt small {
  font-size: 0.71rem;
  color: var(--ink-soft);
  font-style: italic;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.p-stars { font-size: 0.78rem; color: #f59e0b; letter-spacing: -1px; flex-shrink: 0; }
.p-stars.stars-warm { color: #d97706; }
.p-stars.stars-mute { color: var(--ink-soft); letter-spacing: 0; }

.p-flag {
  font-size: 0.66rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}
.flag-go { background: var(--teal-soft); color: var(--teal-dark); }
.flag-stop { background: #fef3c7; color: #b45309; }
.flag-wait { background: #f1efef; color: var(--ink-soft); }

.adv-note {
  margin-top: 12px;
  font-size: 0.8rem !important;
  color: var(--ink-soft);
  font-style: italic;
}

.advisor-foot {
  margin-top: 22px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-soft);
  max-width: 46em;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- reseñas ---------- */

.reviews {
  padding: 88px 0;
  background: var(--panel);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.reviews-carousel {
  --shift: 340px;
  position: relative;
}

.reviews-track {
  position: relative;
  height: 320px;
}

.review-card {
  position: absolute;
  left: 50%;
  top: 0;
  width: min(480px, 100%);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transform: translateX(-50%);
  transition: transform 0.5s ease, opacity 0.5s ease, filter 0.5s ease, box-shadow 0.5s ease;
}

.review-card.pos-center {
  transform: translateX(-50%) scale(1);
  opacity: 1;
  z-index: 3;
  box-shadow: var(--shadow-lg);
}

.review-card.pos-left {
  transform: translateX(calc(-50% - var(--shift))) scale(0.92);
  opacity: 0.4;
  filter: blur(1.2px);
  z-index: 2;
  pointer-events: none;
}

.review-card.pos-right {
  transform: translateX(calc(-50% + var(--shift))) scale(0.92);
  opacity: 0.4;
  filter: blur(1.2px);
  z-index: 2;
  pointer-events: none;
}

.review-card.pos-hidden {
  transform: translateX(-50%) scale(0.85);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
}

.review-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.av-rose { background: var(--rose-soft); color: var(--rose-dark); }
.av-teal { background: var(--teal-soft); color: var(--teal-dark); }

.review-name { font-weight: 600; font-size: 0.98rem; line-height: 1.3; }
.review-meta { font-size: 0.8rem; color: var(--ink-soft); }

.review-stars {
  margin-left: auto;
  width: 96px;
  height: 19px;
  fill: #f59e0b;
  flex-shrink: 0;
}

.review-card blockquote {
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 16px;
}

.review-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 10px 14px;
}

.strip-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--r-sm);
  background: var(--teal-soft);
  color: var(--teal-dark);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.strip-icon svg { width: 18px; height: 18px; }

.strip-main {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--teal-dark);
  line-height: 1.35;
}
.strip-sub { font-size: 0.78rem; color: var(--ink-soft); }

.reviews-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 30px;
}

.review-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--rose);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px rgba(244, 63, 94, 0.28);
  transition: background 0.15s ease, transform 0.15s ease;
}
.review-arrow:hover { background: var(--rose-dark); transform: translateY(-1px); }
.review-arrow svg { width: 20px; height: 20px; }

.review-dots { display: flex; gap: 8px; }

.review-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: var(--border);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}
.review-dot.is-active { width: 22px; background: var(--rose); }

/* ---------- plan fundador ---------- */

.founder { padding: 20px 0 88px; }

.founder-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 40px 44px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.founder-band::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, #f59e0b, #f43f5e);
}

.founder-chip {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #92400e;
  background: #fef3c7;
  border: 1px solid #fcd34d;
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 14px;
}

.founder-band h2 { margin-bottom: 10px; }
.founder-band p { color: var(--ink-soft); max-width: 38em; }

/* ---------- faq ---------- */

.faq {
  padding: 88px 0;
  background: var(--panel);
  border-top: 1px solid var(--border);
}

.faq-inner { max-width: 760px; }

.faq-list { display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 0 20px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  padding: 16px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--rose);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p {
  padding: 0 0 18px;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

/* ---------- cta final ---------- */

.cta-final {
  padding: 96px 0;
  text-align: center;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(244, 63, 94, 0.06), transparent 70%);
}

.cta-final h2 { margin-bottom: 12px; }
.cta-final > .container > p { color: var(--ink-soft); margin-bottom: 28px; font-size: 1.08rem; }

.cta-note {
  margin-top: 18px;
  font-size: 0.86rem;
  color: var(--ink-soft);
}

/* ---------- footer ---------- */

.footer {
  border-top: 1px solid var(--border);
  padding: 36px 0;
  background: var(--panel);
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-tag { color: var(--ink-soft); font-size: 0.92rem; }

.footer-copy {
  margin-left: auto;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

/* ---------- reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .dot { animation: none; }
  /* los estados base del bento son los finales: sin animación todo queda visible */
  .bento *, .bento *::before, .bento *::after { animation: none !important; }
  .hero::before, .hero::after { animation: none; }
  .hero-badge { opacity: 1; }
}

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .reviews-carousel { --shift: 260px; }

  .advisor-grid { grid-template-columns: minmax(0, 1fr); }
  .fslide { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .shot-body { min-height: 0; }
  .bento { flex-direction: column; height: auto; }
  .bento-col > .bento-card { flex: none; height: 220px; }
  .bento-col-center > .bento-card { height: 500px; }
  .hero-grid, .trust-grid, .hitl-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero { padding: 56px 0; }
  .chat-card { margin: 0 auto; }
  .hitl-visual { order: 2; }
  .hitl-card { margin: 0 auto; }
  .feature-grid, .steps { grid-template-columns: 1fr 1fr; }
  .founder-band { grid-template-columns: 1fr; padding: 32px 28px; }
}

@media (max-width: 680px) {
  .feature-grid, .steps { grid-template-columns: 1fr; }

  .reviews-carousel { --shift: 0px; }
  .review-card.pos-left, .review-card.pos-right { opacity: 0; }

  /* La fila del evaluador no cabe en una línea: nota y veredicto bajan. */
  .pending-row { flex-wrap: wrap; row-gap: 6px; }
  .pending-row .p-txt { flex: 1 1 100%; order: 2; }
  .pending-row .p-av { order: 1; }
  .pending-row .p-stars { order: 3; margin-left: auto; }
  .pending-row .p-flag { order: 4; }

  .hero-badge { right: 0; bottom: 26px; padding: 8px 12px; }
  .hb-txt { font-size: 0.73rem; }

  /* las pestañas se desbordan en una fila deslizable en vez de apilarse */
  .ftabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 6px;
    scrollbar-width: none;
  }
  .ftabs::-webkit-scrollbar { display: none; }
  .mk-studio { grid-template-columns: 1fr; gap: 12px; }
  .mk-side { flex-direction: row; flex-wrap: wrap; }
  .fcopy h3 { font-size: 1.3rem; }

  .nav-links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--panel);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    display: none;
    padding: 8px 0;
  }

  .nav-links.is-open { display: flex; }

  .nav-links a {
    padding: 14px 24px;
    font-size: 1.02rem;
  }

  .nav-burger { display: flex; }

  .nav-actions .btn { padding: 8px 16px; font-size: 0.9rem; }

  .hero-ctas .btn { width: 100%; text-align: center; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-copy { margin-left: 0; }
}
