/* =================================================================
   Nicotion — landing.css
   Paleta: bg #FAF8F5, text #0A0A0A, accent #FF6B35, divider #E8E8E5
   Tipografía: Inter (system fallback)
   ================================================================= */

/* ---------- Tokens ---------- */
:root {
  --bg: #FAF8F5;
  --bg-alt: #F3F0EA;
  --text: #0A0A0A;
  --text-soft: #4A4A48;
  --text-mute: #8A8A86;
  --accent: #FF6B35;
  --accent-soft: #FF8859;
  --accent-dark: #E45820;
  --divider: #E8E8E5;
  --card-bg: #FFFFFF;
  --shadow-1: 0 1px 2px rgba(10, 10, 10, 0.04), 0 4px 12px rgba(10, 10, 10, 0.04);
  --shadow-2: 0 2px 6px rgba(10, 10, 10, 0.06), 0 12px 32px rgba(10, 10, 10, 0.08);
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 22px;
  --max: 1180px;
  --gap: 24px;
  --easing: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv11', 'ss01', 'kern';
  letter-spacing: -0.005em;
}

/* ---------- Layout ---------- */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}
.section__header { margin-bottom: 56px; max-width: 720px; }
.section__eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section__title {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.section__lead {
  font-size: 19px;
  color: var(--text-soft);
  line-height: 1.55;
  max-width: 640px;
}

/* Underline decorado en palabras clave */
.hl {
  background: linear-gradient(180deg, transparent 0%, transparent 55%, var(--accent) 55%, var(--accent) 95%, transparent 95%);
  padding: 0 4px;
  color: var(--text);
  font-weight: 700;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.hl--soft {
  background: linear-gradient(180deg, transparent 0%, transparent 60%, rgba(255,107,53,0.18) 60%, rgba(255,107,53,0.18) 95%, transparent 95%);
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 999px;
  transition: transform 0.15s var(--easing), background 0.2s, color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,0.2) inset, 0 4px 14px rgba(255,107,53,0.25);
}
.btn--primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.2) inset, 0 8px 22px rgba(255,107,53,0.32);
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--divider);
}
.btn--ghost:hover {
  border-color: var(--text);
  background: rgba(10,10,10,0.03);
}
.btn--lg {
  padding: 18px 32px;
  font-size: 17px;
}

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 16px 0;
  background: transparent;
  transition: background 0.25s, box-shadow 0.25s, padding 0.25s;
  backdrop-filter: blur(0px);
}
.nav--solid {
  background: rgba(250, 248, 245, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 var(--divider);
  padding: 10px 0;
}
.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.nav__logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.nav__wordmark {
  font-weight: 700;
}
.nav__links {
  display: flex;
  gap: 32px;
  font-size: 15px;
  color: var(--text-soft);
}
.nav__links a {
  position: relative;
  padding: 6px 0;
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--text); }
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--easing);
}
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta {
  padding: 10px 18px;
  background: var(--text);
  color: #fff;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s, transform 0.15s var(--easing);
}
.nav__cta:hover {
  background: var(--accent);
  transform: translateY(-1px);
}
.nav__menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav__menu span {
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav__menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__menu[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__menu[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- HERO ---------- */
.hero {
  padding: 140px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 80% 0%, rgba(255,107,53,0.08), transparent 60%),
    radial-gradient(40% 40% at 0% 100%, rgba(255,107,53,0.05), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.hero__container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero__eyebrow {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid var(--divider);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-soft);
  margin-bottom: 24px;
  letter-spacing: 0.02em;
  background: rgba(255,255,255,0.6);
}
.hero__headline {
  font-size: clamp(36px, 4.2vw, 52px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: 24px;
}
.hero__sub {
  font-size: 19px;
  line-height: 1.55;
  color: var(--text-soft);
  max-width: 480px;
  margin-bottom: 32px;
}
.hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.hero__bullets {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero__bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text-soft);
}
.hero__bullets .dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Hero — laptop mockup estilo MacBook (frame + chrome + base con notch) */
.hero__mockup {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 8px;
  padding-bottom: 14px; /* aire para la base trapezoidal */
  perspective: 1500px;
}
.hero__device {
  position: relative;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  z-index: 1;
}
/* Cámara/notch central en el bisel superior del laptop */
.hero__device-screen::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1a1a1a;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.10),
    0 0 0 2px rgba(0,0,0,0.6);
  z-index: 4;
}
.hero__device-screen {
  position: relative;
  background: #0a0a0a;
  border-radius: 16px 16px 4px 4px;
  padding: 26px 12px 30px 12px; /* más padding arriba (cámara) y abajo (notch) */
  border: 1px solid rgba(0,0,0,0.85);
  box-shadow:
    0 40px 90px -20px rgba(0,0,0,0.35),
    0 18px 36px -12px rgba(0,0,0,0.20),
    0 0 0 1px rgba(255,255,255,0.05),
    inset 0 1px 0 rgba(255,255,255,0.08),
    inset 0 0 0 1px rgba(0,0,0,0.04);
  /* SIN overflow:hidden — la base trapezoidal sobresale por debajo */
}

/* Chrome del laptop (header estilo macOS) */
.laptop-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  background: linear-gradient(180deg, #1f1f1f 0%, #2a2a2a 100%);
  border-bottom: 1px solid rgba(0,0,0,0.4);
  border-radius: 6px 6px 0 0;
}
.laptop-chrome__dots {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.laptop-chrome__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4b5563;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.18);
}
.laptop-chrome__dot--red    { background: #ef4444; }
.laptop-chrome__dot--yellow { background: #f59e0b; }
.laptop-chrome__dot--green  { background: #10b981; }
.laptop-chrome__label {
  margin-left: auto;
  margin-right: auto;
  color: rgba(255,255,255,0.62);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  font-family: 'Inter', system-ui, sans-serif;
}

/* Carousel interno (las 2 vistas del dashboard) */
.hero__carousel {
  position: relative;
  background: #1f2937;
  border-radius: 0 0 6px 6px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}
.hero__device-screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  background: #fff;
}

/* Base estilo MacBook con notch — cuña trapezoidal sobresaliendo por debajo */
.hero__device-base {
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: -10px;  /* sobresale por debajo del marco */
  height: 14px;
  background: linear-gradient(180deg, #2a2a2a 0%, #0a0a0a 100%);
  border-radius: 0 0 18px 18px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    inset 0 -2px 6px rgba(0,0,0,0.40),
    0 10px 22px -4px rgba(0,0,0,0.35),
    0 2px 6px rgba(0,0,0,0.15);
  /* clip-path trapezoidal: más ancho abajo (teclado abierto) */
  clip-path: polygon(
    2% 0%,
    98% 0%,
    108% 100%,
    -8% 100%
  );
}
.hero__device-base::before {
  content: '';
  position: absolute;
  top: 1px;
  left: 50%;
  transform: translateX(-50%);
  width: 130px;
  height: 5px;
  background: #050505;
  border-radius: 0 0 6px 6px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 1px 3px rgba(0,0,0,0.40);
}

/* ---------- PROBLEMA ---------- */
.problem {
  padding: 100px 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
}
.problem .section__title {
  max-width: 760px;
  margin-bottom: 24px;
}
.problem .section__lead {
  margin-bottom: 56px;
}
.problem__list {
  display: grid;
  gap: 1px;
  background: var(--divider);
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  overflow: hidden;
}
.problem__list li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 28px 32px;
  background: var(--bg);
  align-items: start;
  transition: background 0.2s;
}
.problem__list li:hover { background: #fff; }
.problem__q {
  font-size: 36px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.04em;
}
.problem__list h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  line-height: 1.4;
}
.problem__list p {
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.55;
}

/* ---------- SERVICIOS ---------- */
.services {
  padding: 100px 0;
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.svc {
  background: var(--card-bg);
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.3s var(--easing), box-shadow 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
}
.svc::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--easing);
}
.svc:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
  border-color: rgba(255,107,53,0.3);
}
.svc:hover::before { transform: scaleX(1); }
.svc__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 4px;
}
.svc__num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(255,107,53,0.08);
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.05em;
}
.svc__head h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.svc__problem, .svc__solution {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.55;
}
.svc__result {
  font-size: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--divider);
  color: var(--text);
  font-weight: 500;
}

