/* Beautymed – olive plate, stone paper, saffron lines.
   The olive (#696556) is the plate the original logo was drawn for; the saffron is the logo's orange.
   Display: Cactus Classical Serif. Text: Liter. Both SIL OFL, cut to Latin + Cyrillic. */

@font-face {
    font-family: "Cactus Classical Serif";
    src: url("../fonts/cactus-classical-serif.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

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

:root {
    --plate: #696556;
    --plate-nav: #5a5749;
    --night: #26251f;
    --kelp: #22302a;
    --paper: #f3f3ee;
    --paper-2: #e8e9e1;
    --card: #ffffff;
    --ink: #1e1f1a;
    --muted: #575a4e;
    --line: #cfd0c5;
    --saffron: #ff9900;
    --saffron-ink: #9a4f00;
    --on-dark: #f4f3ec;
    --on-dark-muted: #cfcdbf;
    --display: "Cactus Classical Serif", "Georgia", serif;
    --text: "Liter", "Segoe UI", system-ui, sans-serif;
    --radius: 18px;
    --wrap: 1180px;
}

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

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

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

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

a {
    color: var(--saffron-ink);
    text-underline-offset: .18em;
}

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

:focus-visible {
    outline: 3px solid var(--saffron);
    outline-offset: 3px;
    box-shadow: 0 0 0 6px var(--ink);
    border-radius: 4px;
}

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

h1 {
    font-size: clamp(2.3rem, 1.4rem + 4.2vw, 4.6rem);
}

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

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

p {
    margin: 0 0 1em;
}

.wrap {
    width: min(100% - 32px, var(--wrap));
    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;
    padding: 10px 16px;
    background: var(--saffron);
    color: var(--ink);
    font-weight: 600;
    border-radius: 0 0 10px 10px;
}

.skip:focus {
    top: 0;
}

/* ---- header: the olive plate of the original logo ---- */

.top {
    background: var(--plate);
    color: var(--on-dark);
    position: relative;
    z-index: 20;
}

@media (min-width: 900px) {
    .top {
        position: sticky;
        top: 0;
        box-shadow: 0 10px 30px -18px rgba(20, 20, 10, .6);
    }
}

.top-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 20px;
    padding-block: 10px;
}

.brand {
    display: block;
    flex: 0 1 393px;
    line-height: 0;
    border-radius: 6px;
}

.brand img {
    display: block;
    width: 100%;
    max-width: 393px;
}

.top-tools {
    display: flex;
    align-items: center;
    gap: 12px;
}

.call {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--saffron);
    color: var(--ink);
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .2s ease, box-shadow .2s ease;
}

.call:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .6);
}

.lang {
    display: flex;
    gap: 2px;
    font-size: .9rem;
    letter-spacing: .06em;
}

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

.lang span {
    background: rgba(0, 0, 0, .22);
}

.lang a:hover {
    background: rgba(255, 255, 255, .12);
}

.nav {
    background: var(--plate-nav);
}

.nav-row {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 6px;
    padding-block: 4px;
}

.nav a {
    position: relative;
    padding: 9px 10px;
    color: var(--on-dark);
    text-decoration: none;
    font-size: .98rem;
    letter-spacing: .02em;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 4px;
    height: 2px;
    background: var(--saffron);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
}

.nav a:hover::after,
.nav a[aria-current]::after {
    transform: scaleX(1);
}

@media (max-width: 899px) {
    .brand {
        flex-basis: 100%;
        max-width: 330px;
    }

    .top-tools {
        width: 100%;
        justify-content: space-between;
    }

    .nav a {
        padding: 8px 8px;
        font-size: .95rem;
    }
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 10px 22px;
    border-radius: 999px;
    border: 2px solid transparent;
    font: inherit;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s ease, background-color .2s ease, color .2s ease;
}

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

.btn-saffron {
    background: var(--saffron);
    color: var(--ink);
}

.btn-line {
    border-color: currentColor;
    color: var(--on-dark);
}

.btn-ink {
    background: var(--ink);
    color: var(--on-dark);
}

