﻿/* ============================================================================
   COMYVO - Estilos de Página de Proveedores
   Archivo: proveedores.css
   ============================================================================ */

/* Variables específicas de la página */
:root {
    --prov-primary: #4F95A3;
    --prov-primary-dark: #3F7F8C;
    --prov-primary-light: #7AB5C3;
    --prov-secondary: #5AABB8;
    --prov-accent: #2ECC71;
    --prov-accent-dark: #27AE60;
    --prov-bg-light: #f0f7fa;
    --prov-bg-section: #f8fbfc;
    --prov-gradient: linear-gradient(135deg, var(--prov-primary) 0%, var(--prov-secondary) 100%);
    --prov-shadow: 0 10px 40px rgba(79, 149, 163, 0.15);
    --prov-shadow-hover: 0 20px 60px rgba(79, 149, 163, 0.25);
    --prov-radius: 16px;
    --prov-radius-sm: 8px;
    --prov-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================================
   HERO PROVEEDORES
   ============================================================================ */

.hero-proveedores {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 120px 20px 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(63, 127, 140, 0.92) 0%, rgba(79, 149, 163, 0.88) 50%, rgba(90, 171, 184, 0.85) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    color: #fff;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

    .hero-badge i {
        font-size: 1.1rem;
    }

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 24px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    line-height: 1.7;
    opacity: 0.95;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

    .hero-buttons .btn {
        min-width: 200px;
    }

.btn-outline-light {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: #fff;
}

    .btn-outline-light:hover {
        background: #fff;
        color: var(--prov-primary);
        border-color: #fff;
    }

/* Estadísticas del Hero */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

    .hero-scroll a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 50px;
        height: 50px;
        border: 2px solid rgba(255, 255, 255, 0.5);
        border-radius: 50%;
        color: #fff;
        font-size: 1.2rem;
        animation: bounceDown 2s infinite;
        transition: var(--prov-transition);
    }

        .hero-scroll a:hover {
            background: rgba(255, 255, 255, 0.2);
            border-color: #fff;
        }

@keyframes bounceDown {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(10px);
    }

    60% {
        transform: translateY(5px);
    }
}

/* ============================================================================
   SECCIONES GENERALES
   ============================================================================ */

.section-beneficios,
.section-categorias,
.section-pasos,
.section-registro,
.section-faq {
    padding: 100px 0;
}

.section-beneficios {
    background: #fff;
}

.section-categorias {
    background: var(--prov-bg-section);
}

.section-pasos {
    background: #fff;
}

.section-registro {
    background: var(--prov-bg-light);
}

.section-faq {
    background: #fff;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--prov-bg-light);
    color: var(--prov-primary);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

    .section-badge i {
        font-size: 0.9rem;
    }

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: #1a2b3c;
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #5a6a7a;
    line-height: 1.7;
}

/* ============================================================================
   BENEFICIOS
   ============================================================================ */

.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.beneficio-card {
    background: #fff;
    border-radius: var(--prov-radius);
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--prov-transition);
    border: 1px solid #eef2f5;
    position: relative;
    overflow: hidden;
}

    .beneficio-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--accent-color, var(--prov-primary));
        transform: scaleX(0);
        transition: transform 0.3s ease;
    }

    .beneficio-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--prov-shadow-hover);
    }

        .beneficio-card:hover::before {
            transform: scaleX(1);
        }

.beneficio-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2rem;
    transition: var(--prov-transition);
}

.beneficio-card:hover .beneficio-icon {
    transform: scale(1.1) rotate(5deg);
}

.beneficio-titulo {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a2b3c;
    margin-bottom: 12px;
}

.beneficio-descripcion {
    font-size: 0.95rem;
    color: #5a6a7a;
    line-height: 1.7;
}

/* ============================================================================
   CATEGORÍAS
   ============================================================================ */

.categorias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.categoria-card {
    background: #fff;
    border-radius: var(--prov-radius-sm);
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    transition: var(--prov-transition);
    border: 2px solid transparent;
    position: relative;
    cursor: default;
}

    .categoria-card:hover {
        border-color: var(--cat-color, var(--prov-primary));
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(79, 149, 163, 0.15);
    }

.categoria-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: var(--cat-bg, #e8f4f8);
    color: var(--cat-color, var(--prov-primary));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.5rem;
    transition: var(--prov-transition);
}

