/* Home search experience */
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
}

body {
    background: #f7f9fb;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 120;
    backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, .94);
}

.header-action {
    border-color: #cfe0dc;
    background: #f5fbfa;
    color: #226b61;
}

.hero-section {
    min-height: auto;
    padding: 36px 0 48px;
    background:
        radial-gradient(circle at 84% 8%, rgba(75, 196, 178, .22), transparent 30%),
        radial-gradient(circle at 12% 92%, rgba(91, 133, 181, .15), transparent 31%),
        linear-gradient(122deg, #071b34 0%, #0c294b 53%, #123b5a 100%);
}

.hero-section::before {
    opacity: .12;
    background-size: 56px 56px;
}

.hero-glow-one { right: -24px; }
.hero-glow-two { left: -24px; }

.hero-intro {
    display: block;
    max-width: 760px;
    margin-bottom: 22px;
}

.hero-copy {
    max-width: 770px;
    margin: 0;
    text-align: left;
}

.hero-copy h1 {
    max-width: 760px;
    margin: 8px 0 8px;
    font-size: clamp(38px, 4.5vw, 54px);
    line-height: 1;
    letter-spacing: -.045em;
}

.hero-copy p {
    max-width: 650px;
    margin: 0;
    color: rgba(235, 243, 250, .82);
    font-size: 15px;
    line-height: 1.5;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    margin-top: 23px;
    color: rgba(239, 248, 252, .88);
    font-size: 12px;
    font-weight: 700;
}

.hero-points span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-points i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #68d2c1;
    box-shadow: 0 0 0 5px rgba(104, 210, 193, .11);
}

.hero-assurance {
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 21px;
    background: rgba(255, 255, 255, .075);
    color: #fff;
    box-shadow: 0 22px 50px rgba(0, 10, 28, .18);
    backdrop-filter: blur(12px);
}

.hero-assurance-kicker {
    color: #8ce0d2;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.hero-assurance > strong {
    display: block;
    margin-top: 8px;
    font-size: 20px;
    line-height: 1.3;
    letter-spacing: -.02em;
}

.hero-assurance-list {
    display: grid;
    gap: 11px;
    margin-top: 20px;
}

.hero-assurance-list p {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    color: rgba(235, 243, 250, .78);
    font-size: 12px;
}

.hero-assurance-list b {
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 9px;
    background: rgba(104, 210, 193, .14);
    color: #8ce0d2;
    font-size: 10px;
}

.configuration-notice {
    max-width: 1130px;
    margin: 0 auto 16px;
}

.search-panel {
    width: 100%;
    min-width: 0;
    max-width: 1180px;
    padding: 26px 28px 24px;
    border-color: rgba(255, 255, 255, .5);
    border-radius: 22px;
    box-shadow: 0 30px 75px rgba(2, 17, 39, .28);
}

.search-panel-heading {
    margin-bottom: 20px;
}

.search-panel-heading h2 {
    font-size: 25px;
}

.secure-note .live-dot {
    width: 7px;
    height: 7px;
}

.hotel-search-form {
    position: relative;
    min-width: 0;
    grid-template-columns:
        minmax(220px, 1.5fr)
        minmax(300px, 1.75fr)
        minmax(180px, 1.12fr)
        minmax(150px, .9fr)
        minmax(140px, .82fr);
    gap: 14px;
}

.field > label,
.field-label-row {
    min-height: 18px;
    margin: 0 0 7px 2px;
    color: #354459;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .015em;
}