/* ---- hero with the plan ---- */

.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(1200px 500px at 85% -10%, rgba(255, 153, 0, .16), transparent 60%),
        radial-gradient(900px 600px at -10% 110%, rgba(105, 101, 86, .55), transparent 60%),
        var(--night);
    color: var(--on-dark);
    padding-block: clamp(36px, 6vw, 84px);
}

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

@media (min-width: 980px) {
    .hero-grid {
        grid-template-columns: 1fr 1.05fr;
    }
}

.eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    padding: 6px 14px;
    border: 1px solid rgba(255, 153, 0, .55);
    border-radius: 999px;
    color: var(--saffron);
    font-size: .9rem;
    letter-spacing: .08em;
}

.hero h1 {
    color: #fff;
}

.lead {
    font-size: clamp(1.08rem, 1rem + .4vw, 1.25rem);
    max-width: 38em;
}

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

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

.plan {
    margin: 0;
}

.plan-svg {
    display: block;
    width: 100%;
    height: auto;
    color: var(--on-dark);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .03);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
}

.plan .room {
    fill: rgba(255, 153, 0, 0);
    stroke: var(--saffron);
    stroke-width: 2.2;
    transition: fill .3s ease;
}

.plan .fx {
    fill: none;
    stroke: rgba(244, 243, 236, .62);
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.plan .pin circle {
    fill: var(--saffron);
}

.plan .pin text {
    fill: var(--night);
    font-family: var(--text);
    font-size: 14px;
    font-weight: 600;
}

.plan figcaption {
    margin-top: 16px;
}

.plan-caption {
    display: block;
    margin-bottom: 10px;
    color: var(--saffron);
    font-size: .9rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.plan-legend {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 4px 18px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: zone;
    color: var(--on-dark-muted);
    font-size: .95rem;
}

.plan-legend li {
    counter-increment: zone;
    display: flex;
    gap: 10px;
    align-items: baseline;
    padding: 3px 0;
    transition: color .2s ease;
}

.plan-legend li::before {
    content: counter(zone);
    flex: none;
    width: 1.6em;
    height: 1.6em;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid var(--saffron);
    color: var(--saffron);
    font-size: .8rem;
}

.plan-legend li:hover {
    color: #fff;
}

.plan:has(.lg1:hover) .z1 .room,
.plan:has(.lg2:hover) .z2 .room,
.plan:has(.lg3:hover) .z3 .room,
.plan:has(.lg4:hover) .z4 .room,
.plan:has(.lg5:hover) .z5 .room,
.plan:has(.lg6:hover) .z6 .room,
.plan:has(.lg7:hover) .z7 .room,
.plan:has(.lg8:hover) .z8 .room {
    fill: rgba(255, 153, 0, .2);
}

@keyframes draw {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes pop {
    from {
        opacity: 0;
        transform: scale(.4);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (prefers-reduced-motion: no-preference) {
    .plan .room,
    .plan .fx {
        stroke-dasharray: 1;
        stroke-dashoffset: 1;
        animation: draw 1.4s cubic-bezier(.6, .1, .3, 1) forwards;
    }

    .plan .fx {
        animation-duration: 1.1s;
    }

    .plan .z1 .room { animation-delay: .1s; }
    .plan .z2 .room { animation-delay: .25s; }
    .plan .z3 .room { animation-delay: .4s; }
    .plan .z4 .room { animation-delay: .5s; }
    .plan .z5 .room { animation-delay: .6s; }
    .plan .z6 .room { animation-delay: .7s; }
    .plan .z7 .room { animation-delay: .8s; }
    .plan .z8 .room { animation-delay: .9s; }
    .plan .z1 .fx, .plan .z2 .fx { animation-delay: 1.1s; }
    .plan .z3 .fx, .plan .z4 .fx { animation-delay: 1.3s; }
    .plan .z5 .fx, .plan .z6 .fx { animation-delay: 1.5s; }
    .plan .z7 .fx, .plan .z8 .fx { animation-delay: 1.7s; }

    .plan .pin {
        opacity: 0;
        transform-box: fill-box;
        transform-origin: center;
        animation: pop .45s ease-out forwards;
    }

    .plan .pin1 { animation-delay: 1.9s; }
    .plan .pin2 { animation-delay: 2s; }
    .plan .pin3 { animation-delay: 2.1s; }
    .plan .pin4 { animation-delay: 2.2s; }
    .plan .pin5 { animation-delay: 2.3s; }
    .plan .pin6 { animation-delay: 2.4s; }
    .plan .pin7 { animation-delay: 2.5s; }
    .plan .pin8 { animation-delay: 2.6s; }
}

/* ---- figures ---- */

.figures {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}

.figures-row {
    display: grid;
    grid-template-columns: 1fr;
}

.figures p {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin: 0;
    padding: 26px 8px;
    border-top: 1px solid var(--line);
}

.figures strong {
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(3rem, 2.2rem + 3vw, 4.8rem);
    line-height: 1;
    color: var(--saffron-ink);
}

.figures span {
    color: var(--muted);
    max-width: 14em;
}

@media (min-width: 720px) {
    .figures-row {
        grid-template-columns: repeat(3, 1fr);
    }

    .figures p {
        border-top: 0;
        border-left: 1px solid var(--line);
        padding-inline: 28px;
    }

    .figures p:first-child {
        border-left: 0;
        padding-left: 0;
    }
}

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

.section {
    padding-block: clamp(48px, 7vw, 96px);
}

.section-alt {
    background: var(--paper-2);
}

.kicker {
    margin: 0 0 10px;
    color: var(--saffron-ink);
    font-size: .88rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-family: var(--text);
}

.kicker-light {
    color: var(--saffron);
}

.h-big {
    font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem);
    max-width: 18em;
}

.section-lead {
    max-width: 44em;
    color: var(--muted);
    font-size: 1.12rem;
}

/* numbered trail */

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

@media (min-width: 900px) {
    .trail {
        grid-template-columns: repeat(3, 1fr);
        gap: 28px;
    }
}

.trail li {
    position: relative;
    padding: 26px 0 30px;
    border-top: 2px solid var(--ink);
}

.trail-n {
    display: block;
    font-family: var(--display);
    font-size: 3.6rem;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1.2px var(--saffron-ink);
    margin-bottom: 14px;
}

.trail p {
    color: var(--muted);
}

.trail-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.trail-links a,
.chip {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--card);
    color: var(--ink);
    text-decoration: none;
    font-size: .95rem;
    transition: border-color .2s ease, background-color .2s ease;
}

.trail-links a:hover,
.chip:hover {
    border-color: var(--saffron-ink);
    background: #fff7ea;
}

/* brands strip */

.brands {
    background:
        linear-gradient(115deg, rgba(255, 153, 0, .08), transparent 40%),
        var(--kelp);
    color: var(--on-dark);
    padding-block: clamp(44px, 6vw, 80px);
}

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

.brand-strip li {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 24px 22px 26px;
    background: rgba(255, 255, 255, .04);
    border-top: 3px solid var(--saffron);
}

.brand-name {
    font-family: var(--display);
    font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.3rem);
    line-height: 1.1;
    color: #fff;
}

.brand-from {
    color: var(--saffron);
    font-size: .85rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.brand-strip li > span:nth-child(3) {
    color: var(--on-dark-muted);
    flex: 1;
}

.brand-strip a {
    color: #fff;
    margin-top: 8px;
}

/* equipment grid */

.equip-grid {
    list-style: none;
    margin: 34px 0 0;
    padding: 0;
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
}

@media (max-width: 559px) {
    .equip-grid {
        gap: 12px;
    }

    .equip-card {
        padding: 16px 14px 18px;
    }

    .equip-card img {
        height: 170px !important;
    }

    .equip-name {
        font-size: 1.3rem !important;
    }
}

.equip-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 22px 22px 24px;
    border-radius: var(--radius);
    background: var(--card);
    color: var(--ink);
    text-decoration: none;
    box-shadow: 0 1px 0 var(--line), 0 18px 40px -30px rgba(30, 31, 26, .55);
    transition: transform .25s ease, box-shadow .25s ease;
}

.equip-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 1px 0 var(--line), 0 28px 50px -30px rgba(30, 31, 26, .7);
}

.equip-card img {
    width: auto;
    height: 230px;
    align-self: center;
    margin-bottom: 16px;
}

.equip-name {
    font-family: var(--display);
    font-size: 1.6rem;
    line-height: 1.1;
    margin-bottom: 6px;
}

.equip-sum {
    color: var(--muted);
    font-size: .98rem;
}

.equip-card:hover .equip-name {
    color: var(--saffron-ink);
}

/* documents */

.docs {
    list-style: none;
    margin: 26px 0 0;
    padding: 0;
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
}

.doc {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    height: 100%;
    padding: 22px;
    border-radius: var(--radius);
    background: var(--card);
    border: 1px solid var(--line);
    color: var(--ink);
    text-decoration: none;
    transition: border-color .2s ease, transform .2s ease;
}

.doc:hover {
    border-color: var(--saffron-ink);
    transform: translateY(-2px);
}

.doc-type {
    flex: none;
    display: grid;
    place-items: center;
    width: 58px;
    height: 72px;
    border-radius: 8px 18px 8px 8px;
    background: var(--night);
    color: var(--saffron);
    font-weight: 600;
    letter-spacing: .08em;
}

.doc-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.doc-text strong {
    font-family: var(--display);
    font-weight: 400;
    font-size: 1.35rem;
    line-height: 1.15;
}

.doc-text small {
    color: var(--muted);
    font-size: .95rem;
}

.doc-text em {
    font-style: normal;
    color: var(--saffron-ink);
    font-size: .88rem;
    letter-spacing: .06em;
}

/* call band */

.band-call {
    background: var(--saffron);
    color: var(--ink);
    padding-block: clamp(40px, 5vw, 64px);
}

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

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

.band-call h2 {
    margin-bottom: .3em;
}

.band-call p {
    margin: 0;
}

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

.band-call .btn-saffron {
    background: var(--ink);
    color: var(--on-dark);
    font-size: 1.1rem;
}

.band-call .btn-line {
    color: var(--ink);
}

.band-call :focus-visible {
    outline-color: var(--ink);
    box-shadow: 0 0 0 6px var(--saffron);
}

/* ---- inner pages ---- */

.page-hero {
    background:
        radial-gradient(900px 400px at 100% 0, rgba(255, 153, 0, .14), transparent 60%),
        var(--night);
    color: var(--on-dark);
    padding-block: clamp(34px, 5vw, 72px);
}

.page-hero h1 {
    color: #fff;
    max-width: 16em;
}

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

.crumbs {
    margin: 0 0 16px;
    font-size: .92rem;
    color: var(--on-dark-muted);
}

.crumbs ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 0;
}

