:root {
    --background: #f7f8fa;
    --background-muted: #f4f5f6;
    --background-shaded: color-mix(in srgb, var(--background), black 4%);
    --foreground: #111118;
    --muted-foreground: #7a7a8c;
    --primary: #0b7b82;
    --primary-muted: color-mix(in srgb, var(--primary), white 84%);
    --primary-soft: color-mix(in srgb, var(--primary), white 91%);
    --border: rgba(0, 0, 0, .1);
    --shadow: 0 8px 40px rgba(11, 123, 130, .05), 0 1px 4px rgba(0, 0, 0, .03);
}

@font-face {
    font-family: Montserrat;
    src: url("../fonts/Montserrat-VariableFont_wght-Ttmad5R.ttf");
}

html {
    position: absolute;
    width: 100%;
    background-color: var(--background);
    min-height: 100vh;
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
}

body {
    color: var(--foreground);
    font-family: Montserrat, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    margin: 0;
}

.topBar {
    position: sticky;
    top: 0;
    z-index: 40;
    height: 5vh;
    background: var(--background);
    border-bottom: 1px solid var(--border);
}

.topBar .centerFloatingContainer {
    display: flex;
    height: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.centerFloatingContainer {
    width: min(100% - 48px, 1024px);
    margin-inline: auto;
}

.widerFloatingContainer {
    width: min(100% - 48px, 1200px) !important;
}

.brandContainer {
    display: flex;
    align-items: center;
    gap: 2vw;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -1px;
    font-style: italic;
    color: var(--primary);
    text-shadow: 2px 2px 0 var(--border);
}

#brandIcon {
    position: absolute;
    top: 35px;
    left: 60px;
    width: 68px;
    display: grid;
    place-items: center;
    z-index: 500;
}

#hero {
    position: relative;
    background: linear-gradient(180deg, var(--primary-soft) 0%, var(--background) 100%);
    padding: max(8vh, 80px) 0;
    border-bottom: 1px solid var(--border);
    overflow: visible;
}

.heroInner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.livePill {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: max( 4vh, 40px);
    padding: 10px 16px;
    background-color: var(--primary-muted);
    border-radius: 16px;
    border: 1px solid var(--border);
    color: var(--primary);
    font-size: max(1.05vh, 11px);
    font-weight: 700;
    backdrop-filter: blur(8px);
}

.pulseAnimation {
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--primary);
    display: inline-block;
}

.pulseAnimation::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: var(--primary);
    animation: ping 1.4s cubic-bezier(0, 0, .2, 1) infinite;
    opacity: .5;
}

@keyframes ping {
    80%, 100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

.heroSlogan {
    max-width: 760px;
    margin: 0 0 26px;
    font-size: clamp(40px, 7vw, 74px);
    line-height: 1.1;
    letter-spacing: -.055em;
}

.heroSlogan span {
    color: var(--primary);
}

.subtitle {
    margin: 0 0 52px;
    color: var(--muted-foreground);
    font-size: min(17px, 2.85vw);
    white-space: nowrap;
}

.clickable {
    cursor: pointer;
}

.searchCard {
    width: min(100%, 720px);
    overflow: visible;
    border-radius: 28px;
    background: var(--background);
    box-shadow: var(--shadow);
    border: 1px solid rgba(11, 123, 130, .12);
}

.searchCardSection {
    width: 96.6%;
    display: flex;
    justify-content: flex-start;
    flex-direction: row;
    gap: min(8px, 1.2vw);
    padding: min(12px, 2vw, 1.2vh);
    border-bottom: 1px solid color-mix(in srgb, var(--background-muted), grey 6%);
}

.searchCardSectionLastSection {
    border-bottom: none;
}

.cardFilterSection {
    justify-content: space-between !important;
}

.searchCard img {
    color: var(--primary);
    user-select: none;
}

#searchCardSearchBar {
    position: relative;
    flex-grow: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
    border-radius: 18px;
    background-color: var(--background-muted);
    border: 2px solid var(--background-muted);
    transition: border 0.25s;
}

#searchCardSearchBar:focus-within {
    border: 2px solid color-mix(in srgb, var(--primary), white 14%);
}

.searchCardAutolocationButton {
    background-color: var(--background-muted);
    border-radius: 18px;
    border: none;
    padding: 2px 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.locationInUse {
    background-color: var(--primary) !important;
}

.locationInUse img{
    filter: brightness(2.5);
}

.searchCardAutolocationButton:hover img {
    filter: invert(43%) sepia(23%) saturate(1522%) hue-rotate(140deg) brightness(82%) contrast(90%);
}

#searchCardSearchTextField {
    outline: none;
    border: none;
    background: transparent;
    font-size: 14px;
    font-family: inherit;
    width: 95%;
    padding: 12px 0;
}

