/* Семеен хотел „Мони“, Смолян. Lamplight in the Rhodopes: the two inks of the hotel's logo (green and red) on
   sheep's-milk white, fir-green dusk bands, and the apricot plaster of the hotel's own facade for the lit windows.
   Marmelad (display) + Ysabeau (text), both SIL OFL. One theme. */

@font-face {
    font-family: "Marmelad";
    src: url("/fonts/marmelad.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

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

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

:root {
    --milk: #fbf7ef;
    --sheet: #ffffff;
    --oat: #f1e7d3;
    --oat-line: #e2d3b4;
    --ink: #1c2823;
    --ink-soft: #46544d;
    --green: #227258;
    --fir: #123d30;
    --fir-2: #1b4a3b;
    --night: #0b271f;
    --red: #ac1f2d;
    --red-deep: #8a1623;
    --apricot: #f2c27b;
    --lamp: #ffd27a;
    --on-dark: #f6f1e6;
    --on-dark-soft: #c9d8cf;
    --radius: 22px;
    --radius-lg: 32px;
    --shadow: 0 18px 50px -24px rgba(11, 39, 31, .45);
    --display: "Marmelad", "Ysabeau", Georgia, serif;
    --text: "Ysabeau", "Segoe UI", system-ui, sans-serif;
    --wrap: 1200px;
    --gutter: clamp(16px, 4vw, 40px);
    --header-h: 76px;
}

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: calc(var(--header-h) + 12px);
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

body {
    margin: 0;
    background: var(--milk);
    color: var(--ink);
    font-family: var(--text);
    font-size: clamp(1.06rem, 1rem + .25vw, 1.18rem);
    font-weight: 450;
    line-height: 1.6;
    font-variant-numeric: lining-nums;
    overflow-x: clip;
}

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

h1,
h2,
h3 {
    font-family: var(--display);
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: -.01em;
    margin: 0 0 .5em;
    color: var(--fir);
    text-wrap: balance;
}

h1 {
    font-size: clamp(2.5rem, 1.6rem + 4vw, 4.6rem);
}

h2 {
    font-size: clamp(1.8rem, 1.3rem + 2vw, 2.8rem);
}

h3 {
    font-size: clamp(1.3rem, 1.15rem + .6vw, 1.6rem);
}

p {
    margin: 0 0 1em;
}

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

a:hover {
    color: var(--red);
}

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

ul,
ol {
    margin: 0;
    padding: 0;
}

.wrap {
    width: 100%;
    max-width: var(--wrap);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

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

.skip {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 100;
    padding: 10px 16px;
    background: var(--fir);
    color: var(--on-dark);
    border-radius: 10px;
}

.skip:focus {
    top: 12px;
}

.lead {
    font-size: clamp(1.15rem, 1.05rem + .45vw, 1.35rem);
    color: var(--ink-soft);
}

.eyebrow,
.kicker {
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: .8em;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: .55em;
    min-height: 48px;
    padding: .7em 1.35em;
    border: 2px solid transparent;
    border-radius: 999px;
    font: 700 1rem/1.2 var(--text);
    letter-spacing: .01em;
    text-decoration: none;
    font-variant-numeric: lining-nums;
    cursor: pointer;
    transition: transform .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-red {
    background: var(--red);
    color: #fff;
    box-shadow: 0 10px 24px -12px rgba(138, 22, 35, .8);
}

.btn-red:hover {
    background: var(--red-deep);
    color: #fff;
}

.btn-ghost {
    border-color: rgba(246, 241, 230, .6);
    color: var(--on-dark);
}

.btn-ghost:hover {
    background: var(--on-dark);
    color: var(--fir);
}

.btn-outline {
    border-color: var(--red);
    color: var(--red);
}

.btn-outline:hover {
    background: var(--red);
    color: #fff;
}

.btn-milk {
    background: var(--milk);
    color: var(--red-deep);
}

.btn-milk:hover {
    background: #fff;
    color: var(--red-deep);
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 1.6rem;
}

.more {
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid currentColor;
}

.more-light {
    color: var(--lamp);
}

.more-light:hover {
    color: #fff;
}

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

.top {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(251, 247, 239, .9);
    backdrop-filter: saturate(1.4) blur(12px);
    -webkit-backdrop-filter: saturate(1.4) blur(12px);
    border-bottom: 1px solid rgba(18, 61, 48, .1);
}

.top .wrap {
    max-width: 1440px;
}

.top-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 22px;
    min-height: var(--header-h);
    padding-block: 10px;
}

.brand {
    flex: 0 0 auto;
    display: block;
}

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

.nav {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 4px;
    margin-inline: auto;
}

.nav a {
    padding: .45em .7em;
    border-radius: 999px;
    color: var(--ink);
    font-weight: 600;
    font-size: .98rem;
    text-decoration: none;
    white-space: nowrap;
}

.nav a:hover {
    background: var(--oat);
    color: var(--fir);
}

.nav a[aria-current="page"] {
    background: var(--fir);
    color: var(--on-dark);
}

.top-tools {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

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

.lang a,
.lang span {
    display: inline-grid;
    place-items: center;
    min-width: 40px;
    min-height: 40px;
    border-radius: 999px;
    text-decoration: none;
}

.lang span {
    color: var(--fir);
    background: var(--oat);
}

.lang a {
    color: var(--ink-soft);
}

.lang a:hover {
    color: var(--red);
}

.call {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    background: var(--red);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.call:hover {
    background: var(--red-deep);
    color: #fff;
}

.menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 14px;
    border: 2px solid var(--fir);
    border-radius: 999px;
    background: transparent;
    color: var(--fir);
    font: 700 .95rem/1 var(--text);
    cursor: pointer;
}

.menu-toggle[hidden] {
    display: none;
}

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

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

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

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

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

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

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

@media (max-width: 1340px) {
    .top-row {
        justify-content: space-between;
    }

    .nav {
        order: 3;
        width: 100%;
        margin-inline: 0;
        justify-content: center;
    }

    .js-menu .nav {
        display: none;
    }

    .js-menu .nav.open {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 6px 0 14px;
    }

    .js-menu .nav.open a {
        padding: .75em 1em;
        font-size: 1.08rem;
    }
}

@media (min-width: 1341px) {
    .menu-toggle {
        display: none !important;
    }
}

@media (max-width: 560px) {
    :root {
        --header-h: 64px;
    }

    .brand img {
        height: 34px;
    }

    .call {
        padding: 0 12px;
    }

    .call-number {
        display: none;
    }

    .lang a,
    .lang span {
        min-width: 36px;
    }

    .menu-toggle {
        width: 44px;
        padding: 0;
        justify-content: center;
    }

    .menu-label {
        display: none;
    }

    .brand img {
        height: 30px;
    }

    .top-row {
        flex-wrap: wrap;
        gap: 8px;
    }

    .top-tools {
        gap: 6px;
    }
}

@media (max-width: 380px) {
    .brand img {
        height: 28px;
    }

    .top-row {
        gap: 8px;
    }

    .top-tools {
        gap: 4px;
    }
}

/* ---- home hero: the dusk scene ---- */

.hero {
    position: relative;
    background:
        radial-gradient(120% 80% at 85% 100%, rgba(242, 194, 123, .28), transparent 60%),
        linear-gradient(170deg, var(--night) 0%, var(--fir) 55%, var(--fir-2) 100%);
    color: var(--on-dark);
    padding: clamp(36px, 6vw, 80px) 0 clamp(80px, 9vw, 120px);
    overflow: clip;
}

.hero-grid {
    display: grid;
    gap: clamp(28px, 4vw, 56px);
    align-items: center;
}

@media (min-width: 960px) {
    .hero-grid {
        grid-template-columns: minmax(0, .95fr) minmax(0, 1.2fr);
    }
}

.hero h1 {
    color: var(--on-dark);
    font-size: clamp(2.6rem, 1.5rem + 3.4vw, 4.1rem);
    margin-bottom: .25em;
}

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

.motto {
    font-style: italic;
    font-size: clamp(1.25rem, 1.1rem + .8vw, 1.7rem);
    line-height: 1.35;
    color: var(--lamp);
    margin-bottom: 1em;
}

.hero .lead {
    color: var(--on-dark-soft);
    max-width: 36em;
}

.hero-scene {
    margin: 0;
}

.scene {
    width: 100%;
    aspect-ratio: 1200 / 640;
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 210, 122, .18);
}

.hero-scene figcaption {
    margin-top: 12px;
    font-size: .92rem;
    color: var(--on-dark-soft);
    text-align: center;
}

.win {
    fill: var(--lamp);
}

.corpus .win:nth-of-type(5n) {
    fill: var(--apricot);
}

@keyframes window-on {
    from {
        fill: #3a2a1c;
    }
}

@keyframes twinkle {
    50% {
        opacity: .35;
    }
}

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

@media (prefers-reduced-motion: no-preference) {
    .win {
        animation: window-on .5s ease-out backwards;
        animation-delay: calc(.6s + var(--i) * 42ms);
    }

    .scene-glow {
        animation: glow-in 2.5s ease-out 1.2s backwards;
    }

    .stars circle {
        animation: twinkle 4s ease-in-out infinite;
    }

    .stars circle:nth-child(3n) {
        animation-delay: 1.3s;
    }

    .stars circle:nth-child(3n + 1) {
        animation-delay: 2.6s;
    }

    .hero-text > * {
        animation: rise .8s cubic-bezier(.2, .7, .2, 1) backwards;
    }

    .hero-text > :nth-child(2) {
        animation-delay: .08s;
    }

    .hero-text > :nth-child(3) {
        animation-delay: .16s;
    }

    .hero-text > :nth-child(4) {
        animation-delay: .24s;
    }

    .hero-text > :nth-child(5) {
        animation-delay: .32s;
    }
}

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

/* ---- the row of the original's own figures ---- */

.figures {
    position: relative;
    z-index: 2;
    margin-top: clamp(-70px, -6vw, -44px);
}

.figures-row {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0;
}

.figures-row li {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px 22px;
    background: var(--sheet);
    border-right: 1px solid var(--oat-line);
}

.figures-row li:first-child {
    border-radius: var(--radius) 0 0 var(--radius);
}

.figures-row li:last-child {
    border-right: 0;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.figures-row {
    filter: drop-shadow(0 18px 30px rgba(11, 39, 31, .18));
}

@media (max-width: 760px) {
    .figures-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1px;
        background: var(--oat-line);
        border-radius: var(--radius);
        overflow: hidden;
    }

    .figures-row li,
    .figures-row li:first-child,
    .figures-row li:last-child {
        border: 0;
        border-radius: 0;
    }

    .figures-row li:last-child {
        grid-column: 1 / -1;
    }
}

.fig-pre {
    font-size: .85rem;
    color: var(--ink-soft);
}

.fig-n {
    font-family: var(--display);
    font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem);
    line-height: 1;
    color: var(--green);
}

.fig-l {
    margin-top: 6px;
    font-weight: 600;
    color: var(--ink-soft);
    line-height: 1.3;
}

/* ---- bands ---- */

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

.band-oat {
    background: var(--oat);
}

.band-fir {
    background: var(--fir);
    color: var(--on-dark);
}

.band-fir h2,
.band-fir h3 {
    color: var(--on-dark);
}

.band-fir .lead {
    color: var(--on-dark-soft);
}

.band-fir a {
    color: var(--lamp);
}

.band-fir :focus-visible {
    outline-color: var(--lamp);
}

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

.section-head p {
    color: var(--ink-soft);
    font-size: 1.12em;
}

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

@media (min-width: 900px) {
    .split {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    }
}

.panel {
    border-radius: var(--radius-lg);
    padding: clamp(24px, 4vw, 44px);
}

.panel-fir {
    background: var(--fir);
    color: var(--on-dark);
}

.panel-fir h2 {
    color: var(--on-dark);
}

.panel-fir a {
    color: var(--lamp);
}

.panel-fir :focus-visible {
    outline-color: var(--lamp);
}

.card-paper {
    background: var(--sheet);
    border-radius: var(--radius-lg);
    padding: clamp(24px, 4vw, 52px);
    box-shadow: var(--shadow);
    border: 1px solid var(--oat-line);
}

.big-quote {
    font-family: var(--display);
    font-size: clamp(1.35rem, 1.15rem + .9vw, 1.9rem);
    line-height: 1.3;
    color: var(--red-deep);
    margin-bottom: 1.2em;
}

/* ---- welcome with the arched photo ---- */

.welcome-grid {
    display: grid;
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
}

@media (min-width: 860px) {
    .welcome-grid {
        grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    }
}

.arch {
    display: block;
    border-radius: 999px 999px var(--radius) var(--radius);
    overflow: hidden;
    background: var(--fir);
    max-width: 480px;
    box-shadow: var(--shadow);
    outline-offset: 6px;
}

.arch img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: 58% 50%;
    transition: transform .6s ease;
}

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

/* ---- bento of the facilities ---- */

.bento {
    list-style: none;
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(0, 1fr);
}

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

    .tile-1 {
        grid-column: 1 / -1;
    }
}

