/* Вариант 3 — «Затмение»: чёрный, серебро и тёплое золотое кольцо, минимализм */
:root {
    --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    --heading: "Didot", "Bodoni MT", "Playfair Display", Georgia, "Times New Roman", serif;
    --heading-weight: 400; --heading-spacing: 1px;
    --price-font: var(--sans);
    --bg: #000000;
    --glow: radial-gradient(ellipse at 50% 0%, rgba(255, 170, 90, .12), transparent 55%);
    --star: #d8dcff; --star-opacity: .45;
    --text: #f2f2f2; --muted: #8a8a8a;
    --card: rgba(14, 14, 16, .8); --border: rgba(255, 255, 255, .09);
    --card-shadow: none;
    --accent: #ffc27a; --accent-glow: rgba(255, 170, 90, .22);
    --icon-bg: rgba(255, 255, 255, .03);
    --title-fill: linear-gradient(180deg, #ffffff, #bdbdbd);
    --btn-bg: #ffffff; --btn-text: #000; --btn-ring: rgba(255,194,122,.5);
    --ph1: radial-gradient(circle at 50% 50%, #1c1c1f, #050505 75%);
    --ph2: radial-gradient(circle at 50% 50%, #221a12, #050505 75%);
    --ph3: radial-gradient(circle at 50% 50%, #18181c, #050505 75%);
    --ph-icon: #d9d9d9; --dots: rgba(255, 255, 255, .18); --price: #ffffff;
}
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
body {
    font-family: var(--sans);
    background: var(--bg);
    color: var(--text);
    padding-bottom: 90px;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Звёздное небо (два слоя точек) */
body::before, body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}
body::before {
    background-image:
        radial-gradient(1px 1px at 20px 30px, var(--star) 50%, transparent 51%),
        radial-gradient(1px 1px at 140px 80px, var(--star) 50%, transparent 51%),
        radial-gradient(1.5px 1.5px at 260px 160px, var(--star) 50%, transparent 51%),
        radial-gradient(1px 1px at 80px 220px, var(--star) 50%, transparent 51%),
        radial-gradient(1px 1px at 330px 40px, var(--star) 50%, transparent 51%),
        radial-gradient(1.2px 1.2px at 200px 290px, var(--star) 50%, transparent 51%),
        radial-gradient(1px 1px at 370px 250px, var(--star) 50%, transparent 51%);
    background-size: 400px 320px;
    opacity: var(--star-opacity);
}
body::after { background: var(--glow); }

.hero, .list, .footer { position: relative; z-index: 1; }

/* ---------- Шапка ---------- */
.hero { text-align: center; padding: 70px 20px 30px; }
.hero-inner { max-width: 660px; margin: 0 auto; }
.logo { margin-bottom: 16px; filter: drop-shadow(0 0 22px var(--accent-glow)); }
.eyebrow { text-transform: uppercase; letter-spacing: 5px; font-size: 12px; color: var(--accent); font-weight: 600; }
.hero h1 {
    font-family: var(--heading);
    font-weight: var(--heading-weight);
    font-size: 60px; line-height: 1.05; margin: 12px 0 10px; letter-spacing: var(--heading-spacing);
    background: var(--title-fill);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tagline { font-size: 17px; color: var(--text); }
.intro { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 12px auto 28px; max-width: 500px; }

.btn, .book-float {
    display: inline-block;
    background: var(--btn-bg);
    color: var(--btn-text);
    text-decoration: none;
    padding: 15px 36px;
    border-radius: 999px;
    font-size: 15px; font-weight: 600; letter-spacing: .4px;
    box-shadow: 0 0 0 1px var(--btn-ring), 0 10px 30px var(--accent-glow);
    transition: filter .2s, transform .2s;
}
.btn:hover, .book-float:hover { filter: brightness(1.12); transform: translateY(-1px); }

/* ---------- Категории ---------- */
.list { max-width: 1080px; margin: 0 auto; padding: 10px 20px; }
.cat {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 30px;
    margin-top: 22px;
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--card-shadow);
}
.cat-head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 22px; }
.cat-icon {
    flex: 0 0 58px; height: 58px; border-radius: 50%;
    background: var(--icon-bg); color: var(--accent);
    border: 1px solid var(--border);
    display: grid; place-items: center;
    box-shadow: 0 0 24px var(--accent-glow);
}
.cat-icon svg { width: 30px; height: 30px; }
.cat-num { font-size: 12px; letter-spacing: 3px; color: var(--accent); font-weight: 600; }
.cat h2 { font-family: var(--heading); font-weight: var(--heading-weight); font-size: 32px; line-height: 1.12; margin-top: 2px; letter-spacing: var(--heading-spacing); }
.cat-text { color: var(--muted); font-size: 14.5px; margin-top: 6px; line-height: 1.5; }

/* Галерея */
.gallery {
    display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 24px) / 3);
    gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-bottom: 24px; scrollbar-width: none;
}
.gallery::-webkit-scrollbar { display: none; }
.shot { aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; scroll-snap-align: start; background: var(--icon-bg); border: 1px solid var(--border); }
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; cursor: zoom-in; transition: transform .4s; }
.shot img:hover { transform: scale(1.03); }

