/* ========================================
   TRANSPORTES WEB - ESTILOS PERSONALIZADOS
   Empresa de Transporte de Residuos Peligrosos
   ======================================== */

/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ===== VARIABLES CSS ===== */
:root {
    /* Colores principales - IO Group */
    --primary: #EA4517;
    --primary-dark: #B70207;
    --primary-light: #FF6B42;
    --secondary: #B70207;
    --secondary-dark: #8B0106;
    --secondary-light: #D41A1F;
    --accent: #4F601A;
    --accent-light: #6B8024;

    /* Colores neutros */
    --dark: #1A1A2E;
    --dark-light: #16213E;
    --gray-900: #212529;
    --gray-800: #343a40;
    --gray-600: #6c757d;
    --gray-400: #ced4da;
    --gray-200: #e9ecef;
    --light: #F8F9FA;
    --white: #FFFFFF;

    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-dark: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);

    /* Sombras */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.15);

    /* Tipografía */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Transiciones */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Border radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
}

/* ===== RESET Y BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    color: var(--gray-600);
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== UTILIDADES ===== */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary {
    background: var(--gradient-primary);
}

.bg-gradient-dark {
    background: var(--gradient-dark);
}

.section-padding {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-title p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 20px auto 0;
}

/* ===== NAVBAR ===== */
.navbar {
    padding: 15px 0;
    transition: var(--transition-normal);
    background: transparent;
}

.navbar.scrolled {
    background: var(--white);
    box-shadow: var(--shadow-md);
    padding: 10px 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary) !important;
}

.navbar-brand img {
    height: 48px !important;
    width: auto !important;
    max-height: 48px !important;
}

.navbar-brand span {
    color: var(--secondary);
}

/* Navbar transparente (arriba) - letras blancas */
.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--white) !important;
    padding: 10px 20px !important;
    margin: 0 5px;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-light) !important;
    background: rgba(255, 255, 255, 0.15);
}

/* Navbar con scroll (fondo blanco) - letras oscuras */
.navbar.scrolled .nav-link {
    color: var(--gray-800) !important;
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
    color: var(--primary) !important;
    background: rgba(234, 69, 23, 0.1);
}

.navbar-toggler {
    border: none;
    padding: 10px;
    color: var(--white);
}

.navbar.scrolled .navbar-toggler {
    color: var(--gray-800);
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Mobile menu - fondo sólido cuando está abierto */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: var(--dark);
        border-radius: var(--radius-md);
        padding: 20px;
        margin-top: 15px;
        box-shadow: var(--shadow-lg);
    }

    .navbar.scrolled .navbar-collapse {
        background: var(--white);
    }

    .navbar.scrolled .navbar-collapse .nav-link {
        color: var(--gray-800) !important;
    }

    .navbar.scrolled .navbar-collapse .nav-link:hover,
    .navbar.scrolled .navbar-collapse .nav-link.active {
        color: var(--primary) !important;
        background: rgba(234, 69, 23, 0.1);
    }
}

/* ===== BOTONES ===== */
.btn {
    padding: 12px 30px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: var(--transition-normal);
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(234, 69, 23, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(234, 69, 23, 0.4);
    background: var(--gradient-primary);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-accent {
    background: var(--gradient-accent);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 111, 0, 0.3);
}

.btn-accent:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 111, 0, 0.4);
}

.btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
            rgba(26, 32, 44, 0.95) 0%,
            rgba(26, 32, 44, 0.7) 50%,
            rgba(26, 32, 44, 0.85) 100%);
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: bottom;
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 25px;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero h1 span {
    color: #FFD54F;
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 35px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    z-index: 3;
}

.hero-image-placeholder {
    width: 100%;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.2rem;
}

/* Hero para páginas internas */
.hero-page {
    min-height: 100vh;
    padding-top: 100px;
}

.hero-page .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    justify-content: center;
}

.hero-page .breadcrumb-item {
    color: rgba(255, 255, 255, 0.7);
}

.hero-page .breadcrumb-item a {
    color: var(--primary-light);
}

.hero-page .breadcrumb-item a:hover {
    color: var(--white);
}

.hero-page .breadcrumb-item.active {
    color: var(--white);
}

.hero-page .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* Hero especial para página Nosotros */
.hero-nosotros .lead {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.95);
}

.hero-nosotros p {
    color: rgba(255, 255, 255, 0.85);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: var(--radius-xl);
    color: var(--white);
    font-weight: 500;
}

