:root {
    --color-background: #ffffff;
    --color-soft: #faf7f5;
    --color-border: #eae5e2;
    --color-text: #2d2926;
    --color-muted: #615e5c;
    --color-accent: #ff8329;
    --color-accent-soft: #ffe6d2;
    --shadow-soft: 0 24px 60px rgba(45, 41, 38, 0.08);
    --radius-large: 30px;
    --radius-medium: 22px;
    --container: 1120px;
}

html {
    -webkit-text-size-adjust: 100%;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html, body {
    min-height: 100%;
    margin: 0;
    background: var(--color-background);
    color: var(--color-text);
    font-family: "Instrument Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

body {
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--color-accent-soft);
    outline-offset: 3px;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    letter-spacing: -0.04em;
    line-height: 1.05;
}

h1 {
    max-width: 720px;
    margin-bottom: 28px;
    font-size: clamp(1.425rem, 3.5vw, 3.2rem);
    font-weight: 700;
}

h2 {
    margin-bottom: 24px;
    font-size: clamp(2.05rem, 4.7vw, 4rem);
}

h3 {
    margin-bottom: 14px;
    font-size: clamp(1.45rem, 3vw, 2rem);
}

p {
    color: var(--color-muted);
    overflow-wrap: anywhere;
}

.container {
    width: min(100% - 40px, var(--container));
    margin-inline: auto;
}

.section {
    padding: 108px 0;
    scroll-margin-top: 110px;
}

.section-soft {
    background: var(--color-soft);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid var(--color-border);
    backdrop-filter: blur(18px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 82px;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
}

.brand-mark {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 50%;
    background: var(--color-text);
    color: #ffffff;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
}

.brand-text {
    font-size: 1.05rem;
}

.brand-logo {
    display: block;
    width: auto;
    height: 54px;
    max-width: 180px;
    object-fit: contain;
}

.home-header .header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
}

.home-header .brand {
    grid-column: 2;
    justify-self: center;
}

.home-header .main-nav {
    grid-column: 3;
    justify-self: end;
}

.home-header .brand-logo {
    height: 117px;
    max-width: 390px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    color: var(--color-muted);
    font-size: 0.95rem;
}

.main-nav a:hover {
    color: var(--color-text);
}

.main-nav a {
    padding: 10px 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 0 28px;
    border: 0;
    border-radius: 999px;
    background: var(--color-accent);
    color: #ffffff;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    touch-action: manipulation;
    box-shadow: 0 14px 34px rgba(255, 131, 41, 0.26);
    transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.btn:hover {
    background: #f2761c;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 18px 42px rgba(255, 131, 41, 0.32);
}

.btn-small {
    min-height: 46px;
    padding-inline: 22px;
    font-size: 0.95rem;
}

.btn-secondary {
    background: var(--color-accent-soft);
    color: var(--color-text);
    box-shadow: none;
}

.btn-secondary:hover {
    background: #ffd7b9;
    color: var(--color-text);
    box-shadow: none;
}

.home-header .btn,
.home-page .btn,
.home-mobile-booking {
    min-height: 50px;
    padding-inline: 22px;
    font-size: 0.9em;
    width: fit-content;
}

.home-header .btn-small {
    min-height: 42px;
    padding-inline: 18px;
}

.hero {
    padding-top: 96px;
    background:
        radial-gradient(circle at 88% 12%, rgba(255, 131, 41, 0.14), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #faf7f5 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
    align-items: center;
    gap: 64px;
}

.eyebrow {
    margin-bottom: 18px;
    color: var(--color-accent);
    font-size: 0.80rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-text {
    max-width: 620px;
    margin-bottom: 36px;
    font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-card,
.service-card,
.step-card,
.contact-form {
    border: 1px solid var(--color-border);
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.hero-card {
    min-height: 440px;
    padding: 40px;
    border-radius: var(--radius-large);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.7), #ffffff),
        var(--color-accent-soft);
}

.card-label {
    margin-bottom: 14px;
    color: var(--color-muted);
    font-weight: 700;
}

.hero-card h2 {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
}

.hero-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 64px;
    padding-top: 24px;
    border-top: 1px solid rgba(45, 41, 38, 0.12);
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 64px;
}

.text-block p {
    font-size: 1.1rem;
}

.text-block p:last-child,
.contact-list span:last-child,
.contact-list a:last-child {
    margin-bottom: 0;
}

.section-heading {
    max-width: 720px;
    margin: 0 auto 54px;
    text-align: center;
}

.section-heading-left {
    margin-inline: 0;
    text-align: left;
}

.card-grid,
.steps-grid,
.contact-grid {
    display: grid;
    gap: 24px;
}

.card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-card {
    display: flex;
    min-height: 360px;
    flex-direction: column;
    justify-content: space-between;
    padding: 34px;
    border-radius: var(--radius-large);
}

.service-card-accent {
    background: #ead8c4;
    color: var(--color-text);
}

.service-card-accent p {
    color: var(--color-muted);
}

.service-card-accent .pill {
    background: rgba(255, 255, 255, 0.48);
    color: var(--color-text);
}

.pill {
    display: inline-flex;
    margin-bottom: 24px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--color-soft);
    color: var(--color-muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.steps-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.step-card {
    padding: 28px;
    border-radius: var(--radius-medium);
}

.step-card span {
    display: inline-block;
    margin-bottom: 34px;
    color: var(--color-accent);
    font-weight: 800;
}

.section-contact {
    background: var(--color-text);
    color: #ffffff;
}

.section-contact p,
.section-contact a,
.section-contact .contact-list {
    color: rgba(255, 255, 255, 0.76);
}

.contact-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
    align-items: start;
    gap: 70px;
}

.contact-intro {
    max-width: 460px;
    font-size: 1.12rem;
}

.contact-list {
    display: grid;
    gap: 8px;
    margin-top: 34px;
    font-style: normal;
}

.contact-list span,
.contact-list a {
    display: block;
}

.contact-list a:hover {
    color: #ffffff;
}

.contact-list a {
    padding: 6px 0;
}

.contact-form {
    display: grid;
    gap: 18px;
    padding: 34px;
    border-radius: var(--radius-large);
}

.contact-form label {
    display: grid;
    gap: 8px;
    color: var(--color-text);
    font-weight: 700;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    padding: 16px 18px;
    color: var(--color-text);
    font: inherit;
    resize: vertical;
}

.site-footer {
    padding: 34px 0;
    border-top: 1px solid var(--color-border);
    background: #ffffff;
    color: var(--color-muted);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-inner div {
    display: flex;
    gap: 20px;
}

.footer-inner a:hover {
    color: var(--color-text);
}

.mobile-booking-bar {
    display: none;
}

.legal-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 88% 12%, rgba(255, 131, 41, 0.12), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #faf7f5 100%);
}

.legal-container {
    max-width: 900px;
}

.legal-card {
    display: grid;
    gap: 24px;
    padding: 38px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-large);
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.legal-card h2 {
    margin-bottom: -10px;
    font-size: clamp(1.35rem, 3vw, 2rem);
}

.legal-card p {
    margin-bottom: 0;
}

.legal-card a {
    color: var(--color-accent);
    font-weight: 800;
}

.legal-card a:hover {
    color: var(--color-text);
}

.error-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 88% 12%, rgba(255, 131, 41, 0.12), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #faf7f5 100%);
}

.error-container {
    max-width: 860px;
}

.error-card {
    padding: 38px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-large);
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.error-card h1 {
    margin-bottom: 20px;
}

.error-actions {
    margin-top: 28px;
}

.error-reference {
    margin-top: 24px;
    margin-bottom: 0;
    font-size: 0.9rem;
}

.manage-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 88% 12%, rgba(255, 131, 41, 0.12), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #faf7f5 100%);
}

.manage-container {
    max-width: 860px;
}

.manage-details-list {
    margin: 28px 0;
}

.manage-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
}

.manage-actions-single {
    grid-template-columns: minmax(0, 1fr);
}

.manage-info-note {
    margin-top: 28px;
    padding: 18px 20px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-medium);
    background: var(--color-soft);
    color: var(--color-muted);
    font-size: 0.9rem;
}

