/* ========================================================
   VALENCIA GESTIÓN INMOBILIARIA - ESTILOS PERSONALIZADOS
   Centralización de estilos para cabecera, menú y móviles
   ======================================================== */

.font-face-bold {
    font-family: 'neuehanskendrick-bold';
    letter-spacing: 1pt;
}

.font-face-regular {
    font-family: 'neuehanskendrick-regular';
    letter-spacing: 1pt;
}

.font-face-regular-piepagina {
    font-family: 'neuehanskendrick-regular';
    letter-spacing: 1pt;
    font-size: 11px;
    color: #b3b1b1;
}

.font-face-regularHeader {
    font-family: 'neuehanskendrick-regular';
    letter-spacing: 1.2pt;
    font-size: 0.7rem;
}

.font-face-extraBold {
    font-family: 'neuehanskendrick-extrabold';
    letter-spacing: 1pt;
}

.navbar-mobile .nav-link span {
    font-size: 28px;
}

.amarillo {
    filter: brightness(200%) hue-rotate(60deg);
}

.carousel-indicators.custom-indicators,
.carousel-indicators.custom-indicators4,
.carousel-indicators.custom-indicators5 {
    position: static;
    display: flex;
    justify-content: center;
    margin: 1rem 0;
    padding: 0;
    gap: 10px;
}

.carousel-indicators.custom-indicators button,
.carousel-indicators.custom-indicators4 button,
.carousel-indicators.custom-indicators5 button {
    width: 40px;
    height: 4px;
    background-color: #000;
    opacity: 0.3;
    border: none;
    transition: opacity 0.3s ease;
}

.carousel-indicators.custom-indicators button.active,
.carousel-indicators.custom-indicators4 button.active,
.carousel-indicators.custom-indicators5 button.active {
    opacity: 1;
}

.custom-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 10000;
}

.custom-toggle .hamburger-bar {
    width: 100%;
    height: 3px;
    background-color: white;
    border-radius: 2px;
}

.cerrar-menu-movil {
    font-size: 32px;
    color: black;
    text-decoration: none;
    position: absolute;
    top: 15px;
    right: 20px;
    z-index: 10000;
    background: transparent;
    border: none;
    cursor: pointer;
}

@media (max-width: 767.98px) {
    .mt-mobile-0 {
        margin-top: 30px !important;
    }
    .solo-escritorio {
        display: none !important;
    }
    .solo-movil {
        display: block !important;
    }
}

@media (min-width: 768px) {
    .solo-escritorio {
        display: block !important;
    }
    .solo-movil {
        display: none !important;
    }
}

.img-frase {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.banner-proyectos {
    background: url("../imagen/portada/FOTO-PORTADA-PAG-WEB-2.jpg") center center no-repeat;
    background-size: cover;
    width: 100%;
    height: 319px;
}

@media (max-width: 768px) {
    .banner-proyectos {
        background: none;
        height: 0px;
        margin-bottom: -30px;
    }
}

@media (max-width: 480px) {
    .banner-proyectos {
        background: none;
        height: 0px;
        margin-bottom: -30px;
    }
}

/* Tabs */
.tab-link {
    text-decoration: none;
    color: #333;
    position: relative;
    padding-bottom: 8px;
    transition: all 0.3s ease;
    font-family: 'neuehanskendrick-bold', 'neuehanskendrick-regular', sans-serif;
    font-weight: bold;
    font-size: 1.25rem;
    letter-spacing: 1.2pt;
    line-height: 1.2;
    cursor: pointer;
}

.tab-link:hover {
    text-decoration: none;
    color: #000;
}

.tab-link.active-tab {
    color: #000;
}

.tab-link.active-tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #000;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .pt-20 {
        padding-top: 10px !important;
    }
}

.boton_cotizar_blanco {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    color: #FFFFFF !important;
    background-color: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 0;
    text-decoration: none;
    font-size: 0.75rem;
    letter-spacing: 1pt;
    transition: all 0.3s ease;
}

.boton_cotizar_blanco:hover {
    background-color: #FFFFFF;
    color: #000000 !important;
    text-decoration: none;
}

