﻿:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: var(--dark-color);
}

/* Carousel Hero */
/*#Crez-mo-zay-hero-carousel .carousel-indicators li {
    margin-top: -50px;
    background-color: #59ab6e;
}

#Crez-mo-zay-hero-carousel .carousel-control-next i,
#Crez-mo-zay-hero-carousel .carousel-control-prev i {
    color: chartreuse !important;
    font-size: 2.8em !important;
}*/
/* Carousel Brand */
/*.tempaltemo-carousel .h1 {
    font-size: .5em !important;
    color: chartreuse !important;
}*/

/* Contenedor del carrusel */
/*.custom-size-Imagenes-Container {
    width: 100%;
    max-width: 1024px;
    margin: auto;
    padding: 10px;
}*/

/* Imágenes del carrusel - Versión responsive */
/*.custom-size-Imagenes {
    width: 100%;*/ /* Ocupa el 100% del contenedor */
    /*height: 100%;*/ /* Altura automática según relación de aspecto */
    /*max-height: 900px;*/ /* Altura máxima en pantallas grandes */
    /*object-fit: contain;*/ /* Mantiene relación de aspecto */
    /*border-radius: 10px;
}*/


/* Media queries para diferentes tamaños de pantalla */
/*@media (max-width: 1200px) {
    .custom-size-Imagenes {
        max-height: 900px;
    }
}

@media (max-width: 992px) {
    .custom-size-Imagenes {
        max-height: 500px;
    }
}

@media (max-width: 768px) {
    .custom-size-Imagenes {
        max-height: 400px;
    }
}

@media (max-width: 576px) {
    .custom-size-Imagenes {
        max-height: 300px;
        border-radius: 8px;*/ /* Bordes ligeramente más pequeños en móviles */
/*}
}*/

/* HERO INTRO (texto arriba del carrusel) */
.hero-intro {
    position: relative;
    border-radius: 1rem;
    margin-bottom: 2rem;
    /* Fondo con imagen */
    background: url('/images/bg-fibra.png') no-repeat center center;
    background-size: cover;
    overflow: hidden;
    color: #fff;
}

    /* Overlay semitransparente encima de la imagen */
    .hero-intro::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 25, 65, 0.55); /* azul oscuro con transparencia */
        backdrop-filter: blur(2px);
        z-index: 1;
    }

    /* Contenido siempre encima */
    .hero-intro .container {
        position: relative;
        z-index: 2;
    }

    /* Texto */
    .hero-intro h1,
    .hero-intro p {
        color: #fff;
        text-shadow: 0 2px 12px rgba(0,0,0,.55);
    }

    /* Botón */
    .hero-intro .btn-plan {
        background: #1e90ff;
        color: #fff;
        border-radius: 999px;
        padding: .75rem 1.5rem;
        font-weight: 600;
        box-shadow: 0 6px 16px rgba(30,144,255,.35);
        transition: all .2s ease;
    }

        .hero-intro .btn-plan:hover {
            filter: brightness(1.1);
            transform: translateY(-1px);
        }


/* CARRUSEL */
/*.hero-carousel-section {
    margin-bottom: 3rem;
}

.hero-img {
    height: clamp(260px, 60vh, 540px);
    object-fit: cover;
    border-radius: 1rem;
}*/

/* Barra de progreso del carrusel */
/*.carousel-progress {
    position: absolute;
    left: 0;
    right: 0;
    top: -10px;
    height: 4px;
    background: transparent;
    z-index: 3;
}

.carousel-progress-bar {
    height: 100%;
    width: 0%;
    background: rgba(255,255,255,.8);
    border-radius: 999px;
    transition: width linear;
}*/

/* Miniaturas del carrusel */
/*.carousel-thumbs {
    user-select: none;
    z-index: 4;
    position: relative;
    margin-top: 1rem;
}

.thumbs-row {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(72px, 1fr);
    gap: .5rem;
    overflow-x: auto;
    padding-bottom: .25rem;
}

    .thumbs-row::-webkit-scrollbar {
        height: 8px;
    }

    .thumbs-row::-webkit-scrollbar-thumb {
        background: rgba(0,0,0,.15);
        border-radius: 999px;
    }

.thumb {
    border: 0;
    background: transparent;
    padding: 0;
    border-radius: .5rem;
}

    .thumb img {
        width: 100%;
        height: 56px;
        object-fit: cover;
        border-radius: .5rem;
        opacity: .75;
        transition: transform .2s ease, opacity .2s ease, box-shadow .2s ease;
        box-shadow: 0 2px 10px rgba(0,0,0,.12);
    }

    .thumb:hover img {
        opacity: .95;
        transform: translateY(-1px);
    }

    .thumb.active img {
        opacity: 1;
        box-shadow: 0 6px 22px rgba(0,0,0,.22);
        outline: 2px solid rgba(255,255,255,.75);
    }*/

