* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    background: rgba(47, 72, 95, 0.05);
}

.contenedor {
    padding: 30px 0;
    width: 98%;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
}

/* ==========================================================================
   TÍTULOS: Formato Premium unificado con fondo oscuro y borde dorado
   ========================================================================== */
.titulo {
    color: #f2f2f2; /* Letras blancas con toque gris para máxima elegancia */
    background-color: #2f485f; /* Fondo azul oscuro premium corporativo */
    border-left: 6px solid #f5bb3d; /* Tu borde dorado característico */
    font-size: 30px;
    font-weight: 700;
    text-align: center; /* Alineado a la izquierda para el diseño de barra vertical */
    margin: 10px 0;
    padding: 15px 25px;
    border-radius: 0 12px 12px 0; /* Suavizado en las esquinas derechas */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* Sombra que le da relieve */
    display: block;
    width: 100%;
}

.titulo_amenidades {
    font-size: 20px;    
    text-align: left;
    margin-bottom: 20px;
    margin-top: 20px;
}

/* ==========================================================================
   HEADER Y NAV REALINEADOS Y REDISEÑADOS COMPLEMENTARIOS AL HOLOGRAMA
   ========================================================================== */

header {
    width: 100%;
    background: #ffffff; /* Fondo blanco limpio para hacer resaltar los logos corporativos */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); /* Sombra suave de profundidad */
    position: relative;
    z-index: 1000;
}

nav.renta_de_bodegas_en_toluca {
    width: 100%;
    height: auto;
    min-height: 100px;
    display: flex;
    align-items: center;
    padding: 15px 0;
}

.contenedor-nav {
    display: flex;
    margin: auto;
    width: 92%;
    max-width: 1200px; /* Alineado perfectamente al ancho maestro del sitio */
    justify-content: space-between; /* Separa los extremos de forma simétrica */
    align-items: center;
    gap: 20px;
}

/* Contenedor del logotipo principal izquierdo */
.renta_de_bodegas_industriales_en_toluca {
    flex-shrink: 0;
}

.renta_de_bodegas_industriales_en_toluca img {
    height: 75px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
}

.renta_de_bodegas_industriales_en_toluca img:hover {
    transform: scale(1.02); /* Efecto sutil al pasar el cursor */
}

/* NUEVOS ESTILOS: Botones adicionales (Copa y Balón) para PC/Laptop */
.nav-extra-btn {
    display: inline-block;
    flex-shrink: 0;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.nav-extra-btn img {
    width: 60px; /* Tamaño equilibrado para PC */
    height: 60px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    display: block;
}

.nav-extra-btn:hover {
    transform: translateY(-3px) scale(1.05);
    filter: drop-shadow(0 6px 12px rgba(47, 72, 95, 0.2));
}

/* Estilización del Teléfono Celular Central */
.contenedor-nav h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2f485f; /* Color institucional extraído de tus tarjetas */
    background: rgba(47, 72, 95, 0.08);
    padding: 10px 24px;
    border-radius: 50px;
    border: 1px solid rgba(47, 72, 95, 0.15);
    letter-spacing: 0.5px;
    white-space: nowrap;
    text-shadow: none;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.02);
}

/* Contenedor del Logotipo Secundario Derecho (Sello de Calidad) */
.renta_de_bodegas_industriales_en_toluca2 {
    flex-shrink: 0;
}

.renta_de_bodegas_industriales_en_toluca2 img {
    height: 50px; /* Incrementado sutilmente para balancear pesos visuales con el logo principal */
    width: auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-radius: 14px;
    display: block;
}

.renta_de_bodegas_industriales_en_toluca2 img:hover {
    transform: scale(1.03); /* Efecto sutil al pasar el cursor */
}

