/* ═══════════════════════════════════════
       VARIABLES & RESET
    ═══════════════════════════════════════ */
    :root {
      --blue:       #2563eb;
      --blue-light: #60a5fa;
      --blue-pale:  #dbeafe;
      --dark:       #0f172a;
      --gray:       #64748b;
      --border:     #e2e8f0;
      --white:      #ffffff;
      --bg-soft:    #f8faff;
      --nav-h:      68px;
    }
    *, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
    html { scroll-behavior: smooth; font-size: 16px; }
    body {
      font-family: 'DM Sans', sans-serif;
      background: var(--white);
      color: var(--dark);
      overflow-x: hidden;
    }
    a { text-decoration: none; color: inherit; }
    ul { list-style: none; }
    img { display: block; max-width: 100%; }

    /* ═══════════════════════════════════════
       NAVBAR
    ═══════════════════════════════════════ */
    .nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      height: var(--nav-h);
      display: flex;
      align-items: center;
      padding: 0 52px;
      background: rgba(255,255,255,0.88);
      backdrop-filter: blur(20px) saturate(180%);
      -webkit-backdrop-filter: blur(20px) saturate(180%);
      border-bottom: 1px solid rgba(0,0,0,0.06);
      z-index: 1000;
      transition: background .3s;
    }
    .nav.scrolled {
      background: rgba(255,255,255,0.97);
      box-shadow: 0 1px 20px rgba(0,0,0,0.07);
    }

    /* Logo */
    .nav-logo {
      display: flex;
      align-items: center;
      gap: 11px;
      flex-shrink: 0;
    }
    .logo-box {
      width: 38px; height: 38px;
      background: linear-gradient(135deg, var(--blue), var(--blue-light));
      border-radius: 10px;
      display: flex; align-items: center; justify-content: center;
      font-size: 18px;
      box-shadow: 0 2px 10px rgba(37,99,235,.3);
      flex-shrink: 0;
    }
    .logo-name {
    font-family: 'DM Sans', sans-serif; 
    font-weight: 500; /* Extra bold para presencia */
     font-size: 19px;
     color: var(--dark);
     line-height: 1.3;
    }
    .logo-sub {
      font-size: 10px;
      color: var(--gray);
      text-transform: uppercase;
      letter-spacing: .8px;
      font-weight: 400;
    }

    /* Links centrados */
    .nav-links {
      display: flex;
      gap: 36px;
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
    }
    .nav-links a {
      font-size: 14px;
      font-weight: 500;
      color: #374151;
      position: relative;
      padding-bottom: 3px;
      transition: color .2s;
    }
    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: -1px; left: 0; right: 0;
      height: 1.5px;
      background: var(--blue);
      transform: scaleX(0);
      transform-origin: left;
      transition: transform .22s ease;
    }
    .nav-links a:hover { color: var(--blue); }
    .nav-links a:hover::after { transform: scaleX(1); }

    /* Botones derecha */
    .nav-actions {
      margin-left: auto;
      display: flex;
      gap: 8px;
      align-items: center;
    }
    .btn-ghost {
      padding: 8px 20px;
      border-radius: 9px;
      border: 1.5px solid var(--border);
      background: var(--white);
      color: var(--dark);
      font-family: 'DM Sans', sans-serif;
      font-size: 13.5px;
      font-weight: 500;
      cursor: pointer;
      transition: border-color .2s, box-shadow .2s;
    }
    .btn-ghost:hover {
      border-color: #cbd5e1;
      box-shadow: 0 2px 8px rgba(0,0,0,.07);
    }
    .btn-solid {
      padding: 8px 20px;
      border-radius: 9px;
      border: 1.5px solid var(--dark);
      background: var(--dark);
      color: var(--white);
      font-family: 'DM Sans', sans-serif;
      font-size: 13.5px;
      font-weight: 500;
      cursor: pointer;
      transition: background .2s, box-shadow .2s;
    }
    .btn-solid:hover {
      background: #1e293b;
      box-shadow: 0 4px 14px rgba(0,0,0,.2);
    }

    /* ═══════════════════════════════════════
       HERO
    ═══════════════════════════════════════ */
    .hero {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: calc(var(--nav-h) + 40px) 40px 80px;
      position: relative;
      overflow: hidden;
      background:
        radial-gradient(ellipse 90% 60% at 10% -10%, #dbeafe88 0%, transparent 55%),
        radial-gradient(ellipse 70% 55% at 92% 105%, #bfdbfe55 0%, transparent 55%),
        var(--white);
    }

    /* Círculo decorativo de fondo */
    .hero-orb {
      position: absolute;
      width: 700px; height: 700px;
      border-radius: 50%;
      background: radial-gradient(circle, #dbeafe33 0%, transparent 65%);
      top: 50%; left: 50%;
      transform: translate(-50%, -50%);
      pointer-events: none;
      animation: orbPulse 8s ease-in-out infinite;
    }
    @keyframes orbPulse {
      0%,100% { transform: translate(-50%,-50%) scale(1); opacity: .5; }
      50%      { transform: translate(-50%,-50%) scale(1.12); opacity: .8; }
    }

    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      padding: 5px 16px;
      border-radius: 100px;
      background: rgba(37,99,235,.07);
      border: 1px solid rgba(37,99,235,.2);
      font-size: 12.5px;
      color: var(--blue);
      font-weight: 500;
      margin-bottom: 32px;
      position: relative;
      opacity: 0;
      animation: fadeUp .6s ease .1s forwards;
    }
    .badge-dot {
      width: 6px; height: 6px;
      background: var(--blue);
      border-radius: 50%;
      animation: pulse 2.2s infinite;
    }
    @keyframes pulse {
      0%,100%{ opacity:1; transform:scale(1); }
      50%    { opacity:.35; transform:scale(1.6); }
    }

    .hero-title {
      font-family: 'DM Sans', sans-serif; /* Cambio aquí */
      font-weight: 800;
      font-size: clamp(2.2rem, 4vw, 3.8rem);
      line-height: 1.2;
      letter-spacing: -1.5px; /* Tracking más cerrado para títulos modernos */
      color: var(--dark);
      max-width: 800px;
      margin: 0 auto 5px;
      opacity: 0;
      animation: fadeUp .8s cubic-bezier(0.16, 1, 0.3, 1) .2s forwards;
    }
    .hero-title .grad {
      background: linear-gradient(110deg, #1d4ed8 0%, #3b82f6 55%, #93c5fd 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .hero-subtitle {
      font-family: 'DM Sans', sans-serif;
      font-weight: 800;
      font-size: clamp(2.2rem, 4vw, 3.8rem);
      line-height: 1.2;
      letter-spacing: -1px;
      color: var(--dark);
      max-width: 1000px;
      margin: 0 auto 16px;
      opacity: 0;
      padding-bottom: 12px; /* Margen de seguridad (buffer) para el trazo de la "g" */
      animation: fadeUp .8s cubic-bezier(0.16, 1, 0.3, 1) .25s forwards;
    }

    .hero-divider {
      width: 560px;
      max-width: 90vw;
      height: 1.5px;
      background: linear-gradient(90deg, transparent, #bfdbfe, #93c5fd, #bfdbfe, transparent);
      margin: 0 auto 16px;
      opacity: 0;
      animation: fadeUp .7s ease .28s forwards;
    }

    .hero-headline {
      font-family: 'DM Sans', sans-serif;
      font-weight: 300;
      font-size: clamp(1.9rem, 3.2vw, 2.8rem);
      line-height: 1.3;
      letter-spacing: -.2px;
      color: #334155;
      max-width: 720px;
      margin: 0 auto 44px;
      opacity: 0;
      animation: fadeUp .8s ease .35s forwards;
    }

    .hero-cta {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 14px 36px;
      border-radius: 12px;
      background: var(--dark);
      color: var(--white);
      font-family: 'DM Sans', sans-serif;
      font-size: 15px;
      font-weight: 500;
      box-shadow: 0 4px 20px rgba(0,0,0,.16);
      transition: transform .2s, box-shadow .2s, background .2s;
      opacity: 0;
      animation: fadeUp .8s ease .42s forwards;
    }
    .hero-cta:hover {
      transform: translateY(-2px);
      background: #1e293b;
      box-shadow: 0 10px 30px rgba(0,0,0,.22);
    }

    /* Stats */
    .hero-stats {
      display: flex;
      gap: 32px;
      align-items: center;
      margin-top: 52px;
      opacity: 0;
      animation: fadeUp .9s ease .52s forwards;
    }
    .stat-num {
      font-family: 'Syne', sans-serif;
      font-weight: 700;
      font-size: 1.4rem;
      color: var(--dark);
      letter-spacing: -.5px;
    }
    .stat-lbl {
      font-size: 11.5px;
      color: var(--gray);
      font-weight: 400;
      margin-top: 2px;
    }
    .stat-sep {
      width: 1px; height: 36px;
      background: var(--border);
    }

    /* Scroll hint */
    .scroll-hint {
      position: absolute;
      bottom: 32px; left: 50%;
      transform: translateX(-50%);
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 5px;
      opacity: 0;
      animation: fadeIn 1s ease 1.2s forwards;
    }
    .scroll-hint span {
      font-size: 9px;
      color: #94a3b8;
      letter-spacing: 2.5px;
      text-transform: uppercase;
      font-weight: 500;
    }
    .mouse-ico {
      width: 20px; height: 30px;
      border: 1.5px solid #cbd5e1;
      border-radius: 10px;
      position: relative;
    }
    .mouse-ico::after {
      content: '';
      position: absolute;
      top: 5px; left: 50%;
      transform: translateX(-50%);
      width: 2.5px; height: 5px;
      background: #cbd5e1;
      border-radius: 2px;
      animation: scrollDot 1.8s ease-in-out infinite;
    }
    @keyframes scrollDot {
      0%,100%{ opacity:1; top:5px; }
      75%    { opacity:0; top:15px; }
    }

    /* ═══════════════════════════════════════
       SECTION BASE
    ═══════════════════════════════════════ */
    .section {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 100px 60px;
      position: relative;
    }
    .section-tag {
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 2.5px;
      text-transform: uppercase;
      color: var(--blue);
      margin-bottom: 14px;
      display: flex;
      align-items: center;
      gap: 7px;
    }
    .section-tag::before {
      content: '';
      display: block;
      width: 6px; height: 6px;
      background: var(--blue);
      border-radius: 50%;
    }
    .section-title {
      font-family: 'DM Sans', sans-serif; /* Unificamos títulos con Syne para coherencia */
      font-weight: 400;
      font-size: clamp(1.5rem, 2.4vw, 2rem);
      line-height: 1.35;
      letter-spacing: -.1px;
      color: var(--dark);
      margin-bottom: 18px;
      max-width: 700px;
      text-align: center;
      padding-bottom: 4px;
    }
    .section-sub {
      font-size: 1rem;
      color: var(--gray);
      line-height: 1.75;
      max-width: 560px;
      text-align: center;
      font-weight: 300;
    }

    /* Scroll indicator dentro de secciones */
    .section-scroll {
      position: absolute;
      bottom: 30px; left: 50%;
      transform: translateX(-50%);
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 5px;
      opacity: .5;
      transition: opacity .3s;
    }
    .section-scroll:hover { opacity: 1; }
    .section-scroll span {
      font-size: 9px;
      color: #94a3b8;
      letter-spacing: 2.5px;
      text-transform: uppercase;
    }

    /* Reveal animation */
    .reveal {
      opacity: 0;
      transform: translateY(40px);
      transition: opacity .8s cubic-bezier(0.16, 1, 0.3, 1), transform .8s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .reveal.visible {
      opacity: 1;
      transform: translateY(0);
    }
    .reveal-d1 { transition-delay: .1s; }
    .reveal-d2 { transition-delay: .2s; }
    .reveal-d3 { transition-delay: .3s; }
    .reveal-d4 { transition-delay: .4s; }

    /* ═══════════════════════════════════════
       MISIÓN
    ═══════════════════════════════════════ */
    #mision {
      background: var(--bg-soft);
      border-top: 1px solid var(--border);
    }
    .mision-wrap {
      display: flex;
      align-items: center;
      gap: 72px;
      max-width: 1100px;
      width: 100%;
      flex-wrap: wrap;
      justify-content: center;
    }
    .mision-left {
      flex: 1;
      min-width: 280px;
      max-width: 500px;
      text-align: left;
    }
    .mision-title {
      font-family: 'DM Sans', sans-serif;
      font-weight: 400;
      font-size: clamp(1.5rem, 2.4vw, 2rem);
      line-height: 1.35;
      letter-spacing: -.1px;
      color: #334155;
      margin-bottom: 18px;
    }
    .mision-body {
      font-size: .98rem;
      color: var(--gray);
      line-height: 1.85;
      margin-top: 20px;
      font-weight: 300;
    }
    .mision-body + .mision-body { margin-top: 14px; }

    /* Chips de valores */
    .mision-chips {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 28px;
    }
    .chip {
      padding: 5px 14px;
      border-radius: 100px;
      background: var(--white);
      border: 1px solid var(--border);
      font-size: 12px;
      font-weight: 500;
      color: var(--dark);
    }

    .mision-right {
      flex: 1;
      min-width: 260px;
      max-width: 420px;
    }
    .mision-img-box {
      width: 100%;
      aspect-ratio: 4/3;
      border-radius: 20px;
      background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 50%, #ede9fe 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 100px;
      box-shadow: 0 24px 60px rgba(37,99,235,.12), 0 2px 12px rgba(0,0,0,.06);
      border: 1px solid rgba(255,255,255,.8);
      position: relative;
      overflow: hidden;
    }
    .mision-img-box::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(255,255,255,.3) 0%, transparent 60%);
    }

    /* ═══════════════════════════════════════
       CONÓCENOS
    ═══════════════════════════════════════ */
    #conocenos {
      background: var(--white);
      border-top: 1px solid var(--border);
    }
    .team-grid {
      display: flex;
      gap: 20px;
      flex-wrap: wrap;
      justify-content: center;
      max-width: 960px;
      margin-top: 48px;
    }
    .team-card {
      background: var(--bg-soft);
      border: 1px solid var(--border);
      border-radius: 18px;
      padding: 30px 26px;
      flex: 1;
      min-width: 230px;
      max-width: 280px;
      text-align: center;
      transition: transform .22s, box-shadow .22s, border-color .22s;
    }
    .team-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 16px 48px rgba(37,99,235,.1);
      border-color: #bfdbfe;
    }
    .team-avatar {
      width: 64px; height: 64px;
      border-radius: 50%;
      margin: 0 auto 16px;
      display: flex; align-items: center; justify-content: center;
      font-size: 28px;
    }
    .av-blue   { background: #dbeafe; }
    .av-purple { background: #ede9fe; }
    .av-green  { background: #dcfce7; }
    .team-name {
      font-family: 'Syne', sans-serif;
      font-weight: 700;
      font-size: 1rem;
      color: var(--dark);
      margin-bottom: 4px;
    }
    .team-role {
      font-size: 12px;
      color: var(--blue);
      font-weight: 500;
      margin-bottom: 12px;
      text-transform: uppercase;
      letter-spacing: .5px;
    }
    .team-desc {
      font-size: 13px;
      color: var(--gray);
      line-height: 1.65;
      font-weight: 300;
    }

    /* ═══════════════════════════════════════
       PLANES
    ═══════════════════════════════════════ */
    #planes {
      background: var(--bg-soft);
      border-top: 1px solid var(--border);
      padding-bottom: 120px;
    }
    .plans-grid {
      display: flex;
      gap: 20px;
      flex-wrap: wrap;
      justify-content: center;
      max-width: 1040px;
      margin-top: 52px;
      align-items: stretch;
    }
    .plan-card {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: 22px;
      padding: 34px 28px;
      flex: 1;
      min-width: 250px;
      max-width: 300px;
      display: flex;
      flex-direction: column;
      position: relative;
      transition: transform .22s, box-shadow .22s;
    }
    .plan-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 20px 56px rgba(0,0,0,.09);
    }
    .plan-card.featured {
      background: var(--dark);
      border-color: var(--dark);
      transform: scale(1.03);
    }
    .plan-card.featured:hover {
      transform: scale(1.03) translateY(-5px);
      box-shadow: 0 24px 60px rgba(0,0,0,.22);
    }
    .plan-popular {
      position: absolute;
      top: -14px; left: 50%;
      transform: translateX(-50%);
      background: var(--blue);
      color: var(--white);
      font-size: 11px;
      font-weight: 600;
      padding: 4px 18px;
      border-radius: 100px;
      letter-spacing: .5px;
      white-space: nowrap;
    }
    .plan-name {
      font-family: 'Syne', sans-serif;
      font-weight: 700;
      font-size: 1.1rem;
      color: var(--dark);
      margin-bottom: 6px;
    }
    .plan-card.featured .plan-name { color: var(--white); }
    .plan-desc {
      font-size: 12.5px;
      color: var(--gray);
      line-height: 1.55;
      margin-bottom: 22px;
      font-weight: 300;
    }
    .plan-card.featured .plan-desc { color: #94a3b8; }
    .plan-price {
      display: flex;
      align-items: baseline;
      gap: 3px;
      margin-bottom: 24px;
    }
    .plan-curr {
      font-size: 1.1rem;
      font-weight: 600;
      color: var(--dark);
      margin-top: 6px;
    }
    .plan-card.featured .plan-curr { color: var(--white); }
    .plan-amt {
      font-family: 'DM Sans', sans-serif;
      font-weight: 300;
      font-size: 2.2rem;
      color: var(--dark);
      line-height: 1;
      letter-spacing: -.5px;
    }
    .plan-card.featured .plan-amt { color: var(--white); }
    .plan-per {
      font-size: 11.5px;
      color: #94a3b8;
      align-self: flex-end;
      margin-bottom: 3px;
    }
    .plan-hr {
      height: 1px;
      background: var(--border);
      margin-bottom: 22px;
    }
    .plan-card.featured .plan-hr { background: #334155; }
    .plan-feats {
      display: flex;
      flex-direction: column;
      gap: 11px;
      flex: 1;
      margin-bottom: 28px;
    }
    .plan-feats li {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      font-size: 13px;
      color: #374151;
      line-height: 1.45;
      text-align: left;
    }
    .plan-card.featured .plan-feats li { color: #cbd5e1; }
    .feat-ico {
      width: 18px; height: 18px;
      border-radius: 50%;
      background: var(--blue-pale);
      display: flex; align-items: center; justify-content: center;
      font-size: 9px;
      flex-shrink: 0;
      margin-top: 2px;
      color: var(--blue);
      font-weight: 700;
    }
    .plan-card.featured .feat-ico {
      background: #1e3a5f;
      color: var(--blue-light);
    }
    .plan-btn {
      display: block;
      width: 100%;
      padding: 12px;
      border-radius: 11px;
      text-align: center;
      font-family: 'DM Sans', sans-serif;
      font-size: 14px;
      font-weight: 500;
      cursor: pointer;
      border: 1.5px solid var(--border);
      background: var(--bg-soft);
      color: var(--dark);
      transition: all .2s;
      margin-top: auto;
    }
    .plan-btn:hover {
      background: var(--border);
      color: var(--dark);
    }
    .plan-card.featured .plan-btn {
      background: var(--blue);
      border-color: var(--blue);
      color: var(--white);
    }
    .plan-card.featured .plan-btn:hover {
      background: #1d4ed8;
    }

    /* ═══════════════════════════════════════
       FOOTER
    ═══════════════════════════════════════ */
    .footer {
      background: var(--dark);
      color: #94a3b8;
      text-align: center;
      padding: 36px 40px;
      font-size: 13px;
      font-weight: 300;
    }
    .footer strong {
      color: var(--white);
      font-weight: 500;
    }

    /* ═══════════════════════════════════════
       MODAL GLASSMORPHISM
    ═══════════════════════════════════════ */
    .modal-overlay {
      position: fixed;
      inset: 0;
      z-index: 2000;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(15, 23, 42, 0.4); /* Fondo oscurecido más sutil */
      opacity: 0;
      pointer-events: none;
      transition: opacity .3s ease;
    }
    .modal-overlay.open {
      opacity: 1;
      pointer-events: all;
    }
    .modal {
      width: 100%;
      max-width: 420px;
      margin: 16px;
      background: var(--white); /* Fondo blanco sólido */
      /* Eliminamos backdrop-filter */
      border: 1px solid var(--border);
      border-radius: 20px; /* Curvatura ligeramente más sobria */
      padding: 36px 36px 32px;
      box-shadow:
        0 24px 60px rgba(15,23,42,0.08),
        0 8px 24px rgba(15,23,42,0.04); /* Sombras limpias y modernas */
      transform: translateY(20px) scale(.98);
      transition: transform .4s cubic-bezier(0.16, 1, 0.3, 1);
      position: relative;
    }
    .modal-overlay.open .modal {
      transform: translateY(0) scale(1);
    }

    /* Cierre */
    .modal-close {
      position: absolute;
      top: 16px; right: 18px;
      width: 30px; height: 30px;
      border: none; background: rgba(100,116,139,.12);
      border-radius: 50%;
      cursor: pointer;
      font-size: 16px;
      color: var(--gray);
      display: flex; align-items: center; justify-content: center;
      transition: background .18s;
      line-height: 1;
    }
    .modal-close:hover { background: rgba(100,116,139,.22); }

    /* Logo pequeño dentro del modal */
    .modal-logo {
      display: flex;
      align-items: center;
      gap: 9px;
      margin-bottom: 22px;
    }
    .modal-logo-box {
      width: 32px; height: 32px;
      background: linear-gradient(135deg, var(--blue), var(--blue-light));
      border-radius: 8px;
      display: flex; align-items: center; justify-content: center;
      font-size: 15px;
    }
    .modal-logo-name {
      font-family: 'Syne', sans-serif;
      font-weight: 700;
      font-size: 14px;
      color: var(--dark);
    }

    /* Switch tabs */
    .modal-switch {
      display: flex;
      background: #f1f5f9; /* Gris limpio sin transparencia */
      border-radius: 10px;
      padding: 4px;
      margin-bottom: 28px;
      gap: 4px;
    }
    .modal-tab {
      flex: 1;
      padding: 9px 0;
      border: none;
      background: transparent;
      border-radius: 8px;
      font-family: 'DM Sans', sans-serif;
      font-size: 13.5px;
      font-weight: 500;
      color: var(--gray);
      cursor: pointer;
      transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .modal-tab.active {
      background: var(--white);
      color: var(--dark);
      box-shadow: 0 1px 6px rgba(0,0,0,.1);
    }

    /* Formulario */
    .modal-form {
      display: flex;
      flex-direction: column;
      gap: 14px;
      /* Dispara la animación al cambiar el display con JS */
      animation: formSlideFade 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
      will-change: transform, opacity;
    }
    .form-group { 
      display: flex; 
      flex-direction: column; 
      gap: 5px; 
    }
    .form-label {
      font-size: 12px;
      font-weight: 500;
      color: #475569;
      letter-spacing: .2px;
    }
    .form-input-wrap { position: relative; }
    .form-input {
      width: 100%;
      padding: 12px 16px;
      border-radius: 8px; /* Menos redondeado, más profesional */
      border: 1px solid #e2e8f0; /* Borde más sutil */
      background: #f8fafc; /* Fondo gris muy ligero */
      font-family: 'DM Sans', sans-serif;
      font-size: 14px;
      color: var(--dark);
      outline: none;
      transition: border-color .2s, background .2s, box-shadow .2s;
    }
    .form-input:focus {
      border-color: var(--blue);
      background: var(--white);
      box-shadow: 0 0 0 4px rgba(37,99,235,0.08); /* Glow más limpio */
    }
    .form-input.has-eye { padding-right: 42px; }
    .eye-btn {
      position: absolute;
      right: 12px; top: 50%;
      transform: translateY(-50%);
      background: none; border: none;
      cursor: pointer; padding: 0;
      color: #94a3b8;
      font-size: 16px;
      line-height: 1;
      transition: color .18s;
    }
    .eye-btn:hover { color: var(--gray); }

    /* Alert */
    .modal-alert {
      padding: 10px 14px;
      border-radius: 10px;
      font-size: 13px;
      font-weight: 400;
      line-height: 1.45;
      display: none;
    }
    .modal-alert.success {
      display: block;
      background: #f0fdf4;
      border: 1px solid #bbf7d0;
      color: #166534;
    }
    .modal-alert.error {
      display: block;
      background: #fef2f2;
      border: 1px solid #fecaca;
      color: #991b1b;
    }

    /* Botón submit */
    .form-submit {
      width: 100%;
      padding: 12px;
      border-radius: 11px;
      border: none;
      background: var(--dark);
      color: var(--white);
      font-family: 'DM Sans', sans-serif;
      font-size: 14.5px;
      font-weight: 500;
      cursor: pointer;
      transition: background .2s, transform .15s, box-shadow .2s;
      box-shadow: 0 2px 12px rgba(15,23,42,.18);
      margin-top: 4px;
    }
    .form-submit:hover {
      background: #1e293b;
      transform: translateY(-1px);
      box-shadow: 0 6px 20px rgba(15,23,42,.22);
    }
    .form-submit:active { transform: translateY(0); }

    /* Link de cambio al pie */
    .modal-footer-link {
     text-align: center;
     font-size: 13px;
     color: var(--gray);
      margin-top: 16px;
     /* Animamos también el link inferior para que acompañe al formulario */
      animation: formSlideFade 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    .modal-footer-link a {
      color: var(--blue);
      font-weight: 500;
      cursor: pointer;
      text-decoration: none;
    }
    .modal-footer-link a:hover { text-decoration: underline; }

    /* ═══════════════════════════════════════
       KEYFRAMES GLOBALES
    ═══════════════════════════════════════ */
    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(30px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    @keyframes fadeIn {
      from { opacity: 0; transform: scale(0.95); }
      to   { opacity: 1; transform: scale(1); }
    }
    @keyframes formSlideFade {
      from {
        opacity: 0;
        transform: translateY(10px) scale(0.98);
      }
      to {
       opacity: 1;
          transform: translateY(0) scale(1);
     }
    }

    /* ═══════════════════════════════════════
       RESPONSIVE
    ═══════════════════════════════════════ */
    @media (max-width: 768px) {
      .nav { padding: 0 20px; }
      .nav-links { display: none; }
      .section { padding: 80px 24px; }
      .hero { padding: calc(var(--nav-h) + 30px) 24px 70px; }
      .hero-stats { gap: 20px; }
      .mision-wrap { gap: 40px; }
      .plans-grid { flex-direction: column; align-items: center; }
      .plan-card.featured { transform: scale(1); }
    }