/* ===== COLOR DE FONDO OSCURO OFICIAL (#272727) ===== */
.navbar-top.bg-dark,
.navbar-scroll .navbar-top.navbar-dark,
footer.bg-dark,
.footerNext,
.menu-movil-oscuro {
    background-color: #272727 !important;
}

.menu-movil-oscuro {
    width: 100%;
    max-width: 100%;
}

.menu-movil-oscuro .navbar-wrapper {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    padding: 0;
}

.menu-movil-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.menu-movil-head img {
    width: clamp(150px, 50vw, 200px);
    height: auto;
}

.cerrar-menu-oscuro {
    color: #FFFFFF !important;
    font-size: 28px;
    line-height: 1;
    text-decoration: none;
    background: transparent;
    border: none;
}

.menu-movil-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 24px 20px;
}

.menu-movil-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    text-align: center;
}

.menu-movil-links a {
    color: #FFFFFF !important;
    font-size: clamp(18px, 5.5vw, 24px);
    text-decoration: none;
}

.menu-movil-cotizar {
    display: inline-block;
    border: 1.5px solid #FFFFFF;
    padding: 8px 16px;
    margin-top: 6px;
}

.menu-movil-cotizar:hover {
    background-color: #FFFFFF;
    color: #000000 !important;
}

.menu-movil-redes {
    list-style: none;
    padding: 0;
    margin: 50px 0 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
}

.menu-movil-redes img {
    width: clamp(34px, 10vw, 42px);
    height: auto;
}

.menu-movil-footer {
    padding: 30px 24px calc(40px + env(safe-area-inset-bottom));
    color: #FFFFFF;
    font-size: 15px;
    line-height: 1.6;
}

.menu-movil-footer a {
    color: #FFFFFF !important;
    text-decoration: none;
}

/* ===== CONVERSEMOS ===== */
.logo-cliente {
  height: 100px;
  object-fit: contain;
  width: 100%;
  max-width: 100%;
  display: block;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .col-md-1-5 {
    flex: 0 0 auto;
    width: 12.5%;
  }
}

.texto-nowrap-escritorio {
  white-space: nowrap;
}

.logo-conversemos {
  max-width: 100%;
  height: auto;
}

.contenedor-escritorio {
  max-width: 1140px;
  margin: 0 auto;
  padding: 20px 15px;
}

.logo-centro {
  margin: 0 auto;
}

/* ===== COTIZAR ===== */
#almagro,
#blu,
#homely,
#tello,
#zen {
    display: none;
}

.service-card {
    padding: 0;
    margin: 0;
    border-radius: 6px;
    overflow: hidden;
}

.service-card.seleccionado {
    border: 4px solid #F9C40F;
    box-shadow: 0 0 10px rgba(249, 196, 15, 0.5);
}

