/* =========================================
   SITE FOOTER — Ease My Holiday
========================================= */

.emh-footer {
    --navy: #0f1a2b;
    --navy-2: #14213d;
    --gold: #d4a017;
    --muted: #9aabbd;
    --line: rgba(255, 255, 255, 0.1);

    background: var(--navy);
    color: #fff;
    font-family: "Manrope", system-ui, sans-serif;
    margin-top: 0;
}

.emh-footer-wrap {
    width: min(1140px, calc(100% - 32px));
    margin: 0 auto;
}

.emh-footer-eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--gold);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
}

/* CTA band */
.emh-footer-cta {
    background:
        linear-gradient(135deg, #1a3158 0%, #14213d 55%, #0f1a2b 100%);
    border-bottom: 1px solid var(--line);
}

.emh-footer-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    padding: 28px 0;
}

.emh-footer-cta h2 {
    margin: 0 0 6px;
    font-family: "Fraunces", Georgia, "Times New Roman", serif;
    font-size: clamp(1.25rem, 2.4vw, 1.7rem);
    font-weight: 700;
    line-height: 1.25;
}

.emh-footer-cta p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
}

.emh-footer-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.emh-footer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.emh-footer-btn:hover {
    transform: translateY(-2px);
}

.emh-footer-btn-gold {
    background: var(--gold);
    color: var(--navy-2);
}

.emh-footer-btn-ghost {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.28);
}

/* Main */
.emh-footer-main {
    padding: 52px 0 36px;
    position: relative;
    overflow: hidden;
}

.emh-footer-main::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -180px;
    top: -200px;
    border-radius: 50%;
    background: rgba(212, 160, 23, 0.06);
    pointer-events: none;
}

.emh-footer-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.35fr 0.85fr 0.85fr 1.15fr;
    gap: 36px 28px;
}

.emh-footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
    margin-bottom: 14px;
}

.emh-footer-logo-mark {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #fff;
}

.emh-footer-logo-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.emh-footer-logo-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.emh-footer-logo-copy strong {
    font-size: 17px;
    font-weight: 800;
    line-height: 1.2;
}

.emh-footer-logo-copy small {
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.emh-footer-brand > p {
    margin: 0 0 18px;
    max-width: 36ch;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.emh-footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.emh-footer-social a {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid var(--line);
    color: #fff;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.emh-footer-social a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy-2);
    transform: translateY(-2px);
}

.emh-footer-col h3 {
    margin: 0 0 16px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
}

.emh-footer-col h3::after {
    content: "";
    display: block;
    width: 28px;
    height: 2px;
    margin-top: 8px;
    background: var(--gold);
}

.emh-footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.emh-footer-col a {
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.emh-footer-col a:hover {
    color: #fff;
}

.emh-footer-col li a:hover {
    transform: translateX(3px);
    display: inline-block;
}

.emh-footer-contact {
    display: grid;
    gap: 12px;
    align-content: start;
}

.emh-footer-contact h3 {
    margin-bottom: 4px;
}

.emh-footer-contact-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
}

.emh-footer-contact-row i {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(212, 160, 23, 0.12);
    color: var(--gold);
    font-size: 13px;
}

.emh-footer-contact-row small {
    display: block;
    margin-bottom: 2px;
    color: #738499;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.emh-footer-contact-row strong {
    display: block;
    color: #e8eef5;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
    word-break: break-word;
}

.emh-footer-contact-row:hover strong {
    color: var(--gold);
}

/* Bottom */
.emh-footer-bottom {
    border-top: 1px solid var(--line);
    background: rgba(0, 0, 0, 0.22);
}

.emh-footer-bottom-inner {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    padding: 16px 0;
}

.emh-footer-bottom p {
    margin: 0;
    color: #8293a5;
    font-size: 12px;
}

.emh-footer-bottom strong {
    color: var(--gold);
    font-weight: 700;
}

.emh-footer-credit {
    margin: 0;
    color: #8293a5;
    font-size: 12px;
}

.emh-footer-credit a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 700;
}

.emh-footer-credit a:hover {
    text-decoration: underline;
}

.emh-footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.emh-footer-bottom-links a {
    color: #8293a5;
    text-decoration: none;
    font-size: 12px;
}

.emh-footer-bottom-links a:hover {
    color: var(--gold);
}

.emh-footer-bottom-links span {
    color: #43566b;
}

/* Back to top */
.emh-back-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 90;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 12px;
    background: var(--gold);
    color: var(--navy-2);
    cursor: pointer;
    display: grid;
    place-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    box-shadow: 0 10px 24px rgba(15, 26, 43, 0.25);
}

.emh-back-top.show {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.emh-back-top:hover {
    transform: translateY(-3px);
    background: #fff;
}

@media (max-width: 980px) {
    .emh-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}


    .emh-back-top {
        right: 21px;
        bottom: 175px !important;
    }

@media (max-width: 640px) {
    .emh-footer-wrap {
        width: calc(100% - 24px);
    }

    .emh-footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .emh-footer-main {
        padding: 40px 0 28px;
    }

    .emh-footer-cta-inner,
    .emh-footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .emh-footer-bottom-inner {
        align-items: center;
        text-align: center;
    }

    .emh-footer-bottom-links {
        justify-content: center;
    }

    .emh-back-top {
        right: 21px;
        bottom: 175px !important;
        /* keep clear of floating CTAs if any */
        
    }
}
