/* ==========================================================================
   Footer — single composition, four bands:
     1. CTA strip (headline left + Book online button right)
     2. Main grid (brand + 3 nav columns)
     3. Wordmark signature (decorative outlined wordmark)
     4. Legal bar (copyright + CVR + legal links)
   ========================================================================== */

.ab-footer {
    background: var(--ab-petrol-700);
    color: var(--ab-ice-100);
    position: relative;
    overflow: hidden;
}
.ab-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(80% 50% at 0% 0%, rgba(0,194,212,0.06), transparent 60%),
        radial-gradient(60% 40% at 100% 100%, rgba(255,106,26,0.04), transparent 60%);
    pointer-events: none;
}

/* ===== 1. CTA strip ===== */
.ab-footer__cta {
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: clamp(40px, 6vw, 64px) 0;
    position: relative;
    z-index: 1;
}
.ab-footer__cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 32px;
}
.ab-footer__cta-text { flex: 1; min-width: 0; }
.ab-footer__cta-text .ab-eyebrow { margin-bottom: 14px; }
.ab-footer__cta-text h2 {
    color: var(--ab-white);
    font-size: clamp(1.4rem, 2.4vw, 2rem);
    line-height: 1.1;
    margin: 0;
}
.ab-footer__cta-text p {
    color: rgba(255,255,255,0.60);
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 10px 0 0;
    max-width: 56ch;
}
.ab-footer__cta-text .ab-text-accent { color: var(--ab-orange-500); }
.ab-footer__cta-btn { flex-shrink: 0; }

/* ===== 2. Main grid ===== */
.ab-footer__main { padding: clamp(56px, 8vw, 90px) 0 clamp(36px, 5vw, 50px); position: relative; z-index: 1; }
.ab-footer__grid {
    display: grid;
    /* Brand wider, nav columns narrower */
    grid-template-columns: 1.8fr 0.9fr 0.9fr 0.9fr;
    gap: 50px;
}

.ab-footer__brand .ab-footer__logo { display: block; margin-bottom: 24px; }
.ab-footer__brand .ab-logo { height: 40px; width: auto; max-width: 100%; display: block; }

.ab-footer__tagline {
    font-family: var(--ab-font-display);
    font-size: clamp(1.05rem, 1.4vw, 1.25rem);
    color: var(--ab-white);
    line-height: 1.25;
    letter-spacing: -0.005em;
    margin: 0 0 6px;
    white-space: nowrap;
}
.ab-footer__tagline-sub {
    font-family: var(--ab-font-body);
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(255,255,255,0.55);
    margin: 0;
}

/* ===== Contact row — its own horizontal row, items grouped + centered ===== */
.ab-footer__contact-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 56px;
    margin-top: clamp(32px, 5vw, 50px);
    padding: 26px 0 6px;
    border-top: 1px solid rgba(255,255,255,0.08);
    list-style: none;
}
.ab-footer__contact-row li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin: 0;
}
.ab-footer__icon {
    display: inline-flex;
    color: var(--ab-ice-brand);
    flex-shrink: 0;
    margin-top: 3px;
}
.ab-footer__icon svg { width: 18px; height: 18px; display: block; }
.ab-footer__contact-row li > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ab-footer__lbl {
    display: block;
    color: rgba(255, 255, 255, 0.50);
    font-family: var(--ab-font-body);
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 600;
    line-height: 1;
}
.ab-footer__contact-row a,
.ab-footer__contact-row li > div > span:not(.ab-footer__lbl) {
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.95rem;
    font-weight: 500;
}
.ab-footer__contact-row a { transition: color 280ms ease; }
.ab-footer__contact-row a:hover { color: var(--ab-orange-500); }

/* Right nav columns */
.ab-footer__nav { display: contents; }
.ab-footer__col { display: flex; flex-direction: column; }
/* Column heading — plain uppercase text with full-width cyan line underneath */
.ab-footer__col h4 {
    margin: 0 0 22px;
    padding-bottom: 14px;
    color: var(--ab-white);
    font-family: var(--ab-font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border-bottom: 2px solid var(--ab-ice-brand);
}
.ab-footer__col ul { display: flex; flex-direction: column; gap: 12px; list-style: none; padding: 0; margin: 0; }
.ab-footer__col a {
    color: rgba(255,255,255,0.72);
    font-size: 0.95rem;
    transition: color 280ms ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.ab-footer__col a:hover { color: var(--ab-white); }
.ab-extlink {
    width: 11px;
    height: 11px;
    flex-shrink: 0;
    opacity: 0.6;
    transition: opacity 280ms ease;
}
.ab-footer__col a:hover .ab-extlink { opacity: 1; }
.ab-footer__quiet { color: rgba(255,255,255,0.40); font-size: 0.88rem; line-height: 1.5; }

/* ===== 3. Wordmark signature ===== */
.ab-footer__signature {
    padding: 0 0 clamp(20px, 3vw, 36px);
    position: relative;
    z-index: 0;
    user-select: none;
}
.ab-footer__signature .ab-container { overflow: hidden; }
.ab-footer__signature .ab-logo,
.ab-footer__signature .ab-logo--outline {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
}

/* ===== 4. Legal bar ===== */
.ab-footer__legal {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 22px 0;
    position: relative;
    z-index: 1;
}
.ab-footer__legal-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}
.ab-footer__legal p { color: rgba(255,255,255,0.45); font-size: 0.82rem; margin: 0; }
.ab-footer__legal a { color: rgba(255,255,255,0.70); }
.ab-footer__legal a:hover { color: var(--ab-orange-500); }
.ab-footer__legal-links {
    display: flex; gap: 22px;
    list-style: none; padding: 0; margin: 0;
}
.ab-footer__legal-links a { color: rgba(255,255,255,0.55); font-size: 0.82rem; }
.ab-footer__legal-links a:hover { color: var(--ab-white); }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
    .ab-footer__grid { grid-template-columns: 1fr 1fr 1fr; gap: 40px; }
    .ab-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
    .ab-footer__cta-inner { flex-direction: column; align-items: flex-start; }
    .ab-footer__tagline { white-space: normal; }
    .ab-footer__contact-row { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 600px) {
    .ab-footer__grid { grid-template-columns: 1fr; gap: 36px; }
    .ab-footer__legal-inner { flex-direction: column; align-items: flex-start; }
}
