/* Hotel Kibella (Хотел „Кибелла“), Sofia.
   Linen pages, the apricot and terracotta of the hotel's own facade, the burgundy of its logo (#8c1730)
   and the navy of its curtains; Forum for display, IBM Plex Sans for text.
   Signature: the distance ruler (0–5 km), arch-framed photos, the Greek-key band from the logo's lettering. */

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

@font-face {
    font-family: "IBM Plex Sans";
    src: url("/fonts/ibm-plex-sans.woff2") format("woff2");
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --linen: #faf5ee;
    --sand: #f1e6d8;
    --sand-2: #e8d7c2;
    --apricot: #d7a67e;
    --apricot-2: #e9c6a6;
    --terra: #975d42;
    --terra-ink: #7e4630;
    --wine: #8c1730;
    --wine-deep: #5e0f20;
    --navy: #1b2440;
    --night: #121a30;
    --navy-2: #26325a;
    --sky: #9cc8ea;
    --ink: #2a2522;
    --ink-soft: #5b514a;
    --line: #e2d3c0;
    --white: #ffffff;
    --radius: 22px;
    --radius-s: 12px;
    --display: "Forum", "Times New Roman", serif;
    --text: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
    --lb-bg: rgba(18, 26, 48, 0.96);
    --lb-accent: #e9c6a6;
    --lb-accent-soft: rgba(233, 198, 166, 0.22);
    --meander: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath d='M0 17H20M16 17V3H4V13H12V7H8' fill='none' stroke='%238c1730' stroke-width='2'/%3E%3C/svg%3E");
    --meander-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath d='M0 17H20M16 17V3H4V13H12V7H8' fill='none' stroke='%23d7a67e' stroke-width='2'/%3E%3C/svg%3E");
}

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: 96px;
}

body {
    margin: 0;
    background: var(--linen);
    color: var(--ink);
    font-family: var(--text);
    font-size: 1.0625rem;
    line-height: 1.65;
    overflow-x: clip;
}

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

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

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

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

h1,
h2,
h3 {
    font-family: var(--display);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -0.01em;
    margin: 0 0 0.5em;
    color: var(--navy);
}

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

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

p {
    margin: 0 0 1em;
}

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

.visually-hidden {
    position: absolute !important;
    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;
    background: var(--navy);
    color: var(--white);
    padding: 10px 16px;
    border-radius: 8px;
}

.skip:focus {
    top: 12px;
}

/* ---- buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 24px;
    border-radius: 999px;
    border: 2px solid transparent;
    font: 600 1rem/1.2 var(--text);
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-wine {
    background: var(--wine);
    color: var(--white);
    box-shadow: 0 10px 24px -12px rgba(140, 23, 48, 0.8);
}

.btn-wine:hover {
    background: var(--wine-deep);
}

.btn-line {
    border-color: var(--navy);
    color: var(--navy);
}

.btn-line:hover {
    background: var(--navy);
    color: var(--white);
}

.btn-light {
    background: var(--linen);
    color: var(--navy);
}

.btn-ghost {
    border-color: rgba(250, 245, 238, 0.7);
    color: var(--linen);
}

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

.link-arrow {
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid currentColor;
    padding-bottom: 2px;
}

.link-arrow::after {
    content: " →";
}

/* ---- the Greek-key band, from the lettering of the logo */

.meander {
    height: 22px;
    background: var(--meander) repeat-x left center / 22px 22px;
    opacity: 0.85;
}

.meander-light {
    background-image: var(--meander-light);
    opacity: 0.6;
}

/* ---- header */

.top {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(250, 245, 238, 0.9);
    backdrop-filter: blur(14px) saturate(1.3);
    -webkit-backdrop-filter: blur(14px) saturate(1.3);
    border-bottom: 1px solid var(--line);
}

.top .wrap {
    width: min(1320px, 100% - 32px);
}

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

.brand {
    flex: none;
}

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

