/* Парк-хотел „Бора“, Павликени
   Pine night and stone: the hotel on the ridge of a hill in a pine forest, the 3000-year-old stone
   column found under it, and its mineral water. Cormorant Garamond (display) + Ysabeau Office (text). */

@font-face {
    font-family: "Cormorant Garamond";
    src: url("../fonts/cormorant-garamond.woff2") format("woff2");
    font-weight: 300 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Cormorant Garamond";
    src: url("../fonts/cormorant-garamond-italic.woff2") format("woff2");
    font-weight: 300 700;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "Ysabeau Office";
    src: url("../fonts/ysabeau-office-text.woff2") format("woff2");
    font-weight: 1 1000;
    font-style: normal;
    font-display: swap;
}

:root {
    --night: #0d2419;        /* pine at night: header, hero, footer */
    --pine: #163a2b;
    --pine-2: #1c4a36;
    --green: #278d53;        /* the green of the original site */
    --green-deep: #1d6b3f;   /* the same green, dark enough for text on stone */
    --mint: #ceeed4;         /* the pale green of the original site */
    --water: #9fd8cf;        /* mineral water */
    --amber: #e8b964;        /* the lamps of the terrace */
    --amber-deep: #8a5a12;
    --stone: #f4f0e7;        /* the stone of the column */
    --stone-2: #e9e2d2;
    --card: #fffdf8;
    --ink: #15241c;
    --muted: #4a5a50;
    --line: rgba(21, 36, 28, 0.14);
    --on-dark: #eef5ee;
    --on-dark-muted: #b9cfc0;
    --radius: 22px;
    --radius-lg: 34px;
    --display: "Cormorant Garamond", "Georgia", serif;
    --text: "Ysabeau Office", "Segoe UI", system-ui, sans-serif;
    --wrap: 1180px;
    --lb-bg: rgba(8, 22, 15, 0.96);
    --lb-accent: var(--amber);
    --lb-accent-soft: rgba(232, 185, 100, 0.2);
    color-scheme: light;
}

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--stone);
    color: var(--ink);
    font-family: var(--text);
    font-size: 1.125rem;
    line-height: 1.6;
    font-feature-settings: "kern", "liga";
    overflow-x: hidden;
}

img,
svg {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--green-deep);
    text-underline-offset: 0.18em;
    text-decoration-thickness: 1px;
}

a:hover {
    text-decoration-thickness: 2px;
}

:focus-visible {
    outline: 3px solid var(--amber);
    outline-offset: 3px;
    border-radius: 6px;
}

h1,
h2,
h3 {
    font-family: var(--display);
    font-weight: 600;
    line-height: 1.04;
    letter-spacing: -0.012em;
    margin: 0 0 0.5em;
    text-wrap: balance;
}

h1 {
    font-size: clamp(2.7rem, 7.4vw, 6.2rem);
}

h2 {
    font-size: clamp(2rem, 4.4vw, 3.4rem);
}

h3 {
    font-size: clamp(1.45rem, 2.4vw, 1.9rem);
}

p {
    margin: 0 0 1em;
}

.wrap {
    width: min(100% - 32px, var(--wrap));
    margin-inline: auto;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.skip {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 100;
    padding: 10px 16px;
    background: var(--amber);
    color: var(--night);
    border-radius: 10px;
    font-weight: 700;
}

.skip:focus {
    top: 12px;
}

.eyebrow {
    font-family: var(--text);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--green-deep);
    margin-bottom: 0.9em;
}

.lead {
    font-size: clamp(1.15rem, 1.8vw, 1.35rem);
    max-width: 40em;
}

/* ---- buttons ---- */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55em;
    padding: 0.85em 1.35em;
    border: 0;
    border-radius: 999px;
    background: var(--green-deep);
    color: #fff;
    font: 700 1rem/1.2 var(--text);
    letter-spacing: 0.02em;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    background: #165733;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px -12px rgba(13, 36, 25, 0.6);
}