@media (min-width: 1000px) {
    .bento {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        grid-auto-rows: 250px;
    }

    .tile-1 {
        grid-column: span 2;
        grid-row: span 2;
    }

    .tile-2 {
        grid-column: span 2;
    }
}

.tile a {
    position: relative;
    display: block;
    height: 100%;
    min-height: 260px;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--night);
    color: var(--on-dark);
    text-decoration: none;
}

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

.tile a::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 39, 31, 0) 30%, rgba(11, 39, 31, .92) 100%);
}

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

.tile-text {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    padding: 20px 22px;
    background: rgba(11, 39, 31, .0);
}

.tile-h {
    display: block;
    font-family: var(--display);
    font-size: clamp(1.4rem, 1.2rem + .7vw, 1.9rem);
    line-height: 1.15;
    color: #fff;
}

.tile-p {
    display: block;
    margin-top: 4px;
    font-size: .98rem;
    line-height: 1.45;
    color: #eaf0ec;
}

.tile a:hover .tile-h {
    color: var(--lamp);
}

/* ---- price list ---- */

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

@media (min-width: 900px) {
    .prices-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
}

.price-list {
    margin: 0;
    padding: clamp(18px, 3vw, 30px) clamp(20px, 3vw, 36px);
    border-radius: var(--radius-lg);
    background: var(--night);
    box-shadow: inset 0 0 0 1px rgba(255, 210, 122, .2);
}