/* ---------- Service visualizations ---------- */
.svc__viz {
  background: var(--bg);
  border: 1px solid var(--divider);
  border-radius: var(--radius-sm);
  padding: 20px;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Chat mockup (Agents) */
.chat {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}
.chat__msg {
  padding: 10px 14px;
  border-radius: 14px;
  max-width: 85%;
  line-height: 1.4;
}
.chat__msg--user {
  background: var(--bg-alt);
  border: 1px solid var(--divider);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.chat__msg--bot {
  background: var(--text);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.chat__name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-soft);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.chat__typing {
  display: flex;
  gap: 4px;
  padding: 8px 14px;
  background: var(--bg-alt);
  border: 1px solid var(--divider);
  border-radius: 14px;
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  width: fit-content;
}
.chat__typing span {
  width: 6px; height: 6px;
  background: var(--text-mute);
  border-radius: 50%;
  animation: typing 1.2s infinite;
}
.chat__typing span:nth-child(2) { animation-delay: 0.2s; }
.chat__typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

/* Flow mockup (Automation) */
.flow {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  flex-wrap: nowrap;
}
.flow__col {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: stretch;
  flex: 1;
}
.flow__col--in { flex: 1.1; }
.flow__col--core { flex: 0 0 auto; align-items: center; }
.flow__col--out { flex: 1.1; }
.flow__node {
  padding: 7px 10px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  border: 1px solid var(--divider);
  font-family: 'JetBrains Mono', monospace;
  white-space: nowrap;
}
.flow__node--in { background: #fff; color: var(--text-soft); }
.flow__node--core {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  padding: 14px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  text-align: center;
  letter-spacing: -0.01em;
  box-shadow: 0 4px 14px rgba(255,107,53,0.3);
  white-space: nowrap;
}
.flow__node--out { background: var(--text); color: #fff; border-color: var(--text); }
.flow__line {
  position: relative;
  height: 2px;
  flex: 0 0 28px;
  background: repeating-linear-gradient(
    90deg,
    var(--accent) 0,
    var(--accent) 4px,
    transparent 4px,
    transparent 8px
  );
  margin-top: 0;
  align-self: center;
}
.flow__line::after {
  content: '';
  position: absolute;
  right: -1px; top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: var(--accent);
}

/* RAG mockup */
.rag {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.rag__q {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  background: var(--bg-alt);
  border: 1px solid var(--divider);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  align-items: flex-start;
}
.rag__icon {
  width: 22px; height: 22px;
  background: var(--text);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
  font-size: 14px;
}
.rag__ans {
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--accent);
  border-left: 3px solid var(--accent);
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-soft);
}
.rag__src {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.rag__ans p { color: var(--text); }
.rag__ans strong { color: var(--accent); font-weight: 700; }
.rag__chips {
  display: flex;
  gap: 6px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.rag__chips span {
  font-size: 14px;
  padding: 3px 8px;
  background: var(--bg-alt);
  border: 1px solid var(--divider);
  border-radius: 999px;
  color: var(--text-mute);
  font-weight: 500;
}

/* Roadmap mockup (Advisory) */
.road {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  justify-content: space-between;
}
.road__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}
.road__dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 2px var(--accent);
}
.road__step:nth-child(3) .road__dot { box-shadow: 0 0 0 2px var(--accent); opacity: 0.6; }
.road__step:nth-child(5) .road__dot { box-shadow: 0 0 0 2px var(--accent); opacity: 0.4; }
.road__step:nth-child(7) .road__dot { box-shadow: 0 0 0 2px var(--accent); opacity: 0.25; }
.road__lbl {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-soft);
}
.road__sep {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--divider));
  margin-top: -16px;
}