.crumbs li + li::before {
    content: "/";
    margin: 0 8px;
    color: var(--saffron);
}

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

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

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

.ph-photo {
    margin: 0;
    justify-self: center;
    padding: 22px 36px;
    border-radius: var(--radius);
    background: #fff;
}

.ph-photo img {
    display: block;
    height: 300px;
    width: auto;
}

.prose {
    max-width: 46em;
}

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

.prose h2:first-child {
    margin-top: 0;
}

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

.ticks li {
    position: relative;
    padding: 7px 0 7px 32px;
    border-bottom: 1px solid var(--line);
}

.ticks li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 15px;
    width: 12px;
    height: 7px;
    border-left: 2px solid var(--saffron-ink);
    border-bottom: 2px solid var(--saffron-ink);
    transform: rotate(-45deg);
}

.two-col {
    display: grid;
    gap: clamp(28px, 4vw, 56px);
}

@media (min-width: 900px) {
    .two-col {
        grid-template-columns: 1.3fr 1fr;
    }
}

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

.panel h2,
.panel h3 {
    margin-top: 0;
}

.panel-dark {
    background: var(--night);
    color: var(--on-dark);
    border-color: transparent;
}

.panel-dark a {
    color: #fff;
}

.modules {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

.modules li {
    padding: 20px 22px;
    border-radius: 14px;
    background: var(--card);
    border-left: 4px solid var(--saffron);
}

.modules h3 {
    font-size: 1.3rem;
    margin-bottom: .3em;
}

.modules p {
    margin: 0;
    color: var(--muted);
}

.specs {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 6px 18px;
    margin: 0;
}

.specs dt {
    color: var(--on-dark-muted);
}

.specs dd {
    margin: 0;
}

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

.swatches li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.swatches i {
    flex: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .5);
}

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