.categoria-card:hover .categoria-icon {
    background: var(--cat-color, var(--prov-primary));
    color: #fff;
    transform: scale(1.1);
}

.categoria-nombre {
    font-size: 1rem;
    font-weight: 600;
    color: #1a2b3c;
    margin-bottom: 8px;
}

.categoria-descripcion {
    font-size: 0.8rem;
    color: #7a8a9a;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.categoria-destacada {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #f1c40f;
    font-size: 0.9rem;
}

/* ============================================================================
   PASOS - CÓMO FUNCIONA
   ============================================================================ */

.pasos-timeline {
    display: flex;
    justify-content: center;
    gap: 0;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

.paso-item {
    flex: 1;
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.paso-numero {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--paso-color, var(--prov-primary));
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
    box-shadow: 0 5px 20px rgba(79, 149, 163, 0.3);
}

.paso-content {
    background: #fff;
    border-radius: var(--prov-radius);
    padding: 30px 25px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    transition: var(--prov-transition);
}

.paso-item:hover .paso-content {
    transform: translateY(-5px);
    box-shadow: var(--prov-shadow);
}

.paso-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: var(--prov-bg-light);
    color: var(--paso-color, var(--prov-primary));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.5rem;
}

.paso-titulo {
    font-size: 1.15rem;
    font-weight: 600;
    color: #1a2b3c;
    margin-bottom: 10px;
}

.paso-descripcion {
    font-size: 0.9rem;
    color: #5a6a7a;
    line-height: 1.6;
}

.paso-connector {
    position: absolute;
    top: 25px;
    left: calc(50% + 25px);
    width: calc(100% - 50px);
    height: 3px;
    background: linear-gradient(90deg, var(--paso-color, var(--prov-primary)) 0%, var(--prov-primary-light) 100%);
    z-index: 1;
}

.paso-item:last-child .paso-connector {
    display: none;
}

/* ============================================================================
   FORMULARIO DE REGISTRO
   ============================================================================ */

.registro-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.registro-info {
    position: sticky;
    top: 120px;
}

.registro-descripcion {
    font-size: 1.1rem;
    color: #5a6a7a;
    line-height: 1.7;
    margin-bottom: 30px;
}

.registro-ventajas {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .registro-ventajas li {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 0;
        font-size: 1rem;
        color: #3a4a5a;
        border-bottom: 1px solid #e8eef2;
    }

        .registro-ventajas li:last-child {
            border-bottom: none;
        }

    .registro-ventajas i {
        color: var(--prov-accent);
        font-size: 1.2rem;
    }

/* Form Container */
.registro-form-container {
    background: #fff;
    border-radius: var(--prov-radius);
    padding: 40px;
    box-shadow: var(--prov-shadow);
}

/* Form Steps */
.form-step {
    display: none;
}

    .form-step.active {
        display: block;
        animation: fadeInStep 0.4s ease;
    }

@keyframes fadeInStep {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.step-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--prov-bg-light);
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--prov-gradient);
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a2b3c;
    margin: 0;
}

/* Form Groups */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-row-3 {
    grid-template-columns: 1fr 1fr 1fr;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: #3a4a5a;
    margin-bottom: 8px;
}

    .form-label small {
        font-weight: 400;
        color: #7a8a9a;
    }

.form-control {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    border: 2px solid #e0e8ef;
    border-radius: var(--prov-radius-sm);
    background: #fff;
    transition: var(--prov-transition);
    font-family: inherit;
}

    .form-control:focus {
        outline: none;
        border-color: var(--prov-primary);
        box-shadow: 0 0 0 4px rgba(79, 149, 163, 0.1);
    }

    .form-control.is-valid {
        border-color: var(--prov-accent);
    }

    .form-control.is-invalid {
        border-color: #e74c3c;
    }

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235a6a7a' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-error {
    display: block;
    font-size: 0.8rem;
    color: #e74c3c;
    margin-top: 6px;
    min-height: 18px;
}

.form-hint {
    display: block;
    font-size: 0.8rem;
    color: #7a8a9a;
    margin-top: 6px;
}

    .form-hint.success {
        color: var(--prov-accent);
    }

    .form-hint.error {
        color: #e74c3c;
    }

.char-count {
    text-align: right;
}

/* Tipo Selector */
.tipo-selector {
    display: flex;
    gap: 16px;
}

