﻿/* =========================================
   Contenedor Principal
   ========================================= */

.modern-returns {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: #333;
    line-height: 1.6;
}

.content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* =========================================
   Hero Section
   ========================================= */

.returns-hero {
    background: linear-gradient(135deg, #f0f4f8 0%, #d9e4f0 100%);
    padding: 4rem 0;
    margin-bottom: 3rem;
    border-bottom: 1px solid #ccd6e0;
}

    .returns-hero .content {
        text-align: center;
    }

.returns-title {
    font-size: 2.8rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 700;
    background: linear-gradient(45deg, #1a5276, #3498db);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.returns-subtitle {
    font-size: 1.3rem;
    color: #5d6d7e;
    max-width: 700px;
    margin: 0 auto 2rem auto;
}

.legal-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border: 1px solid #ccd6e0;
    color: #1a5276;
    font-weight: 500;
}

/* =========================================
   Tabla de Contenidos
   ========================================= */

.returns-toc {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

    .returns-toc h2 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
        color: #2c3e50;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .returns-toc nav {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .returns-toc a {
        text-decoration: none;
        color: #2c3e50;
        padding: 0.8rem 1.2rem;
        background: #f0f4f8;
        border-radius: 8px;
        transition: all 0.3s ease;
        border: 1px solid transparent;
    }

        .returns-toc a:hover {
            background: #e1e8f0;
            transform: translateY(-2px);
            border-color: #3498db;
        }

/* =========================================
   Secciones Intro y Benefits
   ========================================= */

.intro-section {
    margin-bottom: 3rem;
}

    .intro-section h2 {
        color: #2c3e50;
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .intro-section p {
        font-size: 1.1rem;
        color: #5d6d7e;
        margin-bottom: 2rem;
    }

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.benefit-card {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    border: 1px solid #e1e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .benefit-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(52, 152, 219, 0.1);
    }

    .benefit-card i {
        font-size: 2.5rem;
        color: #3498db;
        margin-bottom: 1rem;
        display: block;
    }

    .benefit-card h3 {
        color: #2c3e50;
        font-size: 1.2rem;
        margin: 0.5rem 0;
    }

    .benefit-card p {
        color: #5d6d7e;
        font-size: 0.95rem;
        margin: 0;
    }

/* =========================================
   Secciones de Política
   ========================================= */

.policy-section {
    margin-bottom: 4rem;
    padding: 2.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.04);
}

    .policy-section h2 {
        color: #2c3e50;
        margin-bottom: 1.5rem;
        font-size: 1.8rem;
        border-bottom: 2px solid #f0f0f0;
        padding-bottom: 0.5rem;
    }

    .policy-section h3 {
        color: #34495e;
        margin-top: 2rem;
        margin-bottom: 1rem;
        font-size: 1.3rem;
    }

    .policy-section ul {
        padding-left: 1.5rem;
        margin: 1rem 0;
    }

    .policy-section li {
        margin-bottom: 0.75rem;
        line-height: 1.7;
    }

    .policy-section ol {
        padding-left: 1.5rem;
        margin: 1rem 0;
    }

        .policy-section ol li {
            margin-bottom: 1rem;
            line-height: 1.7;
        }

/* =========================================
   Cajas de Garantía y Retracto
   ========================================= */

.warranty-box,
.retraction-box {
    background: linear-gradient(135deg, #e8f4fc 0%, #d4ebf7 100%);
    border-radius: 10px;
    padding: 2rem;
    margin: 2rem 0;
    border-left: 4px solid #3498db;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

    .warranty-box i,
    .retraction-box i {
        font-size: 3rem;
        color: #3498db;
        flex-shrink: 0;
    }

.warranty-period,
.retraction-period {
    font-size: 1.5rem;
    color: #1a5276;
    margin-bottom: 0.5rem;
}

/* =========================================
   Requirements Grid
   ========================================= */

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.requirement-card {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    border: 1px solid #e1e8f0;
    transition: transform 0.3s ease;
}

    .requirement-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    }

    .requirement-card i {
        font-size: 2.5rem;
        color: #3498db;
        margin-bottom: 1rem;
        display: block;
    }

    .requirement-card h4 {
        color: #2c3e50;
        font-size: 1.1rem;
        margin: 0.5rem 0;
    }

    .requirement-card p {
        color: #5d6d7e;
        font-size: 0.95rem;
        margin: 0;
    }

/* =========================================
   Procedimiento (Steps)
   ========================================= */

.procedure-steps {
    margin: 3rem 0;
}

.step-card {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    background: #f8fafc;
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid #e1e8f0;
}

    .step-card:last-child {
        margin-bottom: 0;
    }

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #3498db;
}

.step-content {
    flex: 1;
}

    .step-content h3 {
        color: #2c3e50;
        font-size: 1.4rem;
        margin-top: 0;
        margin-bottom: 1rem;
    }

    .step-content ul {
        padding-left: 1.5rem;
        margin: 1rem 0;
    }

    .step-content li {
        margin-bottom: 0.75rem;
    }

    .step-content .timeline {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        color: #5d6d7e;
        margin-top: 1.5rem;
        font-size: 0.95rem;
    }

/* =========================================
   Tabla de Costos
   ========================================= */

.table-responsive {
    overflow-x: auto;
    margin: 2rem 0;
}

.costs-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

    .costs-table thead {
        background: #2c3e50;
        color: white;
    }

    .costs-table th {
        padding: 1.2rem;
        text-align: left;
        font-weight: 600;
    }

    .costs-table td {
        padding: 1.2rem;
        border-bottom: 1px solid #eee;
    }

        .costs-table td i {
            margin-right: 0.5rem;
        }

    .costs-table tr:hover {
        background: #f8fafc;
    }

    .costs-table .table-success {
        background: #d5f4e6;
    }

    .costs-table .table-warning {
        background: #fff3cd;
    }

    .costs-table .table-info {
        background: #d1ecf1;
    }

    .costs-table .table-danger {
        background: #f8d7da;
    }

/* =========================================
   Alertas
   ========================================= */

.alert {
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

    .alert i {
        font-size: 1.5rem;
        flex-shrink: 0;
        margin-top: 0.2rem;
    }

.alert-info {
    background: #e8f4f8;
    border-left: 4px solid #17a2b8;
}

    .alert-info i {
        color: #17a2b8;
    }

.alert-warning {
    background: #fff8e1;
    border-left: 4px solid #ffc107;
}

    .alert-warning i {
        color: #f39c12;
    }

/* =========================================
   FAQ Section
   ========================================= */

.faq-section {
    margin: 2rem 0;
}

.faq-item {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #e1e8f0;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

    .faq-item i {
        font-size: 1.8rem;
        color: #3498db;
        flex-shrink: 0;
        margin-top: 0.2rem;
    }

    .faq-item h4 {
        color: #2c3e50;
        font-size: 1.1rem;
        margin-top: 0;
        margin-bottom: 0.75rem;
    }

    .faq-item p {
        color: #5d6d7e;
        margin: 0;
        line-height: 1.7;
    }

/* =========================================
   SERNAC Box
   ========================================= */

.sernac-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    padding: 2rem;
    margin: 2rem 0;
    border-left: 4px solid #3498db;
}

    .sernac-box i:first-child {
        font-size: 2.5rem;
        color: #3498db;
        display: block;
        margin-bottom: 1rem;
    }

    .sernac-box h3 {
        color: #2c3e50;
        font-size: 1.4rem;
        margin: 0 0 1.5rem 0;
    }

    .sernac-box ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .sernac-box li {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        margin-bottom: 1rem;
        color: #34495e;
    }

        .sernac-box li i {
            color: #3498db;
            font-size: 1.2rem;
            width: 24px;
            flex-shrink: 0;
        }

    .sernac-box a {
        color: #3498db;
        text-decoration: none;
        font-weight: 500;
    }

        .sernac-box a:hover {
            text-decoration: underline;
        }

/* =========================================
   Contact Final
   ========================================= */

.contact-final {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    margin: 2rem 0;
    border: 1px solid #e1e8f0;
}

    .contact-final ul {
        list-style: none;
        padding: 0;
        margin: 1rem 0;
    }

    .contact-final li {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        margin-bottom: 1rem;
        color: #34495e;
    }

    .contact-final i {
        color: #3498db;
        font-size: 1.2rem;
        width: 24px;
        flex-shrink: 0;
    }

.response-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #5d6d7e;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e1e8f0;
}

/* =========================================
   Closing Message
   ========================================= */

.closing-message {
    background: linear-gradient(135deg, #f0f4f8 0%, #d9e4f0 100%);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    margin-top: 3rem;
    border: 1px solid #ccd6e0;
}

    .closing-message p {
        margin: 0.5rem 0;
        color: #2c3e50;
        font-size: 1.05rem;
    }

/* =========================================
   Utilidades
   ========================================= */

.text-muted {
    color: #6c757d !important;
}

.small {
    font-size: 0.875rem;
}

hr {
    border: none;
    border-top: 1px solid #e1e8f0;
    margin: 2rem 0;
}

/* =========================================
   Responsive
   ========================================= */

@media (max-width: 768px) {
    .policy-section {
        padding: 1.5rem;
    }

    .returns-title {
        font-size: 2rem;
    }

    .returns-toc nav {
        flex-direction: column;
    }

    .benefits-grid,
    .requirements-grid {
        grid-template-columns: 1fr;
    }

    .step-card {
        flex-direction: column;
        gap: 1rem;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .warranty-box,
    .retraction-box {
        flex-direction: column;
        text-align: center;
    }

    .faq-item {
        flex-direction: column;
    }

    .table-responsive {
        font-size: 0.85rem;
    }

    .costs-table th,
    .costs-table td {
        padding: 0.75rem 0.5rem;
    }
}