/* assets/styles.css */
/* Палитра оставлена в духе Fiery Ocean: тёплый красный + прохладный океанический синий */
:root{
    --bg: #071018;
    --surface: #0e1a26;
    --surface-2: #112336;
    --text: #eaf2f8;
    --muted: #b8c8d6;

    --accent: #c1121f;     /* fiery */
    --accent-2: #669bbc;   /* ocean */
    --accent-3: #f48c06;   /* warm highlight */

    --border: rgba(255,255,255,.10);
    --shadow: 0 18px 50px rgba(0,0,0,.45);

    --r: 18px;
    --container: 1120px;

    --panel: rgba(255,255,255,.06);
    --panel2: rgba(255,255,255,.10);
    --text: rgba(255,255,255,.92);
    --muted: rgba(255,255,255,.70);
    --line: rgba(255,255,255,.14);
    --accent2: #669bbc;
    --sand: #fdf0d5;
    --radius: 18px;
    --radius2: 28px;
    --max: 1120px;
}

*{ box-sizing: border-box; }
html,body{ height:100%; }
body{
    margin:0;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
    color: var(--text);
    line-height: 1.55;

    /* Градиенты + шум (убирает “полосы”/banding) */

    position: relative;
    overflow-x: hidden;
    background: var(--bg); /* базовый цвет */
    isolation: isolate;    /* чтобы слои нормально смешивались */

    font-size: 16px;
}

body::before{
    content:"";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .10;
    mix-blend-mode: overlay;
    background:
            radial-gradient(900px 560px at 18% -10%, rgba(193, 18, 31, .22), transparent 60%),
            radial-gradient(950px 660px at 85% 0%, rgba(102, 155, 188, .22), transparent 55%),
            linear-gradient(180deg, rgba(255,255,255,.03), transparent 30%),
            var(--bg);
}

a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; }

