/* ===== CSS PARA CONTRATO DE TRANSPORTE DE PASAJEROS ===== */
/* Extra Rápido Los Motilones - Contrato de pasajeros y equipajes */

:root {
    --rojo-corporativo: #e31e24;
    --rojo-oscuro: #b71c1c;
    --gris-oscuro: #111;
    --gris-medio: #333;
    --gris-claro: #f8f9fa;
    --texto-oscuro: #222;
    --texto-claro: #666;
    --sombra-suave: 0 15px 35px rgba(0,0,0,0.08);
    --sombra-intensa: 0 20px 40px rgba(227,30,36,0.15);
}

/* ===== HERO ===== */
.hero-contrato-pasajeros {
    background: linear-gradient(rgba(0,0,0,0.85), rgba(227,30,36,0.75)), url('../img/slidenu.jpg');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-contrato-pasajeros h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.hero-contrato-pasajeros p {
    font-size: 18px;
    font-weight: 300;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

/* ===== SECCIÓN PRINCIPAL ===== */
.contrato-pasajeros-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
}

.contrato-pasajeros-container {
    max-width: 1100px;
    margin: 0 auto;
}

/* ===== TARJETA PRINCIPAL ===== */
.contrato-pasajeros-card {
    background: white;
    border-radius: 30px;
    padding: 50px;
    box-shadow: var(--sombra-intensa);
    border: 1px solid rgba(227,30,36,0.1);
    position: relative;
    overflow: hidden;
}

.contrato-pasajeros-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, #e31e24, #ff6b6b, #e31e24);
}

/* ===== ENCABEZADO ===== */
.contrato-pasajeros-header {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 40px;
    padding-bottom: 25px;
    border-bottom: 3px solid #e31e24;
    flex-wrap: wrap;
}

.contrato-pasajeros-icono {
    width: 90px;
    height: 90px;
    background: #e31e24;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 45px;
    box-shadow: 0 15px 30px rgba(227,30,36,0.3);
    transform: rotate(3deg);
    transition: all 0.3s;
}

.contrato-pasajeros-icono:hover {
    transform: rotate(0deg) scale(1.05);
}

.contrato-pasajeros-titulo h2 {
    margin: 0 0 5px;
    font-size: 32px;
    font-weight: 700;
    color: #111;
}

.contrato-pasajeros-titulo p {
    margin: 0;
    color: #666;
    font-size: 16px;
}

.contrato-pasajeros-badges {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.badge-contrato-pasajeros {
    background: #f0f0f0;
    color: #333;
    padding: 8px 18px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.badge-contrato-pasajeros i {
    color: #e31e24;
}

.badge-contrato-pasajeros.importante {
    background: #e31e24;
    color: white;
}

.badge-contrato-pasajeros.importante i {
    color: white;
}

/* ===== CONTENIDO DEL CONTRATO ===== */
.contrato-contenido {
    line-height: 1.8;
    color: #444;
}

.contrato-contenido h3 {
    color: #e31e24;
    font-size: 22px;
    font-weight: 700;
    margin: 35px 0 20px;
    padding-left: 15px;
    border-left: 5px solid #e31e24;
}

.contrato-contenido h4 {
    color: #333;
    font-size: 18px;
    font-weight: 600;
    margin: 25px 0 10px;
}

.contrato-contenido p {
    margin-bottom: 15px;
    text-align: justify;
}

.contrato-contenido ul, 
.contrato-contenido ol {
    margin: 15px 0 15px 25px;
}

.contrato-contenido li {
    margin-bottom: 10px;
}

.contrato-contenido strong {
    color: #e31e24;
}

/* ===== CLAÚSULAS ===== */
.clausula {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 25px;
    margin: 25px 0;
    border-left: 5px solid #e31e24;
    transition: all 0.3s;
}

.clausula:hover {
    background: white;
    box-shadow: var(--sombra-suave);
    transform: translateX(5px);
}

.clausula-titulo {
    color: #e31e24;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.clausula-titulo i {
    font-size: 24px;
}

.clausula-contenido {
    color: #444;
}

.clausula-contenido ul {
    list-style-type: none;
    padding-left: 0;
}

.clausula-contenido li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}

.clausula-contenido li::before {
    content: '•';
    color: #e31e24;
    font-weight: bold;
    position: absolute;
    left: 5px;
}

/* ===== TABLAS ===== */
.tabla-equipaje {
    width: 100%;
    margin: 25px 0;
    border-collapse: collapse;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--sombra-suave);
}

