/* ==========================================================================
   PASEO LAS FLORES - GLOBAL BRAND & HEADER STYLES (PLF-GLOBAL.CSS)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TIPOGRAFÍAS Y TÍTULOS GLOBALES
   -------------------------------------------------------------------------- */
/* plf-global.css */
.plf-font-custom {
    font-family: 'Cormorant Garamond', serif !important;
}

.plf-history-title,
.plf-location-title {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 2.5rem !important;
    color: #1F3D3B !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
}

@media (max-width: 768px) {

    .plf-history-title,
    .plf-location-title {
        font-size: 2rem !important;
    }
}

/* --------------------------------------------------------------------------
   2. ARQUITECTURA E INTERCAMBIO DE LOGOS EN EL HEADER
   -------------------------------------------------------------------------- */
.pxp-logo-container {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 150px;
    height: 45px;
}

.pxp-header-logo-img {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.35s ease-in-out, transform 0.35s ease-in-out;
}

.pxp-header-logo-img.logo-default {
    opacity: 1;
    pointer-events: auto;
}

.pxp-header-logo-img.logo-sticky {
    opacity: 0;
    pointer-events: none;
}

/* --------------------------------------------------------------------------
   3. EFECTO LIQUID GLASS EN LA HOME (ESCRITORIO)
   -------------------------------------------------------------------------- */
@media (min-width: 992px) {
    .pxp-nav-liquid-wrapper {
        background: rgba(255, 255, 255, 0.07);
        backdrop-filter: blur(14px) saturate(160%);
        -webkit-backdrop-filter: blur(14px) saturate(160%);
        border: 1px solid rgba(255, 255, 255, 0.2);
        padding: 6px 24px;
        border-radius: 40px;
        box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.15),
            inset 0 1px 1px 0 rgba(255, 255, 255, 0.1);
        transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    }

    .pxp-liquid-glass-header:not(.pxp-is-sticky):not(.pxp-scrolled):not(.navbar-scrolled) .pxp-nav>li>a {
        color: #ffffff !important;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
        transition: color 0.3s ease;
    }

    .pxp-liquid-glass-header:not(.pxp-is-sticky):not(.pxp-scrolled):not(.navbar-scrolled) .pxp-nav-sub {
        background: rgba(255, 255, 255, 0.12) !important;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.25) !important;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25) !important;
    }

    .pxp-liquid-glass-header:not(.pxp-is-sticky):not(.pxp-scrolled):not(.navbar-scrolled) .pxp-nav-sub a {
        color: #ffffff !important;
    }

    .pxp-liquid-glass-header:not(.pxp-is-sticky):not(.pxp-scrolled):not(.navbar-scrolled) .pxp-nav-sub a:hover {
        background-color: rgba(255, 255, 255, 0.15) !important;
    }

    /* APAGADO DE LIQUID GLASS AL HACER SCROLL */
    .pxp-header.pxp-is-sticky .pxp-nav-liquid-wrapper,
    .pxp-header.pxp-scrolled .pxp-nav-liquid-wrapper,
    .pxp-header.navbar-scrolled .pxp-nav-liquid-wrapper {
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border-color: transparent !important;
        box-shadow: none !important;
        padding: 6px 0px;
    }
}

/* --------------------------------------------------------------------------
   4. COMPORTAMIENTO COMÚN STICKY LOGOS (EN SCROLL)
   -------------------------------------------------------------------------- */
.pxp-header.pxp-is-sticky .logo-default,
.pxp-header.pxp-scrolled .logo-default,
.pxp-header.navbar-scrolled .logo-default {
    opacity: 0;
    pointer-events: none;
}

.pxp-header.pxp-is-sticky .logo-sticky,
.pxp-header.pxp-scrolled .logo-sticky,
.pxp-header.navbar-scrolled .logo-sticky {
    opacity: 1;
    pointer-events: auto;
}

/* --------------------------------------------------------------------------
   5. RESPONSIVE Y CORRECCIONES EN MOBILE / TABLET
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
    .pxp-logo-container {
        max-width: 130px;
    }
}

@media (max-width: 991px) {
    .pxp-nav-liquid-wrapper {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
    }

    .pxp-header-nav-trigger {
        position: relative !important;
        right: 15px !important;
        margin-right: 10px !important;
    }
}

.col-5.text-right.d-flex.align-items-center.justify-content-end {
    padding-right: 20px !important;
}

.pxp-header-nav-trigger {
    margin-right: 6px !important;
}

@media (max-width: 768px) {
    .pxp-logo-container {
        max-width: 110px;
    }
}

/* --------------------------------------------------------------------------
   6. ESTILOS EXCLUSIVOS PARA SUBPÁGINAS
   -------------------------------------------------------------------------- */