code{ color: #d8e7f3; background: rgba(255,255,255,.06); padding: .15em .35em; border-radius: 8px; border: 1px solid var(--border); }

.skip{
    position:absolute; left:-9999px; top:auto;
    width:1px; height:1px; overflow:hidden;
}
.skip:focus{
    left: 12px; top: 12px; width:auto; height:auto;
    padding: 10px 12px; border-radius: 12px;
    background: rgba(0,0,0,.65); border: 1px solid var(--border);
    z-index: 10000;
}

.container{
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 18px;
}

.header{
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(10px);
    background: rgba(7,16,24,.55);
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.header__bar{
    display:flex; align-items:center; justify-content:space-between;
    gap: 14px;
    padding: 12px 0;
}

.brand{ display:flex; flex-direction:column; line-height: 1.1; }
.brand__title{
    font-weight: 800;
    letter-spacing: .2px;
}
.brand__tag{
    font-size: 12px;
    color: var(--muted);
}

.nav{
    display:flex;
    gap: 10px;
    align-items:center;
}
.nav__link{
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid transparent;
    color: var(--muted);
    transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.nav__link:hover{
    text-decoration:none;
    transform: translateY(-1px);
    background: rgba(255,255,255,.05);
    border-color: rgba(255,255,255,.10);
    color: var(--text);
}
.nav__link.is-active{
    color: var(--text);
    background: rgba(102, 155, 188, .14);
    border-color: rgba(102, 155, 188, .35);
}

.nav-toggle{
    display:none;
    width: 44px; height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.04);
    cursor: pointer;
}
.nav-toggle span{
    display:block;
    height: 2px;
    margin: 6px 10px;
    background: rgba(255,255,255,.75);
    border-radius: 999px;
}

.hero{
    padding: 34px 0 10px;
}
.hero__grid{
    display:grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 18px;
    align-items: start;
}
.kicker{
    margin: 0 0 10px;
    display:inline-flex;
    align-items:center;
    gap: 10px;
    color: rgba(255,255,255,.88);
}
.kicker::before{
    content:"";
    width: 10px; height: 10px;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 0 0 6px rgba(193,18,31,.18);
}
h1{ margin: 0 0 12px; font-size: clamp(28px, 4vw, 44px); letter-spacing: -.4px; }
.lead{ margin:0 0 18px; color: rgba(255,255,255,.86); max-width: 58ch; }

.hero__actions{ display:flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap: 10px;
    padding: 11px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.04);
    color: var(--text);
    text-decoration:none;
    cursor: pointer;
    transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover{ transform: translateY(-1px); text-decoration:none; }
.btn--primary{
    background: linear-gradient(135deg, rgba(193,18,31,.95), rgba(244,140,6,.85));
    border-color: rgba(244,140,6,.35);
}
.btn--ghost{
    background: rgba(102,155,188,.10);
    border-color: rgba(102,155,188,.30);
    color: rgba(255,255,255,.92);
}

.facts{
    display:grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 0;
}
.facts__item{
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(0,0,0,.18);
}
.facts dt{ font-size: 12px; color: var(--muted); margin-bottom: 2px; }
.facts dd{ margin: 0; }

.media-card{
    border-radius: 22px;
    overflow:hidden;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(0,0,0,.20);
    box-shadow: var(--shadow);
}
.media-card img{ width:100%; height: auto; display:block; aspect-ratio: 16 / 11; object-fit: cover; }
.media-card__caption{
    display:flex; flex-wrap: wrap;
    gap: 8px;
    padding: 12px;
    border-top: 1px solid rgba(255,255,255,.08);
}

.badge{
    display:inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    background: rgba(193,18,31,.16);
    border: 1px solid rgba(193,18,31,.30);
}
.badge--soft{
    background: rgba(102,155,188,.12);
    border-color: rgba(102,155,188,.28);
}

.media-grid{
    margin-top: 12px;
    display:grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.thumb{
    border: 0;
    padding: 0;
    cursor: pointer;
    border-radius: 16px;
    overflow:hidden;
    background: transparent;
    border: 1px solid rgba(255,255,255,.10);
    transition: transform .15s ease, border-color .15s ease;
}
.thumb:hover{ transform: translateY(-1px); border-color: rgba(255,255,255,.18); }
.thumb img{ width:100%; height:100%; display:block; aspect-ratio: 1 / 1; object-fit: cover; }

.section{ padding: 26px 0 34px; }
.section--tight{ padding-top: 10px; }
.section__head{ margin-bottom: 14px; }
.section__head h2, .section__head h1{ margin: 0 0 6px; }
.muted{ color: var(--muted); }
.h3{ margin: 0 0 10px; font-size: 18px; }

.cards{
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.card{
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(0,0,0,.18);
    padding: 16px;
    box-shadow: 0 14px 40px rgba(0,0,0,.28);
}
.card--media{ overflow: hidden; }
.card--media .gallery{ margin-top: 10px; }

.list{
    margin: 0;
    padding-left: 18px;
    color: rgba(255,255,255,.88);
}
.list li{ margin: 6px 0; }

.cta{
    margin-top: 18px;
    border-radius: 22px;
    padding: 16px;
    border: 1px solid rgba(255,255,255,.10);
    background:
            radial-gradient(700px 220px at 20% 0%, rgba(193,18,31,.18), transparent 60%),
            radial-gradient(700px 220px at 85% 10%, rgba(102,155,188,.18), transparent 60%),
            rgba(0,0,0,.18);
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap: 14px;
    flex-wrap: wrap;
}
.cta__text h3{ margin: 0 0 4px; }
.cta__text p{ margin: 0; }
.cta__actions{ display:flex; gap: 10px; flex-wrap: wrap; }

.footer{
    border-top: 1px solid rgba(255,255,255,.08);
    background: rgba(0,0,0,.18);
    padding: 20px 0;
}
.footer__grid{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.footer__title{ font-weight: 800; }
.footer__muted{ color: var(--muted); margin-top: 4px; }
.footer__cols{ display:flex; gap: 22px; flex-wrap: wrap; }
.footer__label{ color: var(--muted); font-size: 12px; margin-bottom: 6px; }

.grid-2{
    display:grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 14px;
    align-items: start;
}
.hr{
    height: 1px;
    margin: 14px 0;
    background: rgba(255,255,255,.10);
}
.pill{
    display:inline-flex;
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.04);
    text-decoration:none;
}
.pill:hover{ text-decoration:none; border-color: rgba(255,255,255,.20); }

.note{
    margin-top: 12px;
    padding: 12px 12px;
    border-radius: 16px;
    border: 1px solid rgba(102,155,188,.22);
    background: rgba(102,155,188,.08);
    color: rgba(255,255,255,.86);
}

.stack{ display:flex; gap: 10px; align-items:center; flex-wrap: wrap; margin: 10px 0; }
.stack-row{ display:flex; gap: 10px; flex-wrap: wrap; }

.gallery{
    display:grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.room-grid{
    display:grid;
    grid-template-columns: 1fr;
    gap: 14px;
}
.room{
    display:grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 14px;
    padding: 14px;
}
.room__media img{
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 11;
    object-fit: cover;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.10);
}

.prose p{ margin: 0 0 10px; color: rgba(255,255,255,.86); }
.acc{
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.04);
    padding: 10px 12px;
    margin: 10px 0;
}
.acc summary{ cursor:pointer; font-weight: 700; }
.acc p{ margin-top: 10px; }

.lightbox{
    position: fixed;
    inset: 0;
    z-index: 200;
}
.lightbox__backdrop{
    position:absolute;
    inset:0;
    background: rgba(0,0,0,.70);
    backdrop-filter: blur(6px);
}
.lightbox__panel{
    position: relative;
    z-index: 1;
    width: min(980px, calc(100% - 24px));
    margin: 60px auto;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(7,16,24,.86);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.lightbox__img{
    width: 100%;
    height: auto;
    display:block;
    max-height: 72vh;
    object-fit: contain;
    background: rgba(0,0,0,.35);
}
.lightbox__cap{ padding: 10px 14px 14px; }
.lightbox__close{
    position:absolute;
    top: 10px;
    right: 10px;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(0,0,0,.35);
    color: rgba(255,255,255,.92);
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
}

@media (max-width: 980px){
    .hero__grid{ grid-template-columns: 1fr; }
    .media-grid{ grid-template-columns: repeat(4, 1fr); }
    .cards{ grid-template-columns: 1fr; }
    .grid-2{ grid-template-columns: 1fr; }
    .room{ grid-template-columns: 1fr; }
}

@media (max-width: 720px){
    .nav-toggle{ display:inline-flex; align-items:center; justify-content:center; }
    .nav{
        position: absolute;
        right: 18px;
        top: 32px;
        width: max(360px, calc(100% - 36px));
        padding: 10px;
        border-radius: 18px;
        border: 1px solid rgba(255,255,255,.12);
        background: rgba(7,16,24,.88);
        box-shadow: 0 18px 50px rgba(0,0,0,.45);
        display:none;
        flex-direction: column;
        align-items: stretch;
    }
    .nav.is-open{ display:flex; }
    .nav__link{ width: 100%; }
    .media-grid{ grid-template-columns: repeat(2, 1fr); }
    .gallery{ grid-template-columns: repeat(2, 1fr); }
}



a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: min(100% - 32px, var(--max)); margin: 0 auto; }
.pill {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 10px 14px; border-radius: 999px;
    background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.06));
    border: 1px solid var(--line);
    color: var(--muted);
    font-size: 14px;
}

header {
    position: sticky; top: 0; z-index: 50;
    backdrop-filter: blur(10px);
    background: rgba(11, 18, 32, .62);
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 0;
    gap: 14px;
}
.brand {
    display: inline-flex; align-items: center; gap: 12px;
    font-weight: 800; letter-spacing: .3px;
}
.brand-badge {
    width: 42px; height: 42px; border-radius: 14px;
    background: conic-gradient(from 220deg, var(--accent), rgba(193,18,31,.10), var(--accent2));
    box-shadow: var(--shadow);
    border: 1px solid rgba(255,255,255,.10);
}
.brand small { display:block; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.menu { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.menu a {
    padding: 10px 12px; border-radius: 12px;
    color: var(--muted);
    border: 1px solid transparent;
    transition: .15s ease;
}
.menu a:hover { color: var(--text); border-color: rgba(255,255,255,.10); background: rgba(255,255,255,.06); }
.menu a.active { color: var(--text); border-color: rgba(193,18,31,.35); background: rgba(193,18,31,.10); }

.burger {
    display: none;
    width: 44px; height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.06);
    color: var(--text);
}
.burger span {
    display: block;
    width: 18px; height: 2px;
    background: currentColor;
    margin: 0 auto 4px;
    border-radius: 999px;
}
.burger span:last-child { margin-bottom: 0; }

.hero { padding: 26px 0 10px; }
.hero-grid {
    display: grid;
    grid-template-columns: 1.3fr .7fr;
    gap: 18px;
    align-items: stretch;
}
.card {
    background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.06));
    border: 1px solid rgba(255,255,255,.10);
    border-radius: var(--radius2);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.hero-media { position: relative; min-height: 340px; }
.hero-media img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: saturate(1.05) contrast(1.03);
    transform: scale(1.02);
    border-radius: var(--radius);
}
.hero-media:after {
    content: "";
    position: absolute; inset: 0;
    background:
            radial-gradient(520px 260px at 20% 10%, rgba(193,18,31,.30), transparent 60%),
            linear-gradient(180deg, rgba(11,18,32,.05), rgba(11,18,32,.65));
}
.hero-copy {
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
}
.bkn{
    margin-bottom: 40px;
}
h1 {
    margin: 0;
    font-size: clamp(26px, 3.6vw, 44px);
    line-height: 1.1;
    letter-spacing: -.02em;
}
.lead { margin: 0; color: var(--muted); font-size: 16px; }
.hero-facts {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}
.fact {
    padding: 12px 14px;
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.06);
    color: var(--muted);
    font-size: 14px;
}
.fact b { color: var(--text); font-weight: 750; }

