  :root {
    /* Paleta Brobott */
    --paper: #F4EFE6;
    --paper-soft: #EAE3D6;
    --ink: #14110F;
    --ink-soft: #5C5650;
    --ink-faint: #8A847B;
    --teal: #0F4C5C;
    --teal-soft: #1F6B7E;
    --teal-tint: rgba(15, 76, 92, 0.08);
    --line: rgba(20, 17, 15, 0.12);
    --line-soft: rgba(20, 17, 15, 0.06);

    /* Tipografía */
    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  }

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

  html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
  }

  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
  }

  body {
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
  }

  /* Grano sutil de fondo */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.08 0 0 0 0 0.07 0 0 0 0 0.06 0 0 0 0.5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.4;
    mix-blend-mode: multiply;
    pointer-events: none;
    z-index: 1;
  }

  /* Nav */
  nav {
    position: sticky;
    top: 0;
    z-index: 100;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(244, 239, 230, 0.85);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid transparent;
    transition: border-bottom-color 0.2s ease, padding 0.2s ease;
  }

  nav.scrolled {
    border-bottom-color: var(--line);
    padding: 14px 56px;
  }

  /* Inner wrapper para mantener el contenido del nav centrado en pantallas anchas */
  nav > * {
    max-width: 1440px;
  }

  .logo {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 22px;
    letter-spacing: -0.02em;
    color: var(--ink);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .logo-mark {
    width: 28px;
    height: 28px;
    background-image: url('brobott-logo-nav.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: inline-block;
    flex-shrink: 0;
  }

  .nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
    align-items: center;
  }

  .nav-links a {
    color: var(--ink);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.005em;
    transition: color 0.2s ease;
  }

  .nav-links a:hover {
    color: var(--teal);
  }

  /* Dropdown Servicios */
  .nav-dropdown {
    position: relative;
  }

  .nav-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    color: var(--ink);
    font-size: 14px;
    font-weight: 500;
    background: none;
    border: none;
    padding: 0;
    font-family: inherit;
    transition: color 0.2s ease;
  }

  .nav-dropdown-trigger:hover { color: var(--teal); }

  .nav-dropdown-trigger svg {
    transition: transform 0.25s ease;
  }

  .nav-dropdown:hover .nav-dropdown-trigger svg {
    transform: rotate(180deg);
  }

  .nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 10px;
    min-width: 320px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 20px 60px -10px rgba(20, 17, 15, 0.15), 0 0 0 1px rgba(20, 17, 15, 0.04);
    z-index: 100;
  }

  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }

  /* Pasarela invisible para que no se cierre al ir hacia el menú */
  .nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -14px;
    left: 0;
    right: 0;
    height: 14px;
  }

  .nav-dropdown-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 14px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--ink);
    transition: background 0.2s ease;
  }

  .nav-dropdown-item:hover {
    background: var(--teal-tint);
  }

  .nav-dropdown-item-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--paper-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal);
    flex-shrink: 0;
    transition: all 0.2s ease;
  }

  .nav-dropdown-item:hover .nav-dropdown-item-icon {
    background: var(--teal);
    color: var(--paper);
  }

  .nav-dropdown-item-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .nav-dropdown-item-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
  }

  .nav-dropdown-item-desc {
    font-size: 12px;
    color: var(--ink-faint);
    line-height: 1.4;
  }

  .nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
  }

  .lang-switch {
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-soft);
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 6px;
    transition: background 0.2s ease;
  }

  .lang-switch:hover {
    background: var(--teal-tint);
    color: var(--teal);
  }

  .btn-primary {
    background: var(--ink);
    color: var(--paper);
    border: none;
    padding: 11px 20px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.01em;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .btn-primary:hover {
    background: var(--teal);
    transform: translateY(-1px);
  }

  /* Hero */
  .hero {
    position: relative;
    z-index: 5;
    max-width: 1440px;
    margin: 0 auto;
    padding: 60px 56px 100px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    min-height: calc(100vh - 100px);
  }

  .hero-left {
    display: flex;
    flex-direction: column;
    gap: 32px;
    opacity: 0;
    animation: fadeUp 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.1s forwards;
  }

  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 14px 7px 10px;
    background: var(--paper-soft);
    border: 1px solid var(--line);
    border-radius: 100px;
    font-size: 13px;
    color: var(--ink-soft);
    width: fit-content;
    transition: all 0.2s ease;
    cursor: pointer;
  }

  .hero-badge:hover {
    border-color: var(--teal);
    color: var(--teal);
  }

  .hero-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--teal);
    position: relative;
  }

  .hero-badge-dot::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: var(--teal);
    opacity: 0.3;
    animation: pulse 2s ease-in-out infinite;
  }

  @keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.6); opacity: 0; }
  }

  h1 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(48px, 5.2vw, 76px);
    line-height: 1.02;
    letter-spacing: -0.025em;
    color: var(--ink-faint);
  }

  h1 .accent {
    color: var(--ink);
    font-style: italic;
    font-weight: 400;
  }

  .hero-sub {
    font-size: 18px;
    line-height: 1.55;
    color: var(--ink-soft);
    max-width: 480px;
    letter-spacing: -0.005em;
  }

  .hero-ctas {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 8px;
  }

  .btn-hero {
    background: var(--ink);
    color: var(--paper);
    padding: 16px 26px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-body);
  }

  .btn-hero:hover {
    background: var(--teal);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(15, 76, 92, 0.2);
  }

  .btn-hero .arrow {
    width: 14px;
    height: 14px;
    transition: transform 0.25s ease;
  }

  .btn-hero:hover .arrow {
    transform: translateX(3px);
  }

  .btn-secondary {
    background: transparent;
    color: var(--ink);
    border: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 0;
    border-bottom: 1px solid var(--ink);
    transition: all 0.2s ease;
    font-family: var(--font-body);
  }

  .btn-secondary:hover {
    color: var(--teal);
    border-bottom-color: var(--teal);
  }

  /* Hero right - transcripción */
  .hero-right {
    position: relative;
    opacity: 0;
    animation: fadeUp 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.4s forwards;
  }

  .call-card {
    background: var(--ink);
    border-radius: 24px;
    padding: 28px;
    box-shadow:
      0 30px 80px -20px rgba(15, 76, 92, 0.25),
      0 0 0 1px rgba(244, 239, 230, 0.06) inset;
    position: relative;
    overflow: hidden;
  }

  .call-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(244, 239, 230, 0.2), transparent);
  }

  .call-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(244, 239, 230, 0.08);
    margin-bottom: 20px;
  }

  .call-meta {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .call-status {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--paper);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
  }

  .call-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ade80;
    position: relative;
  }

  .call-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: #4ade80;
    opacity: 0.4;
    animation: pulse-live 1.5s ease-in-out infinite;
  }

  @keyframes pulse-live {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.8); opacity: 0; }
  }

  .call-time {
    font-family: 'SF Mono', Menlo, monospace;
    font-size: 12px;
    color: var(--ink-faint);
    letter-spacing: 0.02em;
  }

  .agent-tag {
    font-size: 11px;
    color: rgba(244, 239, 230, 0.5);
    font-family: 'SF Mono', Menlo, monospace;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }

  .transcript {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-height: 360px;
    overflow-y: auto;
    scroll-behavior: smooth;
    padding-right: 6px;
    /* scroll style minimal */
    scrollbar-width: thin;
    scrollbar-color: rgba(244, 239, 230, 0.15) transparent;
    mask-image: linear-gradient(to bottom, transparent 0%, black 8%, black 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 8%, black 100%);
  }

  .transcript::-webkit-scrollbar { width: 4px; }
  .transcript::-webkit-scrollbar-track { background: transparent; }
  .transcript::-webkit-scrollbar-thumb {
    background: rgba(244, 239, 230, 0.15);
    border-radius: 2px;
  }

  .turn {
    display: flex;
    flex-direction: column;
    gap: 4px;
    opacity: 0;
    transform: translateY(8px);
    animation: turnIn 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  }

  .turn:nth-child(1) { animation-delay: 1.2s; }
  .turn:nth-child(2) { animation-delay: 2.6s; }
  .turn:nth-child(3) { animation-delay: 4.0s; }
  .turn:nth-child(4) { animation-delay: 5.0s; }
  .turn:nth-child(5) { animation-delay: 6.4s; }
  .turn:nth-child(6) { animation-delay: 7.4s; }
  .turn:nth-child(7) { animation-delay: 9.0s; }
  .turn:nth-child(8) { animation-delay: 10.0s; }
  .turn:nth-child(9) { animation-delay: 11.4s; }
  .turn:nth-child(10) { animation-delay: 12.4s; }

  @keyframes turnIn {
    to { opacity: 1; transform: translateY(0); }
  }

  .turn-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
  }

  .turn.caller .turn-label { color: rgba(244, 239, 230, 0.5); }
  .turn.agent .turn-label { color: #5eead4; }

  .turn-text {
    font-size: 15px;
    line-height: 1.45;
    color: var(--paper);
  }

  .turn.caller .turn-text {
    color: rgba(244, 239, 230, 0.7);
    font-weight: 400;
  }

  .turn.agent .turn-text {
    color: var(--paper);
    font-weight: 400;
  }

  /* Waveform */
  .waveform {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid rgba(244, 239, 230, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    height: 36px;
  }

  .wave-bar {
    width: 3px;
    background: #5eead4;
    border-radius: 2px;
    animation: wave 1.2s ease-in-out infinite;
  }

  .wave-bar:nth-child(1) { height: 30%; animation-delay: 0s; }
  .wave-bar:nth-child(2) { height: 60%; animation-delay: 0.1s; }
  .wave-bar:nth-child(3) { height: 80%; animation-delay: 0.2s; }
  .wave-bar:nth-child(4) { height: 100%; animation-delay: 0.3s; }
  .wave-bar:nth-child(5) { height: 70%; animation-delay: 0.4s; }
  .wave-bar:nth-child(6) { height: 90%; animation-delay: 0.5s; }
  .wave-bar:nth-child(7) { height: 50%; animation-delay: 0.6s; }
  .wave-bar:nth-child(8) { height: 75%; animation-delay: 0.7s; }
  .wave-bar:nth-child(9) { height: 95%; animation-delay: 0.8s; }
  .wave-bar:nth-child(10) { height: 40%; animation-delay: 0.9s; }
  .wave-bar:nth-child(11) { height: 65%; animation-delay: 1s; }
  .wave-bar:nth-child(12) { height: 85%; animation-delay: 1.1s; }
  .wave-bar:nth-child(13) { height: 55%; animation-delay: 0.2s; }
  .wave-bar:nth-child(14) { height: 70%; animation-delay: 0.4s; }
  .wave-bar:nth-child(15) { height: 35%; animation-delay: 0.6s; }

  @keyframes wave {
    0%, 100% { transform: scaleY(0.4); }
    50% { transform: scaleY(1); }
  }

  /* Etiqueta flotante */
  .floating-label {
    position: absolute;
    top: -14px;
    right: 28px;
    background: var(--paper);
    border: 1px solid var(--line);
    padding: 7px 14px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 500;
    color: var(--ink-soft);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(20, 17, 15, 0.04);
  }

  /* Logos clientes */
  .clients {
    position: relative;
    z-index: 5;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 56px 80px;
    opacity: 0;
    animation: fadeUp 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.7s forwards;
  }

  .clients-label {
    font-size: 12px;
    color: var(--ink-faint);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 24px;
    font-weight: 500;
  }

  .clients-row {
    display: flex;
    align-items: center;
    gap: 56px;
    flex-wrap: wrap;
  }

  .client-name {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 400;
    color: var(--ink-faint);
    font-style: italic;
    letter-spacing: -0.01em;
    transition: color 0.2s ease;
  }

  .client-name:hover {
    color: var(--ink);
  }

  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* Responsive */
  @media (max-width: 980px) {
    nav { padding: 20px 24px; }
    .nav-links { display: none; }
    .hero {
      grid-template-columns: 1fr;
      padding: 40px 24px 80px;
      gap: 56px;
      min-height: auto;
    }
    .clients { padding: 0 24px 60px; }
    .clients-row { gap: 32px; }
  }

  /* ===== Sección: Hub ===== */
  .section {
    position: relative;
    z-index: 5;
    max-width: 1440px;
    margin: 0 auto;
    padding: 120px 56px;
  }

  .section-eyebrow {
    font-size: 12px;
    color: var(--teal);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .section-eyebrow::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--teal);
  }

  .section-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(40px, 4.4vw, 64px);
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: var(--ink);
    max-width: 800px;
  }

  .section-title .faint {
    color: var(--ink-faint);
  }

  .section-sub {
    font-size: 18px;
    line-height: 1.55;
    color: var(--ink-soft);
    max-width: 560px;
    margin-top: 24px;
  }

  /* Hub diagram - versión animada */
  .hub-section {
    padding-bottom: 60px;
  }

  .hub-canvas {
    margin-top: 80px;
    position: relative;
    height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hub-svg {
    width: 100%;
    height: 100%;
    max-width: 1100px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
  }

  /* Líneas de conexión */
  .hub-line {
    stroke: rgba(15, 76, 92, 0.18);
    stroke-width: 1.5;
    fill: none;
  }

  .hub-line-active {
    stroke: var(--teal);
    stroke-width: 2;
    fill: none;
    stroke-dasharray: 6 4;
    animation: line-flow 1.4s linear infinite, line-fade-in 0.4s ease-out;
  }

  @keyframes line-flow {
    to { stroke-dashoffset: -20; }
  }

  @keyframes line-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  /* Pulso de paquete viajando por la línea */
  .hub-pulse {
    fill: #5eead4;
    opacity: 0;
  }

  .hub-pulse.active {
    animation: pulse-travel 1.4s ease-in-out;
  }

  @keyframes pulse-travel {
    0% { opacity: 0; r: 3; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { opacity: 0; r: 5; }
  }

  /* Nodos exteriores */
  .hub-node {
    position: absolute;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 13px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink);
    box-shadow: 0 4px 16px rgba(20, 17, 15, 0.04);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
    white-space: nowrap;
    z-index: 2;
  }

  .hub-node.is-active {
    border-color: var(--teal);
    background: var(--teal);
    color: var(--paper);
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 12px 32px rgba(15, 76, 92, 0.25);
  }

  .hub-node.is-active .hub-node-dot {
    background: #5eead4;
    box-shadow: 0 0 0 4px rgba(94, 234, 212, 0.25);
  }

  .hub-node-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--teal);
    flex-shrink: 0;
    transition: all 0.3s ease;
  }

  /* Hub central */
  .hub-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: var(--ink);
    color: var(--paper);
    padding: 22px 30px;
    border-radius: 16px;
    text-align: center;
    z-index: 3;
    box-shadow: 0 20px 60px rgba(15, 76, 92, 0.25);
    min-width: 220px;
  }

  .hub-center::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 22px;
    border: 1px solid rgba(15, 76, 92, 0.25);
    animation: hub-ring 3s ease-out infinite;
    pointer-events: none;
  }

  .hub-center::after {
    content: '';
    position: absolute;
    inset: -16px;
    border-radius: 28px;
    border: 1px solid rgba(15, 76, 92, 0.12);
    animation: hub-ring 3s ease-out 1s infinite;
    pointer-events: none;
  }

  @keyframes hub-ring {
    0% { transform: scale(0.95); opacity: 1; }
    100% { transform: scale(1.15); opacity: 0; }
  }

  .hub-center-label {
    display: block;
    font-family: var(--font-body);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(244, 239, 230, 0.5);
    margin-bottom: 8px;
    font-weight: 600;
  }

  .hub-center-name {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
  }

  /* Estado dinámico dentro del hub */
  .hub-status {
    font-family: 'SF Mono', Menlo, monospace;
    font-size: 11px;
    color: #5eead4;
    padding-top: 10px;
    border-top: 1px solid rgba(244, 239, 230, 0.1);
    min-height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: opacity 0.3s ease;
  }

  .hub-status-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #5eead4;
    animation: status-blink 1s ease-in-out infinite;
  }

  @keyframes status-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
  }

  /* Etiquetas de columna */
  .hub-column-label {
    position: absolute;
    top: -8px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink-faint);
    font-weight: 600;
  }

  .hub-column-label.left { left: 8%; }
  .hub-column-label.right { right: 8%; }

  /* CTA bajo el diagrama */
  .hub-footer {
    margin-top: 60px;
    text-align: center;
  }

  .hub-footer-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px solid var(--ink);
    padding-bottom: 4px;
    transition: all 0.2s ease;
  }

  .hub-footer-link:hover {
    color: var(--teal);
    border-bottom-color: var(--teal);
  }

  .hub-footer-link svg { transition: transform 0.2s ease; }
  .hub-footer-link:hover svg { transform: translateX(3px); }

  /* Producto: bloques alternados */
  .product-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
    padding: 80px 0;
    border-top: 1px solid var(--line-soft);
  }

  .product-block.reverse {
    direction: rtl;
  }

  .product-block.reverse > * {
    direction: ltr;
  }

  .product-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .product-number {
    font-family: 'SF Mono', Menlo, monospace;
    font-size: 13px;
    color: var(--teal);
    letter-spacing: 0.06em;
  }

  .product-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(32px, 3.2vw, 44px);
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--ink);
  }

  .product-desc {
    font-size: 17px;
    line-height: 1.55;
    color: var(--ink-soft);
    max-width: 460px;
  }

  .product-bullets {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
  }

  .product-bullet {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: var(--ink);
  }

  .product-bullet-mark {
    color: var(--teal);
    font-weight: 600;
    flex-shrink: 0;
    margin-top: 2px;
  }

  .product-link {
    margin-top: 12px;
    color: var(--ink);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    border-bottom: 1px solid var(--ink);
    padding-bottom: 4px;
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
  }

  .product-link:hover {
    color: var(--teal);
    border-bottom-color: var(--teal);
  }

  .product-link svg { transition: transform 0.2s ease; }
  .product-link:hover svg { transform: translateX(3px); }

  /* Demo cards a la derecha */
  .demo-card {
    background: var(--ink);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 30px 80px -20px rgba(15, 76, 92, 0.2);
    color: var(--paper);
    position: relative;
    overflow: hidden;
  }

  .demo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(244, 239, 230, 0.2), transparent);
  }

  .demo-card.light {
    background: var(--paper-soft);
    color: var(--ink);
    border: 1px solid var(--line);
    box-shadow: 0 30px 80px -20px rgba(20, 17, 15, 0.08);
  }

  .demo-card.light::before {
    background: linear-gradient(90deg, transparent, var(--line), transparent);
  }

  .demo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(244, 239, 230, 0.08);
    margin-bottom: 18px;
    font-size: 12px;
    color: rgba(244, 239, 230, 0.5);
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .demo-card.light .demo-header {
    color: var(--ink-faint);
    border-bottom-color: var(--line);
  }

  /* Demo Voz: notificación llamada */
  .demo-call {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .call-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: rgba(244, 239, 230, 0.04);
    border-radius: 12px;
    border: 1px solid rgba(244, 239, 230, 0.06);
  }

  .call-row-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--paper);
  }

  .call-row-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
  }

  .call-row-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--paper);
  }

  .call-row-meta {
    font-size: 12px;
    color: rgba(244, 239, 230, 0.5);
    font-family: 'SF Mono', Menlo, monospace;
  }

  .call-row-status {
    font-size: 11px;
    color: #5eead4;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  /* Demo Conversa: email */
  .demo-email {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .email-incoming {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 16px;
    color: var(--ink);
  }

  .email-from {
    font-size: 12px;
    color: var(--ink-faint);
    margin-bottom: 6px;
    font-family: 'SF Mono', Menlo, monospace;
  }

  .email-subject {
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 14px;
  }

  .email-body {
    font-size: 13px;
    color: var(--ink-soft);
    line-height: 1.5;
  }

  .email-arrow {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
    padding: 0 4px;
  }

  .email-arrow svg { color: var(--teal); }

  .email-reply {
    background: rgba(15, 76, 92, 0.15);
    border: 1px solid rgba(94, 234, 212, 0.2);
    border-radius: 12px;
    padding: 16px;
    color: var(--paper);
    position: relative;
  }

  .email-reply-tag {
    position: absolute;
    top: -10px;
    left: 14px;
    background: var(--teal);
    color: var(--paper);
    font-size: 9px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }

  .email-reply-body {
    font-size: 13px;
    line-height: 1.5;
    color: rgba(244, 239, 230, 0.9);
  }

  .typing-cursor {
    display: inline-block;
    width: 2px;
    height: 13px;
    background: #5eead4;
    margin-left: 2px;
    vertical-align: text-bottom;
    animation: blink 1s steps(1) infinite;
  }

  @keyframes blink {
    50% { opacity: 0; }
  }

  /* Demo Operativa: panel de tareas */
  .demo-tasks {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .task-row {
    display: grid;
    grid-template-columns: 22px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 12px 14px;
    background: rgba(244, 239, 230, 0.04);
    border-radius: 10px;
    border: 1px solid rgba(244, 239, 230, 0.06);
    font-size: 13px;
  }

  .task-check {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--paper);
    flex-shrink: 0;
  }

  .task-check.pending {
    background: transparent;
    border: 1.5px solid rgba(244, 239, 230, 0.2);
  }

  .task-check.processing {
    background: transparent;
    border: 1.5px solid #5eead4;
    border-top-color: transparent;
    animation: spin 0.8s linear infinite;
  }

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

  .task-text {
    color: var(--paper);
    line-height: 1.4;
  }

  .task-row.pending .task-text {
    color: rgba(244, 239, 230, 0.5);
  }

  .task-time {
    font-size: 11px;
    color: rgba(244, 239, 230, 0.4);
    font-family: 'SF Mono', Menlo, monospace;
  }

  /* Responsive secciones */
  @media (max-width: 980px) {
    .section { padding: 80px 24px; }
    .hub-canvas { height: 600px; }
    .product-block {
      grid-template-columns: 1fr;
      gap: 40px;
      padding: 60px 0;
    }
    .product-block.reverse { direction: ltr; }
  }

  /* ===== Sección: Flujo (fondo oscuro) ===== */
  .flow-wrapper {
    background: var(--ink);
    color: var(--paper);
    margin-top: 120px;
    position: relative;
    z-index: 5;
    overflow: hidden;
  }

  .flow-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 0%, rgba(15, 76, 92, 0.25), transparent 50%);
    pointer-events: none;
  }

  .flow-section {
    max-width: 1440px;
    margin: 0 auto;
    padding: 140px 56px;
    position: relative;
  }

  .flow-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: end;
    padding-bottom: 80px;
    border-bottom: 1px solid rgba(244, 239, 230, 0.08);
  }

  .flow-eyebrow {
    font-size: 12px;
    color: #5eead4;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .flow-eyebrow::before {
    content: '';
    width: 24px;
    height: 1px;
    background: #5eead4;
  }

  .flow-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(40px, 4.4vw, 64px);
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: var(--paper);
  }

  .flow-title .faint {
    color: rgba(244, 239, 230, 0.4);
  }

  .flow-intro {
    font-size: 18px;
    line-height: 1.55;
    color: rgba(244, 239, 230, 0.65);
    max-width: 480px;
    padding-bottom: 12px;
  }

  .flow-intro strong {
    color: var(--paper);
    font-weight: 500;
  }

  .flow-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 80px;
  }

  .flow-step {
    background: rgba(244, 239, 230, 0.03);
    border: 1px solid rgba(244, 239, 230, 0.08);
    border-radius: 20px;
    padding: 36px 28px 28px;
    display: flex;
    flex-direction: column;
    min-height: 480px;
    transition: all 0.3s ease;
  }

  .flow-step:hover {
    border-color: rgba(94, 234, 212, 0.3);
    background: rgba(244, 239, 230, 0.05);
    transform: translateY(-4px);
  }

  .flow-step-number {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 300;
    color: rgba(244, 239, 230, 0.2);
    line-height: 1;
    letter-spacing: -0.02em;
  }

  .flow-step-visual {
    flex: 1;
    margin: 32px 0 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
  }

  .flow-step-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
    color: var(--paper);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
  }

  .flow-step-desc {
    font-size: 14px;
    line-height: 1.5;
    color: rgba(244, 239, 230, 0.6);
  }

  /* Visual 01: canales entrantes */
  .channels {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .channel {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: rgba(244, 239, 230, 0.04);
    border: 1px solid rgba(244, 239, 230, 0.08);
    border-radius: 10px;
    font-size: 12px;
    color: rgba(244, 239, 230, 0.7);
    position: relative;
    overflow: hidden;
  }

  .channel-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(94, 234, 212, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5eead4;
    flex-shrink: 0;
  }

  .channel-pulse {
    position: absolute;
    right: 12px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #5eead4;
  }

  .channel-pulse::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: #5eead4;
    opacity: 0.4;
    animation: pulse-live 1.5s ease-in-out infinite;
  }

  .channel:nth-child(1) .channel-pulse { animation: blink-channel 4s ease-in-out infinite; }
  .channel:nth-child(2) .channel-pulse { animation: blink-channel 4s ease-in-out 1.3s infinite; }
  .channel:nth-child(3) .channel-pulse { animation: blink-channel 4s ease-in-out 2.6s infinite; }

  @keyframes blink-channel {
    0%, 30%, 100% { opacity: 0.2; }
    10%, 20% { opacity: 1; }
  }

  /* Visual 02: ficha cliente */
  .client-card {
    width: 100%;
    background: rgba(244, 239, 230, 0.04);
    border: 1px solid rgba(244, 239, 230, 0.08);
    border-radius: 12px;
    padding: 16px;
  }

  .client-name {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(244, 239, 230, 0.06);
  }

  .client-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1F6B7E, #5eead4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    color: var(--ink);
    flex-shrink: 0;
  }

  .client-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
  }

  .client-info-name {
    font-size: 13px;
    color: var(--paper);
    font-weight: 500;
  }

  .client-info-meta {
    font-size: 10px;
    color: rgba(244, 239, 230, 0.4);
    font-family: 'SF Mono', Menlo, monospace;
  }

  .client-policies {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .policy-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    padding: 6px 0;
  }

  .policy-name {
    color: rgba(244, 239, 230, 0.65);
  }

  .policy-status {
    font-size: 9px;
    padding: 2px 8px;
    border-radius: 100px;
    background: rgba(94, 234, 212, 0.1);
    color: #5eead4;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 600;
  }

  /* Visual 03: acciones */
  .actions {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .action-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    background: rgba(244, 239, 230, 0.04);
    border: 1px solid rgba(244, 239, 230, 0.08);
    border-radius: 10px;
    font-size: 12px;
    color: rgba(244, 239, 230, 0.75);
  }

  .action-spinner {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1.5px solid rgba(94, 234, 212, 0.3);
    border-top-color: #5eead4;
    animation: spin 0.9s linear infinite;
    flex-shrink: 0;
  }

  .action-check {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #5eead4;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    flex-shrink: 0;
  }

  /* Visual 04: log entry */
  .log-entry {
    width: 100%;
    background: rgba(244, 239, 230, 0.04);
    border: 1px solid rgba(244, 239, 230, 0.08);
    border-radius: 12px;
    padding: 16px;
    font-family: 'SF Mono', Menlo, monospace;
    font-size: 11px;
    line-height: 1.7;
  }

  .log-time {
    color: rgba(244, 239, 230, 0.4);
    font-size: 10px;
    margin-bottom: 10px;
    display: block;
  }

  .log-line {
    display: flex;
    gap: 10px;
    padding: 3px 0;
  }

  .log-key {
    color: rgba(244, 239, 230, 0.4);
    flex-shrink: 0;
    min-width: 70px;
  }

  .log-value {
    color: rgba(244, 239, 230, 0.85);
  }

  .log-value.tag {
    color: #5eead4;
  }

  .log-divider {
    height: 1px;
    background: rgba(244, 239, 230, 0.06);
    margin: 8px 0;
  }

  .log-summary {
    color: rgba(244, 239, 230, 0.7);
    font-family: var(--font-body);
    font-size: 12px;
    line-height: 1.5;
    margin-top: 8px;
  }

  /* Responsive flow */
  @media (max-width: 1100px) {
    .flow-steps {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (max-width: 980px) {
    .flow-section { padding: 80px 24px; }
    .flow-header {
      grid-template-columns: 1fr;
      gap: 32px;
      padding-bottom: 56px;
    }
    .flow-steps {
      grid-template-columns: 1fr;
      margin-top: 56px;
    }
    .flow-step { min-height: auto; }
  }

  /* ===== Sección: CTA final ===== */
  .cta-section {
    position: relative;
    z-index: 5;
    max-width: 1440px;
    margin: 0 auto;
    padding: 160px 56px 140px;
    text-align: center;
  }

  .cta-mark {
    width: 56px;
    height: 56px;
    margin: 0 auto 40px;
    border-radius: 50%;
    background: var(--teal);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .cta-mark::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 1px solid rgba(15, 76, 92, 0.3);
    animation: cta-ring 2.4s ease-out infinite;
  }

  .cta-mark::after {
    content: '';
    position: absolute;
    inset: -16px;
    border-radius: 50%;
    border: 1px solid rgba(15, 76, 92, 0.15);
    animation: cta-ring 2.4s ease-out 0.6s infinite;
  }

  @keyframes cta-ring {
    0% { transform: scale(0.9); opacity: 1; }
    100% { transform: scale(1.6); opacity: 0; }
  }

  .cta-mark-inner {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--paper);
  }

  .cta-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(48px, 5.6vw, 84px);
    line-height: 1.02;
    letter-spacing: -0.025em;
    color: var(--ink);
    max-width: 900px;
    margin: 0 auto 32px;
  }

  .cta-title .accent {
    font-style: italic;
    color: var(--teal);
  }

  .cta-sub {
    font-size: 19px;
    line-height: 1.55;
    color: var(--ink-soft);
    max-width: 540px;
    margin: 0 auto 48px;
  }

  .cta-actions {
    display: inline-flex;
    align-items: center;
    gap: 28px;
  }

  .cta-meta {
    margin-top: 40px;
    font-size: 13px;
    color: var(--ink-faint);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
  }

  .cta-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .cta-meta-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--teal);
  }

  /* ===== Footer ===== */
  footer {
    position: relative;
    z-index: 5;
    border-top: 1px solid var(--line);
    background: var(--paper);
  }

  .footer-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 80px 56px 40px;
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 80px;
    padding-bottom: 64px;
    border-bottom: 1px solid var(--line-soft);
  }

  .footer-brand .logo {
    margin-bottom: 16px;
  }

  .footer-tagline {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 16px;
    color: var(--ink-soft);
    line-height: 1.5;
    max-width: 280px;
  }

  .footer-col-title {
    font-size: 11px;
    color: var(--ink-faint);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 18px;
  }

  .footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .footer-links a {
    color: var(--ink);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
  }

  .footer-links a:hover {
    color: var(--teal);
  }

  .footer-bottom {
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 12px;
    color: var(--ink-faint);
  }

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

  .footer-bottom a {
    color: var(--ink-faint);
    text-decoration: none;
    transition: color 0.2s ease;
  }

  .footer-bottom a:hover {
    color: var(--ink);
  }

  .footer-locale {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  @media (max-width: 980px) {
    .cta-section { padding: 100px 24px 80px; }
    .footer-inner { padding: 60px 24px 32px; }
    .footer-grid {
      grid-template-columns: 1fr 1fr;
      gap: 40px;
      padding-bottom: 48px;
    }
    .footer-brand { grid-column: 1 / -1; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
  }

/* ============================================================
   PÁGINAS DE SERVICIO (voz, conversa, operativa)
   ============================================================ */

/* Hero específico de página de servicio */
.service-hero {
  position: relative;
  z-index: 5;
  max-width: 1440px;
  margin: 0 auto;
  padding: 60px 56px 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  min-height: calc(100vh - 100px);
}

.service-hero-left {
  display: flex;
  flex-direction: column;
  gap: 28px;
  opacity: 0;
  animation: fadeUp 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.1s forwards;
}

.service-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 10px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 13px;
  color: var(--ink-soft);
  width: fit-content;
}

.service-eyebrow-icon {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: var(--teal);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 5.4vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--ink-faint);
}

