/* NearBySpaSalon premium homepage */
:root {
    --home-pink: #e91e63;
    --home-pink-dark: #c2185b;
    --home-pale: #fff3f7;
    --home-ink: #171b35;
    --home-muted: #687087;
    --home-line: #eee7ec;
    --home-display: Georgia, 'Times New Roman', serif;
}

.home-hero {
    position: relative;
    overflow: hidden;
    padding: 72px 0 0;
    background:
        radial-gradient(circle at 83% 22%, rgba(255, 190, 212, .58), transparent 29%),
        radial-gradient(circle at 12% 12%, rgba(255, 229, 238, .75), transparent 31%),
        linear-gradient(180deg, #fff8fa 0%, #fff 78%);
}

.home-hero::before {
    content: '';
    position: absolute;
    width: 520px;
    height: 520px;
    right: -230px;
    top: -220px;
    border-radius: 50%;
    background: rgba(255, 218, 230, .42);
}

.home-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(380px, .98fr);
    align-items: center;
    gap: 54px;
    min-height: 530px;
}

.home-hero__copy { position: relative; z-index: 2; }

.home-kicker,
.home-section-kicker {
    display: inline-block;
    color: var(--home-pink);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.home-kicker {
    padding: 9px 15px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 8px 25px rgba(196, 44, 97, .09);
}

.home-hero h1 {
    margin: 22px 0 18px;
    color: var(--home-ink);
    font-family: var(--home-display);
    font-size: clamp(50px, 6vw, 82px);
    line-height: .98;
    letter-spacing: -.045em;
    font-weight: 700;
}

.home-hero h1 em { color: var(--home-pink); font-style: italic; }

.home-hero__copy > p {
    max-width: 590px;
    margin: 0;
    color: #626b82;
    font-size: 18px;
    line-height: 1.65;
}

.home-hero__actions { display: flex; gap: 12px; margin-top: 30px; }

.home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 20px;
    border-radius: 14px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    border: 1px solid transparent;
    transition: transform .18s ease, box-shadow .18s ease;
}

