/* Header and footer shell. Matches AVPS layout; Gatwick orange accents. */

:root {
    --gp-header-navy: #042550;
    --gp-header-navy-deep: #031a3d;
    --gp-header-orange: #f76e28;
    --gp-header-orange-hot: #ff6b00;
    --gp-header-orange-bright: #ff8533;
    --gp-header-ink: #172033;
    --gp-header-line: rgba(255, 255, 255, 0.13);
    --gp-header-font: "Inter", "Muli", system-ui, -apple-system, sans-serif;
    --gp-header-height: 119px;
}

html {
    scroll-padding-top: calc(var(--gp-header-height) + 1rem);
}

.gp-site-header,
.gp-site-header.nav-header {
    position: sticky;
    top: 0;
    z-index: 1030 !important;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--gp-header-navy) !important;
    box-shadow: 0 8px 28px rgba(4, 37, 80, 0.18);
    font-family: var(--gp-header-font);
}

.gp-topbar {
    min-height: 32px;
    border-bottom: 1px solid var(--gp-header-line);
    background: var(--gp-header-navy-deep);
}

.gp-topbar .container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 32px;
}

.gp-helpline {
    display: inline-flex;
    align-items: center;
    gap: 0.48rem;
    min-height: 32px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.79rem;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.gp-helpline__icon {
    display: inline-grid;
    width: 1.35rem;
    height: 1.35rem;
    place-items: center;
    border-radius: 50%;
    background: rgba(247, 110, 40, 0.18);
    color: var(--gp-header-orange-bright);
    font-size: 0.66rem;
}

.gp-helpline:hover,
.gp-helpline:focus-visible {
    color: #fff;
}

.gp-helpline:hover .gp-helpline__icon,
.gp-helpline:focus-visible .gp-helpline__icon {
    background: var(--gp-header-orange);
    color: #fff;
}

.gp-navbar {
    position: relative;
    min-height: 87px;
    padding: 0.55rem 0;
    flex-wrap: nowrap;
    background:
        linear-gradient(110deg, rgba(247, 110, 40, 0.1), transparent 42%),
        var(--gp-header-navy);
}

.gp-site-header .container {
    max-width: 1140px;
}

.gp-navbar > .container {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
}

.gp-navbar__brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    margin: 0;
    padding: 0;
}

.gp-navbar__brand img {
    display: block;
    width: auto;
    height: 62px;
    max-width: 130px;
    max-height: none;
    object-fit: contain;
}

.gp-navbar__collapse {
    min-width: 0;
}

.gp-navbar__links {
    align-items: center;
    gap: clamp(0.15rem, 0.65vw, 0.65rem);
    margin: 0 auto;
}

.gp-site-header .gp-navbar__links .nav-item {
    padding: 0;
}

.gp-site-header .gp-navbar__links .nav-link {
    position: relative;
    margin: 0;
    padding: 0.62rem 0.68rem;
    border: 0 !important;
    border-radius: 9px;
    color: rgba(255, 255, 255, 0.83) !important;
    font-family: var(--gp-header-font);
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.01em;
    white-space: nowrap;
    transition: color 0.2s ease, background 0.2s ease;
}

.gp-site-header .gp-navbar__links .nav-link::after {
    content: "";
    position: absolute;
    right: 0.68rem;
    bottom: 0.28rem;
    left: 0.68rem;
    height: 2px;
    border-radius: 999px;
    background: var(--gp-header-orange);
    opacity: 0;
    transform: scaleX(0.35);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.gp-site-header .gp-navbar__links .nav-link:hover,
.gp-site-header .gp-navbar__links .nav-link:focus-visible {
    background: rgba(255, 255, 255, 0.07);
    color: #fff !important;
}

.gp-site-header .gp-navbar__links .nav-link.active {
    border: 0 !important;
    background: rgba(255, 255, 255, 0.08);
    color: #fff !important;
}

.gp-site-header .gp-navbar__links .nav-link.active::after {
    opacity: 1;
    transform: scaleX(1);
}

.gp-navbar__actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.55rem;
}

.gp-nav-btn,
.gp-account__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.55rem;
    padding: 0.52rem 0.82rem;
    border-radius: 9px;
    font-family: var(--gp-header-font);
    font-size: 0.76rem;
    font-weight: 750;
    letter-spacing: 0.02em;
    line-height: 1.15;
    white-space: nowrap;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.gp-nav-btn:hover,
