:root {
  --bg: #05070d;
  --panel: rgba(13, 18, 32, 0.72);
  --panel-strong: rgba(10, 14, 25, 0.94);
  --line: rgba(132, 157, 255, 0.18);
  --text: #f7f9ff;
  --muted: #9fa9c7;
  --blue: #44a7ff;
  --violet: #875dff;
  --cyan: #55e6ff;
  --success: #5cf0ae;
  --danger: #ff7b93;
  --shadow: 0 30px 80px rgba(0,0,0,.42);
  --radius: 28px;
  --radius-sm: 18px;
  --max: 1380px;
  --transition: .28s cubic-bezier(.2,.75,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 20% 15%, rgba(68,167,255,.16), transparent 34%),
    radial-gradient(circle at 85% 18%, rgba(135,93,255,.15), transparent 35%),
    radial-gradient(circle at 50% 90%, rgba(85,230,255,.08), transparent 40%),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: -2;
}
.ambient::before,
.ambient::after {
  content: "";
  position: absolute;
  width: 38rem;
  height: 38rem;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .14;
  animation: drift 16s ease-in-out infinite alternate;
}
.ambient::before { background: var(--blue); left: -12rem; top: -10rem; }
.ambient::after { background: var(--violet); right: -12rem; bottom: -12rem; animation-delay: -5s; }
@keyframes drift { to { transform: translate3d(5rem, 3rem, 0) scale(1.12); } }

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}
.topbar {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 22px 0 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(68,167,255,.18), rgba(135,93,255,.16));
  box-shadow: 0 0 30px rgba(68,167,255,.14);
}
.brand small {
  display: block;
  color: var(--muted);
  font-size: .62rem;
  letter-spacing: .08em;
  margin-top: 2px;
}
.utility-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}
.icon-btn, .ghost-btn, .primary-btn, .soft-btn, .danger-btn {
  border: 0;
  cursor: pointer;
  transition: transform var(--transition), opacity var(--transition), background var(--transition), border-color var(--transition);
}
.icon-btn:hover, .ghost-btn:hover, .primary-btn:hover, .soft-btn:hover { transform: translateY(-2px); }
.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255,255,255,.055);
  color: var(--text);
  border: 1px solid var(--line);
}
.ghost-btn, .soft-btn, .primary-btn, .danger-btn {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 15px;
  font-weight: 750;
}
.whatsapp-btn{
    display:flex;
    align-items:center;
    justify-content:center;

    background:#25D366;
    color:#fff;

    border:none;

    min-height:46px;
    padding:0 18px;

    border-radius:15px;

    font-weight:700;

    transition:.25s;
}

