/* Explain: Styles for the redesigned footer section. */
/* JoyCaps — redesigned footer */
.site-footer {
    position: relative;
    overflow: hidden;
    margin-top: 1rem;
    background:
        radial-gradient(circle at 88% 4%, rgba(205, 154, 154, .28), transparent 55%),
        radial-gradient(circle at 6% 98%, rgba(235, 217, 203, .16), transparent 52%),
        linear-gradient(160deg, #2A1F1A 0%, #3A2C25 58%, #46362D 100%);
    color: rgba(255, 255, 255, .78);
    border-top: 1px solid rgba(205, 154, 154, .32);
}

.site-footer > .wedding-deco {
    z-index: 1;
}

.footer-inner {
    position: relative;
    z-index: 2;
    padding-top: 3.5rem;
    padding-bottom: 2rem;
}

/* ---------- Highlight strip ---------- */
.footer-highlights {
    display: grid;
    gap: .75rem;
    padding-bottom: 2.5rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

@media (min-width: 768px) {
    .footer-highlights {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1rem;
    }
}

.footer-perk {
    display: flex;
    align-items: center;
    gap: .9rem;
    padding: .9rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, .05);
    transition: border-color .3s ease, background-color .3s ease, transform .3s ease;
}

.footer-perk:hover {
    border-color: rgba(205, 154, 154, .5);
    background: rgba(255, 255, 255, .08);
    transform: translateY(-2px);
}

.footer-perk-icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--rose-gradient);
    color: #fff;
    font-size: 1rem;
    box-shadow: 0 14px 26px -16px rgba(0, 0, 0, .8);
}

.footer-perk-body {
    display: flex;
    flex-direction: column;
    gap: .1rem;
}

.footer-perk-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
}

.footer-perk-text {
    font-size: .78rem;
    color: rgba(255, 255, 255, .6);
}

/* ---------- Main grid ---------- */
.footer-main {
    display: grid;
    gap: 2.25rem;
}

@media (min-width: 640px) {
    .footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .footer-main {
        grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)) minmax(0, 1.15fr);
        gap: 2.5rem;
    }
}

.site-footer .brand {
    color: #fff;
}

.site-footer .brand small {
    color: rgba(255, 255, 255, .5);
}

.footer-brand-text {
    margin-top: 1.25rem;
    max-width: 26rem;
    font-size: .9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, .62);
}

.footer-socials {
    display: flex;
    gap: .6rem;
    margin-top: 1.5rem;
}

/* ---------- Columns ---------- */
.footer-title {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: 1.25rem;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--accent-color);
}

.footer-title::before {
    content: "";
    display: inline-block;
    width: 22px;
    height: 1px;
    background: var(--accent-color);
}

.footer-links li {
    margin-bottom: .55rem;
    font-size: .92rem;
}

.footer-links a,
.footer-links span {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    color: rgba(255, 255, 255, .74);
}

.footer-links a {
    transition: color .22s ease, gap .22s ease;
}

.footer-links a:hover {
    color: #fff;
    gap: .9rem;
}

.footer-links i {
    width: 16px;
    font-size: .78rem;
    color: var(--accent-color);
    text-align: center;
}

/* ---------- CTA card ---------- */
.footer-cta {
    display: flex;
    flex-direction: column;
    gap: .9rem;
    padding: 1.5rem;
    border: 1px solid rgba(205, 154, 154, .32);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, .06);
    box-shadow: 0 24px 50px -34px rgba(0, 0, 0, .85);
}

.footer-cta-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.2;
    color: #fff;
}

.footer-cta-text {
    font-size: .85rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, .62);
}

.footer-cta .btn-light {
    margin-top: .25rem;
}

/* ---------- Bottom bar ---------- */
.footer-bar {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: .78rem;
    color: rgba(255, 255, 255, .45);
}

@media (min-width: 640px) {
    .footer-bar {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.footer-bar-links {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem 1.25rem;
}

.footer-bar-links a,
.footer-bar-links button {
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    color: rgba(255, 255, 255, .58);
    text-align: left;
    cursor: pointer;
    transition: color .2s ease;
}

.footer-bar-links a:hover,
.footer-bar-links button:hover {
    color: #fff;
}