.hero-feature-item i {
    color: var(--primary-light);
}

/* ===== CARDS ===== */
.card-custom {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: none;
}

.card-custom:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.75rem;
    color: var(--white);
}

.card-custom h4 {
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.card-custom p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ===== GLASS CARD ===== */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    padding: 30px;
}

/* ===== SERVICIOS ===== */
.service-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition-normal);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, rgba(234, 69, 23, 0.1) 0%, rgba(183, 2, 7, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2.5rem;
    color: var(--primary);
    transition: var(--transition-normal);
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
    color: var(--white);
    transform: scale(1.1);
}

.service-card h4 {
    margin-bottom: 15px;
}

.service-number {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(234, 69, 23, 0.1);
}

/* ===== ESTADÍSTICAS ===== */
.stats-section {
    background: var(--gradient-dark);
    padding: 80px 0;
}

.stat-item {
    text-align: center;
    padding: 30px;
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.75rem;
    color: var(--primary-light);
    transition: var(--transition-normal);
}

.stat-item:hover .stat-icon {
    background: var(--primary-light);
    color: var(--white);
    transform: scale(1.1);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-light);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== ABOUT SECTION ===== */
.about-section {
    position: relative;
}

.about-image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, rgba(234, 69, 23, 0.2) 0%, rgba(183, 2, 7, 0.2) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    font-size: 1.2rem;
}

.about-features {
    display: grid;
    gap: 20px;
    margin-top: 30px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.about-feature-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
}

.about-feature h5 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.about-feature p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* ===== MISSION VISION ===== */
.mission-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    height: 100%;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
}

.mission-card.vision::before {
    background: var(--gradient-accent);
}

.mission-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.mission-card.vision i {
    color: var(--accent);
}

/* ===== TIMELINE ===== */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
}

.timeline-content {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    width: 45%;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-year {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: var(--white);
    padding: 10px 20px;
    border-radius: var(--radius-xl);
    font-weight: 700;
}

/* ===== BLOG ===== */
.blog-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.blog-image {
    height: 180px;
    background: linear-gradient(135deg, rgba(234, 69, 23, 0.3) 0%, rgba(183, 2, 7, 0.3) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2.5rem;
}

.blog-content {
    padding: 20px;
}

.blog-category {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(234, 69, 23, 0.1);
    color: var(--primary);
    border-radius: var(--radius-xl);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.blog-card h4 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.blog-card h4 a {
    color: var(--dark);
}

.blog-card h4 a:hover {
    color: var(--primary);
}

.blog-meta {
    display: flex;
    gap: 20px;
    color: var(--gray-600);
    font-size: 0.9rem;
}

.blog-meta i {
    margin-right: 5px;
    color: var(--primary);
}

/* ===== CONTACTO ===== */
.contact-section {
    position: relative;
}

.contact-info-card {
    background: var(--gradient-dark);
    border-radius: var(--radius-lg);
    padding: 50px 40px;
    color: var(--white);
    height: 100%;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-info-icon {
    width: 55px;
    height: 55px;
    min-width: 55px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-light);
}

.contact-info-item h5 {
    color: var(--white);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-info-item p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

.contact-form {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 50px 40px;
    box-shadow: var(--shadow-xl);
}

.form-control {
    padding: 15px 20px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(234, 69, 23, 0.1);
}

.form-label {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

/* ===== MAPA ===== */
.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--gradient-dark);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-brand {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-brand img {
    height: 60px !important;
    width: auto !important;
    max-height: 60px !important;
}

.footer-brand span {
    color: var(--primary-light);
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
}

.footer-title {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-light);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-links a i {
    margin-right: 10px;
    color: var(--primary-light);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    transition: var(--transition-normal);
}

.social-link:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    margin-top: 50px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: var(--gradient-dark);
    padding: 120px 0 50px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%232E7D32" fill-opacity="0.1" d="M0,160L48,170.7C96,181,192,203,288,192C384,181,480,139,576,128C672,117,768,139,864,170.7C960,203,1056,245,1152,245.3C1248,245,1344,203,1392,181.3L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: bottom;
}

.page-header h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.page-header .breadcrumb {
    position: relative;
    z-index: 2;
    background: transparent;
    padding: 0;
    margin: 0;
}

.page-header .breadcrumb-item {
    color: rgba(255, 255, 255, 0.7);
}

.page-header .breadcrumb-item a {
    color: var(--primary-light);
}

.page-header .breadcrumb-item.active {
    color: var(--white);
}

.breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* ===== VALORES ===== */
.value-card {
    text-align: center;
    padding: 30px 20px;
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(234, 69, 23, 0.1) 0%, rgba(183, 2, 7, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--primary);
    transition: var(--transition-normal);
}

.value-card:hover .value-icon {
    background: var(--gradient-primary);
    color: var(--white);
    transform: scale(1.1);
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: var(--gradient-primary);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.cta-section .btn-white {
    background: var(--white);
    color: var(--primary);
    font-weight: 700;
}

.cta-section .btn-white:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ===== CONVENIOS ===== */
.convenios-section {
    background: var(--white);
}

.convenio-logo {
    background: var(--light);
    border-radius: var(--radius-md);
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 160px;
    transition: var(--transition-normal);
}

.convenio-logo:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
    background: var(--white);
}

.convenio-logo img {
    max-height: 140px;
    max-width: 100%;
    object-fit: contain;
}

/* ===== ALIANZAS ===== */
.alianzas-section {
    background: var(--white);
}

.alianza-item {
    text-align: center;
}

.alianza-logo {
    background: var(--light);
    border-radius: var(--radius-md);
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 220px;
    transition: var(--transition-normal);
    margin-bottom: 15px;
}

.alianza-logo:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
    background: var(--white);
}

.alianza-logo img {
    max-height: 200px;
    max-width: 100%;
    object-fit: contain;
}

.alianza-description {
    font-size: 0.95rem;
    color: var(--gray-600);
    padding: 0 10px;
}

/* ===== CLIENTES ===== */
.clients-section {
    background: var(--light);
    padding: 60px 0;
}

.client-logo {
    height: 100px;
    background: var(--white);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    color: var(--gray-400);
}

.client-logo img {
    max-height: 70px;
    max-width: 100%;
    object-fit: contain;
    transition: var(--transition-normal);
}

.client-logo:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.client-logo:hover img {
    opacity: 1;
}

/* Carousel de Clientes */
#clientsCarousel {
    position: relative;
    padding: 0 50px;
}

#clientsCarousel .carousel-control-prev,
#clientsCarousel .carousel-control-next {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
}

#clientsCarousel .carousel-control-prev {
    left: 0;
}