.gp-nav-btn:focus-visible,
.gp-account__toggle:hover,
.gp-account__toggle:focus-visible {
    transform: translateY(-1px);
}

.gp-nav-btn--secondary {
    border: 1px solid rgba(255, 255, 255, 0.34);
    background: transparent;
    color: #fff;
}

.gp-nav-btn--secondary:hover,
.gp-nav-btn--secondary:focus-visible {
    border-color: #fff;
    background: #fff;
    color: var(--gp-header-navy);
}

.gp-nav-btn--primary {
    border: 1px solid var(--gp-header-orange);
    background: linear-gradient(180deg, var(--gp-header-orange-bright), var(--gp-header-orange));
    color: #fff;
    box-shadow: 0 7px 18px rgba(247, 110, 40, 0.28);
}

.gp-nav-btn--primary:hover,
.gp-nav-btn--primary:focus-visible {
    border-color: var(--gp-header-orange-hot);
    background: var(--gp-header-orange-hot);
    color: #fff;
}

.gp-account__toggle {
    gap: 0.45rem;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.gp-account .dropdown-menu {
    position: absolute !important;
    min-width: 11rem;
    margin: 0.55rem 0 0;
    margin-left: 0;
    padding: 0.4rem;
    border: 1px solid #e2e6ed;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(4, 37, 80, 0.18);
}

.gp-account .dropdown-item {
    padding: 0.58rem 0.68rem;
    border: 0;
    border-radius: 8px;
    color: var(--gp-header-ink);
    font-size: 0.84rem;
    font-weight: 600;
}

.gp-account .dropdown-item:hover,
.gp-account .dropdown-item:focus {
    background: #fef0e9;
    color: var(--gp-header-orange-hot);
}

.gp-navbar__toggle,
.gp-site-header .navbar-toggler {
    display: none;
    width: 2.8rem;
    height: 2.8rem;
    padding: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.24) !important;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.07) !important;
    color: #fff;
    box-shadow: none;
}

.gp-navbar__toggle i {
    color: #fff;
    font-size: 1.15rem;
    transition: transform 0.2s ease;
}

.gp-navbar__toggle[aria-expanded="true"] {
    border-color: rgba(247, 110, 40, 0.7) !important;
    background: rgba(247, 110, 40, 0.18) !important;
}

.gp-navbar__toggle[aria-expanded="true"] i {
    transform: rotate(90deg);
}

.gp-navbar__toggle:focus,
.gp-navbar__toggle:focus-visible {
    box-shadow: none;
}

.gp-navbar__toggle:focus-visible,
.gp-site-header a:focus-visible,
#footer a:focus-visible {
    outline: 2px solid var(--gp-header-orange-bright);
    outline-offset: 3px;
}

@media (min-width: 1200px) {
    .gp-navbar__collapse {
        display: flex !important;
        flex: 1 1 auto;
        align-items: center;
        flex-basis: auto;
    }

    .gp-account .dropdown-menu {
        position: absolute !important;
    }
}

