/* Estilos específicos para Envíos y Devoluciones */

/* Hero Section */
.shipping-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1556742049-0cfed4f6a45d?ixlib=rb-4.0.3') no-repeat center center/cover;
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.shipping-hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.shipping-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Contenedor principal */
.shipping-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* Navegación rápida */
.shipping-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.nav-link {
    padding: 12px 25px;
    background: var(--white);
    color: var(--text);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.nav-link:hover,
.nav-link.active {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(228, 30, 49, 0.3);
}

/* Secciones de política */
.policy-section {
    margin-bottom: 80px;
    scroll-margin-top: 20px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.section-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), #c21827);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--secondary);
    margin: 0;
}

.policy-content {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

/* Grid de cobertura */
.coverage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.coverage-item {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.coverage-item:hover {
    transform: translateY(-5px);
}

.coverage-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.coverage-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

.coverage-item h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--secondary);
}

.delivery-time {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.coverage-desc {
    color: var(--text);
    line-height: 1.6;
}

/* Tabla de costos */
.cost-table {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin: 20px 0;
}

.cost-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.cost-row.header {
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
}

.cost-row:last-child {
    border-bottom: none;
}

.cost-area {
    font-weight: 500;
}

.cost-price {
    text-align: center;
    font-weight: 600;
    color: var(--primary);
}

.cost-time {
    text-align: center;
}

.note {
    text-align: center;
    color: var(--text);
    font-style: italic;
    margin-top: 15px;
}

/* Procesos */
.process-steps,
.return-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
}

.process-step,
.return-step {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    padding: 25px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.step-content h4,
.step-details h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--secondary);
}

.step-content p,
.step-details p {
    color: var(--text);
    line-height: 1.6;
    margin: 0;
}

/* Condiciones de devolución */
.conditions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.condition-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.condition-icon {
    flex-shrink: 0;
    font-size: 1.5rem;
}

.condition-icon.valid {
    color: #4CAF50;
}

.condition-icon.invalid {
    color: #f44336;
}

.condition-content h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--secondary);
}

.condition-content p {
    color: var(--text);
    margin: 0;
    line-height: 1.5;
}

/* Garantías */
.warranty-coverage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

.coverage-covered,
.coverage-not-covered {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.coverage-covered h4,
.coverage-not-covered h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--secondary);
}

.coverage-covered ul,
.coverage-not-covered ul {
    list-style: none;
    padding: 0;
}

.coverage-covered li,
.coverage-not-covered li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    padding-left: 25px;
}

.coverage-covered li:before {
    content: '✓';
    color: #4CAF50;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.coverage-not-covered li:before {
    content: '✗';
    color: #f44336;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.coverage-covered li:last-child,
.coverage-not-covered li:last-child {
    border-bottom: none;
}

.warranty-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 25px;
}

.warranty-step {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.warranty-step:last-child {
    border-bottom: none;
}

.step-badge {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.warranty-step p {
    margin: 0;
    color: var(--text);
    line-height: 1.6;
}

/* FAQ Accordion */
.faq-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--secondary);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 25px 20px;
    max-height: 200px;
}

.faq-answer p {
    color: var(--text);
    line-height: 1.6;
    margin: 0;
}

/* Soporte */
.support-section {
    margin-top: 80px;
}

.support-card {
    background: linear-gradient(135deg, var(--primary), #c21827);
    color: var(--white);
    border-radius: 20px;
    padding: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 15px 40px rgba(228, 30, 49, 0.3);
}

.support-content h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.support-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.support-contacts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.support-contact {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--white);
    text-decoration: none;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.support-contact:hover {
    transform: translateX(10px);
}

.support-contact i {
    font-size: 1.3rem;
    width: 25px;
}

.support-image {
    font-size: 6rem;
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 968px) {
    .warranty-coverage {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .support-card {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .support-contacts {
        align-items: center;
    }
}

@media (max-width: 768px) {
    .shipping-hero h1 {
        font-size: 2.2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .coverage-grid {
        grid-template-columns: 1fr;
    }
    
    .cost-row {
        grid-template-columns: 1fr;
        gap: 10px;
        text-align: center;
    }
    
    .cost-row.header {
        display: none;
    }
    
    .process-step,
    .return-step {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .faq-section h2 {
        font-size: 2rem;
    }
    
    .support-card {
        padding: 30px;
    }
    
    .support-content h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .shipping-container {
        padding: 40px 15px;
    }
    
    .shipping-hero {
        height: 30vh;
    }
    
    .shipping-hero h1 {
        font-size: 1.8rem;
    }
    
    .shipping-nav {
        gap: 10px;
    }
    
    .nav-link {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .section-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .conditions-grid {
        grid-template-columns: 1fr;
    }
    
    .support-image {
        font-size: 4rem;
    }
}