:root {
    --background: #0b0b0f;
    --foreground: #ffffff;
    --muted: rgba(255, 255, 255, 0.72);
    --accent: #ff5c8a;
    --accent-soft: rgba(255, 92, 138, 0.15);
    --border: rgba(255, 255, 255, 0.08);
    --card: rgba(20, 20, 24, 0.75);
    --card-strong: rgba(28, 28, 34, 0.9);
    --success: #2ecc71;
    --warning: #ffb347;
    --error: #ff4d4f;
    --font-family: 'Inter', 'Segoe UI', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    background: radial-gradient(circle at top right, rgba(255, 92, 138, 0.18), transparent 55%), var(--background);
    color: var(--foreground);
}

body.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

img {
    max-width: 100%;
    display: block;
}

.site-header {
    position: relative;
    height: clamp(420px, 70vh, 640px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
}

.site-header__top {
    position: relative;
    z-index: 5;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1.5rem, 4vw, 3rem);
    background: linear-gradient(135deg, rgba(8, 8, 12, 0.85), rgba(8, 8, 12, 0.55));
    backdrop-filter: blur(10px);
}

.site-header__inner {
    width: 100%;
    max-width: 1080px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(1rem, 3vw, 3rem);
}

.site-logo {
    font-weight: 700;
    font-size: 1.4rem;
    color: #fff;
    text-decoration: none;
    flex: 0 0 auto;
    white-space: nowrap;
}

.site-nav {
    display: inline-flex;
    align-items: center;
    gap: clamp(0.5rem, 2vw, 1.5rem);
    flex-wrap: nowrap;
    flex: 1 1 auto;
    justify-content: center;
    min-width: 0;
    white-space: nowrap;
}

.site-nav__link {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.site-nav__label {
    color: rgba(255, 255, 255, 0.72);
    font-weight: 500;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: default;
    pointer-events: none;
}

.site-nav__link:hover,
.site-nav__link:focus-visible {
    color: #fff;
}

.site-header__actions {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: nowrap;
    flex: 0 0 auto;
    white-space: nowrap;
}

.hero-slider {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity var(--transition-duration, 600ms) ease;
}

.hero-slide--active {
    opacity: 1;
    z-index: 2;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide--placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.65);
    color: var(--muted);
    text-align: center;
    padding: 2rem;
}

.hero-slide__placeholder-text code {
    background: rgba(255, 255, 255, 0.12);
    padding: 0.2rem 0.4rem;
    border-radius: 6px;
}

.site-header__overlay {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    flex: 1 1 auto;
    padding: clamp(2rem, 6vw, 4rem) clamp(1.5rem, 5vw, 6rem);
    background: linear-gradient(120deg, rgba(11, 11, 15, 0.85) 10%, rgba(11, 11, 15, 0.35) 55%, rgba(11, 11, 15, 0));
}

.site-header__content {
    max-width: 640px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.site-header__label {
    text-transform: uppercase;
    letter-spacing: 0.35em;
    font-size: 0.75rem;
    color: var(--muted);
}

.site-header__title {
    font-size: clamp(2.2rem, 6vw, 3.8rem);
    line-height: 1.1;
    font-weight: 700;
}

.site-header__note {
    color: var(--muted);
    font-size: clamp(1rem, 2.6vw, 1.1rem);
    line-height: 1.6;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.8rem;
    background: var(--accent);
    color: #fff;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    cursor: pointer;
    gap: 0.5rem;
}

.button--compact {
    padding-top: 0.63rem;
    padding-bottom: 0.63rem;
}

.button.is-loading {
    opacity: 0.75;
    pointer-events: none;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(255, 92, 138, 0.35);
}

.button--ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: #fff;
}

.button--ghost:hover,
.button--ghost:focus-visible {
    box-shadow: none;
    background: rgba(255, 255, 255, 0.1);
}

.button--secondary {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.button--secondary:hover,
.button--secondary:focus-visible {
    background: rgba(255, 255, 255, 0.22);
    box-shadow: none;
}

.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.08);
    padding: 0.35rem;
    border-radius: 999px;
}