@media (min-width: 992px) {
    .pxp-subpage-header:not(.pxp-is-sticky):not(.pxp-scrolled):not(.navbar-scrolled) {
        background-color: rgba(237, 239, 234, 0.9) !important;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(31, 61, 59, 0.08);
        box-shadow: 0 4px 20px rgba(31, 61, 59, 0.02);
    }

    .pxp-subpage-header:not(.pxp-is-sticky):not(.pxp-scrolled):not(.navbar-scrolled) .pxp-nav-liquid-wrapper {
        background: rgba(31, 61, 59, 0.04) !important;
        border: 1px solid rgba(31, 61, 59, 0.15) !important;
        box-shadow: 0 6px 24px rgba(31, 61, 59, 0.05);
    }

    .pxp-subpage-header:not(.pxp-is-sticky):not(.pxp-scrolled):not(.navbar-scrolled) .pxp-nav>li>a {
        color: #1F3D3B !important;
        font-weight: 700;
        text-shadow: none !important;
    }

    .pxp-subpage-header:not(.pxp-is-sticky):not(.pxp-scrolled):not(.navbar-scrolled) .pxp-nav-sub {
        background: #1F3D3B !important;
        border: 1px solid #1F3D3B !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
    }

    .pxp-subpage-header:not(.pxp-is-sticky):not(.pxp-scrolled):not(.navbar-scrolled) .pxp-nav-sub a {
        color: #EDEFEA !important;
    }

    .pxp-subpage-header:not(.pxp-is-sticky):not(.pxp-scrolled):not(.navbar-scrolled) .pxp-nav-sub a:hover {
        background-color: #4A5B29 !important;
        color: #ffffff !important;
        padding-left: 18px;
    }
}

.pxp-subpage-header:not(.pxp-is-sticky):not(.pxp-scrolled):not(.navbar-scrolled) .logo-default {
    opacity: 0 !important;
    pointer-events: none !important;
}