.btn-amber {
    background: var(--amber);
    color: var(--night);
}

.btn-amber:hover {
    background: #f1c97f;
}

.btn-ghost {
    background: transparent;
    color: var(--on-dark);
    box-shadow: inset 0 0 0 1.5px rgba(238, 245, 238, 0.5);
}

.btn-ghost:hover {
    background: rgba(238, 245, 238, 0.1);
}

/* ---- header ---- */

.top {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(13, 36, 25, 0.86);
    backdrop-filter: blur(14px) saturate(1.3);
    -webkit-backdrop-filter: blur(14px) saturate(1.3);
    color: var(--on-dark);
    border-bottom: 1px solid rgba(206, 238, 212, 0.12);
}

.top-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
    padding-block: 12px;
}

.brand {
    display: block;
    margin-right: auto;
    line-height: 0;
}

.brand img {
    width: 232px;
    height: auto;
}

.call {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 999px;
    background: var(--amber);
    color: var(--night);
    font-weight: 800;
    font-size: 1rem;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s ease;
}

.call:hover {
    background: #f1c97f;
}

.lang {
    display: flex;
    gap: 2px;
    font-size: 0.9rem;
    font-weight: 700;
}

.lang a,
.lang span {
    padding: 6px 9px;
    border-radius: 8px;
    color: var(--on-dark);
    text-decoration: none;
}

.lang span {
    background: rgba(206, 238, 212, 0.16);
}

.lang a:hover {
    background: rgba(206, 238, 212, 0.1);
}

.menu-btn {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    border: 1.5px solid rgba(206, 238, 212, 0.4);
    border-radius: 999px;
    background: transparent;
    color: var(--on-dark);
    font: 700 0.95rem var(--text);
    cursor: pointer;
}

.menu-bars,
.menu-bars::before,
.menu-bars::after {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    position: relative;
    transition: transform 0.2s ease;
}

.menu-bars::before,
.menu-bars::after {
    content: "";
    position: absolute;
    left: 0;
}

.menu-bars::before {
    top: -6px;
}

.menu-bars::after {
    top: 6px;
}

.menu-btn[aria-expanded="true"] .menu-bars {
    background: transparent;
}

.menu-btn[aria-expanded="true"] .menu-bars::before {
    transform: translateY(6px) rotate(45deg);
}

.menu-btn[aria-expanded="true"] .menu-bars::after {
    transform: translateY(-6px) rotate(-45deg);
}

.nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    width: 100%;
    font-size: 0.98rem;
    font-weight: 600;
}