.tipo-option {
    flex: 1;
    cursor: pointer;
}

    .tipo-option input {
        display: none;
    }

.tipo-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 16px;
    border: 2px solid #e0e8ef;
    border-radius: var(--prov-radius-sm);
    transition: var(--prov-transition);
    background: #fff;
}

    .tipo-card i {
        font-size: 2rem;
        color: #7a8a9a;
        transition: var(--prov-transition);
    }

.tipo-option input:checked + .tipo-card {
    border-color: var(--prov-primary);
    background: var(--prov-bg-light);
}

    .tipo-option input:checked + .tipo-card i {
        color: var(--prov-primary);
    }

.tipo-card:hover {
    border-color: var(--prov-primary-light);
}

/* Categorías Selector */
.categorias-selector {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}

.categoria-checkbox {
    cursor: pointer;
}

    .categoria-checkbox input {
        display: none;
    }

.categoria-check-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 12px;
    border: 2px solid #e0e8ef;
    border-radius: var(--prov-radius-sm);
    transition: var(--prov-transition);
    background: #fff;
    text-align: center;
}

    .categoria-check-card i {
        font-size: 1.5rem;
        color: var(--cat-color, #7a8a9a);
    }

    .categoria-check-card span {
        font-size: 0.8rem;
        color: #5a6a7a;
    }

.categoria-checkbox input:checked + .categoria-check-card {
    border-color: var(--cat-color, var(--prov-primary));
    background: rgba(79, 149, 163, 0.05);
}

    .categoria-checkbox input:checked + .categoria-check-card i {
        color: var(--cat-color, var(--prov-primary));
    }

.categoria-check-card:hover {
    border-color: var(--cat-color, var(--prov-primary-light));
}

/* Checkboxes */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.95rem;
    color: #3a4a5a;
    line-height: 1.5;
}

    .checkbox-label input {
        display: none;
    }

.checkbox-custom {
    width: 22px;
    height: 22px;
    min-width: 22px;
    border: 2px solid #d0d8e0;
    border-radius: 5px;
    transition: var(--prov-transition);
    position: relative;
    margin-top: 2px;
}

    .checkbox-custom::after {
        content: '\f00c';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(0);
        color: #fff;
        font-size: 0.7rem;
        transition: transform 0.2s ease;
    }

.checkbox-label input:checked + .checkbox-custom {
    background: var(--prov-primary);
    border-color: var(--prov-primary);
}

    .checkbox-label input:checked + .checkbox-custom::after {
        transform: translate(-50%, -50%) scale(1);
    }

.checkbox-label a {
    color: var(--prov-primary);
    text-decoration: underline;
}

/* Form Divider */
.form-divider {
    border: none;
    height: 1px;
    background: #e8eef2;
    margin: 30px 0;
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e8eef2;
}

    .form-actions .btn {
        min-width: 150px;
    }

.btn-success {
    background: var(--prov-accent);
    color: #fff;
}

    .btn-success:hover {
        background: var(--prov-accent-dark);
    }

.btn-outline {
    background: transparent;
    border: 2px solid #d0d8e0;
    color: #5a6a7a;
}

    .btn-outline:hover {
        border-color: var(--prov-primary);
        color: var(--prov-primary);
    }

/* Progress Bar */
.form-progress {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e8eef2;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.progress-step {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e0e8ef;
    color: #7a8a9a;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--prov-transition);
}

    .progress-step.active,
    .progress-step.completed {
        background: var(--prov-primary);
        color: #fff;
    }

    .progress-step.completed {
        background: var(--prov-accent);
    }

.progress-bar {
    height: 6px;
    background: #e0e8ef;
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--prov-gradient);
    transition: width 0.4s ease;
}

/* ============================================================================
   FAQ
   ============================================================================ */

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border-radius: var(--prov-radius-sm);
    margin-bottom: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    border: 1px solid #e8eef2;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 500;
    color: #1a2b3c;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: var(--prov-transition);
}

    .faq-question:hover {
        color: var(--prov-primary);
    }

    .faq-question i {
        font-size: 0.9rem;
        color: var(--prov-primary);
        transition: transform 0.3s ease;
    }

.faq-item.open .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 24px 24px;
    color: #5a6a7a;
    line-height: 1.7;
}

    .faq-answer-content ul {
        margin: 12px 0;
        padding-left: 24px;
    }

    .faq-answer-content li {
        margin-bottom: 8px;
    }

    .faq-answer-content strong {
        color: #3a4a5a;
    }