.call {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--wine);
    color: var(--white);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.call:hover {
    background: var(--wine-deep);
}

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

.lang a,
.lang span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
    border-radius: 8px;
    text-decoration: none;
}

.lang span {
    background: var(--navy);
    color: var(--white);
}

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

.lang a:hover {
    background: var(--sand);
}

.menu-btn {
    display: none;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 8px 14px;
    border: 2px solid var(--navy);
    border-radius: 999px;
    background: transparent;
    color: var(--navy);
    font: 600 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;
}

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

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

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

.nav {
    flex-basis: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 6px;
    padding-top: 2px;
}

.nav a {
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--navy);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.98rem;
}

.nav a:hover {
    background: var(--sand);
}

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

.nav .nav-book {
    margin-left: auto;
    border: 2px solid var(--wine);
    color: var(--wine);
    font-weight: 600;
}

.nav .nav-book:hover,
.nav .nav-book[aria-current="page"] {
    background: var(--wine);
    color: var(--white);
}

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

    .brand {
        order: 0;
    }

    .nav {
        order: 1;
        flex-basis: auto;
        flex-wrap: nowrap;
        padding: 0;
        margin-left: auto;
        gap: 0;
    }

    .nav a {
        padding: 8px 10px;
        font-size: 0.95rem;
        white-space: nowrap;
    }

    .nav .nav-book {
        margin-left: 6px;
    }

    .call {
        order: 2;
        margin-left: 6px;
    }

    .lang {
        order: 3;
    }
}

/* With the script, the navigation folds behind the menu button below 1100 px. */
@media (max-width: 1099px) {
    .js .menu-btn {
        display: inline-flex;
    }

    .js .nav {
        display: none;
        flex-direction: column;
        padding: 6px 0 12px;
    }

    .js .nav.open {
        display: flex;
    }

    .js .nav a {
        padding: 12px 14px;
        border-radius: 12px;
    }

    .js .nav .nav-book {
        margin: 6px 0 0;
        text-align: center;
    }
}

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

    .top-row {
        gap: 8px 10px;
    }

    .call {
        padding: 8px 12px;
        font-size: 0.92rem;
    }

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

/* ---- hero */

.hero {
    position: relative;
    background:
        radial-gradient(120% 90% at 90% 10%, rgba(255, 255, 255, 0.55), transparent 60%),
        linear-gradient(160deg, var(--apricot-2) 0%, var(--apricot) 55%, #c98e66 100%);
    color: var(--ink);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
    gap: 48px;
    padding: clamp(40px, 6vw, 88px) 0 clamp(48px, 6vw, 80px);
}

.eyebrow {
    display: inline-block;
    margin: 0 0 18px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(250, 245, 238, 0.7);
    color: var(--wine-deep);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.hero h1 {
    font-size: clamp(2.9rem, 1.6rem + 5.6vw, 6.4rem);
    line-height: 0.95;
    color: var(--night);
    margin-bottom: 22px;
}

.hero-sub {
    display: block;
    margin-top: 14px;
    font-size: 0.42em;
    color: var(--wine-deep);
    letter-spacing: 0.01em;
}

.lead {
    font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem);
    max-width: 36em;
    color: var(--ink);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 26px 0 34px;
}

.hero-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 0;
}

