* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  :root {
    --azul: #004e98;
    --azul-oscuro: #003a72;
    --azul-claro: #e6f0ff;
    --naranja: #f16702;
    --naranja-oscuro: #d45500;
    --naranja-claro: #fff3e6;
    --gris-texto: #334155;
    --gris-claro: #f8fafc;
    --verde-exito: #10b981;
  }

  body {
    font-family: "Open Sans", sans-serif;
    background: #ffffff;
    color: #1a1a2e;
    overflow-x: hidden;
    scroll-behavior: smooth;
  }

  /* Header */
  .navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    padding: 0.8rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .logo {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .logo-icon {
    background: var(--azul);
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
  }

  .logo-text {
    font-size: 1.5rem;
    font-weight: 800;
  }
  .logo-text .azul {
    color: var(--azul);
  }
  .logo-text .naranja {
    color: var(--naranja);
  }

  .nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
  }

  .nav-links a {
    text-decoration: none;
    color: var(--gris-texto);
    font-weight: 600;
    transition: color 0.2s;
  }

  .nav-links a:hover {
    color: var(--naranja);
  }

  .btn-demo {
    background: var(--naranja);
    color: white !important;
    padding: 0.6rem 1.3rem;
    border-radius: 40px;
    transition: all 0.2s;
  }

  .btn-demo:hover {
    background: var(--naranja-oscuro);
    transform: scale(1.02);
  }

  .btn-azul {
    background: var(--azul);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: "Open Sans", sans-serif;
  }

  .btn-azul:hover {
    background: var(--azul-oscuro);
    transform: translateY(-2px);
  }

  /* Hero */
  .hero {
    padding: 130px 5% 70px;
    background: linear-gradient(135deg, var(--azul-claro) 0%, #ffffff 70%);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
  }

  .hero-content {
    flex: 1 1 48%;
    min-width: 280px;
    max-width: 640px;
  }

  .hero-badge {
    background: var(--naranja-claro);
    color: var(--naranja);
    padding: 0.3rem 1rem;
    border-radius: 30px;
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
  }

  .hero-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
  }
  .hero-content h1 .azul {
    color: var(--azul);
  }
  .hero-content h1 .naranja {
    color: var(--naranja);
  }

  .hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
  }
  .hero-stats .number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--azul);
  }

  .hero-image {
    flex: 0 1 44%;
    min-width: 0;
    max-width: min(420px, 100%);
    display: flex;
    justify-content: center;
    align-items: flex-start;
  }

  .hero-demo-card {
    width: 100%;
    background: #ffffff;
    border: 1px solid rgba(0, 78, 152, 0.08);
    border-radius: 14px;
    padding: 2rem 2rem 2.25rem;
    box-shadow: 0 12px 40px -12px rgba(15, 23, 42, 0.18),
      0 4px 16px -4px rgba(0, 78, 152, 0.1);
  }

  .hero-demo-card__title {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--azul);
    margin-bottom: 0.35rem;
    line-height: 1.25;
  }

  .hero-demo-card__subtitle {
    font-size: 0.95rem;
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.4;
  }

  .hero-demo-form {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
  }

  .hero-demo-form input {
    width: 100%;
    font-family: "Open Sans", sans-serif;
    font-size: 0.95rem;
    padding: 0.85rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #1a1a2e;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
  }

  .hero-demo-form input::placeholder {
    color: #94a3b8;
  }

  .hero-demo-form input:hover {
    border-color: #cbd5e1;
  }

  .hero-demo-form input:focus {
    outline: none;
    border-color: var(--azul);
    box-shadow: 0 0 0 3px rgba(0, 78, 152, 0.15);
  }

  .hero-demo-submit {
    width: 100%;
    margin-top: 0.35rem;
    font-family: "Open Sans", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    background: var(--azul);
    border: none;
    border-radius: 8px;
    padding: 0.95rem 1.25rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
  }

  .hero-demo-submit:hover {
    background: var(--azul-oscuro);
  }

  .hero-demo-submit:active {
    transform: scale(0.99);
  }

  /* Sección Quiénes Somos */
  .about-section {
    padding: 70px 5%;
    background: white;
  }
  .about-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
  }
  .about-text {
    flex: 1;
  }
  .about-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  .about-text h2 .azul {
    color: var(--azul);
  }
  .about-badge {
    background: var(--azul);
    color: white;
    display: inline-block;
    padding: 0.2rem 1rem;
    border-radius: 30px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
  }
  .years-badge {
    background: var(--naranja-claro);
    color: var(--naranja);
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    display: inline-block;
    margin-top: 1rem;
  }
  .about-features {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .about-feature-item {
    background: var(--gris-claro);
    padding: 1.2rem;
    border-radius: 20px;
    text-align: center;
  }
  .about-feature-item i {
    font-size: 2rem;
    color: var(--naranja);
    margin-bottom: 0.5rem;
  }
  .about-feature-item h4 {
    font-weight: 700;
  }

  /* Grid de 4 columnas para funcionalidades */
  .features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.8rem;
    margin-top: 2rem;
  }

  .feature-card {
    background: white;
    padding: 1.5rem;
    border-radius: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
  }
  .feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--azul);
    box-shadow: 0 10px 25px rgba(0, 78, 152, 0.1);
  }
  .feature-icon {
    font-size: 2.2rem;
    color: var(--naranja);
    margin-bottom: 1rem;
  }
  .feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
  }
  .feature-card p {
    font-size: 0.9rem;
    color: var(--gris-texto);
    line-height: 1.4;
  }

  /* Lista adicional de gestión */
  .features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
  }
  .feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--gris-claro);
    padding: 1rem;
    border-radius: 16px;
  }
  .feature-item i {
    font-size: 1.5rem;
    color: var(--naranja);
  }

  /* Sección general */
  .section {
    padding: 70px 5%;
  }
  .section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
  }
  .section-title .azul {
    color: var(--azul);
  }
  .section-title .naranja {
    color: var(--naranja);
  }
  .section-subtitle {
    text-align: center;
    color: var(--gris-texto);
    max-width: 700px;
    margin: 0 auto 2.5rem auto;
  }

  /* Planes */
  .pricing-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 1.75rem;
  }

  .pricing-card {
    background: white;
    border-radius: 24px;
    padding: 1.75rem 1.6rem;
    flex: 1 1 280px;
    max-width: 340px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
    border: 1px solid #e8eef7;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    display: flex;
    flex-direction: column;
  }

  .pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 36px rgba(0, 78, 152, 0.1);
  }

  .pricing-card.popular {
    border: 2px solid var(--naranja);
    background: linear-gradient(180deg, #fffefb 0%, var(--naranja-claro) 100%);
  }

  .popular-badge {
    position: absolute;
    top: -11px;
    right: 18px;
    background: var(--naranja);
    color: white;
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
  }

  .pricing-card h3 {
    font-size: 1.35rem;
    color: var(--azul);
    font-weight: 800;
  }

  .price {
    font-size: 2.25rem;
    font-weight: 800;
    margin: 0.65rem 0 0.35rem;
    color: var(--azul);
    line-height: 1.1;
  }

  .price span {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gris-texto);
  }

  .price-suffix:empty {
    display: none;
  }

  .plan-tagline {
    font-size: 0.88rem;
    color: var(--gris-texto);
    line-height: 1.45;
    margin-bottom: 0.25rem;
  }

  .plan-features {
    list-style: none;
    margin: 0.85rem 0 1.25rem;
    flex: 1 1 auto;
  }

  .plan-features li {
    padding: 0.45rem 0;
    border-bottom: 1px solid #eef2f6;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.92rem;
    line-height: 1.45;
    color: #334155;
  }

  .plan-features li:last-child {
    border-bottom: none;
  }

  .plan-features .fa-check {
    color: var(--verde-exito);
    width: 18px;
    flex-shrink: 0;
    margin-top: 3px;
    font-size: 0.8rem;
  }

  .plan-features--icons .fa-cogs,
  .plan-features--icons .fa-chalkboard-user,
  .plan-features--icons .fa-cloud-upload-alt {
    color: var(--azul);
    width: 20px;
    flex-shrink: 0;
    margin-top: 2px;
  }

  .pricing-card__cta {
    width: 100%;
    margin-top: auto;
    padding-block: 0.85rem;
  }

  .pricing-card__cta--popular {
    background: var(--naranja);
  }

  .pricing-card__cta--popular:hover {
    background: var(--naranja-oscuro);
  }

  /* Clientes — carrusel */
  .clients-section {
    background: #fff;
  }

  .clients-section .section-title {
    margin-bottom: 2.25rem;
  }

  .clients-section .section-title .azul {
    color: var(--azul);
  }

  .clients-carousel {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 clamp(2.75rem, 8vw, 3.5rem);
  }

  .carousel-viewport {
    overflow: hidden;
    width: 100%;
  }

  .carousel-track {
    display: flex;
    gap: 24px;
    will-change: transform;
  }

  .testimonial-card {
    background: var(--gris-claro);
    padding: 1.8rem;
    border-radius: 24px;
    border-left: 4px solid var(--naranja);
    box-sizing: border-box;
    flex-shrink: 0;
  }

  .testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 0.85rem;
    font-size: 0.9rem;
  }

  .testimonial-stars i {
    color: var(--naranja);
  }

  .testimonial-card p {
    font-size: 0.95rem;
    color: var(--gris-texto);
    line-height: 1.55;
    margin-bottom: 1rem;
  }

  .testimonial-card strong {
    font-size: 0.95rem;
    color: #1a1a2e;
  }

  .carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: #fff;
    color: var(--azul);
    box-shadow: 0 4px 18px rgba(0, 78, 152, 0.18);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  }

  .carousel-nav:hover {
    background: var(--azul);
    color: #fff;
    box-shadow: 0 6px 22px rgba(0, 78, 152, 0.28);
  }

  .carousel-nav:focus-visible {
    outline: 2px solid var(--naranja);
    outline-offset: 2px;
  }

  .carousel-nav--prev {
    left: 0;
  }

  .carousel-nav--next {
    right: 0;
  }

  .carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.75rem;
    flex-wrap: wrap;
  }

  .carousel-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
  }

  .carousel-dot.is-active {
    background: var(--naranja);
    transform: scale(1.2);
  }

  .carousel-dot:focus-visible {
    outline: 2px solid var(--azul);
    outline-offset: 2px;
  }

  @media (max-width: 600px) {
    .clients-carousel {
      padding: 0 2.75rem;
    }

    .carousel-nav {
      width: 38px;
      height: 38px;
    }
  }

  /* Footer */
  .footer {
    background: var(--azul);
    color: white;
    padding: 3rem 5%;
    text-align: center;
  }
  .contact-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 1.5rem 0;
  }
  .contact-info a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #25d366;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 99;
    transition: all 0.2s;
  }
  .whatsapp-float:hover {
    transform: scale(1.1);
  }

  @media (max-width: 1200px) {
    .features-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }
  @media (max-width: 900px) {
    .features-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  @media (max-width: 768px) {
    .hero-image {
      flex: 1 1 100%;
      max-width: none;
    }

    .hero-demo-card {
      max-width: 420px;
      margin-inline: auto;
    }

    .hero-content h1 {
      font-size: 2rem;
    }
    .nav-links {
      display: none;
    }
    .about-features {
      grid-template-columns: 1fr;
    }
    .features-grid {
      grid-template-columns: 1fr;
    }
  }