header .textos-header {
    display: flex;
    height: 400px;
    width: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.textos-header h1 {
    font-size: 50px;
    color: #fff;
}

.textos-header h2 {
    font-size: 30px;
    font-weight: 400;
    color: #fff;
}

/* ==========================================================================
   RESTO DE SECCIONES INTERNAS
   ========================================================================== */

main .sobre-nosotros {
    padding: 30px 0 10px 0;
}

.metros {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0 20px 0;
}

/* ==========================================================================
   MODIFICACIÓN: Formato Premium y Destacado para el Bloque de Precios
   ========================================================================== */
.cuadrados {
    color: #f2f2f2;
    background-color: #2f485f; /* Mismo fondo de identidad visual */
    border-left: 5px solid #f5bb3d; /* Tu dorado distintivo */
    font-size: 24px;
    font-weight: 700;
    text-align: center; /* Centrado para que luzca simétrico e impactante */
    padding: 10px 20px;
    border-radius: 0 10px 10px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: inline-block; /* Compacto, se adapta al tamaño del texto */
    margin: 10px 0;
}

.sobre-nosotros p {
    padding: 0 0 20px 0;
    text-align: justify;
}

.contenedor-sobre-nosotros {
    display: flex;
    justify-content: space-evenly;
}

.imagen-about-us {
    width: 40%;
    background-color: blue;
}

.sobre-nosotros .contenido-textos {
    width: 75%;
}

.contenido-textos h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

.contenido-textos p {
    padding: 0px 0px 30px 15px;
    font-weight: 400;
    text-align: justify;
}

.contenido-textos li {
    padding: 0px 0px 10px 15px;
    text-align: justify;
}

.sobre-nosotros h6 {
    padding: 20px;
    font-size: 18px;
    text-align: justify;
}

/* Galeria */
.portafolio {
    background: #f2f2f2;
}

.galeria-port {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.imagen-port {
    width: 24%;
    margin-bottom: 10px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, .5);
}

.imagen-port > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hover-galeria {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    transform: scale(0);
    background: hsla(273,91%,27%, 0.7);
    transition: transform .5s;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.hover-galeria img {
    width: 50px;
}

.hover-galeria p {
    color: #fff;
}

.imagen-port:hover .hover-galeria {
    transform: scale(1);
}

/* Our team */
.about-services {
    background: rgba(47, 72, 95, 0.1);
}

.about-services2 {
    background: rgba(47, 72, 95, 0.1);
    padding-bottom: 30px;
}
 
.precio {
    display: flex;
    margin: 10px 20px 10px 20px;
    justify-content: space-between;
    align-items: center;
}

.servicio-ind {
    width: 10%;
    text-align: center;
    overflow: hidden;
    margin: 0 0 5px 0 ;
}

.servicio-ind img {
    width: 90%;
    height: 100px;
    object-fit: cover;
    transition: transform 0.3s;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, .5);
}

.servicio-ind a:hover img {
    transform: rotate(0deg) scale(1.1);
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.1);
}

.light-box2 {
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.719);
    transition: transform 0.3s step-end;
    width: 100%;
    height: 100vh;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    transform: scale(0);
}

.light-box2 img {
    max-height: 85vh;
    border-radius: 20px;
    box-shadow: 0 6px 6px 0 rgba(0,0,0,0.5);
}

.light-box2:target {
    transform: scale(1);
}

.close2 {
    display: block;
    position: absolute;
    top: 20px;
    margin: auto;
    background: red;
    color: #fff;
    text-decoration: none;
    text-align: center;
    line-height: 30px;
    border-radius: 15px;
    padding: 2px 10px;
}

.next2 {
    display: block;
    position: absolute;
    top: 20px;
    left: 50px;    
    background-color: seagreen;
    color: #fff;    
    text-decoration: none;
    height: 40px;
    width: 40px;
    text-align: center;
    line-height: 40px;
    font-size: 25px;
    border-radius: 15px;
}

.next22 {
    display: block;
    position: absolute;
    top: 20px;
    right: 50px;
    background-color: seagreen;
    color: #fff;    
    text-decoration: none;
    height: 40px;
    width: 40px;
    text-align: center;
    line-height: 40px;
    font-size: 25px;
    border-radius: 15px;
}

.servicio-ind h3 {
    margin: 10px 0;
}

.servicio-ind h4 {
    margin: 10px 10px 10px 20px;
    color: seagreen;
    text-align: left;
}

.servicio-ind h5 {
    font-size: 18px;    
}

.servicio-ind p {
    font-weight: 300;
    text-align: justify;
    margin: 0px 20px;
}

/* Clients */
.clientes {
    background: #2f485f;
}

.cards {
    display: flex;
    justify-content: space-evenly;
}

.cards .card {
    background: #a2a1eb1e;
    display: flex;
    width: 49%;
    height: 250px;
    align-items: center;
    justify-content: space-evenly;
    border-radius: 5px;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.6);
}

.cards .card img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.cards .card > .contenido-texto-card {
    width: 60%;
    color: #fff;
}

.contenido-texto-card li {
    font-weight: 300;
    padding-top: 15px;
    font-size: 17px;
    text-decoration-style: none;
}

/* footer */
footer {
    background: #2f485f;
    padding: 10px 0 30px 0;
    margin: auto;
    overflow: hidden;
}