.chip[aria-current] {
    background: var(--ink);
    color: var(--on-dark);
    border-color: var(--ink);
}

/* products */

.product-rows {
    display: grid;
    gap: 22px;
}

.product {
    display: grid;
    gap: 18px 36px;
    padding: clamp(24px, 3.5vw, 44px);
    border-radius: var(--radius);
    background: var(--card);
    border: 1px solid var(--line);
}

@media (min-width: 860px) {
    .product {
        grid-template-columns: 300px 1fr;
    }
}

.product-mark {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    padding: 24px;
    border-radius: 14px;
    color: #fff;
    min-height: 170px;
}

.product-mark strong {
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(2rem, 1.6rem + 1.2vw, 2.6rem);
    line-height: 1.05;
}

.product-mark span {
    font-size: .88rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--on-dark);
}

.mark-sea {
    background: linear-gradient(140deg, #22302a, #2f4a3f 70%, #3b5d50);
}

.mark-bali {
    background: linear-gradient(140deg, #26251f, #4a4636 70%, #696556);
}

.product h2 {
    margin-top: 0;
}

.note {
    padding: 18px 22px;
    border-radius: 14px;
    background: #fff7ea;
    border-left: 4px solid var(--saffron);
}

/* consulting steps */

.steps {
    list-style: none;
    margin: 30px 0 0;
    padding: 0;
    counter-reset: step;
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.steps li {
    counter-increment: step;
    position: relative;
    padding: 70px 22px 24px;
    border-radius: var(--radius);
    background: var(--card);
    border: 1px solid var(--line);
    font-size: 1.08rem;
}

.steps li::before {
    content: counter(step, decimal-leading-zero);
    position: absolute;
    top: 16px;
    left: 22px;
    font-family: var(--display);
    font-size: 2.4rem;
    line-height: 1;
    color: var(--saffron-ink);
}

/* hotel SPA models */

.models {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
    margin-top: 28px;
}

.model {
    display: flex;
    flex-direction: column;
    padding: 24px 22px;
    border-radius: var(--radius);
    background: var(--card);
    border: 1px solid var(--line);
}

.model-n {
    color: var(--saffron-ink);
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.model h3 {
    margin: 6px 0 14px;
    font-size: 1.45rem;
    hyphens: auto;
    overflow-wrap: break-word;
}

.model dl {
    display: grid;
    grid-template-columns: minmax(7.5em, 40%) 1fr;
    gap: 4px 12px;
    margin: 0 0 14px;
    font-size: .95rem;
}

.model dt {
    color: var(--muted);
}

.model dd {
    margin: 0;
}

.bar {
    height: 10px;
    border-radius: 99px;
    background: var(--paper-2);
    overflow: hidden;
    margin: 4px 0 14px;
}

.bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--saffron-ink), var(--saffron));
}

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

        @keyframes grow {
            from {
                transform: scaleX(0);
                transform-origin: left;
            }
            to {
                transform: scaleX(1);
                transform-origin: left;
            }
        }
    }
}

