/* =========================================================
   Parvaz Gasht Aseman Abi home page — photo slider hero tied to
   the search console, services, popular routes as boarding
   passes, tour mosaic, partner airlines.
   (The earlier "blue sky" hero is kept in Claude's memory as
   sky-hero-design.)
   ========================================================= */

/* ---------------------------------------------------------
   Hero: one photo per service (flight / hotel / tour / visa).
   Photos cross-fade with a slow zoom; the headline of the slide
   slides in; the navigator on the left shows the progress.
   --------------------------------------------------------- */
.gd-hero {
    position: relative;
    /* above the next sections, which are positioned too: the search popups open over them */
    z-index: 2;
    padding: 142px 0 0;
    background: var(--gd-ink);
    color: #d3d5f2;
    isolation: isolate;
}

    /* the page turns white behind the lower half of the console */
    .gd-hero::after {
        content: "";
        position: absolute;
        inset: auto 0 0;
        height: 96px;
        background: #fff;
        z-index: -1;
    }

.gd-slides {
    position: absolute;
    inset: 0 0 96px;
    z-index: -1;
    overflow: hidden;
    background: var(--gd-ink);
}

.gd-slide {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    opacity: 0;
    transform: scale(1.1);
    transition: opacity 1.2s ease, transform 8s linear;
}

    .gd-slide.is-active {
        opacity: 1;
        transform: scale(1);
    }

/* brand-coloured shade: dark behind the headline (right), lighter toward the navigator, solid at the bottom */
.gd-slides-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(270deg, rgba(15, 12, 54, .88) 0%, rgba(30, 24, 102, .62) 45%, rgba(15, 12, 54, .35) 100%),
        linear-gradient(180deg, rgba(15, 12, 54, .55) 0%, rgba(15, 12, 54, 0) 35%, rgba(15, 12, 54, .25) 75%, rgba(15, 12, 54, .7) 100%);
}

.gd-hero-top {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr);
    gap: 48px;
    align-items: center;
    min-height: 300px;
    padding-bottom: 46px;
}

/* the headline of each slide sits in the same cell; only the active one is shown */
.gd-hero-copy {
    display: grid;
}

.gd-hero-text {
    grid-area: 1 / 1;
    visibility: hidden;
    opacity: 0;
    transform: translateX(-36px);
    transition: opacity .3s ease, transform .4s var(--gd-ease), visibility 0s .4s;
}

    .gd-hero-text.is-active {
        visibility: visible;
        opacity: 1;
        transform: none;
        transition: opacity .6s ease .3s, transform .7s var(--gd-ease) .3s, visibility 0s;
    }