.renta_bodega_toluca333 a {
    color: #414141;
    text-decoration: none;
}

.contenedor-footer {
    display: flex;
    width: 90%;
    justify-content: space-evenly;
    margin: auto;
    padding-bottom: 40px;
    border-bottom: 1px solid #ccc;
}

.content-foo {
    text-align: center;
}

.content-foo h4 {
    color: #fff;
    border-bottom: 3px solid #f5bb3d;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.content-foo p {
    color: #ccc;
    font-size: 22px;
}

.titulo-final {
    text-align: center;
    font-size: 24px;
    margin: 20px 0 0 0;
    color: #9e9797;
}

/* ==========================================================================
   MEDIA QUERIES - RESPONSIVO OPTIMIZADO PARA EL NUEVO TÍTULO Y PRECIOS
   ========================================================================== */

@media screen and (max-width:900px) {
    header {
        background-position: center;
    }

    /* Adaptación del título en tablets */
    .titulo {
        font-size: 24px;
        padding: 12px 20px;
    }

    /* OCULTAR COMPLETAMENTE LOS BOTONES DE COPA Y BALÓN EN CELULARES Y TABLETS */
    .nav-extra-btn {
        display: none !important;
    }

    /* Ajuste en tablets de la navegación */
    .contenedor-nav {
        width: 95%;
        gap: 15px;
    }
    
    .contenedor-nav h2 {
        font-size: 1.25rem;
        padding: 8px 18px;
    }

    .renta_de_bodegas_industriales_en_toluca img {
        height: 65px;
    }

    .renta_de_bodegas_industriales_en_toluca2 img {
        height: 45px;
    }

    .sobre-nosotros p {
        margin: auto;
        text-align: justify ;
        width: 95%;
    }

    .contenedor-sobre-nosotros {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .sobre-nosotros .contenido-textos {
        width: 90%;
    }

    .imagen-about-us {
        width: 90%;
    }

    .imagen-port {
        width: 44%;
    }

    .cards {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .cards .card {
        width: 100%;
    }

    .cards .card:first-child {
        margin-bottom: 30px;
    }

    .servicio-ind {
        width: 20%;
        text-align: center;
    }

    .servicio-ind img {
        width: 90%;
        height: 60%;
    }

    .contenedor-footer {
        flex-direction: column;
        border: none;
        width: 97%;
    }

    .content-foo {
        margin-bottom: 20px;
        text-align: center;
    }

    .content-foo h4 {
        border: none;
    }

    .content-foo p {
        color: #ccc;
        font-size: 18px;
        border-bottom: 1px solid #f2f2f2;
        padding-bottom: 20px;
    }

    .titulo-final {
        font-size: 20px;
    }
}

@media screen and (max-width:768px) {
    /* Reajuste vertical armónico para pantallas móviles */
    header {
        height: auto;
    }
    
    nav.renta_de_bodegas_en_toluca {
        padding: 20px 0;
    }

    .contenedor-nav {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 15px;
        text-align: center;
    }

    .renta_de_bodegas_industriales_en_toluca img {
        height: 60px;
        margin: 0;
    }

    .contenedor-nav h2 {
        font-size: 1.2rem;
        padding: 6px 20px;
        margin: 5px 0;
    }

    .renta_de_bodegas_industriales_en_toluca2 img {
        height: 40px;
        margin: 0;
    }

    .metros {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .cuadrados {
        font-size: 20px;
        display: block; /* Ocupa el ancho completo centrado en móviles */
        max-width: 280px;
        margin: 10px auto;
    }

    .light-box2 img {
        max-width: 85vw;
        border-radius: 20px;
        box-shadow: 0 6px 6px 0 rgba(0,0,0,0.5);
    }
}

@media screen and (max-width:500px) {
    nav {
        text-align: center;
    }

    /* Adaptación del título en smartphones */
    .titulo {
        font-size: 20px;
        padding: 10px 15px;
        border-left-width: 5px;
    }

    .cuadrados {
        font-size: 18px;
    }

    nav > a {
        margin-right: 5px;
    }

    .textos-header h1 {
        font-size: 35px;
    }

    .textos-header h2 {
        font-size: 25px;
    }

    .imagen-about-us {
        margin-bottom: 60px;
        width: 99%;
    }

    .sobre-nosotros .contenido-textos {
        width: 95%;
    }

    .imagen-port {
        width: 95%;
    }

    .cards .card {
        height: 300px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .cards .card img {
        width: 90px;
        height: 90px;
    }

    .cards .card > .contenido-texto-card {
        width: 83%;
    }
}