.model ul {
    margin: 0;
    padding-left: 1.1em;
    color: var(--muted);
    font-size: .95rem;
}

.model details {
    margin-top: auto;
    padding-top: 12px;
}

.model summary {
    cursor: pointer;
    color: var(--saffron-ink);
    font-weight: 600;
}

.types {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
}

.types > li {
    padding: 22px;
    border-radius: var(--radius);
    background: var(--night);
    color: var(--on-dark);
}

.types h3 {
    color: var(--saffron);
}

.types ul {
    margin: 0;
    padding-left: 1.1em;
    color: var(--on-dark-muted);
}

.types ul li + li {
    margin-top: 8px;
}

blockquote.quote {
    margin: 0 0 1.4em;
    padding: 6px 0 6px 22px;
    border-left: 3px solid var(--saffron);
    font-family: var(--display);
    font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem);
    line-height: 1.3;
}

/* contact */

.contact-grid {
    display: grid;
    gap: 22px;
}

@media (min-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr 1.1fr;
    }
}

.big-phone {
    display: inline-block;
    font-family: var(--display);
    font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
    line-height: 1.1;
    color: var(--saffron);
    text-decoration: none;
}

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

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

.contact-list dt {
    color: var(--saffron);
    font-size: .85rem;
    letter-spacing: .1em;
    text-transform: uppercase;
}

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

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

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

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #a9ab9e;
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    font: inherit;
}