.nav a {
    white-space: nowrap;
    padding: 7px 12px;
    border-radius: 999px;
    color: var(--on-dark);
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.nav a:hover {
    background: rgba(206, 238, 212, 0.12);
}

.nav a[aria-current] {
    background: var(--mint);
    color: var(--night);
}

@media (min-width: 1240px) {
    .top-row {
        flex-wrap: nowrap;
    }

    .brand {
        margin-right: 0;
    }

    .nav {
        width: auto;
        order: 1;
        margin-left: auto;
        flex-wrap: nowrap;
    }

    .call {
        order: 2;
    }

    .lang {
        order: 3;
    }
}

@media (max-width: 1239px) {
    .has-menu .menu-btn {
        display: inline-flex;
    }

    .has-menu .nav {
        display: none;
        flex-direction: column;
        padding: 6px 0 10px;
    }

    .has-menu .nav.open {
        display: flex;
    }

    .has-menu .nav a {
        padding: 11px 14px;
        border-radius: 12px;
        font-size: 1.05rem;
    }
}

@media (max-width: 560px) {
    .brand {
        width: 100%;
    }

    .brand img {
        width: 210px;
    }

    .call {
        margin-right: auto;
    }
}

/* ---- the pine ridge ---- */

.ridge {
    display: block;
    width: 100%;
    height: clamp(70px, 12vw, 170px);
    pointer-events: none;
}

.ridge-back {
    fill: var(--pine-2);
}

.ridge-front {
    fill: var(--night);
}

/* ---- hero (home) ---- */

.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(60rem 30rem at 85% 0%, rgba(159, 216, 207, 0.22), transparent 70%),
        radial-gradient(40rem 26rem at 0% 30%, rgba(39, 141, 83, 0.35), transparent 70%),
        linear-gradient(180deg, #0f2c1f 0%, var(--pine) 55%, #24573f 100%);
    color: var(--on-dark);
    padding-top: clamp(36px, 7vw, 90px);
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
}

@media (min-width: 900px) {
    .hero-grid {
        grid-template-columns: 1.15fr 0.85fr;
    }
}

.hero .eyebrow {
    color: var(--water);
}

.hero h1 {
    margin-bottom: 0.3em;
}

.hero h1 em {
    display: block;
    font-style: italic;
    font-weight: 500;
    color: var(--mint);
}

.hero .lead {
    color: var(--on-dark);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.arch {
    position: relative;
    margin: 0;
    justify-self: center;
    width: min(100%, 530px);
}

.arch a {
    display: block;
    border-radius: 50% 50% var(--radius) var(--radius) / 34% 34% var(--radius) var(--radius);
    overflow: hidden;
    border: 6px solid rgba(206, 238, 212, 0.18);
    box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7);
}

.arch img {
    display: block;
    width: 100%;
    height: auto;
}

.arch figcaption {
    margin-top: 10px;
    font-size: 0.92rem;
    color: var(--on-dark-muted);
    text-align: center;
}

.hero .ridge {
    position: relative;
    z-index: 1;
    margin-top: clamp(-90px, -6vw, -30px);
}

.hero-intro {
    animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.arch {
    animation: rise 1.1s 0.15s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(26px);
    }
}

/* ---- inner page hero ---- */

.page-hero {
    position: relative;
    background:
        radial-gradient(50rem 22rem at 90% 0%, rgba(159, 216, 207, 0.2), transparent 70%),
        linear-gradient(180deg, #0f2c1f, var(--pine) 70%, #24573f);
    color: var(--on-dark);
    padding-top: clamp(40px, 7vw, 86px);
}

.page-hero .eyebrow {
    color: var(--water);
}

.page-hero .lead {
    color: var(--on-dark);
}

.page-hero .ridge {
    margin-top: 10px;
}

/* ---- sections ---- */

.band {
    padding-block: clamp(56px, 9vw, 120px);
}

.band-tight {
    padding-block: clamp(40px, 6vw, 72px);
}

.band-stone {
    background: var(--stone-2);
}

.section-head {
    max-width: 44rem;
    margin-bottom: clamp(26px, 4vw, 46px);
}

/* row of figures the original states */

.facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2px;
    background: var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    margin: 0;
    padding: 0;
    list-style: none;
}

.facts li {
    background: var(--card);
    padding: 26px 22px;
}

.facts strong {
    display: block;
    font-family: var(--display);
    font-size: clamp(3rem, 6vw, 4.6rem);
    font-weight: 600;
    line-height: 0.95;
    color: var(--green-deep);
}

.facts span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.4;
}

/* ---- the stone column ---- */

