/* ==============================================================================
   FILE: css/footer.css — FOOTER PUBBLICO (footer.php, blocco 1: solo fuori dalla dashboard)
   Colori del marchio: nero-prugna, oro e fucsia; logo identico al menu in alto.
   ============================================================================== */
/* === FOOTER LUXURY BEAUTY EDITION === */
:root {
    --ftr-gold:       #d4af37;
    --ftr-gold-soft:  #e8d5a0;
    --ftr-rose:       #E6007E;   /* ★ fucsia del marchio, come nel menu in alto */
    --ftr-bg:         #1d1320;   /* ★ nero-prugna del marchio (prima blu navy #0D2F47) */
    --ftr-bg-darker:  #0e0910;
}

.mega-footer {
    background:
        radial-gradient(60% 120% at 12% 0%, rgba(230, 0, 126, .10) 0%, transparent 60%),
        radial-gradient(50% 120% at 88% 0%, rgba(212, 175, 55, .10) 0%, transparent 60%),
        linear-gradient(180deg, var(--ftr-bg) 0%, var(--ftr-bg-darker) 100%);
    color: rgba(255,255,255,.7);
    padding: clamp(64px, 8vw, 104px) 0 0;   /* ★ respiro sopra: le colonne non toccano più la riga dorata */
    margin-top: 0;
    border-top: none;
    position: relative;
    overflow: hidden;
}
.mega-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--ftr-gold), var(--ftr-gold-soft), var(--ftr-gold));
}
.mega-footer::after {
    content: '';
    position: absolute;
    top: -200px; left: 50%;
    transform: translateX(-50%);
    width: 1000px; height: 500px;
    background: radial-gradient(ellipse, rgba(212,175,55,.08) 0%, transparent 60%);
    pointer-events: none;
}

/* Newsletter Strip */
.ftr-newsletter-luxe {
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, rgba(212,175,55,.08) 0%, rgba(233,30,99,.05) 100%);
    border: 1px solid rgba(212,175,55,.2);
    border-radius: 24px;
    padding: 44px 48px;
    margin: 60px 0 70px;
    backdrop-filter: blur(10px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.ftr-newsletter-luxe h3 {
    font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    font-weight: 500;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 12px;
    letter-spacing: -.01em;
}
.ftr-newsletter-luxe h3 em {
    font-style: italic;
    background: linear-gradient(135deg, var(--ftr-gold) 0%, var(--ftr-gold-soft) 50%, var(--ftr-gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 400;
}
.ftr-newsletter-luxe p {
    font-size: .92rem;
    color: rgba(255,255,255,.6);
    margin: 0;
    line-height: 1.6;
}
.ftr-news-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.ftr-news-row {
    display: flex;
    gap: 8px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 100px;
    padding: 6px 6px 6px 22px;
    transition: all .3s;
}
.ftr-news-row:focus-within {
    border-color: var(--ftr-gold);
    background: rgba(255,255,255,.08);
}
.ftr-news-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff !important;
    font-family: inherit;
    font-size: .92rem;
    padding: 8px 0;
    height: auto !important;
}
.ftr-news-input::placeholder { color: rgba(255,255,255,.4); }
.ftr-news-btn {
    background: linear-gradient(135deg, var(--ftr-gold) 0%, var(--ftr-gold-soft) 50%, var(--ftr-gold) 100%);
    color: #0a0a0a !important;
    border: none;
    border-radius: 100px;
    padding: 10px 24px;
    font-weight: 700;
    font-size: .8rem;
    letter-spacing: .5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all .3s;
    flex-shrink: 0;
    height: auto !important;
}
.ftr-news-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(212,175,55,.4);
    color: #0a0a0a !important;
}
.ftr-news-privacy {
    font-size: .75rem;
    color: rgba(255,255,255,.5);
    padding-left: 22px;
    margin: 0;
}
.ftr-news-privacy a { color: var(--ftr-gold-soft); text-decoration: none; }
.ftr-news-privacy a:hover { color: var(--ftr-gold); }
.ftr-news-privacy input[type="checkbox"] {
    accent-color: var(--ftr-gold);
    margin-right: 6px;
    cursor: pointer;
}

/* Brand col */
.ftr-brand-luxe {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    margin-bottom: 22px;
}
.ftr-brand-mark {
    width: 52px; height: 52px;
    flex-shrink: 0;
}
.ftr-brand-mark svg { width: 100%; height: 100%; display: block; }
.ftr-brand-mark img { width: 100%; height: 100%; object-fit: contain; display: block; transform: scale(1.25); }
.ftr-brand-tuo { background: linear-gradient(180deg, #FBEFA3 0%, #E3BE55 30%, #C9A227 55%, #A87E1B 80%, #E8CE78 100%);
                 -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.ftr-brand-luxe .ftr-brand-name em { background: none; -webkit-text-fill-color: var(--ftr-rose); color: var(--ftr-rose); }
.ftr-brand-name {
    font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    font-size: 1.65rem;
    font-weight: 500;
    color: #fff !important;
    letter-spacing: -.02em;
    line-height: 1;
}
.ftr-brand-name em {
    font-style: italic;
    background: linear-gradient(135deg, var(--ftr-gold) 0%, var(--ftr-gold-soft) 50%, var(--ftr-gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 400;
}
.ftr-brand-tagline {
    font-size: .58rem;
    font-weight: 600;
    color: var(--ftr-gold);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 4px;
    display: block;
}

.ftr-desc {
    font-size: .92rem;
    color: rgba(255,255,255,.65);
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 380px;
}

.ftr-contact-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}
.ftr-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: .87rem;
    color: rgba(255,255,255,.7);
    line-height: 1.5;
}
.ftr-contact-list i {
    color: var(--ftr-gold);
    width: 16px;
    margin-top: 4px;
    flex-shrink: 0;
}
.ftr-contact-list a {
    color: rgba(255,255,255,.75) !important;
    text-decoration: none;
    transition: color .25s;
}
.ftr-contact-list a:hover { color: var(--ftr-gold-soft) !important; }

/* Social icons luxury */
.ftr-social-luxe {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}
.ftr-soc-icon {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.7) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .95rem;
    text-decoration: none;
    transition: all .3s;
}
.ftr-soc-icon:hover {
    background: var(--ftr-gold);
    color: #0a0a0a !important;
    border-color: var(--ftr-gold);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(212,175,55,.4);
}

/* Column titles */
.ftr-col-title {
    font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: #fff !important;
    margin-bottom: 22px;
    letter-spacing: .2px;
    position: relative;
    padding-bottom: 12px;
    text-transform: none !important;
}
.ftr-col-title::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 28px; height: 1px;
    background: var(--ftr-gold);
}
.ftr-col-title em {
    font-style: italic;
    color: var(--ftr-gold-soft);
}

/* Links */
.ftr-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.ftr-links li { margin-bottom: 10px; }
.ftr-links a {
    color: rgba(255,255,255,.6) !important;
    text-decoration: none;
    font-size: .87rem;
    font-weight: 400;
    transition: all .3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    padding-left: 0;
}
.ftr-links a::before {
    content: '→';
    color: var(--ftr-gold);
    opacity: 0;
    transform: translateX(-8px);
    transition: all .3s;
    font-size: .8rem;
}
.ftr-links a:hover {
    color: var(--ftr-gold-soft) !important;
    padding-left: 18px;
}
.ftr-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}
.ftr-badge-mini {
    background: linear-gradient(135deg, var(--ftr-gold) 0%, var(--ftr-gold-soft) 50%, var(--ftr-gold) 100%);
    color: #0a0a0a;
    font-size: .58rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 50px;
    letter-spacing: .8px;
    text-transform: uppercase;
}