.manage-info-note p {
    margin: 0;
}

.manage-info-note p + p {
    margin-top: 10px;
}

.manage-warning-note {
    margin-top: 28px;
    padding: 20px 22px;
    border: 2px solid #f0a24b;
    border-left-width: 6px;
    border-radius: var(--radius-medium);
    background: #fff4e8;
    color: #8a3d00;
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.5;
}

.treatment-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 88% 12%, rgba(255, 131, 41, 0.14), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #faf7f5 100%);
}

.treatment-heading {
    margin-bottom: 44px;
}

.treatment-heading h1 {
    margin-inline: auto;
}

.treatment-card-grid {
    align-items: stretch;
}

.treatment-card {
    text-align: center;
}

.treatment-card .pill {
    margin-inline: auto;
}

.treatment-card h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

.treatment-meta {
    display: grid;
    gap: 8px;
    margin: 0 0 20px;
    justify-items: center;
}

.treatment-meta span,
.treatment-meta em {
    width: fit-content;
    border-radius: 999px;
    font-weight: 800;
}

.treatment-meta span {
    color: var(--color-muted);
}

.treatment-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.treatment-price del {
    color: var(--color-muted);
    font-size: clamp(1.15rem, 2.4vw, 1.5rem);
    font-weight: 800;
    line-height: 1;
    text-decoration-thickness: 2px;
}