.column-band {
    position: relative;
    background:
        radial-gradient(40rem 30rem at 15% 100%, rgba(232, 185, 100, 0.12), transparent 70%),
        linear-gradient(160deg, #1a2d24, #0d1d15);
    color: var(--on-dark);
    overflow: hidden;
}

.column-grid {
    display: grid;
    gap: clamp(28px, 6vw, 80px);
    align-items: center;
}

@media (min-width: 820px) {
    .column-grid {
        grid-template-columns: minmax(220px, 0.7fr) 1.3fr;
    }
}

.column-band .eyebrow {
    color: var(--amber);
}

.column-band p {
    color: var(--on-dark);
}

.column-fig {
    margin: 0;
    justify-self: center;
    width: min(100%, 210px);
}

@media (min-width: 820px) {
    .column-fig {
        width: min(100%, 290px);
    }
}

.column-fig figcaption {
    margin-top: 8px;
    text-align: center;
    font-size: 0.92rem;
    color: var(--on-dark-muted);
}

.column-svg {
    display: block;
    width: 100%;
    overflow: visible;
}

.column-svg .ruler-axis {
    stroke: rgba(206, 238, 212, 0.25);
    stroke-width: 3;
}

.column-svg .ruler-fill {
    stroke: var(--amber);
    stroke-width: 3;
    stroke-dasharray: 1;
    stroke-dashoffset: 0;
}

.column-svg .tick,
.column-svg .dia line,
.column-svg .height line {
    stroke: var(--on-dark-muted);
    stroke-width: 1.5;
}

.column-svg .ground {
    stroke: rgba(206, 238, 212, 0.4);
    stroke-width: 2;
}

.column-svg text {
    fill: var(--on-dark);
    font: 600 14px var(--text);
}

.column-svg .tick-unit {
    fill: var(--amber);
}

.big-quote {
    font-family: var(--display);
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    font-style: italic;
    line-height: 1.2;
    color: var(--mint);
    border-left: 3px solid var(--amber);
    padding-left: 0.8em;
    margin: 1.2em 0;
}

@supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
        .column-svg .ruler-fill {
            animation: fill-up linear both;
            animation-timeline: view();
            animation-range: entry 20% cover 55%;
        }

        .column-svg .monolith {
            animation: emerge linear both;
            animation-timeline: view();
            animation-range: entry 10% cover 50%;
        }

        .reveal {
            animation: rise linear both;
            animation-timeline: view();
            animation-range: entry 0% cover 30%;
        }
    }
}

@keyframes fill-up {
    from {
        stroke-dashoffset: 1;
    }
}

@keyframes emerge {
    from {
        clip-path: inset(100% 0 0 0);
    }
    to {
        clip-path: inset(0 0 0 0);
    }
}

/* ---- bento of what the hotel offers ---- */

.bento {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr;
}

@media (min-width: 760px) {
    .bento {
        grid-template-columns: repeat(2, minmax(0, 580px));
        justify-content: center;
    }

    .tile:nth-child(2) {
        transform: translateY(36px);
    }

    .tile:nth-child(4) {
        transform: translateY(36px);
    }

    .bento {
        padding-bottom: 36px;
    }
}

.tile {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 100%;
    min-width: 0;
    min-height: 260px;
    aspect-ratio: 3 / 2;
    padding: 24px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    color: #fff;
    text-decoration: none;
    background: var(--pine);
    isolation: isolate;
}

.tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    transition: transform 0.6s ease;
}

.tile::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(8, 22, 15, 0.1) 0%, rgba(8, 22, 15, 0.6) 40%, rgba(8, 22, 15, 0.92) 100%);
}

.tile:hover img {
    transform: scale(1.04);
}

.tile h3 {
    margin-bottom: 0.25em;
    color: #fff;
}

.tile p {
    margin: 0;
    max-width: 30em;
    color: #f0f5f1;
    font-size: 1.02rem;
}

.tile .more {
    margin-top: 12px;
    font-weight: 700;
    color: var(--amber);
}

/* ---- photo strip ---- */

.strip {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px, 300px);
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 14px;
    scroll-snap-type: x mandatory;
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.strip li {
    scroll-snap-align: start;
}

