/*
Theme Name: Inclub Child
Template:   inclub
Theme URI: https://1.envato.market/inclub-wp
Description: Inclub Child Theme
Author: AwaikenThemes
Author URI: https://awaikenthemes.com/
Version: 1.0.0
Text Domain: inclub-child
*/

:root {
    --dorado: #e3b46d;
    --azul-oscuro: #13293d;
    --crema: #ffd796;
    --gris-texto: #8a8a8a;
}

#ball {
    background-color: var(--crema);
}

.page-header {
    background-attachment: inherit;
    background-position: center;
}

.page-header::before {
    opacity: 30%;
    background-color: transparent;
}

.page-header-box h1 {
    font-weight: 500 !important;
}

.elementor-heading-title span {
    color: var(--crema);
}

.elementor-widget-button .elementor-button {
    background-color: var(--crema);
}

.elementor-widget-button .elementor-button::before {
    background-color: var(--azul-oscuro);
}

.button-magazine .elementor-button::before {
    background-color: #fff;
    color: var(--azul-oscuro);
}

.intro-video-box .video-content a {
    pointer-events: none;
}

.section-title .elementor-heading-title::before {
    background-image: url("/assets/migrated/fbb1a2a4a16773a0-Golden-Life-Spain-imagenes-web_home-nosotros-icono-05.svg");
}

.post-entry blockquote {
    background-color: #13293d;
}

.list-post {
    list-style: disc;
}

.list-post li::before {
    color: var(--dorado);
}

.post-social-sharing ul li a {
    background-color: var(--crema);
    transition: all 0.3s ease;
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

/* =========================================
   CARRUSEL DESTINOS L&F (CON ANIMACIONES)
========================================= */
.custom-destinos-carousel {
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
}

/* Swiper classes override */
.swiper.myDestinosSwiper {
    width: 100%;
    padding: 10px 0;
}

.swiper-slide {
    height: auto;
    /* Para que todos tengan la misma altura */
}

/* Tarjeta Base */
.destino-card {
    height: 370px;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 30px;
    overflow: hidden;
    /* Fundamental para que el zoom de la imagen no se salga del contenedor */
    border-radius: 4px;
    /* Opcional, si tu diseño lo requiere */
}

/* Imagen de fondo con animación suave */
.destino-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
    /* Transición suave de la imagen */
    z-index: 1;
}

/* Overlay para oscurecer y que el texto se lea */
.destino-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 60%);
    z-index: 2;
    transition: background 0.6s ease;
}

.destino-content {
    position: relative;
    z-index: 3;
    width: 100%;
}

.destino-content h3 {
    color: #ffffff;
    font-family: 'Cinzel', sans-serif;
    font-size: 22px;
    line-height: 1.2;
    margin: 0 0 15px 0;
    text-transform: uppercase;
}

/* Botón base (Oculto al inicio) */
.btn-explorar {
    display: inline-block;
    background-color: #ffd796;
    color: #13293d;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 24px;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease-in-out;
}

/* === ANIMACIONES AL HACER HOVER === */

/* Efecto de Reflejo (Shine) */
.destino-card::after {
    position: absolute;
    content: "";
    top: 0;
    left: -125%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    z-index: 5;
    transition: left 0.7s ease;
    pointer-events: none;
    /* Para que no interfiera con los clics en el botón */
}

.destino-card:hover::after {
    left: 150%;
}

/* 1. La imagen hace un zoom in suave */
.destino-card:hover .destino-bg {
    transform: scale(1.1);
}

/* 2. El degradado se vuelve un poco más oscuro para que el botón resalte más */
.destino-card:hover .destino-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 80%);
}

