/* Variables de diseño */
:root {
    /* Colores para el services-header */
    --primary-color: #0E2FAB;
    --light-color: #f8f9fa;
    --white: #ffffff;
    /* Colores para el contenido de servicios */
    --primary-on: #1a4b8c;
    --secondary: #e74c3c;
    --accent: #f39c12;
    --gold: #f1c40f;
    --vip: #9b59b6;
    --executive: #3498db;
    --light: #f8f9fa;
    --dark: #2c3e50;
    --text: #333;
    --gray: #7f8c8d;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
}

body {
    font-family: sans-serif;
}

/* Header */
.services-header {
    background: linear-gradient(135deg, var(--primary-color), #0E2FAB);
    color: var(--white);
    text-align: center;
    padding: 5rem 1rem;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.services-header::before {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--light-color);
    clip-path: polygon(0 0, 100% 50%, 100% 100%, 0% 100%);
}

.services-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.services-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    opacity: 0.9;
}

/* Contenedor principal */
/* Sección de servicios */
.services-section {
    padding: 1rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.service-img {
    height: 200px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-img img {
    transform: scale(1.05);
}

.service-content {
    padding: 2rem;
    border-top: 4px solid var(--primary-on);
}

.service-content h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.service-content p {
    color: var(--text);
    margin-bottom: 1.5rem;
}

.features-list {
    list-style: none;
}

.features-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
}

.features-list li::before {
    content: '✓';
    color: var(--secondary);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Sección de flota */
.flota-section {
    padding: 3rem 1rem;
    background: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-on);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    font-weight: bold;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary);
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* === Tarjeta en layout horizontal === */
.flota-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

.flota-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: none;
    border-radius: 12px;
    padding: 0;
    box-shadow: none;
    transition: none;
    position: relative;
}

.flota-card:hover {
    transform: none;
    box-shadow: none;
}

/* Etiqueta (Premium, VIP, etc) */
.flota-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--secondary);
    color: #fff;
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.85rem;
    z-index: 2;
}

/* Imagen */
.flota-image {
    flex: 0 0 480px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.flota-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: none;
}

.flota-card:hover .flota-image img {
    transform: none;
}

/* Contenido derecho */
.flota-details {
    flex: 1;
    padding: 0;
}

/* Título */
.flota-details h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--primary-on);
    text-transform: uppercase;
    padding-bottom: 0;
    border-bottom: none;
}

.flota-details h3::after {
    display: none;
}

/* Tabs (solo Especificaciones) */
.flota-tabs {
    display: none;
}

/* Panel de especificaciones */
.flota-panel {
    border: none;
    border-radius: 10px;
    background: none;
    padding: 0;
}

/* Lista de características */
.flota-features {
    list-style: none;
    margin: 0;
    padding: 1rem 1.5rem;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05)
}

.flota-features li {
    padding: 0.2rem 0;
    position: relative;
    padding-left: 2rem;
    border-bottom: 1px solid #f0f0f0;
    font-size: 1rem;
    color: #444;
}

.flota-features li:last-child {
    border-bottom: none;
}

.flota-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

/* Especificaciones rápidas (abajo) */
.flota-specs {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* Colores por tipo de flota */
.premium .flota-badge {
    background: var(--gold);
    color: var(--dark);
}

.vip .flota-badge {
    background: var(--vip);
}

.executive .flota-badge {
    background: var(--executive);
}

/* === Responsive === */
@media (max-width: 992px) {
    .flota-card {
        flex-direction: column;
        padding: 0;
        gap: 1rem;
    }

    .flota-image {
        width: 100%;
        flex: none;
        height: 220px;
    }

    .flota-details {
        padding: 0.5rem 0;
    }

    .flota-details h3 {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .flota-details h3 {
        font-size: 1.4rem;
    }

    .flota-features li {
        font-size: 0.95rem;
    }

    .spec-value {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .flota-details h3 {
        font-size: 1.2rem;
    }

    .flota-specs {
        flex-direction: column;
        gap: 0.8rem;
    }
}



/* Sección de equipo */
.team-section {
    padding: 2rem 1rem;
    text-align: center;
}

.team-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.team-content h2 {
    font-size: clamp(1.5rem, 2.5vw, 2.2rem); 
    color: var(--primary-on);
    margin-bottom: 1.5rem;
}

.team-content p {
    color: var(--text);
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.team-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    list-style: none;
    max-width: 600px;
    margin: 0 auto;
    padding: 0;
}

.team-feature {
    background: #fff;
    padding: 0.7rem 1.2rem;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    font-size: clamp(0.85rem, 1.8vw, 1rem);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.team-feature:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.team-feature::before {
    content: '✓';
    color: var(--secondary);
    font-weight: bold;
    margin-right: 0.5rem;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .team-features {
        gap: 0.8rem;
    }

    .team-feature {
        padding: 0.6rem 1rem;
    }
}

@media (max-width: 480px) {
    .team-content h2 {
        font-size: 1.5rem;
    }

    .team-feature {
        width: 100%; 
        justify-content: center;
    }
}