.hero-facts div {
    flex: 1 1 140px;
    padding: 14px 18px;
    border-radius: var(--radius-s);
    background: rgba(250, 245, 238, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.hero-facts dt {
    font-size: 0.86rem;
    color: var(--ink-soft);
    order: 2;
}

.hero-facts dd {
    margin: 0;
    font-family: var(--display);
    font-size: 2.6rem;
    line-height: 1;
    color: var(--wine);
}

.hero-facts small {
    font-size: 0.5em;
    color: var(--wine-deep);
}

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

.hero-arch a {
    display: block;
    border-radius: 999px 999px var(--radius) var(--radius);
    overflow: hidden;
    border: 8px solid var(--linen);
    box-shadow: 0 40px 70px -40px rgba(60, 25, 10, 0.75);
    animation: arch-rise 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

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

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

.hero-arch figcaption {
    margin-top: 12px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--wine-deep);
}

@keyframes arch-rise {
    from {
        clip-path: inset(100% 0 0 0 round 999px 999px 0 0);
        transform: translateY(30px);
    }
    to {
        clip-path: inset(0 0 0 0 round 0);
        transform: none;
    }
}

.hero .meander {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px;
}

/* ---- welcome */

.welcome {
    padding: clamp(56px, 8vw, 110px) 0;
}

.welcome-grid {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: start;
}

.icon-frame {
    margin: 0;
    padding: 14px;
    background: var(--white);
    border-radius: 999px 999px 18px 18px;
    box-shadow: 0 20px 40px -24px rgba(60, 25, 10, 0.5);
    transform: rotate(-3deg);
}

.icon-frame img {
    border-radius: 999px 999px 8px 8px;
}

.definition {
    margin: 0 0 28px;
    padding: 0;
}

.definition p {
    font-family: var(--display);
    font-size: clamp(1.7rem, 1.1rem + 2.1vw, 2.9rem);
    line-height: 1.15;
    color: var(--navy);
    margin-bottom: 12px;
}

.definition footer {
    color: var(--terra-ink);
    font-weight: 600;
}

.prose {
    max-width: 44em;
}

.prose h2 {
    margin-top: 1.2em;
}

.prose ul {
    padding-left: 1.2em;
}

/* ---- section heads */

.section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: 8px 32px;
    margin-bottom: 28px;
}

.section-head h2 {
    margin: 0;
}

.section-head p {
    margin: 0;
    max-width: 38em;
    color: var(--ink-soft);
}

/* ---- rooms strip (home) */

.rooms-home {
    padding: 0 0 clamp(56px, 8vw, 100px);
}

.room-strip {
    list-style: none;
    margin: 0;
    padding: 4px 0 18px;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(250px, 1fr);
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}

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

.room-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    color: var(--ink);
    text-decoration: none;
    border: 1px solid var(--line);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.room-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 40px -28px rgba(27, 36, 64, 0.6);
}

.room-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.room-card-body {
    display: grid;
    gap: 2px;
    padding: 16px 18px 20px;
}

.room-card-name {
    font-family: var(--display);
    font-size: 1.45rem;
    line-height: 1.1;
    color: var(--navy);
}

.room-card-price {
    font-weight: 700;
    color: var(--wine);
    font-size: 1.15rem;
}

.room-card-count {
    font-size: 0.9rem;
    color: var(--ink-soft);
}

/* ---- the wall of windows */

.windows-band {
    background: var(--sand);
    padding: clamp(56px, 7vw, 96px) 0;
}

.windows-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 40px;
    align-items: center;
}

.windows {
    background: linear-gradient(180deg, var(--apricot) 0%, #c9926c 100%);
    border-radius: 120px 120px var(--radius) var(--radius);
    padding: 64px 28px 28px;
    display: grid;
    gap: 18px;
    box-shadow: inset 0 -8px 0 rgba(94, 15, 32, 0.15);
}

.win-group {
    display: grid;
    gap: 6px;
}

.win-label {
    font-size: 0.92rem;
    color: var(--night);
}

.win-label b {
    font-family: var(--display);
    font-weight: 400;
    font-size: 1.5rem;
    color: var(--wine-deep);
}

.win-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.win-row i {
    width: 22px;
    height: 30px;
    border-radius: 11px 11px 3px 3px;
    background: var(--navy);
    box-shadow: inset 0 0 0 2px rgba(250, 245, 238, 0.85);
    animation: win-light 0.5s ease both;
    animation-delay: calc(var(--i) * 45ms + 300ms);
}

.win-single .win-row i {
    --lit: #f6dfb8;
}

.win-double .win-row i {
    --lit: var(--sky);
}

.win-business .win-row i {
    --lit: #f3b9a2;
}

.win-lux .win-row i {
    --lit: #ffffff;
}

.win-row i {
    background: var(--lit, var(--sky));
}

@keyframes win-light {
    from {
        background: var(--navy);
    }
}

/* ---- distances: the signature */

.distances {
    background:
        radial-gradient(80% 60% at 0% 0%, rgba(140, 23, 48, 0.35), transparent 60%),
        linear-gradient(180deg, var(--navy) 0%, var(--night) 100%);
    color: var(--linen);
    padding: clamp(60px, 8vw, 110px) 0;
}

.distances h2 {
    color: var(--linen);
}

.dist-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px 40px;
    align-items: end;
    margin-bottom: 36px;
}