.pxp-subpage-header:not(.pxp-is-sticky):not(.pxp-scrolled):not(.navbar-scrolled) .logo-sticky {
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* Adaptación del botón header en subpáginas */
.pxp-subpage-header:not(.pxp-is-sticky):not(.pxp-scrolled):not(.navbar-scrolled) .plf-btn-header-contact {
    background-color: #4A5B29 !important;
    color: #EDEFEA !important;
    border-color: #4A5B29 !important;
}

.pxp-subpage-header:not(.pxp-is-sticky):not(.pxp-scrolled):not(.navbar-scrolled) .plf-btn-header-contact .plf-header-icon {
    fill: #EDEFEA !important;
}

/* --------------------------------------------------------------------------
   7. BOTÓN HEADER / WHATSAPP ADAPTATIVO
   -------------------------------------------------------------------------- */
.plf-btn-header-contact {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #ffffff !important;
    color: #4A5B29 !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    height: 42px !important;
    padding: 0 22px !important;
    border-radius: 50px !important;
    border: 2px solid #ffffff !important;
    text-decoration: none !important;
    transition: all 0.3s ease-in-out !important;
    gap: 8px;
    cursor: pointer !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
}

.plf-btn-header-contact .plf-header-icon {
    width: 16px;
    height: 16px;
    fill: #4A5B29;
    transition: fill 0.3s ease-in-out;
}

.plf-btn-header-contact:hover {
    background-color: #4A5B29 !important;
    color: #ffffff !important;
    border-color: #4A5B29 !important;
    box-shadow: 0 6px 14px rgba(74, 91, 41, 0.25) !important;
    transform: translateY(-1px) !important;
}

.plf-btn-header-contact:hover .plf-header-icon {
    fill: #ffffff;
}

.pxp-header.pxp-is-sticky .plf-btn-header-contact,
.pxp-header.pxp-scrolled .plf-btn-header-contact,
.pxp-header.navbar-scrolled .plf-btn-header-contact {
    background-color: #4A5B29 !important;
    color: #ffffff !important;
    border-color: #4A5B29 !important;
    box-shadow: 0 4px 12px rgba(74, 91, 41, 0.15) !important;
}

.pxp-header.pxp-is-sticky .plf-btn-header-contact .plf-header-icon,
.pxp-header.pxp-scrolled .plf-btn-header-contact .plf-header-icon,
.pxp-header.navbar-scrolled .plf-btn-header-contact .plf-header-icon {
    fill: #ffffff;
}

.pxp-header.pxp-is-sticky .plf-btn-header-contact:hover,
.pxp-header.pxp-scrolled .plf-btn-header-contact:hover,
.pxp-header.navbar-scrolled .plf-btn-header-contact:hover {
    background-color: #ffffff !important;
    color: #4A5B29 !important;
    border-color: #4A5B29 !important;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08) !important;
}

.pxp-header.pxp-is-sticky .plf-btn-header-contact:hover .plf-header-icon,
.pxp-header.pxp-scrolled .plf-btn-header-contact:hover .plf-header-icon,
.pxp-header.navbar-scrolled .plf-btn-header-contact:hover .plf-header-icon {
    fill: #4A5B29;
}

@media (max-width: 1200px) {
    .plf-btn-header-contact {
        padding: 0 16px !important;
        font-size: 0.75rem !important;
        height: 38px !important;
    }
}

/* --------------------------------------------------------------------------
   8. SISTEMA DE BOTONES GLOBALES DE PÁGINA (PÍLDORA Y OUTLINE)
   -------------------------------------------------------------------------- */
.plf-primary-cta {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #4A5B29 !important;
    color: #ffffff !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    letter-spacing: 1.5px !important;
    padding: 12px 35px !important;
    border-radius: 50px !important;
    border: 2px solid #4A5B29 !important;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(74, 91, 41, 0.12) !important;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
    cursor: pointer !important;
}

.plf-primary-cta::after {
    display: none !important;
    content: none !important;
}

.plf-primary-cta:hover {
    background-color: #ffffff !important;
    color: #4A5B29 !important;
    border-color: #4A5B29 !important;
    box-shadow: 0 8px 22px rgba(74, 91, 41, 0.2) !important;
    transform: translateY(-2px) !important;
}

.plf-secondary-cta {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: transparent !important;
    color: #ffffff !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    height: 48px !important;
    padding: 0 25px !important;
    border-radius: 50px !important;
    border: 2px solid #ffffff !important;
    text-decoration: none !important;
    transition: all 0.3s ease-in-out !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    line-height: 1 !important;
}

.plf-secondary-cta i {
    font-size: 1.1rem !important;
    margin-right: 8px !important;
    line-height: 0 !important;
    display: inline-block !important;
}

.plf-secondary-cta::after {
    display: none !important;
    content: none !important;
}

.plf-secondary-cta:hover {
    background-color: #ffffff !important;
    color: #1F3D3B !important;
    border-color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15) !important;
    transform: translateY(-2px) !important;
}

.plf-primary-cta.plf-btn-full,
.plf-secondary-cta.plf-btn-full {
    width: 100% !important;
}

.plf-primary-cta *,
.plf-secondary-cta * {
    cursor: pointer !important;
}





/* ==========================================================================
   SECCIÓN: COMPONENTE FOOTER GLOBAL (VERDE OLIVA #4A5B29)
   ========================================================================== */

.plf-dark-footer {
    background-color: #4A5B29 !important;
    color: rgba(255, 255, 255, 0.75) !important;
}

/* Control del Logo en Footer */
.pxp-footer-logo {
    display: block;
    margin-bottom: 15px;
}

.pxp-footer-logo img {
    width: 100% !important;
    max-width: 160px !important;
    height: auto !important;
    display: block;
}

/* Encabezados y Textos del Footer */
.plf-dark-footer .pxp-footer-header {
    color: #ffffff !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 8px;
    margin-bottom: 15px !important;
}

.plf-dark-footer .pxp-footer-address p,
.plf-dark-footer .pxp-footer-address span {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.88rem !important;
}