.whatsapp-btn:hover{
    background:#20BD5A;
    transform:translateY(-2px);
}
.soft-btn {
  background: rgba(255,255,255,.065);
  color: var(--text);
  border: 1px solid var(--line);
}
.primary-btn {
  background: linear-gradient(135deg, var(--blue), var(--violet));
  color: white;
  box-shadow: 0 12px 36px rgba(84,111,255,.25);
}
.danger-btn {
  background: rgba(255,123,147,.12);
  color: #ffd6de;
  border: 1px solid rgba(255,123,147,.3);
}
.ghost-btn,
.soft-btn,
.primary-btn,
.danger-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  white-space: nowrap;
}
.page {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 10px 0 10px;
}
.hero {
  min-height: 0;
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  align-items: center;
  gap: clamp(28px, 5vw, 90px);
}
.hero-copy { max-width: 760px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #c7d4ff;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.035);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 18px var(--success);
}
h1 {
  margin: 20px 0 18px;
  font-size: clamp(3rem, 5.2vw, 5.8rem);
  line-height: 1;
  letter-spacing: -.04em;
}
.gradient-text {
  background: linear-gradient(120deg, #fff 0%, #9bd8ff 40%, #a98dff 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}
.lead {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.7;
}
.hero-actions, .card-actions, .form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.microcopy {
  color: var(--muted);
  font-size: .84rem;
  margin-top: 18px;
}

.command-stage {
  position: relative;
  min-height: 590px;
  display: grid;
  place-items: center;
  perspective: 1200px;
}
.ayana-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.stage-ring {
  display: none;
  position: absolute;
  width: min(92%, 600px);
  aspect-ratio: 1;
  border: 1px solid rgba(107,141,255,.16);
  border-radius: 50%;
  box-shadow: inset 0 0 80px rgba(71,100,255,.05), 0 0 80px rgba(71,100,255,.05);
  animation: slowSpin 36s linear infinite;
}
.stage-ring::before,
.stage-ring::after {
  content: "";
  position: absolute;
  inset: 12%;
  border: inherit;
  border-radius: inherit;
}
.stage-ring::after { inset: 27%; }
@keyframes slowSpin { to { transform: rotate(360deg); } }

.ayana-core {
  position: relative;
  width: min(76vw, 420px);
  aspect-ratio: .78;
  border-radius: 38px;
  padding: 18px;
  background:
    linear-gradient(160deg, rgba(255,255,255,.11), rgba(255,255,255,.025)),
    var(--panel);
  border: 1px solid rgba(148,169,255,.24);
  box-shadow: var(--shadow), 0 0 70px rgba(76,110,255,.14);
  backdrop-filter: blur(18px);
  transform: rotateY(-5deg) rotateX(2deg);
}
.ayana-portrait {
  height: 72%;
  border-radius: 28px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 30%, rgba(149,195,255,.32), transparent 32%),
    linear-gradient(160deg, rgba(61,83,145,.45), rgba(19,25,46,.8));
  border: 1px solid rgba(255,255,255,.08);
}
.portrait-placeholder {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 4rem;
  background: linear-gradient(145deg, rgba(68,167,255,.3), rgba(135,93,255,.28));
  border: 1px solid rgba(255,255,255,.18);
}
.ayana-info {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  padding: 18px 4px 0;
}
.ayana-info h2 { margin: 0; font-size: 1.45rem; }
.ayana-info p { margin: 4px 0 0; color: var(--muted); }
.voice-orb {
  width: 58px; height: 58px; border-radius: 50%;
  border: 0;
  color: white;
  cursor: pointer;
  background: linear-gradient(145deg, var(--blue), var(--violet));
  box-shadow: 0 0 0 0 rgba(91,129,255,.45);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 18px rgba(91,129,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(91,129,255,0); }
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 24px;
}
.section-head h1, .section-head h2 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  line-height: 1;
  letter-spacing: -.05em;
}
.section-head p { max-width: 680px; color: var(--muted); margin: 10px 0 0; line-height: 1.6; }
.search-cluster {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.search-input, .field input, .field textarea, .field select {
  width: 100%;
  min-height: 48px;
  border-radius: 15px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.045);
  color: var(--text);
  outline: none;
  padding: 0 15px;
}
.search-input { width: min(360px, 80vw); }
.search-input:focus, .field input:focus, .field textarea:focus, .field select:focus {
  border-color: rgba(93,172,255,.7);
  box-shadow: 0 0 0 4px rgba(68,167,255,.08);
}
.field textarea { min-height: 140px; padding-top: 14px; resize: vertical; }

.agent-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.agent-card {
  position: relative;
  overflow: hidden;
  min-height: 390px;
  border-radius: var(--radius);
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.018)),
    var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 20px 60px rgba(0,0,0,.22);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.agent-card:hover {
  transform: translateY(-8px);
  border-color: rgba(116,151,255,.42);
  box-shadow: 0 30px 75px rgba(0,0,0,.32);
}
.agent-card-media {
  height: 300px;
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 20%, rgba(111,174,255,.24), transparent 32%),
    linear-gradient(160deg, rgba(64,79,134,.36), rgba(14,18,31,.88));
  border: 1px solid rgba(255,255,255,.07);
}
.agent-card-media img { width: 100%; height: 100%; object-fit: cover; }
.agent-card-body { padding: 17px 4px 2px; }
.agent-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: .78rem;
}
.agent-card h3 { font-size: 1.45rem; margin: 9px 0 5px; }
.agent-card p { color: var(--muted); margin: 0; }
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.badge {
  padding: 7px 10px;
  border-radius: 999px;
  font-size: .75rem;
  color: #dbe6ff;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.08);
}
.card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.card-actions { position: relative; z-index: 2; }