/* ============================================================================
   CTA FINAL
   ============================================================================ */

.section-cta {
    background: var(--prov-gradient);
    padding: 80px 0;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    color: #fff;
}

.cta-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-text {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.7;
}

.btn-white {
    background: #fff;
    color: var(--prov-primary);
}

    .btn-white:hover {
        background: #f0f0f0;
        transform: translateY(-2px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }

/* ============================================================================
   ANIMACIONES
   ============================================================================ */

.animate-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

    .animate-in.visible {
        opacity: 1;
        transform: translateY(0);
    }

/* Delay para elementos en cascada */
.beneficios-grid .beneficio-card:nth-child(1) {
    transition-delay: 0.1s;
}

.beneficios-grid .beneficio-card:nth-child(2) {
    transition-delay: 0.2s;
}

.beneficios-grid .beneficio-card:nth-child(3) {
    transition-delay: 0.3s;
}

.beneficios-grid .beneficio-card:nth-child(4) {
    transition-delay: 0.4s;
}

.beneficios-grid .beneficio-card:nth-child(5) {
    transition-delay: 0.5s;
}

.beneficios-grid .beneficio-card:nth-child(6) {
    transition-delay: 0.6s;
}

.beneficios-grid .beneficio-card:nth-child(7) {
    transition-delay: 0.7s;
}

.pasos-timeline .paso-item:nth-child(1) {
    transition-delay: 0.1s;
}

.pasos-timeline .paso-item:nth-child(2) {
    transition-delay: 0.2s;
}

.pasos-timeline .paso-item:nth-child(3) {
    transition-delay: 0.3s;
}

.pasos-timeline .paso-item:nth-child(4) {
    transition-delay: 0.4s;
}

/* ============================================================================
   RESPONSIVE
   ============================================================================ */

@media (max-width: 1024px) {
    .registro-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .registro-info {
        position: static;
        text-align: center;
    }

    .registro-ventajas {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0 20px;
    }

    .pasos-timeline {
        flex-wrap: wrap;
        gap: 30px;
    }

    .paso-item {
        flex: 0 0 calc(50% - 15px);
    }

    .paso-connector {
        display: none;
    }

    .form-row-3 {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero-proveedores {
        min-height: auto;
        padding: 140px 20px 80px;
        background-attachment: scroll;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .stat-item {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .stat-number {
        font-size: 2rem;
        margin-bottom: 0;
    }

    .section-beneficios,
    .section-categorias,
    .section-pasos,
    .section-registro,
    .section-faq {
        padding: 60px 0;
    }

    .beneficios-grid {
        grid-template-columns: 1fr;
    }

    .categorias-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .paso-item {
        flex: 0 0 100%;
    }

    .form-row,
    .form-row-3 {
        grid-template-columns: 1fr;
    }

    .registro-form-container {
        padding: 24px;
    }

    .tipo-selector {
        flex-direction: column;
    }

    .categorias-selector {
        grid-template-columns: repeat(2, 1fr);
    }

    .registro-ventajas {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column-reverse;
    }

        .form-actions .btn {
            width: 100%;
        }

    .faq-question {
        padding: 16px 20px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

        .hero-buttons .btn {
            width: 100%;
        }

    .section-title {
        font-size: 1.5rem;
    }

    .categorias-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .categoria-card {
        padding: 20px 12px;
    }

    .categoria-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .categorias-selector {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .categoria-check-card {
        padding: 12px 8px;
    }

        .categoria-check-card i {
            font-size: 1.2rem;
        }

        .categoria-check-card span {
            font-size: 0.7rem;
        }
}

/* ============================================================================
   REDUCED MOTION
   ============================================================================ */

@media (prefers-reduced-motion: reduce) {
    .animate-in {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .hero-scroll a {
        animation: none;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================================================
   PRINT
   ============================================================================ */

@media print {
    .hero-proveedores {
        background: none !important;
        min-height: auto;
        padding: 20px;
    }

    .hero-overlay {
        display: none;
    }

    .hero-content {
        color: #000;
    }

    .hero-buttons,
    .hero-scroll,
    .form-progress,
    .section-cta {
        display: none;
    }

    .section-beneficios,
    .section-categorias,
    .section-pasos,
    .section-registro,
    .section-faq {
        padding: 30px 0;
    }
}