.gd-hero-copy h1, .gd-hero-h {
    margin: 8px 0 16px;
    color: #fff;
    font-family: var(--gd-display);
    font-size: clamp(28px, 3.5vw, 48px);
    line-height: 1.35;
    text-shadow: 0 2px 18px rgba(15, 12, 54, .45);
}

    .gd-hero-copy h1 em, .gd-hero-h em {
        font-style: normal;
        color: #9fcfff;
        background: linear-gradient(100deg, #9fd4ff 0%, #ffffff 50%, #8ec4ff 100%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }

.gd-hero-lead {
    max-width: 540px;
    margin: 0;
    color: #e3e8fb;
    font-size: 15.5px;
}

/* slide navigator: glass buttons with an icon, a label and a progress bar */
.gd-slide-nav {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

    .gd-slide-nav button {
        position: relative;
        width: 100%;
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 12px 14px;
        border: 1px solid rgba(255, 255, 255, .16);
        border-radius: var(--gd-r);
        background: rgba(15, 12, 54, .32);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        color: #fff;
        text-align: right;
        overflow: hidden;
        cursor: pointer;
        transition: background .3s, border-color .3s, transform .3s var(--gd-ease);
    }

        .gd-slide-nav button:hover {
            background: rgba(255, 255, 255, .12);
        }

        .gd-slide-nav button.is-active {
            background: rgba(255, 255, 255, .16);
            border-color: rgba(255, 255, 255, .42);
            transform: translateX(-10px);
        }

.gd-slide-nav-ico {
    flex: none;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    font-size: 17px;
    transition: background .3s, color .3s;
}

.gd-slide-nav button.is-active .gd-slide-nav-ico {
    background: #fff;
    color: var(--gd-violet);
}

.gd-slide-nav-txt b {
    display: block;
    font-family: var(--gd-display);
    font-weight: 400;
    font-size: 15px;
}

.gd-slide-nav-txt small {
    display: block;
    color: #c9d6f6;
    font-size: 12px;
}

.gd-slide-nav-bar {
    position: absolute;
    inset: auto 0 0;
    height: 3px;
    background: rgba(255, 255, 255, .1);
}

    .gd-slide-nav-bar i {
        display: block;
        width: 100%;
        height: 100%;
        background: linear-gradient(270deg, #8ec4ff, #fff);
        transform: scaleX(0);
        transform-origin: right;
    }

/* 7s = DELAY in the home page script */
.gd-slide-nav button.is-active .gd-slide-nav-bar i {
    animation: gdSlideBar 7s linear forwards;
}

.gd-hero.is-paused .gd-slide-nav-bar {
    display: none;
}

@keyframes gdSlideBar {
    to {
        transform: scaleX(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .gd-slide, .gd-hero-text {
        transition: opacity .3s ease, visibility 0s;
        transform: none !important;
    }
}

/* ---------------------------------------------------------
   Search console (Parvaz Gasht): one white card; the services
   are a segmented control on a light track at its top, the
   fields join into a single bar with thin dividers and the
   search button closes the bar.
   --------------------------------------------------------- */
.gd-console {
    position: relative;
    padding: 10px;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 30px 70px -30px rgba(15, 12, 54, .55), 0 0 0 1px rgba(255, 255, 255, .6);
}

/* the card's top edge carries a thin brand line */
    .gd-console::before {
        content: "";
        position: absolute;
        inset: 0 28px auto;
        height: 3px;
        border-radius: 0 0 3px 3px;
        background: var(--gd-route);
    }

.gd-rail {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 4px;
    padding: 5px;
    border-radius: 20px;
    background: var(--gd-mist);
}

.gd-railtab {
    position: relative;
    flex: 1 1 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    padding: 10px 12px;
    border: 0;
    border-radius: 15px;
    background: transparent;
    color: var(--gd-muted);
    font-size: 14px;
    white-space: nowrap;
    cursor: pointer;
    transition: background .25s, color .25s, box-shadow .25s;
}

    .gd-railtab i {
        font-size: 15px;
        color: var(--gd-violet-200);
        transition: color .25s;
    }

    .gd-railtab small {
        padding: 1px 7px;
        border-radius: 999px;
        background: var(--gd-line);
        color: var(--gd-muted);
        font-size: 10.5px;
    }

    .gd-railtab:hover {
        color: var(--gd-title);
    }

        .gd-railtab:hover i {
            color: var(--gd-cobalt);
        }

    .gd-railtab.is-active {
        background: #fff;
        color: var(--gd-violet);
        font-weight: 700;
        box-shadow: 0 6px 16px -8px rgba(45, 36, 130, .45), 0 0 0 1px var(--gd-line);
    }

        .gd-railtab.is-active i {
            color: var(--gd-cobalt);
        }

        /* a short sky-blue line under the active service */
        .gd-railtab.is-active::after {
            content: "";
            position: absolute;
            bottom: 4px;
            left: 50%;
            width: 22px;
            height: 3px;
            margin-left: -11px;
            border-radius: 3px;
            background: var(--gd-cobalt);
        }

.gd-console-body {
    background: transparent;
}

.gd-pane {
    display: none;
}

    .gd-pane.is-active {
        display: flex;
        align-items: stretch;
        animation: gdPaneSlide .5s var(--gd-ease);
    }

/* the pane slides in from the side of the tab that was picked; the home script sets --gd-pane-from (±48px) */
@keyframes gdPaneSlide {
    from {
        opacity: 0;
        transform: translateX(var(--gd-pane-from, -48px));
    }
}

/* the popular-routes switch still uses the small fade-up */
@keyframes gdPane {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .gd-pane.is-active {
        animation-duration: .01s;
    }
}

.gd-pane-main {
    flex: 1;
    min-width: 0;
    padding: 12px 8px 8px;
}

.gd-pane-head {
    display: flex;
    align-items: center;
    min-height: 34px;
    margin-bottom: 10px;
    padding-inline: 6px;
}

.gd-pane-title {
    margin: 0;
    color: var(--gd-title);
    font-family: var(--gd-display);
    font-size: 15px;
    font-weight: 700;
}

/* one way / round trip */
.gd-tripseg .selections {
    display: none !important;
}

/* drawn as two radio options: a ring that fills with navy when chosen */
.gd-tripseg .menu {
    position: static !important;
    display: inline-flex !important;
    width: auto;
    gap: 22px;
    margin: 0;
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    opacity: 1;
    transform: none;
}

    .gd-tripseg .menu li {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        margin: 0;
        padding: 4px 0 !important;
        color: var(--gd-muted);
        font-size: 13.5px;
        cursor: pointer;
        transition: color .2s;
    }

        .gd-tripseg .menu li::before {
            content: "";
            flex: none;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            box-shadow: inset 0 0 0 2px var(--gd-line-2);
            transition: box-shadow .2s;
        }

        .gd-tripseg .menu li:hover {
            background: none !important;
            color: var(--gd-title);
        }

        .gd-tripseg .menu li.active {
            background: none !important;
            color: var(--gd-title) !important;
            font-weight: 700;
        }

            .gd-tripseg .menu li.active::before {
                box-shadow: inset 0 0 0 5px var(--gd-violet);
            }

        .gd-tripseg .menu li:focus-visible {
            outline: 2px solid var(--gd-violet);
            outline-offset: 1px;
        }

/* one bar: the fields share a border and are split by thin dividers */
.gd-fields {
    display: grid;
    gap: 0;
    border: 1.5px solid var(--gd-line-2);
    border-radius: 20px;
    background: #fff;
}

    .gd-fields.is-flight {
        grid-template-columns: 1.25fr 1.25fr 1fr 1fr 1.1fr;
    }

    .gd-fields.is-hotel {
        grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    }

    /* the tour pane is a select plus quick links, not a bar */
    .gd-fields.is-tour {
        display: flex;
        flex-wrap: wrap;
        align-items: stretch;
        gap: 14px;
        border: 0;
        border-radius: 0;
    }

        .gd-fields.is-tour .gd-field {
            border: 1.5px solid var(--gd-line-2);
            border-radius: 20px;
        }

        .gd-fields.is-tour .gd-field {
            flex: 1 1 280px;
        }

.gd-field {
    position: relative;
    min-width: 0;
    padding: 11px 18px 9px;
    border-radius: 18px;
    background: transparent;
    transition: background .2s, box-shadow .2s;
}

    /* divider before every field but the first (RTL: on its right side) */
    .gd-field + .gd-field::before {
        content: "";
        position: absolute;
        top: 14px;
        bottom: 14px;
        right: 0;
        width: 1px;
        background: var(--gd-line-2);
        transition: opacity .2s;
    }

    .gd-field:hover {
        background: var(--gd-mist);
    }

        .gd-field:hover::before, .gd-field:hover + .gd-field::before,
        .gd-field:focus-within::before, .gd-field:focus-within + .gd-field::before {
            opacity: 0;
        }

    .gd-field:focus-within {
        z-index: 4;
        background: #fff;
        box-shadow: 0 0 0 2px var(--gd-violet), var(--gd-ring);
    }

    .gd-field label {
        display: flex;
        align-items: center;
        gap: 6px;
        margin: 0;
        color: var(--gd-muted);
        font-size: 12px;
    }

        .gd-field label i {
            color: var(--gd-violet);
            font-size: 11px;
        }

    .gd-field .form-control, .gd-field .form-select, .gd-field #hotel-passenger-field, .gd-field .booking-form__input.guests-input.mixer-auto > button {
        width: 100%;
        min-height: 32px;
        height: 32px;
        padding: 0 0 0 22px;
        border: 0 !important;
        border-radius: 0 !important;
        background-color: transparent !important;
        box-shadow: none !important;
        color: var(--gd-title);
        font-size: 14.5px;
        font-weight: 600;
    }

    .gd-field .form-control {
        text-overflow: ellipsis;
    }

    .gd-field #hotel-passenger-field, .gd-field .booking-form__input.guests-input.mixer-auto > button {
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        cursor: pointer;
    }

    /* the template forces 40px on phones and 10px text on laptops with !important, which made this tile the odd one out */
    .gd-field #hotel-passenger-field, .gd-field .booking-form__input.guests-input.mixer-auto > button {
        height: 32px !important;
        min-width: 0;
        padding-right: 0 !important;
        font-size: 14.5px !important;
    }

    .gd-field .form-select {
        background-position: left 0 center;
        cursor: pointer;
    }

    .gd-field .form-control:disabled {
        color: #9aa0cf;
    }

    .gd-field .form-control::placeholder {
        color: #9aa0cf;
        font-size: 13.5px;
        font-weight: 400;
    }

    .gd-field .fa-close {
        left: -8px;
    }

    /* nothing to clear while the box is empty */
    .gd-field input:placeholder-shown ~ .fa-close {
        display: none;
    }

    .gd-field .search-auto-complate {
        top: calc(100% + 12px);
    }

    .gd-field .guests-input {
        border: 0;
    }

    .gd-field .guests-input__options {
        top: calc(100% + 12px) !important;
        right: auto;
        left: 0;
    }

    .gd-field .guests-input__value, .gd-field .guests-input__value span, .gd-field .passenger-count-num {
        color: var(--gd-title);
        opacity: 1;
    }

    .gd-field .guests-input__ctrl {
        flex: none;
        width: 32px;
        height: 32px;
        display: inline-grid;
        place-items: center;
        padding: 0;
        line-height: 1;
    }

    .gd-field .passenger-box {
        top: calc(100% + 8px);
        left: 0;
    }

    .gd-field.is-swap {
        padding-left: 28px;
    }

        .gd-field.is-swap + .gd-field {
            padding-right: 28px;
        }

        .gd-field.is-swap .fa-close {
            left: 4px;
        }

        /* on the divider between origin and destination */
        .gd-field.is-swap .switch-city {
            top: 50%;
            z-index: 5;
            left: -17px;
            background: #fff;
            color: var(--gd-violet) !important;
            box-shadow: 0 0 0 1.5px var(--gd-line-2), 0 6px 14px -6px rgba(15, 12, 54, .35);
        }

            .gd-field.is-swap .switch-city:hover {
                background: var(--gd-violet);
                color: #fff !important;
            }

    /* one way: the empty return tile is the way to add a return date */
    .gd-field.is-return {
        cursor: pointer;
    }

        .gd-field.is-return .form-control:disabled {
            pointer-events: none;
        }

.gd-night {
    position: absolute;
    top: 8px;
    left: 10px;
}

.stay-time-btn {
    padding: 1px 9px;
    border: 0;
    border-radius: 999px;
    background: var(--gd-violet-100);
    color: var(--gd-violet-800);
    font-size: 11.5px;
}

/* the search button closes the bar: same height as the fields, at the bottom of the pane */
.gd-go {
    flex: none;
    align-self: flex-end;
    width: 172px;
    padding: 0 0 8px 8px;
}

    .gd-go .btn {
        width: 100%;
        height: 64px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding-inline: 10px;
        white-space: nowrap;
        border: 0 !important;
        border-radius: 20px !important;
        background: var(--gd-brand) !important;
        background-size: 160% 100% !important;
        background-position: 100% 0 !important;
        color: #fff !important;
        font-family: var(--gd-display);
        font-size: 15.5px;
        box-shadow: 0 14px 26px -14px rgba(45, 36, 130, .8);
        transition: background-position .4s var(--gd-ease), transform .2s, box-shadow .2s;
    }

        .gd-go .btn:hover {
            background-position: 0 0 !important;
            transform: translateY(-2px);
            box-shadow: 0 18px 30px -14px rgba(47, 128, 237, .8);
        }

        .gd-go .btn i {
            font-size: 17px;
        }

/* panes without a bar (visa / train / bus) keep their own layout */
.gd-pane .gd-soon {
    margin: 6px;
    border-radius: 20px;
    background: var(--gd-mist);
}

.gd-tour-quick {
    flex: 2 1 380px;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    gap: 7px;
    max-height: 76px;
    overflow: hidden;
}

    .gd-tour-quick a {
        padding: 5px 13px;
        border-radius: 999px;
        box-shadow: inset 0 0 0 1px var(--gd-line-2);
        color: var(--gd-text);
        font-size: 13px;
        transition: background .2s, color .2s, box-shadow .2s;
    }

        .gd-tour-quick a:hover {
            background: var(--gd-violet-50);
            box-shadow: inset 0 0 0 1px var(--gd-violet);
            color: var(--gd-violet-700);
        }

        .gd-tour-quick a i {
            color: var(--gd-violet);
        }

.gd-soon {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    min-height: 156px;
    padding: 20px 26px;
}

    .gd-soon h3 {
        margin: 0;
        font-size: 17px;
    }

    .gd-soon p {
        margin: 0;
        color: var(--gd-muted);
        font-size: 13.5px;
    }

    .gd-soon > div {
        flex: 1;
        min-width: 230px;
    }

.gd-soon-ico {
    flex: none;
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--gd-violet-100);
    color: var(--gd-violet);
    font-size: 21px;
}


/* ---------------------------------------------------------
   Section title, centred variant
   --------------------------------------------------------- */
.gd-title-center {
    text-align: center;
}

    .gd-title-center .gd-eyebrow {
        justify-content: center;
    }

/* ---------------------------------------------------------
   Services: four cards, the icon sits in a sky-blue disc
   --------------------------------------------------------- */
.gd-services-zone {
    padding-top: 72px;
}

.gd-services {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.gd-service {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 26px 22px 22px;
    border: 1px solid var(--gd-line);
    border-radius: var(--gd-r-lg);
    background: #fff;
    color: var(--gd-title);
    overflow: hidden;
    transition: transform .3s var(--gd-ease), box-shadow .3s, border-color .3s;
}

    /* a contrail sweeps across the top of the card on hover */
    .gd-service::before {
        content: "";
        position: absolute;
        inset: 0 0 auto;
        height: 4px;
        background: var(--gd-route);
        transform: scaleX(0);
        transform-origin: right;
        transition: transform .45s var(--gd-ease);
    }

    .gd-service:hover {
        color: var(--gd-title);
        border-color: transparent;
        box-shadow: var(--gd-shadow-lg);
        transform: translateY(-6px);
    }

        .gd-service:hover::before {
            transform: scaleX(1);
        }

    .gd-service b {
        margin: 18px 0 6px;
        font-family: var(--gd-display);
        font-size: 19px;
        font-weight: 400;
    }

    .gd-service small {
        flex: 1;
        color: var(--gd-muted);
        font-size: 13.5px;
        line-height: 1.85;
    }

.gd-service-ico {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: linear-gradient(140deg, var(--gd-violet-50), var(--gd-cobalt-100));
    color: var(--gd-violet);
    font-size: 23px;
    transition: background .3s, color .3s;
}

.gd-service:hover .gd-service-ico {
    background: var(--gd-brand);
    color: #fff;
}

.gd-service-go {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    color: var(--gd-cobalt-700);
    font-size: 13px;
}

    .gd-service-go i {
        font-size: 11px;
        transition: transform .3s var(--gd-ease);
    }

.gd-service:hover .gd-service-go i {
    transform: translateX(-4px);
}

/* ---------------------------------------------------------
   Popular routes: boarding passes with a dashed flight path
   --------------------------------------------------------- */
.gd-seg {
    display: inline-flex;
    padding: 4px;
    border-radius: 999px;
    background: #fff;
    box-shadow: var(--gd-shadow-sm);
}

    .gd-seg button {
        padding: 7px 22px;
        border: 0;
        border-radius: 999px;
        background: none;
        color: var(--gd-muted);
        font-size: 14px;
        cursor: pointer;
        transition: background .2s, color .2s;
    }

        .gd-seg button.is-active {
            background: var(--gd-violet);
            color: #fff;
        }

.gd-routes {
    display: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

    .gd-routes.is-active {
        display: grid;
        animation: gdPane .35s var(--gd-ease);
    }

.gd-pass {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 20px 22px 0;
    border-radius: var(--gd-r);
    background: #fff;
    color: var(--gd-title);
    box-shadow: var(--gd-shadow-sm);
    transition: transform .3s var(--gd-ease), box-shadow .3s;
}

    .gd-pass:hover {
        color: var(--gd-title);
        box-shadow: var(--gd-shadow);
        transform: translateY(-4px);
    }

.gd-pass-city small {
    display: block;
    color: var(--gd-muted);
    font-size: 12px;
    letter-spacing: 1px;
}

.gd-pass-city b {
    display: block;
    font-family: var(--gd-display);
    font-size: 19px;
    font-weight: 400;
    white-space: nowrap;
}

.gd-pass-city.is-to {
    text-align: left;
}

/* dashed route with the plane in the middle; it flies to the left (RTL) */
.gd-pass-path {
    position: relative;
    height: 26px;
    display: grid;
    place-items: center;
}

    .gd-pass-path::before {
        content: "";
        position: absolute;
        inset: 50% 0 auto;
        height: 2px;
        background: repeating-linear-gradient(90deg, var(--gd-line-2) 0 6px, transparent 6px 11px);
    }

    .gd-pass-path i {
        position: relative;
        padding: 0 8px;
        background: #fff;
        color: var(--gd-cobalt);
        font-size: 15px;
        transform: scaleX(-1);
        transition: transform .5s var(--gd-ease);
    }

.gd-pass:hover .gd-pass-path i {
    transform: scaleX(-1) translateX(14px);
}

/* the stub under a perforated line, with two punched notches */
.gd-pass-stub {
    grid-column: 1 / -1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 16px -22px 0;
    padding: 11px 22px;
    border-top: 2px dashed var(--gd-line);
    color: var(--gd-muted);
    font-size: 12.5px;
}

    .gd-pass-stub::before, .gd-pass-stub::after {
        content: "";
        position: absolute;
        top: -9px;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        background: var(--gd-mist);
    }

    .gd-pass-stub::before {
        right: -8px;
    }

    .gd-pass-stub::after {
        left: -8px;
    }

    .gd-pass-stub i {
        color: var(--gd-violet);
        font-size: 11px;
    }

.gd-pass:hover .gd-pass-stub {
    color: var(--gd-violet-700);
}

/* ---------------------------------------------------------
   Tour mosaic
   --------------------------------------------------------- */
.gd-mosaic {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 246px;
    gap: 14px;
}

.gd-pic {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--gd-r);
    background: var(--gd-ink);
    color: #fff;
}

    .gd-pic:first-child {
        grid-column: span 2;
        grid-row: span 2;
    }

    .gd-pic img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .7s var(--gd-ease);
    }

    .gd-pic:hover {
        color: #fff;
    }

        .gd-pic:hover img {
            transform: scale(1.05);
        }

    .gd-pic::after {
        content: "";
        position: absolute;
        inset: 35% 0 0;
        background: linear-gradient(180deg, transparent, rgba(15, 12, 54, .9));
    }

    .gd-pic .gd-tag {
        position: absolute;
        top: 12px;
        right: 12px;
        z-index: 1;
    }

.gd-pic-cap {
    position: absolute;
    inset: auto 0 0;
    z-index: 1;
    padding: 16px;
}

    .gd-pic-cap b {
        display: block;
        font-family: var(--gd-display);
        font-size: 15px;
        font-weight: 400;
        line-height: 1.55;
    }

.gd-pic:first-child .gd-pic-cap {
    padding: 24px;
}

    .gd-pic:first-child .gd-pic-cap b {
        font-size: clamp(19px, 2.2vw, 27px);
    }

.gd-pic-price {
    display: block;
    margin-top: 2px;
    color: #d4e6ff;
    font-size: 13.5px;
}

    .gd-pic-price small {
        opacity: .8;
    }

/* ---------------------------------------------------------
   Why: ink block with a vertical route
   --------------------------------------------------------- */
.gd-why {
    padding: 88px 0;
    background: var(--gd-ink-glow);
    color: #b6bbe3;
}

.gd-why-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 70px;
    align-items: start;
}

.gd-why-head {
    position: sticky;
    top: 110px;
}

    .gd-why-head h2 {
        margin: 0 0 14px;
        color: #fff;
        font-size: clamp(25px, 3vw, 38px);
    }

    .gd-why-head p:not(.gd-eyebrow) {
        margin-bottom: 24px;
    }

.gd-why-line {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: gdStop;
}

    .gd-why-line::before {
        content: "";
        position: absolute;
        top: 20px;
        bottom: 54px;
        right: 21px;
        width: 4px;
        border-radius: 4px;
        background: var(--gd-route-v);
    }

    .gd-why-line li {
        position: relative;
        padding: 0 72px 34px 0;
        counter-increment: gdStop;
    }

        .gd-why-line li:last-child {
            padding-bottom: 0;
        }

        .gd-why-line li::before {
            content: counter(gdStop, persian);
            position: absolute;
            top: 0;
            right: 0;
            width: 46px;
            height: 46px;
            display: grid;
            place-items: center;
            border-radius: 50%;
            background: var(--gd-ink);
            box-shadow: inset 0 0 0 4px #fff;
            color: #fff;
            font-family: var(--gd-display);
        }

    .gd-why-line h3 {
        margin: 0 0 4px;
        color: #fff;
        font-size: 19px;
    }

    .gd-why-line p {
        margin: 0;
        font-size: 14.5px;
    }

/* ---------------------------------------------------------
   Destination strip
   --------------------------------------------------------- */
.gd-strip {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    /* the strip stays inside the page frame, aligned with its title (it used to run out to the far side of the
       window only, which left the near side looking empty); the far edge fades to show it scrolls */
    width: min(1296px, calc(100% - 48px));
    margin-inline: auto;
    padding: 4px 0 14px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 48px);
    mask-image: linear-gradient(90deg, transparent, #000 48px);
}

    .gd-strip::-webkit-scrollbar {
        display: none;
    }

.gd-strip-card {
    position: relative;
    flex: 0 0 236px;
    height: 330px;
    overflow: hidden;
    border-radius: var(--gd-r);
    background: var(--gd-ink);
    color: #fff;
    scroll-snap-align: center;
}

    .gd-strip-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .7s var(--gd-ease);
    }

    .gd-strip-card:hover {
        color: #fff;
    }

        .gd-strip-card:hover img {
            transform: scale(1.06);
        }

    .gd-strip-card > span {
        position: absolute;
        inset: auto 10px 10px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        padding: 8px 14px;
        border-radius: 999px;
        background: rgba(255, 255, 255, .95);
        color: var(--gd-title);
    }

    .gd-strip-card b {
        overflow: hidden;
        font-family: var(--gd-display);
        font-size: 14px;
        font-weight: 400;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .gd-strip-card i {
        color: var(--gd-violet);
        font-size: 12px;
    }


/* ---------------------------------------------------------
   Partner airlines: an endless belt of logos
   --------------------------------------------------------- */
.gd-airlines-zone .gd-title {
    margin-bottom: 28px;
}

.gd-airlines {
    display: flex;
    overflow: hidden;
    /* the belt fades out at both edges */
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.gd-airlines-belt {
    flex: none;
    display: flex;
    gap: 18px;
    margin: 0;
    padding: 6px 9px 14px;
    list-style: none;
    animation: gdBelt 50s linear infinite;
}

.gd-airlines:hover .gd-airlines-belt {
    animation-play-state: paused;
}

/* RTL: the belt is laid out from the right, so it moves right to show the next logos */
@keyframes gdBelt {
    to {
        transform: translateX(100%);
    }
}

.gd-airlines-belt li {
    flex: none;
    width: 118px;
    height: 118px;
    display: grid;
    place-items: center;
    border: 1px solid var(--gd-line);
    border-radius: var(--gd-r);
    background: #fff;
    transition: box-shadow .25s, transform .25s var(--gd-ease);
}

    .gd-airlines-belt li:hover {
        box-shadow: var(--gd-shadow);
        transform: translateY(-3px);
    }

.gd-airlines-belt img {
    width: 92px;
    height: 92px;
    object-fit: contain;
}

@media (prefers-reduced-motion: reduce) {
    .gd-airlines {
        overflow-x: auto;
    }

    .gd-airlines-belt {
        animation: none;
    }

        .gd-airlines-belt[aria-hidden="true"] {
            display: none;
        }
}

/* ---------------------------------------------------------
   Magazine
   --------------------------------------------------------- */
.gd-news {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 46px;
}

.gd-news-lead {
    display: block;
    color: var(--gd-title);
}

.gd-news-img {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--gd-r);
    background: var(--gd-mist);
}

    .gd-news-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .7s var(--gd-ease);
    }