/* 3. El botón aparece y sube */
.destino-card:hover .btn-explorar {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.btn-explorar:hover {
    background-color: #f4c064;
}

/* Flechas */
.custom-destinos-carousel .carousel-btn {
    background: transparent;
    border: none;
    font-size: 35px;
    color: #13293d;
    cursor: pointer;
    padding: 0 15px;
    transition: opacity 0.2s;
    z-index: 4;
}

.custom-destinos-carousel .carousel-btn:hover {
    opacity: 0.7;
    color: var(--dorado);
}

/* Espaciado exclusivo para el banner de propiedades */
.gls-property-header {
    padding: 150px 0;
}

/* =========================================
   ARCHIVO DE PROPIEDADES – L&F
   Sidebar izquierdo + Grid 2 columnas
========================================= */

/* Layout principal */
.gls-archive-section {
    background: #fff;
    padding: 50px 0 80px;
}

.gls-archive-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* ---- SIDEBAR FILTROS ---- */
.gls-sidebar-filters {
    flex: 0 0 280px;
    position: sticky;
    top: 100px;
}

.gls-filter-form-wrap {
    border: 1px solid #e6e6e6;
    background: #fff;
}

.gls-filter-header {
    background-color: var(--crema);
    padding: 18px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gls-filter-header h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: var(--azul-oscuro);
    margin: 0;
}

.gls-filter-body {
    padding: 25px;
}

.gls-filter-group {
    margin-bottom: 25px;
}

.gls-filter-label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: var(--azul-oscuro);
    margin-bottom: 12px;
}

.gls-select-wrapper {
    position: relative;
    border-bottom: 1px solid #e6e6e6;
}

.gls-sidebar-select {
    width: 100%;
    background-color: transparent;
    border: none;
    color: #8a8a8a;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    height: 40px;
    padding: 0 25px 0 0;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.gls-sidebar-select:focus {
    outline: none;
    color: var(--azul-oscuro);
}

.gls-select-arrow {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 6px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2313293d' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
}

.gls-filter-body .gls-sidebar-btn {
    width: 100%;
    margin-top: 10px;
    background-color: var(--crema);
}

.gls-sidebar-reset {
    display: block;
    text-align: center;
    margin-top: 15px;
    color: #8a8a8a;
    font-size: 13px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    transition: color 0.3s;
}

.gls-sidebar-reset:hover {
    color: var(--azul-oscuro);
}

/* ---- CONTENIDO DERECHO ---- */
.gls-archive-content {
    flex: 1;
    min-width: 0;
}

/* ---- GRID 2 COLUMNAS (Propiedades) ---- */
.gls-grid-2col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* ---- GRID 3 COLUMNAS (Desarrollos) ---- */
.gls-grid-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* ---- PROPERTY CARD (Overlay) ---- */
.gls-prop-card {
    display: flex;
    flex-direction: column;
    position: relative;
    height: 420px;
    overflow: hidden;
    text-decoration: none;
}

.gls-prop-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease;
    z-index: 1;
}

.gls-prop-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(19, 41, 61, 0.95) 0%, rgba(19, 41, 61, 0.2) 60%, transparent 100%);
    z-index: 2;
    transition: opacity 0.5s ease;
}

/* Flecha superior derecha */
.gls-prop-card-arrow {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background-color: var(--crema);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.gls-prop-card:hover .gls-prop-card-arrow {
    background-color: #fff;
    transform: translate(3px, -3px);
}

/* Información de la tarjeta */
.gls-prop-card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.gls-prop-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #fff !important;
    margin: 0 0 5px 0;
    line-height: 1.2;
}

.gls-prop-location {
    margin-bottom: 8px;
    color: rgba(255, 255, 255, .76);
    font: 600 12px/1.35 'Montserrat', sans-serif;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.gls-prop-price {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: var(--dorado);
    margin-bottom: 20px;
}

/* Botón en la tarjeta */
.gls-prop-btn-container {
    width: auto;
}

.gls-prop-card-info .gls-prop-card-btn {
    padding: 12px 25px;
    font-size: 16px;
    color: var(--azul-oscuro);
    background-color: var(--crema);
}

/* Shine effect */
.gls-prop-card-shine {
    position: absolute;
    top: 0;
    left: -125%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    z-index: 5;
    transition: left 0.8s ease;
    pointer-events: none;
}

/* ---- HOVER ---- */
.gls-prop-card:hover .gls-prop-card-img {
    transform: scale(1.08);
}

.gls-prop-card:hover .gls-prop-card-shine {
    left: 150%;
}

/* ---- BOTONES GLOBALES (Hover Animation) ---- */
.gls-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--dorado);
    color: var(--azul-oscuro) !important;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
    padding: 14px 30px;
    text-decoration: none;
    border: none;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    z-index: 1;
}

