/* ==========================================================================
   HOJA DE ESTILOS UNIFICADA Y DEPURADA - PORTADA (index.php)
   A.R.C. INMOBILIARIA
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
}

.contenedor {
    padding: 30px 0;
    width: 97%;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
}

/* ==========================================================================
   FORMATO PREMIUM: Encabezados de Sección
   ========================================================================== */
.titulo {
    color: #f2f2f2;
    background-color: rgba(47, 72, 95, .85);
    border-left: 15px solid #f5bb3d;
    font-size: 30px;
    font-weight: 700;
    text-align: center;
    margin: 20px 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%;
}

/* ==========================================================================
   BOTONES DE FILTRADO, ANUNCIO Y FONDOS MATES OPACOS (SIN BRILLOS MOLESTOS)
   ========================================================================== */
.contenedor-filtros {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 25px 0 15px 0;
    flex-wrap: wrap;
}

.contenedor-filtros-inferior {
    margin: 20px 0 10px 0;
    padding-top: 15px;
}

/* Botón estado normal (Sin destellos ni brillos) */
.btn-filtro {
    background-color: #2f485f;
    color: #ffffff;
    border: 2px solid #3d5a73;
    padding: 12px 22px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    outline: none;
    text-transform: none;
    letter-spacing: 0.3px;
    box-shadow: none; /* Eliminado cualquier brillo o sombra pesada */
}

.btn-filtro:hover {
    background-color: #3d5a73;
    border-color: #f5bb3d;
}

/* ESTADO ACTIVO - CUALQUIER CATEGORÍA SELECCIONADA (Verde Olivo / Mate Sobrio) */
.btn-filtro.btn-menores.active,
.btn-filtro.btn-mayores.active,
.btn-filtro.btn-todas.active {
    background-color: #2a5a44;
    color: #ffffff;
    border-color: #3b7a5d;
}

/* ANUNCIO INFORMATIVO MATES SIN BRILLO */
.anuncio-filtro {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a252f;
    background-color: rgba(255, 255, 255, 0.92);
    border-left: 6px solid #2f485f;
    padding: 12px 20px;
    margin: 15px auto 30px auto;
    max-width: 700px;
    border-radius: 6px;
    border-top: 1px solid #dcdcdc;
    border-right: 1px solid #dcdcdc;
    border-bottom: 1px solid #dcdcdc;
    transition: all 0.3s ease;
}

.anuncio-filtro.oculto {
    display: none;
}

/* FONDOS MATES OPACOS Y DEFINIDOS QUE NO LASTIMAN LA VISTA */
.about-services {
    padding-bottom: 30px;
    transition: background-color 0.5s ease;
}

/* Fondo por defecto / Todas */
.about-services.fondo-todas {
    background-color: rgba(47, 72, 95, 0.08);
}

/* Fondo opaco definido para Menores a 5000m² (Verde Mate Suave) */
.about-services.fondo-menores {
    background-color: #dfede5;
}

.about-services.fondo-menores .anuncio-filtro {
    border-left-color: #2a5a44;
}

/* Fondo opaco definido para Mayores a 5000m² (Azul Mate Suave) */
.about-services.fondo-mayores {
    background-color: #dde6ed;
}

.about-services.fondo-mayores .anuncio-filtro {
    border-left-color: #1e3a52;
}