/* ---------- PROCESO / TIMELINE ---------- */
.process {
  padding: 100px 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
}
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}
.phase {
  background: var(--card-bg);
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
  transition: transform 0.3s var(--easing), box-shadow 0.3s;
}
.phase:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
}
.phase__label {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  background: rgba(255,107,53,0.1);
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.phase__when {
  font-size: 14px;
  color: var(--text-mute);
  font-weight: 500;
  margin-bottom: 8px;
}
.phase__title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.phase__desc {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.55;
  margin-bottom: 16px;
}
.phase__deliverables {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  color: var(--text);
  padding-top: 14px;
  border-top: 1px solid var(--divider);
}
.phase__deliverables li::before {
  content: '→ ';
  color: var(--accent);
  font-weight: 700;
}

/* ---------- PERFIL ---------- */
.profile {
  padding: 100px 0;
}
.profile__grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 56px; align-items: start; }
.profile__photo {
  display: flex;
  justify-content: center;
}
.profile__avatar {
  width: 220px;
  height: 220px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 40px rgba(255,107,53,0.25);
  position: relative;
}
.profile__avatar::before {
  content: '';
  position: absolute;
  inset: -8px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  opacity: 0.25;
}
.profile__initials {
  font-size: 80px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.04em;
}
.profile__title {
  font-size: 19px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.profile__bio {
  font-size: 17px;
  color: var(--text-soft);
  line-height: 1.65;
  margin-bottom: 24px;
  max-width: 560px;
}
.profile__attrs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: var(--text-soft);
}
.profile__attrs strong {
  color: var(--text);
  font-weight: 700;
}