.gls-btn span {
    position: relative;
    z-index: 2;
    transition: color 0.4s ease;
}

.gls-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--azul-oscuro);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 0;
}

.gls-btn:hover::before {
    transform: scaleX(1);
}

.gls-btn:hover span {
    color: var(--dorado);
}

/* ---- PAGINACIÓN ---- */
.gls-pagination {
    text-align: center;
    margin-top: 50px;
}

.gls-pagination .page-numbers {
    display: inline-block;
    padding: 10px 16px;
    margin: 0 4px;
    background: #fff;
    border: 1px solid #e6e6e6;
    color: var(--azul-oscuro);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    transition: all 0.3s ease;
}

.gls-pagination .page-numbers.current,
.gls-pagination .page-numbers:hover {
    background: var(--dorado);
    color: #fff;
    border-color: var(--dorado);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 991px) {
    .gls-archive-layout {
        flex-direction: column;
        align-items: stretch; /* Asegura que los hijos ocupen todo el ancho */
    }

    .gls-sidebar-filters {
        flex: none;
        width: 100%;
        position: static;
    }

    .gls-archive-content {
        flex: none;
        width: 100%;
    }
}

@media (max-width: 767px) {

    .gls-grid-2col,
    .gls-grid-3col {
        grid-template-columns: 1fr;
    }

    .gls-prop-card {
        height: 380px;
    }
}

/* =========================================
   CONTACT FORM 7 - L&F DESIGN
========================================= */
.gls-custom-form {
    width: 100%;
    font-family: 'Montserrat', sans-serif;
}

.gls-custom-form *,
.gls-custom-form *::before,
.gls-custom-form *::after {
    box-sizing: border-box;
}

/* Forzar que los span envoltorios de CF7 ocupen todo el ancho */
.gls-custom-form .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

/* Neutralizar márgenes fantasmas de los mensajes de alerta de CF7 (evita espacio blanco abajo) */
.wpcf7 form,
.wpcf7-response-output {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
}

/* Eliminar el margen por defecto que Elementor le pone al widget del shortcode */
.elementor-widget-shortcode:has(.gls-custom-form) {
    margin-bottom: 0 !important;
}

/* Ignorar los párrafos y saltos de línea que inyecta CF7 */
.gls-custom-form p {
    margin: 0;
    padding: 0;
    width: 100%;
}

.gls-form-row {
    margin-bottom: 20px;
}

/* El flexbox se lo aplicamos al párrafo interior si existe, o al row directamente */
.gls-form-row,
.gls-form-row>p {
    display: flex;
    gap: 20px;
    width: 100%;
}

.gls-form-row br,
.gls-form-row>p>br {
    display: none !important;
    /* Ocultamos los saltos de línea de CF7 */
}

@media (max-width: 767px) {

    .gls-form-row,
    .gls-form-row>p {
        flex-direction: column;
    }
}

.gls-form-row-full,
.gls-form-row-full>p {
    width: 100%;
}

.gls-form-row-half .wpcf7-form-control-wrap {
    flex: 1;
}