.detail-layout {
  display: grid;
  grid-template-columns: minmax(320px, .85fr) 1.15fr;
  gap: clamp(24px, 5vw, 80px);
  align-items: start;
}
.demo-credential {
  position: sticky;
  top: 24px;
  overflow: hidden;
  min-height: 620px;
  border-radius: 34px;
  padding: 22px;
  background:
    linear-gradient(155deg, rgba(255,255,255,.11), rgba(255,255,255,.022)),
    var(--panel-strong);
  border: 1px solid rgba(137,161,255,.26);
  box-shadow: var(--shadow);
}
.demo-stamp {
  position: absolute;
  right: -26px;
  top: 40px;
  transform: rotate(14deg);
  padding: 10px 38px;
  color: rgba(255,255,255,.58);
  border: 2px solid rgba(255,255,255,.2);
  letter-spacing: .18em;
  font-weight: 900;
}
.credential-photo {
  min-height: 330px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(71,109,191,.34), rgba(15,20,34,.95));
  border: 1px solid rgba(255,255,255,.08);
}
.credential-photo img { width: 100%; height: 100%; object-fit: cover; }
.credential-title { margin-top: 22px; }
.credential-title h1 { margin: 0; font-size: 2.5rem; letter-spacing: -.04em; }
.credential-title p { margin: 6px 0 0; color: var(--muted); }
.credential-data {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.data-box {
  padding: 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.07);
}
.data-box span { display: block; color: var(--muted); font-size: .73rem; text-transform: uppercase; letter-spacing: .1em; }
.data-box strong { display: block; margin-top: 5px; }

.detail-content h2 { font-size: clamp(2rem, 4vw, 4rem); margin: 0 0 18px; letter-spacing: -.05em; }
.detail-content > p { color: var(--muted); font-size: 1.12rem; line-height: 1.7; }
.feature-list {
  display: grid;
  gap: 12px;
  margin: 28px 0;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
}
.feature-icon {
  flex: 0 0 auto;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(68,167,255,.2), rgba(135,93,255,.2));
}

.panel {
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}
.form-panel { padding: clamp(20px, 4vw, 42px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { color: #d9e1f8; font-size: .9rem; }
.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.5;
}
.check-row input { margin-top: 4px; }
.notice {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(68,167,255,.07);
  border: 1px solid rgba(68,167,255,.16);
  color: #d8ebff;
  line-height: 1.55;
}

.chat-launcher {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  display: flex;
  gap: 10px;
}
.chat-panel {
  position: fixed;
  right: 18px;
  bottom: 82px;
  z-index: 19;
  width: min(390px, calc(100vw - 28px));
  max-height: min(650px, calc(100vh - 120px));
  display: none;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  border-radius: 26px;
  background: rgba(8,12,22,.96);
  border: 1px solid rgba(140,163,255,.25);
  box-shadow: var(--shadow);
}
.chat-panel.open { display: grid; }
.chat-head {
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.chat-head strong { display: block; }
.chat-head small { color: var(--success); }
.chat-log {
  padding: 16px;
  overflow-y: auto;
  display: grid;
  gap: 10px;
}
.chat-msg {
  max-width: 88%;
  padding: 11px 13px;
  border-radius: 16px;
  line-height: 1.45;
  font-size: 1rem;
}
.chat-msg.bot {
  justify-self: start;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.07);
}
.chat-msg.user {
  justify-self: end;
  background: linear-gradient(135deg, rgba(68,167,255,.32), rgba(135,93,255,.32));
  border: 1px solid rgba(141,165,255,.23);
}
.chat-compose {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--line);
}
.chat-compose input {
  min-width: 0;
  height: 44px;
  border-radius: 13px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: var(--text);
  padding: 0 12px;
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 30;
  width: min(940px, calc(100vw - 24px));
  padding: 18px;
  display: none;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  border-radius: 22px;
  background: rgba(7,10,18,.97);
  border: 1px solid rgba(140,163,255,.24);
  box-shadow: var(--shadow);
}
.cookie-banner.show { display: grid; }
.cookie-banner p { margin: 0; color: var(--muted); line-height: 1.5; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }

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

.site-footer {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 24px 0 38px;
  color: var(--muted);
  font-size: 1rem;
}

.footer-inner {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
}


/* IZQUIERDA — ENLACES LEGALES */

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-left {
  justify-content: flex-start;
}

.footer-links a {
  color: var(--muted);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: #ffffff;
}


/* CENTRO — AGENTCREW */

.footer-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 5px;
}