main { padding: 18px 0 60px; }
section { margin-top: 18px; }
.section-head {
    display:flex; align-items: flex-end; justify-content: space-between; gap: 12px;
    margin: 10px 0 12px;
}
.section-head h2 {
    margin: 0;
    font-size: 22px;
    letter-spacing: -.01em;
}
.content { padding: 18px; }
.content p { margin: 0 0 12px; color: var(--muted); }
.content p:last-child { margin-bottom: 0; }

.timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 18px;
}
.titem {
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.06);
    border-radius: var(--radius);
    padding: 14px;
}
.titem .when {
    display: inline-block;
    font-weight: 800;
    color: var(--sand);
    background: rgba(193,18,31,.18);
    border: 1px solid rgba(193,18,31,.35);
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 13px;
    margin-bottom: 10px;
}
.titem h3 { margin: 0 0 8px; font-size: 16px; }
.titem p { margin: 0; color: var(--muted); font-size: 14px; }

.places {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 18px;
}
.place {
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.06);
    overflow: hidden;
    display:flex;
    flex-direction: column;
    min-height: 260px;
}
.place .img { height: 140px; position: relative; overflow: hidden; }
.place .img img {
    width:100%; height:100%;
    object-fit: cover;
    transform: scale(1.03);
    filter: saturate(1.05);
}
.place .img:after {
    content:"";
    position:absolute; inset:0;
    background: linear-gradient(180deg, rgba(11,18,32,.05), rgba(11,18,32,.55));
}
.place .txt { padding: 14px; }
.place h3 { margin: 0 0 8px; font-size: 16px; }
.place p { margin: 0; color: var(--muted); font-size: 14px; }