.language-switcher__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.language-switcher__button:hover,
.language-switcher__button:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
}

.language-switcher__button.is-active {
    background: var(--accent);
    color: #fff;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: clamp(2rem, 4vw, 3.5rem);
    padding: clamp(2rem, 5vw, 4rem) clamp(1.25rem, 6vw, 6rem);
}

.section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: clamp(1.5rem, 4vw, 3rem);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.section__header {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.section__title {
    font-size: clamp(1.75rem, 3.2vw, 2.4rem);
    font-weight: 700;
}

.section__subtitle {
    color: var(--muted);
    line-height: 1.6;
    font-size: 1rem;
}

.benefit-calculator {
    display: grid;
    gap: 2rem;
    background: var(--card-strong);
    border-radius: 24px;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.benefit-calculator__controls {
    display: grid;
    gap: 1.5rem;
}

.range-control {
    display: grid;
    gap: 0.75rem;
}

.range-control__label {
    font-weight: 600;
    font-size: 1rem;
}

.range-control__value {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--accent);
}

.range-control__input {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    outline: none;
    cursor: pointer;
    position: relative;
}

.range-control__input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--accent);
    border: none;
    box-shadow: 0 8px 18px rgba(255, 92, 138, 0.35);
}

.range-control__input::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--accent);
    border: none;
    box-shadow: 0 8px 18px rgba(255, 92, 138, 0.35);
}

.benefit-calculator__summary {
    display: grid;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 18px;
    padding: 1.25rem 1.5rem;
}

.benefit-calculator__hint {
    color: var(--muted);
}

.benefit-calculator__profit {
    font-size: clamp(2rem, 4vw, 2.6rem);
    font-weight: 700;
}

.benefit-calculator__note {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.5;
}

.highlight-list {
    display: grid;
    gap: 1.5rem;
}

.highlight-card {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: grid;
    gap: 0.75rem;
}

.highlight-card__title {
    font-size: 1.25rem;
    font-weight: 600;
}

.highlight-card__text {
    color: var(--muted);
    line-height: 1.6;
}

.feedback-card {
    background: var(--card-strong);
    border-radius: 24px;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    display: grid;
    gap: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.feedback-card__notice[hidden] {
    display: none;
}

.feedback-card__notice:not([hidden]) {
    margin-bottom: 0;
}

.feedback-card__notice .notice {
    margin: 0;
}

.notice {
    padding: 0.9rem 1rem;
    border-radius: 12px;
    font-size: 0.95rem;
    line-height: 1.4;
}

.notice--success {
    background: rgba(46, 204, 113, 0.12);
    color: var(--success);
}

.notice--error {
    background: rgba(255, 77, 79, 0.12);
    color: var(--error);
}

.notice--warning {
    background: rgba(255, 179, 71, 0.12);
    color: var(--warning);
}

.feedback-form {
    display: grid;
    gap: 1.5rem;
}

.form-grid {
    display: grid;
    gap: 1.25rem;
}

.input-field {
    display: grid;
    gap: 0.5rem;
}

.input-field__label {
    font-size: 0.95rem;
    color: var(--muted);
}

.input-field__control {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: var(--foreground);
    font-size: 1rem;
}

select.input-field__control {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: rgba(255, 255, 255, 0.04);
    color: var(--foreground);
    padding-right: 2.5rem;
    background-image: linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, 0.6) 50%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.6) 50%, transparent 50%),
        linear-gradient(to right, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.08));
    background-position: calc(100% - 1.2rem) calc(50% - 0.25rem), calc(100% - 0.8rem) calc(50% - 0.25rem), 100% 0;
    background-size: 0.5rem 0.5rem, 0.5rem 0.5rem, 2.5rem 100%;
    background-repeat: no-repeat;
}

select.input-field__control option {
    background-color: var(--card-strong);
    color: var(--foreground);
}

.input-field__control::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.input-field__control:focus {
    outline: 2px solid rgba(255, 92, 138, 0.45);
    border-color: transparent;
}