@media (max-width: 1199.98px) {
    :root {
        --gp-header-height: 106px;
    }

    .gp-topbar,
    .gp-topbar .container,
    .gp-helpline {
        min-height: 30px;
    }

    .gp-navbar {
        min-height: 76px;
        padding: 0.35rem 0;
    }

    .gp-navbar__brand img {
        height: 58px;
        max-width: 115px;
    }

    .gp-navbar__toggle,
    .gp-site-header .navbar-toggler {
        display: inline-grid !important;
        flex: 0 0 auto;
        margin-left: auto;
        place-items: center;
    }

    .gp-navbar__collapse {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        max-height: calc(100vh - var(--gp-header-height));
        padding: 0.7rem max(1rem, calc((100vw - 960px) / 2));
        overflow-y: auto;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        background: rgba(4, 37, 80, 0.99);
        box-shadow: 0 18px 35px rgba(4, 37, 80, 0.24);
    }

    .gp-navbar__links {
        align-items: stretch;
        gap: 0.2rem;
        margin: 0;
    }

    .gp-site-header .gp-navbar__links .nav-link {
        width: 100%;
        padding: 0.72rem 0.75rem;
        font-size: 0.92rem;
        white-space: normal;
    }

    .gp-site-header .gp-navbar__links .nav-link::after {
        top: 0.65rem;
        right: auto;
        bottom: 0.65rem;
        left: 0;
        width: 3px;
        height: auto;
        transform: scaleY(0.35);
    }

    .gp-site-header .gp-navbar__links .nav-link.active::after {
        transform: scaleY(1);
    }

    .gp-navbar__actions {
        align-items: stretch;
        margin-top: 0.65rem;
        padding: 0.8rem 0 0.2rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .gp-nav-btn,
    .gp-account__toggle {
        min-height: 2.8rem;
    }
}

@media (max-width: 767.98px) {
    :root {
        --gp-header-height: 102px;
    }

    .gp-topbar,
    .gp-topbar .container,
    .gp-helpline {
        min-height: 28px;
    }

    .gp-helpline {
        font-size: 0.73rem;
    }

    .gp-navbar {
        min-height: 74px;
    }

    .gp-navbar__brand img {
        height: 54px;
        max-width: 108px;
    }

    .gp-navbar__collapse {
        padding: 0.65rem 0.9rem 0.9rem;
    }

    .gp-navbar__actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .gp-navbar__actions > :only-child,
    .gp-navbar__actions .gp-account {
        grid-column: 1 / -1;
    }

    .gp-account__toggle {
        width: 100%;
    }

    .gp-account .dropdown-menu {
        position: static !important;
        width: 100%;
        margin-top: 0.4rem;
        transform: none !important;
    }
}

@media (max-width: 420px) {
    .gp-navbar__actions {
        grid-template-columns: 1fr;
    }
}

.gp-site-header #navbarNavDropdown .gp-navbar__links .nav-link {
    margin-left: 0;
    padding: 0.62rem 0.68rem;
    font-size: 0.88rem;
}

@media (max-width: 1199.98px) {
    .gp-site-header #navbarNavDropdown .gp-navbar__links .nav-link {
        width: 100%;
        padding: 0.72rem 0.75rem;
        font-size: 0.92rem;
        white-space: normal;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gp-site-header *,
    #footer * {
        transition: none !important;
    }
}

/* Footer */
#footer {
    position: relative;
    overflow: hidden;
    border-top: 4px solid var(--gp-header-orange);
    background:
        radial-gradient(circle at 8% 10%, rgba(247, 110, 40, 0.12), transparent 24rem),
        linear-gradient(145deg, var(--gp-header-navy), #020a27) !important;
    color: #fff;
    font-family: var(--gp-header-font);
}

#footer .footer-wrap {
    padding: 0 !important;
    background: transparent;
}

#footer .second_class {
    border: 0;
    background: transparent;
}

#footer .container,
#footer .second_class_bdr {
    max-width: 1140px;
}

#footer .second_class_bdr {
    padding-top: 3.5rem;
    padding-bottom: 2.4rem;
}

#footer .second_class_bdr > .row,
#footer .gp-footer-row {
    --bs-gutter-x: 2rem;
    --bs-gutter-y: 2rem;
    justify-content: flex-start;
    align-items: flex-start;
}

@media (min-width: 1200px) {
    #footer .gp-footer-row {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        column-gap: 2rem;
        row-gap: 2rem;
        --bs-gutter-x: 0;
    }

    #footer .gp-footer-row > [class*="col-"] {
        flex: none;
        width: auto;
        max-width: none;
        padding-right: 0;
        padding-left: 0;
    }
}

#footer .gp-footer-brand {
    min-width: 0;
}

#footer .footer-logo {
    display: flex;
    align-items: center;
    min-height: 62px;
}

#footer .footer-logo img,
#footer .footer-img-cs {
    width: auto;
    height: 62px !important;
    max-width: 130px;
    object-fit: contain;
}

#footer .social_media_main {
    margin-top: 1.15rem !important;
}

#footer .social_media_main p {
    max-width: 18rem;
    margin: 0 0 1rem;
    color: #b8c1d2;
    font-size: 0.88rem;
    line-height: 1.65;
}

#footer h3,
#footer .footer-wrap h3 {
    position: relative;
    height: auto;
    margin: 0 0 1.15rem;
    padding-bottom: 0.7rem;
    color: #fff !important;
    font-size: 1rem;
    font-weight: 750;
    letter-spacing: -0.02em;
}

#footer h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 2rem;
    height: 2px;
    border-radius: 999px;
    background: var(--gp-header-orange);
}

#footer ul {
    margin: 0;
    padding: 0;
}

#footer li {
    margin: 0;
    padding: 0;
    list-style: none;
}