.footer-center strong {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-center span {
  color: var(--muted);
  white-space: nowrap;
}

.footer-center small {
  color: var(--muted);
  opacity: 0.75;
}


/* DERECHA — CONTACTO */

.footer-contact {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-contact a {
  color: var(--muted);
  transition: color var(--transition);
}

.footer-contact a:hover {
  color: #ffffff;
}


/* ==================================================
   FOOTER — TABLET Y MÓVIL
   ================================================== */

@media (max-width: 980px) {
.site-footer {
  padding-bottom: 90px;
}
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    text-align: center;
  }

  .footer-center {
    order: 1;
  }

  .footer-left {
    order: 2;
    justify-content: center;
  }

  .footer-contact {
    order: 3;
    justify-content: center;
  }

  .footer-center span {
    white-space: normal;
  }
}

.legal {
  max-width: 920px;
  margin: 0 auto;
}
.legal h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
.legal h2 { margin-top: 36px; }
.legal p, .legal li { color: var(--muted); line-height: 1.75; }
.placeholder-warning {
  padding: 16px;
  border-radius: 16px;
  background: rgba(255,185,83,.09);
  border: 1px solid rgba(255,185,83,.24);
  color: #ffe3b0;
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 70px 20px;
  color: var(--muted);
}
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 18px; }
  .command-stage { min-height: 520px; }
  .agent-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-layout { grid-template-columns: 1fr; }
  .demo-credential { position: relative; top: 0; }
}
@media (max-width: 680px) {
  .topbar { padding-top: 14px; }
  .brand small { display: none; }
  .utility-nav .ghost-btn { display: none; }
  .page { padding-top: 18px; }
  .hero { min-height: auto; }
  h1 { font-size: clamp(2.8rem, 15vw, 4.4rem); }
  .command-stage { min-height: 440px; }
  .ayana-core { width: min(92vw, 390px); }
  .agent-grid { grid-template-columns: 1fr; }
  .section-head { align-items: stretch; flex-direction: column; }
  .search-input { width: 100%; }
  .gradient-text { white-space: normal;}
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .credential-data { grid-template-columns: 1fr; }
  .cookie-banner { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
body.propuesta .chat-launcher {
    left: 8px;
    right: 8px;
    bottom: 12px;
    display: flex;
    gap: 6px;
}

body.propuesta .chat-launcher .whatsapp-btn,
body.propuesta .chat-launcher .primary-btn {
    flex: 1 1 0;
    width: 0;
    min-width: 0;
    padding: 0 6px;
    font-size: 12px;
    white-space: nowrap;
}


  .chat-panel { right: 12px; bottom: 74px; }
}
/* ===== Navegación principal ===== */
.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a {
  padding: 10px 13px;
  border-radius: 12px;
  color: #ffffff;
  font-size: .9rem;
  font-weight: 700;
  transition: color var(--transition), background var(--transition), transform var(--transition);
}

.main-nav a:hover {
  color: var(--text);
  background: rgba(255,255,255,.055);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.055);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 980px) {
  .topbar {
    position: relative;
  }

  .menu-toggle {
    display: flex;
    margin-left: auto;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 40;
    width: min(320px, calc(100vw - 32px));
    padding: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    border: 1px solid rgba(140,163,255,.25);
    border-radius: 20px;
    background: rgba(8,12,22,.98);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    width: 100%;
    padding: 13px 14px;
  }
}
/* INDEX — AJUSTE A UNA SOLA PANTALLA */

body.home .page {
  padding-top: 10px;
  padding-bottom: 10px;
}

body.home .hero {
  min-height: 0;
}
/* INDEX — AJUSTE BLOQUE PRINCIPAL */

body.home .hero-copy {
  transform: translateY(25px);
}

body.home .hero-actions {
  margin-top: 18px;
}

body.home .microcopy {
  margin-top: 10px;
}


/* ===== CATÁLOGO — NAV IGUAL QUE INDEX + ACCIONES DEBAJO ===== */
.catalog-topbar {
  align-items: flex-start;
}

.catalog-header-right {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.catalog-header-right .utility-nav {
  justify-content: flex-end;
}

@media (max-width: 980px) {
  .catalog-topbar {
    align-items: center;
  }

  .catalog-header-right {
    margin-left: 0;
    display: contents;
  }

  .catalog-header-right .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
  }

  .catalog-header-right .utility-nav {
    display: none;
  }
}
.demo-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.demo-status .status-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
}
.data-box strong.demo-status {
  display: flex;
  align-items: center;
  gap: 7px;
}

.data-box .demo-status .status-dot {
  display: inline-block;
  flex: 0 0 auto;
}
.chat-launcher {
  bottom: 18px;
}
/* =========================================
   RESPONSIVE · BOTONES FLOTANTES / FOOTER
   ========================================= */

/* =========================================================
   CONTACTO · BOTONES
   Dos botones centrados arriba y propuesta centrada debajo
   ========================================================= */

body.contacto .form-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  width: 100%;
}

@media (max-width: 480px) {
  body.contacto .form-actions {
    flex-direction: column;
    align-items: center;
  }

  body.contacto .form-actions a {
    width: 100%;
    max-width: 320px;
  }
}