#searchCardSuggestionList {
    position: absolute;
    left: 26px;
    top: 45px;
    display: flex;
    flex-direction: column;
    justify-items: flex-start;
    align-items: flex-start;
    width: inherit;
    list-style: none;
    margin: 0;
    padding: 0;
    background-color: var(--background);
    border: 1px solid var(--border);
    z-index: 1100;
    box-shadow: 2px 2px 12px rgba(0,0,0, 0.2);
}

.listHidden {
    display: none !important;
}

#searchCardSuggestionList li {
    width: 100%;
    box-sizing: border-box;
    text-align: left;
    font-family: inherit;
    font-size: 14px;
    padding: 4px 16px;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
}

#searchCardSuggestionList li:last-child {
    border-bottom: none;
}

#searchCardSuggestionList li:hover {
    background-color: var(--primary-muted);
    color: var(--foreground);
}

.suggestionHighlighted {
    color: white;
    background-color: var(--primary);
}

#searchCardSearchRadius {
    display: inline-flex;
    justify-content: center;
    border-radius: 18px;
    background-color: var(--background);
    border: 1px solid var(--border);
    color: var(--foreground);
    font-family: inherit;
    font-size: min(15px, 3vw);
    font-weight: 500;
    padding: 0 6px;
}

.buttonLarge {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    justify-content: center;
    gap: 8px;
    padding: min(0.75vh, 12px) min(2.5vw, 24px);
    border-radius: 18px;
    border: 1px solid var(--border);
    color: var(--foreground);
    background-color: var(--background);
    font-size: min(15px, 3vw);
    font-weight: 700;
    white-space: nowrap;
    transition: opacity 0.25s, transform 0.25s;
}

.buttonHighlighted {
    background-color: var(--primary) !important;
    color: white !important;
    border: none !important;
}

.buttonDisabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.buttonDisabled:hover {
    opacity: 0.5 !important;
}

.buttonDisabled:active {
    transform: none !important;
}


.buttonLarge:hover {
    opacity: .92;
}

.buttonLarge:active {
    transform: scale(.91);
}

.searchCardFuelTypeList {
    display: flex;
    flex-direction: row;
    gap: min(1vw, 8px);
}

.searchCardSelectableLabel {
    color: color-mix(in srgb, var(--muted-foreground), black 30%);
    font-family: inherit;
    white-space: nowrap;
    font-size: min(13px, 2.5vw);
    font-weight: 600;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    border-radius: 999px;
    padding: 0.4vh min(1vw, 12px);
    background-color: color-mix(in srgb, var(--background-muted), black 2%);
    transition: background-color 0.25s ease, color 0.25s ease;
}

@media only screen and (max-width: 600px) {
    .searchCardSelectableLabel {
        white-space: wrap !important;
    }

    .statisticEntry {
        border-right: 0 !important;
    }

    .statisticEntry:not(:last-child)::after {
        content: " ";
        display: grid;
        margin: auto;
        color: var(--background);
        width: 25vw;
        height: 15px;
        border-bottom: 1px solid var(--border);
    }
}

.searchCardSelectableLabel img {
    width: 24px;
}

.amenityOption:checked + label img {
    filter: invert(1) brightness(1.4);
}

.searchCardSelectableLabel:checked img {
    filter: invert(1) brightness(1.4);
}

.searchCardRadioButton {
    display: none;
}

.searchCardRadioButton:checked + .searchCardSelectableLabel {
    background-color: var(--primary);
    color: white;
}

#cardFilterToggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: min(0.5vh, 7px) min(1.2vw, 14px);
    border-radius: 999px;
    background: var(--background);
    border: 1px solid var(--border);
    color: #444;
    font-size: 12px;
    font-weight: 700;
}

#cardFilterCount {
    min-width: 16px;
    height: 16px;
    display: grid;
    place-items: center;
}

.cardFilterCountActive {
    border-radius: 999px;
    background-color: color-mix(in srgb, var(--primary), rgba(255, 255, 255, 0.3) 70%);
}

.cardFilterToggleEnabled {
    background-color: var(--primary) !important;
    color: white !important;
}

.searchCardAmenityFilter {
    flex-direction: column;
}

.searchCardAmenityHeader {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

.searchCardAmenityHeader label {
    letter-spacing: 1px;
    font-weight: 700;
    font-size: 12px;
    color: color-mix(in srgb, var(--muted-foreground), black 30%);
}

#cardAmenities {
    list-style: none;
    appearance: base-select;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 6px;
    flex-wrap: wrap;
    border: none;
    user-select: none;
}

#cardAmenities option::checkmark{
    content: none;
    display: none;
}

#cardAmenities input[type="checkbox"]:checked + label {
    font-weight: 600;
    background-color: var(--primary);
    color: white;
}

#searchCardAmenityReset {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--background);
    border: 1px solid var(--border);
    color: #444;
    font-size: 11px;
    font-weight: 600;
}

