/* Hopnest traveller homepage. Scoped so destination and Direct pages retain their styles. */
.discovery-home {
    --dh-ink: #17332e;
    --dh-soft-ink: #49605a;
    --dh-cream: #f8f6f0;
    --dh-orange: #ff622d;
    --dh-blue: #205ba9;
    background: var(--dh-cream);
}

.discovery-home .site-header {
    border-bottom: 1px solid rgba(23, 51, 46, 0.08);
    background: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.discovery-home .nav-wrap {
    min-height: 64px;
}

.discovery-home .site-nav {
    top: 64px;
}

.discovery-home .site-nav a {
    font-size: 0.9rem;
}

.discovery-home .site-nav a:hover,
.discovery-home .site-nav a:focus-visible {
    color: #e34e21;
}

@media (min-width: 920px) {
    .discovery-home .site-nav {
        gap: 1rem;
    }
}

.discovery-home .discovery-homepage {
    overflow: hidden;
}

.dh-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    color: #b64e2d;
    font-size: 0.74rem;
    font-weight: 850;
    letter-spacing: 0.17em;
    line-height: 1.3;
    text-transform: uppercase;
}

.dh-eyebrow span {
    display: inline-block;
    width: 21px;
    height: 2px;
    background: currentColor;
}

.dh-eyebrow-light {
    color: #ffcfad;
}

.dh-hero {
    position: relative;
    min-height: 680px;
    isolation: isolate;
    color: #fff;
    background: #153b43;
}

.dh-hero-image {
    position: absolute;
    z-index: -2;
    inset: 0;
    background: url('https://hopnest.in/img/uploads/1770360842_639.webp') center 48% / cover no-repeat;
}

.dh-hero::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: '';
    background:
        linear-gradient(90deg, rgba(9, 35, 35, 0.91) 0%, rgba(10, 38, 37, 0.78) 37%, rgba(11, 42, 43, 0.21) 74%, rgba(12, 40, 39, 0.12) 100%),
        linear-gradient(0deg, rgba(8, 32, 31, 0.45), transparent 42%);
}

.dh-hero-inner {
    display: flex;
    min-height: 680px;
    flex-direction: column;
    justify-content: center;
    padding-top: 90px;
    padding-bottom: 40px;
}

.dh-hero-copy {
    width: min(100%, 735px);
    margin-bottom: auto;
    margin-top: auto;
}

.dh-hero h1 {
    max-width: 780px;
    margin: 0 0 24px;
    color: #fff;
    font-size: clamp(3.5rem, 7.7vw, 6.5rem);
    font-weight: 760;
    letter-spacing: -0.075em;
    line-height: 0.99;
    text-wrap: balance;
}

.dh-hero h1 em {
    color: #ffb083;
    font-style: normal;
}

.dh-hero-lead {
    max-width: 630px;
    margin: 0;
    color: #f1f6f2;
    font-size: clamp(1.05rem, 1.55vw, 1.22rem);
    line-height: 1.65;
}

.dh-search {
    width: min(100%, 660px);
    margin-top: 37px;
}

.dh-search label {
    display: block;
    margin-bottom: 10px;
    color: #fff;
    font-size: 0.89rem;
    font-weight: 800;
}

.dh-search-control {
    display: flex;
    min-height: 68px;
    align-items: center;
    padding: 7px 7px 7px 20px;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(4, 25, 24, 0.21);
}

.dh-search-control > i {
    flex: 0 0 auto;
    color: #84918b;
    font-size: 1rem;
}

.dh-search-control input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    padding: 12px 15px;
    color: var(--dh-ink);
    background: transparent;
    font-size: 1rem;
}

.dh-search-control input::placeholder {
    color: #798881;
}

.dh-search-control:focus-within {
    outline: 3px solid #ffb486;
    outline-offset: 3px;
}

.dh-search-control button {
    display: inline-flex;
    min-height: 54px;
    flex: 0 0 auto;
    align-items: center;
    gap: 14px;
    border: 0;
    border-radius: 11px;
    padding: 0 18px;
    color: #fff;
    background: var(--dh-orange);
    font-size: 0.91rem;
    font-weight: 800;
    cursor: pointer;
    transition: background 160ms ease, transform 160ms ease;
}

.dh-search-control button:hover {
    background: #e95324;
    transform: translateY(-1px);
}

.dh-hero-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 15px;
    margin-top: 16px;
    color: #d9e8df;
    font-size: 0.9rem;
}

.dh-hero-links a {
    color: #fff;
    font-weight: 750;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.54);
    text-underline-offset: 4px;
}

.dh-hero-links a:hover {
    text-decoration-color: #fff;
}

.dh-hero-scroll {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 12px;
    margin-top: 32px;
    color: #eff6ef;
    font-size: 0.81rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.dh-hero-scroll i {
    display: grid;
    width: 29px;
    height: 29px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    font-size: 0.72rem;
}

.dh-featured {
    padding: clamp(78px, 8vw, 120px) 0 110px;
    background: var(--dh-cream);
}

.dh-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 35px;
}