.price-list div {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px dashed rgba(246, 241, 230, .22);
}

.price-list div:last-child {
    border-bottom: 0;
}

.price-list dt {
    font-weight: 700;
    font-size: 1.12rem;
    color: var(--on-dark);
}

.price-list dt::after {
    content: "";
}

.price-list dd {
    margin: 0 0 0 auto;
    font-family: var(--display);
    font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.5rem);
    line-height: 1;
    color: var(--lamp);
    white-space: nowrap;
}

.notes {
    list-style: none;
    margin-bottom: 1.4em;
}

.notes li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: .5em;
}

.notes li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .55em;
    width: .6em;
    height: .6em;
    border-radius: 2px;
    background: var(--lamp);
}

/* ---- the menu card of Rhodope dishes ---- */

.menu-card {
    background:
        radial-gradient(60% 80% at 0% 0%, rgba(242, 194, 123, .25), transparent 70%),
        var(--milk);
}

.menu-card .card-paper {
    max-width: 920px;
    margin-inline: auto;
    text-align: center;
    border: 2px solid var(--red);
    outline: 1px solid var(--red);
    outline-offset: -10px;
    padding: clamp(32px, 6vw, 64px) clamp(22px, 5vw, 60px);
}

.menu-card h2 {
    color: var(--red-deep);
}

