/* === Tech & Strategy · asesoría (2026-12-02) — Regla #5: misma identidad que la landing
   (Productos_NegociosConIA/web_tech_strategy/css/estilo.css). Fondo #070b16, marino #141a2e, azul eléctrico #2f7bff,
   cian #38e1ff, plateado #d9dee8. Montserrat (títulos) + Inter (texto). Pensado primero para celular. */
@font-face { font-family: M; font-weight: 900; font-display: swap; src: url("../fuentes/Montserrat-Black.ttf"); }
@font-face { font-family: M; font-weight: 800; font-display: swap; src: url("../fuentes/Montserrat-ExtraBold.ttf"); }
@font-face { font-family: I; font-weight: 500; font-display: swap; src: url("../fuentes/Inter-Medium.ttf"); }
@font-face { font-family: I; font-weight: 700; font-display: swap; src: url("../fuentes/Inter-Bold.ttf"); }
:root { --fondo: #070b16; --navy: #141a2e; --azul: #2f7bff; --azul2: #7fb0ff; --cian: #38e1ff; --plata: #d9dee8;
        --texto: #aab3c8; --tenue: #6f7a93; --verde: #2ee59d; --borde: rgba(127,176,255,.14); }
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--fondo); color: #fff; font-family: I, system-ui, sans-serif; font-weight: 500; line-height: 1.55;
       -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; }
a { color: var(--azul2); }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--cian); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1180px, 100% - 32px); margin: 0 auto; }
[hidden] { display: none !important; }
.oculto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
h1 { font-family: M, sans-serif; font-weight: 900; line-height: 1.08; letter-spacing: -.02em; font-size: clamp(30px, 4.4vw, 54px); margin: 18px 0 16px; }
.grad { background: linear-gradient(100deg, #fff 0%, var(--azul2) 45%, var(--cian) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kicker { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--borde);
          background: rgba(47,123,255,.08); font-family: M; font-weight: 800; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--azul2); }
.kicker i { width: 7px; height: 7px; border-radius: 50%; background: var(--cian); box-shadow: 0 0 10px var(--cian); }
.lead { color: var(--texto); font-size: clamp(15px, 1.4vw, 18px); }

.aurora { position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background: radial-gradient(60vw 50vh at 80% -5%, rgba(47,123,255,.32), transparent 65%),
              radial-gradient(50vw 45vh at 0% 35%, rgba(56,225,255,.12), transparent 65%),
              radial-gradient(60vw 50vh at 50% 110%, rgba(47,123,255,.18), transparent 70%), var(--fondo); }