.strip a {
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.strip img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.strip a:hover img {
    transform: scale(1.05);
}

/* ---- call band ---- */

.call-band {
    padding-bottom: 0;
}

.call-card {
    padding: clamp(28px, 5vw, 64px);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(30rem 20rem at 100% 0%, rgba(232, 185, 100, 0.25), transparent 70%),
        linear-gradient(160deg, var(--pine), var(--night));
    color: var(--on-dark);
    box-shadow: 0 40px 80px -50px rgba(13, 36, 25, 0.8);
}

.call-band-grid {
    display: grid;
    gap: 24px;
    align-items: center;
}

@media (min-width: 860px) {
    .call-band-grid {
        grid-template-columns: 1.2fr 1fr;
    }
}

.call-band h2 {
    color: #fff;
}

.call-band p {
    color: var(--on-dark);
}

.call-lines {
    display: grid;
    gap: 10px;
}

.call-lines a {
    color: #fff;
}

.big-phone {
    font-family: var(--display);
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 700;
    line-height: 1;
    color: var(--amber) !important;
    text-decoration: none;
    white-space: nowrap;
}

.big-phone:hover {
    text-decoration: underline;
}

/* ---- content blocks ---- */

.prose {
    max-width: 42rem;
}

.prose ul,
.marks {
    padding-left: 0;
    list-style: none;
}

.prose li,
.marks li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 0.45em;
}

.prose li::before,
.marks li::before {
    content: "";
    position: absolute;
    left: 0.2em;
    top: 0.55em;
    width: 0.55em;
    height: 0.55em;
    border-radius: 50% 0;
    background: var(--green);
    transform: rotate(45deg);
}

.split {
    display: grid;
    gap: clamp(28px, 5vw, 64px);
    align-items: start;
}

@media (min-width: 880px) {
    .split {
        grid-template-columns: 1fr 1fr;
    }

    .split-wide {
        grid-template-columns: 1.25fr 0.75fr;
    }
}

.card {
    background: var(--card);
    border-radius: var(--radius-lg);
    padding: clamp(22px, 3.4vw, 38px);
    box-shadow: 0 1px 0 var(--line), 0 24px 50px -36px rgba(13, 36, 25, 0.45);
}

.card h2,
.card h3 {
    color: var(--ink);
}

.photo {
    margin: 0;
}

.photo a {
    display: block;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

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

.photo a {
    width: fit-content;
    max-width: 100%;
}

.photo figcaption {
    margin-top: 8px;
    font-size: 0.95rem;
    color: var(--muted);
}

.photo-pair {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

/* rooms */

.rooms {
    display: grid;
    gap: 18px;
}

@media (min-width: 820px) {
    .rooms {
        grid-template-columns: 1fr 1fr;
    }
}

.room {
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-top: 6px solid var(--green);
}

.room .count {
    font-family: var(--display);
    font-size: clamp(3.4rem, 7vw, 5rem);
    font-weight: 700;
    line-height: 0.9;
    color: var(--green-deep);
}

.amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.amenities li {
    padding: 9px 16px;
    border-radius: 999px;
    background: var(--card);
    box-shadow: inset 0 0 0 1.5px var(--line);
    font-weight: 600;
}

.note {
    padding: 18px 22px;
    border-radius: var(--radius);
    background: #e3f1e6;
    border-left: 5px solid var(--green);
}

/* the water label (SPA page) */

.water-label {
    position: relative;
    background:
        radial-gradient(30rem 18rem at 100% 0%, rgba(159, 216, 207, 0.35), transparent 70%),
        linear-gradient(170deg, #f9fbf7, #e6f2ee);
    border-radius: var(--radius-lg);
    padding: clamp(24px, 4vw, 44px);
    box-shadow: inset 0 0 0 1.5px rgba(29, 107, 63, 0.25), 0 30px 60px -40px rgba(13, 36, 25, 0.5);
}

.water-label .source {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--green-deep);
}

.water-label h2 {
    margin-top: 0.3em;
}

.ions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0;
    padding: 0;
    list-style: none;
}

.ions li {
    padding: 7px 14px;
    border-radius: 999px;
    background: #fff;
    box-shadow: inset 0 0 0 1.5px rgba(29, 107, 63, 0.3);
    font-weight: 700;
    font-size: 0.98rem;
}

.signed {
    font-style: italic;
    color: var(--muted);
}

.uses {
    display: grid;
    gap: 18px;
}

@media (min-width: 820px) {
    .uses {
        grid-template-columns: 1.4fr 1fr;
    }
}

.uses h3 {
    font-size: 1.5rem;
}

.uses ol {
    margin: 0;
    padding-left: 1.3em;
}

.uses ol > li {
    margin-bottom: 0.8em;
}

.uses ol > li > strong {
    display: block;
}

.uses ul {
    margin: 0.3em 0 0;
    padding-left: 1.1em;
    color: var(--muted);
}

/* document card */

.doc {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    align-items: center;
    padding: 20px 22px;
    border-radius: var(--radius);
    background: var(--card);
    box-shadow: inset 0 0 0 1.5px var(--line);
    text-decoration: none;
    color: var(--ink);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.doc:hover {
    box-shadow: inset 0 0 0 2px var(--green-deep);
    transform: translateY(-2px);
}

.doc-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 64px;
    border-radius: 8px 18px 8px 8px;
    background: var(--green-deep);
    color: #fff;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
}

.doc strong {
    display: block;
    font-size: 1.08rem;
}

.doc span {
    color: var(--muted);
    font-size: 0.98rem;
}

/* services list */

.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.services li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    border-radius: var(--radius);
    background: var(--card);
    box-shadow: inset 0 0 0 1.5px var(--line);
    font-weight: 600;
}