/* Inputs y Textareas */
.gls-custom-form input[type="text"],
.gls-custom-form input[type="email"],
.gls-custom-form input[type="tel"],
.gls-custom-form textarea,
.gls-custom-form select {
    width: 100% !important;
    background-color: rgba(255, 255, 255, 0.65) !important;
    border: none !important;
    padding: 20px 25px !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 500 !important;
    font-size: 16px !important;
    color: var(--azul-oscuro) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Forzamos fondo blanco sólido si el navegador no interpreta bien el rgba para campos */
.gls-custom-form input[type="text"],
.gls-custom-form input[type="email"],
.gls-custom-form textarea,
.gls-custom-form select {
    background-color: #ffffff !important;
}

.gls-custom-form textarea {
    height: 150px !important;
    resize: none !important;
}

.gls-custom-form input::placeholder,
.gls-custom-form textarea::placeholder {
    color: var(--azul-oscuro) !important;
    opacity: 1 !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 500 !important;
}

/* Select (Dropdown) */
.gls-custom-form select {
    appearance: none !important;
    -webkit-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10' viewBox='0 0 14 10'%3E%3Cpath fill='%2313293d' d='M7 10L0 0h14z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 25px center !important;
    cursor: pointer !important;
    color: var(--azul-oscuro) !important;
}

.gls-custom-form select option {
    background-color: #ffffff !important;
    color: #8a8a8a !important;
    padding: 10px !important;
}

.gls-custom-form select option:checked {
    color: var(--azul-oscuro) !important;
    font-weight: 500 !important;
}

/* Botón Submit */
.gls-custom-form input[type="submit"] {
    width: 100% !important;
    background-color: var(--crema) !important;
    color: var(--azul-oscuro) !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    padding: 20px 30px !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-transform: none !important;
    margin-top: 10px !important;
}

.gls-custom-form input[type="submit"]:hover {
    background-color: #f4c064 !important;
}

/* Ajustes de CF7 y Elementor para Móvil */
@media (max-width: 767px) {
    .elementor-10939 .elementor-element.e-child {
        --width: 100% !important;
        width: 100% !important;
    }

    /* Contact page: stack copy and form instead of keeping the desktop row. */
    body.page-id-4023 .elementor-element.elementor-element-75ba56e0 {
        --flex-direction: column !important;
        flex-direction: column !important;
    }

    body.page-id-4023 .elementor-element.elementor-element-75ba56e0 > .e-con,
    body.page-id-4023 .elementor-element.elementor-element-60f9eeeb,
    body.page-id-4023 .elementor-element.elementor-element-27d06812 {
        --width: 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Homepage contact form: Elementor kept this single column at 50%. */
    body.home.page-id-10632 .elementor-element.elementor-element-468cee8b {
        --width: 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .gls-custom-form input[type="text"],
    .gls-custom-form input[type="email"],
    .gls-custom-form input[type="tel"],
    .gls-custom-form textarea,
    .gls-custom-form select {
        padding: 15px 20px !important;
        font-size: 14px !important;
    }
    
    .gls-custom-form input[type="submit"] {
        padding: 15px 20px !important;
        font-size: 15px !important;
    }
}

/* =========================================
   GUÍA DE ESPAÑA (BLOG L&F DESIGN)
========================================= */

/* Tarjeta principal (Borde gris plomo) */
.page-blog-archive .post-item {
    border: 1px solid #e6e6e6 !important;
    background-color: #ffffff !important;
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 0 !important;
	margin-bottom: 0px;
	padding-bottom: 40px;
}

/* Quitar padding del contenedor general para que el botón toque las orillas */
.page-blog-archive .post-item-body {
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Regresarle el padding solo a los textos */
.page-blog-archive .post-item-content {
    padding: 30px !important;
    flex-grow: 1;
}

/* Título (Azul oscuro, Montserrat SemiBold) */
.page-blog-archive .post-item-content h2,
.page-blog-archive .post-item-content h2 a {
    color: #13293d !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 600 !important;
    font-size: 1.25rem !important;
    margin-bottom: 15px !important;
}

/* Extracto / Descripción (Gris, Montserrat Medium) */
.page-blog-archive .post-item-content p {
    color: #8a8a8a !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 500 !important;
    line-height: 1.6 !important;
}

/* Contenedor del botón pegado al fondo */
.page-blog-archive .post-item-btn {
    width: 100% !important;
    margin-top: auto !important;
}

/* Botón de Leer Más (Fondo crema dorado, ocupando todo el ancho inferior) */
.page-blog-archive .post-item-btn .readmore-btn {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    background-color: #ffd796 !important;
    color: #13293d !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    padding: 15px 30px !important;
    margin: 0 !important;
    text-transform: none !important;
    border-radius: 0 !important;
    transition: background-color 0.3s ease !important;
}

/* Efecto hover del botón */
.page-blog-archive .post-item-btn .readmore-btn:hover {
    background-color: #e3b46d !important;
}

/* Efecto hover del botón */
.page-blog-archive .post-item-btn .readmore-btn:hover:before {
    background-color: #e3b46d !important;
}

/* Color de la flechita (SVG) */
.page-blog-archive .post-item-btn .readmore-btn svg,
.page-blog-archive .post-item-btn .readmore-btn svg path {}

/* =========================================
   TÍTULO DIVIDIDO EN 2 (SINGLE POST HEADER)
========================================= */

/* Forzar la tipografía Serif elegante y la sombra dorada al contenedor del h1 */
.page-header-box h1.split-title {
    font-family: 'Playfair Display', 'Cinzel', serif !important;
    text-transform: uppercase !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4), 0 0 15px rgba(227, 180, 109, 0.3) !important;
    letter-spacing: 1px !important;
}

/* Primera mitad del título: Blanco */
.page-header-box h1.split-title .title-part-1 {
    color: #ffffff !important;
}

/* Segunda mitad del título: Dorado */
.page-header-box h1.split-title .title-part-2 {
    color: var(--crema) !important;
}

/* =========================================
   FICHA INDIVIDUAL DE PROPIEDAD
========================================= */
.gls-single-property,
.gls-single-property * {
    box-sizing: border-box;
}

.gls-property-hero {
    position: relative;
    display: flex;
    min-height: clamp(520px, 72vh, 780px);
    align-items: flex-end;
    background-color: var(--azul-oscuro);
    background-position: center;
    background-size: cover;
}

.gls-property-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 25, 40, .48) 0%, rgba(11, 31, 48, .22) 34%, rgba(11, 31, 48, .9) 100%);
}