#searchResultContainer {
    display: flex;
    flex-direction: column;
    background-color: color-mix(in srgb, var(--background), black 3%);
}

.resultContent {
    width: min(100%, 720px);
    padding: 38px 0 56px;
}

.resultContentHeader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.resultInfoText {
    color: var(--muted-foreground);
    font-size: 13px;
    margin: 0;
}

.resultContentSortOptions {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 18px;
}

.insetButtonContainer {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 2px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--background-muted), black 10%);
}

.insetButton {
    padding: 6px 12px;
    border-radius: 10px;
    background: transparent;
    color: var(--muted-foreground);
    font-size: 11px;
    font-weight: 700;
    text-transform: capitalize;
}

.insetButtonActive {
    background: var(--background);
    color: var(--foreground);
    box-shadow: 0 1px 4px rgba(0,0,0,.08);
}

#resultContainer {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#resultNavigation {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-top: 36px;
}

.centeredContent {
    display: grid;
    place-items: center;
}

.resultsEmpty {
    color: var(--muted-foreground);
    font-size: 13px;
    font-style: italic;
}

.resultEntry {
    display: grid;
    grid-template-columns: 4fr 21fr;
    border-radius: 18px;
    border: 1px solid var(--border);
    background-color: var(--background);
    cursor: pointer;
    transition: transform 0.2s, box-shadow .2s;
}

.resultEntry:hover {
    box-shadow: 0 12px 28px rgba(0,0,0,.08);
    transform: translateY(-1px);
}

.firstEntry {
    border-color: var(--primary);
}

.resultEntryPrice {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background-color: var(--background-muted);
    border-radius: 16px 0 0 16px;
}

.firstEntry .resultEntryPrice {
    background-color: var(--primary);
}

.resultEntryPrice span {
    color: var(--muted-foreground);
    font-size: 10px;
}

.resultEntryPriceCount {
    color: var(--muted-foreground);
    font-size: 10px  !important;
    font-weight: 800;
}

.resultEntryPriceValue {
    color: var(--foreground) !important;
    font-size: 18px  !important;
    font-weight: 700;
    line-height: 1;
}

.firstEntry .resultEntryPrice span {
    color: white !important;
    opacity: 0.7;
}

.firstEntry .resultEntryPrice .resultEntryPriceCount {
    color: white !important;
    opacity: 0.8;
}

.firstEntry .resultEntryPrice .resultEntryPriceValue {
    color: white !important;
    opacity: 1;
}

.resultEntryDetails {
    width: 100%;
    flex: 1;
    padding: 14px 16px;
    border-left: 1px solid var(--border);
    box-sizing: border-box;
}

.resultEntryDetails div:first-child {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.resultEntryBrand {
    font-size: 16px;
    font-weight: 700;
}

.expandable {
    color: var(--muted-foreground);
    font-size: 20px;
}

.resultEntryLocation {
    font-size: 13px;
    color: var(--muted-foreground);
}

.resultEntryLocation img {
    width: 13px;
}

.resultEntryHorizontalSpacer {
    margin: 8px 0;
    width: 100%;
    height: 2px;
    background-color: color-mix(in srgb, var(--background), black 6%);
}

#resultEntryAmenities {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
}

.resultEntryAmenity {
    width: 26px;
    height: 26px;
    background-color: color-mix(in srgb, var(--background), black 12%);
    border-radius: 8px;
    display: grid;
    place-items: center;
}

.resultEntryAmenity img {
    width: 20px;
}

#marketingContainer {
    display: block;
}

.stats {
    border-block: 1px solid var(--border);
    background: var(--background);
}

.statsGrid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 28px 0;
}

.statisticEntry {
    width: 130px;
    padding: 4px 40px;
    text-align: center;
    border-right: 1px solid var(--border);
}

.statisticEntry:last-child {
    border-right: 0;
}

.statisticEntry strong {
    display: block;
    color: var(--primary);
    font-size: 28px;
    letter-spacing: -0.03em;
}

.statisticEntry span {
    display: block;
    margin-top: 2px;
    color: var(--muted-foreground);
    font-size: 12px;
}

#featureContainer {
    background-color: var(--background-muted);
}

.featureGrid {
    padding: 80px 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--primary-soft);
    color: var(--primary);
    margin-bottom: 16px;
}

.feature h3 {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 800;
}

.feature p {
    margin: 0;
    color: var(--muted-foreground);
    font-size: 15px;
    line-height: 1.65;
}

a {
    color: inherit;
    text-decoration: none;
}

footer {
    border-top: 1px solid var(--border);
    background: var(--background);
}

.footer-inner {
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--muted-foreground);
    font-size: 12px;
}

.footerLinks {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footerLinks a:hover {
    color: var(--foreground);
}

.pricePlaceholder {
    color: grey;
    font-size: 14px;
}