.dishes {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 0;
    margin: 1.2em 0 1.6em;
    font-family: var(--display);
    font-size: clamp(1.15rem, 1.05rem + .5vw, 1.45rem);
    color: var(--fir);
}

.dishes li::after {
    content: "·";
    margin: 0 .55em;
    color: var(--red);
}

.dishes li:last-child::after {
    content: none;
}

/* ---- trail and chips ---- */

.near-grid {
    display: grid;
    gap: clamp(32px, 5vw, 72px);
}

@media (min-width: 900px) {
    .near-grid {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
    }
}

.trail {
    list-style: none;
    counter-reset: trail;
    position: relative;
    margin: 1em 0;
}

.trail li {
    counter-increment: trail;
    position: relative;
    padding: 0 0 18px 52px;
    min-height: 36px;
}

.trail li::before {
    content: counter(trail);
    position: absolute;
    left: 0;
    top: -2px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    font-family: var(--display);
    font-size: 1.05rem;
}

.trail li::after {
    content: "";
    position: absolute;
    left: 17px;
    top: 36px;
    bottom: 0;
    border-left: 2px dashed rgba(34, 114, 88, .45);
}

.trail li:last-child::after {
    content: none;
}

.trail-end {
    font-weight: 700;
    color: var(--red-deep);
}