#clientsCarousel .carousel-control-next {
    right: 0;
}

#clientsCarousel .carousel-control-prev:hover,
#clientsCarousel .carousel-control-next:hover {
    background: var(--primary-dark);
}

#clientsCarousel .carousel-control-prev-icon,
#clientsCarousel .carousel-control-next-icon {
    width: 16px;
    height: 16px;
}

#clientsCarousel .carousel-indicators {
    position: relative;
    margin: 0;
    padding-top: 20px;
}

#clientsCarousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--gray-400);
    border: none;
    margin: 0 5px;
}

#clientsCarousel .carousel-indicators button.active {
    background-color: var(--primary);
}

/* ===== IMAGE PLACEHOLDERS ===== */
.img-placeholder {
    background: linear-gradient(135deg, rgba(234, 69, 23, 0.15) 0%, rgba(183, 2, 7, 0.15) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    font-size: 1rem;
    text-align: center;
    padding: 20px;
}

/* ===== ANIMACIONES ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991.98px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .section-padding {
        padding: 70px 0;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px !important;
    }

    .timeline-year {
        left: 30px;
        transform: translateX(-50%);
    }
}

@media (max-width: 767.98px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero {
        padding-top: 100px;
        text-align: center;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .section-padding {
        padding: 50px 0;
    }

    .section-title {
        margin-bottom: 40px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .contact-form,
    .contact-info-card {
        padding: 30px 25px;
    }

    .footer {
        padding: 50px 0 20px;
    }

    .page-header {
        padding: 120px 0 60px;
    }

    .page-header h1 {
        font-size: 2rem;
    }
}

/* ===== SERVICIOS ADICIONALES ===== */
.additional-services {
    background: var(--light);
}

.additional-service-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 30px;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    border-left: 4px solid var(--accent);
}

.additional-service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(10px);
}

.additional-service-card h5 {
    color: var(--dark);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.additional-service-card h5 i {
    color: var(--accent);
    font-size: 1.5rem;
}

/* ===== WHATSAPP BUTTON ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition-normal);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
    color: var(--white);
}

/* ===== LOADING ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--gray-200);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}