.gd-news-lead:hover img {
    transform: scale(1.04);
}

.gd-news-lead h3 {
    margin: 16px 0 0;
    font-size: clamp(20px, 2.2vw, 27px);
}

.gd-news-lead:hover h3 {
    color: var(--gd-violet-700);
}

.gd-news-list {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: gdNews;
}

    .gd-news-list li {
        counter-increment: gdNews;
        border-bottom: 1px solid var(--gd-line);
    }

        .gd-news-list li:first-child a {
            padding-top: 0;
        }

    .gd-news-list a {
        display: flex;
        align-items: center;
        gap: 16px;
        padding: 16px 0;
        color: var(--gd-title);
    }

        .gd-news-list a::before {
            content: counter(gdNews, persian);
            flex: none;
            width: 26px;
            color: var(--gd-violet);
            font-family: var(--gd-display);
            font-size: 22px;
        }

        .gd-news-list a:hover {
            color: var(--gd-violet-700);
        }

    .gd-news-list b {
        flex: 1;
        font-weight: 400;
        font-size: 15px;
        line-height: 1.7;
    }

.gd-news-thumb {
    flex: none;
    width: 84px;
    height: 66px;
    overflow: hidden;
    border-radius: var(--gd-r-sm);
    background: var(--gd-mist);
}

    .gd-news-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */
@media (max-width: 1199.98px) {
    .gd-go {
        width: 150px;
    }

    /* the fields wrap onto two rows here, so the bar becomes separate bordered fields */
    .gd-fields:not(.is-tour) {
        gap: 8px;
        border: 0;
        border-radius: 0;
        background: none;
    }

        .gd-fields:not(.is-tour) .gd-field {
            border: 1.5px solid var(--gd-line-2);
        }

    .gd-field + .gd-field::before {
        display: none;
    }

    .gd-field.is-swap .switch-city {
        left: -21px;
    }

    .gd-fields.is-flight {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

        .gd-fields.is-flight .gd-field {
            grid-column: span 2;
        }

            .gd-fields.is-flight .gd-field:nth-child(-n+2) {
                grid-column: span 3;
            }

    .gd-fields.is-hotel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gd-services {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gd-routes {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .gd-hero {
        padding-top: 100px;
    }

    .gd-hero-top {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
        min-height: 0;
        padding-bottom: 28px;
    }

    /* the navigator becomes a row of four compact buttons under the headline */
    .gd-slide-nav {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
    }

        .gd-slide-nav button {
            padding: 9px 10px;
            gap: 8px;
        }

            .gd-slide-nav button.is-active {
                transform: none;
            }

    .gd-slide-nav-txt small {
        display: none;
    }

    .gd-slide-nav-txt b {
        font-size: 13.5px;
    }

    .gd-slide-nav-ico {
        width: 34px;
        height: 34px;
        border-radius: 10px;
        font-size: 14px;
    }

    .gd-rail {
        overflow-x: auto;
        scrollbar-width: none;
    }

        .gd-rail::-webkit-scrollbar {
            display: none;
        }

    .gd-railtab {
        flex: 1 0 auto;
        padding: 10px 14px;
        font-size: 13px;
    }

        .gd-railtab small {
            display: none;
        }

    .gd-pane.is-active {
        flex-direction: column;
    }

    .gd-go {
        align-self: stretch;
        width: auto;
        padding: 4px 8px 8px;
    }

        .gd-go .btn {
            height: 58px;
        }

    .gd-why-grid, .gd-news {
        grid-template-columns: minmax(0, 1fr);
        gap: 34px;
    }

    .gd-why-head {
        position: static;
    }

    .gd-mosaic {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 210px;
    }

    .gd-title-row .gd-seg {
        margin-top: 4px;
    }
}

@media (max-width: 575.98px) {
    .gd-console {
        --gd-r-lg: 20px;
        padding: 7px;
        border-radius: 22px;
    }

        .gd-console::before {
            inset-inline: 22px;
        }

    /* the six tabs fit side by side here, so none of them hides behind a scroll */
    .gd-rail {
        gap: 2px;
        overflow: visible;
    }

    .gd-railtab {
        flex: 1 1 0;
        min-width: 0;
        flex-direction: column;
        gap: 2px;
        padding: 9px 0 7px;
        font-size: 11px;
        line-height: 1.4;
    }

        .gd-railtab i {
            font-size: 16px;
        }

    .gd-pane-main {
        padding: 12px 4px 6px;
    }

    .gd-go {
        padding: 4px 4px 6px;
    }

    .gd-tripseg, .gd-tripseg .menu {
        width: 100%;
    }

        .gd-tripseg .menu li {
            flex: 1;
            justify-content: center;
        }

    .gd-fields.is-flight {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

        .gd-fields.is-flight .gd-field, .gd-fields.is-flight .gd-field:nth-child(-n+2) {
            grid-column: span 2;
        }

            .gd-fields.is-flight .gd-field:nth-child(3), .gd-fields.is-flight .gd-field:nth-child(4) {
                grid-column: span 1;
            }

    .gd-fields.is-hotel .gd-field.is-city, .gd-fields.is-hotel .gd-field:last-child {
        grid-column: span 2;
    }

    .gd-field.is-swap + .gd-field {
        padding-right: 14px;
    }

    /* between the two stacked tiles, at the end of the row */
    .gd-field.is-swap .switch-city {
        top: auto;
        bottom: -21px;
        left: 14px;
        transform: rotate(90deg);
    }

        .gd-field.is-swap .switch-city:hover {
            transform: rotate(270deg);
        }

    .gd-field .guests-input__options {
        right: 0 !important;
        left: 0 !important;
        min-width: 0;
    }

    /* below 16px iOS zooms the page when the box takes focus */
    .gd-field .form-control {
        font-size: 16px !important;
    }

    /* fixed widths of the template: the popups follow the tile, so they stay on small screens */
    .gd-field .search-auto-complate {
        right: 0;
        left: 0;
        width: auto !important;
    }

    .gd-field .passenger-box {
        right: 0;
        width: auto;
    }

    .gd-tour-quick {
        flex-basis: 100%;
        max-height: none;
    }

    .gd-mosaic {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }

    .gd-pic:first-child {
        grid-column: auto;
        grid-row: span 1;
    }

    .gd-strip-card {
        flex-basis: 190px;
        height: 270px;
    }

    /* slide navigator: icon above the label */
    .gd-slide-nav button {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 8px 4px 10px;
        gap: 4px;
    }

    .gd-slide-nav-txt b {
        font-size: 11.5px;
        white-space: nowrap;
    }

    /* the headlines differ in length: the cell keeps the tallest one, so the console below does not jump */
    .gd-hero-copy h1, .gd-hero-h {
        font-size: 26px;
    }

    .gd-hero-lead {
        font-size: 14px;
    }

    .gd-services, .gd-routes {
        grid-template-columns: minmax(0, 1fr);
    }

    .gd-service {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        column-gap: 14px;
        padding: 18px;
    }

        .gd-service b {
            margin: 0;
            align-self: end;
        }

        .gd-service small {
            grid-column: 2;
        }

    .gd-service-ico {
        grid-row: span 2;
        width: 50px;
        height: 50px;
    }

    .gd-service-go {
        display: none;
    }

    .gd-pass-city b {
        font-size: 17px;
    }

    .gd-airlines-belt li {
        width: 92px;
        height: 92px;
    }

    .gd-airlines-belt img {
        width: 72px;
        height: 72px;
    }
}