.chips {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 1em 0 1.4em;
}

.chips li {
    padding: .4em .95em;
    border-radius: 999px;
    background: var(--sheet);
    border: 1px solid var(--oat-line);
    font-weight: 600;
    font-size: .98rem;
    color: var(--fir);
}

.panel-fir .chips li,
.band-fir .chips li {
    background: var(--fir-2);
    border-color: rgba(255, 255, 255, .15);
    color: var(--on-dark);
}

.ticks {
    list-style: none;
    margin: 0 0 1.2em;
}

.ticks li {
    position: relative;
    padding-left: 1.9em;
    margin-bottom: .5em;
}

.ticks li::before {
    content: "";
    position: absolute;
    left: .1em;
    top: .3em;
    width: 1.05em;
    height: 1.05em;
    border-radius: 50%;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.6 2.5L12 5.5' fill='none' stroke='%23123d30' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat,
        var(--lamp);
}

.ticks-cols {
    columns: 2 12rem;
    column-gap: 2rem;
}

.ticks-cols li {
    break-inside: avoid;
}

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

.call-band {
    background:
        radial-gradient(70% 120% at 100% 0%, rgba(255, 210, 122, .18), transparent 60%),
        var(--red-deep);
    color: #fff;
}

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

.call-band p {
    color: #fbe9e3;
}

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

.call-band :focus-visible {
    outline-color: var(--lamp);
}

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

@media (min-width: 860px) {
    .call-grid {
        grid-template-columns: minmax(0, 1fr) auto;
    }
}

.call-lines {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.call-lines p {
    margin: 6px 0 0;
}

.call-lines .btn-milk {
    color: var(--red-deep);
}

.big-phone {
    font-family: var(--display);
    font-size: clamp(1.7rem, 1.3rem + 1.8vw, 2.6rem);
    line-height: 1.15;
    text-decoration: none;
    white-space: nowrap;
}

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

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

.page-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: clamp(340px, 54vh, 540px);
    background: var(--night);
    color: var(--on-dark);
    overflow: clip;
}

.page-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 39, 31, .15) 0%, rgba(11, 39, 31, .55) 45%, rgba(11, 39, 31, .94) 100%);
}

.page-hero-text {
    position: relative;
    z-index: 1;
    padding-block: clamp(36px, 6vw, 64px);
}

.page-hero h1 {
    color: #fff;
    margin-bottom: .2em;
}

.page-hero .lead {
    color: #eef3ef;
    max-width: 40em;
}

