  :root{
    --bg:#ffffff;
    --panel:#f5f6fa;
    --panel-2:#eef0f7;
    --border:rgba(20,19,31,0.08);
    --border-strong:rgba(20,19,31,0.14);
    --text:#14131f;
    --muted:#57576a;
    --muted-2:#9494a0;
    --blue:#0059ff;
    --blue-hover:#1a6bff;
    --teal:#12a394;
    --radius-pill:48px;
    --container:1180px;
  }

  *{box-sizing:border-box; margin:0; padding:0;}
  html{scroll-behavior:smooth; overflow-x:clip;}

  body{
    background:var(--bg);
    color:var(--text);
    font-family:"Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing:antialiased;
    overflow-x:clip;
  }

  a{ text-decoration:none; color:inherit; }
  img{ max-width:100%; display:block; }
  ::selection{ background:rgba(0,89,255,0.14); color:var(--text); }

  .wrap{ max-width:var(--container); margin:0 auto; padding:0 32px; }
  @media (max-width:640px){ .wrap{ padding:0 22px; } }

  .eyebrow{
    display:flex; align-items:center; gap:12px;
    font-size:13px; font-weight:600; letter-spacing:1.5px;
    text-transform:uppercase; color:var(--teal); margin-bottom:20px;
  }
  .eyebrow::before{ content:''; width:22px; height:1px; background:var(--teal); }
  .eyebrow.center{ justify-content:center; }

  h1,h2,h3{ font-family:"Inter Tight","Inter",sans-serif; font-weight:500; letter-spacing:-0.02em; }

  /* ---------- NAV (matches home) ---------- */
  header{
    position:sticky; top:0; z-index:100;
    background:rgba(255,255,255,0.85);
    backdrop-filter:blur(12px);
    border-bottom:1px solid var(--border);
  }
  .nav{
    display:flex; align-items:center; justify-content:space-between;
    padding:20px 32px; max-width:var(--container); margin:0 auto;
  }
  .logo{ display:flex; align-items:center; gap:10px; font-size:20px; font-weight:600; letter-spacing:-0.3px; }
  .logo-mark{ width:26px; height:26px; display:block; }
  .nav-links{ display:flex; align-items:center; gap:36px; }
  .nav-links a{ font-size:15px; color:var(--muted); transition:color .15s ease; }
  .nav-links a:hover{ color:var(--text); }
  .nav-links a.active{ color:var(--text); }
  .nav-cta{ display:flex; align-items:center; gap:14px; }

  /* ---------- MOBILE MENU ---------- */
  .menu-toggle{
    display:none; flex-direction:column; justify-content:center; align-items:center;
    gap:5px; width:40px; height:40px; border:none; background:none; cursor:pointer;
    flex-shrink:0; padding:0;
  }
  .menu-toggle span{
    display:block; width:20px; height:2px; background:var(--text);
    border-radius:2px; transition:transform .25s ease, opacity .25s ease;
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2){ opacity:0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

  .mobile-menu{
    display:none; position:absolute; top:100%; left:0; right:0;
    background:#ffffff; border-top:1px solid var(--border);
    max-height:80vh; overflow-y:auto; box-shadow:0 24px 40px -20px rgba(20,19,31,0.18);
  }
  .mobile-menu.open{ display:block; }
  .mobile-menu-inner{ padding:8px 24px 32px; }
  .mobile-menu-links{ display:flex; flex-direction:column; }
  .mobile-menu-links a{
    padding:16px 2px; font-size:18px; font-weight:500; color:var(--text);
    border-bottom:1px solid var(--border);
  }
  .mobile-menu-cta{ display:flex; flex-direction:column; gap:12px; margin-top:24px; }
  .mobile-menu-cta .btn{ width:100%; }

  .btn{
    display:inline-flex; align-items:center; justify-content:center;
    padding:12px 24px; border-radius:var(--radius-pill); font-size:15px; font-weight:500;
    white-space:nowrap; cursor:pointer; border:1px solid transparent; transition:all .18s ease;
  }
  .btn-ghost{ background:transparent; color:var(--text); border:1px solid var(--border-strong); }
  .btn-ghost:hover{ background:rgba(20,19,31,0.04); }
  .btn-primary{ background:var(--blue); color:#fff; }
  .btn-primary:hover{ background:var(--blue-hover); }

  /* ---------- HERO ---------- */
  .hero{ position:relative; padding:110px 0 0; text-align:center; overflow:hidden; }
    .hero .wrap{ position:relative; }
  .hero h1{
    font-size:clamp(2.2rem, 5vw, 3.8rem); line-height:1.08; letter-spacing:-1.4px;
    max-width:34ch; margin:0 auto;
  }
  .hero p.sub{ margin:24px auto 0; max-width:56ch; font-size:1.1rem; color:var(--muted); line-height:1.6; }
  .hero-cta{ margin-top:34px; display:flex; justify-content:center; gap:14px; flex-wrap:wrap; }


  /* ---------- PRODUCT MOCKUP ---------- */
  .mock{
    margin:60px auto 0; max-width:900px; text-align:left;
    border:1px solid var(--border); border-radius:16px; overflow:hidden;
    box-shadow:0 50px 90px -50px rgba(20,19,31,0.22);
    background:#FFFFFF;
  }
  .mock-bar{
    display:flex; align-items:center; gap:8px;
    padding:14px 18px; border-bottom:1px solid var(--border); background:var(--panel);
  }
  .mock-bar span{ width:9px; height:9px; border-radius:50%; background:var(--border-strong); }
  .mock-bar .url{ margin-left:12px; font-size:12px; color:var(--muted-2); }
  .mock-body{ padding:28px 28px 24px; }
  .mock-q{
    display:flex; align-items:center; gap:10px;
    border:1px solid var(--border-strong); border-radius:10px; padding:14px 18px;
    font-size:0.95rem; color:var(--text);
  }
  .mock-q .cursor{
    display:inline-block; width:1px; height:16px; background:var(--blue);
    animation:blink 1s step-end infinite;
  }
  @keyframes blink{ 50%{ opacity:0; } }
  .mock-answer{ margin-top:22px; font-size:0.98rem; line-height:1.7; color:var(--text); max-width:60ch; }
  .mock-chip{
    display:inline-flex; align-items:center; justify-content:center;
    width:16px; height:16px; border-radius:4px; background:var(--panel-2);
    font-size:10px; color:var(--blue); margin:0 2px; vertical-align:middle;
  }
  .mock-sources{
    margin-top:22px; display:flex; gap:10px; flex-wrap:wrap;
    border-top:1px solid var(--border); padding-top:18px;
  }
  .mock-source{
    display:flex; align-items:center; gap:8px;
    border:1px solid var(--border); border-radius:20px; padding:6px 12px 6px 8px;
    font-size:12.5px; color:var(--muted);
  }
  .mock-source .dot{ width:7px; height:7px; border-radius:50%; background:var(--teal); }
  @media (max-width:640px){ .mock-body{ padding:20px 18px; } }

  /* ---------- CÓMO FUNCIONA ---------- */
  .flow{ padding:110px 0 100px; border-top:1px solid var(--border); }
  .flow-head{ text-align:center; margin-bottom:56px; }
  .flow-head h2{ font-size:clamp(1.7rem, 3.2vw, 2.3rem); letter-spacing:-0.7px; max-width:20ch; margin:0 auto; }
  .flow-grid{
    display:grid; grid-template-columns:repeat(3, 1fr); gap:0;
    border-top:1px solid var(--border); border-left:1px solid var(--border);
  }
  .flow-step{ padding:36px 30px; border-right:1px solid var(--border); border-bottom:1px solid var(--border); }
  .flow-step .n{ font-size:13px; font-weight:600; color:var(--teal); margin-bottom:18px; }
  .flow-step h3{ font-size:1.15rem; font-weight:500; margin-bottom:10px; }
  .flow-step p{ color:var(--muted); font-size:0.95rem; line-height:1.6; }
  @media (max-width:820px){ .flow-grid{ grid-template-columns:1fr; } }

  /* ---------- FEATURE GRID ---------- */
  .features{ padding:100px 0; border-top:1px solid var(--border); background:var(--panel); }
  .features-head{ display:flex; justify-content:space-between; align-items:flex-end; gap:40px; margin-bottom:48px; }
  .features-head h2{ font-size:clamp(1.7rem, 3.2vw, 2.3rem); letter-spacing:-0.7px; max-width:16ch; }
  .features-head p{ max-width:36ch; color:var(--muted); font-size:0.98rem; padding-bottom:4px; }
  @media (max-width:720px){ .features-head{ flex-direction:column; align-items:flex-start; gap:16px; } }

  .feature-grid{
    display:grid; grid-template-columns:repeat(3, 1fr); gap:1px;
    background:var(--border); border:1px solid var(--border);
  }
  .feature{
    background:#FFFFFF; padding:32px 28px; min-height:190px;
    display:flex; flex-direction:column; justify-content:space-between;
  }
  .feature .icon{
    width:36px; height:36px; border-radius:9px; background:var(--blue);
    display:flex; align-items:center; justify-content:center; margin-bottom:22px;
  }
  .feature .icon svg{ width:16px; height:16px; stroke:#FFFFFF; }
  .feature h3{ font-size:1.05rem; font-weight:500; margin-bottom:8px; }
  .feature p{ color:var(--muted); font-size:0.92rem; line-height:1.6; }
  @media (max-width:820px){ .feature-grid{ grid-template-columns:1fr; } }
  @media (min-width:821px) and (max-width:1080px){ .feature-grid{ grid-template-columns:repeat(2,1fr); } }

  /* ---------- POR EQUIPO ---------- */
  .teams{ padding:100px 0; border-top:1px solid var(--border); }
  .teams-head{ text-align:center; margin-bottom:48px; }
  .teams-head h2{ font-size:clamp(1.7rem, 3.2vw, 2.3rem); letter-spacing:-0.7px; }
  .teams-head p{ color:var(--muted); margin-top:14px; max-width:44ch; margin-left:auto; margin-right:auto; }
  .team-grid{
    display:grid; grid-template-columns:repeat(3, 1fr); gap:0;
    border-top:1px solid var(--border); border-left:1px solid var(--border);
  }
  .team{
    padding:28px 26px; border-right:1px solid var(--border); border-bottom:1px solid var(--border);
    transition:background 0.25s ease;
  }
  .team:hover{ background:var(--panel); }
  .team .tag{
    font-size:12px; font-weight:600; letter-spacing:0.08em; text-transform:uppercase;
    color:var(--teal); margin-bottom:10px; display:block;
  }
  .team p{ font-size:0.95rem; color:var(--text); line-height:1.55; }
  @media (max-width:820px){ .team-grid{ grid-template-columns:1fr; } }
  @media (min-width:821px) and (max-width:1080px){ .team-grid{ grid-template-columns:repeat(2,1fr); } }

  /* ---------- INTEGRACIONES ---------- */
  .integrations{ padding:100px 0; border-top:1px solid var(--border); background:var(--panel); }
  .integrations-head{ text-align:center; margin-bottom:44px; }
  .integrations-head h2{ font-size:clamp(1.7rem, 3.2vw, 2.3rem); letter-spacing:-0.7px; }
  .pill-row{ display:flex; flex-wrap:wrap; justify-content:center; gap:10px; max-width:760px; margin:0 auto; }
  .pill{
    display:inline-flex; align-items:center; gap:9px;
    font-size:0.9rem; font-weight:500; color:var(--text);
    background:#FFFFFF; border:1px solid var(--border-strong); border-radius:20px; padding:8px 18px 8px 8px;
  }
  .pill.muted{ color:var(--muted); border-color:var(--border); padding:9px 18px; }
  .pill .mark{
    width:22px; height:22px; border-radius:7px; background:var(--panel-2);
    display:flex; align-items:center; justify-content:center; overflow:hidden; flex-shrink:0;
    font-family:"Inter Tight","Inter",sans-serif; font-weight:600; font-size:9px; color:var(--text);
  }
  .pill .mark.has-logo{ background:#FFFFFF; border:1px solid var(--border); }
  .pill .mark.has-logo img{ width:100%; height:100%; object-fit:contain; padding:3px; }
  .integrations-foot{ text-align:center; margin-top:32px; }
  .integrations-foot a{ font-size:0.92rem; color:var(--blue); text-decoration:underline; }
  .integrations-foot a:hover{ color:var(--blue-hover); }

  /* ---------- SEGURIDAD ---------- */
  .security{ padding:90px 0; border-top:1px solid var(--border); }
  .security-inner{ display:flex; justify-content:space-between; align-items:flex-start; gap:40px; flex-wrap:wrap; }
  .security-copy{ max-width:36ch; }
  .security-copy h2{ font-size:clamp(1.5rem, 2.8vw, 1.9rem); letter-spacing:-0.5px; margin-bottom:14px; }
  .security-copy p{ color:var(--muted); font-size:0.98rem; line-height:1.65; }
  .security-badges{ display:grid; grid-template-columns:repeat(2, 1fr); gap:16px 40px; flex:1 1 380px; }
  .badge{ border-top:1px solid var(--border); padding-top:14px; }
  .badge .t{ font-weight:600; font-size:0.95rem; margin-bottom:4px; }
  .badge .d{ color:var(--muted-2); font-size:0.85rem; }

  /* ---------- CTA FINAL ---------- */
  .cta-band{
    background:linear-gradient(160deg, #0a2fcc 0%, #0043e0 55%, #0032ad 100%);
    color:#FFFFFF; padding:110px 0; text-align:center; position:relative; overflow:hidden;
  }
  .cta-band::before{
    content:"";
    position:absolute; top:-40%; left:50%; transform:translateX(-50%);
    width:700px; height:500px;
    background:radial-gradient(circle, rgba(79,216,196,0.16) 0%, transparent 60%);
    pointer-events:none;
  }
  .cta-band .wrap{ position:relative; }
  .cta-band h2{ font-size:clamp(1.8rem, 3.8vw, 2.6rem); letter-spacing:-1px; max-width:16ch; margin:0 auto; color:#FFFFFF; }
  .cta-band p{ color:rgba(255,255,255,0.72); margin:20px auto 0; max-width:48ch; }
  .cta-band .hero-cta{ margin-top:36px; }
  .cta-band .btn-primary{ background:#FFFFFF; color:var(--blue); box-shadow:none; }
  .cta-band .btn-primary:hover{ background:#eef0f7; }
  .cta-band .btn-ghost{ border-color:rgba(255,255,255,0.3); color:#FFFFFF; }
  .cta-band .btn-ghost:hover{ border-color:#fff; background:rgba(255,255,255,0.08); }

  /* ---------- FOOTER (matches home) ---------- */
  footer{ border-top:1px solid var(--border); padding:80px 32px 40px; }
  .footer-grid{
    max-width:var(--container); margin:0 auto;
    display:grid; grid-template-columns:1.6fr 1fr 1fr; gap:40px;
  }
  .footer-brand .eyebrow{ margin-bottom:18px; color:var(--muted-2); letter-spacing:2px; }
  .footer-brand .eyebrow::before{ background:var(--muted-2); }
  .footer-brand p{ font-size:14px; line-height:1.7; color:var(--muted); max-width:340px; margin-bottom:24px; }
  .footer-col h4{ font-size:15px; font-weight:600; margin-bottom:20px; }
  .footer-col a{ display:block; font-size:14px; color:var(--muted); margin-bottom:14px; transition:color .15s ease; }
  .footer-col a:hover{ color:var(--text); }
  .footer-copy{ text-align:center; margin-top:28px; font-size:13px; color:var(--muted-2); }

  @media (max-width:900px){
    .nav{ padding:16px 20px; }
    .nav-links{ display:none; }
    .nav-cta .btn-ghost{ display:none; }
    .menu-toggle{ display:flex; }
    .hero{ padding:72px 0 0; }
    .flow{ padding:64px 0 56px; }
    .flow-step{ padding:28px 22px; }
    .features{ padding:56px 0; }
    .feature{ padding:26px 22px; min-height:auto; }
    .teams{ padding:56px 0; }
    .team{ padding:22px 20px; }
    .integrations{ padding:56px 0; }
    .security{ padding:56px 0; }
    .security-inner{ flex-direction:column; gap:28px; }
    .cta-band{ padding:72px 0; }
    .footer-grid{ grid-template-columns:1fr; gap:40px; }
    footer{ padding:56px 20px 32px; }
  }

  @media (prefers-reduced-motion: reduce){ *{ transition:none !important; scroll-behavior:auto !important; } }

.flow-step--last { border-right: none; }