.dist-head p {
    color: #d9d4ea;
    margin: 0;
}

.dist-scale {
    display: grid;
    grid-template-columns: 7.5rem minmax(0, 1fr);
    gap: 18px;
    margin-bottom: 10px;
    font-size: 0.82rem;
    color: #c4c9de;
}

.dist-scale-label {
    align-self: end;
}

.dist-ticks {
    position: relative;
    height: 28px;
    border-bottom: 1px solid rgba(250, 245, 238, 0.35);
}

.dist-ticks span {
    position: absolute;
    left: calc(var(--at) * 100%);
    bottom: 4px;
    transform: translateX(-50%);
    white-space: nowrap;
}

.dist-ticks span:first-child {
    transform: none;
}

.dist-ticks span:last-child {
    transform: translateX(-100%);
}

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

.dist-list li {
    display: grid;
    grid-template-columns: 7.5rem minmax(0, 1fr);
    grid-template-areas: "num bar" "num places";
    column-gap: 18px;
    padding: 10px 0;
    border-bottom: 1px dashed rgba(250, 245, 238, 0.16);
}

.dist-num {
    grid-area: num;
    font-family: var(--display);
    font-size: clamp(2rem, 1.5rem + 1.6vw, 3rem);
    line-height: 1;
    color: var(--apricot-2);
}

.dist-num small {
    font-size: 0.45em;
    color: #d9d4ea;
}

.dist-bar {
    grid-area: bar;
    position: relative;
    height: 12px;
    border-radius: 999px;
    background: rgba(250, 245, 238, 0.08);
    overflow: hidden;
    margin-top: 6px;
}

.dist-bar span {
    position: absolute;
    inset: 0 auto 0 0;
    width: max(calc(var(--km) * 100%), 14px);
    border-radius: inherit;
    background: linear-gradient(90deg, var(--sky), var(--apricot) 60%, #e07d6a);
}

.dist-bar span::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--linen);
    box-shadow: 0 0 0 3px rgba(250, 245, 238, 0.25);
}

.dist-places {
    grid-area: places;
    padding-top: 8px;
    color: var(--linen);
    font-size: 1rem;
}

@supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
        .dist-bar span {
            animation: bar-fill linear both;
            animation-timeline: view();
            animation-range: entry 10% cover 35%;
        }
    }
}

@keyframes bar-fill {
    from {
        width: 14px;
    }
}

/* ---- services bento (home) */

.services-home {
    padding: clamp(56px, 8vw, 100px) 0;
}

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

.bento li {
    padding: 24px;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--line);
    color: var(--ink-soft);
}

.bento li:nth-child(1) {
    background: var(--navy);
    color: #e6e2f0;
    border-color: var(--navy);
}

.bento li:nth-child(1) strong {
    color: var(--apricot-2);
}

.bento li:nth-child(5) {
    background: var(--apricot-2);
    border-color: var(--apricot-2);
    color: var(--ink);
}