/* La cabecera del tema es transparente. Sobre fotografías claras necesita una
   banda sutil para mantener legibles el logotipo, el menú y el teléfono. */
body.single-propiedad .header-version-1 {
    background: linear-gradient(180deg, rgba(7, 25, 40, .72) 0%, rgba(7, 25, 40, .42) 72%, rgba(7, 25, 40, 0) 100%) !important;
}

.gls-property-hero__content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding-top: 210px;
    padding-bottom: 76px;
}

.gls-property-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    margin-bottom: 16px;
    color: var(--crema);
    font: 600 13px/1.4 'Montserrat', sans-serif;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.gls-property-hero__meta span + span::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    margin: 0 14px 3px 0;
    border-radius: 50%;
    background: var(--crema);
}

.gls-property-hero h1 {
    max-width: 980px;
    margin: 0;
    color: #fff !important;
    font: 500 clamp(40px, 5vw, 70px)/1.08 'Cinzel', serif;
    overflow-wrap: anywhere;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .42);
    text-transform: uppercase;
    white-space: normal !important;
}

.gls-property-hero__price {
    margin: 22px 0 0;
    color: var(--crema);
    font: 700 clamp(25px, 3vw, 36px)/1.2 'Montserrat', sans-serif;
}

.gls-property-facts {
    background: var(--azul-oscuro);
    border-top: 1px solid rgba(255, 255, 255, .14);
}

.gls-property-facts__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.gls-property-fact {
    padding: 25px 22px;
    border-right: 1px solid rgba(255, 255, 255, .14);
}

.gls-property-fact:first-child {
    padding-left: 0;
}

.gls-property-fact:last-child {
    border-right: 0;
}

.gls-property-fact span,
.gls-property-fact strong {
    display: block;
    font-family: 'Montserrat', sans-serif;
}

.gls-property-fact span {
    margin-bottom: 7px;
    color: rgba(255, 255, 255, .64);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.gls-property-fact strong {
    color: #fff;
    font-size: 19px;
    font-weight: 600;
}

.gls-property-body {
    padding: 90px 0;
    background: #fff;
}

.gls-property-body__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(310px, .8fr);
    gap: 70px;
    align-items: start;
}

.gls-property-kicker {
    margin: 0 0 10px !important;
    color: var(--dorado) !important;
    font: 700 13px/1.4 'Montserrat', sans-serif !important;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.gls-property-description h2,
.gls-property-section-heading h2 {
    margin: 0 0 28px;
    color: var(--azul-oscuro);
    font: 500 clamp(32px, 4vw, 50px)/1.16 'Cinzel', serif;
    text-transform: uppercase;
}

.gls-property-description__content {
    color: #72777c;
    font: 500 17px/1.85 'Montserrat', sans-serif;
}

.gls-property-description__content p {
    margin: 0 0 22px;
}

.gls-property-features {
    margin-top: 48px;
    padding-top: 38px;
    border-top: 1px solid #e4e7e9;
}

.gls-property-features h3 {
    margin: 0 0 24px;
    color: var(--azul-oscuro);
    font: 600 24px/1.3 'Montserrat', sans-serif;
}

.gls-property-features ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 26px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.gls-property-features li {
    position: relative;
    padding-left: 22px;
    color: #6f7479;
    font: 500 15px/1.55 'Montserrat', sans-serif;
}

.gls-property-features li::before {
    content: '';
    position: absolute;
    top: .58em;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--dorado);
}

