:root {
    --primary-color: #1a365d;
    --secondary-color: #f97316;
    --accent-color: #eab308;
    --dark-bg: #0f172a;
    --light-bg: #f8fafc;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

header {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: transparent;
    padding: 20px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 8px 8px;
}

#logo img {
    height: 80px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #000;
    text-decoration: none;
    font-size: 20px;
    position: relative;
    padding-bottom: 5px;
    transition: all 0.3s ease;
    font-weight: bold;
}

.nav-links a:hover {
    color: #000;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #000;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.hero {
    position: relative;
    height: 700px;
    overflow: hidden;
}

.hero-clip {
    clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 95%, 0 80%);
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-carrusel {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.carrusel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
}

.carrusel-slide.active {
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    color: white;
    padding: 20px;
}
.cta-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff; /* Color de fondo del botón */
    color: white; /* Color del texto */
    text-decoration: none; /* Elimina la línea azul debajo del texto */
    border-radius: 25px; /* Bordes redondeados */
    font-weight: bold;
    border: 2px solid #007bff; /* Borde del botón */
    transition: background-color 0.3s, color 0.3s; /* Transición suave al pasar el mouse */
}

.cta-button:hover {
    background-color: white; /* Cambia el fondo al pasar el mouse */
    color: #007bff; /* Cambia el color del texto al pasar el mouse */
}

.corporate-footer {
    background-color: var(--dark-bg);
    padding: 3rem 2rem;
    color: white;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding-bottom: 2rem;
}

.footer-heading {
    position: relative;
    padding-bottom: 15px;
    text-align: center;
}

.orange-line {
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    position: absolute;
    bottom: 0;
    left: -50%;
    transform: translateX(-50%);
    margin-top: 8px;
}

.footer-text {
    margin: 0.8rem 0;
    color: #e2e8f0;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--secondary-color);
}

.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 300px;
}

.email-input {
    padding: 0.8rem;
    border: 1px solid #4a5568;
    border-radius: 5px;
    background: #2d3748;
    color: white;
}

.submit-btn {
    background: var(--secondary-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #e06500;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid #4a5568;
}

.copyright-text {
    color: #a0aec0;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .orange-line {
        left: 50%;
        transform: translateX(-50%);
    }

    .subscribe-form {
        max-width: 100%;
    }
}