.home-btn:hover { transform: translateY(-2px); }
.home-btn--primary { color: #fff; background: linear-gradient(135deg, #ed1762, #c91862); box-shadow: 0 12px 25px rgba(233,30,99,.2); }
.home-btn--primary:hover { color: #fff; box-shadow: 0 16px 30px rgba(233,30,99,.25); }
.home-btn--ghost { color: var(--home-ink); background: rgba(255,255,255,.8); border-color: #eadfe5; }

.home-proof { display: flex; gap: 32px; margin-top: 34px; }
.home-proof div { display: grid; gap: 1px; }
.home-proof strong { color: var(--home-ink); font-size: 20px; }
.home-proof span { color: #8a91a3; font-size: 11px; }

.home-hero__visual { position: relative; min-height: 500px; display: grid; place-items: center; }
.home-hero__glow { position: absolute; width: 420px; height: 420px; border-radius: 50%; background: #ffdce8; filter: blur(2px); }
.home-hero__image,
.home-hero__placeholder { position: relative; z-index: 1; width: min(100%, 500px); height: 500px; object-fit: cover; border-radius: 45% 45% 22px 22px; box-shadow: 0 30px 70px rgba(55, 30, 44, .16); }
.home-hero__image { object-position: center; }
.home-hero__placeholder { display: grid; align-content: center; justify-items: center; background: linear-gradient(145deg, #fbd8e5, #fff6f9); color: var(--home-pink); text-align: center; }
.home-hero__placeholder span { font-size: 13px; letter-spacing: .22em; font-weight: 800; }
.home-hero__placeholder strong { margin-top: 12px; font-family: var(--home-display); font-size: 42px; line-height: 1; color: var(--home-ink); }

.home-floating-card { position: absolute; z-index: 3; display: flex; align-items: center; gap: 11px; padding: 13px 16px; border: 1px solid rgba(255,255,255,.9); border-radius: 15px; background: rgba(255,255,255,.9); backdrop-filter: blur(12px); box-shadow: 0 16px 35px rgba(55, 30, 44, .13); }
.home-floating-card--top { top: 68px; left: -2px; }
.home-floating-card--bottom { right: 0; bottom: 50px; }
.home-floating-card strong, .home-floating-card small { display: block; }
.home-floating-card strong { color: var(--home-ink); font-size: 12px; }
.home-floating-card small { margin-top: 2px; color: #8b92a4; font-size: 10px; }
.home-floating-card__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; color: #fff; background: var(--home-pink); }
.home-floating-card__dot { width: 9px; height: 9px; border-radius: 50%; background: #22b573; box-shadow: 0 0 0 5px #e8f8f1; }

.home-search-wrap { position: relative; z-index: 6; margin-top: 60px; }
.home-search-card { display: grid; grid-template-columns: 1.2fr 1fr 1fr auto; gap: 12px; align-items: end; padding: 17px; border: 1px solid rgba(232, 219, 226, .95); border-radius: 20px; background: rgba(255,255,255,.96); box-shadow: 0 20px 55px rgba(48, 28, 39, .13); backdrop-filter: blur(14px); }
.home-search-card__intro span, .home-field span { display: block; margin-bottom: 7px; color: #9197a7; font-size: 11px; font-weight: 700; }
.home-search-card__intro strong { color: var(--home-ink); font-size: 15px; }
.home-field select { width: 100%; height: 48px; padding: 0 13px; border: 1px solid #e8e1e6; border-radius: 12px; background: #fff; color: var(--home-ink); outline: none; }
.home-search-card__button { min-height: 48px; }

.home-section { padding: 74px 0; }
.home-section--tight { padding-top: 58px; }
.home-section--rose, .home-brand-strip { background: #fff7fa; }
.home-section-head { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 28px; }
.home-section-head--compact { margin-bottom: 22px; }
.home-section-head h2 { margin: 6px 0 6px; color: var(--home-ink); font-family: var(--home-display); font-size: clamp(29px, 3vw, 40px); line-height: 1.08; letter-spacing: -.025em; }
.home-section-head p { max-width: 650px; margin: 0; color: var(--home-muted); }
.home-section-head > a { flex: 0 0 auto; color: var(--home-pink); text-decoration: none; font-size: 13px; font-weight: 800; }

.home-service-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.home-service { min-height: 132px; display: flex; flex-direction: column; justify-content: center; padding: 18px; border: 1px solid #eee5ea; border-radius: 17px; background: #fff; text-decoration: none; box-shadow: 0 8px 25px rgba(50, 25, 38, .035); transition: transform .18s ease, box-shadow .18s ease; }
.home-service:hover { transform: translateY(-4px); box-shadow: 0 15px 30px rgba(50,25,38,.08); }
.home-service__icon { display: grid; place-items: center; width: 37px; height: 37px; margin-bottom: 14px; border-radius: 12px; color: var(--home-pink); background: #fff0f5; }
.home-service strong { color: var(--home-ink); font-size: 14px; }
.home-service small { margin-top: 3px; color: #9a9faf; font-size: 10px; }

.home-brand-strip { padding: 44px 0; border-block: 1px solid #f3e7ed; }
.home-brand-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.home-brand { height: 78px; display: grid; place-items: center; padding: 12px; border: 1px solid #eee6eb; border-radius: 14px; background: #fff; color: #23263b; font-size: 15px; font-weight: 800; text-align: center; }
.home-brand img { max-width: 90%; max-height: 42px; object-fit: contain; }

.home-city-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.home-city-card { position: relative; min-height: 155px; padding: 22px; border: 1px solid #f0dfe7; border-radius: 18px; background: linear-gradient(145deg, #fff, #fff9fb); text-decoration: none; box-shadow: 0 8px 28px rgba(78,35,56,.04); }
.home-city-card:hover { border-color: #edb5ca; }
.home-city-card small { color: var(--home-pink); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.home-city-card h3 { margin: 7px 0 4px; color: var(--home-ink); font-family: var(--home-display); font-size: 25px; }
.home-city-card p { margin: 0; color: #858c9d; font-size: 11px; }
.home-city-card__arrow { position: absolute; top: 17px; right: 18px; color: var(--home-pink); font-size: 20px; }

.home-price-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 28px; align-items: stretch; padding: 34px; border-radius: 26px; background: linear-gradient(135deg, #fff0f5, #fff); border: 1px solid #f1dfe7; }
.home-price-copy { display: flex; flex-direction: column; justify-content: center; }
.home-price-copy h2 { margin: 8px 0 12px; color: var(--home-ink); font-family: var(--home-display); font-size: 38px; line-height: 1.08; }
.home-price-copy p { margin: 0 0 22px; color: var(--home-muted); }
.home-price-copy .home-btn { align-self: flex-start; }
.home-price-table { overflow: hidden; border: 1px solid #eee4e9; border-radius: 16px; background: #fff; }
.home-price-table__head, .home-price-table__row { display: grid; grid-template-columns: 1.3fr 1fr .8fr; gap: 12px; align-items: center; padding: 13px 16px; }
.home-price-table__head { background: #fff7fa; color: #8c92a3; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.home-price-table__row { border-top: 1px solid #f2edf0; font-size: 12px; }
.home-price-table__row strong { color: var(--home-ink); }
.home-price-table__row span { color: #858c9d; }
.home-price-table__row b { color: var(--home-pink); text-align: right; }

.home-business-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.home-business-card { overflow: hidden; border: 1px solid #f0e5e9; border-radius: 20px; background: #fff; box-shadow: 0 10px 28px rgba(55,30,44,.05); }
.home-business-card__image { display: block; aspect-ratio: 1.45; overflow: hidden; background: #f8edf1; }
.home-business-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.home-business-card:hover .home-business-card__image img { transform: scale(1.04); }
.home-business-card__image > span { display: grid; height: 100%; place-items: center; color: var(--home-pink); font-family: var(--home-display); font-size: 26px; }
.home-business-card__body { padding: 18px; }
.home-business-card__body small { color: var(--home-pink); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.home-business-card h3 { margin: 7px 0 5px; font-size: 19px; }
.home-business-card h3 a { color: var(--home-ink); text-decoration: none; }
.home-business-card p { margin: 5px 0 0; color: #8a91a2; font-size: 12px; }
.home-rating { color: #e59b17; font-size: 12px; font-weight: 800; }
.home-rating span { color: #9298a7; font-weight: 500; }

.home-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.home-benefits article { padding: 26px; border: 1px solid #eee6eb; border-radius: 19px; background: #fff; }
.home-benefits article > span { color: var(--home-pink); font-size: 11px; font-weight: 900; }
.home-benefits h3 { margin: 12px 0 6px; color: var(--home-ink); font-family: var(--home-display); font-size: 24px; }
.home-benefits p { margin: 0; color: var(--home-muted); font-size: 13px; }

@media (max-width: 960px) {
    .home-hero__grid { grid-template-columns: 1fr; padding-top: 30px; }
    .home-hero__visual { min-height: 390px; }
    .home-hero__image, .home-hero__placeholder { height: 390px; }
    .home-search-card { grid-template-columns: 1fr 1fr; }
    .home-search-card__intro { grid-column: 1 / -1; }
    .home-service-grid { grid-template-columns: repeat(3, 1fr); }
    .home-brand-row { grid-template-columns: repeat(3, 1fr); }
    .home-city-grid { grid-template-columns: repeat(2, 1fr); }
    .home-price-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .home-hero { padding-top: 42px; }
    .home-hero__grid { gap: 20px; min-height: auto; }
    .home-hero h1 { font-size: clamp(45px, 14vw, 64px); }
    .home-hero__copy > p { font-size: 16px; }
    .home-proof { gap: 18px; }
    .home-hero__visual { min-height: 340px; }
    .home-hero__image, .home-hero__placeholder { width: 84%; height: 340px; }
    .home-floating-card--top { top: 28px; left: 0; }
    .home-floating-card--bottom { right: 0; bottom: 18px; }
    .home-search-wrap { margin-top: -22px; }
    .home-search-card { grid-template-columns: 1fr; padding: 15px; }
    .home-search-card__intro { grid-column: auto; }
    .home-section { padding: 56px 0; }
    .home-section-head { align-items: start; flex-direction: column; gap: 8px; }
    .home-service-grid { grid-template-columns: repeat(2, 1fr); }
    .home-brand-row { grid-template-columns: repeat(2, 1fr); }
    .home-city-grid { grid-template-columns: 1fr; }
    .home-price-layout { padding: 22px; border-radius: 20px; }
    .home-price-copy h2 { font-size: 31px; }
    .home-price-table__head, .home-price-table__row { grid-template-columns: 1.1fr .9fr; }
    .home-price-table__head span:nth-child(2), .home-price-table__row span { display: none; }
    .home-price-table__row b { text-align: right; }
    .home-business-grid, .home-benefits { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
    .home-hero__actions { flex-direction: column; }
    .home-btn { width: 100%; }
    .home-proof { justify-content: space-between; gap: 8px; }
    .home-proof strong { font-size: 17px; }
    .home-service { min-height: 118px; padding: 15px; }
    .home-brand { height: 68px; }
    .home-floating-card { max-width: 82%; }
    .home-floating-card--top { left: -5px; }
}