.treatment-price strong {
    color: var(--color-text);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
}

.treatment-price strong.treatment-price-discount {
    color: #c62828;
}

.treatment-meta em {
    padding: 8px 12px;
    background: var(--color-accent-soft);
    color: var(--color-text);
    font-size: 0.82rem;
    font-style: normal;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.service-card-accent .treatment-meta span,
.service-card-accent .treatment-price strong {
    color: var(--color-text);
}

.service-card-accent .treatment-price strong.treatment-price-discount {
    color: #c62828;
}

.service-card-accent .treatment-price del {
    color: var(--color-muted);
}

.service-card-accent .treatment-meta em {
    background: rgba(255, 255, 255, 0.48);
    color: var(--color-text);
}

.booking-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 88% 12%, rgba(255, 131, 41, 0.14), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #faf7f5 100%);
}

.booking-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(360px, 1.22fr);
    gap: 44px;
    align-items: start;
}

.booking-summary,
.booking-panel {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-large);
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.booking-summary {
    position: sticky;
    top: 32px;
    padding: 34px;
}

.booking-panel {
    padding: 34px;
}

.booking-panel h1 {
    font-size: clamp(2.2rem, 5vw, 4rem);
}

.booking-panel h2 {
    margin-top: 28px;
    font-size: clamp(1.65rem, 3vw, 2.3rem);
}

.booking-facts {
    display: grid;
    gap: 10px;
    margin-top: 26px;
}

.booking-facts span {
    display: inline-flex;
    width: fit-content;
    padding: 9px 14px;
    border-radius: 999px;
    background: var(--color-soft);
    color: var(--color-muted);
    font-weight: 700;
}

.booking-date-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.calendar-header div {
    display: grid;
    gap: 2px;
    text-align: center;
}

.calendar-header span {
    color: var(--color-muted);
    font-size: 0.9rem;
    font-weight: 700;
}

.calendar-header strong {
    color: var(--color-text);
    font-size: clamp(1.35rem, 3vw, 1.9rem);
    line-height: 1.1;
}

