/* --- CSS GENERAL PARA EL PROYECTO --- */

.glass-panel {
    background: rgba(251, 251, 249, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.text-outline {
    -webkit-text-stroke: 1px rgba(45, 43, 42, 0.1);
    color: transparent;
}

/* Modificador oscuro (Para Hero de Contacto) */
.text-outline-wood {
    -webkit-text-stroke: 1px rgba(121, 80, 59, 0.1);
    color: transparent;
}

/* Configuración especial para los Inputs de Formularios autofill */
input:-webkit-autofill,
textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #FBFBF9 inset !important;
    -webkit-text-fill-color: #2D2B2A !important;
}

.contact-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.72rem;
    width: auto;
    max-width: 100%;
    padding: 0.9rem 1.45rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #79503B 0%, #8b5c44 100%);
    color: #ffffff;
    white-space: nowrap;
    text-decoration: none;
    line-height: 1;
    flex-shrink: 0;
    transition:
        background-color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease,
        filter 0.3s ease;
}

.contact-whatsapp-btn:hover {
    background: linear-gradient(135deg, #8b5c44 0%, #543627 100%);
    color: #ffffff;
    box-shadow: 0 20px 45px -18px rgba(84, 54, 39, 0.35);
    filter: saturate(1.02);
}

.contact-whatsapp-btn__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    flex-shrink: 0;
}

.contact-whatsapp-btn__svg {
    width: 2rem;
    height: 2rem;
    display: block;
}

.contact-whatsapp-btn__label {
    display: inline-block;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.contact-whatsapp-btn--nav {
    padding: 0.8rem 1.3rem;
    font-size: 0.95rem;
}

.contact-whatsapp-btn--nav .contact-whatsapp-btn__icon {
    width: 1.9rem;
    height: 1.9rem;
}

.contact-whatsapp-btn--inline {
    padding: 0.95rem 1.5rem;
    font-size: 0.95rem;
}

.contact-whatsapp-btn--footer {
    padding: 1rem 1.8rem;
    font-size: 1.05rem;
    background: #E3DACD;
    color: #4C5D51;
}

.contact-whatsapp-btn--footer .contact-whatsapp-btn__icon {
    background: rgba(76, 93, 81, 0.12);
}

.contact-whatsapp-btn--footer:hover {
    background: #f5f3ec;
    color: #543627;
    box-shadow: 0 20px 45px -18px rgba(227, 218, 205, 0.4);
}

.footer-social-links {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    margin-top: 1.75rem;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.1);
    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.footer-social-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}

.footer-social-link svg {
    width: 1.5rem;
    height: 1.5rem;
    display: block;
}

.contact-gallery-section {
    padding: 4rem 0;
}

.index-pillars-grid {
    align-items: start;
}

.index-pillar-card {
    position: relative;
}

.index-pillar-title {
    margin: 0 0 0.75rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.875rem;
    line-height: 2.25rem;
    color: #5f7467;
    letter-spacing: -0.02em;
}

.index-pillar-subtitle {
    margin: 0 0 0.45rem;
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: 700;
    color: #2d2b2a;
}

.index-pillar-copy {
    margin: 0;
    max-width: 28rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: #5a5653;
}

.therapy-pillar-title {
    margin: 0 0 0.75rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.875rem;
    line-height: 2.25rem;
    color: #5f7467;
    letter-spacing: -0.02em;
}

.therapy-pillar-subtitle {
    font-size: 1.125rem;
    line-height: 1.75rem;
    color: #2d2b2a;
}

@media (max-width: 767px) {
    .contact-whatsapp-btn--nav .contact-whatsapp-btn__label {
        display: none;
    }

    .contact-whatsapp-btn--nav {
        padding: 0.75rem;
    }

}

@media (min-width: 768px) {
    .md\:py-32 {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }
}

.spam-trap {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.spam-details summary {
    cursor: pointer;
    color: #79503b;
    font-weight: 700;
    margin-top: 0.5rem;
}

.spam-details pre {
    margin-top: 0.75rem;
    max-height: 14rem;
    overflow: auto;
    white-space: pre-wrap;
    word-break: break-word;
    background: #f5f3ec;
    border: 1px solid rgba(45, 43, 42, 0.08);
    border-radius: 1rem;
    padding: 1rem;
    color: #2d2b2a;
    font-size: 0.7rem;
    line-height: 1.45;
}

body.cookie-consent-open {
    overflow: hidden;
}

.cookie-banner {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(45, 43, 42, 0.58);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: opacity 0.24s ease, visibility 0.24s ease;
}

.cookie-banner--hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.cookie-banner--visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.cookie-banner__panel {
    width: min(100%, 42rem);
    background: rgba(251, 251, 249, 0.96);
    transform: translateY(0.75rem) scale(0.98);
    transition: transform 0.24s ease;
}

.cookie-banner--visible .cookie-banner__panel {
    transform: translateY(0) scale(1);
}

@media (max-width: 640px) {
    .cookie-banner {
        align-items: flex-end;
        padding: 1rem;
    }

    .cookie-banner__panel {
        border-radius: 1.25rem;
    }
}