.bento strong {
    display: block;
    font-family: var(--display);
    font-weight: 400;
    font-size: 1.6rem;
    line-height: 1.1;
    color: var(--navy);
    margin-bottom: 6px;
}

.bento-wide {
    grid-column: span 2;
}

/* ---- call band */

.band-call {
    background: linear-gradient(120deg, var(--wine-deep) 0%, var(--wine) 100%);
    color: var(--linen);
    padding: clamp(48px, 6vw, 80px) 0;
}

.band-call h2 {
    color: var(--linen);
}

.band-call p {
    margin: 0;
    color: #f6e3e6;
    max-width: 34em;
}

.call-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px 40px;
    align-items: center;
}

.call-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.band-call .btn-wine {
    background: var(--night);
}

.band-call .btn-wine:hover {
    background: var(--navy-2);
}

/* ---- inner pages */

.page-hero {
    position: relative;
    background: linear-gradient(160deg, var(--apricot-2), var(--apricot));
    padding: clamp(44px, 6vw, 84px) 0 clamp(54px, 6vw, 90px);
    overflow: hidden;
}

.page-hero h1 {
    font-size: clamp(2.6rem, 1.6rem + 4vw, 5rem);
    line-height: 0.98;
    color: var(--night);
    margin-bottom: 14px;
}

.page-hero .lead {
    margin: 0;
}

.page-hero .meander {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 8px;
}

.band {
    padding: clamp(48px, 7vw, 90px) 0;
}

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

.band-navy {
    background: linear-gradient(180deg, var(--navy), var(--night));
    color: var(--linen);
}

.band-navy h2,
.band-navy h3 {
    color: var(--linen);
}

.band-navy a {
    color: var(--apricot-2);
}

/* price table */

.prices {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 32px;
    align-items: start;
}

.price-list {
    list-style: none;
    margin: 0;
    padding: 0;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--line);
    overflow: hidden;
}

.price-list li {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 4px 16px;
    padding: 16px 22px;
    border-bottom: 1px solid var(--line);
}

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

.price-list a {
    color: var(--navy);
    font-weight: 600;
    text-decoration: none;
}

.price-list a:hover {
    text-decoration: underline;
}

.price-list .price {
    font-family: var(--display);
    font-size: 1.9rem;
    line-height: 1;
    color: var(--wine);
    white-space: nowrap;
}

.price-list .extra {
    background: var(--sand);
}

.price-list .extra span:first-child {
    color: var(--ink-soft);
}

.price-note {
    font-size: 0.92rem;
    color: var(--ink-soft);
    margin-top: 12px;
}

.equip {
    background: var(--navy);
    color: var(--linen);
    border-radius: var(--radius);
    padding: 28px;
}

.equip h2 {
    color: var(--linen);
    font-size: 2rem;
}

.ticks {
    list-style: none;
    margin: 0;
    padding: 0;
    columns: 2 12em;
    column-gap: 20px;
}

.ticks li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 6px;
    break-inside: avoid;
}

.ticks li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 10px;
    height: 10px;
    border-radius: 5px 5px 1px 1px;
    background: var(--apricot);
}

.ticks-dark li::before {
    background: var(--wine);
}

/* room types */

.room-type {
    padding: clamp(40px, 5vw, 64px) 0;
    border-top: 1px solid var(--line);
}

.room-type:nth-of-type(even) {
    background: rgba(241, 230, 216, 0.55);
}

.room-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 24px;
    margin-bottom: 20px;
}

.room-head h2 {
    margin: 0;
    font-size: clamp(1.9rem, 1.3rem + 2vw, 2.9rem);
}

.room-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--white);
    border: 1px solid var(--line);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--navy);
}

.chip-price {
    background: var(--wine);
    border-color: var(--wine);
    color: var(--white);
}

/* photo grids (rooms, gallery) */

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

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

.photos a {
    display: block;
    border-radius: var(--radius-s);
    overflow: hidden;
    background: var(--sand);
}