.service-title .accent {
  color: var(--ink);
  font-style: italic;
}

.service-sub {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 480px;
}

.service-hero-right {
  position: relative;
  opacity: 0;
  animation: fadeUp 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.4s forwards;
}

/* Capacidades grid */
.capabilities {
  position: relative;
  z-index: 5;
  max-width: 1440px;
  margin: 0 auto;
  padding: 100px 56px;
  border-top: 1px solid var(--line-soft);
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 64px;
}

.capability {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  position: relative;
}

.capability::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 36px;
  height: 1px;
  background: var(--teal);
}

.capability-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.2;
}

.capability-desc {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* Casos de uso (lista numerada con descripción + visual) */
.use-cases {
  position: relative;
  z-index: 5;
  max-width: 1440px;
  margin: 0 auto;
  padding: 80px 56px 120px;
}

.use-case {
  display: grid;
  grid-template-columns: 60px 1fr 1.2fr;
  gap: 48px;
  align-items: start;
  padding: 56px 0;
  border-top: 1px solid var(--line-soft);
}

.use-case-number {
  font-family: 'SF Mono', Menlo, monospace;
  font-size: 13px;
  color: var(--teal);
  letter-spacing: 0.04em;
  padding-top: 6px;
}

.use-case-text {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.use-case-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.use-case-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.use-case-visual {
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  font-family: 'SF Mono', Menlo, monospace;
  font-size: 12px;
  color: var(--ink);
  line-height: 1.7;
  position: relative;
  overflow: hidden;
}

.use-case-visual-header {
  font-family: var(--font-body);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-weight: 600;
}

.use-case-visual-line {
  display: flex;
  gap: 12px;
  padding: 4px 0;
}

.use-case-visual-key {
  color: var(--ink-faint);
  flex-shrink: 0;
  min-width: 90px;
}

.use-case-visual-value {
  color: var(--ink);
}

.use-case-visual-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 100px;
  background: var(--teal-tint);
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

/* Cross-sell: las otras dos líneas */
.cross-sell {
  position: relative;
  z-index: 5;
  max-width: 1440px;
  margin: 0 auto;
  padding: 100px 56px;
  border-top: 1px solid var(--line-soft);
}

.cross-sell-header {
  margin-bottom: 56px;
}

.cross-sell-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.cross-card {
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cross-card:hover {
  border-color: var(--teal);
  transform: translateY(-4px);
  background: var(--paper);
}

.cross-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--teal);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cross-card-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-top: 8px;
}

.cross-card-desc {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
}

.cross-card-link {
  margin-top: auto;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s ease;
}

.cross-card:hover .cross-card-link {
  color: var(--teal);
}

/* ============================================================
   DEMOS EXTENDIDAS POR SERVICIO
   ============================================================ */

/* === VOZ: dashboard de llamadas === */
.voice-dashboard {
  background: var(--ink);
  border-radius: 24px;
  padding: 26px;
  color: var(--paper);
  box-shadow: 0 30px 80px -20px rgba(15, 76, 92, 0.25);
  position: relative;
  overflow: hidden;
}

.voice-dashboard::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(244, 239, 230, 0.2), transparent);
}