.calendar-nav-button {
    display: grid;
    width: 50px;
    height: 50px;
    place-items: center;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    background: #ffffff;
    color: var(--color-text);
    cursor: pointer;
    font: inherit;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.calendar-nav-button:disabled {
    cursor: not-allowed;
    opacity: 0.35;
}

.booking-calendar {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 30px;
}

.calendar-weekday {
    padding: 0 0 6px;
    color: var(--color-muted);
    font-size: 0.78rem;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
}

.calendar-day {
    display: grid;
    min-height: 76px;
    align-content: center;
    justify-items: center;
    gap: 4px;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    background: #ffffff;
    color: var(--color-text);
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    text-align: center;
}

.calendar-day small {
    color: var(--color-muted);
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.1;
}

.calendar-day:hover:not(:disabled),
.calendar-day-selected {
    border-color: var(--color-accent);
    background: var(--color-accent);
    color: #ffffff;
}

.calendar-day:hover:not(:disabled) small,
.calendar-day-selected small {
    color: rgba(255, 255, 255, 0.86);
}

.calendar-day-disabled {
    cursor: not-allowed;
    background: var(--color-soft);
    color: rgba(45, 41, 38, 0.35);
}

.calendar-day-muted {
    visibility: hidden;
}

.booking-date-row label,
.booking-form label {
    display: grid;
    gap: 8px;
    width: 100%;
    color: var(--color-text);
    font-weight: 700;
}

.booking-date-input,
.booking-form input,
.booking-form textarea {
    width: 100%;
    min-height: 54px;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    padding: 14px 16px;
    color: var(--color-text);
    background: #ffffff;
    font: inherit;
}

.slot-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.slot-button {
    min-height: 54px;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    background: #ffffff;
    color: var(--color-text);
    cursor: pointer;
    font: inherit;
    font-weight: 800;
}

.slot-button:hover,
.slot-button-selected {
    border-color: var(--color-accent);
    background: var(--color-accent);
    color: #ffffff;
}

.booking-form {
    display: grid;
    gap: 16px;
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid var(--color-border);
}

.booking-step-actions {
    margin-top: 24px;
    display: flex;
    justify-content: center;
}

.booking-step-actions-search {
    margin-top: 0;
    margin-bottom: 24px;
}

.booking-next-button {
    width: fit-content;
    background: #3f3f46;
    color: #ffffff;
    box-shadow: none;
}

.booking-next-button:hover {
    background: #2f2f35;
    color: #ffffff;
    box-shadow: none;
}

.booking-details-box {
    margin-bottom: 28px;
    padding: 24px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-medium);
    background: var(--color-soft);
}

.booking-details-box h2 {
    margin-top: 0;
}

.booking-details-list {
    display: grid;
    gap: 12px;
    margin: 0;
}

.booking-details-list div {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-border);
}

.booking-details-list div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.booking-details-list dt {
    color: var(--color-muted);
    font-weight: 700;
}

.booking-details-list dd {
    margin: 0;
    color: var(--color-text);
    font-weight: 800;
    text-align: right;
}

.booking-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.booking-form-wide {
    grid-column: 1 / -1;
}

.booking-checkboxes {
    display: grid;
    gap: 12px;
    margin-top: 4px;
}

.booking-checkboxes label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-muted);
    font-weight: 700;
}

.booking-checkboxes input {
    width: 20px;
    height: 20px;
    margin: 0;
    accent-color: var(--color-accent);
    flex: 0 0 auto;
}

.booking-checkboxes label span {
    line-height: 1.35;
}

.booking-form-actions {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 14px;
    margin-top: 8px;
}

.booking-error {
    margin: 18px 0 0;
    padding: 14px 16px;
    border-radius: 16px;
    background: #fff0e8;
    color: #9e3a00;
    font-weight: 700;
}

.booking-success {
    margin: 18px 0 0;
    padding: 14px 16px;
    border-radius: 16px;
    background: #eef7ee;
    color: #1f6f2b;
    font-weight: 700;
}

.booking-confirmation {
    grid-column: 1 / -1;
    max-width: 760px;
    margin-inline: auto;
}