.gls-property-sidebar {
    position: sticky;
    top: 110px;
}

.gls-property-panel {
    margin-bottom: 24px;
    border: 1px solid #e4e7e9;
    background: #fff;
}

.gls-property-panel h2 {
    margin: 0;
    padding: 20px 24px;
    background: var(--crema) !important;
    color: var(--azul-oscuro) !important;
    font: 700 18px/1.35 'Montserrat', sans-serif;
}

.gls-property-panel--costs h2 {
    background: var(--azul-oscuro) !important;
    color: #fff !important;
}

.gls-property-panel__row {
    display: grid;
    grid-template-columns: minmax(110px, .8fr) minmax(0, 1.2fr);
    gap: 18px;
    padding: 15px 24px;
    border-bottom: 1px solid #eceeef;
    font-family: 'Montserrat', sans-serif;
}

.gls-property-panel__row:last-child {
    border-bottom: 0;
}

.gls-property-panel__row span {
    color: #898d91;
    font-size: 13px;
}

.gls-property-panel__row strong {
    color: var(--azul-oscuro);
    font-size: 14px;
    font-weight: 600;
    text-align: right;
}

.gls-property-contact-button {
    width: 100%;
}

.gls-property-gallery-section {
    padding: 90px 0;
    background: #f4f5f5;
}

.gls-property-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 34px;
}

.gls-property-section-heading h2 {
    margin-bottom: 0;
}

.gls-property-gallery-view-all {
    appearance: none;
    flex: 0 0 auto;
    padding: 13px 22px;
    border: 1px solid var(--azul-oscuro) !important;
    background: transparent !important;
    color: var(--azul-oscuro) !important;
    font: 700 13px/1.2 'Montserrat', sans-serif;
    cursor: pointer;
}

.gls-property-gallery-view-all:hover,
.gls-property-gallery-view-all:focus-visible {
    background: var(--azul-oscuro) !important;
    color: #fff !important;
}

.gls-property-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 205px;
    gap: 10px;
}

.gls-property-gallery-item {
    appearance: none;
    min-width: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0 !important;
    background: #dfe3e6 !important;
    cursor: zoom-in;
}

.gls-property-gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

.gls-property-gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.gls-property-gallery-item:hover img,
.gls-property-gallery-item:focus-visible img {
    transform: scale(1.045);
}

.gls-property-gallery-item--hidden {
    display: none;
}

.gls-gallery-modal[hidden] {
    display: none;
}

.gls-gallery-modal {
    position: fixed;
    z-index: 999999;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 60px 90px;
    background: rgba(5, 18, 29, .96);
}