.page-hero-drawn {
    min-height: clamp(320px, 46vh, 460px);
    background: linear-gradient(175deg, var(--night) 0%, var(--fir) 60%, #2d5e4f 100%);
    align-items: center;
}

.page-hero-drawn::after {
    content: none;
}

.page-hero-short {
    min-height: clamp(280px, 38vh, 380px);
}

.page-hero-ridges {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 45%;
    opacity: .55;
}

.page-hero-drawn .page-hero-text {
    padding-bottom: clamp(70px, 10vw, 120px);
}

.jump {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 1.2rem;
}

.jump a {
    padding: .45em 1em;
    border-radius: 999px;
    background: rgba(11, 39, 31, .7);
    border: 1px solid rgba(255, 255, 255, .35);
    color: #fff;
    font-weight: 600;
    font-size: .95rem;
    text-decoration: none;
}

.jump a:hover {
    background: var(--on-dark);
    color: var(--fir);
}

.page-hero :focus-visible {
    outline-color: var(--lamp);
}

/* ---- photo rows and mosaics ---- */

.photo-row {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
    gap: 14px;
}

.photo-row a,
.mosaic a,
.gallery-grid a,
.room-photo {
    display: block;
    border-radius: 16px;
    overflow: hidden;
    background: var(--oat-line);
}

.photo-row img,
.mosaic img,
.gallery-grid img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    transition: transform .5s ease;
}

.photo-row a:hover img,
.mosaic a:hover img,
.gallery-grid a:hover img,
.room-photo:hover img {
    transform: scale(1.05);
}

/* ---- rooms ---- */

.rooms {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 22px;
}

.room {
    display: flex;
    flex-direction: column;
    background: var(--sheet);
    border: 1px solid var(--oat-line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.room-photo {
    border-radius: 0;
}

.room-photo img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform .5s ease;
}

.room-body {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4px 16px;
    padding: 18px 22px 20px;
}

.room-body h3 {
    margin: 0;
}

.room-price {
    margin: 0;
    color: var(--ink-soft);
}

.room-price strong {
    font-family: var(--display);
    font-weight: 400;
    font-size: 1.7rem;
    color: var(--red);
}

.room-ask a {
    font-weight: 700;
}

.ask {
    max-width: 860px;
    margin-inline: auto;
}

/* ---- facilities ---- */

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

@media (min-width: 960px) {
    .facility-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .facility-flip .facility-text {
        order: 2;
    }
}

.mosaic {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.mosaic li:first-child {
    grid-column: 1 / -1;
}

.mosaic li:first-child img {
    aspect-ratio: 16 / 9;
}

/* ---- gallery ---- */

.gallery-group h2 {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.count {
    font-family: var(--text);
    font-size: 1rem;
    font-weight: 700;
    padding: .2em .7em;
    border-radius: 999px;
    background: var(--fir);
    color: var(--on-dark);
}

.gallery-grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
    gap: 12px;
}

@media (max-width: 520px) {
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }
}

/* ---- region ---- */

.lake-figs {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr));
    gap: 16px;
    margin-top: 1.4em;
}

.lake-figs li {
    display: flex;
    flex-direction: column;
    padding-top: 12px;
    border-top: 2px solid var(--lamp);
}

.lake-figs .fig-n {
    color: var(--lamp);
}

.lake-figs .fig-l {
    color: var(--on-dark-soft);
}

.sights {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr));
    gap: 16px;
}

.sights li {
    position: relative;
    padding: 26px 24px 22px;
    background: var(--sheet);
    border-radius: var(--radius);
    border: 1px solid var(--oat-line);
    overflow: clip;
}

.sights li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--green), var(--apricot));
}

.sights p {
    margin: 0;
    color: var(--ink-soft);
}

.routes {
    list-style: none;
    counter-reset: route;
    display: grid;
    gap: 18px;
}

.routes li {
    counter-increment: route;
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: clamp(16px, 3vw, 32px);
    padding: clamp(20px, 3vw, 32px);
    border-radius: var(--radius);
    background: var(--oat);
}

.routes li::before {
    content: counter(route, decimal-leading-zero);
    grid-row: 1 / span 3;
    font-family: var(--display);
    font-size: clamp(2.2rem, 1.6rem + 2vw, 3.4rem);
    line-height: 1;
    color: var(--red);
}

.routes h3,
.routes p {
    grid-column: 2;
}