.photos img {
    width: 100%;
    transition: transform 0.4s ease;
}

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

.album {
    padding: clamp(36px, 5vw, 56px) 0 8px;
}

.album h2 {
    font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.5rem);
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}

.album h2 small {
    font-family: var(--text);
    font-size: 0.95rem;
    color: var(--ink-soft);
}

.album-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 22px 0 0;
    padding: 0;
}

.album-nav a {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(250, 245, 238, 0.75);
    color: var(--night);
    text-decoration: none;
    font-weight: 500;
}

.album-nav a:hover {
    background: var(--linen);
}

/* panorama photos */

.panorama {
    margin: 0;
}

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

.panorama figcaption {
    font-size: 0.9rem;
    color: var(--ink-soft);
    margin-top: 8px;
}

/* services page */

.service-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
}

.service-grid li {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 18px 20px;
    border-radius: var(--radius-s);
    background: var(--white);
    border: 1px solid var(--line);
    font-weight: 500;
    color: var(--navy);
}

.service-grid li::before {
    content: "";
    flex: none;
    width: 14px;
    height: 18px;
    border-radius: 7px 7px 2px 2px;
    background: var(--wine);
}

.duo {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}

.card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: clamp(22px, 3vw, 34px);
}

.card h2 {
    font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.3rem);
}

/* location page */

.facts-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
}

.facts-row div {
    padding: 22px;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--line);
}

.facts-row dd {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem);
    line-height: 1;
    color: var(--wine);
}

.facts-row dd small {
    font-size: 0.45em;
}

.facts-row dt {
    color: var(--ink-soft);
}

.facts-row div {
    display: flex;
    flex-direction: column-reverse;
    gap: 8px;
}

.transport {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.transport li {
    display: grid;
    grid-template-columns: 6.4rem minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 14px 18px;
    border-radius: var(--radius-s);
    background: rgba(250, 245, 238, 0.06);
    border: 1px solid rgba(250, 245, 238, 0.14);
}

.transport b {
    display: grid;
    place-items: center;
    min-width: 3.4rem;
    justify-self: start;
    height: 3.4rem;
    padding: 0 12px;
    border-radius: 999px;
    white-space: nowrap;
    background: var(--apricot-2);
    color: var(--night);
    font-family: var(--display);
    font-weight: 400;
    font-size: 1.15rem;
    line-height: 1;
    text-align: center;
}

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

.routes li {
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--sand);
    color: var(--navy);
    font-weight: 500;
}

/* Sofia page */

.sights {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
}

.sight {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    height: 100%;
}

.sight a {
    display: block;
}

.sight img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.sight-body {
    padding: 16px 20px 20px;
}

.sight h3 {
    font-size: 1.45rem;
    margin-bottom: 4px;
}

.sight p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.97rem;
}

.city-facts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 14px;
    margin: 0;
}

.city-facts div {
    padding: 18px 20px;
    border-radius: var(--radius-s);
    background: rgba(250, 245, 238, 0.06);
    border: 1px solid rgba(250, 245, 238, 0.16);
}

.city-facts dt {
    color: var(--apricot-2);
    font-weight: 600;
    font-size: 0.92rem;
}

.city-facts dd {
    margin: 4px 0 0;
    color: var(--linen);
}

/* contact page */

.big-phone {
    display: inline-block;
    font-family: var(--display);
    font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.7rem);
    line-height: 1.1;
    color: var(--wine);
    text-decoration: none;
}

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

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

.contact-list dt {
    font-weight: 600;
    color: var(--terra-ink);
    font-size: 0.92rem;
}

.contact-list dd {
    margin: 2px 0 0;
}

/* forms */

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

.contact-form label,
.contact-form legend {
    display: block;
    padding: 0;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
    font-size: 0.96rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    min-height: 48px;
    padding: 11px 14px;
    border: 1.5px solid #c9b8a3;
    border-radius: 12px;
    background: var(--white);
    color: var(--ink);
    font: 1rem/1.4 var(--text);
}