.gls-gallery-modal figure {
    display: flex;
    width: min(1280px, 100%);
    height: 100%;
    max-height: calc(100vh - 120px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.gls-gallery-modal figure img {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 170px);
    object-fit: contain;
}

.gls-gallery-modal figcaption {
    display: flex;
    width: 100%;
    justify-content: space-between;
    gap: 20px;
    padding-top: 13px;
    color: #fff;
    font: 500 13px/1.4 'Montserrat', sans-serif;
}

.gls-gallery-modal__close,
.gls-gallery-modal__nav {
    position: absolute;
    border: 1px solid rgba(255, 215, 150, .72) !important;
    background: rgba(11, 31, 48, .72) !important;
    color: #fff !important;
    cursor: pointer;
}

.gls-gallery-modal__close {
    top: 20px;
    right: 28px;
    width: 44px;
    height: 44px;
    border: 0 !important;
    background: transparent !important;
    font-size: 42px;
}

.gls-gallery-modal__nav {
    top: 50%;
    width: 58px;
    height: 70px;
    transform: translateY(-50%);
    font-size: 58px;
}

.gls-gallery-modal__nav--prev {
    left: 18px;
}

.gls-gallery-modal__nav--next {
    right: 18px;
}

body.gls-gallery-open {
    overflow: hidden;
}

.gls-property-disclaimer {
    padding: 25px 0;
    background: #f4f5f5;
    border-top: 1px solid #e0e3e5;
}

.gls-property-disclaimer p {
    max-width: 980px;
    margin: 0;
    color: #85898d;
    font: 500 12px/1.65 'Montserrat', sans-serif;
}

.gls-property-contact-section {
    scroll-margin-top: 80px;
}

.gls-property-chat-section {
    background: var(--azul-oscuro);
}

/* El tema padre fuerza los encabezados de entradas a color oscuro. La sección
   del asistente usa fondo azul y debe conservar su jerarquía blanca/dorada. */
body.single-propiedad .gls-property-chat-section .golden-life-chat-section__eyebrow {
    color: #e3b46d !important;
}

body.post-type-archive-propiedad .gls-property-chat-section .golden-life-chat-section__intro h2 {
    margin: 0 0 12px !important;
    color: #fff !important;
    font-family: 'Cinzel', serif !important;
    font-size: clamp(1.9rem, 3.4vw, 3rem) !important;
    font-weight: 500 !important;
    line-height: 1.1 !important;
    text-transform: uppercase !important;
}

body.single-propiedad .gls-property-chat-section .golden-life-chat-section__intro h2 {
    margin: 0 0 12px !important;
    color: #fff !important;
    font-family: 'Cinzel', serif !important;
    font-size: clamp(1.9rem, 3.4vw, 3rem) !important;
    font-weight: 500 !important;
    line-height: 1.1 !important;
    text-transform: uppercase !important;
}

body.single-propiedad .gls-property-chat-section .golden-life-chat-section__intro > div > p:last-child {
    color: rgba(255, 255, 255, .78) !important;
}

body.single-propiedad .gls-property-chat-section .open-genie-modal {
    display: inline-block;
    margin: 0 .1em;
}

@media (max-width: 991px) {
    .gls-property-body__layout {
        grid-template-columns: 1fr;
        gap: 52px;
    }

    .gls-property-sidebar {
        position: static;
    }

    .gls-property-gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .gls-single-property {
        width: 100vw;
        max-width: 100%;
        overflow-x: hidden;
    }

    .gls-property-hero {
        width: 100vw;
        max-width: 100%;
        min-height: 500px;
        overflow: hidden;
    }

    .gls-property-hero__content {
        width: 100% !important;
        max-width: 100% !important;
        padding-top: 170px;
        padding-bottom: 48px;
    }

    .gls-property-hero h1 {
        width: 100% !important;
        max-width: 100%;
        font-size: clamp(29px, 8.4vw, 42px);
        line-height: 1.12;
    }

    .gls-property-facts__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gls-property-fact,
    .gls-property-fact:first-child {
        padding: 20px 15px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .14);
    }

    .gls-property-body,
    .gls-property-gallery-section {
        padding: 62px 0;
    }

    .gls-property-features ul {
        grid-template-columns: 1fr;
    }

    .gls-property-section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .gls-property-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 150px;
    }

    .gls-property-gallery-item:first-child {
        grid-column: span 2;
        grid-row: span 2;
    }

    .gls-gallery-modal {
        padding: 54px 15px 70px;
    }

    .gls-gallery-modal__nav {
        top: auto;
        bottom: 12px;
        width: 52px;
        height: 48px;
        transform: none;
    }

    .gls-gallery-modal__nav--prev {
        left: calc(50% - 62px);
    }

    .gls-gallery-modal__nav--next {
        right: calc(50% - 62px);
    }
}

@media (max-width: 440px) {
    .gls-property-hero__meta {
        display: block;
    }

    .gls-property-hero__meta span {
        display: block;
        margin-bottom: 7px;
    }

    .gls-property-hero__meta span + span::before {
        display: none;
    }

    .gls-property-panel__row {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .gls-property-panel__row strong {
        text-align: left;
    }
}