.ph { width: 100%; height: 100%; display: grid; place-items: center; position: relative; color: var(--ph-icon); }
.ph svg { width: 30%; height: 30%; filter: drop-shadow(0 0 12px var(--accent-glow)); }
.ph-1 { background: var(--ph1); }
.ph-2 { background: var(--ph2); }
.ph-3 { background: var(--ph3); }
.ph-label { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }

/* Строки прайса */
.rows { list-style: none; }
.row { display: flex; align-items: baseline; gap: 10px; padding: 14px 0; border-top: 1px solid var(--border); }
.row:first-child { border-top: 0; }
.row-name { display: flex; flex-direction: column; min-width: 0; }
.row-title { font-size: 16.5px; }
.row-note { font-size: 13px; color: var(--muted); margin-top: 3px; }
.dots { flex: 1; border-bottom: 1px dotted var(--dots); transform: translateY(-4px); min-width: 20px; }
.row-price { font-family: var(--price-font); font-size: 22px; font-weight: 700; white-space: nowrap; color: var(--price); }

/* ---------- Подвал ---------- */
.footer { max-width: 1080px; margin: 34px auto 0; padding: 0 20px; color: var(--muted); font-size: 13px; line-height: 1.6; text-align: center; }
.footer p + p { margin-top: 6px; }
.warning { font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--text); font-size: 12.5px; }

.book-float { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 20; }
.book-float:hover { transform: translateX(-50%) translateY(-1px); }

/* Просмотр фото */
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(3, 4, 12, .92); display: none; align-items: center; justify-content: center; padding: 20px; cursor: zoom-out; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: 14px; }
.lb-close { position: absolute; top: 16px; right: 20px; background: none; border: 0; color: #fff; font-size: 40px; line-height: 1; cursor: pointer; }

@media (max-width: 640px) {
    .hero { padding: 48px 18px 22px; }
    .hero h1 { font-size: 44px; }
    .list { padding: 6px 12px; }
    .cat { padding: 22px 18px; border-radius: 22px; }
    .cat h2 { font-size: 26px; }
    .cat-icon { flex-basis: 46px; height: 46px; }
    .cat-icon svg { width: 24px; height: 24px; }
    .gallery { grid-auto-columns: 72%; }
    .shot { aspect-ratio: 4 / 5; }
    .row-title { font-size: 15.5px; }
    .row-price { font-size: 19px; }
}

/* Кольцо затмения вокруг логотипа */
.logo {
    width: 92px; height: 92px; border-radius: 50%;
    margin-bottom: 22px;
    box-shadow:
        0 0 0 2px rgba(255, 214, 160, .95),
        0 0 16px 5px rgba(255, 180, 100, .65),
        0 0 50px 18px rgba(255, 150, 80, .28),
        0 0 110px 40px rgba(255, 140, 70, .10);
    filter: none;
}
@media (max-width: 640px) { .logo { width: 78px; height: 78px; } }