.dh-section-heading > div {
    max-width: 700px;
}

.dh-section-heading h2 {
    margin: 0 0 14px;
    color: var(--dh-ink);
    font-size: clamp(2.4rem, 4.8vw, 4.25rem);
    font-weight: 750;
    letter-spacing: -0.065em;
    line-height: 1.07;
    text-wrap: balance;
}

.dh-section-heading p:not(.dh-eyebrow) {
    max-width: 620px;
    margin: 0;
    color: var(--dh-soft-ink);
    font-size: 1.02rem;
    line-height: 1.65;
}

.dh-text-link,
.dh-all-link {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
    color: var(--dh-ink);
    font-size: 0.92rem;
    font-weight: 800;
    text-decoration: underline;
    text-decoration-color: #ec947a;
    text-underline-offset: 7px;
}

.dh-text-link:hover,
.dh-all-link:hover {
    color: #d94a20;
}

.dh-destination-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.dh-destination-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e6e7dd;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(23, 51, 46, 0.045);
    transition: box-shadow 220ms ease, transform 220ms ease;
}

.dh-destination-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 44px rgba(23, 51, 46, 0.13);
}

.dh-destination-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1.32;
    background: #dce4db;
}

.dh-destination-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 360ms ease;
}

.dh-destination-card:hover img {
    transform: scale(1.045);
}

.dh-card-arrow {
    position: absolute;
    top: 15px;
    right: 15px;
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 50%;
    color: var(--dh-ink);
    background: rgba(255, 255, 255, 0.95);
    font-size: 0.78rem;
}

.dh-destination-copy {
    padding: 23px 24px 25px;
}

.dh-destination-copy h3 {
    margin: 0 0 7px;
    color: var(--dh-ink);
    font-size: 1.43rem;
    font-weight: 770;
    letter-spacing: -0.035em;
}

.dh-destination-copy p {
    min-height: 3.1em;
    margin: 0 0 18px;
    color: #5a6c63;
    font-size: 0.92rem;
    line-height: 1.55;
}

.dh-destination-copy span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #d44d27;
    font-size: 0.82rem;
    font-weight: 850;
}

.dh-all-link {
    display: none;
    margin-top: 28px;
}

.dh-app {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: #fff;
    background: var(--dh-blue);
}

.dh-app::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: '';
    background: radial-gradient(circle at 94% 10%, rgba(255, 255, 255, 0.14), transparent 32%),
                radial-gradient(circle at 58% 100%, rgba(2, 45, 118, 0.5), transparent 46%);
}

.dh-app-layout {
    position: relative;
    display: grid;
    min-height: 405px;
    grid-template-columns: 105px minmax(0, 1fr) 210px;
    align-items: center;
    gap: 30px;
    padding-top: 72px;
    padding-bottom: 72px;
}

.dh-app-icon {
    display: grid;
    width: 94px;
    height: 94px;
    place-items: center;
    border-radius: 25px;
    background: #ff622d;
    box-shadow: 0 17px 35px rgba(6, 35, 88, 0.24);
}

.dh-app-icon img {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.dh-app-copy h2 {
    margin: 0 0 13px;
    color: #fff;
    font-size: clamp(2.45rem, 4.8vw, 4.35rem);
    font-weight: 750;
    letter-spacing: -0.06em;
    line-height: 1.06;
}

.dh-app-copy > p:not(.dh-eyebrow) {
    max-width: 580px;
    margin: 0;
    color: #e2edff;
    font-size: 1.02rem;
    line-height: 1.65;
}

.dh-store-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 29px;
}

.dh-store-links a {
    display: inline-flex;
    min-width: 170px;
    min-height: 56px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 10px;
    padding: 8px 15px;
    color: #fff;
    background: rgba(11, 35, 78, 0.7);
    box-shadow: 0 8px 20px rgba(7, 34, 76, 0.11);
    font-size: 0.96rem;
    font-weight: 800;
    transition: background 160ms ease, transform 160ms ease;
}

.dh-store-links a:hover {
    background: #103769;
    transform: translateY(-2px);
}

.dh-store-links i {
    font-size: 0.82rem;
    opacity: 0.82;
}

.dh-app-art {
    position: relative;
    width: 220px;
    height: 220px;
}

.dh-art-orbit {
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
}

.dh-art-orbit-two {
    inset: -24px;
    border-color: rgba(255, 255, 255, 0.13);
}

.dh-art-compass {
    position: absolute;
    inset: 52px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: inset 0 0 28px rgba(255, 255, 255, 0.13);
    font-size: 3rem;
}

.dh-art-pin {
    position: absolute;
    z-index: 1;
    display: grid;
    width: 45px;
    height: 45px;
    place-items: center;
    border-radius: 15px;
    color: #fff;
    background: #ff6c38;
    box-shadow: 0 10px 24px rgba(8, 37, 79, 0.3);
}

.dh-art-pin-one {
    top: 6px;
    right: 14px;
    transform: rotate(9deg);
}

.dh-art-pin-two {
    bottom: 4px;
    left: 8px;
    width: 35px;
    height: 35px;
    background: #5dba8a;
    transform: rotate(-10deg);
}