.contact-form textarea {
    min-height: 160px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--saffron-ink);
}

.contact-form .btn {
    justify-self: start;
    background: var(--ink);
    color: var(--on-dark);
}

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

.contact-sent {
    margin-bottom: 18px;
    padding: 16px 20px;
    border-radius: 14px;
    background: #fff7ea;
    border-left: 4px solid var(--saffron);
}

.contact-form ul {
    margin: 4px 0 0;
    padding-left: 1.1em;
    color: #8a1c00;
}

/* ---- footer: olive plate ---- */

.foot {
    background: var(--plate);
    color: var(--on-dark);
    padding-top: clamp(40px, 5vw, 64px);
    font-size: .98rem;
}

.foot a {
    color: #fff;
}

.foot h2 {
    font-family: var(--text);
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 12px;
}

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

.foot-brand img {
    display: block;
    width: 100%;
    max-width: 393px;
    margin-bottom: 14px;
}

.foot-brand {
    grid-column: 1 / -1;
}

@media (min-width: 1100px) {
    .foot-grid {
        grid-template-columns: 1.6fr 1fr 1.1fr 1.1fr;
    }

    .foot-brand {
        grid-column: auto;
    }
}

.foot address {
    font-style: normal;
}

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

.foot-bottom {
    margin-top: 36px;
    padding-block: 18px 22px;
    border-top: 1px solid rgba(255, 255, 255, .22);
    font-size: .9rem;
}

.foot-bottom p {
    margin: 0;
}

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

.not-found {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 32px 16px;
    background: var(--night);
    color: var(--on-dark);
}

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

.not-found .nf-logo {
    display: inline-block;
    padding: 10px 14px;
    border-radius: 12px;
    background: var(--plate);
    margin-bottom: 24px;
}

.not-found .nf-logo img {
    display: block;
}

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

.not-found [lang="en"] {
    margin-top: 34px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .2);
}

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

.lightbox {
    --lb-bg: rgba(20, 20, 16, .94);
    --lb-text: #f4f3ec;
    --lb-accent: #ff9900;
    --lb-accent-soft: rgba(255, 153, 0, .2);
}

/* ---- additions: sub-pages ---- */

.section-tight {
    padding-top: 0;
}

.ticks-plain {
    margin: 0 0 18px;
    padding-left: 1.1em;
    color: var(--on-dark-muted);
}

.invest {
    margin: 18px 0 0;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, .16);
    color: var(--on-dark);
}

.others-h {
    margin-top: 40px;
}

.see-also {
    margin-top: 22px;
}

.h-link {
    color: inherit;
    text-decoration-color: var(--saffron);
}

.partner {
    margin-top: 18px;
    color: var(--muted);
}

.model-cash {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: .92rem;
}

.added {
    margin-top: 22px;
}

.added ol {
    margin: 0;
    padding-left: 1.3em;
    columns: 2 260px;
    column-gap: 36px;
}

.plan-panel {
    align-self: start;
    padding: clamp(18px, 3vw, 28px);
    border-radius: var(--radius);
    background: var(--night);
    color: var(--on-dark);
}