.rejilla { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .55;
  background-image: linear-gradient(rgba(127,176,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(127,176,255,.05) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 12px;
       font-family: M; font-weight: 800; font-size: 14px; text-decoration: none; color: #fff; border: 0; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.btn.pri { background: linear-gradient(135deg, var(--azul), #1f5fe0); box-shadow: 0 0 0 1px rgba(127,176,255,.35) inset, 0 12px 30px rgba(47,123,255,.45); }
.btn.pri:hover { transform: translateY(-2px); }
.btn.sec { background: rgba(255,255,255,.04); border: 1px solid var(--borde); color: var(--plata); }
.btn.sec:hover { border-color: rgba(127,176,255,.45); background: rgba(47,123,255,.08); }
.btn.chico { height: 40px; padding: 0 16px; font-size: 13px; }

nav { position: sticky; top: 0; z-index: 20; background: rgba(7,11,22,.75); backdrop-filter: blur(14px); border-bottom: 1px solid var(--borde); }
nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.marca { display: flex; align-items: center; gap: 12px; font-family: M; font-weight: 900; font-size: 17px; }
.marca img { width: 40px; height: 40px; border-radius: 11px; object-fit: cover; box-shadow: 0 0 0 1px var(--borde); }

.principal { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; padding: 26px 0 30px; align-items: start; }
.ventajas { list-style: none; display: grid; gap: 1px; margin-top: 24px; border: 1px solid var(--borde); border-radius: 16px; overflow: hidden; background: var(--borde); }
.ventajas li { background: rgba(7,11,22,.72); padding: 13px 16px; }
.ventajas b { display: block; font-family: M; font-weight: 800; font-size: 14px; }
.ventajas span { color: var(--tenue); font-size: 13px; font-weight: 700; }
@media (max-width: 899px) { .intro .lead, .ventajas { display: none; } .intro h1 { font-size: 25px; margin: 12px 0 0; }
  .kicker { font-size: 10px; letter-spacing: .1em; padding: 6px 12px; } .principal { padding-top: 16px; gap: 16px; } }
@media (min-width: 900px) { .principal { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; padding-top: 56px; } .intro { position: sticky; top: 110px; } }

/* ---- chat con borde de luz (como el tablero de la landing) ---- */
.chat__marco { position: relative; border-radius: 24px; padding: 1px;
  background: conic-gradient(from var(--ang, 0deg), rgba(56,225,255,0), rgba(56,225,255,.85), rgba(47,123,255,0) 35%, rgba(47,123,255,0) 60%, rgba(127,176,255,.75) 80%, rgba(56,225,255,0));
  animation: giro 7s linear infinite; box-shadow: 0 34px 90px rgba(0,0,0,.55), 0 0 70px rgba(47,123,255,.16); }
@property --ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes giro { to { --ang: 360deg; } }
@media (prefers-reduced-motion: reduce) { .chat__marco { animation: none; } }
.chat__in { border-radius: 23px; background: linear-gradient(180deg, #0d1430, #0a1026); overflow: hidden; display: flex; flex-direction: column;
            height: min(680px, calc(100dvh - 150px)); min-height: 460px; }
.chat__barra { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--borde); }
.chat__barra img { width: 34px; height: 34px; border-radius: 9px; }
.chat__barra b { display: block; font-family: M; font-weight: 800; font-size: 14px; }
.chat__barra small { display: flex; align-items: center; gap: 6px; color: var(--verde); font-size: 12px; font-weight: 700; }
.chat__barra small i { width: 7px; height: 7px; border-radius: 50%; background: var(--verde); box-shadow: 0 0 10px var(--verde); }

.chat__mensajes { flex: 1; overflow-y: auto; padding: 18px 14px; display: flex; flex-direction: column; gap: 10px; scroll-behavior: smooth; }
.burbuja { max-width: 86%; padding: 11px 15px; border-radius: 16px; font-size: 15px; white-space: pre-wrap; overflow-wrap: anywhere; animation: entra .3s ease-out; }
@keyframes entra { from { opacity: 0; transform: translateY(6px); } }
.burbuja.asistente { align-self: flex-start; background: rgba(255,255,255,.05); border: 1px solid var(--borde); color: var(--plata); border-bottom-left-radius: 5px; }
.burbuja.visitante { align-self: flex-end; background: linear-gradient(135deg, var(--azul), #1f5fe0); color: #fff; border-bottom-right-radius: 5px; }
.burbuja.aviso { border-color: rgba(255,176,32,.45); }
.burbuja.aviso a { display: inline-block; margin-top: 6px; font-weight: 700; }
.escribiendo { display: flex; gap: 5px; padding: 15px 16px; }
.escribiendo i { width: 7px; height: 7px; border-radius: 50%; background: var(--azul2); animation: punto 1.2s infinite; }
.escribiendo i:nth-child(2) { animation-delay: .15s; } .escribiendo i:nth-child(3) { animation-delay: .3s; }
@keyframes punto { 30% { opacity: .25; transform: translateY(-3px); } }

/* selector de horarios */
.horarios { align-self: stretch; border: 1px solid var(--borde); border-radius: 16px; background: rgba(7,11,22,.55); padding: 12px; }
.horarios__dias { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; }
.horarios__dias button { flex: none; border: 1px solid var(--borde); background: rgba(255,255,255,.03); color: var(--texto); border-radius: 10px;
                         padding: 7px 11px; font: 700 12px I, sans-serif; cursor: pointer; }
.horarios__dias button::first-letter { text-transform: uppercase; }
.horarios__dias button.on { border-color: var(--cian); color: #fff; background: rgba(56,225,255,.1); }
.horarios__horas { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 6px; }
.horarios__horas button { border: 1px solid rgba(127,176,255,.25); background: rgba(47,123,255,.08); color: #fff; border-radius: 10px; padding: 9px 4px;
                          font: 700 13px I, sans-serif; cursor: pointer; transition: background .2s, border-color .2s; }
.horarios__horas button:hover { background: rgba(47,123,255,.25); border-color: var(--azul2); }
.horarios.usado { opacity: .5; pointer-events: none; }
.horarios small { display: block; color: var(--tenue); font-size: 11px; font-weight: 700; margin-top: 8px; }

/* tarjeta de cita confirmada */
.cita { align-self: stretch; border-radius: 16px; padding: 14px 16px; border: 1px solid rgba(46,229,157,.4); background: rgba(46,229,157,.07); }
.cita b { display: block; font-family: M; font-weight: 800; color: var(--verde); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.cita p { margin-top: 4px; color: var(--plata); font-size: 14px; }
.cita .cuando { font-family: M; font-weight: 900; font-size: 17px; color: #fff; }
.cita .cuando::first-letter { text-transform: uppercase; }
.cita a { display: inline-flex; margin-top: 10px; }

.chat__sugerencias { display: flex; gap: 7px; overflow-x: auto; padding: 0 14px 10px; scrollbar-width: none; }
.chat__sugerencias::-webkit-scrollbar { display: none; }
.chip { flex: none; border: 1px solid var(--borde); background: rgba(47,123,255,.08); color: var(--azul2); border-radius: 999px; padding: 8px 13px;
        font: 700 13px I, sans-serif; cursor: pointer; }
.chip:hover { border-color: var(--azul2); color: #fff; }
.chat__form { display: flex; gap: 8px; align-items: flex-end; padding: 10px 12px 12px; border-top: 1px solid var(--borde); }
.chat__form textarea { flex: 1; resize: none; max-height: 130px; border-radius: 14px; border: 1px solid var(--borde); background: rgba(255,255,255,.04);
                       color: #fff; font: 500 16px I, sans-serif; padding: 12px 14px; line-height: 1.4; }
.chat__form textarea::placeholder { color: var(--tenue); }
.chat__form textarea:focus { outline: none; border-color: rgba(56,225,255,.55); }
.enviar { flex: none; width: 48px; height: 48px; border-radius: 14px; border: 0; cursor: pointer; display: grid; place-items: center;
          background: linear-gradient(135deg, var(--azul), #1f5fe0); box-shadow: 0 8px 22px rgba(47,123,255,.45); }
.enviar svg { width: 22px; height: 22px; fill: #fff; }
.enviar:disabled { opacity: .45; cursor: default; }
.nota { color: var(--tenue); font-size: 12px; font-weight: 700; text-align: center; margin-top: 12px; }

.pie { border-top: 1px solid var(--borde); color: var(--tenue); font-size: 13px; font-weight: 700; padding: 18px 0; text-align: center; }
.pie a { color: var(--texto); }

/* páginas de texto (privacidad) y administración */
.doc { max-width: 780px; padding: 40px 0 60px; }
.doc h1 { font-size: clamp(28px, 4vw, 40px); }
.doc h2 { font-family: M; font-weight: 800; font-size: 19px; margin: 26px 0 8px; }
.doc p, .doc li { color: var(--texto); margin-bottom: 10px; }
.doc ul { padding-left: 20px; }
.tabla { width: 100%; border-collapse: collapse; font-size: 13px; margin: 10px 0 30px; }
.tabla th, .tabla td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--borde); vertical-align: top; color: var(--plata); }
.tabla th { color: var(--azul2); font-family: M; font-weight: 800; font-size: 12px; }
details.conv { border: 1px solid var(--borde); border-radius: 12px; padding: 10px 14px; margin-bottom: 8px; background: rgba(255,255,255,.02); }
details.conv summary { cursor: pointer; font-weight: 700; color: var(--plata); }
details.conv p { margin: 6px 0; font-size: 14px; white-space: pre-wrap; }
details.conv p.v { color: var(--azul2); }
.etq { display: inline-block; padding: 3px 9px; border-radius: 8px; font-size: 12px; font-weight: 700; background: rgba(255,176,32,.15); color: #ffb020; }