/* ---------- EVIDENCIA ---------- */
.evidence {
  padding: 100px 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
}
.evidence__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}
.case {
  background: var(--card-bg);
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.3s var(--easing), box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.case:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
}
.case--featured {
  grid-row: span 2;
  background: linear-gradient(135deg, #FFFFFF 0%, #FFF8F4 100%);
  border: 1px solid rgba(255,107,53,0.3);
  position: relative;
  overflow: hidden;
}
.case--featured::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  background: radial-gradient(closest-side, rgba(255,107,53,0.15), transparent 70%);
  border-radius: 50%;
}
.case__tag {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  background: rgba(255,107,53,0.12);
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  width: fit-content;
  position: relative;
}
.case__num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-mute);
}
.case__title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.case--featured .case__title {
  font-size: 26px;
  position: relative;
}
.case__desc {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.55;
}
.case__bullets {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  color: var(--text);
  margin-top: 8px;
  position: relative;
}
.case__bullets li::before {
  content: '• ';
  color: var(--accent);
  font-weight: 700;
}
.case__link {
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  position: relative;
  width: fit-content;
}
.case__link:hover { text-decoration: underline; }

/* ---------- SCAN ---------- */
.scan {
  padding: 100px 0;
}
.scan__card {
  background: var(--text);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 56px;
  position: relative;
  overflow: hidden;
}
.scan__card::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(closest-side, rgba(255,107,53,0.4), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.scan__head { position: relative; max-width: 720px; margin-bottom: 48px; }
.scan__pill {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  background: rgba(255,107,53,0.15);
  padding: 5px 12px;
  border-radius: 6px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.scan__head .section__title {
  color: #fff;
  font-size: clamp(28px, 3vw, 40px);
  margin-bottom: 16px;
}
.scan__head .section__lead {
  color: rgba(255,255,255,0.7);
}
.scan__deliverables {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 40px;
  position: relative;
}
.scan__deliverables li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.scan__check {
  width: 28px;
  height: 28px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
  font-size: 14px;
}
.scan__deliverables h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.scan__deliverables p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}
.scan__cta {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
.scan__note {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
}

/* ---------- CTA FINAL ---------- */
.cta {
  padding: 100px 0 120px;
  text-align: center;
}
.cta__title {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.cta__sub {
  font-size: 19px;
  color: var(--text-soft);
  margin-bottom: 32px;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--text);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer__brand {}
.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: #fff;
  font-size: 18px;
  margin-bottom: 12px;
}
.footer__tag {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  max-width: 240px;
}
.footer__col h4 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer__col a {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  gap: 12px;
}
.footer__bottom a {
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}
.footer__bottom a:hover { color: var(--accent); }
.footer__credit {
  font-weight: 600;
}

/* ---------- ANIMACIONES DE ENTRADA ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--easing), transform 0.7s var(--easing);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 960px) {
  .hero {
    padding: 100px 0 60px;
  }
  .hero__container {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero__mockup {
    order: 2;
  }
  .hero__device {
    max-width: 100%;
  }
  .services__grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .profile__grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .profile__bio { margin-left: auto; margin-right: auto; }
  .evidence__grid {
    grid-template-columns: 1fr 1fr;
  }
  .case--featured {
    grid-column: span 2;
    grid-row: span 1;
  }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .scan__card { padding: 40px 28px; }
  .scan__deliverables { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav__links, .nav__cta { display: none; }
  .nav__menu { display: flex; }
  .nav__menu-open .nav__links,
  .nav__menu-open .nav__cta {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--bg);
    padding: 20px 24px;
    border-top: 1px solid var(--divider);
    gap: 16px;
  }
  .nav__menu-open .nav__cta {
    border-top: 1px solid var(--divider);
    padding-top: 16px;
    margin-top: 8px;
  }
  .section__header { margin-bottom: 40px; }
  .hero { padding: 80px 0 40px; }
  .hero__headline { font-size: 38px; }
  .timeline { grid-template-columns: 1fr; }
  .evidence__grid { grid-template-columns: 1fr; }
  .case--featured { grid-column: span 1; }
  .problem__list li {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 22px 20px;
  }
  .problem__q { font-size: 28px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .scan__card { padding: 32px 20px; }
  .laptop-chrome { padding: 7px 10px; }
  .laptop-chrome__label { font-size: 0.7rem; }
  .laptop-chrome__dot { width: 8px; height: 8px; }
  .hero__device-screen { padding: 10px 10px 22px; border-radius: 14px 14px 4px 4px; }
  .hero__captions { margin-top: 14px; }
}

/* ---------- A11y ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ─── Transversal: objetivo táctil mínimo 44px ─── */
.nav__links a, .footer__col a, .footer a, .hero__cta a { display: inline-flex; align-items: center; min-height: 44px; }
button, .btn, a.btn, .btn--primary, .btn--ghost { min-height: 44px; }
a[href^="tel:"], a[href^="mailto:"], a[href*="wa.me"] { display: inline-flex; align-items: center; min-height: 44px; }


/* ─── Prueba social en el hero ─── */
.hero__proof { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border, #E5E2DC); }
.hero__proof-label { display: block; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-mute, #8A8A86); margin-bottom: 12px; }
.hero__proof-list { display: flex; flex-wrap: wrap; gap: 12px 28px; list-style: none; margin: 0; padding: 0; }
.hero__proof-list li { font-size: 16px; font-weight: 700; color: var(--text-soft, #4A4A48); letter-spacing: -.01em; }

.profile__attrs { display: grid; gap: 14px; align-content: start; }
@media (max-width: 860px) { .profile__grid { grid-template-columns: 1fr; gap: 28px; } }

/* ─── Carrusel dentro del laptop del hero (patrón Techsystem) ─── */

.hero__carousel:focus-visible { outline: 3px solid var(--accent, #FF6B35); outline-offset: 3px; }
.hero__slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0; transition: opacity .6s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__captions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  padding: 4px;
  background: rgba(255,255,255,.55);
  border: 1px solid var(--border, #E5E2DC);
  border-radius: 999px;
  backdrop-filter: blur(6px);
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.hero__caption {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-soft, #4A4A48);
  cursor: pointer;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}
.hero__caption:hover { color: var(--text, #0A0A0A); background: rgba(0,0,0,.04); }
.hero__caption:focus-visible { outline: 2px solid var(--accent, #FF6B35); outline-offset: 2px; }
.hero__caption.is-active {
  background: var(--accent, #FF6B35);
  color: #fff;
  box-shadow: 0 4px 14px rgba(255,107,53,.28);
}
.hero__caption.is-active .hero__caption-num { background: rgba(255,255,255,.22); color: #fff; }
.hero__caption-num {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(0,0,0,.06);
  color: var(--text-soft, #4A4A48);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
}
.hero__captions-sub {
  margin: 8px 0 0;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-mute, #8A8A86);
}
@media (max-width: 520px) {
  .hero__caption { font-size: 13px; padding: 6px 10px; gap: 6px; }
  .hero__caption-lbl { max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .hero__caption-num { min-width: 20px; height: 20px; font-size: 10px; }
  .hero__captions { gap: 4px; padding: 3px; }
  .hero__captions-sub { font-size: 11px; }
}

/* lightbox */
.laptop-lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; background: rgba(10,10,10,.88); backdrop-filter: blur(4px); }
.laptop-lightbox[hidden] { display: none; }
.laptop-lightbox__img { max-width: min(96vw, 1600px); max-height: 92vh; border-radius: 10px; box-shadow: 0 30px 90px rgba(0,0,0,.6); object-fit: contain; background: #0f1115; }
.laptop-lightbox__close { position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; min-height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.laptop-lightbox__close:hover { background: rgba(255,255,255,.22); }
@media (prefers-reduced-motion: reduce) { .hero__slide { transition: none; } }


/* ─── Vistas del laptop dibujadas en HTML (nítidas, 0 KB) ─── */
.hero__device-screen { container-type: inline-size; }
.hero__carousel { position: relative; aspect-ratio: 1.9 / 1; border-radius: 6px; overflow: hidden; background: #F7F7F5; }
.uiv { position: absolute; inset: 0; display: flex; flex-direction: column; opacity: 0; transition: opacity .6s ease; background: #F7F7F5; font-size: 1.35cqw; color: #0A0A0A; }
.uiv.is-active { opacity: 1; }
.uiv__bar { display: flex; align-items: center; gap: .5em; padding: .55em .9em; background: #fff; border-bottom: 1px solid #E9E7E2; }
.uiv__dot { width: .55em; height: .55em; border-radius: 50%; background: #E2E0DA; }
.uiv__dot:first-child { background: #FF5F57; } .uiv__dot:nth-child(2) { background: #FEBC2E; } .uiv__dot:nth-child(3) { background: #28C840; }
.uiv__crumb { margin-left: .6em; font-size: .82em; color: #8A8A86; letter-spacing: .01em; }
.uiv__body { flex: 1; display: grid; grid-template-columns: 6.5em 1fr; min-height: 0; }
.uiv__side { background: #fff; border-right: 1px solid #E9E7E2; padding: .9em .7em; display: flex; flex-direction: column; gap: .55em; }
.uiv__logo { height: .9em; width: 3.4em; border-radius: .2em; background: #1D4ED8; opacity: .9; margin-bottom: .5em; }
.uiv__nav { height: .62em; border-radius: .3em; background: #EDEBE6; }
.uiv__nav.is-on { background: #D8E3FB; }
.uiv__nav:nth-child(3) { width: 80%; } .uiv__nav:nth-child(4) { width: 65%; } .uiv__nav:nth-child(5) { width: 72%; }
.uiv__main { padding: 1em 1.1em; display: flex; flex-direction: column; gap: .55em; min-width: 0; }
.uiv__eyebrow { margin: 0; font-size: .72em; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: #1D4ED8; }
.uiv__title { margin: 0; font-size: 1.5em; font-weight: 800; letter-spacing: -.02em; }
.uiv__lead { display: flex; align-items: center; gap: .7em; padding: .7em .9em; border-radius: .5em; background: linear-gradient(100deg, #1D4ED8, #3B82F6); color: #fff; }
.uiv__lead strong { display: block; font-size: 1em; } .uiv__lead small { font-size: .78em; opacity: .8; }
.uiv__pill { margin-left: auto; font-size: .7em; padding: .2em .6em; border-radius: 99px; background: rgba(255,255,255,.22); }
.uiv__avatar { display: grid; place-items: center; width: 2em; height: 2em; border-radius: 50%; background: #E8EDFA; color: #1D4ED8; font-weight: 800; font-size: .85em; flex: none; }
.uiv__avatar--dir { background: rgba(255,255,255,.24); color: #fff; }
.uiv__label { margin: .2em 0 0; font-size: .78em; color: #8A8A86; font-weight: 700; }
.uiv__label b { color: #0A0A0A; }
.uiv__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5em; }
.uiv__card { background: #fff; border: 1px solid #E9E7E2; border-radius: .45em; padding: .6em .5em; display: flex; flex-direction: column; gap: .25em; align-items: flex-start; }
.uiv__card strong { font-size: .82em; } .uiv__card small { font-size: .7em; color: #8A8A86; }
.uiv__kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5em; }
.uiv__kpi { background: #fff; border: 1px solid #E9E7E2; border-radius: .45em; padding: .6em .65em; }
.uiv__kpi small { display: block; font-size: .68em; color: #8A8A86; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .2em; }
.uiv__kpi b { font-size: 1.5em; font-weight: 800; letter-spacing: -.03em; }
.uiv__kpi b i { font-size: .55em; font-style: normal; color: #8A8A86; }
.uiv__kpi--warn { background: #FFF8EC; border-color: #F5E3C0; } .uiv__kpi--warn b { color: #B4700A; }
.uiv__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5em; }
.uiv__step { background: #fff; border: 1px solid #E9E7E2; border-radius: .45em; padding: .6em .65em; display: flex; flex-direction: column; gap: .2em; }
.uiv__step strong { font-size: .84em; } .uiv__step small { font-size: .68em; color: #8A8A86; }
.uiv__tag { align-self: flex-start; font-size: .62em; font-weight: 800; padding: .18em .5em; border-radius: 99px; background: #FFEDD5; color: #C2410C; margin-bottom: .15em; }
.uiv__tag--b { background: #DBEAFE; color: #1D4ED8; } .uiv__tag--g { background: #DCFCE7; color: #15803D; }
.uiv__foot { margin-top: auto; display: flex; align-items: center; gap: .45em; font-size: .7em; color: #6B6B67; }
.uiv__live { width: .5em; height: .5em; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 .18em rgba(34,197,94,.18); }
@supports not (container-type: inline-size) { .uiv { font-size: 7px; } }
@media (max-width: 620px) { .uiv__grid, .uiv__kpis { grid-template-columns: repeat(2, 1fr); } .uiv__steps { grid-template-columns: 1fr; } }

/* que las vistas ocupen el alto de la pantalla */
.uiv__grid { flex: 1; grid-template-rows: repeat(2, 1fr); align-content: stretch; }
.uiv__kpis, .uiv__steps { flex: none; }
.uiv__now { list-style: none; margin: 0; padding: 0; display: grid; gap: .35em; flex: 1; align-content: start; }
.uiv__now li { display: flex; align-items: center; gap: .5em; background: #fff; border: 1px solid #E9E7E2; border-radius: .4em; padding: .5em .65em; font-size: .76em; color: #4A4A48; }
.uiv__now b { color: #0A0A0A; font-weight: 700; }
.uiv__now i { margin-left: auto; font-style: normal; font-size: .9em; color: #8A8A86; }
.uiv__live--b { background: #3B82F6; box-shadow: 0 0 0 .18em rgba(59,130,246,.18); }
.uiv__live--m { background: #C9C7C1; box-shadow: none; }
.uiv__card { justify-content: center; }
.uiv__now { align-content: stretch; }
.uiv__now li { align-items: center; }


/* ============================================================
   NOTI · Agente conversacional (FAB + Modal)
   Inspirado en Floti/Loqui. Sin dependencias externas.
   ============================================================ */

.noti-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 8px;
  border: 0;
  border-radius: 999px;
  background: #0A0A0A;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.01em;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(0,0,0,.32), 0 2px 6px rgba(0,0,0,.18);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.noti-fab:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 42px rgba(0,0,0,.38), 0 2px 8px rgba(0,0,0,.22);
  background: #1a1a1a;
}
.noti-fab:focus-visible {
  outline: 3px solid var(--accent, #FF6B35);
  outline-offset: 3px;
}
.noti-fab__avatar {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF6B35 0%, #FF8E3C 100%);
  color: #fff;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0;
  flex: none;
}
.noti-fab__pulse {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, .55);
  animation: noti-pulse 2.4s ease-out infinite;
}
@keyframes noti-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(52,211,153,.5); }
  70%  { box-shadow: 0 0 0 12px rgba(52,211,153,0); }
  100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); }
}
.noti-fab__hint { white-space: nowrap; }
@media (max-width: 520px) {
  .noti-fab {
    right: 14px;
    bottom: 14px;
    padding: 6px 14px 6px 6px;
    font-size: 13px;
  }
  .noti-fab__avatar { width: 36px; height: 36px; font-size: 16px; }
  .noti-fab__hint { display: none; } /* en mobile sólo el dot + N */
}

/* Modal */
.noti-modal {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(10, 10, 10, .45);
  backdrop-filter: blur(4px);
  animation: noti-fade .2s ease-out;
}
.noti-modal[hidden] { display: none; }
@keyframes noti-fade { from { opacity: 0; } to { opacity: 1; } }

.noti-card {
  position: relative;
  width: min(420px, 100%);
  max-height: min(82vh, 720px);
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0,0,0,.35), 0 4px 12px rgba(0,0,0,.12);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: noti-pop .22s cubic-bezier(.2,.9,.3,1.2);
}
@keyframes noti-pop { from { transform: translateY(10px) scale(.97); opacity: 0; } to { transform: none; opacity: 1; } }

.noti-head {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 16px 16px 12px;
  background: linear-gradient(180deg, #0A0A0A 0%, #1a1a1a 100%);
  color: #fff;
}
.noti-avatar {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF6B35 0%, #FF8E3C 100%);
  font-weight: 800;
  font-size: 19px;
  box-shadow: 0 0 0 3px rgba(255,107,53,.22);
}
.noti-head h3 { margin: 0; font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.noti-head p  { margin: 2px 0 0; font-size: 12px; color: rgba(255,255,255,.65); }
.noti-close {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background .18s ease;
}
.noti-close:hover { background: rgba(255,255,255,.2); }
.noti-close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.noti-log {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  overflow-y: auto;
  background: #F7F7F5;
  font-size: 15px;
  line-height: 1.45;
  scroll-behavior: smooth;
}
.noti-msg {
  max-width: 86%;
  padding: 10px 14px;
  border-radius: 14px;
  word-wrap: break-word;
  animation: noti-pop .18s ease-out;
}
.noti-msg--bot {
  align-self: flex-start;
  background: #fff;
  color: #0A0A0A;
  border: 1px solid #E9E7E2;
  border-bottom-left-radius: 4px;
}
.noti-msg--user {
  align-self: flex-end;
  background: #FF6B35;
  color: #fff;
  border-bottom-right-radius: 4px;
}

.noti-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-self: flex-start;
  max-width: 86%;
}
.noti-option {
  width: 100%;
  text-align: left;
  padding: 10px 14px;
  border: 1px solid #E9E7E2;
  border-radius: 12px;
  background: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #0A0A0A;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .12s ease;
}
.noti-option:hover {
  border-color: #FF6B35;
  background: rgba(255,107,53,.06);
}
.noti-option:focus-visible {
  outline: 2px solid #FF6B35;
  outline-offset: 2px;
}

.noti-input-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-self: flex-start;
  width: 100%;
}
.noti-input {
  flex: 1 1 200px;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #E9E7E2;
  border-radius: 12px;
  background: #fff;
  font-family: inherit;
  font-size: 14px;
  color: #0A0A0A;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.noti-input:focus {
  border-color: #FF6B35;
  box-shadow: 0 0 0 3px rgba(255,107,53,.16);
}

.noti-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .18s ease, background .18s ease;
}
.noti-btn--primary {
  background: #FF6B35;
  color: #fff;
  box-shadow: 0 4px 12px rgba(255,107,53,.3);
}
.noti-btn--primary:hover { background: #ff5722; transform: translateY(-1px); }
.noti-btn--ghost {
  background: transparent;
  color: #4A4A48;
  border: 1px solid #E9E7E2;
}
.noti-btn--ghost:hover { color: #0A0A0A; border-color: #C9C7C1; }

.noti-summary {
  margin: 4px 0 0;
  padding: 12px 14px;
  background: #fff;
  border: 1px dashed #E9E7E2;
  border-radius: 12px;
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  line-height: 1.5;
  color: #4A4A48;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.noti-foot {
  padding: 10px 16px 12px;
  background: #fff;
  border-top: 1px solid #E9E7E2;
}
.noti-foot small { font-size: 11px; color: #8A8A86; line-height: 1.4; display: block; }

body.noti-open { overflow: hidden; }

@media (max-width: 520px) {
  .noti-modal { padding: 0; align-items: end; }
  .noti-card {
    width: 100%;
    max-height: 88vh;
    border-radius: 18px 18px 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .noti-fab__pulse, .noti-modal, .noti-card, .noti-msg { animation: none; }
  .noti-fab, .noti-btn, .noti-input { transition: none; }
}

/* CTA "Cotizar" por servicio — secundario, debajo del resultado */
.svc__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  align-self: flex-start;
  margin-top: 14px;
  padding: 0 18px;
  min-height: 44px;
  border: 1px solid var(--accent, #FF6B35);
  border-radius: 999px;
  background: transparent;
  color: var(--accent, #FF6B35);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -.005em;
  text-decoration: none;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, transform .12s ease, box-shadow .18s ease;
}
.svc__cta:hover {
  background: var(--accent, #FF6B35);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(255,107,53,.25);
}
.svc__cta:focus-visible {
  outline: 3px solid var(--accent, #FF6B35);
  outline-offset: 2px;
}
@media (max-width: 520px) {
  .svc__cta {
    align-self: stretch;
    width: 100%;
  }
}

/* ---------- Footer credit (rule cross-client del umbrella skill) ---------- */
.credits-note {
  text-align: center;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}
.credits-note a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}
.credits-note a:hover {
  color: var(--accent-soft);
  text-decoration: underline;
}
