/* Fonts are served from this site (Golos Text and Spectral, SIL Open Font License,
   see static/fonts/OFL-*.txt) instead of Google Fonts: no extra connections before the
   first paint, and visitors' addresses are not sent to a third party. A browser only
   downloads the subsets the page actually uses (Cyrillic, Latin, and Latin Extended
   for characters such as the Ł in ZŁ). */
@font-face {
    font-family: "Golos Text";
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url("../fonts/golos-text-cyrillic.7a1c2f61152d.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: "Golos Text";
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url("../fonts/golos-text-latin-ext.683b70056700.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Golos Text";
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url("../fonts/golos-text-latin.c2ad69ffe363.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Spectral";
    font-style: italic;
    font-weight: 300;
    font-display: swap;
    src: url("../fonts/spectral-300-italic-cyrillic.20c22ca99fe8.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: "Spectral";
    font-style: italic;
    font-weight: 300;
    font-display: swap;
    src: url("../fonts/spectral-300-italic-latin-ext.5c20dd95a43d.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Spectral";
    font-style: italic;
    font-weight: 300;
    font-display: swap;
    src: url("../fonts/spectral-300-italic-latin.167a149b8d12.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Spectral";
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url("../fonts/spectral-300-cyrillic.fc1ca4ea75ed.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: "Spectral";
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url("../fonts/spectral-300-latin-ext.ee46caddd43e.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Spectral";
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url("../fonts/spectral-300-latin.13eb86f7620c.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Spectral";
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/spectral-400-italic-cyrillic.ba9de1aabb23.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: "Spectral";
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/spectral-400-italic-latin-ext.a93b78e53cfc.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Spectral";
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/spectral-400-italic-latin.ae983716cc52.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Spectral";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/spectral-400-cyrillic.a88b7a0c0de0.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: "Spectral";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/spectral-400-latin-ext.8d5496049f12.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Spectral";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/spectral-400-latin.6ec1900716de.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Spectral";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/spectral-500-cyrillic.4c348120c24f.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: "Spectral";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/spectral-500-latin-ext.3ad85686c31f.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Spectral";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/spectral-500-latin.d4f6bee97c64.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    font-family: "Golos Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

/* Focus ring colour: the lamp on the dark page, ink on the light booking section. */
:root {
    --focus-ring: #f2b482;
}

[hidden] {
    display: none !important;
}

p {
    max-width: 68ch;
    overflow-wrap: anywhere;
}

a,
li {
    overflow-wrap: anywhere;
}

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

input:not([type="range"]):not([type="radio"]):not([type="checkbox"]),
textarea,
select {
    width: 100%;
    min-height: 44px;
    border: 1px solid #a99d8f;
    border-radius: 0.875rem;
    padding: 0.75rem 0.875rem;
    color: #1b2130;
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.4;
    background-color: #fbf8f3;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea {
    min-height: 120px;
}

button {
    min-height: 44px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
    outline: 3px solid var(--focus-ring);
    outline-offset: 2px;
}

[tabindex="-1"]:focus {
    outline: none;
}

input:not([type="range"]):not([type="radio"]):not([type="checkbox"]):focus,
textarea:focus,
select:focus {
    border-color: #1b2130;
    box-shadow: 0 0 0 3px rgba(27, 33, 48, 0.14);
}

section {
    scroll-margin-top: 88px;
}

/* Hero: a soft lamp glow behind the portrait */
.hero-glow::before {
    content: "";
    position: absolute;
    top: -20%;
    right: -10%;
    width: 70%;
    height: 120%;
    background: radial-gradient(closest-side, rgba(242, 180, 130, 0.18), rgba(242, 180, 130, 0));
    pointer-events: none;
}

/* Photos in an arch, like the gateways of Kraków's old courtyards */
.arch-frame {
    position: relative;
    aspect-ratio: 4 / 5.2;
    overflow: hidden;
    border-radius: 999px 999px 24px 24px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.35);
}

/* The hero portrait from lg up: it starts level with the text and is never taller
   than the screen below the sticky header, so a laptop shows it whole. The width
   follows from the height through the arch's 4 / 5.2 ratio. 11.5rem covers the
   header (69px), the hero's top padding (80px) and a gap below the photo. */
@media (min-width: 1024px) {
    .hero-portrait {
        max-width: clamp(280px, calc((100vh - 11.5rem) * 4 / 5.2), 460px);
        max-width: clamp(280px, calc((100svh - 11.5rem) * 4 / 5.2), 460px);
    }
}

.arch-frame--down {
    aspect-ratio: 3 / 4;
    border-radius: 24px 24px 999px 999px;
    box-shadow: none;
}

/* About: long personal text, the first paragraph set larger */
.about-story p,
.muted-copy p,
.fold__body p {
    margin: 0;
}

.about-story p + p,
.muted-copy p + p,
.fold__body p + p {
    margin-top: 1.1rem;
}

.about-story p {
    color: #b9b3ab;
    font-size: 1.0625rem;
    line-height: 1.75;
}

.about-story p:first-child {
    color: #f3ece2;
    font-size: 1.25rem;
    line-height: 1.7;
}

.muted-copy p {
    color: #b9b3ab;
    line-height: 1.75;
}

/* Long texts clipped on phones and tablets until "Показать больше"; desktop and no-JS always show them in full. */
.collapsible-toggle {
    display: inline-flex;
    align-items: center;
    margin-top: 1rem;
    padding: 0.5rem 1.25rem;
    border: 1px solid #3a465e;
    border-radius: 999px;
    background: transparent;
    color: #f2b482;
    font: 500 0.9375rem/1.2 "Golos Text", sans-serif;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.collapsible-toggle:hover {
    border-color: #f2b482;
}

@media (max-width: 1023px) {
    .js .collapsible[data-expanded="false"] {
        position: relative;
        max-height: var(--collapsed-height, 12rem);
        overflow: hidden;
    }

    .js .collapsible[data-expanded="false"]::after {
        content: "";
        position: absolute;
        right: 0;
        bottom: 0;
        left: 0;
        height: 3.5rem;
        background: linear-gradient(to bottom, rgba(27, 33, 48, 0), rgba(27, 33, 48, 0.92) 60%, #1b2130);
        pointer-events: none;
    }
}

/* Open/close blocks built on <details> */
.fold {
    border-top: 1px solid #3a465e;
    padding-block: 1.375rem;
}

.fold:last-child {
    border-bottom: 1px solid #3a465e;
}

.fold summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 44px;
    list-style: none;
    cursor: pointer;
    font-family: "Spectral", Georgia, serif;
    font-size: 1.625rem;
    line-height: 1.25;
}

.fold summary::-webkit-details-marker {
    display: none;
}

.fold summary::after {
    content: "+";
    flex: none;
    color: #f2b482;
    font-family: "Golos Text", sans-serif;
    font-size: 1.5rem;
    transition: transform 0.2s ease;
}

.fold[open] summary::after {
    transform: rotate(45deg);
}

.fold__body {
    margin-top: 0.875rem;
    color: #b9b3ab;
    line-height: 1.75;
}

.fold--compact summary {
    font-size: 1.375rem;
}

/* Lists: a glowing lamp dot, a dash, a line check */
.lamp-list {
    display: grid;
    column-gap: 2.5rem;
    padding: 0;
    list-style: none;
}

.lamp-list li {
    position: relative;
    padding: 1.125rem 0 1.125rem 1.625rem;
    border-bottom: 1px solid #3a465e;
    font-size: 1.125rem;
    line-height: 1.45;
}

.lamp-list li::before {
    content: "";
    position: absolute;
    top: 1.6rem;
    left: 0;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #f2b482;
    box-shadow: 0 0 14px rgba(242, 180, 130, 0.7);
}

.dash-list {
    display: grid;
    gap: 0.875rem;
    padding: 0;
    list-style: none;
}

.dash-list li {
    position: relative;
    padding-left: 1.75rem;
    line-height: 1.55;
}

.dash-list li::before {
    content: "";
    position: absolute;
    top: 0.8em;
    left: 0;
    width: 0.875rem;
    height: 1px;
    background: currentColor;
}

.check-list {
    display: grid;
    gap: 0.875rem 2.5rem;
    padding: 0;
    list-style: none;
}

.check-list li {
    display: flex;
    gap: 0.875rem;
    align-items: flex-start;
    line-height: 1.6;
}

.check-list svg {
    flex: none;
    width: 22px;
    height: 22px;
    margin-top: 2px;
    color: #f2b482;
}

/* Services */
.service-card {
    display: flex;
    flex-direction: column;
    gap: 1.125rem;
    height: 100%;
    padding: 2.25rem 2rem;
    border: 1px solid #3a465e;
    border-radius: 28px;
    background: #1b2130;
}

.service-card--featured {
    border-color: #f2b482;
    background: #232b3c;
}

.service-card__price {
    margin: 0;
    font-family: "Spectral", Georgia, serif;
    font-weight: 300;
    font-size: 3.25rem;
    line-height: 1.05;
    overflow-wrap: normal;
}

.service-card__price span {
    display: block;
    margin-top: 0.5rem;
    color: #b9b3ab;
    font-family: "Golos Text", sans-serif;
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 1.4;
}

/* Therapy steps on one line with lamp dots */
.step-line {
    display: grid;
    gap: 2rem;
    padding: 0;
    list-style: none;
}

.step-line li {
    position: relative;
    padding-top: 2.75rem;
    border-top: 1px solid #3a465e;
}

.step-line li::before {
    content: "";
    position: absolute;
    top: -5px;
    left: 0;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #f2b482;
}

.step-line__number {
    position: absolute;
    top: 0.75rem;
    left: 0;
    color: #f2b482;
    font-size: 0.8125rem;
    letter-spacing: 0.14em;
}

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

@media (min-width: 1024px) {
    .step-line {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* EMDR: a light that glides left and right */
.bilateral {
    padding: 1.75rem;
    border: 1px solid #3a465e;
    border-radius: 24px;
}

.bilateral__track {
    position: relative;
    height: 28px;
}

.bilateral__track::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    height: 1px;
    background: #3a465e;
}

.bilateral__dot {
    position: absolute;
    top: 50%;
    left: 0;
    width: 16px;
    height: 16px;
    margin-top: -8px;
    border-radius: 50%;
    background: #f2b482;
    box-shadow: 0 0 22px 6px rgba(242, 180, 130, 0.55);
    animation: bilateral-glide 2.6s ease-in-out infinite alternate;
}

.bilateral__caption {
    margin: 1rem 0 0;
    color: #b9b3ab;
    font-size: 0.875rem;
}

@keyframes bilateral-glide {
    to {
        left: calc(100% - 16px);
    }
}

/* Booking: light "dawn" section with a three-step form */
.booking-section {
    --focus-ring: #1b2130;
}

.booking-progress {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.75rem;
}

.booking-progress span {
    flex: 1;
    height: 5px;
    border-radius: 999px;
    background: rgba(27, 33, 48, 0.14);
    transition: background-color 0.2s ease;
}

.booking-progress span.is-done {
    background: #1b2130;
}

.booking-step {
    display: grid;
    gap: 1.25rem;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.booking-step + .booking-step {
    margin-top: 2.25rem;
}

/* One step at a time once home.js takes over, so no gap is left above it. */
.js .booking-step + .booking-step {
    margin-top: 0;
}

.booking-step__title {
    margin-bottom: 1rem;
    padding: 0;
    font-family: "Spectral", Georgia, serif;
    font-size: 1.5rem;
    line-height: 1.3;
}

.booking-options {
    display: grid;
    gap: 0.625rem;
}

@media (min-width: 640px) {
    .booking-options {
        grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr));
    }
}

.booking-option {
    position: relative;
    display: block;
    cursor: pointer;
}

.booking-option input {
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.booking-option__card {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    height: 100%;
    padding: 1.125rem 1.25rem;
    border: 2px solid #d5cabd;
    border-radius: 20px;
    background: #fbf8f3;
    transition: border-color 0.2s ease;
}

.booking-option:hover .booking-option__card {
    border-color: #a99d8f;
}

.booking-option input:checked + .booking-option__card {
    border-color: #1b2130;
    box-shadow: inset 0 0 0 1px #1b2130;
}

.booking-option input:focus-visible + .booking-option__card {
    outline: 3px solid var(--focus-ring);
    outline-offset: 2px;
}

.booking-option__title {
    font-weight: 600;
    line-height: 1.3;
}

.booking-option__price {
    color: #57524c;
    font-size: 0.9375rem;
}

.booking-step__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    margin-top: 0.5rem;
}

.booking-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 1.75rem;
    border: 1px solid #1b2130;
    border-radius: 999px;
    background: #1b2130;
    color: #f3ece2;
    font: 500 1rem/1 "Golos Text", sans-serif;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.booking-button:hover {
    background: #2e384d;
}

.booking-button--ghost {
    background: transparent;
    color: #1b2130;
}

.booking-button--ghost:hover {
    background: rgba(27, 33, 48, 0.08);
}

.booking-aside {
    --focus-ring: #f2b482;
    display: grid;
    gap: 1.125rem;
    padding: 1.25rem 1.25rem 1.75rem;
    border-radius: 28px;
    background: #1b2130;
    color: #f3ece2;
}

.booking-aside__photo {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 20px;
}

.booking-aside > :not(.booking-aside__photo) {
    margin-inline: 0.5rem;
}

.booking-aside__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: 52px;
    padding: 0.75rem 1.125rem;
    border: 1px solid #3a465e;
    border-radius: 16px;
    text-decoration: none;
    transition: border-color 0.2s ease;
}

.booking-aside__link:hover {
    border-color: #f2b482;
}

/* Fixed booking bar on phones and tablets */
.mobile-cta {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 40;
    display: flex;
    gap: 0.625rem;
    padding: 0.75rem max(1rem, env(safe-area-inset-right)) calc(0.75rem + env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
    border-top: 1px solid #3a465e;
    background: rgba(27, 33, 48, 0.94);
    backdrop-filter: blur(10px);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-cta.is-hidden {
    transform: translateY(110%);
    opacity: 0;
    pointer-events: none;
}

.mobile-cta__book,
.mobile-cta__telegram {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 999px;
    text-decoration: none;
}

.mobile-cta__book {
    flex: 1;
    background: #f2b482;
    color: #1b2130;
    font-weight: 500;
}

.mobile-cta__telegram {
    flex: 0 0 52px;
    border: 1px solid #3a465e;
    color: #f3ece2;
}

.mobile-cta__telegram svg {
    width: 22px;
    height: 22px;
}

@media (min-width: 1024px) {
    .mobile-cta {
        display: none;
    }
}

/* Toasts */
.site-toast-stack {
    position: fixed;
    right: clamp(1rem, 4vw, 2rem);
    bottom: max(1rem, env(safe-area-inset-bottom));
    z-index: 80;
    display: grid;
    width: min(32rem, calc(100vw - 2rem));
    gap: 0.75rem;
    pointer-events: none;
}

.site-toast {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.875rem;
    align-items: start;
    border: 1px solid #e2d8cb;
    border-left-width: 5px;
    border-radius: 1rem;
    background: rgba(250, 246, 240, 0.98);
    padding: 1rem;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.3);
    pointer-events: auto;
    animation: site-toast-in 0.22s ease-out;
    --focus-ring: #1b2130;
}

.site-toast[data-toast-hiding="true"] {
    animation: site-toast-out 0.18s ease-in forwards;
}

.site-toast--success {
    border-color: #ecd3bd;
    border-left-color: #e7a266;
}

.site-toast--error {
    border-color: #f0b8b3;
    border-left-color: #b42318;
}

.site-toast--warning {
    border-color: #f1d29d;
    border-left-color: #a15c12;
}

.site-toast__indicator {
    display: inline-flex;
    width: 2.25rem;
    height: 2.25rem;
    flex: none;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
}

.site-toast__indicator svg {
    width: 1.2rem;
    height: 1.2rem;
}

.site-toast--success .site-toast__indicator {
    background: #fbe7d6;
    color: #86491b;
}

.site-toast--error .site-toast__indicator {
    background: #fde8e6;
    color: #b42318;
}

.site-toast--warning .site-toast__indicator {
    background: #fff4da;
    color: #a15c12;
}

.site-toast__message {
    margin: 0;
    max-width: none;
    color: #1b2130;
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.45;
}

.site-toast__close {
    display: inline-flex;
    width: 2.75rem;
    min-height: 2.75rem;
    flex: none;
    align-items: center;
    justify-content: center;
    margin: -0.375rem -0.375rem -0.375rem 0;
    border: 0;
    border-radius: 9999px;
    background: transparent;
    color: #57524c;
    padding: 0;
}

.site-toast__close:hover,
.site-toast__close:focus-visible {
    background: rgba(27, 33, 48, 0.08);
    color: #1b2130;
}

.site-toast__close svg {
    width: 1rem;
    height: 1rem;
}

@keyframes site-toast-in {
    from {
        opacity: 0;
        transform: translateY(0.75rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes site-toast-out {
    to {
        opacity: 0;
        transform: translateY(0.5rem);
    }
}

iframe {
    max-width: 100%;
}

.errorlist {
    margin-top: 0.5rem;
    color: #b42318;
    font-size: 0.9375rem;
    list-style: none;
    padding: 0;
}

.js .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Content pages: the Markdown body of a service page or an article. */
.page-prose {
    color: #e2dbd1;
    font-size: 1.0625rem;
    line-height: 1.8;
}

.page-prose > * {
    margin: 0;
}

.page-prose > * + * {
    margin-top: 1.1rem;
}

.page-prose h2,
.page-prose h3 {
    color: #f3ece2;
    font-family: "Spectral", Georgia, serif;
    font-weight: 400;
}

.page-prose h2 {
    margin-top: 2.75rem;
    font-size: 1.875rem;
    line-height: 1.2;
}

.page-prose h3 {
    margin-top: 2rem;
    font-size: 1.4375rem;
    line-height: 1.3;
}

.page-prose h2 + *,
.page-prose h3 + * {
    margin-top: 0.875rem;
}

.page-prose ul,
.page-prose ol {
    display: grid;
    gap: 0.6rem;
    padding: 0;
    list-style: none;
}

.page-prose ul > li {
    position: relative;
    padding-left: 1.5rem;
}

.page-prose ul > li::before {
    content: "";
    position: absolute;
    top: 0.75em;
    left: 0.125rem;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #f2b482;
}

.page-prose ol {
    counter-reset: prose-list;
}

.page-prose ol > li {
    position: relative;
    padding-left: 2rem;
    counter-increment: prose-list;
}

.page-prose ol > li::before {
    content: counter(prose-list) ".";
    position: absolute;
    left: 0;
    color: #f2b482;
    font-family: "Spectral", Georgia, serif;
}

.page-prose a {
    color: #f3ece2;
    text-decoration: underline;
    text-decoration-color: #f2b482;
    text-underline-offset: 0.2em;
    transition: color 0.2s ease;
}

.page-prose a:hover {
    color: #f2b482;
}

.page-prose strong {
    color: #f3ece2;
    font-weight: 600;
}

.page-prose blockquote {
    padding-left: 1.25rem;
    border-left: 2px solid #f2b482;
    color: #f3ece2;
    font-family: "Spectral", Georgia, serif;
    font-size: 1.3125rem;
    font-style: italic;
    line-height: 1.5;
}

.page-prose hr {
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
    border: 0;
    border-top: 1px solid #3a465e;
}

.page-draft-note {
    max-width: none;
    margin: 0 0 1.5rem;
    padding: 0.875rem 1.125rem;
    border: 1px dashed #f2b482;
    border-radius: 14px;
    color: #f3ece2;
    font-size: 0.9375rem;
    line-height: 1.5;
}

/* Cards linking to service pages, on the homepage and under each page. */
.topic-card {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    height: 100%;
    padding: 2rem 1.75rem;
    border: 1px solid #3a465e;
    border-radius: 28px;
    background: #1b2130;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.topic-card:hover {
    border-color: #f2b482;
    background: #232b3c;
}

.topic-card__more {
    margin-top: auto;
    color: #f2b482;
    font-size: 0.9375rem;
    font-weight: 500;
}

/* Footer: links to pages, contact details and profiles elsewhere. */
.footer-label {
    margin: 0;
    color: #b9b3ab;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer-links {
    display: grid;
    padding: 0;
    list-style: none;
}

.footer-links a,
.footer-address {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}

.footer-links a {
    color: #f3ece2;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #f2b482;
}

.footer-address {
    color: #b9b3ab;
}

/* Date and time picker */
.booking-datetime-shell {
    position: relative;
    width: 100%;
}

.booking-datetime-display {
    display: block;
    width: 100%;
    padding-right: 3.75rem;
    padding-left: 1rem;
    cursor: pointer;
}

.booking-datetime-display[readonly] {
    color: #1b2130;
}

.booking-datetime-display:focus-visible {
    outline: none;
    outline-offset: 0;
    border-color: #1b2130;
    box-shadow: 0 0 0 3px rgba(27, 33, 48, 0.14);
}

.booking-datetime-display::placeholder {
    color: #6c655d;
}

.booking-datetime-trigger {
    position: absolute;
    top: 50%;
    right: 0.625rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    min-height: 2.5rem;
    padding: 0;
    border: 0;
    border-radius: 0.75rem;
    background: rgba(27, 33, 48, 0.08);
    color: #1b2130;
    line-height: 0;
    transform: translateY(-50%);
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.booking-datetime-trigger:hover,
.booking-datetime-trigger:focus-visible {
    background: rgba(27, 33, 48, 0.14);
}

.booking-datetime-trigger svg {
    display: block;
    width: 1.25rem;
    height: 1.25rem;
}

.booking-datetime-panel {
    margin-top: 0.75rem;
    width: 100%;
    max-width: 28rem;
    border: 1px solid #ddd2c4;
    border-radius: 1rem;
    background: #fff;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(27, 33, 48, 0.1);
}

.booking-calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.booking-calendar-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    min-height: 0;
    border: 0;
    border-radius: 9999px;
    background: transparent;
    color: #1b2130;
    padding: 0;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.booking-calendar-nav:hover:not(:disabled) {
    background: rgba(27, 33, 48, 0.08);
}

.booking-calendar-nav:disabled {
    color: #d3ccc0;
    cursor: default;
}

.booking-calendar-nav svg {
    width: 1.125rem;
    height: 1.125rem;
}

.booking-calendar-label {
    font-family: "Spectral", Georgia, serif;
    font-weight: 500;
    font-size: 1.125rem;
    color: #1b2130;
    text-transform: capitalize;
    margin: 0;
}

.booking-calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.25rem;
    margin-bottom: 0.375rem;
}

.booking-calendar-weekdays span {
    display: block;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6c655d;
}

.booking-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.25rem;
}

.booking-calendar-day {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    aspect-ratio: 1 / 1;
    min-height: 0;
    border: 0;
    border-radius: 9999px;
    background: transparent;
    color: #1b2130;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.booking-calendar-day--empty {
    visibility: hidden;
}

.booking-calendar-day:hover:not(:disabled):not([data-selected="true"]) {
    background: rgba(27, 33, 48, 0.08);
}

.booking-calendar-day:disabled {
    color: #d3ccc0;
    cursor: default;
}

.booking-calendar-day:focus-visible,
.booking-slot:focus-visible {
    outline: 3px solid #1b2130;
    outline-offset: 1px;
}

.booking-calendar-day[data-selected="true"] {
    background: #1b2130;
    color: #f3ece2;
    font-weight: 600;
}

.booking-calendar-day[data-today="true"]::after {
    content: "";
    position: absolute;
    bottom: 0.2rem;
    left: 50%;
    width: 0.25rem;
    height: 0.25rem;
    border-radius: 9999px;
    background: currentColor;
    transform: translateX(-50%);
}

.booking-slots {
    margin-top: 1.25rem;
    border-top: 1px solid #e5dccf;
    padding-top: 1rem;
}

.booking-slots-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1b2130;
    margin: 0 0 0.625rem;
}

.booking-slots-empty {
    font-size: 0.875rem;
    color: #6c655d;
    margin: 0;
}

.booking-slot-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    max-height: 14rem;
    overflow-y: auto;
    padding-right: 0.25rem;
}

.booking-slot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    border: 1px solid #e5dccf;
    border-radius: 0.625rem;
    background: #fff;
    color: #1b2130;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.5rem;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.booking-slot:hover {
    border-color: #1b2130;
}

.booking-slot[data-selected="true"] {
    background: #1b2130;
    border-color: #1b2130;
    color: #f3ece2;
}

.booking-datetime-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.875rem;
}

.booking-picker-action {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5dccf;
    border-radius: 999px;
    background: #fff;
    padding: 0.625rem 1rem;
    color: #1b2130;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 500;
}

textarea#id_notes {
    min-height: 8.75rem;
    height: 8.75rem;
    resize: vertical;
}

@media (max-width: 1023px) {
    /* Keep toasts above the fixed booking bar. */
    .site-toast-stack {
        right: 1rem;
        bottom: calc(5.5rem + env(safe-area-inset-bottom));
    }
}

@media (max-width: 767px) {
    .site-toast {
        grid-template-columns: auto minmax(0, 1fr) auto;
        padding: 0.875rem;
    }

    .booking-datetime-display {
        padding-right: 3.5rem;
    }

    .booking-datetime-panel {
        padding: 0.5rem;
    }

    .booking-calendar-weekdays,
    .booking-calendar-grid {
        gap: 0.125rem;
    }

    .service-card {
        padding: 1.75rem 1.5rem;
    }

    .service-card__price {
        font-size: 2.75rem;
    }

    .fold summary {
        font-size: 1.375rem;
    }

    .fold--compact summary {
        font-size: 1.1875rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-toast,
    .site-toast[data-toast-hiding="true"] {
        animation: none;
    }

    .js .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .bilateral__dot {
        left: calc(50% - 8px);
        animation: none;
    }

    .mobile-cta {
        transition: none;
    }
}