.faq-list {
    display: grid;
    gap: 1.25rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 18px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: grid;
    gap: 0.75rem;
}

.faq-item__question {
    font-weight: 600;
    font-size: 1.1rem;
}

.faq-item__answer {
    color: var(--muted);
    line-height: 1.6;
}

.section__empty {
    color: var(--muted);
    text-align: center;
}

.section__note {
    color: var(--muted);
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.section--salons .section__header {
    align-items: flex-start;
}

.salon-card-grid {
    --salon-card-gap: clamp(0.75rem, 1.8vw, 1.25rem);
    display: flex;
    gap: var(--salon-card-gap);
    align-items: stretch;
    overflow-x: auto;
    padding: 0 var(--salon-card-gap) 0.75rem;
    margin: 0 calc(var(--salon-card-gap) * -1);
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
}

.salon-card-grid::-webkit-scrollbar {
    height: 8px;
}

.salon-card-grid::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 999px;
}

.salon-card-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
}

.salon-card {
    flex: 0 0 calc((100% - var(--salon-card-gap) * 9) / 10);
    min-width: 120px;
    background: var(--card-strong);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
    scroll-snap-align: start;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    font: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.salon-card:hover,
.salon-card:focus-visible {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.salon-card:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.salon-card__logo {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.salon-card__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.35));
}

.salon-card__logo-placeholder {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
}

.salon-card__title {
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
}

.salon-card__city {
    color: var(--muted);
    font-size: 0.9rem;
    text-align: center;
}

.salon-card__cta {
    margin-top: auto;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
}

.salon-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(11, 11, 15, 0.82);
    backdrop-filter: blur(6px);
    padding: 1.5rem;
    z-index: 20;
}

.salon-modal[hidden] {
    display: none;
}

.salon-modal__backdrop {
    position: absolute;
    inset: 0;
    cursor: pointer;
}

.salon-modal__dialog {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    max-width: 420px;
    width: 100%;
    position: relative;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    z-index: 1;
}

.salon-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.salon-modal__name {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.salon-modal__details {
    display: grid;
    gap: 0.75rem;
}

.salon-modal__row {
    display: grid;
    gap: 0.25rem;
}

.salon-modal__row dt {
    color: var(--muted);
    font-size: 0.85rem;
}

.salon-modal__row dd {
    margin: 0;
    font-size: 1rem;
}

.missing-salon-form {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.missing-salon-form__title {
    font-weight: 600;
}

.city-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.city-filter__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.city-filter__button:hover,
.city-filter__button:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
}

.city-filter__button.is-active {
    background: var(--accent);
    color: #fff;
    border-color: transparent;
}

.salon-layout {
    display: grid;
    gap: clamp(1.5rem, 3vw, 2rem);
}

@media (min-width: 960px) {
    .salon-layout {
        grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
        align-items: start;
    }
}

.salon-layout__sidebar {
    display: grid;
    gap: clamp(1rem, 2vw, 1.5rem);
    padding: clamp(1.25rem, 3vw, 1.75rem);
    background: var(--card-strong);
    border: 1px solid var(--border);
    border-radius: 20px;
}

@media (min-width: 960px) {
    .salon-layout__sidebar {
        position: sticky;
        top: clamp(1rem, 4vw, 2.5rem);
    }
}

.salon-layout__sidebar .city-filter {
    margin-bottom: 0;
}

@media (min-width: 960px) {
    .salon-layout__sidebar .city-filter {
        flex-direction: column;
        align-items: stretch;
        gap: 0.6rem;
    }

    .salon-layout__sidebar .city-filter__button {
        width: 100%;
        justify-content: flex-start;
    }
}

.salon-layout__content {
    display: grid;
    gap: 1.5rem;
}

.salon-search {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    min-width: 0;
}

.salon-search__label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.salon-search__field-group {
    display: flex;
    align-items: stretch;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.25rem;
}

.salon-search__input {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0.65rem 1rem;
    background: transparent;
    border: 0;
    color: var(--foreground);
    font-size: 0.95rem;
}

.salon-search__input:focus {
    outline: none;
}

.salon-search__submit {
    flex: 0 0 auto;
    padding: 0.55rem 1.25rem;
    border: 0;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.salon-search__submit:hover,
.salon-search__submit:focus-visible {
    background: #ff6f99;
}

.salon-list {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

@media (max-width: 640px) {
    .salon-list {
        grid-template-columns: 1fr;
    }
}

.salon-list__item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-height: 100%;
}

.salon-list__title {
    font-size: 1.2rem;
    font-weight: 600;
}

.salon-list__city,
.salon-list__address,
.salon-list__phone {
    color: var(--muted);
    font-size: 0.95rem;
}

.salon-list__item--expanded {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(20, 20, 24, 0.85);
}

.salon-list__main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: start;
}

.salon-list__info {
    display: grid;
    gap: 0.4rem;
}

.salon-list__actions {
    margin-top: 0.75rem;
}

.salon-list__logo {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.salon-list__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.salon-list__logo-placeholder {
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--foreground);
}

.salon-list__details {
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
    display: grid;
    gap: 0.75rem;
}

.salon-list__description {
    line-height: 1.5;
}

.salon-list__socials {
    display: grid;
    gap: 0.5rem;
}

.salon-list__socials-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--muted);
}