.services li::before {
    content: "";
    flex: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #fff, var(--water) 60%, var(--green) 100%);
    box-shadow: 0 0 0 4px rgba(159, 216, 207, 0.35);
}

.big-quote.on-light {
    color: var(--green-deep);
}

.spa-photos {
    margin-top: 40px;
}

/* gallery */

.album + .album {
    margin-top: clamp(48px, 7vw, 90px);
}

.gallery {
    columns: 3 220px;
    column-gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.gallery li {
    break-inside: avoid;
    margin-bottom: 14px;
}

.gallery a {
    display: block;
    border-radius: 18px;
    overflow: hidden;
}

.gallery img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.gallery a:hover img {
    transform: scale(1.04);
}

/* contact */

.contact-list {
    display: grid;
    gap: 18px;
    margin: 0 0 24px;
}

.contact-list dt {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--green-deep);
}

.contact-list dd {
    margin: 4px 0 0;
    font-size: 1.12rem;
}

.contact-form {
    display: grid;
    gap: 16px;
}

.contact-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 13px 15px;
    border: 1.5px solid rgba(21, 36, 28, 0.3);
    border-radius: 14px;
    background: #fff;
    color: var(--ink);
    font: 1.05rem/1.5 var(--text);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--green-deep);
    outline: 3px solid rgba(39, 141, 83, 0.3);
    outline-offset: 1px;
}

.contact-form .btn {
    justify-self: start;
}

.form-hint {
    margin: 0;
    font-size: 0.95rem;
    color: var(--muted);
}

.contact-sent {
    margin-bottom: 18px;
    padding: 16px 20px;
    border-radius: 16px;
    background: #e3f1e6;
    border-left: 5px solid var(--green);
}

.contact-sent strong {
    display: block;
}

.contact-form ul {
    margin: 6px 0 0;
    padding-left: 1.1em;
    color: #9b1c1c;
}

/* ---- footer ---- */

.foot {
    background: linear-gradient(var(--stone), var(--stone)) top / 100% clamp(70px, 12vw, 170px) no-repeat, var(--night);
    color: var(--on-dark);
    padding-bottom: 28px;
    margin-top: clamp(40px, 6vw, 80px);
}

.foot-ridge {
    margin-bottom: -2px;
}

.foot-ridge .ridge-back {
    fill: #9cbfa8;
}

.foot-grid {
    display: grid;
    gap: 30px;
    padding-top: 30px;
}

@media (min-width: 760px) {
    .foot-grid {
        grid-template-columns: 1.4fr 1fr 1fr 1fr;
    }
}

.foot h2 {
    font-family: var(--text);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--water);
    margin-bottom: 12px;
}

.foot p,
.foot address {
    color: var(--on-dark);
    font-style: normal;
    font-size: 1rem;
}