/* ANIMACIÓN SUAVE DE TARJETAS */
@keyframes fadeInSuave {
    0% {
        opacity: 0;
        transform: translateY(12px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   HEADER & FONDO DINÁMICO
   ========================================================================== */
header {
    width: 100%;
    height: 95vh;
    position: relative;
    overflow: hidden;
}

header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.05);
    z-index: 5;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../renta_de_bodegas_en_toluca/renta-de-bodegas-en-toluca.jpg') no-repeat center center / cover;
    background-attachment: scroll;
    animation: zoomEffect 60s infinite alternate;
    z-index: -1;
}

@keyframes zoomEffect {
    from { transform: scale(1); }
    to { transform: scale(1.3); }
}

/* Navegación y Logos */
nav {
    width: 100%;
}

.renta_de_bodegas_en_toluca {
    height: 150px;
    position: relative;
    z-index: 2;
}

.contenedor-nav {
    display: flex;
    margin: auto;
    height: 150px;
    width: 90%;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    overflow: hidden;
}

.renta_de_bodegas_industriales_en_toluca img {
    height: 100px;
    box-shadow: 0 0 10px 0 rgba(228, 222, 222, 0.2);
    background: rgba(226, 228, 231, 0.5);
    border-radius: 20px;
}

/* Textos de Impacto en Header */
.textos-header-nuevo {
    text-align: center;
    padding: 10px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 10;
}

.titulo-principal {
    background: rgba(47, 72, 95, 0.8);
    color: rgb(201, 198, 198);
    padding: 10px;
    border-radius: 20px;
    border-left: 12px solid #c7a005;
    font-size: 55px;
    margin-bottom: 50px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}

.titulo-secundario {
    background: rgba(47, 72, 95, 0.8);
    color: rgb(201, 198, 198);
    padding: 10px;
    border-radius: 20px;
    border-left: 12px solid #c7a005;
    font-size: 35px;
    margin-bottom: 50px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}

.cuadro-impacto {
    background: rgba(16, 23, 29, 0.7);
    color: rgb(226, 219, 219);
    padding: 32px;
    border-radius: 20px;
    border-left: 12px solid #c7a005;
    max-width: 640px;
    width: 90%;
    box-shadow: 0 25px 50px rgba(0,0,0,0.7);
    margin-bottom: 40px;
}

.cuadro-impacto h2 {
    font-size: 1.2rem;
    letter-spacing: 3px;
    margin-bottom: 15px;
    font-weight: 500;
}

.txt-principal {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.4;
}

.txt-principal span {
    color: #ffcc00;
}

.txt-secundario {
    font-size: 1.4rem;
    margin-top: 20px;
    color: #cccccc;
    font-weight: 300;
    max-width: 700px;
}

.datos-contacto-header {
    background: rgba(190, 154, 6, 0.8);
    padding: 20px;
    font-size: 1.5rem;
    border-radius: 20px;
    margin-bottom: 40px;
}

.datos-contacto-header p {
    margin: 5px 0;
}

.link-contacto {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.link-contacto:hover {
    opacity: 0.85;
    text-decoration: underline;
}

/* Secuencia de Animación Cascada */
.titulo-principal,
.titulo-secundario,
.cuadro-impacto,
.datos-contacto-header {
    opacity: 0;
    transform: translateY(20px);
}

.titulo-principal { animation: revelarCascada 0.8s ease-out 0s forwards; }
.titulo-secundario { animation: revelarCascada 0.8s ease-out 0.2s forwards; }
.cuadro-impacto { animation: revelarCascada 0.8s ease-out 0.4s forwards; }
.datos-contacto-header { animation: revelarCascada 0.8s ease-out 0.6s forwards; }

@keyframes revelarCascada {
    0% {
        opacity: 0;
        transform: translateY(20px);
        filter: blur(5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

/* ==========================================================================
   BOTONES FLOTANTES DE NAVEGACIÓN
   ========================================================================== */
.contenedor-balon-estatico {
    position: absolute;
    top: 25px;
    right: 150px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 99999;
}

.boton-balon-flotante, 
.boton-copa-flotante, 
.boton-orbita-flotante, 
.boton-lista-flotante {
    display: block;
    width: 66px;
    height: 66px;
    cursor: pointer;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0px 5px 18px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: pulsoBalon 2.5s infinite ease-in-out;
    border-radius: 50%;
}

.boton-orbita-flotante { background-image: url('../imagenes-de-fondo/bodegas-toluca-2026.jpg'); }
.boton-lista-flotante { background-image: url('../imagenes-de-fondo/lista-bodegas-en-toluca.jpg'); }
.boton-copa-flotante { background-image: url('../imagenes-de-fondo/copa.jpg'); }
.boton-balon-flotante { background-image: url('../imagenes-de-fondo/baloncito.jpg'); }

.boton-balon-flotante:hover, 
.boton-copa-flotante:hover, 
.boton-orbita-flotante:hover, 
.boton-lista-flotante:hover {
    transform: scale(1.20) rotate(15deg);
    box-shadow: 0px 8px 25px rgba(201, 152, 30, 0.85);
}

@keyframes pulsoBalon {
    0% { box-shadow: 0 0 0 0 rgba(201, 152, 30, 0.9); }
    70% { box-shadow: 0 0 0 18px rgba(201, 152, 30, 0); }
    100% { box-shadow: 0 0 0 0 rgba(201, 152, 30, 0); }
}

/* ==========================================================================
   SECCIÓN: TARJETAS DE SERVICIOS E INMUEBLES
   ========================================================================== */
.servicio-cont {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.servicio-ind {
    width: 33%;
    text-align: center;
    overflow: hidden;
    height: 400px;
    margin: 0 0 40px 0;
    border: 1px solid #b8b1b1;
    border-left: 3px solid #67686b;
    border-radius: 15px;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.08);
    padding: 20px;
    background-color: #ffffff;
}

.servicio-ind img {
    width: 90%;
    object-fit: cover;
    transition: transform 0.3s;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, .9);
    border-radius: 20px;
}

.servicio-ind a:hover img {
    transform: rotate(1deg) scale(1.1);
    box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.9);
}

.servicio-ind h3 {
    margin: 10px 0;
    font-size: 17px;
}

.servicio-ind h4 {
    margin: 10px 10px 10px 20px;
    color: seagreen;
    text-align: left;
}

.servicio-ind h5 {
    font-size: 15px;
}

.servicio-ind p {
    font-weight: 300;
    text-align: justify;
    margin: 0px 20px;
}

.precio {
    display: flex;
    margin: 10px 20px;
    justify-content: space-between;
    align-items: center;
}

.about-service2 {
    background: rgba(47, 72, 95, 0.1);
}

/* ==========================================================================
   SECCIÓN: SELECCIÓN DE FORMATOS Y CATÁLOGOS
   ========================================================================== */
.modos-de-busqueda {
    background: linear-gradient(135deg, 
                rgba(0, 104, 71, 0.85) 0%, 
                rgba(0, 104, 71, 0.65) 26%, 
                rgba(225, 230, 232, 0.90) 38%, 
                rgba(215, 222, 226, 0.94) 50%, 
                rgba(225, 230, 232, 0.90) 62%, 
                rgba(206, 17, 38, 0.65) 74%, 
                rgba(206, 17, 38, 0.85) 100%), 
                radial-gradient(circle at 50% 50%, #dbe0e4 0%, #c8ced4 100%);
    background-size: cover;
    background-position: center;
    padding: 55px 0 65px 0;
    width: 100%;
    border-top: 5px solid #006847;
    border-bottom: 5px solid #ce1126;
    box-shadow: 0px 10px 40px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
}

.modos-de-busqueda::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.15), transparent 70%);
    pointer-events: none;
}

.modos-de-busqueda .titulo-resaltado {
    font-size: 34px;
    text-align: center;
    margin-bottom: 28px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #111e15;
    text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.8), 0 4px 14px rgba(0, 0, 0, 0.3);
}

