/* Footer profesional */
.footer-pro {
    font-family: 'Roboto', Arial, sans-serif;
    letter-spacing: 0.01em;
    box-shadow: 0 -2px 16px 0 rgba(0,0,0,0.12);
}
.footer-pro h6 {
    letter-spacing: 1.5px;
    font-size: 1rem;
    color: #f8f9fa;
}
.footer-link {
    color: #f8f9fa;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-link:hover {
    color: #00d4ff;
    text-decoration: underline;
}
.footer-social-link {
    color: #f8f9fa;
    background: #232526;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: background 0.2s, color 0.2s, transform 0.2s;
    box-shadow: 0 2px 8px 0 rgba(0,0,0,0.08);
}
.footer-social-link:hover {
    background: #00d4ff;
    color: #232526;
    transform: translateY(-3px) scale(1.08);
    text-decoration: none;
}
.footer-pro .letter-spacing-1 {
    letter-spacing: 1.5px;
}
@media (max-width: 991px) {
    .footer-pro .col-lg-4 {
        margin-bottom: 2rem !important;
    }
}
@media (max-width: 575px) {
    .footer-pro {
        font-size: 0.95rem;
    }
    .footer-pro h6 {
        font-size: 0.98rem;
    }
    .footer-social-link {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
}
/* Cobertura y Alcance - Galería interactiva */
.cobertura-gallery {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.cobertura-img-wrapper {
    flex: 1 1 0;
    transition: flex 0.4s cubic-bezier(.4,1.5,.5,1), filter 0.3s;
    min-width: 0;
    max-width: 33%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cobertura-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 1.2rem;
    box-shadow: 0 6px 32px rgba(0,0,0,0.10);
    transition: transform 0.4s cubic-bezier(.4,1.5,.5,1), box-shadow 0.3s, filter 0.3s;
    filter: grayscale(30%) brightness(0.92);
    cursor: pointer;
}
.cobertura-img-wrapper:hover,
.cobertura-img-wrapper:focus-within {
    flex: 2 1 0;
    z-index: 2;
}
.cobertura-img-wrapper:hover .cobertura-img,
.cobertura-img-wrapper:focus-within .cobertura-img {
    transform: scale(1.08);
    box-shadow: 0 12px 40px rgba(201,55,66,0.18);
    filter: grayscale(0%) brightness(1.05);
}
.cobertura-img-wrapper:not(:hover):not(:focus-within) .cobertura-img {
    filter: grayscale(60%) brightness(0.85);
    opacity: 0.85;
}
@media (max-width: 991px) {
    .cobertura-gallery {
        gap: 0.7rem;
    }
    .cobertura-img {
        height: 180px;
    }
}
@media (max-width: 600px) {
    .cobertura-gallery {
        flex-direction: column;
        gap: 1.2rem;
    }
    .cobertura-img {
        height: 160px;
    }
}
/* Carrusel de logos de clientes - CSS infinito sin cortes */
.client-logos-carousel {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 10px 0;
    mask: linear-gradient(to right, transparent, white 5%, white 95%, transparent);
    -webkit-mask: linear-gradient(to right, transparent, white 5%, white 95%, transparent);
}
.carousel-track {
    display: flex;
    width: fit-content;
    align-items: center;
    animation: scroll-infinite 40s linear infinite;
}
.carousel-track:hover {
    animation-play-state: running; /* No pausar en hover */
}
.client-logo {
    filter: grayscale(100%);
    opacity: 0.85;
    transition: filter 150ms ease, opacity 150ms ease, transform 150ms ease;
    height: 70px;
    margin: 0 25px;
    object-fit: contain;
    cursor: pointer;
    flex-shrink: 0;
}
.client-logo:focus,
.client-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
    outline: none;
}

@keyframes scroll-infinite {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .carousel-track { 
        animation: none !important;
        transform: translateX(0) !important;
    }
    .client-logo { transition: none !important; }
}
/* Hero overlay and typing effect */
.hero-section {
    position: relative;
    overflow: hidden;
}
.hero-overlay {
    z-index: 1;
}
.hero-section .container {
    z-index: 2;
    position: relative;
}
.typing-effect-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60px;
}
.typing-cursor {
    color: var(--accent-red);
    font-size: 2.5rem;
    font-weight: 700;
    margin-left: 2px;
    animation: blink 0.8s steps(1) infinite;
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
/* Custom CSS for GLECON */


:root {
    /* Corporate palette based on provided assets */
    --accent-red: #C93742; /* RGB(201,55,66) from PANTONE sample */
    --black-100: #000000; /* full black */
    --black-50: rgba(0,0,0,0.5);
    --gray-navbar: #f7f7f7; /* gris claro para navbar */
    --gray-navbar-border: #e0e0e0;
    --light-gray: #f5f6fa;
    --mid-gray: #e9ecef;
    --muted: #6c757d;
    --white: #ffffff;
    --brand-bg: var(--black-100);
}

body {
    font-family: 'Roboto', 'Open Sans', Arial, sans-serif;
    line-height: 1.6;
    background: var(--light-gray);
    color: #222;
}

.bg-gradient-dark-blue {
    background: linear-gradient(135deg, rgba(0,0,0,0.85) 0%, rgba(19,19,19,0.9) 100%);
}

.hero-section {
    min-height: 60vh;
}

.min-vh-50 {
    min-height: 50vh;
}

/* Card hover effects */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 1rem;
    border: none;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(19,58,94,0.15) !important;
}

/* Button animations */
.btn {
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

/* Navbar styling */
.navbar {
    background: var(--gray-navbar) !important;
    border-bottom: 1.5px solid var(--gray-navbar-border);
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.navbar-brand {
    font-size: 1.1rem;
    letter-spacing: 1px;
    font-weight: 700;
    color: var(--black-100) !important;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-right: 2rem;
}
.navbar-brand img {
    height: 42px;
    width: auto;
    object-fit: contain;
    margin-left: -12px;
}
.navbar-nav .nav-link {
    color: var(--black-100) !important;
    font-weight: 500;
    position: relative;
    transition: color 0.2s;
}
.navbar-nav .nav-link.active,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link:hover {
    color: var(--accent-red) !important;
}
.navbar-nav .nav-link::after {
    content: '';
    display: block;
    width: 0;
    height: 3px;
    background: var(--accent-red);
    border-radius: 2px;
    margin: 0 auto;
    transition: width 0.2s;
}
.navbar-nav .nav-link.active::after,
.navbar-nav .nav-link:focus::after,
.navbar-nav .nav-link:hover::after {
    width: 70%;
}

/* Form styling */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Section spacing */
section {
    padding-top: 4rem;
    padding-bottom: 4rem;
    background: transparent;
}

/* Icon styling */
.text-primary i, .text-dark i, .text-info i, .text-secondary i {
    color: inherit !important;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        padding: 3rem 0;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
}

/* Footer styling */
footer {
    margin-top: auto;
    background: var(--black-100) !important;
    color: var(--white) !important;
}
/* Carousel custom */
.carousel-inner img {
    object-fit: cover;
    height: 320px;
}
.carousel-caption {
    font-size: 1.1rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .carousel-inner img {
        height: 180px;
    }
}

/* Slogan */
.hero-section h2.h5 {
    font-family: 'Open Sans', Arial, sans-serif;
    font-weight: 400;
    letter-spacing: 2px;
    color: #b0c4d9;
}

/* Loading spinner */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

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