body.contacto .chat-launcher {
  display: none !important;
}

/* =========================================
   INDEX · TABLET
   681px — 980px
   ========================================= */

@media (min-width: 681px) and (max-width: 980px) {

  body.home .page {
    width: min(calc(100% - 48px), 920px);
    padding-top: 40px;
    padding-bottom: 40px;
  }

  /* =========================================
     HERO · DOS COLUMNAS
     ========================================= */

  body.home .hero {
    grid-template-columns:
      minmax(0, 1.12fr)
      minmax(280px, .88fr);

    gap: 52px;
    align-items: start;
  }

  body.home .hero-copy {
    max-width: none;
    transform: none;
  }

  /* =========================================
     INDICADOR SUPERIOR
     ========================================= */

  body.home .eyebrow {
    font-size: .9rem;
    line-height: 1.2;
  }

  /* =========================================
     TITULAR
     ========================================= */

  body.home h1 {
    font-size: clamp(3.4rem, 6.5vw, 4.5rem);
    line-height: .98;
    letter-spacing: -0.045em;
    margin-top: 18px;
  }

  /* =========================================
     TEXTO PRINCIPAL
     ========================================= */

  body.home .lead {
    max-width: 520px;
    font-size: 1.15rem;
    line-height: 1.6;
    margin-top: 20px;
  }

  /* =========================================
     BOTONES PRINCIPALES
     ========================================= */

  body.home .hero-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    margin-top: 28px;
  }

  body.home .hero-actions .primary-btn,
  body.home .hero-actions .soft-btn,
  body.home .hero-actions .whatsapp-btn {
    width: 230px;
  justify-content: center;
  text-align: center;
  font-size: 1rem;
  padding: 14px 18px;
  }

  body.home .voice-note {
    font-size: .86rem;
    line-height: 1.5;
    margin-top: 12px;
  }

  /* =========================================
     ZONA AYANA
     ========================================= */

  body.home .command-stage {
    min-height: 0;
    padding: 0;

    /* Baja Ayana respecto al bloque de texto */
    margin-top: 165px;
  }

  body.home .ayana-core {
    width: 100%;
    max-width: 365px;

    margin: 0 auto;
    transform: none;
  }

  body.home .ayana-name {
    font-size: 1.5rem;
  }

  body.home .ayana-role {
    font-size: 1.08rem;
    line-height: 1.4;
  }

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

  body.home .site-footer {
    padding-bottom: 90px;
  }

  body.home .footer-center strong {
    font-size: 1.06rem;
  }

  body.home .footer-center span {
    font-size: .92rem;
  }

  body.home .footer-center small {
    font-size: .88rem;
  }

  body.home .footer-links a {
    font-size: .9rem;
  }
}
body.home .hero-actions .soft-btn {
  background: linear-gradient(
    135deg,
    rgba(52, 113, 255, 0.32),
    rgba(103, 83, 255, 0.38)
  );

  border-color: rgba(105, 139, 255, 0.55);
  color: #ffffff;

  box-shadow:
    0 8px 22px rgba(56, 91, 220, 0.18);
}
/* =========================================
   INDEX · TABLET HORIZONTAL / PORTÁTIL PEQUEÑO
   981px — 1100px
   ========================================= */

@media (min-width: 981px) and (max-width: 1100px) {

  body.home .page {
    width: min(calc(100% - 48px), 1040px);
    padding-top: 44px;
    padding-bottom: 44px;
  }

  body.home .hero {
    grid-template-columns:
      minmax(0, 1.08fr)
      minmax(360px, .92fr);
    gap: 70px;
    align-items: center;
  }

  body.home .hero-copy {
    max-width: none;
    transform: none;
  }

  body.home .eyebrow {
    font-size: .92rem;
  }

  body.home h1 {
    font-size: clamp(4rem, 6vw, 5.2rem);
    line-height: .98;
    letter-spacing: -0.045em;
  }

  body.home .lead {
    max-width: 600px;
    font-size: 1.2rem;
    line-height: 1.65;
  }

  body.home .hero-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-top: 26px;
  }

  body.home .hero-actions .primary-btn,
  body.home .hero-actions .soft-btn,
  body.home .hero-actions .whatsapp-btn {
    width: 250px;
    justify-content: center;
    text-align: center;
    font-size: 1rem;
    padding: 14px 20px;
  }

  body.home .voice-note {
    font-size: 1.15rem;
    line-height: 1.55;
    margin-top: 16px;
    max-width: 430px;
  }

  body.home .command-stage {
    min-height: 0;
    padding: 0;
    margin-top: 135px;
    margin-left: 45px;
  }

  body.home .ayana-core {
    width: 100%;
    max-width: 390px;
    margin: 0 auto;
    transform: none;
  }

  body.home .ayana-name,
  body.home .ayana-info h2 {
    font-size: 1.7rem;
  }

  body.home .ayana-role,
  body.home .ayana-info p {
    font-size: 1rem;
  }

  body.home .footer-center strong {
    font-size: .95rem;
  }

  body.home .footer-center span,
  body.home .footer-center small,
  body.home .footer-links a {
    font-size: .8rem;
  }
}

  /* =========================================
   INDEX · ESCRITORIO COMPACTO
   1101px — 1366px
   ========================================= */