.voice-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(244, 239, 230, 0.08);
}

.voice-stat {
  background: rgba(244, 239, 230, 0.03);
  border-radius: 10px;
  padding: 14px;
  border: 1px solid rgba(244, 239, 230, 0.06);
}

.voice-stat-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(244, 239, 230, 0.5);
  margin-bottom: 6px;
  font-weight: 600;
}

.voice-stat-value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--paper);
  line-height: 1;
}

.voice-stat-change {
  font-size: 11px;
  color: #5eead4;
  margin-top: 4px;
}

.voice-live {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(244, 239, 230, 0.5);
  margin-bottom: 12px;
  font-weight: 600;
}

.voice-call-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* === CONVERSA: bandeja con conversación === */
.conversa-inbox {
  background: var(--ink);
  border-radius: 24px;
  padding: 0;
  color: var(--paper);
  box-shadow: 0 30px 80px -20px rgba(15, 76, 92, 0.25);
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 480px;
  overflow: hidden;
  position: relative;
}

.conversa-inbox::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(244, 239, 230, 0.2), transparent);
  z-index: 2;
}

.conversa-sidebar {
  background: rgba(244, 239, 230, 0.02);
  border-right: 1px solid rgba(244, 239, 230, 0.08);
  padding: 22px 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.conversa-sidebar-title {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(244, 239, 230, 0.4);
  font-weight: 600;
  padding: 0 18px;
  margin-bottom: 12px;
}

.conversa-thread {
  padding: 11px 18px;
  cursor: pointer;
  border-left: 2px solid transparent;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.conversa-thread.active {
  background: rgba(94, 234, 212, 0.06);
  border-left-color: #5eead4;
}

.conversa-thread-name {
  font-size: 12px;
  color: var(--paper);
  font-weight: 500;
}

.conversa-thread-preview {
  font-size: 11px;
  color: rgba(244, 239, 230, 0.45);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.conversa-main {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.conversa-header {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(244, 239, 230, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.conversa-header-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--paper);
}

.conversa-header-meta {
  font-size: 11px;
  color: rgba(244, 239, 230, 0.4);
  font-family: 'SF Mono', Menlo, monospace;
}

.conversa-msg {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 85%;
}

.conversa-msg.in {
  align-self: flex-start;
}

.conversa-msg.out {
  align-self: flex-end;
  align-items: flex-end;
}

.conversa-msg-bubble {
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.5;
}

.conversa-msg.in .conversa-msg-bubble {
  background: rgba(244, 239, 230, 0.06);
  color: rgba(244, 239, 230, 0.85);
  border-bottom-left-radius: 4px;
}

.conversa-msg.out .conversa-msg-bubble {
  background: rgba(15, 76, 92, 0.4);
  color: var(--paper);
  border: 1px solid rgba(94, 234, 212, 0.2);
  border-bottom-right-radius: 4px;
}

.conversa-msg-meta {
  font-size: 10px;
  color: rgba(244, 239, 230, 0.35);
  font-family: 'SF Mono', Menlo, monospace;
}

.conversa-msg.out .conversa-msg-meta {
  color: #5eead4;
  font-weight: 500;
}

/* === OPERATIVA: panel con métricas y tareas === */
.operativa-panel {
  background: var(--ink);
  border-radius: 24px;
  padding: 26px;
  color: var(--paper);
  box-shadow: 0 30px 80px -20px rgba(15, 76, 92, 0.25);
  position: relative;
  overflow: hidden;
}

.operativa-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(244, 239, 230, 0.2), transparent);
}

.operativa-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.operativa-stat {
  background: rgba(244, 239, 230, 0.03);
  border: 1px solid rgba(244, 239, 230, 0.06);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.operativa-stat-label {
  font-size: 12px;
  color: rgba(244, 239, 230, 0.6);
}

.operativa-stat-value {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--paper);
  line-height: 1;
}

.operativa-section-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(244, 239, 230, 0.5);
  margin: 16px 0 12px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
}

.operativa-tasks {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Responsive servicios */
@media (max-width: 980px) {
  .service-hero {
    grid-template-columns: 1fr;
    padding: 40px 24px 80px;
    gap: 56px;
    min-height: auto;
  }
  .capabilities { padding: 80px 24px; }
  .capabilities-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 48px;
  }
  .use-cases { padding: 40px 24px 80px; }
  .use-case {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 40px 0;
  }
  .cross-sell { padding: 80px 24px; }
  .cross-sell-grid { grid-template-columns: 1fr; }
  .conversa-inbox {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .conversa-sidebar {
    border-right: none;
    border-bottom: 1px solid rgba(244, 239, 230, 0.08);
  }
  .voice-stats {
    grid-template-columns: 1fr 1fr;
  }
  .operativa-stats {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   PÁGINA HUB
   ============================================================ */

/* Hero del Hub - el diagrama es el protagonista */
.hub-hero {
  position: relative;
  z-index: 5;
  max-width: 1440px;
  margin: 0 auto;
  padding: 60px 56px 80px;
  text-align: center;
}

.hub-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 10px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.1s forwards;
}

.hub-hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 5.4vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--ink-faint);
  max-width: 900px;
  margin: 0 auto 32px;
  opacity: 0;
  animation: fadeUp 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s forwards;
}

.hub-hero-title .accent {
  color: var(--ink);
  font-style: italic;
}

.hub-hero-sub {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0 auto 0;
  opacity: 0;
  animation: fadeUp 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s forwards;
}

/* Diagrama del hub en página dedicada (más grande) */
.hub-page-canvas {
  margin: 80px auto 0;
  position: relative;
  height: 560px;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: fadeUp 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.5s forwards;
}

/* Coordinador: bloque de "lo que hace el agente" */
.coordinator {
  position: relative;
  z-index: 5;
  max-width: 1440px;
  margin: 0 auto;
  padding: 100px 56px;
  border-top: 1px solid var(--line-soft);
}

.coordinator-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  margin-top: 56px;
  align-items: start;
}