.tabla-equipaje th {
    background: #e31e24;
    color: white;
    padding: 12px;
    font-weight: 600;
}

.tabla-equipaje td {
    padding: 12px;
    border-bottom: 1px solid #eee;
}

.tabla-equipaje tr:last-child td {
    border-bottom: none;
}

.tabla-equipaje tr:hover {
    background: #f8f9fa;
}

/* ===== DESTACADOS ===== */
.destacado-contrato {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-radius: 15px;
    padding: 25px;
    margin: 30px 0;
    border: 2px dashed #e31e24;
}

.destacado-contrato h4 {
    color: #e31e24;
    margin-top: 0;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ===== CONTACTO Y DENUNCIAS ===== */
.contacto-denuncias {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 30px;
    margin: 40px 0 20px;
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    border-left: 5px solid #e31e24;
}

.contacto-denuncias-icono {
    width: 80px;
    height: 80px;
    background: #e31e24;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 36px;
}

.contacto-denuncias-info {
    flex: 1;
}

.contacto-denuncias-info h4 {
    color: #e31e24;
    margin: 0 0 10px;
    font-size: 20px;
}

.contacto-denuncias-info p {
    margin: 5px 0;
    color: #555;
}

.contacto-denuncias-info i {
    color: #e31e24;
    width: 25px;
}

.contacto-denuncias-info .linea-especial {
    background: #e31e24;
    color: white;
    padding: 8px 15px;
    border-radius: 30px;
    display: inline-block;
    font-weight: 600;
    margin-top: 10px;
}

/* ===== BOTONES ===== */
.contrato-acciones {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 40px 0 20px;
    flex-wrap: wrap;
}

.btn-contrato-pasajeros {
    padding: 15px 35px;
    border-radius: 60px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s;
    border: none;
    font-size: 16px;
}

.btn-pdf {
    background: #e31e24;
    color: white;
    box-shadow: 0 8px 20px rgba(227,30,36,0.3);
}

.btn-volver {
    background: #6c757d;
    color: white;
    box-shadow: 0 8px 20px rgba(108,117,125,0.3);
}

.btn-contrato-pasajeros:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    color: white;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .hero-contrato-pasajeros h1 {
        font-size: 38px;
    }
    
    .contrato-pasajeros-card {
        padding: 35px;
    }
}

@media (max-width: 768px) {
    .hero-contrato-pasajeros {
        padding: 60px 0;
    }
    
    .hero-contrato-pasajeros h1 {
        font-size: 32px;
    }
    
    .contrato-pasajeros-section {
        padding: 60px 0;
    }
    
    .contrato-pasajeros-card {
        padding: 25px;
    }
    
    .contrato-pasajeros-header {
        flex-direction: column;
        text-align: center;
    }
    
    .contrato-pasajeros-icono {
        margin: 0 auto;
    }
    
    .contrato-pasajeros-badges {
        justify-content: center;
    }
    
    .contacto-denuncias {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero-contrato-pasajeros h1 {
        font-size: 28px;
    }
    
    .hero-contrato-pasajeros p {
        font-size: 16px;
    }
    
    .contrato-pasajeros-titulo h2 {
        font-size: 24px;
    }
    
    .contrato-acciones {
        flex-direction: column;
    }
    
    .btn-contrato-pasajeros {
        width: 100%;
        justify-content: center;
    }
}