/* Enlaces e Interactividad */
.plf-dark-footer .pxp-footer-address a,
.plf-dark-footer .pxp-footer-links li a {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 0.88rem !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

.plf-dark-footer .pxp-footer-links li a:hover,
.plf-dark-footer .pxp-footer-address a:hover {
    color: #ffffff !important;
    padding-left: 4px;
}

/* Redes Sociales */
.plf-dark-footer .pxp-footer-social a span {
    color: #ffffff !important;
    opacity: 0.8;
    font-size: 1.2rem;
    transition: opacity 0.3s ease !important;
}

.plf-dark-footer .pxp-footer-social a:hover span {
    opacity: 1 !important;
}

/* Botones de WhatsApp */
.plf-footer-whatsapp-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 240px;
}

.plf-btn-footer-wa {
    background-color: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    font-size: 0.82rem !important;
    font-weight: 600;
    padding: 10px 15px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.plf-btn-footer-wa span {
    font-size: 1.1rem;
    margin-right: 8px;
    color: #ffffff !important;
}

.plf-btn-footer-wa:hover {
    background-color: #ffffff !important;
    color: #4A5B29 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.plf-btn-footer-wa:hover span {
    color: #4A5B29 !important;
}

/* Componente Newsletter Integrado */
.plf-newsletter-text {
    font-size: 0.84rem !important;
    line-height: 1.4 !important;
    color: rgba(255, 255, 255, 0.75) !important;
}

.plf-newsletter-group {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.plf-newsletter-input {
    background-color: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    height: 42px !important;
    border-radius: 6px !important;
    padding-right: 45px !important;
    font-size: 0.85rem !important;
}

.plf-newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
}

.plf-newsletter-input:focus {
    border-color: rgba(255, 255, 255, 0.5) !important;
    box-shadow: none !important;
    background-color: rgba(255, 255, 255, 0.12) !important;
}

.plf-newsletter-submit-btn {
    position: absolute;
    right: 2px;
    top: 2px;
    bottom: 2px;
    background-color: transparent !important;
    color: #ffffff !important;
    border: none !important;
    width: 40px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: transform 0.3s ease !important;
}

.plf-newsletter-submit-btn:hover {
    transform: scale(1.1);
    color: #ffffff !important;
}

/* Checkbox Legal Newsletter */
.plf-newsletter-legal-wrapper {
    display: block;
    width: 100%;
}

.plf-legal-checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    position: relative;
    user-select: none;
    margin-bottom: 0;
}

.plf-legal-checkbox {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.plf-custom-checkbox {
    position: relative;
    top: 2px;
    flex-shrink: 0;
    height: 14px;
    width: 14px;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    margin-right: 8px;
    transition: all 0.25s ease;
}

.plf-legal-checkbox-label:hover .plf-custom-checkbox {
    border-color: rgba(255, 255, 255, 0.6);
    background-color: rgba(255, 255, 255, 0.15);
}

.plf-legal-checkbox:checked~.plf-custom-checkbox {
    background-color: #ffffff;
    border-color: #ffffff;
}

.plf-custom-checkbox::after {
    content: "";
    position: absolute;
    display: none;
    left: 4px;
    top: 1px;
    width: 4px;
    height: 8px;
    border: solid #4A5B29;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.plf-legal-checkbox:checked~.plf-custom-checkbox::after {
    display: block;
}

.plf-legal-text {
    font-size: 0.76rem !important;
    line-height: 1.35 !important;
    color: rgba(255, 255, 255, 0.6) !important;
    transition: color 0.3s ease;
}

.plf-legal-checkbox-label:hover .plf-legal-text {
    color: rgba(255, 255, 255, 0.85) !important;
}

.plf-legal-link {
    color: rgba(255, 255, 255, 0.85) !important;
    text-decoration: underline !important;
    font-weight: 600;
    transition: color 0.2s ease;
}

.plf-legal-link:hover {
    color: #ffffff !important;
}

/* Créditos y Copyright Inferior */
.plf-dark-footer .pxp-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.plf-footer-credits-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    font-size: 0.82rem !important;
}

.plf-credits-links a {
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.plf-credits-links a:hover {
    color: #ffffff !important;
    text-decoration: underline !important;
}

.plf-divider {
    color: rgba(255, 255, 255, 0.2);
    margin: 0 8px;
}

.plf-footer-copyright {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Responsivo Móvil Footer */
@media (max-width: 768px) {
    .plf-footer-credits-grid {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .plf-footer-whatsapp-grid {
        max-width: 100%;
    }

    .pxp-footer-logo img {
        max-width: 130px !important;
    }
}