.modos-de-busqueda .titulo-resaltado::after {
    content: "";
    display: block;
    width: 160px;
    height: 5px;
    background: linear-gradient(to right, #006847 33.3%, #c0c7ce 33.3%, #ffffff 66.6%, #ce1126 66.6%);
    margin: 14px auto 0 auto;
    border-radius: 4px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.contenedor-modos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
    width: 96%;
    flex-wrap: wrap;
}

.bloque-busqueda {
    width: 235px;
    height: 235px;
    flex-shrink: 0;
    position: relative;
    border-radius: 20px;
    border: 4px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0px 14px 30px rgba(0, 0, 0, 0.35);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
    overflow: hidden;
    background: #111720;
}

.bloque-busqueda a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    text-decoration: none;
}

.bloque-busqueda img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease, filter 0.3s ease;
}

.bloque-busqueda:hover {
    transform: translateY(-8px) scale(1.05);
    border-color: #f5bb3d;
    box-shadow: 0px 0px 25px rgba(0, 104, 71, 0.85), 
                0px 0px 25px rgba(206, 17, 38, 0.85), 
                0px 18px 30px rgba(0, 0, 0, 0.5);
}

.bloque-busqueda:hover img {
    transform: scale(1.08);
    filter: brightness(1.08);
}

.bloque-busqueda::after {
    content: "VER CATÁLOGO";
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #111720;
    color: #ffffff;
    border: 1.5px solid #f5bb3d;
    padding: 5px 12px;
    border-radius: 16px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    white-space: nowrap;
}

.bloque-busqueda:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   SECCIÓN: TARJETAS DE CONTACTO & 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: 17px;
    list-style: none;
}

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;
}

/* ==========================================================================
   DISEÑO RESPONSIVO Y REGLAS DE NAVEGACIÓN
   ========================================================================== */
@media screen and (max-width: 1050px) {
    .modos-de-busqueda { display: none !important; }
}

