﻿/* ===================================
   LUXURY LINE — Footer Styles
   Source: luxury-main/css/styles.css
   =================================== */

.site-footer {
    background: #1a1a1a;
    color: #ffffff;
    font-size: 13px;
    overflow: hidden;
}

/* Main footer: left col (logo+social) · right col (nav+newsletter) */
.footer-main {
    padding: clamp(36px, 5vw, 60px) 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-main-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 48px;
}

.footer-brand-col {
    display: flex;
    flex-direction: column;
    gap: 28px;
    flex-shrink: 0;
}

.footer-right-col {
    display: flex;
    flex-direction: column;
    gap: 32px;
    flex: 1;
    min-width: 0;
}

.footer-social-contact-row {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-logo {
    display: inline-block;
    text-decoration: none;
    font-size: clamp(18px, 2vw, 22px);
    font-weight: var(--font-weight-bold);
    letter-spacing: 3px;
    text-transform: uppercase;
    line-height: 1;
    flex-shrink: 0;
}

.footer-logo-bold {
    color: var(--cta-bg-color, #C5A572);
}

.footer-logo-thin {
    color: #ffffff;
    font-weight: var(--font-weight-light, 300);
}

/* Navigation list */
.footer-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.footer-nav-list a {
    color: #ffffff;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.2s;
    white-space: nowrap;
}

.footer-nav-list a:hover {
    color: var(--cta-bg-color, #C5A572);
}

/* Footer nav dropdown */
.footer-nav-item {
    position: relative;
}

.footer-nav-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: #ffffff;
    font-size: 12px;
    font-family: inherit;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color 0.2s;
}

.footer-nav-dropdown-trigger:hover,
.footer-nav-item.open .footer-nav-dropdown-trigger {
    color: var(--cta-bg-color, #C5A572);
}

.footer-nav-dropdown-trigger svg {
    flex-shrink: 0;
    transition: transform 0.25s;
}

.footer-nav-item.open .footer-nav-dropdown-trigger svg {
    transform: rotate(180deg);
}

.footer-nav-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background: #1c1c1c;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 8px 0;
    min-width: 180px;
    z-index: 200;
    box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}

.footer-nav-item.open .footer-nav-dropdown {
    display: block;
}

.footer-nav-dropdown a {
    display: block;
    padding: 9px 18px;
    font-size: 12px;
    color: #ffffff !important;
    text-decoration: none;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s !important;
}

.footer-nav-dropdown a:hover {
    background: rgba(197,165,114,0.08);
    color: var(--cta-bg-color, #C5A572) !important;
}

/* Social */
.footer-social {
    display: flex;
    gap: 14px;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.18);
    color: #ffffff;
    text-decoration: none;
    transition: border-color 0.25s, color 0.25s, background 0.25s;
}

.footer-social-link:hover {
    border-color: var(--cta-bg-color, #C5A572);
    color: var(--cta-bg-color, #C5A572);
    background: rgba(197,165,114,0.07);
}

.footer-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}

.footer-contact-link:hover {
    color: var(--cta-bg-color, #C5A572);
}

@media (max-width: 768px) {
    .footer-contact-text {
        display: none;
    }

    .footer-contact-link {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        border: 1px solid rgba(255,255,255,0.18);
        justify-content: center;
    }
}

/* Newsletter */
.footer-newsletter-label {
    font-size: 15px;
    font-weight: var(--font-weight-semibold, 600);
    color: #ffffff;
    margin: 0 0 18px;
    letter-spacing: 0.01em;
}

.footer-newsletter-row {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
    align-items: center;
}

.footer-input-wrap {
    flex: 0 0 280px;
    width: 100%;;
}

.footer-nl-input {
    width: 100%;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    padding: 11px 18px;
    color: #ffffff;
    font-size: 13px;
    outline: none;
    transition: border-color 0.25s;
    box-sizing: border-box;
    font-family: inherit;
}

.footer-nl-input::placeholder {
    color: #ffffff;
}

.footer-nl-input:focus {
    border-color: var(--cta-bg-color, #C5A572);
}

/* Footer custom select */
.footer-custom-select {
    position: relative;
    flex-shrink: 0;
}

.footer-cs-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    padding: 11px 18px;
    color: #ffffff;
    font-size: 13px;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    transition: border-color 0.25s, color 0.25s;
    min-width: 150px;
}

.footer-cs-trigger:hover,
.footer-custom-select.open .footer-cs-trigger {
    border-color: var(--cta-bg-color, #C5A572);
    color: #ffffff;
}

.footer-cs-trigger svg {
    flex-shrink: 0;
    color: #ffffff;
    transition: transform 0.25s;
}

.footer-custom-select.open .footer-cs-trigger svg {
    transform: rotate(180deg);
}

.footer-cs-options {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 100%;
    background: #1c1c1c;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    overflow: hidden;
    z-index: 100;
    list-style: none;
    margin: 0;
    padding: 6px 0;
    box-shadow: 0 12px 32px rgba(0,0,0,0.5);
}

.footer-custom-select.open .footer-cs-options {
    display: block;
}

.footer-cs-option {
    padding: 10px 18px;
    font-size: 13px;
    color: #ffffff;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.footer-cs-option:hover {
    background: rgba(197,165,114,0.1);
    color: var(--cta-bg-color, #C5A572);
}

.footer-cs-option.selected {
    color: var(--cta-bg-color, #C5A572);
}

/* Subscribe button */
.footer-nl-btn {
    background: var(--cta-bg-color, #C5A572);
    color: var(--cta-text-color, #ebe6e1);
    border: none;
    border-radius: 50px;
    padding: 11px 26px;
    font-size: 13px;
    font-weight: var(--font-weight-semibold, 600);
    font-family: inherit;
    letter-spacing: 0.04em;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: opacity 0.2s, transform 0.2s;
}

.footer-nl-btn:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

/* Checkboxes */
.footer-newsletter-checks {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-check-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 12px;
    color: #ffffff;
    line-height: 1.55;
    user-select: none;
}

.footer-cb-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.footer-checkmark {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    border: 1.5px solid rgba(255,255,255,0.22);
    border-radius: 3px;
    margin-top: 1px;
    background: rgba(255,255,255,0.04);
    transition: border-color 0.2s, background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-check-icon {
    opacity: 0;
    color: #ffffff;
    transition: opacity 0.15s;
}

.footer-cb-input:checked ~ .footer-checkmark,
.footer-check-label input:checked + .footer-checkmark {
    background: var(--cta-bg-color, #C5A572);
    border-color: var(--cta-bg-color, #C5A572);
}

.footer-cb-input:checked ~ .footer-checkmark .footer-check-icon,
.footer-check-label input:checked + .footer-checkmark .footer-check-icon {
    opacity: 1;
}

.footer-newsletter-legal {
    font-size: 10.5px;
    color: #ffffff;
    line-height: 1.65;
    margin: 0;
}

.footer-newsletter-legal p {
    margin: 0;
}

.footer-newsletter-legal a {
    color: #ffffff;
    text-decoration: underline;
    transition: color 0.2s;
}

.footer-newsletter-legal a:hover {
    color: var(--cta-bg-color, #C5A572);
}

/* Legal + Copyright */
.footer-bottom {
    padding: 18px 0;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-legal-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 22px;
    align-items: center;
}

.footer-legal-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 0.03em;
    transition: color 0.2s;
    white-space: nowrap;
}

.footer-legal-nav a:hover {
    color: var(--cta-bg-color, #C5A572);
}

.footer-copyright {
    font-size: 11px;
    color: #ffffff;
    margin: 0;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .grecaptcha-badge {
        bottom: 68px !important;
    }
}

/* ── Mobile sticky bottom bar ── */
.lux-mobile-bar {
    display: none;
}

@media (max-width: 768px) {
    .lux-mobile-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 900;
        background: #1a1a1a;
        border-top: 1px solid rgba(255,255,255,0.1);
        height: 58px;
    }

    .lux-mobile-bar__btn {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        color: #ffffff;
        text-decoration: none;
        font-size: 13px;
        font-weight: var(--font-weight-semibold, 600);
        font-family: inherit;
        letter-spacing: 0.02em;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        transition: background 0.2s, color 0.2s;
    }

    .lux-mobile-bar__btn:not(:last-child) {
        border-right: 1px solid rgba(255,255,255,0.1);
    }

    .lux-mobile-bar__btn:hover,
    .lux-mobile-bar__btn:active {
        background: rgba(255,255,255,0.05);
    }

    .lux-mobile-bar__btn--accent {
        background: var(--color-accent, #a22534);
        color: #ffffff;
    }

    .lux-mobile-bar__btn--accent:hover,
    .lux-mobile-bar__btn--accent:active {
        background: var(--color-accent-dark, #721d2c);
    }
}

/* Responsive */
@media (max-width: 900px) {
    .footer-nav-list {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .footer-main-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .footer-nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    /* Social debajo del nav, centrado */
    .footer-brand-col {
        display: contents; /* los hijos pasan a ser flex-items directos */
    }

    .footer-logo {
        order: 1;
        display: inline-block;
    }

    .footer-right-col {
        order: 2;
        width: 100%;
    }

    .footer-social-contact-row {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 14px;
    }

    /* Ocultar newsletter en mobile */
    .footer-newsletter {
        display: none;
    }

    .footer-newsletter-row {
        flex-wrap: wrap;
    }

    .footer-input-wrap {
        width: 100%;
        flex: 0 0 100%;
    }

    .footer-cs-trigger {
        min-width: unset;
    }

    /* Padding para que la barra sticky no tape el footer */
    .site-footer {
        padding-bottom: 58px;
    }

    /* Legal links en columnas en mobile */
    .footer-legal-nav {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px 16px;
        padding-bottom: 30px;
    }

    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}
