* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
    background-color: #f5f7fb;
    color: #111827;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.logo {
    font-weight: 700;
    font-size: 1.2rem;
}

.logo span {
    color: #16a34a;
}

.navbar nav a {
    margin-left: 1.5rem;
    text-decoration: none;
    font-size: 0.95rem;
    color: #4b5563;
}

.navbar nav a:hover {
    color: #16a34a;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3.5rem 1.5rem 3rem;
}

.hero-text {
    width: 100%;
    max-width: 860px;
    background: #ffffff;
    padding: 2.5rem 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
}

.tag {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #16a34a;
    background: #dcfce7;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    margin-bottom: 0.75rem;
}

.hero-text h1 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: 0.95rem;
    color: #4b5563;
    margin-bottom: 1.5rem;
}

.step {
    display: none;
    margin-bottom: 1.5rem;
}

.step.active {
    display: block;
}

.step h2 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.step p {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

#dni-form {
    display: flex;
    flex-direction: column;
    margin-top: 0.5rem;
}

#dni-form label {
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

#dni-form input {
    padding: 0.7rem 0.8rem;
    border-radius: 0.75rem;
    border: 1px solid #d1d5db;
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
}

#dni-form button {
    padding: 0.75rem;
    border-radius: 0.75rem;
    border: none;
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
    box-shadow: 0 10px 18px rgba(22, 163, 74, 0.3);
}

#dni-form button:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(22, 163, 74, 0.35);
}

.helper-text {
    font-size: 0.8rem;
    color: #6b7280;
}

.dni-resumen {
    font-weight: 600;
}

.productos-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin: 1rem 0 1.25rem;
}

.producto-card {
    background: #f9fafb;
    border-radius: 1rem;
    padding: 1rem 1.1rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.04);
    font-size: 0.85rem;
}

.producto-card h3 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
}

.producto-card p {
    margin-bottom: 0.25rem;
}

.btn-detalle {
    margin-top: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 999px;
    border: none;
    background: #16a34a;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
}

.btn-detalle:hover {
    opacity: 0.9;
}

.detalle-producto {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    margin: 1rem 0;
}

.detalle-col h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.detalle-lista {
    list-style: none;
    font-size: 0.9rem;
}

.detalle-lista li {
    margin-bottom: 0.35rem;
}

.nota {
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 0.75rem;
}

.casos {
    display: grid;
    gap: 0.75rem;
    font-size: 0.85rem;
}

.caso h4 {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.acciones-finales {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.btn-secundario,
.btn-primario {
    padding: 0.6rem 1rem;
    border-radius: 999px;
    border: none;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
}

.btn-secundario {
    background: #e5e7eb;
    color: #111827;
}

.btn-primario {
    background: #16a34a;
    color: #ffffff;
}

.disclaimer {
    font-size: 0.78rem;
    color: #6b7280;
    margin-top: 1.25rem;
}

section {
    padding: 2.5rem 1.5rem;
}

.benefits,
.steps {
    max-width: 1024px;
    margin: 0 auto;
}

.benefits h2,
.steps h2 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.benefit-card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
    font-size: 0.9rem;
}

.steps-list {
    list-style: none;
    max-width: 640px;
    margin: 0 auto;
    font-size: 0.9rem;
}

.steps-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.9rem;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 999px;
    background: #16a34a;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    margin-right: 0.8rem;
    flex-shrink: 0;
}

.footer {
    text-align: center;
    padding: 1.5rem;
    font-size: 0.85rem;
    color: #6b7280;
}

/* Responsive */
@media (max-width: 900px) {
    .productos-grid {
        grid-template-columns: 1fr;
    }

    .detalle-producto {
        grid-template-columns: 1fr;
    }

    .benefit-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .navbar nav {
        margin-top: 0.6rem;
    }

    .navbar nav a {
        margin-left: 0;
        margin-right: 1rem;
    }

    .hero-text {
        box-shadow: none;
        padding: 1.75rem 1.25rem;
    }
}