/* ===== Viewport con aspect-ratio para el carrusel ===== */
.carousel-viewport {
    position: relative;
    width: 100%;
    /* Proporción por defecto 16:9; cambia si prefieres 21/9 o 4/3 */
    aspect-ratio: 16 / 9;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(0,0,0,.18);
    background: #0a1b2e; /* color de fondo detrás por si hay barras */
}

/* Fallback antiguo si un navegador no soporta aspect-ratio */
@supports not (aspect-ratio: 1 / 1) {
    .carousel-viewport {
        height: 0;
        padding-top: 56.25%;
    }
        /* 16:9 */
        .carousel-viewport > .carousel {
            position: absolute;
            inset: 0;
        }
}

/* El carrusel ocupa todo el viewport */
.carousel-viewport .carousel,
.carousel-viewport .carousel-inner,
.carousel-viewport .carousel-item {
    height: 100%;
}

/* Imagen: modo A (cover) – se ve lleno, puede recortar un poco */
.carousel-viewport .carousel-img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* muestra la imagen completa */
    object-position: center; /* centrada */
    background: #0a1b2e url('/images/bg-fibra.jpg') no-repeat center center;
    background-size: cover; /* fondo de relleno */
    padding: 20px; /* opcional, margen interno */
}


/* Controles y progreso quedan arriba del contenido */
.carousel-viewport .carousel-control-prev,
.carousel-viewport .carousel-control-next,
.carousel-viewport .carousel-progress {
    z-index: 3;
}

/* Barra de progreso (como ya la tenías) */
.carousel-progress {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 4px;
    background: transparent;
}

.carousel-progress-bar {
    height: 100%;
    width: 0%;
    background: rgba(255,255,255,.85);
    border-radius: 999px;
    transition: width linear;
}

/* Miniaturas del carrusel */
.carousel-thumbs {
    user-select: none;
    z-index: 4;
    position: relative;
    margin-top: 1rem;
}

.thumbs-row {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(72px, 1fr);
    gap: .5rem;
    overflow-x: auto;
    padding-bottom: .25rem;
}

    .thumbs-row::-webkit-scrollbar {
        height: 8px;
    }

    .thumbs-row::-webkit-scrollbar-thumb {
        background: rgba(0,0,0,.15);
        border-radius: 999px;
    }

.thumb {
    border: 0;
    background: transparent;
    padding: 0;
    border-radius: .5rem;
}

    .thumb img {
        width: 100%;
        height: 56px;
        object-fit: cover;
        border-radius: .5rem;
        opacity: .75;
        transition: transform .2s ease, opacity .2s ease, box-shadow .2s ease;
        box-shadow: 0 2px 10px rgba(0,0,0,.12);
    }

    .thumb:hover img {
        opacity: .95;
        transform: translateY(-1px);
    }

    .thumb.active img {
        opacity: 1;
        box-shadow: 0 6px 22px rgba(0,0,0,.22);
        outline: 2px solid rgba(255,255,255,.75);
    }



/* Ajustes por relación de aspecto de la ventana */
@media (max-aspect-ratio: 4/3) {
    /* Teléfonos muy altos: sube un poco el foco */
    .carousel-viewport .carousel-img {
        object-position: 50% 38%;
    }
}

@media (min-aspect-ratio: 21/9) {
    /* Ultrawide: mueve el foco a la derecha si tu gráfica está a la derecha */
    .carousel-viewport .carousel-img {
        object-position: 70% 50%;
    }
}

/* Contenedor de la sección de ubicación */
.custom-size-Ubicacion {
    width: 100%;
    max-width: 500px;
    margin: auto;
    padding: 10px;
}


.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
    margin-top:80px;
}

    .hero-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url('https://images.unsplash.com/photo-1563013544-824ae1b704d3?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') center/cover;
        opacity: 0.2;
        z-index: 0;
    }

.hero-content {
    position: relative;
    z-index: 1;
}

.section-title {
    position: relative;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--primary-color);
}

    .section-title::after {
        content: '';
        display: block;
        width: 80px;
        height: 4px;
        background: var(--secondary-color);
        margin: 15px auto;
    }

.plan-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

    .plan-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    }

.plan-header {
    background: var(--primary-color);
    color: white;
    padding: 20px;
    text-align: center;
}

.plan-price {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 15px 0;
}

.plan-features {
    padding: 20px;
    background: white;
}

.feature-list {
    list-style: none;
    padding: 0;
}

    .feature-list li {
        padding: 8px 0;
        border-bottom: 1px solid #eee;
    }

        .feature-list li:last-child {
            border-bottom: none;
        }

        .feature-list li i {
            color: var(--secondary-color);
            margin-right: 10px;
        }