.dh-join {
    padding: 105px 0 115px;
    background: #fff;
}

.dh-join-heading {
    margin-bottom: 34px;
}

.dh-join-heading h2 {
    max-width: 760px;
}

.dh-join-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.dh-join-card {
    display: flex;
    min-height: 365px;
    flex-direction: column;
    align-items: flex-start;
    border: 1px solid #e5e9df;
    border-radius: 20px;
    padding: 33px;
    background: #f3f7ed;
}

.dh-join-host {
    border-color: #dfe8ed;
    background: #edf4f8;
}

.dh-join-icon {
    display: grid;
    width: 53px;
    height: 53px;
    place-items: center;
    margin-bottom: 27px;
    border-radius: 15px;
    color: #2e694f;
    background: #fff;
    font-size: 1.2rem;
}

.dh-join-host .dh-join-icon {
    color: #2b6795;
}

.dh-join-label {
    margin: 0 0 6px;
    color: #4c725d;
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.dh-join-host .dh-join-label {
    color: #4c7091;
}

.dh-join-card h3 {
    margin: 0 0 10px;
    color: var(--dh-ink);
    font-size: clamp(1.45rem, 2.6vw, 1.9rem);
    font-weight: 770;
    letter-spacing: -0.035em;
}

.dh-join-card p:not(.dh-join-label) {
    max-width: 420px;
    margin: 0;
    color: var(--dh-soft-ink);
    line-height: 1.65;
}

.dh-join-card > a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 24px;
    color: #20583e;
    font-size: 0.95rem;
    font-weight: 850;
    text-decoration: underline;
    text-underline-offset: 6px;
}

.dh-join-host > a {
    color: #245c86;
}

.discovery-home a:focus-visible,
.discovery-home button:focus-visible {
    outline: 3px solid #f68550;
    outline-offset: 4px;
}

@media (max-width: 1050px) {
    .dh-app-layout {
        grid-template-columns: 95px minmax(0, 1fr);
    }

    .dh-app-art {
        display: none;
    }
}

@media (max-width: 760px) {
    .dh-hero,
    .dh-hero-inner {
        min-height: 660px;
    }

    .dh-hero-inner {
        padding-top: 76px;
        padding-bottom: 28px;
    }

    .dh-hero::before {
        background: linear-gradient(90deg, rgba(9, 35, 35, 0.87), rgba(9, 35, 35, 0.5)),
                    linear-gradient(0deg, rgba(9, 35, 35, 0.55), transparent 45%);
    }

    .dh-hero h1 {
        max-width: 530px;
        font-size: clamp(3.25rem, 10vw, 5rem);
    }

    .dh-destination-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .dh-section-heading {
        align-items: flex-start;
    }

    .dh-section-heading > .dh-text-link {
        display: none;
    }

    .dh-all-link {
        display: inline-flex;
    }

    .dh-join-grid {
        gap: 16px;
    }

    .dh-join-card {
        padding: 24px;
    }
}

@media (max-width: 620px) {
    .dh-hero,
    .dh-hero-inner {
        min-height: 680px;
    }

    .dh-hero-inner {
        padding-top: 65px;
    }

    .dh-hero h1 {
        font-size: clamp(3rem, 13vw, 4.3rem);
    }

    .dh-hero-lead {
        font-size: 0.99rem;
        line-height: 1.55;
    }

    .dh-search {
        margin-top: 27px;
    }

    .dh-search-control {
        flex-wrap: wrap;
        min-height: 0;
        padding: 9px;
    }

    .dh-search-control > i {
        margin-left: 8px;
    }

    .dh-search-control input {
        flex: 1;
    }

    .dh-search-control button {
        width: 100%;
        justify-content: center;
        margin-top: 5px;
    }

    .dh-hero-scroll {
        font-size: 0.74rem;
    }

    .dh-featured {
        padding: 73px 0 78px;
    }

    .dh-section-heading h2 {
        font-size: clamp(2.2rem, 9vw, 3rem);
    }

    .dh-destination-grid,
    .dh-join-grid {
        grid-template-columns: 1fr;
    }

    .dh-destination-image {
        aspect-ratio: 1.5;
    }

    .dh-destination-copy p {
        min-height: 0;
    }

    .dh-app-layout {
        min-height: 0;
        grid-template-columns: 1fr;
        gap: 23px;
        padding-top: 62px;
        padding-bottom: 65px;
    }

    .dh-app-icon {
        width: 72px;
        height: 72px;
        border-radius: 19px;
    }

    .dh-app-icon img {
        width: 45px;
        height: 45px;
    }

    .dh-app-copy h2 {
        font-size: clamp(2.45rem, 10vw, 3.3rem);
    }

    .dh-store-links a {
        min-width: 154px;
    }

    .dh-join {
        padding: 74px 0 82px;
    }

    .dh-join-card {
        min-height: 330px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dh-destination-card,
    .dh-destination-image img,
    .dh-store-links a,
    .dh-search-control button {
        transition: none;
    }
}