.salon-list__social-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.salon-list__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--foreground);
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.2s ease, transform 0.2s ease;
}

.salon-list__social-link:hover,
.salon-list__social-link:focus-visible {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

@media (max-width: 600px) {
    .salon-list__main {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .salon-list__logo {
        justify-self: start;
    }
}

.social-links {
    display: grid;
    gap: 1.25rem;
}

.social-links__grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.social-links__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.1rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s ease, transform 0.2s ease;
}

.social-links__button:hover,
.social-links__button:focus-visible {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-2px);
}

.page--content {
    background: radial-gradient(circle at top right, rgba(255, 92, 138, 0.18), transparent 55%), var(--background);
}

.top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem clamp(1.5rem, 4vw, 3rem);
    gap: 1rem;
    flex-wrap: wrap;
}

.top-bar__back {
    color: var(--muted);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.top-bar__back:hover,
.top-bar__back:focus-visible {
    color: var(--foreground);
}

.top-bar__slug {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1rem;
    font-weight: 600;
    flex: 1;
    text-align: center;
}

.top-bar--centered {
    justify-content: center;
}

.top-bar--centered .language-switcher {
    margin-left: auto;
}

.content-area {
    flex: 1;
    display: grid;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    padding: 0 clamp(1.5rem, 5vw, 3rem) clamp(2rem, 6vw, 3.5rem);
}

.content-card,
.uploader {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

.content-card > * + * {
    margin-top: 1rem;
}

.uploader {
    display: grid;
    gap: 1.5rem;
}

.uploader__title {
    font-size: 1.5rem;
    font-weight: 600;
}

.uploader__hint {
    color: var(--muted);
    line-height: 1.5;
}

.uploader__notice[hidden] {
    display: none;
}

.uploader__notice .notice {
    margin: 0;
}

.uploader__logo {
    max-width: 220px;
    margin: 0 auto 1.5rem;
    display: block;
    border: none;
    border-radius: 0;
}

.upload-form {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.upload-form .button {
    padding: 0.63rem 1.6rem;
}

.button--file {
    position: relative;
    overflow: hidden;
}

.button--file__input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.upload-progress {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    overflow: hidden;
    margin-top: 1rem;
}

.upload-progress__bar {
    width: 0;
    height: 100%;
    background: var(--accent);
    transition: width 0.2s linear;
}

.upload-progress__label {
    font-size: 0.85rem;
    color: var(--muted);
    text-align: right;
    margin-top: 0.5rem;
}

.upload-progress__label[hidden] {
    display: none;
}

.upload-log {
    display: grid;
    gap: 0.75rem;
}

.upload-log__title {
    font-size: 1.1rem;
    font-weight: 600;
}

.upload-log__body {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 1rem 1.25rem;
}

.upload-log__list {
    list-style: none;
    display: grid;
    gap: 0.5rem;
}

.upload-log__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
}

.upload-log__folder {
    font-weight: 500;
}

.upload-log__count {
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}

.upload-log__empty {
    color: var(--muted);
    font-size: 0.9rem;
}

.site-footer {
    padding: 2rem 1.5rem 3rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.95rem;
}

.site-footer__counter {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.site-footer__counter-label {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.site-footer__counter-value {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    background: linear-gradient(135deg, rgba(255, 92, 138, 0.35), rgba(255, 92, 138, 0.1));
    border-radius: 16px;
    padding: 0.5rem 1.25rem;
    color: #fff;
    box-shadow: 0 12px 28px rgba(255, 92, 138, 0.18);
}

@media (min-width: 640px) {
    .benefit-calculator__controls {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem;
    }

    .highlight-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

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

    .page--salons .content-area {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 1024px) {
    .site-header__inner {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }

    .site-nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .site-header__actions {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .site-header__inner {
        flex-direction: column;
        text-align: center;
    }

    .site-logo {
        flex-basis: auto;
        text-align: center;
    }

    .site-nav {
        display: none;
    }

    .site-header__actions {
        width: 100%;
        justify-content: center;
        gap: 0.75rem;
    }

    .site-header {
        height: clamp(360px, 62vh, 520px);
    }

    .site-header__overlay {
        padding: 2.5rem 1.5rem;
        background: linear-gradient(140deg, rgba(11, 11, 15, 0.9) 25%, rgba(11, 11, 15, 0.4) 75%);
    }

    .section {
        padding: 1.5rem;
    }

    .content-area {
        padding: 0 1.5rem 2.5rem;
    }

    .content-area {
        grid-template-columns: 1fr;
    }
}

.section--banners {
    background: linear-gradient(145deg, rgba(15, 22, 33, 0.92), rgba(26, 32, 44, 0.72));
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.section--banners .section__subtitle {
    color: rgba(245, 245, 245, 0.75);
}

.banner-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: clamp(1rem, 3vw, 1.75rem);
}

.banner-card {
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 18px 40px rgba(6, 9, 16, 0.35);
    min-height: 100%;
}

.banner-card__media img {
    display: block;
    width: 100%;
    height: auto;
}

.banner-card__content {
    padding: clamp(1rem, 3vw, 1.5rem);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
}

.banner-card__title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 600;
}

.banner-card__text {
    margin: 0;
    color: rgba(245, 245, 245, 0.78);
    line-height: 1.6;
    flex: 1;
}

.banner-card__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.2rem;
    border-radius: 999px;
    background: linear-gradient(130deg, #f160f2, #765cff);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.banner-card__link:hover,
.banner-card__link:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(118, 92, 255, 0.35);
}

.page--support {
    background: radial-gradient(circle at top left, rgba(118, 92, 255, 0.12), transparent 55%), var(--background);
}

.support {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    padding: clamp(2rem, 5vw, 3rem) clamp(1.5rem, 4vw, 3rem) clamp(3rem, 6vw, 4rem);
    display: flex;
    flex-direction: column;
    gap: 2rem;
    flex: 1 1 auto;
}

.support-card {
    background: var(--card-strong);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 26px;
    padding: clamp(1.75rem, 4vw, 2.75rem);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    box-shadow: 0 24px 48px rgba(6, 9, 16, 0.35);
}

.support-card__title {
    margin: 0;
    font-size: clamp(1.5rem, 3.5vw, 1.85rem);
    font-weight: 700;
}

.support-card__description {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.support-card__notice[hidden] {
    display: none;
}

.support-card__notice .notice {
    margin: 0;
}

.support-form {
    display: grid;
    gap: 1.25rem;
}

.support-form__actions {
    display: flex;
    justify-content: flex-end;
}

.support-form__hint {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--muted);
}

.input-field__control--file {
    cursor: pointer;
}

@media (max-width: 640px) {
    .support {
        padding: 2rem 1.25rem 3rem;
    }

    .support-form__actions {
        justify-content: stretch;
    }

    .support-form__actions .button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