.contact-form textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-form input:focus-visible,
.contact-form select:focus-visible,
.contact-form textarea:focus-visible {
    outline: 3px solid var(--wine);
    outline-offset: 1px;
    border-color: var(--wine);
}

.contact-form ul {
    list-style: none;
    margin: 4px 0 0;
    padding: 0;
    color: var(--wine);
    font-weight: 600;
}

.contact-form fieldset {
    border: 0;
    margin: 0;
    padding: 0;
    min-width: 0;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.form-row-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* the guests row: a label that wraps (an age hint) must not push its select below the others */
.form-row-3 > div {
    display: flex;
    flex-direction: column;
}

.form-row-3 select {
    margin-top: auto;
}

.form-sub {
    display: inline;
    font-weight: 400;
    color: var(--ink-soft);
    font-size: 0.86rem;
}

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

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

.contact-sent {
    padding: 16px 20px;
    border-radius: var(--radius-s);
    background: #e3f0e6;
    color: #173d24;
    margin-bottom: 18px;
}

.contact-noscript {
    color: var(--wine);
}

/* ---- footer */

.foot {
    background: var(--night);
    color: #d6d3e3;
    padding: 0 0 28px;
}

.foot .meander {
    margin-bottom: clamp(36px, 5vw, 60px);
}

.foot-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.foot h2 {
    font-size: 1.5rem;
    color: var(--apricot-2);
    margin-bottom: 12px;
}

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

.foot address {
    font-style: normal;
}

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

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

.foot-label {
    margin: 0 0 2px;
    font-size: 0.88rem;
    color: #b7b3c8;
}

.foot-phone {
    font-weight: 600;
    white-space: nowrap;
}

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

.foot-bottom {
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid rgba(250, 245, 238, 0.14);
    font-size: 0.9rem;
}

.foot-bottom p {
    margin: 0;
}

/* ---- 404 */

.not-found {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 40px 16px;
    text-align: center;
    background: linear-gradient(160deg, var(--apricot-2), var(--apricot));
}

.not-found > div {
    max-width: 620px;
    background: var(--linen);
    border-radius: 200px 200px var(--radius) var(--radius);
    padding: 70px 28px 36px;
}

.not-found img {
    margin: 0 auto 20px;
    height: 72px;
    width: auto;
}

.not-found h1 {
    font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem);
}

.not-found h2 {
    font-size: 1.8rem;
    margin-top: 28px;
}

/* ---- responsive */

@media (max-width: 960px) {
    .hero-grid,
    .windows-grid,
    .prices,
    .duo,
    .call-grid,
    .dist-head {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-arch {
        width: min(100%, 380px);
    }

    .foot-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bento {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .welcome-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .icon-frame {
        justify-self: start;
    }

    .bento,
    .facts-row,
    .form-row,
    .form-row-3 {
        grid-template-columns: minmax(0, 1fr);
    }

    .bento-wide {
        grid-column: auto;
    }

    .foot-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .dist-scale,
    .dist-list li {
        grid-template-columns: 4.6rem minmax(0, 1fr);
        column-gap: 12px;
    }

    .dist-scale-label {
        display: none;
    }

    .dist-ticks span {
        font-size: 0.8rem;
    }

    .dist-ticks span:not(:first-child):not(:last-child) {
        display: none;
    }

    .windows {
        padding: 48px 18px 20px;
        border-radius: 80px 80px var(--radius) var(--radius);
    }

    .win-row i {
        width: 18px;
        height: 25px;
    }

    .room-strip {
        grid-auto-columns: 78%;
    }
}

@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;
    }
}

/* ---- additions: the phone card beside the forms */

.equip a {
    color: var(--linen);
}

.equip .big-phone {
    color: var(--apricot-2);
}

.after-card {
    margin-top: 32px;
}

.photos-one {
    columns: 1;
}
