.salon-slider {
    position: relative;
    min-height: min(78vh, 640px);
    overflow: hidden;
    margin-bottom: 1rem;
}

/* Readability scrim so hero text is legible over any image/gradient */
.salon-slider__slide.is-active::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        to top,
        color-mix(in srgb, var(--ink) 78%, transparent) 0%,
        color-mix(in srgb, var(--ink) 38%, transparent) 38%,
        transparent 68%
    );
}

.salon-slider__track {
    position: relative;
    min-height: inherit;
}

.salon-slider__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .7s ease, visibility .7s ease;
}

.salon-slider__slide.is-active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.salon-slider__slide img,
.salon-slider__fallback {
    width: 100%;
    height: min(78vh, 640px);
    object-fit: cover;
    display: block;
}

.salon-slider__fallback {
    background:
        radial-gradient(120% 120% at 85% 15%, color-mix(in srgb, var(--teal) 55%, transparent), transparent 60%),
        radial-gradient(100% 100% at 10% 90%, color-mix(in srgb, var(--teal) 30%, transparent), transparent 55%),
        linear-gradient(135deg, color-mix(in srgb, var(--teal) 42%, var(--ink)), var(--ink));
}

.salon-slider__content {
    position: absolute;
    z-index: 2;
    inset-inline-start: clamp(1.2rem, 6vw, 4rem);
    inset-inline-end: clamp(1.2rem, 6vw, 4rem);
    bottom: clamp(1.75rem, 7vh, 4.5rem);
    max-width: 40rem;
    color: #fff;
    text-shadow: 0 2px 18px rgba(0,0,0,.4);
}

.salon-slider__content h1 {
    margin: 0 0 .65rem;
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.12;
}

.salon-slider__content p {
    margin: 0 0 1.25rem;
    font-size: clamp(1rem, 2vw, 1.25rem);
    max-width: 34rem;
    color: color-mix(in srgb, #fff 88%, transparent);
}

.salon-slider__content .btn {
    box-shadow: 0 12px 30px color-mix(in srgb, var(--ink) 35%, transparent);
}

.salon-slider__content--center {
    inset: 0;
    display: grid;
    place-content: center;
    text-align: center;
    max-width: none;
    padding: 2rem;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,.35));
}

.salon-slider__content--overlay {
    inset-inline-start: clamp(1.5rem, 8vw, 5rem);
    bottom: auto;
    top: 50%;
    transform: translateY(-50%);
}

.salon-slider__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.2));
}

.salon-slider__dots {
    position: absolute;
    inset-inline: 0;
    bottom: 1rem;
    display: flex;
    gap: .5rem;
    justify-content: center;
    z-index: 2;
}

.salon-slider__dots button {
    width: .65rem;
    height: .65rem;
    border-radius: 999px;
    border: 0;
    background: rgba(255,255,255,.45);
    cursor: pointer;
}

.salon-slider__dots button.is-active {
    background: #fff;
    width: 1.4rem;
}

.salon-slider__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 2.5rem;
    height: 2.5rem;
    border: 0;
    border-radius: 999px;
    background: rgba(0,0,0,.45);
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
}

.salon-slider__arrow--prev { inset-inline-start: 1rem; }
.salon-slider__arrow--next { inset-inline-end: 1rem; }

.salon-form {
    display: grid;
    gap: 1rem;
    max-width: 42rem;
}

.salon-form label {
    display: grid;
    gap: .35rem;
    font-weight: 600;
}

.salon-form input,
.salon-form select,
.salon-form textarea {
    font: inherit;
    padding: .7rem .85rem;
    border: 1px solid color-mix(in srgb, var(--ink) 18%, transparent);
    border-radius: .6rem;
    background: #fff;
}

.booking-line {
    display: grid;
    gap: .75rem;
    padding: 1rem;
    border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
    border-radius: .8rem;
    margin-bottom: .75rem;
    background: color-mix(in srgb, var(--surface) 80%, #fff);
}

.filter-bar {
    margin-bottom: 1.5rem;
}

.filter-bar select {
    margin-inline-start: .5rem;
    padding: .5rem .7rem;
    border-radius: .5rem;
}

.flash-success {
    margin: 1rem auto 0;
    max-width: 1100px;
    padding: .85rem 1.1rem;
    background: color-mix(in srgb, #15803d 16%, #fff);
    border: 1px solid color-mix(in srgb, #15803d 35%, transparent);
    border-radius: .7rem;
    color: #166534;
}

.form-errors {
    color: #b91c1c;
}

.section-actions {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.branch-meta {
    max-width: 42rem;
}