footer {
    border-top: 1px solid rgba(255,255,255,.10);
    background: rgba(0,0,0,.12);
    padding: 24px 0;
    color: var(--muted);
    font-size: 14px;
}
.foot { display:flex; align-items:center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

@media (max-width: 960px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-media { min-height: 280px; }
    .timeline { grid-template-columns: 1fr 1fr; }
    .places { grid-template-columns: 1fr 1fr; }
    .menu { display:none; }
    .burger { display: inline-grid; place-items: center; }
}
@media (max-width: 560px) {
    .timeline { grid-template-columns: 1fr; }
    .places { grid-template-columns: 1fr; }
    .container { width: min(100% - 22px, var(--max)); }
    .hero-copy { padding: 18px; }
    .content, .timeline, .places { padding: 16px; }
}

.drawer {
    position: fixed; inset: 0;
    background: rgba(0,0,0,.45);
    display: none;
    z-index: 100;
}
.drawer.open { display: block; }
.drawer-panel {
    position: absolute; right: 0; top: 0; height: 100%; width: min(92vw, 360px);
    background: rgba(11,18,32,.96);
    border-left: 1px solid rgba(255,255,255,.10);
    backdrop-filter: blur(14px);
    padding: 16px;
    display:flex; flex-direction: column; gap: 10px;
}
.drawer a {
    padding: 12px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.06);
    color: var(--muted);
}
.drawer a.active { color: var(--text); border-color: rgba(193,18,31,.35); background: rgba(193,18,31,.10); }
.drawer-top {
    display:flex; align-items:center; justify-content: space-between; gap: 10px;
    padding-bottom: 6px;
}
.close {
    width: 44px; height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.06);
    color: var(--text);
}