.coordinator-tasks {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.coordinator-task {
  padding: 24px 0;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.coordinator-task:last-child {
  border-bottom: 1px solid var(--line);
}

.coordinator-task-num {
  font-family: 'SF Mono', Menlo, monospace;
  font-size: 12px;
  color: var(--teal);
  letter-spacing: 0.04em;
  padding-top: 4px;
  flex-shrink: 0;
  min-width: 50px;
}

.coordinator-task-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.coordinator-task-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.2;
}

.coordinator-task-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* Especialistas: galería de agentes */
.specialists {
  position: relative;
  z-index: 5;
  max-width: 1440px;
  margin: 0 auto;
  padding: 100px 56px;
  border-top: 1px solid var(--line-soft);
}

.specialists-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 56px;
}

.specialist {
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.specialist:hover {
  border-color: var(--teal);
  background: var(--paper);
  transform: translateY(-3px);
}

.specialist-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.specialist-tag {
  font-family: 'SF Mono', Menlo, monospace;
  font-size: 11px;
  color: var(--teal);
  letter-spacing: 0.04em;
}

.specialist-status {
  font-size: 10px;
  color: #1a8870;
  display: flex;
  align-items: center;
  gap: 5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.specialist-status::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #1a8870;
}

.specialist-status.draft {
  color: var(--ink-faint);
}

.specialist-status.draft::before {
  background: var(--ink-faint);
}

.specialist-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.2;
}

