html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
}

/* Reset de imágenes para evitar fondo negro */
img {
    background: transparent;
    border: none;
    outline: none;
}

.header-logo {
    max-height: 60px;
}
.header-optimizador {
    max-height: 60px;
}
.header-instagram {
    max-height: 40px;
}

/* Navbar Toggler Blanco */
.navbar-toggler-white {
    border-color: rgba(255, 255, 255, 0.5);
}

.navbar-toggler-white .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-toggler-white:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25);
}

/* Offcanvas Sidebar */
.offcanvas {
    background-color: #fff;
}

.offcanvas-header {
    border-bottom: 1px solid #e0e0e0;
    padding: 1.5rem;
}

.offcanvas-title {
    font-weight: 600;
    color: #333;
}

.offcanvas-body {
    padding: 1.5rem;
}

.offcanvas-body .nav-link {
    color: #333;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.offcanvas-body .nav-link:hover {
    color: #666;
    background-color: #f8f8f8;
    padding-left: 1.5rem;
}

.offcanvas-body .nav-link:last-child {
    border-bottom: none;
}

/* WhatsApp Sticky Button */
.whatsapp-sticky {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    text-decoration: none;
    display: block;
}

.whatsapp-sticky:hover {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.whatsapp-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    display: block;
}

/* Optimizador Sticky Button */
.optimizador-sticky {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    text-decoration: none;
    display: block;
}

.optimizador-sticky:hover {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.optimizador-icon {
    height: 60px;
    object-fit: contain;
    display: block;
}

/* Marquee de Logos */
.marquee-container {
    overflow: hidden;
    width: 100%;
    position: relative;
    white-space: nowrap;
}

.marquee-content {
    display: flex;
    animation: marquee 30s linear infinite;
    gap: 4rem;
}

.marquee-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
}

