/* ==========================================================================
   HOJA DE ESTILOS MAESTRA PARA FICHAS DE TERRENOS-INDUSTRIALES Y TERRENOS (DEPURADO)
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    background: rgba(47, 72, 95, 0.05);
}

.contenedor {
    padding: 10px 0;
    width: 98%;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
}

/* Encabezados y Títulos */
.titulo {
    color: #f2f2f2;
    background-color: #2f485f;
    border-left: 6px solid #f5bb3d;
    font-size: 30px;
    font-weight: 700;
    text-align: center;
    margin: 10px 0;
    padding: 15px 25px;
    border-radius: 0 12px 12px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: block;
    width: 100%;
}

/* ==========================================================================
   Header & Navegación Principal
   ========================================================================== */
header {
    width: 100%;
    background: rgba(47, 72, 95, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 1000;
    padding: 10px 0;
}

header nav {
    width: 100%;
}

.contenedor-nav {
    display: flex;
    margin: 5px auto;
    width: 92%;
    max-width: 1200px;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

/* Logos dentro del Header */
.terrenos-industriales-en-queretaro-logo,
.terrenos-industriales-en-queretaro-logo2 {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.img-logo-principal {
    width: 150px;
    height: 70px;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

.img-logo-secundario {
    width: 120px;
    height: 70px;
    object-fit: contain;
    border-radius: 25px;
    display: block;
    transition: transform 0.3s ease;
}

.img-logo-principal:hover,
.img-logo-secundario:hover {
    transform: scale(1.03);
}

/* Teléfono Celular Central */
.contenedor-nav h2 {
    font-size: 1.3rem;
    font-weight: 700;
    background: rgba(47, 72, 95, 0.08);
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid rgba(47, 72, 95, 0.15);
    white-space: nowrap;
}

.link-telefono-header {
    color: #2f485f;
    text-decoration: none;
    transition: color 0.3s ease;
}

.link-telefono-header:hover {
    color: #f5bb3d;
}

/* ==========================================================================
   Secciones de Contenido
   ========================================================================== */
main .sobre-nosotros {
    padding: 30px 0 10px 0;
}

.metros {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0 20px 0;
}

.cuadrados {
    color: #f2f2f2;
    background-color: #2f485f;
    border-left: 5px solid #f5bb3d;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    padding: 10px 20px;
    border-radius: 0 10px 10px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: inline-block;
    margin: 10px 0;
}

.sobre-nosotros p {
    padding: 0 0 20px 0;
    text-align: justify;
}

.contenedor-sobre-nosotros {
    display: flex;
    justify-content: space-evenly;
}

.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;
}

/* Tarjetas de Clientes & Footer */
.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: 18px;
    list-style: none;
}

footer {
    background: #2f485f;
    padding: 10px 0 30px 0;
    margin: auto;
    overflow: hidden;
}

.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: 1px 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;
}

/* Adaptación Responsiva */
@media screen and (max-width:900px) {
    .titulo { font-size: 24px; padding: 12px 20px; }
    .contenedor-nav { width: 95%; gap: 15px; }
    .contenedor-nav h2 { font-size: 1.25rem; padding: 8px 18px; }
    .contenedor-sobre-nosotros { flex-direction: column; align-items: center; }
    .sobre-nosotros .contenido-textos { width: 90%; }
    .cards { flex-direction: column; align-items: center; }
    .cards .card { width: 100%; margin-bottom: 15px; }
    .contenedor-footer { flex-direction: column; border: none; width: 97%; }
    .content-foo { margin-bottom: 20px; }
    .content-foo h4 { border: none; }
    .content-foo p { font-size: 15px; border-bottom: 1px solid #f2f2f2; padding-bottom: 20px; }
    .contenido-texto-card li {  font-size: 15px; }
    .cards .card > .contenido-texto-card {    width: 98%;   }
}

@media screen and (max-width:768px) {
    .contenedor-nav { flex-direction: column; gap: 15px; text-align: center; }
    .metros { flex-direction: column; gap: 10px; text-align: center; }
    .cuadrados { font-size: 20px; display: block; margin: 10px auto; }
    .img-logo-principal { width: 130px; height: auto; }
    .img-logo-secundario { width: 100px; height: auto; border-radius: 10px; }
}

@media screen and (max-width:500px) {
    .titulo { font-size: 20px; padding: 10px 15px; }
    .cuadrados { font-size: 18px; }
    .cards .card { height: 300px; flex-direction: column; }
    .cards .card img { width: 90px; height: 90px; }
}