#footer .footer-a-tag,
#footer .gp-cookie-footer-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0;
    border: 0;
    background: none;
    color: #b8c1d2 !important;
    font-size: 0.86rem;
    line-height: 1.55;
    text-align: left;
    text-decoration: none !important;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
}

#footer .footer-a-tag::before,
#footer .gp-cookie-footer-btn::before {
    content: "";
    width: 0;
    height: 1px;
    margin-right: 0;
    background: var(--gp-header-orange);
    transition: width 0.2s ease, margin-right 0.2s ease;
}

#footer .footer-a-tag:hover,
#footer .footer-a-tag:focus-visible,
#footer .gp-cookie-footer-btn:hover,
#footer .gp-cookie-footer-btn:focus-visible {
    color: #fff !important;
    text-decoration: none !important;
    transform: translateX(2px);
}

#footer .footer-a-tag:hover::before,
#footer .footer-a-tag:focus-visible::before,
#footer .gp-cookie-footer-btn:hover::before,
#footer .gp-cookie-footer-btn:focus-visible::before {
    width: 0.75rem;
    margin-right: 0.42rem;
}

#footer .contact-link {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    max-width: 100%;
    list-style: none;
}

#footer .contact-link li {
    margin: 0;
}

#footer .contact-link a,
#footer .contact-link > li > span {
    display: grid !important;
    grid-template-columns: 1.55rem minmax(0, 1fr);
    align-items: start;
    column-gap: 0.7rem;
    margin: 0 !important;
    color: #d5dbe8 !important;
    font-size: 0.84rem !important;
    line-height: 1.5;
    text-decoration: none;
    overflow-wrap: anywhere;
    word-break: break-word;
    transition: color 0.2s ease;
}

#footer .contact-link a:hover,
#footer .contact-link a:focus-visible {
    color: #fff !important;
}

#footer .contact-link i {
    display: inline-grid;
    width: 1.55rem;
    height: 1.55rem;
    flex: 0 0 1.55rem;
    place-items: center;
    margin-top: 0.08rem;
    padding: 0;
    border-radius: 6px;
    background: rgba(247, 110, 40, 0.22);
    color: #ffd0b5 !important;
    font-size: 0.68rem;
}

#footer .gp-footer-contact {
    min-width: 0;
}

#footer .social-item {
    list-style: none;
}

#footer .social-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin: 0;
    padding: 0;
}

#footer .social-item a {
    display: grid;
    width: 2.45rem;
    height: 2.45rem;
    place-items: center;
    padding: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: #dbe1ec;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

#footer .social-item a:hover,
#footer .social-item a:focus-visible {
    border-color: var(--gp-header-orange);
    background: var(--gp-header-orange);
    color: #fff;
    transform: translateY(-2px);
}

#footer .social-item svg {
    width: 1.1rem;
    height: 1.1rem;
    fill: currentColor;
}

#footer .social-item i {
    color: currentColor !important;
    font-size: 1.05rem !important;
}

#footer .h3banner-footer {
    margin: 0;
    border-color: rgba(255, 255, 255, 0.12);
    opacity: 1;
}

#footer .copyright {
    padding: 1.15rem 0 1.35rem;
    color: #98a4bb !important;
    font-size: 0.78rem;
    line-height: 1.55;
    text-align: center;
}

@media (max-width: 1199.98px) {
    #footer .second_class_bdr,
    #footer .container.second_class_bdr,
    #footer .container {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }

    #footer .gp-footer-row,
    #footer .second_class_bdr > .row {
        --bs-gutter-x: 0;
        margin-left: 0;
        margin-right: 0;
    }

    #footer .gp-footer-row > [class*="col-"] {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 767.98px) {
    #footer .second_class_bdr,
    #footer .container.second_class_bdr,
    #footer .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    #footer .second_class_bdr {
        padding-top: 2.7rem;
        padding-bottom: 1.6rem;
    }

    #footer .second_class_bdr > .row,
    #footer .gp-footer-row {
        --bs-gutter-y: 1.35rem;
        row-gap: 1.35rem;
    }

    #footer h3,
    #footer .footer-wrap h3 {
        margin-bottom: 0.75rem;
        padding-bottom: 0.55rem;
    }

    #footer .contact-link {
        max-width: 100%;
    }
}

@media (max-width: 429.98px) {
    #footer .second_class_bdr,
    #footer .container.second_class_bdr,
    #footer .container {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }
}

@media (max-width: 991.98px) {
    #footer .gp-footer-brand,
    #footer .gp-footer-contact {
        max-width: 100%;
    }
}