/* ===== CONTACTO ===== */
.contact-hero {
    background: linear-gradient(135deg, #F9C40F 0%, #f4b942 100%);
    padding: 80px 0;
    text-align: center;
    color: #000;
}

.contact-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.contact-hero p {
    font-size: 1.2rem;
    margin-bottom: 0;
}

.contact-section {
    padding: 80px 0;
}

.contact-card {
    background: #fff;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: #F9C40F;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-icon img {
    width: 30px;
    height: 30px;
}

.btn-contact {
    background: #F9C40F;
    border: none;
    color: #000;
    padding: 15px 40px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    background: #f4b942;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(249, 196, 15, 0.4);
}

/* General Map Container (Proyectos) */
.map-container {
    width: 100%;
    position: relative;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

/* Contact Page Map */
.contact-section .map-container {
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-section .map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 60px 0;
    }
    .contact-hero h1 {
        font-size: 2.5rem;
    }
    .contact-hero p {
        font-size: 1rem;
    }
    .contact-section {
        padding: 60px 0;
    }
    .contact-card {
        padding: 30px 20px;
        margin-bottom: 20px;
    }
    .contact-icon {
        width: 50px;
        height: 50px;
    }
    .contact-icon img {
        width: 25px;
        height: 25px;
    }
    .contact-section .map-container {
        height: 300px;
    }
    .btn-contact {
        width: 100%;
        padding: 15px;
    }
}

/* Indicators 9 */
.carousel-indicators.custom-indicators9 {
    position: static;
    display: flex;
    justify-content: center;
    margin: 1rem 0;
    padding: 0;
    gap: 10px;
}

.carousel-indicators.custom-indicators9 button {
    width: 40px;
    height: 4px;
    background-color: #000;
    opacity: 0.3;
    border: none;
    transition: opacity 0.3s ease;
}

.carousel-indicators.custom-indicators9 button.active {
    opacity: 1;
}

/* ========================================================
   ICONOS CHEVRON PERSONALIZADOS PARA CARRUSELES
   (Fachada / Swiper, Galería y Planos / Bootstrap)
   Alternativa C: Sin círculos ni fondos, chevron gris oscuro #333333
   con sutil halo de contraste para visibilidad sobre fotos oscuras
   ======================================================== */

/* 1. Carrusel de Fachada (Swiper) - Alternativa C */
.swiper-button-prev,
.swiper-button-next {
    background-color: transparent !important;
    background-image: none !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    width: 36px !important;
    height: 48px !important;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.swiper-button-prev svg,
.swiper-button-next svg {
    display: none !important;
}

.swiper-button-prev::after,
.swiper-button-next::after {
    display: none !important;
}

.swiper-button-prev::before,
.swiper-button-next::before {
    content: '';
    display: block;
    width: 24px;
    height: 36px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0.9;
    /* Alternativa C: Halo sutil de contraste para legibilidad en fotos oscuras */
    filter: drop-shadow(0px 0px 2px rgba(255, 255, 255, 0.95)) drop-shadow(0px 0px 4px rgba(255, 255, 255, 0.85)) !important;
}

.swiper-button-prev::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333333' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='16 4 8 12 16 20'/%3E%3C/svg%3E");
}

.swiper-button-next::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333333' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='8 4 16 12 8 20'/%3E%3C/svg%3E");
}

.swiper-button-prev:hover::before,
.swiper-button-next:hover::before {
    opacity: 1;
    transform: scale(1.15);
}

/* 2. Carruseles de Galería y Planos (Bootstrap) - Alternativa C */
.carousel-control-prev,
.carousel-control-next {
    width: 48px !important;
    background: none !important;
    border: none !important;
    opacity: 0.9 !important;
    transition: opacity 0.2s ease !important;
    z-index: 10;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1 !important;
}

.carousel-control-prev-icon,
.carousel-dark .carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333333' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='16 4 8 12 16 20'/%3E%3C/svg%3E") !important;
    /* Alternativa C: Halo sutil de contraste para legibilidad en fotos oscuras */
    filter: drop-shadow(0px 0px 2px rgba(255, 255, 255, 0.95)) drop-shadow(0px 0px 4px rgba(255, 255, 255, 0.85)) !important;
    width: 24px !important;
    height: 36px !important;
    background-size: contain !important;
    transition: transform 0.2s ease !important;
}

.carousel-control-next-icon,
.carousel-dark .carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333333' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='8 4 16 12 8 20'/%3E%3C/svg%3E") !important;
    /* Alternativa C: Halo sutil de contraste para legibilidad en fotos oscuras */
    filter: drop-shadow(0px 0px 2px rgba(255, 255, 255, 0.95)) drop-shadow(0px 0px 4px rgba(255, 255, 255, 0.85)) !important;
    width: 24px !important;
    height: 36px !important;
    background-size: contain !important;
    transition: transform 0.2s ease !important;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    transform: scale(1.15);
}

/* ========================================================
   3. VISOR EMERGENTE (Magnific Popup Lightbox)
   Reemplazo del triángulo blanco por el chevron moderno
   ======================================================== */

.mfp-arrow {
    background-color: transparent !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    width: 50px !important;
    height: 70px !important;
    opacity: 0.85 !important;
    cursor: pointer !important;
    transition: opacity 0.2s ease, transform 0.2s ease !important;
    z-index: 1046 !important;
    margin-top: -35px !important;
    padding: 0 !important;
}