@media (min-width: 1101px) and (max-width: 1366px) {
  body.home .page {
    width: min(calc(100% - 44px), 1320px);
    padding-top: 30px;
    padding-bottom: 30px;
  }

  body.home .hero {
    grid-template-columns: minmax(0, 1.08fr) minmax(470px, .92fr);
    gap: 72px;
    align-items: center;
  }

  body.home .hero-copy {
    max-width: none;
    transform: none;
  }

  body.home .eyebrow {
    font-size: 1.08rem;
    line-height: 1.2;
  }

  body.home h1 {
    font-size: clamp(5.35rem, 6.45vw, 6.65rem);
    line-height: .95;
    letter-spacing: -0.045em;
  }

  body.home .lead {
    max-width: 670px;
    font-size: 1.48rem;
    line-height: 1.55;
    margin-top: 24px;
  }

  body.home .hero-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    margin-top: 30px;
  }

  body.home .hero-actions .primary-btn,
  body.home .hero-actions .soft-btn,
  body.home .hero-actions .whatsapp-btn {
    width: 320px;
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.18rem;
    padding: 16px 24px;
    text-align: center;
  }

  body.home .hero-actions .soft-btn {
    background: linear-gradient(135deg, rgba(52,113,255,.32), rgba(103,83,255,.38));
    border-color: rgba(105,139,255,.55);
    color: #fff;
    box-shadow: 0 8px 22px rgba(56,91,220,.18);
  }

  body.home .voice-note {
    max-width: 560px;
    margin-top: 18px;
    font-size: 1.28rem;
    line-height: 1.5;
  }

  body.home .command-stage {
    min-height: 0;
    padding: 0;
    margin-top: 145px;
  }

  body.home .ayana-core {
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
    transform: none;
  }

  body.home .ayana-name { font-size: 1.72rem; }
  body.home .ayana-role { font-size: 1.12rem; line-height: 1.4; }

  body.home .brand { font-size: 1.18rem; }
  body.home .nav a { font-size: 1.04rem; }

  body.home .site-footer { padding-bottom: 82px; }
  body.home .footer-center strong { font-size: 1.08rem; }
  body.home .footer-center span { font-size: .94rem; }
  body.home .footer-center small { font-size: .9rem; }
  body.home .footer-links a { font-size: .92rem; }
}


/* =========================================
   INDEX · 1101–1366 · AJUSTE VERTICAL FINAL
   Mantiene la escala y baja el bloque principal
   ========================================= */
@media (min-width: 1101px) and (max-width: 1366px) {
  body.home .page {
    padding-top: 64px;
    padding-bottom: 30px;
  }

  body.home .hero {
    align-items: start;
  }

  body.home .hero-copy {
    transform: none;
  }

  body.home .command-stage {
    margin-top: 115px;
  }
}
/* Texto informativo bajo los botones */
body.home .microcopy {
  font-size: 19px !important;
  line-height: 1.45 !important;
  opacity: 0.82;
}
/* BAJAR AYANA EN ESCRITORIO */
@media (min-width: 1101px) {
  body.home .command-stage {
    transform: translateY(35px) !important;
  }
}