.logo-img {
    max-height: 80px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.logo-img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

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

/* Sección Productos */
.producto-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.producto-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.producto-item img {
    border-radius: 15px;
}

.producto-texto {
    z-index: 10;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.producto-texto h3 {
    font-size: 1.5rem;
/*     letter-spacing: 0.5px; */
}

/* Sección Servicios */
.servicio-item {
    border-radius: 15px;
    overflow: hidden;
}

.servicio-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.servicio-texto h3 {
    font-size: 1.2rem;
/*     letter-spacing: 0.5px; */
    color: #333;
}

/* Sección Próximamente - Slider */
.proximamente-section {
    background-color: #000;
    overflow: hidden;
    position: relative;
    min-height: 400px;
}

.proximamente-section .carousel {
    height: 100%;
}

.proximamente-section .carousel-inner {
    height: 100%;
}

.proximamente-section .carousel-item {
    height: 100%;
    min-height: 400px;
}

.proximamente-section .carousel-control-prev,
.proximamente-section .carousel-control-next {
    width: 5%;
    opacity: 0.8;
}

.proximamente-section .carousel-control-prev:hover,
.proximamente-section .carousel-control-next:hover {
    opacity: 1;
}

.proximamente-section .carousel-control-prev-icon,
.proximamente-section .carousel-control-next-icon {
    background-color: transparent;
    width: 40px;
    height: 40px;
}

.proximamente-section .carousel-indicators {
    margin-bottom: 1rem;
}

.proximamente-section .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    margin: 0 5px;
}

.proximamente-section .carousel-indicators button.active {
    background-color: rgba(255, 255, 255, 1);
}

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

.megafono-container {
    position: relative;
    top: 10rem;
    z-index: 1;
}

.megafono-container img {
    display: block;
}

.proximamente-texto {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 100%;
    padding: 0 1rem;
}

.proximamente-label {
    font-size: 3rem;
    font-weight: 300;
}

.proximamente-main {
    font-size: 2rem;
    font-weight: 400;
}

/* Sección Preguntas Frecuentes */
.faq-title {
    color: #666666;
    font-weight: 300;
    margin-bottom: 2rem;
}

.faq-item {
    color: #666666;
}

.faq-question {
    color: #666666;
    margin-bottom: 0.5rem;
}

.faq-question strong {
    font-weight: bold;
    color: #666666;
}

.faq-answer {
    color: #666666;
    font-weight: normal;
    margin-bottom: 0;
}

/* Sección Nuestra Ubicación */
.ubicacion-section {
    background-color: #f4f4f4;
}

.ubicacion-title {
    color: #333;
    font-weight: 300;
    margin-bottom: 2rem;
}

.ubicacion-item {
    padding: 1.5rem 0;
}

.ubicacion-imagen {
    padding-right: 1.5rem;
}

.ubicacion-imagen img {
    max-width: 80vh;
    width: auto;
    height: auto;
}

.ubicacion-mapa {
    width: 100%;
    max-width: 874px;
    max-height: 393px;
    height: 393px;
    border: 2px solid #ffc107 !important;
    display: block;
}

.ubicacion-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.ubicacion-nombre {
    color: #333;
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.ubicacion-direccion {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.ubicacion-telefono {
    color: #333;
    font-size: 0.95rem;
}

.telefono-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.text-ubicacion {
    color: #666666;
}

@media (max-width: 768px) {
    .ubicacion-imagen {
        padding-right: 0;
        padding-bottom: 1rem;
        text-align: center;
    }
    
    .ubicacion-imagen img {
        max-width: 100%;
    }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    .megafono-container {
        position: relative;
        top: 5rem;
        right: 6rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .proximamente-section {
        padding: 3rem 0;
    }
    
    .megafono-container {
        position: relative;
        top: 6rem;
        right: 3rem;
        width: 10rem;
    }
    
    .proximamente-label {
        font-size: 0.8rem;
    }
    
    .proximamente-main {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .header-logo {
        max-height: 50px;
    }
    .header-optimizador {
        max-height: 50px;
    }
    .header-instagram {
        max-height: 35px;
    }
    .whatsapp-sticky {
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-icon {
        width: 50px;
        height: 50px;
    }
    
    .optimizador-sticky {
        top: 15px;
        right: 15px;
    }
    
    .optimizador-icon {
        height: 50px;
    }
    
    .logo-img {
        max-height: 60px;
    }
    
    .marquee-content {
        gap: 2rem;
    }
    
    .marquee-item {
        padding: 0 1rem;
    }
    
    .producto-texto h3 {
        font-size: 1.2rem;
    }
    
    .producto-texto {
        padding: 1rem !important;
    }
    
    .servicio-item img {
        height: 200px;
    }
    
    .servicio-texto h3 {
        font-size: 1rem;
    }
}

/* Sección Reviews */
.reviews-section {
    background-color: #fff;
}

.reviews-title {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: #666666;
}

.review-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.review-stars {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.review-text {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.review-author {
    color: #333;
    font-size: 0.9rem;
}

/* Google Reviews Widget */
#google-reviews iframe {
    width: 100%;
    border: none;
}

/* Ocultar publicidad de Elfsight */
#google-reviews a[href*="elfsight.com"],
#google-reviews a[title="Remove Elfsight branding"],
.reviews-section a[href*="elfsight.com"],
.reviews-section a[title="Remove Elfsight branding"],
.elfsight-app-c7779c5e-edba-44fa-adce-abddc9a96a89 a[href*="elfsight.com"],
.elfsight-app-c7779c5e-edba-44fa-adce-abddc9a96a89 a[title="Remove Elfsight branding"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
}

/* Ocultar título del widget de Elfsight */
#google-reviews .WidgetTitle__Header-sc-c581efe-2,
#google-reviews .dNtlyB,
.reviews-section .WidgetTitle__Header-sc-c581efe-2,
.reviews-section .dNtlyB,
.elfsight-app-c7779c5e-edba-44fa-adce-abddc9a96a89 .WidgetTitle__Header-sc-c581efe-2,
.elfsight-app-c7779c5e-edba-44fa-adce-abddc9a96a89 .dNtlyB,
div[class*="WidgetTitle"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* Ocultar panel de herramientas de Elfsight */
#google-reviews .eapps-widget-toolbar,
.reviews-section .eapps-widget-toolbar,
.elfsight-app-c7779c5e-edba-44fa-adce-abddc9a96a89 .eapps-widget-toolbar,
.eapps-widget-toolbar,
.eapps-widget-toolbar-panel-wrapper,
.eapps-widget-toolbar-panel-only-you,
.eapps-widget-toolbar-panel,
.eapps-widget-toolbar-panel-share {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
}

/* Sección Contacto */
.contacto-section {
    background-color: #f4f4f4;
}

.contacto-title {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
    color: #666666;
}

.contacto-subtitle {
    font-size: 2.5rem;
    font-weight: 400;
    color: #606060;
}

.contacto-text {
    font-size: 2.5rem;
    color: #606060;
    line-height: 1.6;
}

.contacto-form .form-control {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 0.75rem;
    font-size: 1rem;
    color: #333;
}

.contacto-form .form-control:focus {
    border-color: #ffc107;
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25);
    outline: none;
}

.contacto-form textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.contacto-btn {
    background-color: #ffc107;
    color: #fff;
    border: none;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 0px;
    transition: all 0.3s ease;
    margin-left: auto;
    display: block;
}

.contacto-btn:hover {
    background-color: #e0a800;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 193, 7, 0.3);
}

.contacto-btn:active {
    transform: translateY(0);
}

/* Sección Licitaciones */
.licitaciones-section {
    background-color: #fff;
}

.licitaciones-title {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
    color: #666666;
}

.licitaciones-text {
    font-size: 1.5rem;
    color: #606060;
    line-height: 1.6;
    text-align: center;
}

.licitaciones-form .form-control {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 0.75rem;
    font-size: 1rem;
    color: #333;
}

.licitaciones-form .form-control:focus {
    border-color: #ffc107;
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25);
    outline: none;
}

.licitaciones-form textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.licitaciones-form .form-label {
    color: #606060;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.archivo-display {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    background-color: #fff;
    cursor: pointer;
}

.archivo-display:hover {
    background-color: #f8f9fa;
}

.btn-adjuntar {
    background-color: #bababa;
    color: #fff;
    border: none;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 1px solid #ddd;
}

.btn-adjuntar:hover {
    background-color: #a0a0a0;
    color: #fff;
}

.licitaciones-form .form-text {
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.5rem;
}

.licitaciones-btn {
    background-color: #ffc107;
    color: #fff;
    border: none;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 0px;
    transition: all 0.3s ease;
    margin-left: auto;
    display: block;
}

.licitaciones-btn:hover {
    background-color: #e0a800;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 193, 7, 0.3);
}

.licitaciones-btn:active {
    transform: translateY(0);
}

/* Sección Showroom */
.showroom-section {
    background-color: #000;
    color: #fff;
}

.showroom-video {
    border-radius: 0;
    max-width: 100%;
    height: auto;
    display: block;
}

.showroom-title {
    color: #ffc107;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.showroom-text {
    color: #fff;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.showroom-label {
    color: #fff;
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.showroom-direccion {
    color: #fff;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .showroom-title {
        font-size: 1.5rem;
    }
    
    .showroom-text {
        font-size: 1rem;
    }
    
    .showroom-video {
        margin-bottom: 2rem;
    }
}

/* Footer */
footer {
    background-color: #f8f9fa;
}

.footer-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
}

.footer-text {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-social-link {
    display: inline-block;
    transition: opacity 0.3s ease;
}

.footer-social-link:hover {
    opacity: 0.7;
}

.footer-social-icon {
    max-width: 40px;
    height: auto;
    display: block;
}

.footer-copyright {
    font-size: 0.85rem;
    color: #999;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

.footer-link {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #666;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer-title {
        font-size: 0.95rem;
    }
    
    .footer-text {
        font-size: 0.85rem;
    }
    
    .footer-social-icon {
        max-width: 35px;
    }
}