.routes h3 {
    margin-bottom: .15em;
}

.route-d {
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: .6em;
}

.routes p:last-child {
    margin-bottom: 0;
}

/* ---- contact ---- */

.contact-grid {
    display: grid;
    gap: clamp(24px, 4vw, 48px);
    align-items: start;
}

@media (min-width: 960px) {
    .contact-grid {
        grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    }
}

.contact-card .kicker {
    color: var(--apricot);
}

.contact-list {
    margin: 0;
}

.contact-list div {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.contact-list div:last-child {
    border-bottom: 0;
}

.contact-list dt {
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--on-dark-soft);
    margin-bottom: 4px;
}

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

.contact-list .big-phone {
    display: block;
    color: #fff;
}

.contact-form {
    display: grid;
    gap: 16px;
    margin-top: 1.2em;
}

.contact-form label {
    display: block;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--fir);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 13px 15px;
    border: 2px solid var(--oat-line);
    border-radius: 14px;
    background: var(--milk);
    color: var(--ink);
    font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--green);
    outline: 3px solid rgba(34, 114, 88, .25);
    outline-offset: 0;
}

.contact-form textarea::placeholder {
    color: #6d776f;
}

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

.form-hint {
    font-size: .92rem;
    color: var(--ink-soft);
    margin: 0;
}

.contact-form ul {
    list-style: none;
    color: var(--red-deep);
    font-weight: 700;
}

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

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

.foot {
    background: var(--night);
    color: var(--on-dark-soft);
    padding-top: clamp(48px, 7vw, 80px);
    font-size: 1rem;
}

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

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

.foot :focus-visible {
    outline-color: var(--lamp);
}

.foot h2 {
    font-family: var(--text);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--apricot);
    margin-bottom: 1em;
}

.foot-grid {
    display: grid;
    gap: 36px;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}

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

.foot-plate {
    display: inline-block;
    padding: 14px 18px;
    border-radius: 18px;
    background: var(--milk);
    margin-bottom: 16px;
}

.foot-plate img {
    width: 220px;
    height: auto;
}

.foot-phones a {
    display: block;
    font-family: var(--display);
    font-size: 1.4rem;
    text-decoration: none;
    white-space: nowrap;
}

.foot-enquiry {
    font-weight: 700;
}

.foot address {
    font-style: normal;
}

.foot-nav {
    list-style: none;
}

.foot-nav li {
    margin-bottom: .35em;
}

.foot-nav a {
    text-decoration: none;
}

.foot-nav a:hover {
    text-decoration: underline;
}

.foot-bottom {
    margin-top: 44px;
    padding-block: 20px 28px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: .92rem;
}

.foot-bottom p {
    margin: 0;
}

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

.not-found {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 40px var(--gutter);
    background:
        radial-gradient(90% 60% at 50% 100%, rgba(242, 194, 123, .35), transparent 70%),
        var(--milk);
    text-align: center;
}

.not-found > div {
    max-width: 640px;
}

.not-found img {
    width: min(320px, 80vw);
    margin: 0 auto 28px;
}

.not-found [lang="en"] {
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid var(--oat-line);
}

/* ---- reveal on scroll ---- */

@supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
        .reveal {
            animation: reveal linear both;
            animation-timeline: view();
            animation-range: entry 0% cover 28%;
        }
    }
}

@keyframes reveal {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
}

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

@media print {
    .top,
    .call-band,
    .foot {
        display: none;
    }
}

/* ---- 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;
    }
}

.lightbox {
    --lb-bg: rgba(7, 26, 20, .96);
    --lb-text: #f6f1e6;
    --lb-accent: #ffd27a;
    --lb-accent-soft: rgba(255, 210, 122, .18);
}

/* ---- sizes that follow their box (long Bulgarian words, phone numbers) ---- */

.tile a,
.contact-card {
    container-type: inline-size;
}

.tile-h {
    font-size: clamp(1.2rem, 10cqi, 1.9rem);
}

.contact-list .big-phone {
    font-size: clamp(1.3rem, 10cqi, 2.4rem);
}