.btn-plan {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s ease;
}

    .btn-plan:hover {
        background: var(--primary-color);
        transform: scale(1.05);
    }

.highlight-plan .plan-header {
    background: var(--accent-color);
}

.highlight-plan .btn-plan {
    background: var(--accent-color);
}

.benefits-section {
    background: var(--light-color);
    padding: 5rem 0;
}

.benefit-item {
    text-align: center;
    padding: 20px;
}

/*.benefit-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}
*/
.benefit-icon {
    font-size: 4.5rem !important;
    color: var(--secondary-color);
    margin-bottom: 25px;
    display: inline-block;
    background: rgba(52, 152, 219, 0.1);
    width: 100px;
    height: 100px;
    line-height: 100px;
    border-radius: 50%;
    text-align: center;
    transition: all 0.3s ease;
}

    .benefit-icon:hover {
        background: rgba(52, 152, 219, 0.2);
        transform: translateY(-5px);
    }


.testimonials-section {
    padding: 5rem 0;
    background: white;
}

.testimonial-card {
    background: var(--light-color);
    border-radius: 10px;
    padding: 30px;
    margin: 15px;
    position: relative;
}

    .testimonial-card::before {
        content: '"';
        font-size: 5rem;
        color: rgba(0,0,0,0.1);
        position: absolute;
        top: 10px;
        left: 20px;
        line-height: 1;
    }

.client-info {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.client-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.contact-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 5rem 0;
}

.contact-form .form-control {
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 0;
    border-bottom: 2px solid rgba(255,255,255,0.5);
    color: white;
    padding: 15px 0;
    margin-bottom: 20px;
}

.contact-form select.form-control {
    color: #2c3e50; /* Color azul oscuro */
    background-color: #f8f9fa;
    border: 1px solid #ced4da;
    padding: 10px 15px;
    border-radius: 5px;
    -webkit-appearance: none; /* Elimina el estilo por defecto en Chrome/Safari */
    -moz-appearance: none; /* Elimina el estilo por defecto en Firefox */
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232c3e50'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 15px;
}

.contact-form select.form-control option {
    color: #495057;
    padding: 10px;
    font-size: 16px;
}

.contact-form select.form-control option:checked {
    background-color: #3498db;
    color: white;
}

.contact-form select.form-control:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
    outline: none;
}
    .contact-form .form-control::placeholder {
        color: rgba(255,255,255,0.7);
    }

.contact-form select.form-control {
    color: #2c3e50; /* Color azul oscuro */
    background-color: #f8f9fa;
    border: 1px solid #ced4da;
    padding: 10px 15px;
    border-radius: 5px;
    -webkit-appearance: none; /* Elimina el estilo por defecto en Chrome/Safari */
    -moz-appearance: none; /* Elimina el estilo por defecto en Firefox */
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232c3e50'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 15px;
}

    .contact-form select.form-control option {
        color: #495057;
        padding: 10px;
        font-size: 16px;
    }

        .contact-form select.form-control option:checked {
            background-color: #3498db;
            color: white;
        }

    .contact-form select.form-control:focus {
        border-color: #3498db;
        box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
        outline: none;
    }
.contact-form .btn-submit {
    background: white;
    color: var(--primary-color);
    font-weight: bold;
    padding: 12px 30px;
    border-radius: 30px;
    border: none;
    transition: all 0.3s ease;
}

    .contact-form .btn-submit:hover {
        background: var(--accent-color);
        color: white;
        transform: translateY(-3px);
    }

.btn-submit {
    background-color: #25D366; /* Color verde de WhatsApp */
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

    .btn-submit:hover {
        background-color: #128C7E; /* Color verde más oscuro al pasar el mouse */
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

    .btn-submit i {
        font-size: 1.2em;
    }


.social-icons a {
    color: white;
    font-size: 1.5rem;
    margin-right: 15px;
    transition: color 0.3s ease;
}

    .social-icons a:hover {
        color: var(--secondary-color);
    }

/* Estilo para el contenedor del mapa */
.custom-size-Ubicacion {
    width: 100%;
    max-width: 800px; /* Aumentar el ancho máximo */
    margin: auto;
    padding: 10px;
}

/* Estilo para el mapa estático */
#map {
    width : auto;
    height: 600px !important; /* Altura fija */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 2px solid #3498db;
    pointer-events: none; /* Opcional: desactiva todos los eventos del mouse */
}

.btn-custom-text {
    color: #000000 !important; /* Negro puro */
}

/* Si quieres que el popup sea interactivo */
.leaflet-popup-content-wrapper {
    pointer-events: auto !important;
}

.leaflet-popup-content a.btn {
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 1s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

.delay-4 {
    animation-delay: 0.8s;
}

.delay-5 {
    animation-delay: 1s;
}