.field-label-row label {
    margin: 0;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.field-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.field-label-row [data-night-count] {
    color: #2f7f73;
    font-size: 10px;
    letter-spacing: 0;
}

.control-with-icon input,
.control-with-icon select,
.guest-trigger,
.date-field-trigger,
.search-button {
    height: 58px;
    border-radius: 13px;
}

.control-with-icon input,
.control-with-icon select,
.guest-trigger,
.date-field-trigger {
    border-color: #cbd7e2;
    background-color: #fbfcfd;
}

.control-with-icon input:focus,
.control-with-icon select:focus,
.guest-trigger:focus-visible,
.date-trigger:focus-visible {
    background: #fff;
}

.destination-field { z-index: 60; }
.date-fields { z-index: 55; }
.guest-field { z-index: 65; }

.guest-popover {
    z-index: 115;
    width: min(360px, calc(100vw - 32px));
    max-width: calc(100vw - 32px);
    padding: 15px;
    border-radius: 14px;
}

.suggestions {
    top: calc(100% - 13px);
    max-height: 330px;
    border-radius: 16px;
}

.date-fields {
    position: relative;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
}

.date-field {
    min-width: 0;
}

.date-trigger {
    position: relative;
    min-width: 0;
    width: 100%;
    height: 58px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 27px 0 10px;
    border: 1px solid #cbd7e2;
    border-radius: 13px;
    background: #fbfcfd;
    color: var(--ink);
    text-align: left;
    cursor: pointer;
    outline: 0;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.date-trigger-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    fill: #687a8e;
}

.date-trigger-copy {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.date-trigger:hover,
.date-trigger.is-active {
    border-color: var(--teal);
    background: #f0f8f6;
}

.date-trigger:focus-visible {
    border-color: var(--teal);
    box-shadow: 0 0 0 4px rgba(47, 143, 130, .13);
}

.date-trigger::after {
    content: "";
    position: absolute;
    right: 13px;
    top: 50%;
    width: 7px;
    height: 7px;
    border-right: 1.5px solid #778699;
    border-bottom: 1.5px solid #778699;
    transform: translateY(-70%) rotate(45deg);
}

.date-field {
    position: relative;
}

.date-trigger[aria-invalid="true"] {
    background: #fff6f5;
}

.date-trigger-copy > span {
    color: #6c7b8d;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.date-trigger-copy strong {
    overflow: hidden;
    color: var(--navy);
    font-size: 12.5px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.date-popover {
    position: absolute;
    z-index: 110;
    top: 0;
    left: 0;
    width: min(360px, calc(100vw - 32px));
    max-width: calc(100vw - 32px);
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    padding: 12px;
    border: 1px solid #d7e0e8;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(8, 29, 53, .22), 0 6px 18px rgba(8, 29, 53, .1);
    transform: none;
    transform-origin: top center;
    animation: calendar-popover-in .16s ease-out;
}

.date-popover-backdrop { display: none; }
.date-popover-backdrop[hidden] { display: none; }

@keyframes calendar-popover-in {
    from { opacity: 0; transform: translateY(-5px) scale(.99); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.date-popover-head,
.date-popover-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.date-popover-head {
    padding-bottom: 9px;
    border-bottom: 1px solid #e8edf2;
}

.date-popover-head > div:first-child {
    display: grid;
    gap: 2px;
}

.date-popover-head span {
    color: #728093;
    font-size: 9px;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.date-popover-head strong {
    color: var(--navy);
    font-size: 12.5px;
}

.calendar-nav {
    display: flex;
    gap: 5px;
}

.calendar-nav button {
    width: 30px;
    height: 30px;
    border: 1px solid #d6e0e9;
    border-radius: 9px;
    background: #fff;
    color: var(--navy);
    cursor: pointer;
}

.calendar-nav .calendar-close {
    margin-left: 2px;
    border-color: transparent;
    background: #f1f4f7;
    color: #5b6a7b;
    font-size: 18px;
    line-height: 1;
}

.calendar-nav button:hover:not(:disabled),
.calendar-nav button:focus-visible {
    border-color: var(--teal);
    background: var(--teal-soft);
    outline: 0;
}

.calendar-nav button:disabled {
    opacity: .38;
    cursor: not-allowed;
}

.calendar-months {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 10px 0 8px;
}

.calendar-month-title {
    margin-bottom: 5px;
    color: var(--navy);
    font-size: 12.5px;
    font-weight: 800;
    text-align: center;
}

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

.calendar-weekday {
    display: grid;
    place-items: center;
    height: 20px;
    color: #8a96a5;
    font-size: 8.5px;
    font-weight: 800;
    text-transform: uppercase;
}

.calendar-blank {
    min-height: 30px;
}

.calendar-day {
    position: relative;
    min-width: 0;
    height: 30px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #27384e;
    font-size: 11.5px;
    font-weight: 650;
    cursor: pointer;
}

.calendar-day:hover:not(:disabled),
.calendar-day:focus-visible {
    background: #eaf6f3;
    color: #1e6f63;
    outline: 0;
}

.calendar-day.is-in-range {
    border-radius: 5px;
    background: #e4f4f0;
    color: #236d63;
}

.calendar-day.is-start,
.calendar-day.is-end {
    border-radius: 8px;
    background: var(--teal);
    color: #fff;
    box-shadow: 0 6px 13px rgba(47, 143, 130, .25);
}

.calendar-day.is-today:not(.is-start):not(.is-end)::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 4px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--teal);
    transform: translateX(-50%);
}

.calendar-day:disabled {
    color: #c4cbd3;
    cursor: not-allowed;
}

.date-popover-foot {
    padding-top: 8px;
    border-top: 1px solid #e8edf2;
}

.date-popover-foot span {
    color: #718093;
    font-size: 9px;
}

.date-popover-foot button {
    padding: 7px 13px;
    border: 0;
    border-radius: 9px;
    background: var(--navy);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
}

.search-action-wrap {
    grid-column: auto;
    align-self: start;
    padding-top: 25px;
}

.search-button {
    background: linear-gradient(135deg, #32988a, #287f75);
    box-shadow: 0 13px 26px rgba(42, 132, 120, .26);
}

.home-support-section {
    padding: 54px 0 64px;
    background: #f7f9fb;
}

.home-support-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(310px, .75fr);
    gap: 18px;
    align-items: stretch;
}

.popular-destinations-card,
.search-steps-card {
    min-width: 0;
    padding: 27px;
    border: 1px solid #dce5ec;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(18, 40, 68, .06);
}

.home-section-heading h2,
.search-steps-card h2 {
    margin: 7px 0 0;
    color: var(--navy);
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.15;
    letter-spacing: -.035em;
}

.popular-destination-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 23px;
}

.popular-destination-list button {
    min-width: 0;
    display: grid;
    gap: 3px;
    padding: 15px 16px;
    border: 1px solid #dde6ed;
    border-radius: 13px;
    background: #f9fbfc;
    color: var(--ink);
    text-align: left;
    cursor: pointer;
    transition: transform .17s ease, border-color .17s ease, background-color .17s ease, box-shadow .17s ease;
}

.popular-destination-list button:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

.popular-destination-list button::after {
    content: "Select destination →";
    margin-top: 9px;
    color: #2d8377;
    font-size: 10px;
    font-weight: 800;
}

.popular-destination-list button:hover,
.popular-destination-list button:focus-visible {
    transform: translateY(-2px);
    border-color: #9fcfc6;
    background: #f0f8f6;
    box-shadow: 0 9px 20px rgba(31, 91, 83, .08);
    outline: 0;
}

.popular-destination-list strong {
    overflow: hidden;
    color: var(--navy);
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.popular-destination-list span {
    overflow: hidden;
    color: #718093;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-steps-card {
    background:
        radial-gradient(circle at 100% 0, rgba(79, 181, 165, .13), transparent 35%),
        #fff;
}

.search-steps-card h2 {
    font-size: 27px;
}

.search-steps-card ol {
    display: grid;
    gap: 15px;
    margin: 23px 0 0;
    padding: 0;
    list-style: none;
}

.search-steps-card li {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
}

.search-steps-card li > b {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--teal-soft);
    color: #28786d;
    font-size: 11px;
}

.search-steps-card li > span {
    display: grid;
    gap: 2px;
    color: #718093;
    font-size: 11px;
    line-height: 1.45;
}

.search-steps-card li strong {
    color: var(--navy);
    font-size: 13px;
}

.benefits-section {
    padding: 82px 0 90px;
    background:
        radial-gradient(circle at 90% 10%, rgba(47, 143, 130, .07), transparent 25%),
        #f7f9fb;
}

.benefit-card {
    position: relative;
    overflow: hidden;
    min-height: 225px;
    border-color: #dce5ec;
    border-radius: 19px;
    box-shadow: 0 13px 35px rgba(18, 40, 68, .06);
    transition: transform .2s ease, box-shadow .2s ease;
}

.benefit-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--teal), transparent 85%);
}

