:root {
    --ink: #161c21;
    --muted: #66717d;
    --line: #e2e7ea;
    --surface: #ffffff;
    --soft: #f6f8f8;
    --accent: #087f78;
    --accent-hover: #066f69;
    --accent-soft: #f0f7f6;
    --danger: #b42318;
    --shadow: 0 18px 50px rgba(17, 33, 37, .11);
    --font: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    width: 100%;
    max-width: 100%;
    min-width: 320px;
    overflow-x: hidden;
    color: var(--ink);
    background: #fff;
    font-family: var(--font);
    -webkit-font-smoothing: antialiased;
}

@supports (overflow: clip) {
    html,
    body {
        overflow-x: clip;
    }
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
}

.home-hero {
    min-height: 700px;
    padding: 150px 24px 46px;
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(17, 17, 20, .72) 0%, rgba(17, 17, 20, .47) 48%, rgba(17, 17, 20, .28) 100%),
        linear-gradient(180deg, rgba(9, 9, 12, .17), rgba(9, 9, 12, .47)),
        url("/images/home-hero-color-v2.webp") center / cover no-repeat;
}

.home-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 160px;
    pointer-events: none;
    background: linear-gradient(180deg, transparent, rgba(9, 9, 12, .26));
}

.hero-content {
    width: min(1390px, 100%);
    max-width: 100%;
    min-width: 0;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-kicker,
.section-kicker {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.hero-kicker {
    color: rgba(255, 255, 255, .78);
}

.hero-content h1 {
    max-width: 820px;
    margin: 0;
    color: #fff;
    font-size: clamp(46px, 6.2vw, 82px);
    font-weight: 750;
    line-height: .98;
    letter-spacing: -.055em;
    text-wrap: balance;
    text-shadow: 0 14px 45px rgba(0, 0, 0, .32);
}

.hero-subtitle {
    margin: 18px 0 0;
    color: rgba(255, 255, 255, .88);
    font-size: clamp(17px, 1.7vw, 21px);
    font-weight: 550;
}

.search-panel {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-top: 34px;
    padding: 13px;
    display: grid;
    grid-template-columns: minmax(260px, 1.25fr) minmax(210px, .82fr) minmax(190px, .68fr) auto;
    gap: 8px;
    align-items: end;
    border: 1px solid rgba(255, 255, 255, .58);
    border-radius: 18px;
    color: var(--ink);
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 28px 80px rgba(0, 0, 0, .28);
}

.search-control {
    min-width: 0;
    display: grid;
    gap: 6px;
    color: #47515d;
    font-size: 11px;
    font-weight: 800;
}

.search-control > span {
    padding-left: 3px;
}

.autocomplete {
    min-width: 0;
    position: relative;
}

.input-with-icon {
    min-width: 0;
    position: relative;
}

.input-with-icon > svg {
    width: 20px;
    height: 20px;
    position: absolute;
    z-index: 1;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    fill: none;
    stroke: #65717d;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}

.search-panel input {
    width: 100%;
    min-width: 0;
    min-height: 58px;
    padding: 12px 13px 12px 44px;
    border: 1px solid transparent;
    border-radius: 12px;
    outline: 0;
    color: var(--ink);
    background: var(--soft);
    font-size: 14px;
    font-weight: 600;
    box-shadow: inset 0 0 0 1px rgba(28, 43, 47, .05);
}

.search-panel input::placeholder {
    color: #939da7;
    opacity: 1;
}

.search-panel input:focus {
    border-color: rgba(8, 127, 120, .44);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(8, 127, 120, .10);
}

.search-submit {
    min-height: 58px;
    padding: 0 22px;
    border: 0;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fff;
    background: var(--accent);
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
    transition: background .16s ease, transform .16s ease;
}

.search-submit:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

.search-submit svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.category-links {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: clamp(18px, 4vw, 58px);
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
}

.category-links::-webkit-scrollbar {
    display: none;
}

.category-links button {
    padding: 9px 0;
    position: relative;
    border: 0;
    flex: 0 0 auto;
    color: rgba(255, 255, 255, .86);
    background: transparent;
    font-size: 14px;
    font-weight: 700;
    text-shadow: 0 6px 20px rgba(0, 0, 0, .38);
}

.category-links button::after {
    content: "";
    height: 2px;
    position: absolute;
    right: 0;
    bottom: 3px;
    left: 0;
    border-radius: 999px;
    background: currentColor;
    opacity: 0;
    transform: scaleX(.45);
    transition: opacity .16s ease, transform .16s ease;
}

.category-links button:hover,
.category-links button.active {
    color: #fff;
}

.category-links button:hover::after,
.category-links button.active::after {
    opacity: 1;
    transform: scaleX(1);
}

.suggestions-popover {
    width: min(450px, calc(100vw - 32px));
    max-height: 390px;
    position: absolute;
    z-index: 150;
    top: calc(100% + 10px);
    left: 0;
    overflow: hidden;
    border: 1px solid #dfe5e7;
    border-radius: 15px;
    color: var(--ink);
    background: #fff;
    box-shadow: 0 24px 68px rgba(11, 30, 34, .24);
}

.suggestions-popover--city {
    width: min(360px, calc(100vw - 32px));
}

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

.suggestions-heading {
    padding: 12px 14px 9px;
    border-bottom: 1px solid #edf0f1;
    color: #6e7883;
    background: #fbfcfc;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.suggestions-list {
    max-height: 334px;
    padding: 6px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.suggestion {
    width: 100%;
    min-height: 54px;
    padding: 8px 9px;
    border: 0;
    border-radius: 10px;
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    background: transparent;
    text-align: left;
}

.suggestion:hover,
.suggestion.active {
    color: var(--accent);
    background: var(--accent-soft);
}

.suggestion-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    color: var(--accent);
    background: var(--accent-soft);
}

.suggestion-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

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

.suggestion-copy strong {
    overflow: hidden;
    color: inherit;
    font-size: 14px;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.suggestion-copy small {
    color: #78838e;
    font-size: 11px;
    font-weight: 600;
}

.suggestion-copy mark {
    padding: 0;
    color: var(--accent);
    background: transparent;
    font-weight: 900;
}

.suggestion-count {
    color: #8a949e;
    font-size: 11px;
    font-weight: 700;
}

.suggestions-empty {
    padding: 17px 12px;
    color: #78838e;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}

.page-section {
    width: min(1390px, calc(100% - 40px));
    margin: 0 auto;
}

.cities-section {
    padding: 70px 0 56px;
    border-bottom: 1px solid var(--line);
}

.section-heading,
.catalog-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
}

.section-kicker {
    color: #7a858e;
}

.section-heading h2,
.catalog-heading h2,
.owner-section h2 {
    margin: 0;
    font-size: clamp(30px, 3.4vw, 45px);
    font-weight: 750;
    line-height: 1.05;
    letter-spacing: -.045em;
}

.section-heading > p,
.catalog-heading > div > p:not(.section-kicker),
.owner-section p {
    margin: 8px 0 0;
    color: var(--muted);
    line-height: 1.55;
}

.section-heading > p {
    max-width: 410px;
    text-align: right;
}

.cities-section .section-heading {
    max-width: 760px;
    margin: 0 auto;
    align-items: center;
    flex-direction: column;
    gap: 9px;
    text-align: center;
}

.cities-section .section-heading > p {
    max-width: 620px;
    margin-top: 2px;
    text-align: center;
}

.city-links {
    margin: 38px auto 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: clamp(34px, 6vw, 96px);
    align-items: start;
}

.city-directory-column {
    min-width: 0;
    display: grid;
    align-content: start;
    gap: 4px;
}

.city-directory-item {
    min-width: 0;
}

.city-link {
    width: 100%;
    min-height: 48px;
    padding: 5px 8px;
    border: 0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 13px;
    color: var(--ink);
    background: transparent;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: -.012em;
    text-align: left;
    transition: color .16s ease, transform .16s ease;
}

.city-link:hover,
.city-link.active {
    color: var(--ink);
    background: transparent;
    transform: translateX(3px);
}

.city-link:focus {
    outline: 0;
}

.city-link:focus-visible {
    box-shadow: 0 0 0 2px rgba(8, 127, 120, .24);
}

.city-link__arrow {
    width: 10px;
    height: 10px;
    flex: 0 0 10px;
    border-top: 2px solid var(--accent);
    border-right: 2px solid var(--accent);
    transform: rotate(45deg);
    transition: transform .18s ease;
}

.city-link.active .city-link__arrow {
    transform: rotate(135deg);
}

.city-service-menu {
    padding: 1px 8px 16px 31px;
    display: grid;
    gap: 0;
    animation: reveal-city-services .18s ease both;
}

.city-service-menu[hidden] {
    display: none;
}

.city-service-link {
    min-height: 48px;
    padding: 9px 0;
    display: flex;
    align-items: center;
    color: var(--accent);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: -.008em;
    text-decoration: none;
}

.city-service-link:hover {
    color: var(--accent-hover);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.city-service-link--all {
    color: var(--accent);
    font-weight: 400;
}

.city-service-menu__loading,
.city-service-menu__empty {
    margin: 7px 0 10px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

@keyframes reveal-city-services {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.legacy-filter-controls {
    display: none !important;
}

.city-refinement {
    margin: 38px auto 0;
    padding: 24px;
    border: 1px solid #e2dfdc;
    border-radius: 18px;
    display: grid;
    grid-template-columns: minmax(230px, .85fr) minmax(0, 1.7fr);
    align-items: end;
    gap: 32px;
    background: #fbfaf9;
    box-shadow: 0 18px 44px rgba(24, 24, 32, .065);
    animation: reveal-refinement .2s ease both;
}

.city-refinement[hidden] {
    display: none;
}

@keyframes reveal-refinement {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.city-refinement__intro h3 {
    margin: 4px 0 0;
    font-size: clamp(22px, 2.2vw, 30px);
    line-height: 1.1;
    letter-spacing: -.035em;
}

.city-refinement__intro > p:last-child {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.city-refinement__controls {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto;
    align-items: end;
    gap: 12px;
}

.refinement-control {
    min-width: 0;
    display: grid;
    gap: 7px;
}

.refinement-control > span {
    color: #59656e;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .045em;
    text-transform: uppercase;
}

.refinement-control select {
    width: 100%;
    min-height: 48px;
    padding: 0 40px 0 14px;
    border: 1px solid #cad5d7;
    border-radius: 11px;
    color: var(--ink);
    background: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 650;
}

.refinement-control select:focus {
    outline: 3px solid rgba(8, 127, 120, .11);
    border-color: var(--accent);
}

.refinement-submit {
    min-height: 48px;
    padding: 0 20px;
    border: 0;
    border-radius: 11px;
    color: #fff;
    background: var(--accent);
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
}

.refinement-submit:hover {
    background: var(--accent-hover);
}

.refinement-submit:disabled {
    cursor: wait;
    opacity: .65;
}

.catalog-section {
    padding: 58px 0 52px;
}

.clear-filters {
    min-height: 44px;
    padding: 0 15px;
    border: 1px solid var(--line);
    border-radius: 11px;
    color: var(--ink);
    background: #fff;
    font-size: 13px;
    font-weight: 700;
}

.clear-filters:hover {
    border-color: #bcc6ca;
    background: var(--soft);
}

.businesses-grid {
    margin-top: 25px;
    padding: 0 0 10px;
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline proximity;
    scrollbar-width: thin;
}

.business-card {
    min-width: 0;
    flex: 0 0 320px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 15px;
    color: inherit;
    background: #fff;
    text-decoration: none;
    scroll-snap-align: start;
    transition: transform .17s ease, box-shadow .17s ease, border-color .17s ease;
}

.business-card:hover {
    border-color: #c7d1d4;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.business-card--promoted {
    border-color: rgba(8, 127, 120, .58);
    box-shadow: 0 12px 34px rgba(8, 127, 120, .12);
}

.business-cover {
    height: 210px;
    position: relative;
    display: block;
    overflow: hidden;
    background: #e9eeee center / cover no-repeat;
}

.business-cover img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .28s ease;
}

.business-card:hover .business-cover img {
    transform: scale(1.025);
}

.business-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(8, 18, 20, .42));
}

.rating-badge {
    position: absolute;
    z-index: 1;
    right: 12px;
    top: 12px;
    padding: 7px 9px;
    border-radius: 9px;
    color: var(--ink);
    background: rgba(255, 255, 255, .95);
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .13);
}

.promoted-badge {
    position: absolute;
    z-index: 2;
    left: 12px;
    top: 12px;
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 999px;
    color: #fff;
    background: rgba(8, 127, 120, .94);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .035em;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .16);
    backdrop-filter: blur(8px);
}

.business-card-body {
    display: block;
    padding: 20px;
}

.business-card h3 {
    margin: 0;
    overflow: hidden;
    font-size: 18px;
    font-weight: 750;
    letter-spacing: -.025em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.business-location {
    margin: 5px 0 0;
    display: block;
    overflow: hidden;
    color: var(--muted);
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.business-service {
    margin-top: 14px;
    padding-top: 13px;
    border-top: 1px solid #edf0f1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.business-service > span:first-child {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.business-service strong {
    overflow: hidden;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.business-service small {
    color: var(--muted);
    font-size: 12px;
}

.business-price {
    flex: 0 0 auto;
    color: var(--accent);
    font-size: 13px;
    font-weight: 800;
}

.next-slot {
    margin-top: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #3b4851;
    font-size: 12px;
    font-weight: 700;
}

.next-slot::before {
    content: "";
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: #12a66a;
}

.loading-card,
.empty-card {
    width: 100%;
    flex: 1 0 100%;
    min-height: 190px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 15px;
    display: grid;
    place-items: center;
    color: var(--muted);
    background: var(--soft);
    text-align: center;
}

.empty-card h3 {
    margin: 0 0 7px;
    color: var(--ink);
    font-size: 21px;
}

.empty-card p {
    margin: 0;
}

.message {
    margin-top: 18px;
    padding: 12px 14px;
    border: 1px solid #f5bbb6;
    border-radius: 11px;
    color: var(--danger);
    background: #fff2f1;
    font-size: 13px;
    font-weight: 700;
}

.events-section {
    padding: 0 0 72px;
}

.events-heading {
    padding-top: 54px;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
}

.events-heading h2 {
    margin: 0;
    font-size: clamp(30px, 3.4vw, 45px);
    font-weight: 750;
    line-height: 1.05;
    letter-spacing: -.045em;
}

.events-heading p:not(.section-kicker) {
    margin: 8px 0 0;
    color: var(--muted);
    line-height: 1.55;
}

.events-heading__note {
    margin: 0;
    padding: 8px 0;
    flex: 0 0 auto;
    color: #6d7280;
    font-size: 13px;
    font-weight: 750;
}

.events-grid {
    margin-top: 25px;
    padding: 0 0 10px;
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline proximity;
    scrollbar-width: thin;
}

.event-card {
    min-width: 0;
    flex: 0 0 350px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 15px;
    color: inherit;
    background: #fff;
    text-decoration: none;
    scroll-snap-align: start;
    transition: transform .17s ease, box-shadow .17s ease, border-color .17s ease;
}

.event-card:hover {
    border-color: #c8cbd5;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.event-card--promoted {
    border-color: #d6d0ca;
    box-shadow: 0 14px 34px rgba(50, 45, 41, .08);
}

.event-card__visual {
    height: 188px;
    position: relative;
    display: block;
    overflow: hidden;
    background: #e9eaee;
}

.event-card__visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 48%, rgba(12, 12, 16, .42));
}

.event-card__visual img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .28s ease;
}

.event-card:hover .event-card__visual img {
    transform: scale(1.025);
}

.event-date-badge {
    min-width: 62px;
    padding: 8px 10px;
    position: absolute;
    z-index: 2;
    left: 12px;
    top: 12px;
    border-radius: 11px;
    display: grid;
    justify-items: center;
    color: var(--ink);
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .14);
}

.event-date-badge strong {
    font-size: 22px;
    line-height: 1;
}

.event-date-badge span {
    margin-top: 4px;
    color: #626b75;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.event-promotion-badge {
    padding: 7px 9px;
    position: absolute;
    z-index: 2;
    right: 12px;
    top: 12px;
    border-radius: 9px;
    color: #fff;
    background: #18181b;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.event-card__body {
    min-height: 224px;
    padding: 18px 19px 17px;
    display: flex;
    flex-direction: column;
}

.event-card__salon {
    overflow: hidden;
    color: #707985;
    font-size: 11px;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.event-card__title {
    margin-top: 7px;
    display: -webkit-box;
    overflow: hidden;
    font-size: 18px;
    line-height: 1.25;
    letter-spacing: -.025em;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.event-card__summary {
    margin-top: 8px;
    display: -webkit-box;
    overflow: hidden;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.48;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.event-card__meta {
    margin-top: 14px;
    padding-top: 13px;
    border-top: 1px solid #edf0f1;
    display: flex;
    flex-wrap: wrap;
    gap: 7px 13px;
    color: #454d57;
    font-size: 12px;
    font-weight: 700;
}

.event-card__meta span:last-child {
    color: var(--accent);
    font-weight: 850;
}

.event-card__footer {
    margin-top: auto;
    padding-top: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #282b31;
    font-size: 12px;
    font-weight: 800;
}

.event-card__footer em {
    overflow: hidden;
    color: #707985;
    font-style: normal;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.event-card__places {
    margin-top: 7px;
    color: #7b838d;
    font-size: 11px;
    font-weight: 650;
}

.event-loading {
    width: 100%;
    min-height: 180px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 15px;
    display: grid;
    place-items: center;
    color: var(--muted);
    background: var(--soft);
    text-align: center;
}

.owner-section {
    margin-bottom: 64px;
    padding: 30px 34px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    color: #fff;
    background: #1b1b1f;
}

.owner-section .section-kicker,
.owner-section p {
    color: rgba(255, 255, 255, .70);
}

.owner-section p {
    max-width: 720px;
}

.owner-actions {
    flex: 0 0 auto;
    display: flex;
    gap: 9px;
}

.primary-link,
.secondary-link {
    min-height: 44px;
    padding: 0 15px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
}

.primary-link {
    color: #fff;
    background: var(--accent);
}

.primary-link:hover {
    background: var(--accent-hover);
}

.secondary-link {
    border: 1px solid rgba(255, 255, 255, .22);
    color: #fff;
    background: rgba(255, 255, 255, .08);
}

.secondary-link:hover {
    background: rgba(255, 255, 255, .14);
}

@media (max-width: 1120px) {
    .home-hero {
        min-height: 760px;
        padding-top: 126px;
    }

    .search-panel {
        grid-template-columns: 1fr 1fr;
    }

    .search-submit {
        grid-column: 1 / -1;
    }

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

    .city-refinement {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 20px;
    }
}

@media (max-width: 780px) {
    .home-hero {
        min-height: auto;
        padding: 108px 14px 34px;
        background-position: 57% center;
    }

    .hero-content h1 {
        font-size: clamp(42px, 12vw, 60px);
    }

    .search-panel {
        margin-top: 28px;
        grid-template-columns: 1fr;
    }

    .search-submit {
        grid-column: auto;
    }

    .search-control--date .input-with-icon > svg {
        display: none;
    }

    .search-control--date input {
        padding-left: 13px;
    }

    .category-links {
        width: calc(100vw - 28px);
        max-width: calc(100vw - 28px);
        gap: 26px;
    }

    .page-section {
        width: min(100% - 28px, 1390px);
    }

    .section-heading,
    .catalog-heading,
    .events-heading,
    .owner-section {
        align-items: flex-start;
        flex-direction: column;
    }

    .section-heading > p {
        text-align: left;
    }

    .city-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 24px;
    }

    .city-refinement {
        padding: 20px;
    }

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

    .refinement-submit {
        grid-column: 1 / -1;
    }

    .owner-actions {
        width: 100%;
        flex-wrap: wrap;
    }

    .events-heading__note {
        padding-top: 0;
    }
}

@media (max-width: 520px) {
    .home-hero {
        padding-top: 96px;
    }

    .hero-content h1 {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .search-panel {
        padding: 10px;
    }

    .suggestions-popover,
    .suggestions-popover--city {
        width: 100%;
    }

    .cities-section,
    .catalog-section,
    .events-section {
        padding-top: 42px;
        padding-bottom: 46px;
    }

    .events-heading {
        padding-top: 0;
    }

    .city-links {
        grid-template-columns: 1fr;
        column-gap: 0;
        row-gap: 10px;
    }

    .city-link {
        min-height: 45px;
        padding-inline: 5px;
        gap: 10px;
        font-size: 16px;
    }

    .city-service-menu {
        padding-left: 27px;
    }

    .city-service-link {
        min-height: 44px;
        font-size: 15.5px;
    }

    .city-refinement {
        margin-top: 28px;
        padding: 18px;
        border-radius: 15px;
    }

    .city-refinement__controls {
        grid-template-columns: 1fr;
    }

    .refinement-submit {
        grid-column: auto;
    }

    .business-card {
        flex-basis: min(86vw, 320px);
    }

    .event-card {
        flex-basis: min(88vw, 350px);
    }

    .business-cover {
        height: 230px;
    }

    .owner-section {
        margin-bottom: 28px;
        padding: 24px;
    }

    .owner-actions,
    .primary-link,
    .secondary-link {
        width: 100%;
    }
}