.specialist-desc {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
}

.specialist-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.specialist-skill {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink-soft);
}

/* Trayectoria: caso end-to-end de un cliente */
.trajectory {
  position: relative;
  z-index: 5;
  max-width: 1440px;
  margin: 0 auto;
  padding: 100px 56px;
  border-top: 1px solid var(--line-soft);
}

.trajectory-timeline {
  margin-top: 64px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.trajectory-timeline::before {
  content: '';
  position: absolute;
  left: 22px;
  top: 32px;
  bottom: 32px;
  width: 1px;
  background: linear-gradient(to bottom, var(--teal), rgba(15, 76, 92, 0.1));
}

.trajectory-step {
  display: grid;
  grid-template-columns: 60px 1fr 1.2fr;
  gap: 32px;
  align-items: start;
  padding: 32px 0;
  position: relative;
}

.trajectory-marker {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-family: 'SF Mono', Menlo, monospace;
  font-size: 12px;
  font-weight: 600;
  z-index: 2;
  flex-shrink: 0;
}

.trajectory-marker.complete {
  background: var(--teal);
  color: var(--paper);
}

.trajectory-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.trajectory-channel {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
  font-weight: 600;
}

.trajectory-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.25;
}

.trajectory-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.trajectory-detail {
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  font-family: 'SF Mono', Menlo, monospace;
  font-size: 11px;
  line-height: 1.7;
}