/* INDEX · ESCRITORIO GRANDE · 1367px+ */
@media (min-width: 1367px) {
  body.home .page { width:min(calc(100% - 56px),1380px); padding-top:42px; padding-bottom:30px; }
  body.home .hero { grid-template-columns:minmax(0,1.08fr) minmax(470px,.92fr); gap:72px; align-items:start; }
  body.home .hero-copy { max-width:none; transform:none; }
  body.home .eyebrow { font-size:1rem; line-height:1.2; }
  body.home h1 { font-size:clamp(5rem,5.7vw,6.4rem); line-height:.95; letter-spacing:-.045em; }
  body.home .lead { max-width:690px; font-size:1.34rem; line-height:1.55; margin-top:22px; }
  body.home .hero-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  width: 100%;
  max-width: 690px;
}
body.home .hero-actions .primary-btn,
body.home .hero-actions .voice-btn,
body.home .hero-actions .whatsapp-btn {
  width: 100%;
  min-width: 0;
  max-width: none;
  height: 52px;
  padding: 0 10px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}
  body.home .microcopy { max-width:768px; margin-top:16px; font-size:1rem !important; line-height:1.5 !important; }
  body.home .command-stage { min-height:0; padding:0; margin-top:88px; transform:translateX(200px) !important; }
  body.home .ayana-core { width:100%; max-width:455px; margin:0 auto; transform:none; }
  body.home .ayana-name, body.home .ayana-info h2 { font-size:1.55rem; }
  body.home .ayana-role, body.home .ayana-info p { font-size:1rem; line-height:1.4; }
  body.home .site-footer { padding-bottom:42px; }
  body.home .footer-center strong { font-size:1rem; }
  body.home .footer-center span, body.home .footer-center small, body.home .footer-links a { font-size:.86rem; }
}

/* =========================================================
   PROPUESTA · RESPONSIVE LIMPIO
   ========================================================= */

body.propuesta .page {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

body.propuesta .proposal-head {
  display: block;
  margin-bottom: 28px;
}

body.propuesta .proposal-head > div {
  width: 100%;
  max-width: none;
}

body.propuesta .proposal-title {
  width: 100%;
  max-width: none;
  margin: 12px 0 14px;
  font-size: clamp(3rem, 5.4vw, 5.4rem);
  line-height: .98;
  letter-spacing: -.045em;
  white-space: normal;
}

body.propuesta .proposal-intro {
  width: 100%;
  max-width: 920px;
  margin: 0;
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.6;
}

body.propuesta .proposal-steps {
  display: grid;
  gap: 12px;
  font-size: 1rem;
}

body.propuesta .proposal-steps .feature-item {
  padding: 16px 18px;
  gap: 14px;
  font-size: 1rem;
  line-height: 1.45;
}

body.propuesta .proposal-cta {
  margin-top: 28px;
}

body.propuesta .proposal-cta h2 {
  margin: 0 0 10px;
  font-size: 1.9rem;
  line-height: 1.15;
}

body.propuesta .proposal-cta p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
}

body.propuesta .proposal-actions {
  display: flex;
  gap: 12px;
  width: 100%;
  margin-top: 18px;
}

body.propuesta .proposal-actions .primary-btn,
body.propuesta .proposal-actions .whatsapp-btn {
  flex: 0 1 220px;
  min-height: 48px;
  justify-content: center;
  text-align: center;
}

body.propuesta .chat-launcher {
  display: none !important;
}

@media (min-width: 769px) and (max-width: 1024px) {
  body.propuesta .page {
    width: calc(100% - 48px);
    padding-top: 24px;
    padding-bottom: 24px;
  }

  body.propuesta .proposal-title {
    max-width: 940px;
    font-size: clamp(3.8rem, 7vw, 4.8rem);
    line-height: .96;
  }

  body.propuesta .proposal-intro {
    max-width: 900px;
    font-size: 1.35rem;
    line-height: 1.55;
  }

  body.propuesta .proposal-steps,
  body.propuesta .proposal-steps .feature-item {
    font-size: 1.12rem;
  }

  body.propuesta .proposal-steps .feature-item {
    padding: 18px 20px;
  }

  body.propuesta .proposal-cta h2 { font-size: 2rem; }
  body.propuesta .proposal-cta p { font-size: 1.08rem; }

  body.propuesta .footer-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    text-align: center;
  }

  body.propuesta .footer-center { order: 1; align-items: center; }
  body.propuesta .footer-left { order: 2; justify-content: center; }
  body.propuesta .footer-contact { order: 3; justify-content: center; }
  body.propuesta .footer-links { justify-content: center; }
}

