/* Luqen — hoja de estilos de la pantalla de sectores.
   Base: el mismo sistema visual de la home (tokens, tipografía y componentes). */

  :root {
    --navy: #080d18;
    --navy-mid: #0c1526;
    --navy-card: #0e1a30;
    --blue-deep: #102040;
    --blue-mid: #1a3a6e;
    --blue-accent: #1d4ed8;
    --blue-bright: #2d6be4;
    --blue-glow: #5b8fd6;
    --blue-light: #93b8e8;
    --teal-accent: #0e7bc0;
    --green-accent: #22c55e;
    --green-glow: rgba(34,197,94,0.14);
    --white: #eef2f8;
    --gray-100: #dde4ef;
    --gray-300: #8a9ab8;
    --gray-400: #5e7090;
    --gray-500: #3d5070;
    --border: rgba(45,107,228,0.12);
    --border-bright: rgba(45,107,228,0.28);
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
  }

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

  html { scroll-behavior: smooth; }

  body {
    background: var(--navy);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
  }

  /* ── NAV ── */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    height: 68px;
    background: rgba(10,15,30,0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
  }

  .nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
  }
  .nav-logo img {
    height: 34px;
    width: auto;
    display: block;
  }

  .nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
  }
  .nav-links a {
    color: var(--gray-300);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--white); }

  .nav-cta {
    background: var(--blue-accent);
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 600 !important;
    font-size: 13px !important;
    transition: background 0.2s !important;
  }
  .nav-cta:hover { background: var(--blue-mid) !important; color: var(--white) !important; }

  .nav-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
  .nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--white); margin: 5px 0; border-radius: 2px; transition: all 0.3s; }

  /* ── SECTIONS ── */
  section { padding: 100px 5%; }
  .section-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--blue-glow);
    margin-bottom: 16px;
  }
  h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; }
  h1 { font-size: clamp(38px, 5.5vw, 72px); font-weight: 700; letter-spacing: -0.03em; }
  h2 { font-size: clamp(28px, 4vw, 48px); font-weight: 700; letter-spacing: -0.025em; }
  h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }

  .text-gradient {
    background: linear-gradient(135deg, var(--blue-bright) 0%, var(--teal-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .max-w { max-width: 1200px; margin: 0 auto; }
  .center { text-align: center; }

  /* ── HERO ── */
  #inicio {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 130px;
    position: relative;
    overflow: hidden;
  }

  .hero-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 60px;
    align-items: center;
    width: 100%;
  }

  .hero-left {
    min-width: 0;
    position: relative;
    z-index: 3;
  }

  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(37,99,235,0.12);
    border: 1px solid rgba(37,99,235,0.3);
    border-radius: 100px;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 500;
    color: var(--blue-glow);
    margin-bottom: 28px;
  }
  .hero-badge::before {
    content: '';
    width: 7px; height: 7px;
    background: var(--teal-accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
  }

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

  .hero-title { margin-bottom: 24px; }

  @media (min-width: 1190px) {
    .hero-title { width: 590px; max-width: 590px; }
  }
  .hero-sub {
    font-size: 17px;
    color: var(--gray-300);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 500px;
  }

  .hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

  .btn-primary {
    background: var(--blue-accent);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-body);
    display: inline-block;
  }
  .btn-primary:hover { background: #1d4ed8; transform: translateY(-1px); }

  .btn-ghost {
    background: transparent;
    color: var(--gray-300);
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    border: 1px solid var(--border-bright);
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-body);
    display: inline-block;
  }
  .btn-ghost:hover { color: var(--white); border-color: var(--blue-bright); }

  /* Hero visual — animated phone/agent */
  .hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
    overflow: visible;
  }

  /* Hero visual — móvil con la interfaz real de Luqen */
  .hero-phone-visual {
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-width: 0;
    overflow: visible;
  }

  .hero-phone-visual::before {
    content: '';
    position: absolute;
    width: 620px;
    height: 620px;
    border-radius: 50%;
    background: radial-gradient(
      circle,
      rgba(29,78,216,0.16) 0%,
      rgba(29,78,216,0.07) 38%,
      rgba(29,78,216,0) 70%
    );
    pointer-events: none;
  }

  .hero-phone-image {
    position: relative;
    z-index: 2;
    display: block;
    width: 700px;
    max-width: none;
    max-height: 690px;
    height: auto;
    object-fit: contain;
    object-position: center;
    transform: translateX(58px);
    filter: drop-shadow(0 28px 42px rgba(0,0,0,0.28));
  }

  .verifactu-badge {
    position: absolute;
    z-index: 4;
    width: 390px;
    height: auto;
    top: 6px;
    left: -188px;
    display: block;
    pointer-events: none;
    user-select: none;
    filter: drop-shadow(0 14px 24px rgba(0,0,0,0.24));
  }

  @media (min-width: 901px) and (max-width: 1180px) {
    .hero-grid {
      grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
      gap: 36px;
    }
    .hero-left,
    .hero-visual,
    .hero-phone-visual { min-width: 0; }
    .hero-phone-image {
      width: 610px;
      transform: translateX(35px);
    }
    .verifactu-badge {
      width: 330px;
      left: -195px;
      top: 34px;
    }
  }

  .agent-card {
    background: var(--navy-card);
    border: 1px solid var(--border-bright);
    border-radius: 20px;
    padding: 32px;
    width: 100%;
    max-width: 510px;
    position: relative;
    overflow: hidden;
  }
  .agent-card::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(37,99,235,0.18) 0%, transparent 70%);
    border-radius: 50%;
  }

  .agent-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
  }
  .agent-avatar {
    width: 46px; height: 46px;
    background: linear-gradient(135deg, var(--blue-accent), var(--teal-accent));
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
  }
  .agent-name { font-family: var(--font-display); font-weight: 600; font-size: 16px; }
  .agent-status {
    font-size: 12px;
    color: #34d399;
    display: flex;
    align-items: center;
    gap: 5px;
  }
  .agent-status::before {
    content: '';
    width: 6px; height: 6px;
    background: #34d399;
    border-radius: 50%;
    animation: pulse 2s infinite;
  }

  .call-item {
    background: rgba(30,64,175,0.1);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 10px;
    font-size: 13px;
  }
  .call-item-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
  }
  .call-name { font-weight: 600; font-size: 13px; }
  .call-time { font-size: 11px; color: var(--gray-400); }
  .call-desc { color: var(--gray-300); font-size: 12px; }
  .call-tag {
    display: inline-block;
    background: rgba(37,99,235,0.2);
    color: var(--blue-glow);
    border-radius: 4px;
    padding: 2px 8px;
    font-size: 10px;
    font-weight: 600;
    margin-top: 6px;
  }
  .call-tag.done { background: rgba(52,211,153,0.15); color: #34d399; }

  .waveform {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-top: 16px;
    height: 28px;
  }
  .waveform-bar {
    width: 3px;
    background: var(--blue-bright);
    border-radius: 2px;
    animation: wave 1.2s ease-in-out infinite;
  }
  .waveform-bar:nth-child(1) { height: 8px; animation-delay: 0s; }
  .waveform-bar:nth-child(2) { height: 16px; animation-delay: 0.1s; }
  .waveform-bar:nth-child(3) { height: 22px; animation-delay: 0.2s; }
  .waveform-bar:nth-child(4) { height: 14px; animation-delay: 0.3s; }
  .waveform-bar:nth-child(5) { height: 26px; animation-delay: 0.4s; }
  .waveform-bar:nth-child(6) { height: 18px; animation-delay: 0.5s; }
  .waveform-bar:nth-child(7) { height: 10px; animation-delay: 0.6s; }
  .waveform-bar:nth-child(8) { height: 20px; animation-delay: 0.7s; }
  .waveform-bar:nth-child(9) { height: 14px; animation-delay: 0.8s; }
  .waveform-bar:nth-child(10) { height: 8px; animation-delay: 0.9s; }
  .waveform-label { font-size: 12px; color: var(--gray-300); margin-left: 8px; }

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

  /* BG elements */
  .bg-grid {
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(37,99,235,0.05) 1px, transparent 1px),
      linear-gradient(90deg, rgba(37,99,235,0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
  }
  .bg-glow {
    position: absolute;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(37,99,235,0.1) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
  }
  .bg-glow-1 { top: -100px; left: -100px; }
  .bg-glow-2 { bottom: -200px; right: -100px; background: radial-gradient(circle, rgba(14,165,233,0.08) 0%, transparent 65%); }

  /* ── STATS ── */
  .stats-bar {
    background: var(--navy-mid);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 40px 5%;
  }
  .stats-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
  }
  .stat-item { text-align: center; }
  .stat-num {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--white);
    line-height: 1;
    margin-bottom: 6px;
  }
  .stat-num span { color: var(--blue-bright); }
  .stat-label { font-size: 13px; color: var(--gray-300); }

  /* ── SERVICES ── */
  #servicios { background: var(--navy); }

  .services-intro {
    max-width: 680px;
    margin: 0 auto 60px;
    text-align: center;
  }
  .services-intro p { color: var(--gray-300); font-size: 17px; margin-top: 16px; }

  .services-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .service-card {
    background: var(--navy-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px 28px;
    transition: border-color 0.3s, transform 0.3s;
    position: relative;
    overflow: hidden;
  }
  .service-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--blue-accent), var(--teal-accent));
    transform: scaleX(0);
    transition: transform 0.3s;
    transform-origin: left;
  }
  .service-card:hover { border-color: var(--border-bright); transform: translateY(-4px); }
  .service-card:hover::after { transform: scaleX(1); }

  .service-icon {
    width: 48px; height: 48px;
    background: rgba(37,99,235,0.15);
    border: 1px solid rgba(37,99,235,0.25);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 20px;
  }
  .service-card h3 { margin-bottom: 12px; font-size: 18px; }
  .service-card p { color: var(--gray-300); font-size: 14px; line-height: 1.7; }

  .service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    color: var(--blue-glow);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: color 0.2s, gap 0.2s;
  }
  .service-link:hover {
    color: var(--white);
    gap: 9px;
  }

  .service-features {
    list-style: none;
    margin-top: 20px;
  }
  .service-features li {
    font-size: 13px;
    color: var(--gray-300);
    padding: 6px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .service-features li:last-child { border-bottom: none; }
  .service-features li::before {
    content: '';
    width: 5px; height: 5px;
    background: var(--blue-bright);
    border-radius: 50%;
    flex-shrink: 0;
  }

  /* ── SECTORES ── */
  .sectors-section {
    background: var(--navy-mid);
    padding: 80px 5%;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }
  .sectors-header { text-align: center; margin-bottom: 48px; }
  .sectors-header p { color: var(--gray-300); margin-top: 12px; }

  .sectors-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
  .sector-item {
    background: var(--navy-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px 20px;
    text-align: center;
    transition: border-color 0.3s;
  }
  .sector-item:hover { border-color: var(--border-bright); }
  .sector-emoji { font-size: 32px; margin-bottom: 12px; display: block; }
  .sector-name { font-weight: 600; font-size: 14px; margin-bottom: 6px; }
  .sector-desc { font-size: 12px; color: var(--gray-400); }

  /* ── HOW IT WORKS ── */
  .how-section {
    padding: 100px 5%;
    background: var(--navy);
  }
  .how-header { text-align: center; margin-bottom: 64px; }
  .how-header p { color: var(--gray-300); margin-top: 12px; max-width: 560px; margin-left: auto; margin-right: auto; }

  .steps {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
  }
  .steps::before {
    content: '';
    position: absolute;
    left: 35px;
    top: 50px;
    bottom: 50px;
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--blue-accent), var(--teal-accent), transparent);
  }

  .step {
    display: flex;
    gap: 32px;
    margin-bottom: 40px;
    align-items: flex-start;
  }
  .step-num {
    width: 70px;
    height: 70px;
    min-width: 70px;
    background: rgba(37,99,235,0.15);
    border: 1px solid var(--border-bright);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--blue-bright);
    position: relative;
    z-index: 1;
  }
  .step-content { padding-top: 12px; }
  .step-content h3 { margin-bottom: 8px; }
  .step-content p { color: var(--gray-300); font-size: 15px; }

  /* ── ONBOARDING INTERACTIVE TIMELINE ── */
  .onboard-steps { position: relative; }
  .steps.onboard-steps::before { display: none; }
  .onboard-line-fill {
    position: absolute;
    left: 35px;
    top: 50px;
    width: 1px;
    height: 0%;
    background: linear-gradient(180deg, var(--blue-accent), var(--teal-accent));
    transition: height 0.25s ease-out;
    z-index: 0;
  }
  .onboard-step .step-num {
    transition: background 0.4s, border-color 0.4s, color 0.4s, transform 0.4s;
  }
  .onboard-step.active .step-num {
    background: linear-gradient(135deg, var(--blue-accent), var(--teal-accent));
    border-color: transparent;
    color: var(--white);
    transform: scale(1.08);
  }
  .onboard-step .step-content { transition: opacity 0.4s; opacity: 0.55; }
  .onboard-step.active .step-content { opacity: 1; }
  .onboard-step.active .step-content h3 { color: var(--blue-glow); }

  /* ── FAQ ACCORDION ── */
  .faq-list { margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
  .faq-item {
    background: var(--navy-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0;
    overflow: hidden;
    transition: border-color 0.2s;
  }
  .faq-item[open] { border-color: var(--border-bright); }
  .faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 16px 20px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 14.5px;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  .faq-item summary::-webkit-details-marker { display: none; }
  .faq-item summary::after {
    content: '+';
    font-size: 18px;
    font-weight: 400;
    color: var(--blue-glow);
    min-width: 16px;
    text-align: center;
    transition: transform 0.25s;
    flex-shrink: 0;
  }
  .faq-item[open] summary::after { transform: rotate(45deg); }
  .faq-item p {
    padding: 0 20px 18px;
    margin: 0;
    font-size: 13.5px;
    color: var(--gray-300);
    line-height: 1.65;
  }

  /* ── ABOUT ── */
  #sobre-nosotros { background: var(--navy-mid); border-top: 1px solid var(--border); }

  .about-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
  }

  .about-content p {
    color: var(--gray-300);
    font-size: 16px;
    margin-top: 20px;
    line-height: 1.8;
  }

  .values-list {
    list-style: none;
    margin-top: 32px;
  }
  .values-list li {
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
    align-items: flex-start;
  }
  .value-icon {
    width: 36px; height: 36px;
    min-width: 36px;
    background: rgba(37,99,235,0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
  }
  .value-text strong { display: block; font-size: 14px; font-weight: 600; margin-bottom: 3px; }
  .value-text span { font-size: 13px; color: var(--gray-300); }

  .about-aside {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .about-card {
    background: var(--navy-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
  }
  .about-card h3 { margin-bottom: 8px; font-size: 16px; }
  .about-card p { color: var(--gray-300); font-size: 14px; }

  /* ── LOSS CALCULATOR ── */
  .calc-card .form-group label { font-size: 12.5px; }

  .slider-group { margin-bottom: 26px; }
  .slider-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
  }
  .slider-label-row label {
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-300);
  }
  .slider-value {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 15px;
    color: var(--blue-glow);
    background: rgba(45,107,228,0.12);
    border-radius: 6px;
    padding: 3px 10px;
    min-width: 44px;
    text-align: center;
  }
  .slider-input {
    width: 100%;
    height: 5px;
    border-radius: 4px;
    background: var(--border-bright);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
  }
  .slider-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-accent), var(--teal-accent));
    border: 3px solid var(--navy-card);
    box-shadow: 0 0 0 1px var(--border-bright);
    cursor: pointer;
    transition: transform 0.15s;
  }
  .slider-input::-webkit-slider-thumb:hover { transform: scale(1.15); }
  .slider-input::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-accent), var(--teal-accent));
    border: 3px solid var(--navy-card);
    box-shadow: 0 0 0 1px var(--border-bright);
    cursor: pointer;
  }

  .calc-results-view { display: none; }
  .calc-results-view.visible { display: block; }
  #calc-form-view.hidden { display: none; }

  .calc-results {
    margin-top: 4px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .calc-result-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: rgba(45,107,228,0.1);
    border: 1px solid var(--border-bright);
    border-radius: 8px;
    padding: 12px 14px;
  }
  .calc-result-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    color: var(--gray-300);
  }
  .calc-freq-badge {
    background: rgba(45,107,228,0.18);
    color: var(--blue-glow);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 5px;
    min-width: 24px;
    text-align: center;
    flex-shrink: 0;
  }
  .calc-result-value {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 19px;
    color: var(--blue-glow);
    white-space: nowrap;
  }

  .calc-redo-btn {
    display: block;
    width: 100%;
    background: none;
    border: none;
    color: var(--gray-400);
    font-size: 12.5px;
    font-family: var(--font-body);
    text-decoration: underline;
    cursor: pointer;
    margin-top: 14px;
    padding: 4px;
    transition: color 0.2s;
  }
  .calc-redo-btn:hover { color: var(--gray-300); }

  /* ── TESTIMONIOS ── */
  #testimonios { background: var(--navy-mid); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

  .testimonials-intro {
    max-width: 680px;
    margin: 0 auto 48px;
    text-align: center;
  }
  .testimonials-intro p { color: var(--gray-300); font-size: 17px; margin-top: 16px; }

  .testimonials-wrap {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
  }

  .testimonials-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 4px 4px 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .testimonials-track::-webkit-scrollbar { display: none; }

  .testimonial-card {
    scroll-snap-align: start;
    flex: 0 0 auto;
    width: 340px;
    background: var(--navy-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    transition: border-color 0.3s, transform 0.3s;
  }
  .testimonial-card:hover { border-color: var(--border-bright); transform: translateY(-4px); }

  .testimonial-head {
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .testimonial-logo {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    border: 1px solid var(--border);
  }
  .testimonial-logo img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
  .testimonial-logo.testimonial-logo-confidential {
    background-size: cover;
    background-position: center;
    position: relative;
    border-color: var(--border-bright);
  }
  .testimonial-logo-confidential::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(8,13,24,0.4);
  }
  .testimonial-logo-confidential svg { position: relative; z-index: 1; }
  .testimonial-name { font-family: var(--font-display); font-size: 17px; font-weight: 600; }
  .testimonial-sector { font-size: 12px; color: var(--gray-400); margin-top: 2px; }

  .testimonial-stats {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
  }
  .testimonial-stat {
    background: var(--green-glow);
    border: 1px solid rgba(34,197,94,0.3);
    color: var(--green-accent);
    font-weight: 700;
    font-size: 14px;
    padding: 7px 12px;
    border-radius: 100px;
    font-family: var(--font-display);
  }

  .testimonial-desc { color: var(--gray-300); font-size: 14px; line-height: 1.7; }
  .testimonial-desc strong { color: var(--white); font-weight: 600; }

  .testimonial-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .testimonial-list li {
    font-size: 13.5px;
    color: var(--gray-300);
    line-height: 1.55;
    padding-left: 18px;
    position: relative;
  }
  .testimonial-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 6px;
    height: 6px;
    background: var(--blue-bright);
    border-radius: 50%;
  }
  .testimonial-list li strong { color: var(--white); font-weight: 600; }

  .testimonials-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 8px;
  }
  .testimonials-nav button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--navy-card);
    border: 1px solid var(--border);
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s, background 0.2s;
  }
  .testimonials-nav button:hover { border-color: var(--border-bright); background: var(--blue-deep); }

  @media (max-width: 640px) {
    .testimonial-card { width: 82vw; }
  }

  /* ── CONTACT FORM ── */
  .form-section {
    background: var(--navy);
    padding: 80px 5%;
  }
  .form-section.dark-bg {
    background: var(--navy-mid);
    border-top: 1px solid var(--border);
  }

  .form-wrap {
    max-width: 800px;
    margin: 0 auto;
    background: var(--navy-card);
    border: 1px solid var(--border-bright);
    border-radius: 20px;
    padding: 48px;
    position: relative;
    overflow: hidden;
  }
  .form-wrap::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(37,99,235,0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
  }

  .form-header { text-align: center; margin-bottom: 36px; }
  .form-header h2 { font-size: clamp(22px, 3vw, 34px); }
  .form-header p { color: var(--gray-300); margin-top: 10px; font-size: 15px; }

  .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
  }
  .form-group { margin-bottom: 16px; }
  .form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-300);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
  }
  .form-group input,
  .form-group select,
  .form-group textarea {
    width: 100%;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-bright);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--white);
    font-size: 14px;
    font-family: var(--font-body);
    transition: border-color 0.2s, background 0.2s;
    outline: none;
  }
  .form-group input::placeholder,
  .form-group textarea::placeholder { color: var(--gray-500); }
  .form-group input:focus,
  .form-group select:focus,
  .form-group textarea:focus {
    border-color: var(--blue-bright);
    background: rgba(37,99,235,0.08);
  }
  .form-group select option { background: var(--navy-card); color: var(--white); }
  .form-group textarea { resize: vertical; min-height: 100px; }

  .privacy-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 18px;
    margin-top: 4px;
  }
  .privacy-check input[type="checkbox"] {
    width: 16px;
    height: 16px;
    min-width: 16px;
    margin-top: 2px;
    accent-color: var(--blue-accent);
    cursor: pointer;
  }
  .privacy-check label {
    font-size: 12.5px;
    color: var(--gray-300);
    line-height: 1.5;
    cursor: pointer;
  }
  .privacy-check label a {
    color: var(--blue-glow);
    text-decoration: underline;
  }
  .privacy-check label a:hover { color: var(--white); }

  .form-submit {
    width: 100%;
    background: var(--blue-accent);
    color: var(--white);
    border: none;
    border-radius: 8px;
    padding: 16px;
    font-size: 15px;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 8px;
    letter-spacing: 0.01em;
  }
  .form-submit:hover { background: #1d4ed8; transform: translateY(-1px); }

  .form-note {
    text-align: center;
    font-size: 12px;
    color: var(--gray-400);
    margin-top: 16px;
  }

  /* ── TRIAL FORM (cuenta de prueba) ── */
  .trial-section { background: var(--navy); padding: 80px 5%; }
  .trial-wrap {
    max-width: 760px; margin: 0 auto;
    background: var(--navy-card);
    border: 1px solid var(--border-bright);
    border-radius: 20px; padding: 48px;
    position: relative; overflow: hidden;
  }
  .trial-wrap::before {
    content: ''; position: absolute; top: -80px; right: -80px;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(34,197,94,0.10) 0%, transparent 70%);
    border-radius: 50%; pointer-events: none;
  }
  .trial-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(34,197,94,0.10);
    border: 1px solid rgba(34,197,94,0.28);
    border-radius: 999px; padding: 6px 16px;
    font-size: 12px; font-weight: 600; color: var(--green-accent);
    margin-bottom: 16px;
  }
  .trial-badge::before { content: '✓'; font-weight: 800; }
  .trial-header { text-align: center; margin-bottom: 32px; }
  .trial-header h2 { font-size: clamp(24px, 3.2vw, 36px); }
  .trial-header p { color: var(--gray-300); margin-top: 12px; font-size: 15px; }
  .trial-points {
    display: flex; gap: 22px; flex-wrap: wrap;
    justify-content: center; margin-top: 20px;
  }
  .trial-point {
    display: flex; align-items: center; gap: 7px;
    font-size: 13px; color: var(--gray-300);
  }
  .trial-point::before {
    content: ''; width: 5px; height: 5px;
    background: var(--green-accent); border-radius: 50%;
  }
  .trial-hp {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    pointer-events: none;
  }
  .trial-error {
    display: none;
    background: rgba(239,68,68,0.10);
    border: 1px solid rgba(239,68,68,0.30);
    border-radius: 8px; padding: 14px;
    text-align: center; color: #f87171;
    font-size: 13.5px; margin-top: 16px;
  }
  .trial-submit { background: var(--green-accent) !important; }
  .trial-submit:hover { background: #16a34a !important; }
  @media (max-width: 900px) { .trial-wrap { padding: 32px 24px; } }

  /* ── CONTACT PAGE ── */
  #contacto {
    background: var(--navy);
    padding: 48px 5%;
    border-top: 1px solid var(--border);
  }
  .contact-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: block;
  }
  .contact-info { text-align: center; }
  .contact-info .section-eyebrow { margin-bottom: 8px; }
  .contact-info h2 {
    margin-bottom: 8px;
    font-size: clamp(24px, 3vw, 36px);
  }
  .contact-info p {
    color: var(--gray-300);
    font-size: 14px;
    margin: 0 auto 22px;
    max-width: 720px;
  }

  .contact-detail {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0 8px 6px;
    vertical-align: middle;
    white-space: nowrap;
  }
  .contact-detail-icon {
    width: 30px;
    height: 30px;
    min-width: 30px;
    background: rgba(37,99,235,0.13);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .contact-detail-icon svg {
    width: 15px;
    height: 15px;
  }
  .contact-detail-text {
    display: flex;
    align-items: baseline;
    gap: 6px;
  }
  .contact-detail-text strong {
    display: inline;
    font-size: 12.5px;
    font-weight: 600;
  }
  .contact-detail-text strong::after {
    content: '·';
    margin-left: 6px;
    color: var(--gray-500);
  }
  .contact-detail-text span {
    font-size: 12.5px;
    color: var(--gray-300);
  }

  /* ── FOOTER ── */
  footer {
    background: var(--navy-mid);
    border-top: 1px solid var(--border);
    padding: 48px 5% 32px;
  }
  .footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
  }
  .footer-logo {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
  }
  .footer-logo span { color: var(--blue-bright); }
  .footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
  .footer-links a {
    font-size: 13px;
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.2s;
  }
  .footer-links a:hover { color: var(--white); }
  .footer-instagram {
    display: inline-flex;
    align-items: center;
  }
  .footer-instagram svg {
    width: 18px;
    height: 18px;
  }
  .footer-copy { font-size: 12px; color: var(--gray-500); }
  .footer-legal {
    max-width: 1200px;
    margin: 20px auto 0;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .footer-legal a {
    font-size: 11.5px;
    color: var(--gray-500);
    text-decoration: none;
    transition: color 0.2s;
  }
  .footer-legal a:hover { color: var(--gray-300); }

  /* ── SUCCESS MSG ── */
  .success-msg {
    display: none;
    background: rgba(52,211,153,0.1);
    border: 1px solid rgba(52,211,153,0.3);
    border-radius: 8px;
    padding: 16px;
    text-align: center;
    color: #34d399;
    font-size: 14px;
    font-weight: 500;
    margin-top: 16px;
  }

  /* ── RESPONSIVE ── */
  @media (max-width: 900px) {
    #inicio {
      min-height: auto;
      padding-top: 110px;
      padding-bottom: 55px;
    }
    .nav-links { display: none; }
    .nav-hamburger { display: block; }
    .nav-links.open {
      display: flex;
      flex-direction: column;
      position: fixed;
      top: 68px; left: 0; right: 0;
      background: var(--navy-mid);
      border-bottom: 1px solid var(--border);
      padding: 24px 5%;
      gap: 20px;
    }
    .hero-grid {
      grid-template-columns: 1fr;
      gap: 20px;
    }
    .hero-title {
      width: auto;
      max-width: none;
    }
    .hero-phone-visual {
      display: flex;
      min-height: auto;
      margin-top: 42px;
      overflow: visible;
    }
    .hero-phone-visual::before {
      width: 390px;
      height: 390px;
    }
    .hero-phone-image {
      width: min(100%, 390px);
      max-width: 390px;
      max-height: none;
      transform: none;
    }
    .verifactu-badge {
      width: 184px;
      top: -40px;
      left: auto;
      right: -4px;
      transform: rotate(31deg);
      transform-origin: center;
      filter: drop-shadow(0 9px 15px rgba(0,0,0,0.28));
    }
    .services-grid { grid-template-columns: 1fr; }
    .sectors-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-grid { grid-template-columns: 1fr; }
    .contact-details-row { grid-template-columns: 1fr; }
    #contacto { padding: 40px 5%; }
    .contact-detail { display: flex; width: fit-content; max-width: 100%; margin: 0 auto 10px; white-space: normal; text-align: left; }
    .contact-detail-text { flex-wrap: wrap; gap: 2px 6px; }
    .form-row { grid-template-columns: 1fr; }
    .stats-inner { grid-template-columns: repeat(2, 1fr); }
    .form-wrap { padding: 32px 24px; }
    .steps::before { display: none; }
  }
  /* ── WHATSAPP FLOAT ── */
  .whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 90;
    width: 58px;
    height: 58px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(0,0,0,0.35);
    text-decoration: none;
    transition: transform 0.2s;
  }
  .whatsapp-float:hover { transform: scale(1.08); }
  .whatsapp-float svg { width: 30px; height: 30px; }

  .whatsapp-float::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #25D366;
    opacity: 0.5;
    animation: wa-pulse 2.2s infinite;
    z-index: -1;
  }
  @keyframes wa-pulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.6); opacity: 0; }
  }

  @media (max-width: 900px) {
    .whatsapp-float { bottom: 18px; right: 18px; width: 52px; height: 52px; }
    .whatsapp-float svg { width: 26px; height: 26px; }
  }

  /* ── COOKIE BANNER ── */
  .cookie-banner {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 200;
    background: var(--navy-card);
    border-top: 1px solid var(--border-bright);
    padding: 20px 5%;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.3);
  }
  .cookie-banner.visible { transform: translateY(0); }
  .cookie-banner-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
  }
  .cookie-text {
    color: var(--gray-300);
    font-size: 13.5px;
    line-height: 1.6;
    margin: 0;
    flex: 1;
    min-width: 240px;
  }
  .cookie-text a { color: var(--blue-glow); text-decoration: underline; }
  .cookie-text a:hover { color: var(--white); }
  .cookie-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
  }
  .cookie-btn {
    border: none;
    border-radius: 8px;
    padding: 10px 22px;
    font-size: 13.5px;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
  }
  .cookie-btn-primary { background: var(--blue-accent); color: var(--white); }
  .cookie-btn-primary:hover { background: #1d4ed8; }
  .cookie-btn-ghost {
    background: transparent;
    color: var(--gray-300);
    border: 1px solid var(--border-bright);
  }
  .cookie-btn-ghost:hover { color: var(--white); border-color: var(--blue-bright); }

  @media (max-width: 600px) {
    .cookie-banner-inner { flex-direction: column; align-items: stretch; }
    .cookie-actions { justify-content: stretch; }
    .cookie-btn { flex: 1; }
  }

  /* ── AJUSTES LANDING 2026-08-09 ── */
  .hero-trial {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: -18px 0 24px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(34,211,153,0.10);
    border: 1px solid rgba(34,211,153,0.28);
    color: #34d399;
    font-size: 13px;
    font-weight: 600;
  }
  .hero-trial::before {
    content: '✓';
    font-weight: 800;
  }

  .platform-conditional {
    display: none;
  }
  .platform-conditional.visible {
    display: block;
  }

  .services-grid-home {
    max-width: 1200px;
    margin: 0 auto;
    padding: 42px 5% 86px;
  }

  @media (max-width: 900px) {
    .hero-trial {
      margin-top: -12px;
      margin-bottom: 22px;
    }
  }


  /* ═══════════════════════════════════════════════════════════
     PANTALLA DE SECTORES
     Componentes nuevos sobre los mismos tokens del sitio.
     ═══════════════════════════════════════════════════════════ */

  /* En la home #inicio es un flex de dos columnas; aquí la intro se apila. */
  #inicio { display: block; min-height: auto; }

  .sec-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
  /* .hero-title lleva un ancho fijo pensado para la home; aquí va centrado. */
  .sec-head .hero-title { width: auto; max-width: none; margin-left: auto; margin-right: auto; }
  .sec-head h2 { margin-top: 14px; }
  .sec-head p { color: var(--gray-300); margin-top: 16px; font-size: 17px; line-height: 1.7; }

  /* ── Intro: tres pilares ── */
  .pillars {
    max-width: 980px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .pillar {
    background: var(--navy-card);
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 24px 22px;
    text-align: center;
  }
  .pillar-icon {
    width: 40px; height: 40px; margin: 0 auto 14px;
    border-radius: 11px;
    background: rgba(45,107,228,0.10);
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
  }
  .pillar h3 { font-size: 15px; margin-bottom: 6px; }
  .pillar p { font-size: 13.5px; color: var(--gray-400); line-height: 1.6; }

  /* ── Selector de sector ── */
  .selector-section {
    padding: 92px 5%;
    background: var(--navy-mid);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }
  .selector-wrap { max-width: 660px; margin: 0 auto; position: relative; z-index: 20; }
  /* El desplegable se ancla al campo, no al bloque entero. */
  .selector-field { position: relative; }

  .selector-label {
    display: block;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--blue-glow);
    margin-bottom: 14px;
  }

  .selector-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--navy-card);
    border: 1px solid var(--border-bright);
    border-radius: 15px;
    padding: 19px 22px;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--gray-300);
    transition: border-color .25s, background .25s, box-shadow .25s;
  }
  .selector-trigger:hover { border-color: var(--blue-bright); background: #101d36; }
  .selector-trigger:focus-visible { outline: none; border-color: var(--blue-bright); box-shadow: 0 0 0 4px rgba(45,107,228,0.18); }
  .selector-trigger[aria-expanded="true"] { border-color: var(--blue-bright); box-shadow: 0 0 0 4px rgba(45,107,228,0.18); }
  .selector-trigger.has-value { color: var(--white); font-weight: 600; }
  .selector-trigger-emoji { font-size: 22px; line-height: 1; flex-shrink: 0; }
  .selector-trigger-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .selector-chevron { flex-shrink: 0; transition: transform .25s; color: var(--blue-glow); }
  .selector-trigger[aria-expanded="true"] .selector-chevron { transform: rotate(180deg); }

  .selector-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0; right: 0;
    background: var(--navy-card);
    border: 1px solid var(--border-bright);
    border-radius: 15px;
    box-shadow: 0 26px 60px rgba(0,0,0,0.5);
    overflow: hidden;
    display: none;
    z-index: 40;
  }
  .selector-dropdown.open { display: block; }

  .selector-search-row {
    display: flex; align-items: center; gap: 10px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
    background: rgba(45,107,228,0.05);
  }
  .selector-search-row svg { flex-shrink: 0; color: var(--gray-400); }
  .selector-search {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--white);
    padding: 2px 0;
  }
  .selector-search::placeholder { color: var(--gray-500); }

  .selector-list { max-height: 330px; overflow-y: auto; padding: 8px; margin: 0; list-style: none; }
  .selector-list::-webkit-scrollbar { width: 8px; }
  .selector-list::-webkit-scrollbar-thumb { background: rgba(45,107,228,0.28); border-radius: 4px; }

  .selector-option {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 11px 14px;
    border: none;
    background: none;
    border-radius: 10px;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-body);
    font-size: 14.5px;
    color: var(--gray-100);
    transition: background .16s, color .16s;
  }
  .selector-option:hover,
  .selector-option.active { background: rgba(45,107,228,0.16); color: var(--white); }
  .selector-option[hidden] { display: none; }
  .selector-option-emoji { font-size: 19px; line-height: 1; flex-shrink: 0; }
  .selector-option-name { flex: 1; min-width: 0; }
  .selector-option mark { background: none; color: var(--blue-light); font-weight: 700; }


  .selector-empty {
    padding: 22px 18px;
    text-align: center;
    font-size: 14px;
    color: var(--gray-400);
    line-height: 1.6;
  }
  .selector-empty a { color: var(--blue-glow); }

  .selector-hint { text-align: center; font-size: 13.5px; color: var(--gray-400); margin-top: 16px; }

  /* Accesos rápidos */
  .quick-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
  .quick-chip {
    display: inline-flex; align-items: center; gap: 7px;
    background: var(--navy-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 8px 15px;
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--gray-300);
    cursor: pointer;
    transition: border-color .25s, color .25s, background .25s;
  }
  .quick-chip:hover { border-color: var(--border-bright); color: var(--white); background: #101d36; }

  /* ── Ficha del sector ── */
  .panels { padding: 0 5% 96px; }
  .panels[hidden] { display: none; }

  .sector-panel { display: none; max-width: 1080px; margin: 0 auto; }
  .sector-panel.visible { display: block; animation: panelIn .42s ease both; }
  @keyframes panelIn {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
  }

  .panel-top {
    background: var(--navy-card);
    border: 1px solid var(--border-bright);
    border-radius: 20px 20px 0 0;
    border-bottom: none;
    padding: 34px 38px 30px;
  }
  .panel-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--blue-glow); margin-bottom: 14px;
  }
  .panel-title { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
  .panel-emoji { font-size: 34px; line-height: 1; }
  .panel-title h2 { font-size: clamp(22px, 2.9vw, 31px); margin: 0; }
  .panel-intro { color: var(--gray-300); font-size: 16px; line-height: 1.75; margin-top: 18px; max-width: 780px; }


  .panel-body {
    background: var(--navy-mid);
    border: 1px solid var(--border-bright);
    border-top: 1px solid var(--border);
    border-radius: 0 0 20px 20px;
    padding: 34px 38px 38px;
  }
  .panel-block + .panel-block { margin-top: 40px; }
  .panel-block-head {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    padding-bottom: 14px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border);
  }
  .panel-block-title {
    display: flex; align-items: center; gap: 9px;
    font-family: var(--font-display); font-size: 16px; font-weight: 600; color: var(--white);
  }
  .panel-block-count {
    flex-shrink: 0;
    font-size: 11.5px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
    color: var(--blue-glow);
    background: rgba(45,107,228,0.10);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 5px 12px;
  }

  /* ── Qué incluye: rejilla de dos columnas, numerada e ilustrada ── */
  .func-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .func-item {
    position: relative;
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 14px;
    align-items: start;
    background: var(--navy-card);
    border: 1px solid var(--border);
    border-radius: 13px;
    padding: 18px 20px;
    transition: border-color .25s, background .25s, transform .25s;
  }
  .func-item:hover { border-color: var(--border-bright); background: #101d36; transform: translateY(-2px); }
  .func-num {
    position: absolute;
    top: 14px; right: 16px;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: rgba(138,154,184,0.34);
  }
  .func-icon {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: rgba(45,107,228,0.11);
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    color: var(--blue-glow);
    transition: background .25s, color .25s;
  }
  .func-item:hover .func-icon { background: rgba(45,107,228,0.2); color: var(--blue-light); }
  .func-text { min-width: 0; padding-right: 26px; }
  .func-item h4 {
    font-family: var(--font-display); font-size: 14.5px; font-weight: 600; color: var(--white);
    margin-bottom: 5px; line-height: 1.35;
  }
  .func-item p { font-size: 13.5px; color: var(--gray-400); line-height: 1.6; }

  /* ── Automatizaciones: tarjetas en verde, el color de "esto va solo" ── */
  .auto-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .auto-item {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    background: rgba(34,197,94,0.05);
    border: 1px solid rgba(34,197,94,0.18);
    border-radius: 13px;
    padding: 17px 19px;
    transition: border-color .25s, background .25s;
  }
  .auto-item:hover { border-color: rgba(34,197,94,0.38); background: rgba(34,197,94,0.09); }
  .auto-icon {
    flex-shrink: 0;
    width: 32px; height: 32px;
    border-radius: 9px;
    background: rgba(34,197,94,0.14);
    display: flex; align-items: center; justify-content: center;
    color: var(--green-accent);
  }
  .auto-item p { font-size: 14px; color: var(--gray-100); line-height: 1.55; }

  .panel-invoice {
    background: var(--navy-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 22px 24px;
    font-size: 14.5px;
    color: var(--gray-100);
    line-height: 1.7;
  }
  .panel-invoice strong { color: var(--white); }

  .panel-cta {
    margin-top: 34px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
    display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  }
  .panel-cta p { flex: 1; min-width: 220px; font-size: 14.5px; color: var(--gray-300); line-height: 1.6; }


  /* ── Responsive ── */
  @media (max-width: 900px) {
    .selector-section { padding: 64px 5%; }
    .pillars { grid-template-columns: 1fr; }
    .panels { padding: 0 5% 64px; }
    .panel-top { padding: 26px 22px 24px; }
    .panel-body { padding: 26px 22px 30px; }
    .panel-emoji { font-size: 28px; }
    .func-grid, .auto-grid { grid-template-columns: 1fr; }
    .panel-block-head { flex-direction: column; align-items: flex-start; gap: 10px; }
    .selector-list { max-height: 46vh; }
    .panel-cta .btn-primary, .panel-cta .btn-ghost { width: 100%; text-align: center; }
  }