/* Trust strip */
.ftr-trust {
    border-top: 1px solid rgba(255,255,255,.08);
    border-bottom: 1px solid rgba(255,255,255,.08);
    padding: 28px 0;
    position: relative;
    z-index: 2;
}
.ftr-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: center;
}
.ftr-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,.7);
    text-align: center;
}
.ftr-trust-item i {
    color: var(--ftr-gold);
    font-size: 1.2rem;
}
.ftr-trust-item strong {
    font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
}
.ftr-trust-item small {
    font-size: .72rem;
    color: rgba(255,255,255,.5);
    letter-spacing: .8px;
    text-transform: uppercase;
}

/* Bottom legal */
.ftr-bottom {
    padding: 26px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    font-size: .8rem;
    color: rgba(255,255,255,.45) !important;
    position: relative;
    z-index: 2;
}
.ftr-bottom a {
    color: rgba(255,255,255,.55) !important;
    text-decoration: none;
    margin: 0 8px;
    transition: color .25s;
}
.ftr-bottom a:hover { color: var(--ftr-gold-soft) !important; }
.ftr-legal-line { color: rgba(255,255,255,.5); margin: 0; }
.ftr-legal-line strong { color: rgba(255,255,255,.75); font-weight: 500; }

/* WhatsApp Float Beauty */
.wa-float-beauty {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 9000;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    text-decoration: none;
    box-shadow: 0 8px 32px rgba(37,211,102,.5);
    transition: all .3s;
    animation: wa-pulse-luxe 2.8s infinite;
}
.wa-float-beauty:hover {
    transform: scale(1.1) rotate(-5deg);
    color: #fff !important;
}
@keyframes wa-pulse-luxe {
    0% { box-shadow: 0 8px 32px rgba(37,211,102,.5), 0 0 0 0 rgba(37,211,102,.6); }
    70% { box-shadow: 0 8px 32px rgba(37,211,102,.5), 0 0 0 18px rgba(37,211,102,0); }
    100% { box-shadow: 0 8px 32px rgba(37,211,102,.5), 0 0 0 0 rgba(37,211,102,0); }
}

/* Responsive */
@media (max-width: 991px) {
    .ftr-newsletter-luxe {
        grid-template-columns: 1fr;
        padding: 36px 28px;
        gap: 24px;
    }
    .ftr-newsletter-luxe h3 { font-size: 1.6rem; }
    .ftr-trust-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
    .ftr-bottom { flex-direction: column; text-align: center; gap: 12px; }
}
@media (max-width: 576px) {
    .wa-float-beauty { width: 52px; height: 52px; right: 16px; bottom: 16px; font-size: 1.4rem; }
    .ftr-newsletter-luxe { padding: 28px 22px; margin: 40px 0 50px; }
    .ftr-newsletter-luxe h3 { font-size: 1.4rem; }
    .ftr-news-row {
        flex-direction: column;
        background: transparent;
        border: none;
        padding: 0;
        gap: 10px;
    }
    .ftr-news-row .ftr-news-input {
        background: rgba(255,255,255,.05);
        border: 1px solid rgba(255,255,255,.1);
        border-radius: 12px;
        padding: 12px 18px;
    }
    .ftr-news-btn { padding: 14px 24px; }
}