@media (max-width: 768px) {
  body.propuesta .page {
    width: calc(100% - 28px);
    padding-top: 18px;
    padding-bottom: 20px;
  }

  body.propuesta .proposal-head { margin-bottom: 22px; }

  body.propuesta .proposal-title {
    font-size: clamp(2.35rem, 10vw, 3.6rem);
    line-height: 1;
  }

  body.propuesta .proposal-intro {
    font-size: 1.05rem;
    line-height: 1.55;
  }

  body.propuesta .proposal-steps,
  body.propuesta .proposal-steps .feature-item {
    font-size: 1rem;
  }

  body.propuesta .proposal-steps { gap: 10px; }
  body.propuesta .proposal-steps .feature-item { padding: 14px; }
  body.propuesta .proposal-cta h2 { font-size: 1.55rem; }
  body.propuesta .proposal-cta p { font-size: .98rem; }

  body.propuesta .proposal-actions { gap: 8px; }

  body.propuesta .proposal-actions .primary-btn,
  body.propuesta .proposal-actions .whatsapp-btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 0 10px;
    font-size: .92rem;
  }

  body.propuesta .footer-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    text-align: center;
  }

  body.propuesta .footer-center { order: 1; }
  body.propuesta .footer-left { order: 2; justify-content: center; }
  body.propuesta .footer-contact { order: 3; justify-content: center; }
  body.propuesta .footer-links { justify-content: center; }
}
/* =========================================================
   PROPUESTA · ESCRITORIO · 1025px EN ADELANTE
   Tipografías normalizadas con el resto de la web
   ========================================================= */

@media (min-width: 1025px) {

  body.propuesta .page {
    width: min(calc(100% - 32px), var(--max));
    margin: 0 auto;
  }

  body.propuesta .proposal-title {
    width: 100%;
    max-width: none;
    font-size: clamp(2.2rem, 5vw, 4.5rem);
    line-height: 1;
    letter-spacing: -.05em;
  }

  body.propuesta .proposal-intro {
    max-width: 680px;
    font-size: 1rem;
    line-height: 1.6;
  }

  body.propuesta .proposal-steps {
    gap: 12px;
    font-size: 1rem;
  }

  body.propuesta .proposal-steps .feature-item {
    padding: 16px;
    gap: 12px;
    font-size: 1rem;
    line-height: 1.45;
  }

  body.propuesta .proposal-cta {
    margin-top: 28px;
  }

  body.propuesta .proposal-cta h2 {
    font-size: 1.45rem;
    line-height: 1.15;
  }

  body.propuesta .proposal-cta p {
    font-size: 1rem;
    line-height: 1.55;
  }

  body.propuesta .proposal-actions .primary-btn,
  body.propuesta .proposal-actions .whatsapp-btn {
    font-size: 1rem;
    min-height: 46px;
  }

  body.propuesta .footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "center"
      "links"
      "contact";
    gap: 12px;
    text-align: center;
  }

  body.propuesta .footer-center {
    grid-area: center;
    width: 100%;
    align-items: center;
    justify-content: center;
  }

  body.propuesta .footer-left {
    grid-area: links;
    width: 100%;
    justify-content: center;
  }

  body.propuesta .footer-links {
    display: flex;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
  }

  body.propuesta .footer-links a {
    font-size: 1rem;
  }

  body.propuesta .footer-contact {
    grid-area: contact;
    width: 100%;
    justify-content: center;
  }
}

#askAyana {
  background: linear-gradient(135deg, var(--blue), var(--violet));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 12px 36px rgba(84, 111, 255, 0.25);
}
/* Vídeo demostración del agente */
.agent-video {
  width: 100%;
  margin: 24px 0;
  border-radius: 18px;
  overflow: hidden;
}

.agent-video video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 18px;
}
/* =========================================================
   REDES SOCIALES · HEADER
   ========================================================= */

.header-socials {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-left: 18px;
  flex-shrink: 0;
}

.header-socials a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 42px !important;
  height: 42px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 50%;
  opacity: 1;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.header-socials svg {
  display: block;
  width: 25px !important;
  height: 25px !important;
  fill: currentColor;
}

/* Instagram */


/* Facebook */


/* LinkedIn */


.header-socials a:hover {
  transform: translateY(-2px) scale(1.08);
  filter: brightness(1.2);
}
/* =========================================================
   REDES SOCIALES · FOOTER
   ========================================================= */

.footer-socials {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.footer-socials-title {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.70);
}

.footer-social-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.footer-social-icons a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 34px !important;
  height: 34px !important;
  min-width: 34px;
  padding: 0 !important;
  margin: 0 !important;
  flex: 0 0 34px;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.footer-social-icons a svg {
  display: block !important;
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  max-width: 24px !important;
  min-height: 24px !important;
  max-height: 24px !important;
}

.footer-social-icons a:hover {
  transform: translateY(-2px) scale(1.08);
  filter: brightness(1.15);
}