/* ═══════════════════════════════════════════════════════════════
   D14 — Footer polish
   Brings the shared contact and footer surfaces into the same dark,
   gold-accent card language used by the rest of the redesigned site.
   The footer markup and its content remain unchanged.
   ═══════════════════════════════════════════════════════════════ */

.main-footer.background-effect {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(201, 162, 85, 0.11), transparent 42%),
        linear-gradient(180deg, #0b0b0b 0%, #050505 100%) !important;
}

.main-footer.background-effect.homepage-footer::before {
    content: '';
    position: absolute;
    z-index: 0;
    top: 0;
    right: 5%;
    left: 5%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.8;
}

.main-footer.background-effect::after {
    content: '';
    position: absolute;
    z-index: 0;
    right: -12rem;
    bottom: -14rem;
    width: 34rem;
    height: 34rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 162, 85, 0.08), transparent 68%);
    pointer-events: none;
}

.main-footer > * {
    position: relative;
    z-index: 1;
}

/* ─── Contact cards ──────────────────────────────────────────── */
.contact-information {
    position: relative;
    padding: clamp(42px, 6vw, 72px) 0 clamp(30px, 4vw, 52px);
}

.contact-information .row {
    row-gap: 20px;
}

.contact-information .col-lg-4 {
    display: flex;
}

.contact-info-item {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    width: 100%;
    min-height: 100%;
    height: auto;
    margin-bottom: 0;
    padding: 28px 26px 30px;
    overflow: hidden;
    text-align: left;
    border: 1px solid var(--accent-border);
    border-radius: var(--r-md);
    background:
        linear-gradient(145deg, rgba(31, 31, 31, 0.98), rgba(13, 13, 13, 0.98));
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
    transition:
        transform 0.3s var(--ease-out),
        border-color 0.3s var(--ease-out),
        box-shadow 0.3s var(--ease-out);
}

.contact-info-item::before {
    content: '';
    position: absolute;
    z-index: 0;
    top: 0;
    right: 24px;
    left: 24px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.75;
}

.contact-info-item::after {
    content: '';
    position: absolute;
    z-index: 0;
    right: -4rem;
    bottom: -5rem;
    width: 13rem;
    height: 13rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 162, 85, 0.13), transparent 68%);
    pointer-events: none;
}

.contact-info-item:hover {
    transform: translateY(-4px);
    border-color: rgba(201, 162, 85, 0.7);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.38), 0 0 0 3px rgba(201, 162, 85, 0.07);
}

.contact-info-item > * {
    position: relative;
    z-index: 1;
}

.contact-info-item .icon-box {
    flex: 0 0 52px;
    display: grid;
    width: 52px;
    height: 52px;
    margin: 0;
    place-items: center;
    border: 1px solid var(--accent-border);
    border-radius: var(--r-sm);
    background: var(--accent-dim);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 8px 18px rgba(0, 0, 0, 0.28);
}

.contact-info-item .icon-box img {
    width: 30px;
    max-width: 30px;
    height: 30px;
    filter: sepia(0.45) saturate(1.55) hue-rotate(352deg) brightness(1.08);
    transition: transform 0.3s var(--ease-out), filter 0.3s var(--ease-out);
}

.contact-info-item:hover .icon-box img {
    transform: scale(1.08);
    filter: sepia(0.7) saturate(1.9) hue-rotate(352deg) brightness(1.12);
}

.contact-info-content {
    min-width: 0;
}

.contact-info-content h3 {
    margin: 0 0 13px;
    color: var(--accent);
    font-family: var(--default-font);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.25;
    text-transform: uppercase;
}

.contact-info-content h3::after {
    display: block;
    width: 32px;
    height: 2px;
    margin-top: 9px;
    content: '';
    background: var(--accent);
    opacity: 0.65;
}

.contact-info-content p {
    margin: 0 0 7px;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.contact-info-content p:last-child {
    margin-bottom: 0;
}

.contact-info-content a {
    color: var(--white);
    font-weight: 650;
    text-decoration: none;
    transition: color 0.2s var(--ease-out), text-shadow 0.2s var(--ease-out);
}

.contact-info-content a:hover,
.contact-info-content a:focus-visible {
    color: var(--accent);
    text-shadow: 0 0 14px rgba(201, 162, 85, 0.28);
}

/* ─── Lower footer panel ─────────────────────────────────────── */
.footer-main {
    padding: clamp(24px, 4vw, 52px) 0 32px;
}

.about-footer {
    position: relative;
    height: auto;
    min-height: 0;
    padding: clamp(36px, 5vw, 56px) clamp(22px, 5vw, 56px) 24px;
    overflow: hidden;
    border: 1px solid var(--border-hover);
    border-radius: var(--r-lg);
    background:
        radial-gradient(circle at 50% -20%, rgba(201, 162, 85, 0.13), transparent 46%),
        linear-gradient(145deg, rgba(30, 30, 30, 0.98), rgba(13, 13, 13, 0.98));
    box-shadow: 0 24px 52px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.about-footer::before {
    content: '';
    position: absolute;
    z-index: 0;
    top: 0;
    right: 6%;
    left: 6%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.8;
}

.about-footer::after {
    content: '';
    position: absolute;
    z-index: 0;
    top: -9rem;
    left: 50%;
    width: 20rem;
    height: 20rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 162, 85, 0.08), transparent 67%);
    transform: translateX(-50%);
    pointer-events: none;
}

