/* =========================================================
   GARSTON STATIC HERO
   Scoped under .garston-home-hero to avoid affecting the site.
   ========================================================= */
.garston-home-hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    isolation: isolate;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(10, 12, 18, .78) 0%, rgba(10, 12, 18, .52) 48%, rgba(10, 12, 18, .20) 100%),
        var(--garston-hero-image) center 35% / cover no-repeat;
}

.garston-home-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 160px;
    z-index: -1;
    background: linear-gradient(to top, rgba(0,0,0,.32), transparent);
}

.garston-home-hero__inner {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 92px 0 112px;
}

.garston-home-hero__copy {
    max-width: 780px;
    color: #fff;
    text-shadow: 0 2px 18px rgba(0,0,0,.34);
}

.garston-home-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 16px;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.garston-home-hero__eyebrow::before {
    content: "";
    width: 34px;
    height: 2px;
    background: #fff;
}

.garston-home-hero h1 {
    max-width: 760px;
    margin: 0;
    color: #fff;
    font-family: "Libre Baskerville", Georgia, serif;
    font-size: clamp(2.35rem, 5vw, 4.7rem);
    line-height: 1.05;
    letter-spacing: -.035em;
}

.garston-home-hero__intro {
    max-width: 660px;
    margin: 22px 0 0;
    color: rgba(255,255,255,.94);
    font-size: clamp(1rem, 1.6vw, 1.24rem);
    line-height: 1.65;
}

/* Floating search card */
.garston-hero-search {
    position: relative;
    z-index: 2;
    max-width: 1040px;
    margin-top: 38px;
    padding: 18px;
    border: 1px solid rgba(255,255,255,.30);
    border-radius: 18px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 24px 65px rgba(0,0,0,.30);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.garston-hero-search__title {
    margin: 0 0 13px;
    color: #181818;
    font-size: .9rem;
    font-weight: 700;
}

.garston-hero-search__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    gap: 12px;
}

.garston-hero-field {
    position: relative;
}

.garston-hero-field label {
    position: absolute;
    left: 18px;
    top: 9px;
    z-index: 1;
    color: #767676;
    font-size: .69rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    pointer-events: none;
}

.garston-hero-field select {
    width: 100%;
    height: 62px;
    padding: 24px 46px 7px 17px;
    border: 1px solid #dedede;
    border-radius: 999px;
    outline: 0;
    background-color: #fff;
    color: #222;
    font: inherit;
    font-size: .98rem;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.garston-hero-field::after {
    content: "\f078";
    position: absolute;
    right: 19px;
    top: 50%;
    transform: translateY(-35%);
    color: #555;
    font-family: "Font Awesome 6 Free";
    font-size: .78rem;
    font-weight: 900;
    pointer-events: none;
}

.garston-hero-field select:focus {
    border-color: #222;
    box-shadow: 0 0 0 3px rgba(0,0,0,.10);
}

.garston-hero-search__button {
    min-width: 180px;
    height: 62px;
    align-self: end;
    border: 0;
    border-radius: 999px;
    background: #07867f;
    color: #fff;
    font-size: .98rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform .18s ease, background-color .18s ease;
}

.garston-hero-search__button:hover {
    background: #056e68;
    transform: translateY(-1px);
}

.garston-hero-search__button i {
    margin-right: 8px;
}

.garston-home-hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-top: 20px;
    color: rgba(255,255,255,.94);
    font-size: .9rem;
    font-weight: 600;
}

.garston-home-hero__trust span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.garston-home-hero__trust i {
    color: #18a69e;
    font-size: .82rem;
}

/* Tablet */
@media (max-width: 991.98px) {
    .garston-home-hero {
        min-height: 590px;
        background-position: 58% center;
    }

    .garston-hero-search__row {
        grid-template-columns: 1fr 1fr;
    }

    .garston-hero-search__button {
        grid-column: 1 / -1;
        width: 100%;
    }
}

/* Mobile */
@media (max-width: 767.98px) {
    .garston-home-hero {
        min-height: auto;
        align-items: flex-end;
        background:
            linear-gradient(180deg, rgba(8,10,15,.34) 0%, rgba(8,10,15,.82) 68%, rgba(8,10,15,.94) 100%),
            var(--garston-hero-image) 62% center / cover no-repeat;
    }
  .garston-home-hero__intro {
        display: none !important;
    }
    .garston-home-hero__inner {
        width: min(100% - 26px, 1180px);
        padding: 110px 0 42px;
    }

    .garston-home-hero__copy {
        text-align: left;
    }

    .garston-home-hero h1 {
        font-size: clamp(2.05rem, 10vw, 3rem);
    }

    .garston-home-hero__intro {
        margin-top: 15px;
        font-size: 1rem;
        line-height: 1.5;
    }

    .garston-hero-search {
        margin-top: 25px;
        padding: 13px;
        border-radius: 15px;
    }

    .garston-hero-search__row {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .garston-hero-search__button {
        grid-column: auto;
    }

    .garston-home-hero__trust {
        gap: 9px 16px;
        font-size: .82rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .garston-hero-search__button,
    .garston-hero-field select {
        transition: none;
    }
}