/* Ocultar los triángulos CSS por defecto de Magnific Popup */
.mfp-arrow:before,
.mfp-arrow:after {
    display: none !important;
    content: none !important;
    border: none !important;
}

.mfp-arrow:hover,
.mfp-arrow:focus {
    opacity: 1 !important;
}

.mfp-arrow:active {
    margin-top: -35px !important;
}

.mfp-arrow-left {
    left: 20px !important;
    background-size: 26px 42px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='16 4 8 12 16 20'/%3E%3C/svg%3E") !important;
    filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.75)) drop-shadow(0px 0px 1px rgba(0, 0, 0, 0.9)) !important;
}

.mfp-arrow-right {
    right: 20px !important;
    background-size: 26px 42px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='8 4 16 12 8 20'/%3E%3C/svg%3E") !important;
    filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.75)) drop-shadow(0px 0px 1px rgba(0, 0, 0, 0.9)) !important;
}

.mfp-arrow-left:hover {
    transform: scale(1.15) !important;
}

.mfp-arrow-right:hover {
    transform: scale(1.15) !important;
}

@media (max-width: 767.98px) {
    .mfp-arrow-left {
        left: 5px !important;
    }
    .mfp-arrow-right {
        right: 5px !important;
    }
}

/* ========================================================
   4. ESTANDARIZACIÓN DE CARRUSELES DE GALERÍA (OPCIÓN B)
   (Tu Departamento: #demo, Áreas Comunes: #demo1, Cerca a ti: #demo2)
   Altura amplia y uniforme, ajuste inteligente de orientación
   y soporte para visor a pantalla completa
   ======================================================== */

#demo .carousel-inner,
#demo1 .carousel-inner,
#demo2 .carousel-inner {
    height: 650px;
    background-color: #272727;
    border-radius: 4px;
    overflow: hidden;
}

#demo .carousel-item,
#demo1 .carousel-item,
#demo2 .carousel-item {
    height: 100% !important;
}

/* Fotos de galería: 100% completas en el contenedor, sin ningún recorte y centradas */
#demo .carousel-item img,
#demo1 .carousel-item img,
#demo2 .carousel-item img {
    width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    margin: 0 auto !important;
    display: block !important;
    cursor: zoom-in;
    transition: opacity 0.2s ease;
}

#demo .carousel-item img:hover,
#demo1 .carousel-item img:hover,
#demo2 .carousel-item img:hover {
    opacity: 0.96;
}

/* Fotos verticales (baños, pasillos): reducen el alto para caber completas y se centran */
#demo .carousel-item img.img-vertical-fit,
#demo1 .carousel-item img.img-vertical-fit,
#demo2 .carousel-item img.img-vertical-fit {
    object-fit: contain !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 auto !important;
}

/* Indicadores reposicionados sutilmente al borde inferior para no tapar los textos de la foto */
#demo .carousel-indicators,
#demo1 .carousel-indicators,
#demo2 .carousel-indicators {
    margin-bottom: 6px;
    z-index: 5;
}

@media (max-width: 1199.98px) {
    #demo .carousel-inner,
    #demo1 .carousel-inner,
    #demo2 .carousel-inner {
        height: 540px;
    }
}

@media (max-width: 991.98px) {
    #demo .carousel-inner,
    #demo1 .carousel-inner,
    #demo2 .carousel-inner {
        height: 420px;
    }
}

@media (max-width: 767.98px) {
    #demo .carousel-inner,
    #demo1 .carousel-inner,
    #demo2 .carousel-inner {
        height: 300px;
    }
}

@media (max-width: 480px) {
    #demo .carousel-inner,
    #demo1 .carousel-inner,
    #demo2 .carousel-inner {
        height: 240px;
    }
}

/* ========================================================
   5. BOTONES DE PESTAÑAS (GALERÍA Y PLANOS)
   Permitir formato unificado en minúsculas/tildes
   ======================================================== */
.boton_valencia,
.boton_valencia_negro,
.boton_valencia_negro_inicio {
    text-transform: none !important;
}