.about-footer > * {
    position: relative;
    z-index: 1;
}

.about-footer .about-footer-header {
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px !important;
}

.about-footer .footer-logo {
    display: flex;
    width: min(220px, 42vw);
    max-width: 100%;
    margin: 0 auto !important;
}

.about-footer .footer-logo picture {
    display: block;
    width: 100%;
}

.about-footer .footer-logo img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 854 / 267;
    object-fit: contain;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.38));
}

.about-footer .footer-social-list {
    margin-bottom: 28px !important;
}

.about-footer .footer-social-list ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.about-footer .footer-social-list ul li {
    display: flex;
    margin: 0;
}

.about-footer .footer-social-list ul li a {
    display: grid;
    width: 48px;
    height: 48px;
    padding: 0;
    place-items: center;
    border: 1px solid var(--border-hover);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.045);
    color: var(--accent);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition:
        transform 0.25s var(--ease-out),
        color 0.25s var(--ease-out),
        background-color 0.25s var(--ease-out),
        border-color 0.25s var(--ease-out),
        box-shadow 0.25s var(--ease-out);
}

.about-footer .footer-social-list ul li a::before,
.about-footer .footer-social-list ul li a::after {
    display: none;
}

.about-footer .footer-social-list ul li a i {
    color: currentColor;
    font-size: 20px;
}

.about-footer .footer-social-list ul li a:hover,
.about-footer .footer-social-list ul li a:focus-visible {
    transform: translateY(-3px);
    border-color: var(--accent);
    background: var(--accent);
    color: var(--ink);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.32), 0 0 0 3px var(--accent-dim);
}

.about-footer .footer-links {
    margin: 0 0 24px !important;
    padding: 22px 0 0;
    border-top: 1px solid var(--border);
}

.about-footer .footer-links ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 28px;
}

.about-footer .footer-links ul li {
    display: inline-flex;
    margin: 0;
}

.about-footer .footer-links ul li::after {
    right: -17px;
    width: 4px;
    height: 4px;
    background: var(--accent);
    opacity: 0.75;
}

.about-footer .footer-links ul li a {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 650;
    text-decoration: none;
    transition: color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}

.about-footer .footer-links ul li a:hover,
.about-footer .footer-links ul li a:focus-visible {
    color: var(--accent);
    transform: translateY(-1px);
}

.about-footer .footer-copyright {
    margin-top: 0;
    padding: 20px 0 0;
    border-top: 1px solid var(--border);
}

.about-footer .footer-copyright .row {
    margin: 0;
}

.about-footer .footer-copyright .col-lg-12 {
    padding-right: 0;
    padding-left: 0;
}

.about-footer .footer-copyright-text p {
    margin: 0;
    color: var(--muted);
    font-size: 0.78rem;
    letter-spacing: 0.015em;
    line-height: 1.5;
}

.about-footer .footer-copyright-text a.text-white {
    color: var(--accent) !important;
    text-decoration: none;
}

@media (max-width: 767.98px) {
    .contact-information {
        padding: 32px 0 24px;
    }

    .contact-info-item {
        gap: 15px;
        padding: 23px 20px 25px;
    }

    .contact-info-item .icon-box {
        flex-basis: 46px;
        width: 46px;
        height: 46px;
    }

    .contact-info-item .icon-box img {
        width: 26px;
        max-width: 26px;
        height: 26px;
    }

    .contact-info-content h3 {
        font-size: 0.86rem;
    }

    .contact-info-content p {
        font-size: 0.86rem;
    }

    .footer-main {
        padding: 24px 0 20px;
    }

    .about-footer {
        padding: 34px 18px 20px;
        border-radius: var(--r-md);
    }

    .about-footer .footer-links ul {
        gap: 10px 18px;
    }

    .about-footer .footer-links ul li::after {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-info-item,
    .contact-info-item .icon-box img,
    .about-footer .footer-social-list ul li a,
    .about-footer .footer-links ul li a {
        transition-duration: 0.01ms !important;
    }
}

/* Shared contact form: restrained light in the upper right corner. */
.contact-form {
    position: relative;
    isolation: isolate;
}

.contact-form::after {
    content: '';
    position: absolute;
    z-index: -1;
    top: 0;
    right: 0;
    width: 15rem;
    height: 15rem;
    border-top-right-radius: inherit;
    background: radial-gradient(circle at 100% 0%, rgba(201, 162, 85, 0.13), transparent 68%);
    pointer-events: none;
}