@media screen and (max-width: 1000px) {
    .titulo-principal { font-size: 45px; margin-bottom: 30px; }
    .titulo-secundario { font-size: 35px; }
    .txt-principal { font-size: 1.5rem; }
    .cuadro-impacto { padding: 20px; }
    .txt-secundario { font-size: 19px; }
}

@media screen and (max-width: 900px) {
    header { background-position: center; }
    .titulo { font-size: 24px; padding: 12px 20px; }
    .cards { flex-direction: column; justify-content: center; align-items: center; }
    .cards .card { width: 100%; }
    .cards .card:first-child { margin-bottom: 30px; }
    .servicio-cont { justify-content: center; flex-direction: column; }
    .servicio-ind { width: 100%; text-align: center; height: 600px; }
    .servicio-ind:nth-child(1), .servicio-ind:nth-child(2) { margin-bottom: 20px; }
    .servicio-ind img { width: 85%; }
    .contenedor-footer { flex-direction: column; border: none; padding-bottom: 1px; width: 98%; }
    .content-foo { margin-bottom: 20px; text-align: center; }
    .content-foo h4 { border: none; }
    .content-foo p { font-size: 18px; border-bottom: 1px solid #f2f2f2; padding-bottom: 20px; }
    .titulo-final { font-size: 20px; margin: 0; }
}

@media screen and (max-width: 800px) {
    .servicio-ind { height: 550px; }
    .titulo-principal { font-size: 40px; }
    .titulo-secundario { font-size: 30px; }
    .txt-principal { font-size: 1.5rem; }
    .cuadro-impacto { padding: 20px; margin-top: 50px; }
    .txt-secundario { font-size: 19px; }
}

@media screen and (max-width: 768px) {
    .ocultar-en-movil { display: none !important; }
    
    /* OCULTAR BOTONES INFERIORES EN CELULARES Y TABLETS */
    .contenedor-filtros-inferior { 
        display: none !important; 
    }

    .titulo-principal,
    .titulo-secundario,
    .cuadro-impacto,
    .datos-contacto-header {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
        filter: none !important;
    }
    .contenedor-filtros {
        flex-direction: column;
        gap: 10px;
    }
    .btn-filtro {
        width: 100%;
    }
}

@media screen and (max-width: 700px) {
    .servicio-ind { height: 500px; }
    .datos-contacto-header { font-size: 1.1rem; }
}

@media screen and (max-width: 650px) {
    .titulo-principal { font-size: 35px; }
    .titulo-secundario { font-size: 25px; }
    .txt-principal { font-size: 1.4rem; }
    .cuadro-impacto { padding: 10px; }
    .txt-secundario { font-size: 18px; }
}

@media screen and (max-width: 600px) {
    .servicio-ind { height: 450px; }
}

@media screen and (max-width: 500px) {
    .contenedor-nav { height: 150px; }
    nav { text-align: center; }
    .titulo { font-size: 20px; padding: 10px 15px; border-left-width: 5px; }
    .renta_de_bodegas_industriales_en_toluca img { height: 80px; }
    .titulo-principal { font-size: 30px; margin-bottom: 20px; }
    .titulo-secundario { font-size: 20px; }
    .txt-principal { font-size: 1.2rem; }
    .txt-secundario { font-size: 17px; }
    .cards .card { height: 300px; flex-direction: column; align-items: center; }
    .cards .card img { width: 90px; height: 90px; }
    .cards .card > .contenido-texto-card { width: 83%; }
}

@media screen and (max-width: 400px) {
    .renta_de_bodegas_industriales_en_toluca img { height: 70px; }
    .titulo-principal { font-size: 25px; margin-bottom: 15px; }
    .titulo-secundario { font-size: 18px; }
    .txt-principal { font-size: 1.1rem; }
    .txt-secundario { font-size: 16px; }
}

@media screen and (max-height: 750px) and (min-width: 1001px) {
    .renta_de_bodegas_en_toluca, .contenedor-nav { height: 100px; }
    .renta_de_bodegas_industriales_en_toluca img { height: 75px; }
    .titulo-principal { font-size: 42px; margin-bottom: 20px; }
    .titulo-secundario { font-size: 28px; margin-bottom: 20px; }
    .cuadro-impacto { padding: 20px; margin-bottom: 20px; max-width: 580px;  }
    .txt-principal { font-size: 1.3rem; }
    .datos-contacto-header { margin-bottom: 10px; padding: 10px 20px; }
}