html {
    scroll-behavior: smooth;
}

body {
    background: white;
    margin: 0;
    padding: 0;
    width: 100%;
    font-family: Arial, sans-serif;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Roboto+Condensed:wght@400;700&display=swap');

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    font-family: 'Montserrat', sans-serif;
    background-image: linear-gradient(rgba(144, 0, 0, 0.85), rgba(61, 11, 11, 0.9)), url('https://thriving-alpaca-f78733.netlify.app/img/img1.jpg');
    background-size: cover;
    background-position: center;
    height: 6rem;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.red-bar1 {
    background: #333;
    height: 2px;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-text {
    line-height: 1.2;
}

.logo-text h1 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo-text h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin: 0;
}

.logo-text p {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #ffd700;
    margin: 0;
    font-style: italic;
}

/* CONTENEDOR LED + MENÚ */
.nav-led-container {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
    width: 60%;
    padding: 3px;
}

/* LETRERO LED */
.led-banner {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    background: transparent;
    padding: 8px 0;
}

.led-text {
    display: inline-block;
    padding-left: 100%;
    animation: scroll 25s linear infinite;
    font-size: 16px;
    color: rgb(141, 141, 141);
    letter-spacing: 5px;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.led-separator {
    margin: 0 15px;
    color: rgb(141, 141, 141);
}

.navbar {
    display: flex;
    gap: 25px;
}

.navbar a {
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.navbar a:hover {
    color: #ffd700;
}

/* MENÚ HAMBURGUESA - ESTILOS PRINCIPALES */
#menu-bar {
    display: none;
}

.fa-bars {
    font-size: 24px;
    cursor: pointer;
    display: none;
    color: #ffd700;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 100;
}

#menu-bar:checked ~ .nav-led-container .navbar {
    display: flex;
}

/* DROPDOWN PARA ESCRITORIO */
.dropdown {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    font-size: 15px;
    font-weight: 600;
    color: white;
}

.dropdown-content {
    display: none;
    position: absolute;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    background-image: linear-gradient(rgba(144, 0, 0, 1), rgba(61, 11, 11, 1));
}

.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown input[type="checkbox"] {
    display: none;
}

.contact-info {
    text-align: right;
}

.contact-info p {
    color: white;
    margin-bottom: 5px;
    font-size: 14px;
}

.highlight {
    color: #ffd700;
    font-weight: bold;
}

/* CONTENIDO PRINCIPAL */
.contenedor-principal {
    display: flex;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

.titulo-nosotros {
    color: #900000;
    text-align: center;
    margin-bottom: 10px;
    font-size: 2rem;
}

.subtitulo {
    text-align: center;
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 40px;
    font-weight: 500;
}

/* Secciones */
.historia h2 {
    color: #900000;
    border-bottom: 2px solid #900000;
    padding-bottom: 5px;
    margin-top: 30px;
}

/* Listas y grids */
.valores {
    margin: 20px 0;
    padding-left: 20px;
}

.valores li {
    margin-bottom: 10px;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.servicio-item {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    transition: transform 0.3s;
}

.servicio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.servicio-item i {
    font-size: 2rem;
    color: #900000;
    margin-bottom: 10px;
}


.eslogan-final {
    font-weight: bold;
    text-align: center;
    font-size: 1.1rem;
    margin-top: 40px;
    color: #900000;
}

.sidebar-recomendaciones {
    width: 40%;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 20px;
    box-sizing: border-box;
    border-left: 4px solid white;
}

.recomendacion-titulo {
    border-bottom: 2px solid #900000;
    margin: 0 0 20px 0;
}

.recomendacion-titulo img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
    border: 1px solid #eee;
}

/* Estilos para oficinas - versión simple */
.oficinas-simple {
    max-width: 800px;
    margin: 30px auto;
}

.ubicacion {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.ubicacion:last-child {
    border-bottom: none;
}

.ubicacion h3 {
    color: #900000;
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.ubicacion h3 i {
    margin-right: 10px;
    color: #900000;
}

.ubicacion p {
    color: #555;
    line-height: 1.6;
    margin-left: 28px; /* Alineado con el texto */
}



/* MEDIA QUERIES PARA RESPONSIVE */
@media (max-width: 980px) {
    header {
        padding: 10px;
        height: auto;
        flex-direction: column;
        position: relative;
    }
    
    .logo-container, 
    .contact-info {
        width: 100%;
        text-align: center;
    }
    
    .contact-info {
        margin-top: 10px;
        text-align: center;
    }
    
    .fa-bars {
        display: block;
    }
    
    .nav-led-container {
        width: 100%;
        order: 3;
        margin-top: 10px;
        padding: 0;
    }
    
    .navbar {
        display: none;
        width: 100%;
       
        position: absolute;
        top: 100%;
        left: 0;
        padding: 15px 0;
        z-index: 99;
        flex-direction: column;
        align-items: center;
         background-image: linear-gradient(rgba(100, 0, 0, 0.85), rgba(61, 11, 11, 0.9)), url('https://thriving-alpaca-f78733.netlify.app/img/img1.jpg');
    }
    
    #menu-bar:checked + label + .nav-led-container .navbar {
        display: flex;
    }
    
    .navbar a {
        padding: 10px 0;
        width: 100%;
        text-align: center;
    }
    
    .dropdown {
        width: 100%;
        text-align: center;
    }
    
    .dropdown-content {
        position: static;
        width: 100%;
        box-shadow: none;
        display: none;
    }
    
    #tesis-submenu:checked + label + .dropdown-content {
        display: block;
    }
    
    .dropdown label {
        display: block;
        padding: 10px;
        cursor: pointer;
    }
    
    .contenedor-principal {
        flex-direction: column;
    }
    
    .contenido-principal,
    .sidebar-recomendaciones {
        width: 100%;
    }
    
    .sidebar-recomendaciones {
        margin-top: 30px;
    }
}

@media (max-width: 480px) {
    .logo-text h2 {
        font-size: 1.3rem;
    }
    
    .contact-info p {
        font-size: 0.8rem;
    }
    
    .navbar a {
        font-size: 0.9rem;
    }
    
    .contenido-principal,
    .sidebar-recomendaciones {
        padding: 20px 15px;
    }
    
    .whatsapp-link {
        font-size: 0.9rem;
        padding: 8px 12px;
    }
     .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-link-float {
        width: 50px;
        height: 50px;
        font-size: 25px;

    }
     .ubicacion h3 {
        font-size: 1.1rem;
    }
    
    .ubicacion p {
        font-size: 0.95rem;
    }
    
}
/* Burbuja flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    z-index: 100;
}

.whatsapp-link-float {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    font-size: 30px;
    text-decoration: none !important; /* Esto elimina el subrayado */
}

.whatsapp-link-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Efecto de latido (opcional) */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.whatsapp-link-float {
    animation: pulse 2s infinite;
}


@media (max-width: 1300px) {
  .navbar a, .dropbtn {
    font-size: 10px;
    padding: 2px 2px;
  }
}