.trajectory-detail-header {
  font-family: var(--font-body);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-weight: 600;
}

.trajectory-detail-line {
  display: flex;
  gap: 12px;
  padding: 3px 0;
}

.trajectory-detail-key {
  color: var(--ink-faint);
  flex-shrink: 0;
  min-width: 80px;
}

.trajectory-detail-value {
  color: var(--ink);
}

.trajectory-detail-value.tag {
  color: var(--teal);
  font-weight: 600;
}

@media (max-width: 980px) {
  .hub-hero { padding: 40px 24px 60px; }
  .hub-page-canvas { height: 700px; }
  .coordinator { padding: 80px 24px; }
  .coordinator-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 40px;
  }
  .specialists { padding: 80px 24px; }
  .specialists-grid { grid-template-columns: 1fr; }
  .trajectory { padding: 80px 24px; }
  .trajectory-step {
    grid-template-columns: 44px 1fr;
    gap: 20px;
  }
  .trajectory-step .trajectory-detail {
    grid-column: 1 / -1;
  }
  .trajectory-timeline::before {
    left: 22px;
  }
}

/* ============================================================
   PÁGINA SEGURIDAD
   ============================================================ */

.security-hero {
  position: relative;
  z-index: 5;
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 56px 60px;
}

.security-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 10px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 28px;
}