@media (max-width: 1023px) {
    h1 {
        max-width: 680px;
        font-size: clamp(2.65rem, 7.5vw, 4.8rem);
    }

    h2 {
        font-size: clamp(2rem, 5.8vw, 3.25rem);
    }

    .section {
        padding: 84px 0;
        scroll-margin-top: 96px;
    }

    .header-inner {
        min-height: 74px;
        gap: 18px;
    }

    .main-nav {
        gap: 22px;
    }

    .hero {
        padding-top: 74px;
    }

    .hero-grid,
    .split-section,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-card {
        min-height: auto;
    }

    .hero-card-footer {
        margin-top: 42px;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 300px;
    }

    .treatment-card-grid {
        grid-template-columns: 1fr;
    }

    .booking-layout {
        grid-template-columns: 1fr;
    }

    .booking-summary {
        position: static;
    }

    .steps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    html, body {
        font-size: 17px;
        line-height: 1.65;
    }

    h1,
    h2,
    h3 {
        letter-spacing: -0.035em;
        line-height: 1.08;
    }

    h1 {
        margin-bottom: 20px;
        font-size: clamp(2.65rem, 13vw, 4.05rem);
    }

    h2 {
        margin-bottom: 18px;
        font-size: clamp(2rem, 10vw, 3rem);
    }

    h3 {
        font-size: 1.45rem;
    }

    .container {
        width: min(100% - 32px, var(--container));
    }

    .section {
        padding: 68px 0;
        scroll-margin-top: 126px;
    }

    .header-inner {
        min-height: auto;
        flex-wrap: wrap;
        gap: 10px 14px;
        padding: 10px 0 12px;
    }

    .brand-mark {
        width: 44px;
        height: 44px;
        font-size: 0.82rem;
    }

    .brand-text {
        font-size: 1rem;
    }

    .brand-logo {
        height: 46px;
        max-width: 150px;
    }

    .home-header .header-inner {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .home-header .brand,
    .home-header .main-nav {
        grid-column: 1;
        justify-self: center;
    }

    .home-header .brand-logo {
        height: 96px;
        max-width: 330px;
    }

    .header-inner > .btn-small {
        min-height: 44px;
        width: auto;
        padding-inline: 18px;
        font-size: 0.9rem;
    }

    .main-nav {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        gap: 8px;
        overflow-x: auto;
        padding: 8px 0 2px;
        font-size: 0.9rem;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .main-nav::-webkit-scrollbar {
        display: none;
    }

    .main-nav a {
        flex: 0 0 auto;
        min-height: 40px;
        padding: 8px 14px;
        border: 1px solid var(--color-border);
        border-radius: 999px;
        background: #ffffff;
        white-space: nowrap;
    }

    .hero {
        padding-top: 52px;
        padding-bottom: 58px;
    }

    .hero-grid,
    .split-section,
    .contact-grid {
        gap: 34px;
    }

    .hero-text,
    .text-block p,
    .contact-intro {
        font-size: 1.05rem;
    }

    .hero-text {
        margin-bottom: 28px;
    }

    .hero-actions,
    .footer-inner,
    .footer-inner div {
        align-items: stretch;
        flex-direction: column;
    }

    .btn {
        min-height: 58px;
        padding-inline: 22px;
        width: 100%;
        font-size: 1rem;
    }

    .home-header .btn,
    .home-page .btn {
        width: fit-content;
        min-width: 0;
        max-width: 100%;
    }

    .home-page .hero-actions {
        align-items: flex-start;
    }

    .home-mobile-booking {
        width: auto;
    }

    .card-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .service-card,
    .hero-card,
    .contact-form {
        padding: 24px;
        border-radius: 24px;
    }

    .hero-card-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
        margin-top: 34px;
    }

    .section-heading {
        margin-bottom: 36px;
        text-align: left;
    }

    .service-card {
        min-height: auto;
        gap: 28px;
    }

    .pill {
        margin-bottom: 18px;
        font-size: 0.78rem;
        line-height: 1.35;
    }

    .step-card {
        padding: 24px;
    }

    .step-card span {
        margin-bottom: 20px;
    }

    .contact-list {
        gap: 10px;
        margin-top: 24px;
        font-size: 1.02rem;
    }

    .contact-form {
        gap: 16px;
    }

    .contact-form input,
    .contact-form textarea {
        min-height: 54px;
        border-radius: 16px;
        padding: 15px 16px;
        font-size: 1rem;
    }

    .treatment-page {
        min-height: auto;
    }

    .legal-page {
        min-height: auto;
    }

    .manage-page {
        min-height: auto;
    }

    .manage-actions {
        grid-template-columns: 1fr;
    }

    .legal-card {
        padding: 24px;
        border-radius: 24px;
    }

    .treatment-heading {
        margin-bottom: 34px;
        text-align: left;
    }

    .treatment-heading h1 {
        margin-inline: 0;
    }

    .booking-page {
        min-height: auto;
    }

    .booking-layout {
        gap: 24px;
    }

    .booking-summary,
    .booking-panel {
        padding: 24px;
        border-radius: 24px;
    }

    .booking-form-grid,
    .booking-form-actions {
        grid-template-columns: 1fr;
    }

    .booking-details-list div {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .booking-details-list dd {
        text-align: left;
    }

    .booking-date-row {
        align-items: stretch;
        flex-direction: column;
    }

    .calendar-header {
        gap: 12px;
    }

    .calendar-nav-button {
        width: 46px;
        height: 46px;
        flex: 0 0 46px;
    }

    .booking-calendar {
        gap: 6px;
    }

    .calendar-day {
        min-height: 58px;
        border-radius: 14px;
        font-size: 0.92rem;
    }

    .calendar-day small {
        display: none;
    }

    .slot-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 420px) {
    h1 {
        font-size: clamp(2.45rem, 12.4vw, 3.35rem);
    }

    h2 {
        font-size: clamp(1.9rem, 9.4vw, 2.55rem);
    }

    .brand-text {
        display: none;
    }

    .brand-logo {
        height: 42px;
        max-width: 132px;
    }

    .home-header .brand-logo {
        height: 84px;
        max-width: 285px;
    }

    .container {
        width: min(100% - 24px, var(--container));
    }

    .section {
        padding: 58px 0;
    }

    .header-inner > .btn-small {
        padding-inline: 14px;
        font-size: 0.84rem;
    }

    .main-nav a {
        padding-inline: 12px;
    }

    .service-card,
    .hero-card,
    .contact-form,
    .step-card {
        padding: 20px;
    }
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

.link-button {
    display: inline;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    color: var(--color-accent);
    font: inherit;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
}

.link-button:hover {
    color: var(--color-text);
}

.terms-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(45, 41, 38, 0.55);
    backdrop-filter: blur(4px);
}

.terms-modal {
    display: flex;
    flex-direction: column;
    width: min(680px, 100%);
    max-height: 90vh;
    border-radius: var(--radius-medium);
    background: var(--color-background);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.terms-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 28px;
    border-bottom: 1px solid var(--color-border);
}

.terms-modal-header h2 {
    margin: 0;
    font-size: 1.4rem;
}

.terms-modal-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: var(--color-soft);
    color: var(--color-text);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.terms-modal-close:hover {
    background: var(--color-accent-soft);
}

.terms-modal-body {
    padding: 24px 28px;
    overflow-y: auto;
}

.terms-modal-body section + section {
    margin-top: 20px;
}

.terms-modal-body h3 {
    margin: 0 0 8px;
    color: var(--color-accent);
    font-size: 1.05rem;
}

.terms-modal-body p {
    margin: 0 0 8px;
    color: var(--color-muted);
}

.terms-modal-body ul {
    margin: 0;
    padding-left: 20px;
    color: var(--color-muted);
}

.terms-modal-body li {
    margin-bottom: 6px;
}

.terms-modal-body a {
    color: var(--color-accent);
    font-weight: 700;
}

.terms-modal-footer {
    display: flex;
    justify-content: flex-end;
    padding: 20px 28px;
    border-top: 1px solid var(--color-border);
}