.hero-content h1 {
    font-size: 3.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.services {
    padding: 80px 20px;
    background: #f9fafc;
    position: relative;
    overflow: hidden;
}

.services-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-title {
    font-size: 2.8rem;
    color: #1a365d;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #f97316;
}
.brands h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 32px;
    font-weight: 700;
    color: #2a4365;
    background-image: linear-gradient(to right, transparent, #c36f09ed 50%, transparent);
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: 60% 3px;
    padding-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}
.timeline h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 32px;
    font-weight: 700;
    color: #2a4365;
    background-image: linear-gradient(to right, transparent, #c36f09ed 50%, transparent);
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: 60% 3px;
    padding-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.locations h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 32px;
    font-weight: 700;
    color: #2a4365;
    background-image: linear-gradient(to right, transparent, #c36f09ed 50%, transparent);
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: 60% 3px;
    padding-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.locations {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 20px;
}

.locations-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
}

.destinos-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.region h3 {
    color: #2d3748;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f97316;
}

.location-tag {
    padding: 1rem;
    margin-bottom: 0.5rem;
    background: #f8fafc;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}
.location-tag.active {
    background: #1a365d;
    color: white;
    transform: translateX(5px);
    border-color: #1a365d;
}
.location-tag:hover {
    background: #1a365d;
    color: white;
    transform: translateX(5px);
}

.map-container {
    position: relative;
    
    height: 810px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.map-image {
    margin-left: 100px;
    margin-top: 50px;
    width: 65%;
    height: 85%;
    object-fit: contain;
    object-position: center;
    border-radius: 20px;
}

.brands-panel {
    position: absolute;
    right: -300px; /* Cambiar de transform a posición directa */
    top: 0;
    width: 300px;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    align-content: start;
    transition: right 0.3s ease; /* Transición suavizada */
    backdrop-filter: blur(5px);
    z-index: 10; /* Asegurar que esté por encima del mapa */
    opacity: 0;
    visibility: hidden;
}

.brand-logo {
    width: 100%;
    height: 80px;
    object-fit: contain;
    padding: 0.5rem;
}

/* Reemplazar con: */
.brands-panel.active {
    right: 0;
    opacity: 1;
    visibility: visible;
}
.location-tag {
    padding: 1.2rem;
    font-size: 1.1rem;
}
.location-tag:hover ~ .map-container .brands-panel {
    transform: translateX(0);
}

@media (max-width: 1024px) {
    .locations-container {
        grid-template-columns: 1fr;
    }
    
    .brands-panel {
        position: relative;
        width: 100%;
        height: auto;
        transform: none;
    }
}

/* ESTILOS PARA SECCIÓN SIMPLIFICADA */
.specialized-services {
    padding: 5rem 1rem;
    background-color: #f8fafc;
    text-align: center;
}

.section-header {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #1a365d;
    margin-bottom: 1rem;
}

.divider {
    width: 60px;
    height: 3px;
    background: #f97316;
    margin: 0 auto;
}

.services-container {
    max-width: 400px;
    margin: 0 auto;
}

.service-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.card-header {
    padding: 2rem 1.5rem 1rem;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1a365d, #2563eb);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.card-header h3 {
    color: #1e293b;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.card-body {
    padding: 0 1.5rem 1.5rem;
}

.card-body p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    text-align: left;
    display: inline-block;
}

.features-list li {
    color: #475569;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.features-list i {
    color: #2563eb;
    font-size: 1.1rem;
}

.card-footer {
    padding: 1rem 1.5rem 1.5rem;
}

.service-cta {
    background: #2563eb;
    color: white;
    border: none;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.service-cta:hover {
    background: #1a365d;
    transform: translateX(5px);
}

.service-cta i {
    transition: transform 0.3s ease;
}

.service-cta:hover i {
    transform: translateX(3px);
}

/* Responsive */
@media (max-width: 480px) {
    .service-card {
        margin: 0 1rem;
    }
}
.social-icons {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

.social-icons a {
    color: #ecf0f1;
    font-size: 24px;
    transition: transform 0.3s, color 0.3s;
}

.social-icons a:hover {
    color: #45a78b;
    transform: translateY(-3px);
}

.cta-button {
    background: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
    padding: 1rem 2.5rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    font-style: oblique;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(249, 115, 22, 0.4);
}

.stats {
    background-color: #f8fafc;
    padding: 80px 20px;
    text-align: center;
}

.stats-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 40px 0;
}

.stat-item {
    transition: transform 0.3s, box-shadow 0.3s;
    background: linear-gradient(145deg, #ffffff, #f8fafc);
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 3rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brands {
    padding: 80px 20px;
    background-color: white;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 40px auto;
    align-items: center;
}

.brand-logo {
    max-width: 100%;
    height: auto;
    filter: grayscale(100%);
    transition: filter 0.3s;
}

.brand-logo:hover {
    filter: grayscale(0);
}

.location-tags {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    max-width: 800px;
    margin: 0 auto 40px;
    justify-content: center;
}

.location-tag {
    padding: 12px 25px;
    background: #e8f4ff;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #2c3e50;
    border: 2px solid transparent;
    text-align: center;
}

.image-container {
    text-align: center;
    width: 100%;
    max-width: 800px;
    height: 450px;
    margin: 0 auto;
    border-radius: 25px;
    overflow: hidden;
    position: relative;
}

.location-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.5s ease;
}

.gallery {
    display: flex;
    gap: 1rem;
    height: 25rem;
    width: 99%;
    overflow: hidden;
    margin-left: 10px;
}

.gallery-item {
    flex: 1;
    border-radius: 1rem;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transition: all 0.8s cubic-bezier(.25, .4, .45, 1.4);
    position: relative;
    overflow: hidden;
    filter: brightness(0.8);
    will-change: transform, filter;
}

.gallery:hover .gallery-item:not(:hover) {
    filter: brightness(0.5) contrast(0.8);
}

.gallery-item:hover {
    flex: 5;
    filter: brightness(1);
}

.image-caption {
    position: absolute;
    bottom: -100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 1.5rem;
    transition: bottom 0.5s ease;
    backdrop-filter: blur(5px);
    transform: translateZ(0);
}

.gallery-item:hover .image-caption {
    bottom: 0;
}

.image-caption h3 {
    margin-top: 0;
    font-size: 1.2rem;
    color: #eec523;
    text-align: center;
}

.image-caption p {
    margin-bottom: 0;
    line-height: 1.5;
}


@media (max-width: 768px) {
    .hero {
        height: 70vh;
    }

    .gallery {
        flex-direction: column;
        height: auto;
    }
    
    .gallery-item {
        height: 15rem;
        flex: 1 0 auto !important;
    }
    
    .image-caption {
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }
}
/* Modificar estas reglas CSS */
.orange-line {
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    position: absolute;
    bottom: 0;
    left: 50%; /* Cambiar de -50% a 50% */
    transform: translateX(-50%); /* Mantener esta transformación */
    margin-top: 8px;
}

/* Eliminar el media query específico para móvil si existe */
@media (max-width: 768px) {
    .orange-line {
        /* Eliminar estas propiedades si existen */
        left: 50%;
        transform: translateX(-50%);
    }
}
.mensaje-estilo {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
  }