.security-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(44px, 4.8vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink-faint);
  max-width: 800px;
  margin-bottom: 28px;
}

.security-title .accent {
  color: var(--ink);
  font-style: italic;
}

.security-intro {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 680px;
}

.security-meta {
  margin-top: 40px;
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.security-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.security-meta-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
  font-weight: 600;
}

.security-meta-value {
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
}

/* Layout principal de seguridad: índice lateral + contenido */
.security-body {
  position: relative;
  z-index: 5;
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 56px 100px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 80px;
  align-items: start;
}

.security-toc {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.security-toc-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  font-weight: 600;
  margin-bottom: 14px;
}

.security-toc a {
  font-size: 14px;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 7px 0;
  border-left: 1px solid var(--line);
  padding-left: 14px;
  margin-left: -14px;
  padding-right: 12px;
  transition: all 0.2s ease;
}

.security-toc a:hover,
.security-toc a.active {
  color: var(--teal);
  border-left-color: var(--teal);
}

.security-content {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.security-block {
  scroll-margin-top: 100px;
}

.security-block-eyebrow {
  font-family: 'SF Mono', Menlo, monospace;
  font-size: 12px;
  color: var(--teal);
  letter-spacing: 0.04em;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.security-block-eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--teal);
}

.security-block h2 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 20px;
}

.security-block p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 16px;
  max-width: 640px;
}

.security-block p strong {
  color: var(--ink);
  font-weight: 500;
}

.security-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 24px 0 0;
}

.security-item {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}

.security-item:last-child {
  border-bottom: 1px solid var(--line);
}

.security-item-mark {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.security-item-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.security-item-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}

.security-item-desc {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* Tabla de sub-procesadores */
.subprocessors {
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--paper);
}

.subprocessor-row {
  display: grid;
  grid-template-columns: 1.2fr 1.5fr 1fr;
  gap: 24px;
  padding: 18px 22px;
  border-top: 1px solid var(--line-soft);
  font-size: 14px;
  align-items: center;
}

.subprocessor-row:first-child {
  border-top: none;
}

.subprocessor-row.header {
  background: var(--paper-soft);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
  font-weight: 600;
  padding: 14px 22px;
}

.subprocessor-name {
  font-weight: 500;
  color: var(--ink);
}

.subprocessor-purpose {
  color: var(--ink-soft);
}

.subprocessor-region {
  font-family: 'SF Mono', Menlo, monospace;
  font-size: 12px;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.subprocessor-region::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

/* Hoja de ruta */
.roadmap {
  background: var(--ink);
  color: var(--paper);
  border-radius: 20px;
  padding: 36px;
  margin-top: 28px;
  position: relative;
  overflow: hidden;
}

.roadmap::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(244, 239, 230, 0.2), transparent);
}

.roadmap-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--paper);
}

.roadmap-desc {
  font-size: 14px;
  color: rgba(244, 239, 230, 0.65);
  margin-bottom: 24px;
  line-height: 1.55;
  max-width: 540px;
}

.roadmap-items {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.roadmap-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 24px;
  padding: 16px 0;
  border-top: 1px solid rgba(244, 239, 230, 0.08);
  align-items: center;
}

.roadmap-item:first-child {
  border-top: none;
}

.roadmap-when {
  font-family: 'SF Mono', Menlo, monospace;
  font-size: 12px;
  color: #5eead4;
  letter-spacing: 0.04em;
}

.roadmap-what {
  font-size: 14px;
  color: rgba(244, 239, 230, 0.85);
}

/* Box de contacto de seguridad */
.security-contact {
  margin-top: 28px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 32px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.security-contact-text h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.security-contact-text p {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
}

.security-contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 20px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  font-family: 'SF Mono', Menlo, monospace;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.security-contact a:hover {
  background: var(--teal);
  transform: translateY(-1px);
}

@media (max-width: 980px) {
  .security-hero { padding: 40px 24px 40px; }
  .security-body {
    grid-template-columns: 1fr;
    padding: 40px 24px 80px;
    gap: 40px;
  }
  .security-toc {
    position: static;
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 16px;
    gap: 0;
  }
  .security-toc a {
    border-left: none;
    border-bottom: 1px solid var(--line);
    padding-left: 0;
    margin-left: 0;
    padding: 8px 14px;
    white-space: nowrap;
  }
  .security-toc a:hover,
  .security-toc a.active {
    border-left: none;
    border-bottom-color: var(--teal);
  }
  .security-content { gap: 56px; }
  .subprocessor-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .subprocessor-row.header {
    display: none;
  }
  .roadmap { padding: 28px 24px; }
  .roadmap-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .security-contact {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ============================================================
   PÁGINA ANALYTICS
   ============================================================ */

/* Demo dashboard del hero */
.analytics-dashboard {
  background: var(--ink);
  border-radius: 24px;
  padding: 26px;
  color: var(--paper);
  box-shadow: 0 30px 80px -20px rgba(15, 76, 92, 0.25);
  position: relative;
  overflow: hidden;
}

.analytics-dashboard::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(244, 239, 230, 0.2), transparent);
}

.analytics-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(244, 239, 230, 0.08);
  margin-bottom: 18px;
  font-size: 11px;
  color: rgba(244, 239, 230, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.analytics-header-period {
  display: flex;
  gap: 4px;
  align-items: center;
}

.analytics-header-period::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5eead4;
  margin-right: 6px;
}

.analytics-grid-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.analytics-stat {
  background: rgba(244, 239, 230, 0.03);
  border: 1px solid rgba(244, 239, 230, 0.06);
  border-radius: 10px;
  padding: 14px 16px;
}

.analytics-stat-label {
  font-size: 10px;
  color: rgba(244, 239, 230, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
  font-weight: 600;
}

.analytics-stat-value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  color: var(--paper);
  line-height: 1;
  letter-spacing: -0.01em;
}

.analytics-stat-trend {
  font-size: 11px;
  color: #5eead4;
  font-family: 'SF Mono', Menlo, monospace;
  margin-top: 6px;
}

.analytics-stat-trend.warn {
  color: #fbbf24;
}

/* Lista de insights con iconos */
.insights-section {
  margin-top: 4px;
}

.insights-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(244, 239, 230, 0.5);
  margin-bottom: 12px;
  font-weight: 600;
}