.foot a {
    color: var(--mint);
}

.foot-logo {
    width: 232px;
    height: auto;
    margin-bottom: 14px;
}

.foot-phone {
    font-weight: 800;
    color: var(--amber) !important;
}

.foot-nav {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 6px;
}

.foot-bottom {
    margin-top: 34px;
    padding-top: 20px;
    border-top: 1px solid rgba(206, 238, 212, 0.16);
    font-size: 0.92rem;
}

.foot-bottom p {
    color: var(--on-dark-muted);
}

.foot-bottom a {
    color: var(--on-dark);
}


/* ---- 404 ---- */

.not-found {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 40px 16px;
    background: linear-gradient(180deg, #0f2c1f, var(--pine));
    color: var(--on-dark);
    text-align: center;
}

.not-found > div {
    max-width: 36rem;
}

.not-found img {
    margin-bottom: 24px;
}

.not-found a:not(.btn) {
    color: var(--mint);
}

.not-found h2 {
    margin-top: 40px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

/* ---- lightbox: /js/lightbox.js opens a linked image enlarged over the page, in a <dialog> ----
   Paste this block into the site's css/site.css. The overlay is dark in every theme and brings its own
   colours and box sizing, so it does not depend on the rest of the stylesheet. To recolour it to the
   site, set these on .lightbox (or on :root): --lb-bg, --lb-text, --lb-accent (focus ring),
   --lb-accent-soft (hover). */

[data-lightbox] {
    cursor: zoom-in;
}

.lightbox,
.lightbox * {
    box-sizing: border-box;
}

html:has(.lightbox[open]) {
    overflow: hidden;
    scrollbar-gutter: stable;
}

.lightbox {
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    padding: 68px 12px 14px;
    border: 0;
    background: var(--lb-bg, rgba(12, 14, 16, 0.95));
    color: var(--lb-text, #f2f2f2);
    color-scheme: dark;
    overscroll-behavior: contain;
}

.lightbox[open] {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 12px;
}

.lightbox::backdrop {
    background: none;
}

.lightbox-stage {
    display: grid;
    place-items: center;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}

.lightbox-stage img {
    display: block;
    max-width: none;
    border-radius: 4px;
    background: #fff;
}

.lightbox-caption {
    display: grid;
    place-items: center;
    min-height: 44px;
    max-width: none;
    margin: 0;
    padding: 0 56px;
    color: var(--lb-text, #f2f2f2);
    font-size: 0.92rem;
    line-height: 1.35;
    text-align: center;
}

.lightbox-button {
    position: absolute;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 20px no-repeat;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.lightbox-button:hover {
    border-color: #ffffff;
    background-color: var(--lb-accent-soft, rgba(255, 255, 255, 0.16));
}

.lightbox-button:focus-visible {
    outline: 3px solid var(--lb-accent, #ffffff);
    outline-offset: 3px;
    border-radius: 50%;
}

.lightbox-button[hidden] {
    display: none;
}

.lightbox-close {
    top: 12px;
    right: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E");
}

.lightbox-prev,
.lightbox-next {
    bottom: 14px;
}

.lightbox-prev {
    left: 12px;
    rotate: 180deg;
}

.lightbox-next {
    right: 12px;
}

@media (min-width: 760px) {
    .lightbox {
        padding: 24px 84px 18px;
    }

    .lightbox-caption {
        padding: 0;
    }

    .lightbox-prev,
    .lightbox-next {
        top: calc(50% - 22px);
        bottom: auto;
    }

    .lightbox-prev {
        left: 20px;
    }

    .lightbox-next,
    .lightbox-close {
        right: 20px;
    }

    .lightbox-close {
        top: 20px;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .lightbox[open] {
        animation: lightbox-in 0.2s ease;
    }
}

@keyframes lightbox-in {
    from {
        opacity: 0;
    }
}

/* the big phone on a light card */
.card .big-phone {
    color: var(--green-deep) !important;
}