.benefit-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 42px rgba(18, 40, 68, .09);
}

@media (max-width: 1160px) {
    .hotel-search-form {
        grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
    }

    .search-action-wrap {
        grid-column: 1 / -1;
        padding-top: 0;
    }

    .search-button {
        max-width: 100%;
    }
}

@media (max-width: 860px) {
    .hero-section {
        padding-top: 32px;
    }

    .hero-intro {
        max-width: 680px;
    }

    .hero-assurance {
        display: none;
    }

    .hero-copy {
        max-width: 700px;
    }

    .home-support-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .site-header {
        position: relative;
    }

    .hero-section {
        padding: 25px 0 32px;
    }

    .hero-intro {
        margin-bottom: 17px;
    }

    .hero-copy {
        text-align: left;
    }

    .hero-copy h1 {
        margin-top: 7px;
        font-size: clamp(34px, 10vw, 42px);
        line-height: 1.02;
    }

    .hero-copy p {
        font-size: 15px;
        line-height: 1.55;
    }

    .hero-points {
        gap: 9px 18px;
        font-size: 11px;
    }

    .search-panel {
        padding: 20px 16px 17px;
    }

    .search-panel-heading {
        margin-bottom: 17px;
    }

    .hotel-search-form {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .date-fields {
        gap: 9px;
    }

    .search-action-wrap {
        grid-column: auto;
    }

    .date-popover {
        position: fixed;
        z-index: 300;
        top: auto;
        right: 12px;
        bottom: 12px;
        left: 12px;
        width: auto;
        max-height: calc(100vh - 24px);
        overflow-y: auto;
        padding: 18px 15px;
        border-radius: 20px;
        transform: none;
        animation: calendar-sheet-in .2s ease-out;
    }

    .date-popover-backdrop:not([hidden]) {
        position: fixed;
        z-index: 290;
        inset: 0;
        display: block;
        width: 100%;
        height: 100%;
        padding: 0;
        border: 0;
        background: rgba(4, 20, 39, .5);
        backdrop-filter: blur(2px);
    }

    .guest-popover {
        width: auto;
        max-width: none;
    }

    body.date-picker-open { overflow: hidden; }

    @keyframes calendar-sheet-in {
        from { opacity: 0; transform: translateY(18px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .calendar-months {
        grid-template-columns: 1fr;
        padding-top: 14px;
    }

    .calendar-month:nth-child(2) {
        display: none;
    }

    .calendar-day {
        height: 42px;
    }

    .benefits-section {
        padding: 58px 0 64px;
    }

    .home-support-section {
        padding: 38px 0 48px;
    }

    .popular-destinations-card,
    .search-steps-card {
        padding: 21px;
        border-radius: 17px;
    }
}

@media (max-width: 430px) {
    .hero-points span:last-child {
        display: none;
    }

    .date-trigger {
        gap: 8px;
        padding: 0 26px 0 9px;
    }

    .date-trigger-icon {
        width: 16px;
        height: 16px;
        flex-basis: 16px;
    }

    .date-trigger-copy strong {
        font-size: 12px;
    }

    .date-popover-head {
        align-items: flex-start;
    }

    .popular-destination-list {
        grid-template-columns: 1fr;
    }
}