.insight-row {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 12px;
  align-items: start;
  padding: 12px 0;
  border-top: 1px solid rgba(244, 239, 230, 0.06);
  font-size: 12px;
}

.insight-row:first-child { border-top: none; }

.insight-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(94, 234, 212, 0.12);
  color: #5eead4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'SF Mono', Menlo, monospace;
  font-size: 10px;
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 1px;
}

.insight-icon.warn {
  background: rgba(251, 191, 36, 0.12);
  color: #fbbf24;
}

.insight-text {
  color: rgba(244, 239, 230, 0.85);
  line-height: 1.45;
}

.insight-action {
  font-size: 10px;
  color: #5eead4;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  white-space: nowrap;
}

.insight-action.warn { color: #fbbf24; }

/* Sección "Tres niveles" */
.levels {
  position: relative;
  z-index: 5;
  max-width: 1440px;
  margin: 0 auto;
  padding: 100px 56px;
  border-top: 1px solid var(--line-soft);
}

.levels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.level-card {
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  transition: all 0.3s ease;
}

.level-card.featured {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  box-shadow: 0 20px 50px -10px rgba(15, 76, 92, 0.3);
}

.level-card:hover {
  transform: translateY(-3px);
}

.level-card.featured:hover {
  background: #1a1714;
}

.level-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--teal);
  width: fit-content;
}

.level-card.featured .level-tag {
  color: #5eead4;
}

.level-tag::before {
  content: '';
  width: 18px;
  height: 1px;
  background: currentColor;
}

.level-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--ink);
}

.level-card.featured .level-title { color: var(--paper); }

.level-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.level-card.featured .level-desc {
  color: rgba(244, 239, 230, 0.7);
}

.level-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.level-card.featured .level-features {
  border-top-color: rgba(244, 239, 230, 0.1);
}

.level-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--ink);
  line-height: 1.4;
}

.level-card.featured .level-feature { color: var(--paper); }

.level-feature-mark {
  color: var(--teal);
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 1px;
}

.level-card.featured .level-feature-mark { color: #5eead4; }

@media (max-width: 980px) {
  .levels { padding: 80px 24px; }
  .levels-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 48px;
  }
}

/* ============================================================
   SECCIÓN CONTACTO
   ============================================================ */
.contact-section {
  position: relative;
  z-index: 5;
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 56px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  margin-top: 56px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.contact-info-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-info-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
  font-weight: 600;
}

.contact-info-value {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.contact-info-value a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.2s ease;
}

.contact-info-value a:hover {
  border-bottom-color: var(--teal);
}

.contact-info-note {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
}

.contact-form {
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 36px;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.contact-field-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
  font-weight: 600;
}

.contact-input,
.contact-textarea {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  transition: border-color 0.2s ease;
  width: 100%;
}

.contact-input:focus,
.contact-textarea:focus {
  outline: none;
  border-color: var(--teal);
}

.contact-textarea {
  min-height: 100px;
  resize: vertical;
}

.contact-submit {
  background: var(--ink);
  color: var(--paper);
  border: none;
  border-radius: 999px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.contact-submit:hover {
  background: #1a1714;
}

.contact-submit svg {
  width: 14px;
  height: 14px;
}

@media (max-width: 900px) {
  .contact-section { padding: 80px 24px; }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .contact-form-row { grid-template-columns: 1fr; }
}

/* ============================================================
   MODAL "HABLA CON UN AGENTE"
   ============================================================ */
.agent-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 17, 15, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease;
}

.agent-modal-backdrop.active {
  display: flex;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.agent-modal {
  background: var(--paper);
  border-radius: 20px;
  max-width: 480px;
  width: 100%;
  padding: 40px;
  position: relative;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.4);
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.agent-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  transition: background 0.2s ease;
}

.agent-modal-close:hover {
  background: var(--paper-soft);
}

.agent-modal-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 12px;
}

.agent-modal-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

.agent-modal-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 8px;
}

.agent-modal-title em {
  font-style: italic;
}

.agent-modal-sub {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-bottom: 24px;
}

.agent-modal-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.agent-modal-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.agent-modal-submit {
  background: var(--ink);
  color: var(--paper);
  border: none;
  border-radius: 999px;
  padding: 14px 24px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.agent-modal-submit:hover {
  background: #1a1714;
}

.agent-modal-success {
  display: none;
  text-align: center;
  padding: 20px 0;
}

.agent-modal-success.active { display: block; }

.agent-modal-success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(15, 76, 92, 0.1);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

@media (max-width: 600px) {
  .agent-modal { padding: 28px 24px; }
  .agent-modal-row { grid-template-columns: 1fr; }
}

/* ============================================================
   MEJORAS UX FINALES
   ============================================================ */

/* Item activo del nav (página actual) */
.nav-links a.active {
  color: var(--ink) !important;
  font-weight: 500;
  position: relative;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1.5px;
  background: var(--teal);
  border-radius: 2px;
}

/* Compensar contenido bajo el nav sticky para que el hero no quede pegado */
body {
  scroll-padding-top: 90px;
}

/* En móvil, ajustar el nav sticky */
@media (max-width: 980px) {
  nav {
    padding: 16px 24px;
  }
  nav.scrolled {
    padding: 12px 24px;
  }
}

/* Mejorar focus visible en inputs y botones (accesibilidad) */
.contact-input:focus-visible,
.contact-textarea:focus-visible,
.btn-hero:focus-visible,
.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.contact-submit:focus-visible,
.agent-modal-submit:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

/* Trigger del dropdown activo cuando estamos en una página de Servicios */
.nav-dropdown-trigger.active {
  color: var(--ink);
  font-weight: 500;
  position: relative;
}

.nav-dropdown-trigger.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 18px;
  bottom: -6px;
  height: 1.5px;
  background: var(--teal);
  border-radius: 2px;
}

/* ============================================================
   PÁGINAS LEGALES (Privacidad / Aviso Legal)
   ============================================================ */
.legal-section {
  position: relative;
  z-index: 5;
  max-width: 880px;
  margin: 0 auto;
  padding: 100px 56px 120px;
}

.legal-section .section-eyebrow {
  margin-bottom: 16px;
}

.legal-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 16px;
}

.legal-title .faint {
  color: var(--ink-faint);
}

.legal-meta {
  font-size: 13px;
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
  margin-bottom: 56px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.legal-content {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink);
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-top: 48px;
  margin-bottom: 16px;
  line-height: 1.25;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  color: var(--ink);
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal-content p {
  margin-bottom: 16px;
  color: var(--ink-soft);
}

.legal-content ul {
  margin-bottom: 20px;
  padding-left: 0;
  list-style: none;
}

.legal-content ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  color: var(--ink-soft);
}

.legal-content ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 500;
}

.legal-content strong {
  color: var(--ink);
  font-weight: 500;
}

.legal-content a {
  color: var(--teal);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.2s ease;
}

.legal-content a:hover {
  border-bottom-color: var(--teal);
}

.legal-info-block {
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 32px;
  margin: 24px 0 32px;
}

.legal-info-block p {
  margin-bottom: 6px;
  color: var(--ink);
}

.legal-info-block p strong {
  display: inline-block;
  min-width: 140px;
  color: var(--ink-faint);
  font-weight: 500;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

@media (max-width: 760px) {
  .legal-section { padding: 64px 24px 80px; }
  .legal-content h2 { font-size: 22px; margin-top: 40px; }
  .legal-info-block { padding: 20px 24px; }
  .legal-info-block p strong { display: block; margin-bottom: 4px; }
}
