        :root {
            --violet-deep: #1a0b2e;
            --violet-dark: #2d1b4e;
            --violet-mid: #4a2d7a;
            --violet-light: #7b5ea7;
            --violet-pale: #c9b8e0;
            --violet-bg: #f5f0fa;
            --emerald-dark: #0d3b2e;
            --emerald-mid: #1a6b4f;
            --emerald-light: #2e9e73;
            --emerald-pale: #d4ede3;
            --emerald-bg: #f0faf5;
            --gold-dark: #8a6d1f;
            --gold-mid: #c9a227;
            --gold-light: #e8c84a;
            --gold-pale: #faf0d7;
            --gold-bright: #f5d76e;
            --white: #ffffff;
            --cream: #fdfaf3;
            --text-dark: #1a1a2e;
            --text-mid: #4a4a5e;
            --text-light: #8a8a9e;
            --shadow-sm: 0 2px 10px rgba(26, 11, 46, 0.08);
            --shadow-md: 0 8px 30px rgba(26, 11, 46, 0.12);
            --shadow-lg: 0 20px 60px rgba(26, 11, 46, 0.2);
            --shadow-gold: 0 4px 20px rgba(201, 162, 39, 0.3);
            --shadow-emerald: 0 4px 20px rgba(26, 107, 79, 0.25);
            --radius-sm: 8px;
            --radius-md: 16px;
            --radius-lg: 24px;
            --radius-xl: 32px;
            --radius-full: 9999px;
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
            --font-heading: 'Cormorant Garamond', serif;
            --font-body: 'Montserrat', sans-serif;
            --max-width: 1200px;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
            scroll-padding-top: 80px;
        }

        body {
            font-family: var(--font-body);
            color: var(--text-dark);
            background: var(--cream);
            line-height: 1.7;
            overflow-x: hidden;
        }

        h1, h2, h3, h4, h5, h6 {
            font-family: var(--font-heading);
            font-weight: 700;
            line-height: 1.2;
            color: var(--violet-deep);
        }

        a {
            text-decoration: none;
            color: inherit;
            transition: var(--transition);
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        /* Bootstrap 5 Reboot compatibility вЂ” keep the original typographic rhythm */
        h1, h2, h3, h4, h5, h6, p, blockquote, ul, ol, dl { margin: revert; }
        ul, ol { padding-left: revert; }

        /* Bootstrap's .row uses negative gutters вЂ” keep the site container clean */
        .row > * { min-width: 0; }

        .container {
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 24px;
        }

        /* ===== PRELOADER ===== */
        .preloader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--violet-deep);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 9999;
            transition: opacity 0.6s ease, visibility 0.6s ease;
        }
        .preloader.hidden {
            opacity: 0;
            visibility: hidden;
        }
        .preloader-content {
            text-align: center;
            color: var(--gold-light);
        }
        .preloader-star {
            font-size: 60px;
            animation: pulse 1.5s ease-in-out infinite;
        }
        .preloader-text {
            font-family: var(--font-heading);
            font-size: 24px;
            letter-spacing: 4px;
            margin-top: 16px;
            color: var(--violet-pale);
        }
        @keyframes pulse {
            0%, 100% { transform: scale(1); opacity: 1; }
            50% { transform: scale(1.3); opacity: 0.6; }
        }

        /* ===== HEADER ===== */
        .header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1000;
            background: rgba(26, 11, 46, 0.95);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-bottom: 1px solid rgba(201, 162, 39, 0.3);
            transition: var(--transition);
        }
        .header.scrolled {
            background: rgba(26, 11, 46, 0.98);
            box-shadow: var(--shadow-lg);
        }
        .header-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 16px 24px;
            max-width: var(--max-width);
            margin: 0 auto;
        }
        .logo {
            display: flex;
            align-items: center;
            gap: 12px;
            cursor: pointer;
        }
        .logo-icon {
            width: 45px;
            height: 45px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 22px;
            box-shadow: var(--shadow-gold);
            flex-shrink: 0;
        }
        .logo-text {
            font-family: var(--font-heading);
            font-size: 22px;
            font-weight: 700;
            color: var(--gold-light);
            letter-spacing: 1px;
            line-height: 1.2;
        }
        .logo-subtitle {
            font-size: 10px;
            color: var(--violet-pale);
            letter-spacing: 2px;
            text-transform: uppercase;
        }
        .nav {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .nav a {
            color: var(--violet-pale);
            font-size: 13px;
            font-weight: 500;
            padding: 8px 14px;
            border-radius: var(--radius-full);
            letter-spacing: 0.5px;
            transition: var(--transition);
            position: relative;
        }
        .nav a:hover {
            color: var(--gold-light);
            background: rgba(201, 162, 39, 0.1);
        }
        .nav a.active {
            color: var(--gold-light);
            background: rgba(201, 162, 39, 0.15);
        }
        .nav-cta {
            background: linear-gradient(135deg, var(--gold-dark), var(--gold-mid)) !important;
            color: var(--violet-deep) !important;
            font-weight: 600 !important;
            box-shadow: var(--shadow-gold);
        }
        .nav-cta:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 30px rgba(201, 162, 39, 0.5) !important;
        }
        .burger {
            display: none;
            flex-direction: column;
            gap: 5px;
            cursor: pointer;
            padding: 5px;
            background: none;
            border: none;
        }
        .burger span {
            width: 28px;
            height: 2px;
            background: var(--gold-light);
            border-radius: 2px;
            transition: var(--transition);
        }
        .burger.active span:nth-child(1) {
            transform: rotate(45deg) translate(5px, 5px);
        }
        .burger.active span:nth-child(2) {
            opacity: 0;
        }
        .burger.active span:nth-child(3) {
            transform: rotate(-45deg) translate(5px, -5px);
        }

        /* ===== MOBILE NAV ===== */
        .mobile-nav {
            display: none;
            position: fixed;
            top: 77px;
            left: 0;
            width: 100%;
            background: var(--violet-deep);
            border-bottom: 1px solid rgba(201, 162, 39, 0.3);
            z-index: 999;
            padding: 20px 24px;
            max-height: calc(100vh - 77px);
            overflow-y: auto;
        }
        .mobile-nav.open {
            display: block;
        }
        .mobile-nav a {
            display: block;
            padding: 12px 16px;
            color: var(--violet-pale);
            font-size: 15px;
            border-radius: var(--radius-sm);
            transition: var(--transition);
        }
        .mobile-nav a:hover {
            color: var(--gold-light);
            background: rgba(201, 162, 39, 0.1);
        }
        .mobile-nav .nav-cta {
            margin-top: 12px;
            text-align: center;
            color: var(--violet-deep);
        }

        /* ===== HERO ===== */
        .hero {
            position: relative;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, var(--violet-deep) 0%, var(--violet-dark) 30%, #1a3a2a 70%, var(--emerald-dark) 100%);
            overflow: hidden;
            text-align: center;
        }
        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: 
                radial-gradient(ellipse at 20% 80%, rgba(201, 162, 39, 0.15) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 20%, rgba(46, 158, 115, 0.2) 0%, transparent 50%),
                radial-gradient(ellipse at 50% 50%, rgba(74, 45, 122, 0.3) 0%, transparent 70%);
            z-index: 1;
        }
        .hero-particles {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 2;
            pointer-events: none;
        }
        .particle {
            position: absolute;
            width: 3px;
            height: 3px;
            background: var(--gold-light);
            border-radius: 50%;
            animation: float-particle 8s ease-in-out infinite;
            opacity: 0.5;
        }
        @keyframes float-particle {
            0%, 100% { transform: translateY(0) translateX(0); opacity: 0.2; }
            25% { transform: translateY(-30px) translateX(20px); opacity: 0.8; }
            50% { transform: translateY(-60px) translateX(-10px); opacity: 0.4; }
            75% { transform: translateY(-20px) translateX(-30px); opacity: 0.7; }
        }
        .hero-content {
            position: relative;
            z-index: 3;
            padding: 120px 24px 80px;
            max-width: 800px;
        }
        .hero-badge {
            display: inline-block;
            padding: 8px 20px;
            border: 1px solid rgba(201, 162, 39, 0.5);
            border-radius: var(--radius-full);
            color: var(--gold-light);
            font-size: 12px;
            letter-spacing: 3px;
            text-transform: uppercase;
            margin-bottom: 24px;
            background: rgba(201, 162, 39, 0.1);
        }
        .hero h1 {
            font-size: clamp(48px, 8vw, 84px);
            color: var(--gold-light);
            margin-bottom: 8px;
            text-shadow: 0 0 60px rgba(201, 162, 39, 0.4);
            letter-spacing: 2px;
        }
        .hero-subtitle {
            font-family: var(--font-heading);
            font-size: clamp(20px, 3vw, 28px);
            color: var(--violet-pale);
            font-weight: 400;
            margin-bottom: 16px;
            letter-spacing: 1px;
        }
        .hero-slogan {
            font-style: italic;
            font-size: clamp(14px, 1.5vw, 16px);
            color: var(--emerald-pale);
            margin-bottom: 40px;
            letter-spacing: 0.5px;
        }
        .hero-buttons {
            display: flex;
            flex-wrap: wrap;
            gap: 16px;
            justify-content: center;
            margin-bottom: 48px;
        }
        .btn {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 16px 28px;
            border-radius: var(--radius-full);
            font-size: 14px;
            font-weight: 600;
            letter-spacing: 1px;
            cursor: pointer;
            transition: var(--transition);
            border: none;
            font-family: var(--font-body);
            text-transform: uppercase;
        }
        .btn-gold {
            background: linear-gradient(135deg, var(--gold-dark), var(--gold-mid), var(--gold-light));
            color: var(--violet-deep);
            box-shadow: var(--shadow-gold);
        }
        .btn-gold:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 40px rgba(201, 162, 39, 0.5);
        }
        .btn-emerald {
            background: linear-gradient(135deg, var(--emerald-dark), var(--emerald-mid));
            color: var(--white);
            box-shadow: var(--shadow-emerald);
        }
        .btn-emerald:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 40px rgba(26, 107, 79, 0.5);
        }
        .btn-outline {
            background: transparent;
            color: var(--gold-light);
            border: 2px solid rgba(201, 162, 39, 0.6);
        }
        .btn-outline:hover {
            background: rgba(201, 162, 39, 0.1);
            border-color: var(--gold-light);
            transform: translateY(-3px);
        }
        /* Bootstrap 5 ships its own .btn hover vars вЂ” re-assert the theme hover looks */
        .btn.btn-gold:hover {
            background: linear-gradient(135deg, var(--gold-dark), var(--gold-mid), var(--gold-light));
            color: var(--violet-deep);
        }
        .btn.btn-emerald:hover {
            background: linear-gradient(135deg, var(--emerald-dark), var(--emerald-mid));
            color: var(--white);
        }
        .btn.btn-outline:hover {
            background: rgba(201, 162, 39, 0.1);
            color: var(--gold-light);
        }
        .hero-tiles {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 12px;
            max-width: 700px;
            margin: 0 auto;
        }
        .hero-tile {
            padding: 14px 12px;
            background: rgba(26, 11, 46, 0.6);
            border: 1px solid rgba(201, 162, 39, 0.3);
            border-radius: var(--radius-md);
            color: var(--violet-pale);
            font-size: 12px;
            font-weight: 500;
            cursor: pointer;
            transition: var(--transition);
            text-align: center;
            backdrop-filter: blur(10px);
        }
        .hero-tile:hover {
            border-color: var(--gold-light);
            color: var(--gold-light);
            background: rgba(201, 162, 39, 0.1);
            transform: translateY(-2px);
        }
        .hero-tile .tile-icon {
            font-size: 22px;
            display: block;
            margin-bottom: 6px;
        }
        .hero-scroll {
            position: absolute;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 3;
            color: var(--violet-pale);
            font-size: 24px;
            animation: bounce 2s ease-in-out infinite;
            cursor: pointer;
        }
        @keyframes bounce {
            0%, 100% { transform: translateX(-50%) translateY(0); }
            50% { transform: translateX(-50%) translateY(-10px); }
        }

        /* ===== TICKER ===== */
        .ticker-wrap {
            background: var(--violet-deep);
            border-top: 1px solid rgba(201, 162, 39, 0.3);
            border-bottom: 1px solid rgba(201, 162, 39, 0.3);
            overflow: hidden;
            padding: 14px 0;
            position: relative;
            z-index: 5;
        }
        .ticker {
            display: flex;
            gap: 40px;
            animation: ticker-scroll 30s linear infinite;
            white-space: nowrap;
            width: max-content;
        }
        .ticker span {
            color: var(--gold-light);
            font-size: 13px;
            letter-spacing: 1px;
            font-weight: 500;
        }
        .ticker span::before {
            content: 'вњ¦';
            margin-right: 40px;
            color: var(--violet-light);
        }
        @keyframes ticker-scroll {
            0% { transform: translateX(0); }
            100% { transform: translateX(-50%); }
        }

        /* ===== SECTIONS ===== */
        .section {
            padding: 100px 0;
            position: relative;
        }
        .section-alt {
            background: var(--violet-bg);
        }
        .section-emerald-bg {
            background: linear-gradient(135deg, var(--emerald-dark), #0a2a1e);
            color: var(--white);
        }
        .section-emerald-bg h2 {
            color: var(--gold-light);
        }
        .section-violet-bg {
            background: linear-gradient(135deg, var(--violet-deep), var(--violet-dark));
            color: var(--white);
        }
        .section-violet-bg h2 {
            color: var(--gold-light);
        }
        .section-header {
            text-align: center;
            margin-bottom: 60px;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
        }
        .section-tag {
            display: inline-block;
            padding: 6px 16px;
            border-radius: var(--radius-full);
            font-size: 11px;
            letter-spacing: 2px;
            text-transform: uppercase;
            margin-bottom: 16px;
            background: rgba(201, 162, 39, 0.15);
            color: var(--gold-dark);
            font-weight: 600;
        }
        .section-tag.light {
            background: rgba(201, 162, 39, 0.2);
            color: var(--gold-light);
        }
        .section h2 {
            font-size: clamp(32px, 5vw, 48px);
            margin-bottom: 16px;
            letter-spacing: 1px;
        }
        .section-subtitle {
            font-size: 15px;
            color: var(--text-light);
            font-style: italic;
            font-family: var(--font-heading);
            font-size: 18px;
        }
        .section-emerald-bg .section-subtitle,
        .section-violet-bg .section-subtitle {
            color: var(--violet-pale);
        }

        /* ===== LEGEND ===== */
        .legend-content {
            display: grid;
            /* Карточка легенды — того же размера, что карточка в разделе «Семья».
               При контейнере 1200px сетка семьи (auto-fit, minmax(240px, 1fr))
               даёт 4 колонки по (1152 − 3×24) / 4 = 270px. Текстовая колонка
               остаётся шириной 546px, чтобы строка не растягивалась на всю
               страницу и абзацы читались; пара колонок центрируется целиком. */
            grid-template-columns: minmax(0, 546px) 270px;
            gap: 60px;
            justify-content: center;
            align-items: center;
        }
        .legend-text {
            font-size: 15px;
            color: var(--text-mid);
            line-height: 1.9;
        }
        .legend-text p {
            margin-bottom: 20px;
        }
        .legend-text p:first-of-type::first-letter {
            font-family: var(--font-heading);
            font-size: 60px;
            float: left;
            line-height: 1;
            margin-right: 12px;
            color: var(--gold-mid);
            font-weight: 700;
        }
        .legend-image {
            position: relative;
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-lg);
            /* min-height: 200px вместо 400px: при ширине 270px контент карточки
               (луна + цитата) занимает ~204px, и прежние 400px давали ~200px
               пустоты. Теперь карточка по пропорциям близка к картинке из
               раздела «Семья» (286x215, соотношение 4:3). */
            min-height: 200px;
            background: linear-gradient(135deg, var(--violet-dark), var(--emerald-dark));
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .legend-image-inner {
            text-align: center;
            /* Карточка легенды теперь шириной с карточку семьи (270px), а не 546px,
               поэтому отступы и кегль уменьшены: при прежних 40px луна и цитата
               занимали почти всю карточку и упирались в её края. */
            padding: 24px;
        }
        .legend-image-inner .big-rune {
            font-size: 68px;
            margin-bottom: 12px;
            display: block;
        }
        .legend-image-inner p {
            color: var(--violet-pale);
            font-style: italic;
            font-family: var(--font-heading);
            font-size: 17px;
            letter-spacing: 1px;
        }
        .legend-quote {
            font-family: var(--font-heading);
            font-size: 22px;
            color: var(--gold-dark);
            font-style: italic;
            margin-top: 30px;
            text-align: center;
        }

        /* ===== MAP ===== */
        .map-container {
            position: relative;
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-lg);
            background: linear-gradient(135deg, #1a3a2a, var(--emerald-dark), var(--violet-dark));
            min-height: 500px;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 40px;
        }
        /* Обёртка плана на contacts.php: у .map-container стоит padding: 40px,
           из-за которого картинка была на 80px уже сетки плиток (а с классами
           col-*-12 — наоборот, на 172px шире). Повторяем параметры .map-grid,
           чтобы план занимал всю ширину колонки и совпадал с плитками на всех
           экранах — так же, как на главной (.map-container .map-container). */
        .map-container.map-plan {
            width: 100%;
            max-width: 900px;
            margin-left: auto;
            margin-right: auto;
            padding: 0;
            /* .map-container растянут на min-height: 500px — на узких экранах
               план ниже, и вокруг него оставались пустые тёмные полосы.
               Панель должна облегать картинку. */
            min-height: 0;
        }
        .map-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 16px;
            width: 100%;
            max-width: 900px;
            margin: 0 auto;
        }
        .map-item {
            background: rgba(26, 11, 46, 0.7);
            border: 1px solid rgba(201, 162, 39, 0.3);
            border-radius: var(--radius-md);
            padding: 20px 16px;
            text-align: center;
            color: var(--violet-pale);
            font-size: 13px;
            cursor: pointer;
            transition: var(--transition);
            backdrop-filter: blur(10px);
        }
        .map-item:hover {
            border-color: var(--gold-light);
            background: rgba(201, 162, 39, 0.15);
            transform: scale(1.05);
            color: var(--gold-light);
        }
        .map-item .map-icon {
            font-size: 32px;
            display: block;
            margin-bottom: 8px;
        }
        /* План Долины — ровно по ширине сетки плиток (.map-grid, max-width: 900px).
           Раньше картинка растягивалась на всю ширину панели (992px) и вылезала
           за края плиток на 46px с каждой стороны. У вложенной .map-container
           стоял padding: 40px — из-за него картинка была ещё и на 80px уже
           плиток, поэтому убираем отступ и повторяем параметры .map-grid.
           Картинка внутри не ограничена: она просто занимает 100% панели. */
        .map-container .map-container {
            padding: 0;
            max-width: 900px;
            margin-left: auto;
            margin-right: auto;
            /* Иначе min-height: 500px из .map-container оставляет вокруг плана
               пустые тёмные полосы — на мобильной ширине до ~340px. */
            min-height: 0;
        }
        .map-center {
            text-align: center;
            margin-bottom: 30px;
        }
        .map-center h3 {
            color: var(--gold-light);
            font-size: 28px;
            margin-bottom: 8px;
        }
        .map-center p {
            color: var(--violet-pale);
            font-style: italic;
        }

        /* ===== FAMILY ===== */
        .family-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 24px;
        }
        .family-card {
            background: var(--white);
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            transition: var(--transition);
            border: 1px solid rgba(26, 11, 46, 0.05);
            position: relative;
        }
        .family-card:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-lg);
            border-color: rgba(201, 162, 39, 0.3);
        }
        /* Фото в карточке семьи — единый размер, как на family.php (.card-media,
           aspect-ratio 4/3 + object-fit: cover). Раньше высота картинки зависела
           от пропорций файла (портреты ~767×1255), и в одном ряду соседние фото
           были от 248 до 454px высотой — низ картинок и текст не совпадали. */
        .family-card > img {
            display: block;
            width: 100%;
            height: auto;
            aspect-ratio: 4 / 3;
            object-fit: cover;
            background: var(--violet-bg);
        }
        .family-card-avatar {
            height: 180px;
            background: linear-gradient(135deg, var(--violet-dark), var(--emerald-dark));
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 70px;
            position: relative;
            overflow: hidden;
        }
        .family-card-avatar::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 30%;
            background: linear-gradient(to top, rgba(26, 11, 46, 0.6), transparent);
        }
        .family-card-body {
            padding: 24px;
        }
        .family-card-body h3 {
            font-size: 22px;
            margin-bottom: 4px;
        }
        .family-card-role {
            font-size: 12px;
            color: var(--gold-dark);
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 10px;
        }
        .family-card-body p {
            font-size: 13px;
            color: var(--text-mid);
            line-height: 1.6;
        }
        .collect-banner {
            margin-top: 40px;
            background: linear-gradient(135deg, var(--gold-dark), var(--gold-mid));
            border-radius: var(--radius-lg);
            padding: 30px 40px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 24px;
            flex-wrap: wrap;
            box-shadow: var(--shadow-gold);
        }
        .collect-banner h3 {
            color: var(--violet-deep);
            font-size: 24px;
        }
        .collect-banner p {
            color: var(--violet-dark);
            font-size: 14px;
        }
        .collect-banner .btn {
            background: var(--violet-deep);
            color: var(--gold-light);
        }

        /* ===== POTIONS ===== */
        .potion-hero {
            background: linear-gradient(135deg, var(--violet-deep), var(--violet-dark), var(--emerald-dark));
            border-radius: var(--radius-xl);
            padding: 60px;
            margin-bottom: 40px;
            position: relative;
            overflow: hidden;
            box-shadow: var(--shadow-lg);
            text-align: center;
        }
        .potion-hero::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle at 50% 50%, rgba(201, 162, 39, 0.15) 0%, transparent 50%);
            animation: rotate-slow 30s linear infinite;
        }
        @keyframes rotate-slow {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        .potion-hero-content {
            position: relative;
            z-index: 2;
        }
        .potion-hero h3 {
            font-size: 36px;
            color: var(--gold-light);
            margin-bottom: 8px;
        }
        .potion-hero .potion-badge {
            display: inline-block;
            padding: 4px 14px;
            background: rgba(201, 162, 39, 0.2);
            border-radius: var(--radius-full);
            color: var(--gold-light);
            font-size: 11px;
            letter-spacing: 1px;
            margin-bottom: 16px;
        }
        .potion-hero .potion-desc {
            color: var(--violet-pale);
            font-size: 14px;
            max-width: 500px;
            margin: 0 auto 24px;
            font-style: italic;
        }
        .potion-hero .potion-btn {
            display: inline-block;
            padding: 14px 32px;
            border-radius: var(--radius-full);
            background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
            color: var(--violet-deep);
            font-weight: 700;
            font-size: 14px;
            letter-spacing: 1px;
            cursor: pointer;
            transition: var(--transition);
            box-shadow: var(--shadow-gold);
        }
        .potion-hero .potion-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 40px rgba(201, 162, 39, 0.5);
        }
        .potion-instructions {
            background: var(--white);
            border-radius: var(--radius-lg);
            padding: 40px;
            box-shadow: var(--shadow-md);
            max-width: 700px;
            margin: 0 auto;
        }
        .potion-instructions h4 {
            font-size: 24px;
            text-align: center;
            margin-bottom: 24px;
            color: var(--violet-deep);
        }
        .potion-steps {
            list-style: none;
            counter-reset: step;
        }
        .potion-steps li {
            counter-increment: step;
            padding: 16px 20px 16px 60px;
            position: relative;
            font-size: 14px;
            color: var(--text-mid);
            border-bottom: 1px solid rgba(26, 11, 46, 0.05);
        }
        .potion-steps li:last-child {
            border-bottom: none;
        }
        .potion-steps li::before {
            content: counter(step);
            position: absolute;
            left: 16px;
            top: 50%;
            transform: translateY(-50%);
            width: 32px;
            height: 32px;
            background: linear-gradient(135deg, var(--gold-mid), var(--gold-light));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            color: var(--violet-deep);
            font-size: 14px;
        }
        .potion-final {
            text-align: center;
            font-family: var(--font-heading);
            font-size: 26px;
            color: var(--gold-dark);
            font-style: italic;
            margin-top: 24px;
            letter-spacing: 2px;
        }
        .potions-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            margin-top: 40px;
        }
        .potion-card {
            background: var(--white);
            border-radius: var(--radius-md);
            padding: 28px 24px;
            box-shadow: var(--shadow-sm);
            transition: var(--transition);
            border: 1px solid rgba(26, 11, 46, 0.05);
            cursor: pointer;
        }
        .potion-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-md);
            border-color: rgba(201, 162, 39, 0.3);
        }
        .potion-card .potion-icon {
            font-size: 36px;
            margin-bottom: 12px;
        }
        .potion-card h4 {
            font-size: 18px;
            margin-bottom: 8px;
            color: var(--violet-deep);
        }
        .potion-card .potion-desc {
            font-size: 13px;
            color: var(--text-mid);
            font-style: italic;
        }
        .potion-card .potion-effect {
            font-size: 12px;
            color: var(--gold-dark);
            font-weight: 600;
            margin-top: 10px;
        }

        /* ===== CHEESE ===== */
        .cheese-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 20px;
        }
        .cheese-card {
            background: var(--white);
            border-radius: var(--radius-md);
            padding: 28px 24px;
            text-align: center;
            box-shadow: var(--shadow-sm);
            transition: var(--transition);
            border: 1px solid rgba(26, 11, 46, 0.05);
        }
        .cheese-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-md);
            border-color: rgba(26, 107, 79, 0.3);
        }
        .cheese-card .cheese-icon {
            font-size: 48px;
            margin-bottom: 12px;
        }
        .cheese-card h4 {
            font-size: 18px;
            margin-bottom: 6px;
        }
        .cheese-card p {
            font-size: 13px;
            color: var(--text-mid);
        }

        /* ===== WISH PLACE ===== */
        .wish-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            align-items: center;
        }
        .wish-card {
            background: var(--white);
            border-radius: var(--radius-lg);
            padding: 40px;
            box-shadow: var(--shadow-md);
            text-align: center;
            border: 2px solid rgba(201, 162, 39, 0.2);
        }
        .wish-card .wish-icon {
            font-size: 60px;
            margin-bottom: 16px;
        }
        .wish-card h4 {
            font-size: 24px;
            margin-bottom: 12px;
        }
        .wish-card p {
            font-size: 14px;
            color: var(--text-mid);
            line-height: 1.8;
        }
        .wish-card .btn {
            margin-top: 20px;
        }

        /* ===== PASSPORT ===== */
        .passport-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 20px;
        }
        .passport-card {
            background: var(--white);
            border-radius: var(--radius-md);
            padding: 28px 20px;
            text-align: center;
            box-shadow: var(--shadow-sm);
            transition: var(--transition);
            border: 1px solid rgba(26, 11, 46, 0.05);
            position: relative;
            overflow: hidden;
        }
        .passport-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, var(--gold-mid), var(--gold-light), var(--gold-mid));
        }
        .passport-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-md);
        }
        .passport-card .passport-icon {
            font-size: 40px;
            margin-bottom: 12px;
        }
        .passport-card h4 {
            font-size: 16px;
            margin-bottom: 8px;
        }
        .passport-card p {
            font-size: 12px;
            color: var(--text-mid);
            line-height: 1.6;
        }
        .passport-card .passport-benefits {
            font-size: 12px;
            color: var(--emerald-mid);
            font-weight: 600;
            margin-top: 10px;
        }

        /* ===== RENTAL ===== */
        .rental-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 24px;
        }
        .rental-card {
            background: var(--white);
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            transition: var(--transition);
            border: 1px solid rgba(26, 11, 46, 0.05);
        }
        .rental-card:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-lg);
            border-color: rgba(201, 162, 39, 0.3);
        }
        .rental-header {
            padding: 30px 24px;
            background: linear-gradient(135deg, var(--violet-dark), var(--emerald-dark));
            text-align: center;
        }
        .rental-header .rental-icon {
            font-size: 50px;
            margin-bottom: 10px;
        }
        .rental-header h4 {
            color: var(--gold-light);
            font-size: 20px;
        }
        .rental-body {
            padding: 24px;
        }
        .rental-body p {
            font-size: 13px;
            color: var(--text-mid);
            line-height: 1.7;
            margin-bottom: 16px;
        }
        .rental-body .btn {
            width: 100%;
            justify-content: center;
            font-size: 12px;
            padding: 12px 20px;
        }

        /* ===== ROUTES ===== */
        .routes-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
        }
        .route-card {
            background: rgba(26, 11, 46, 0.5);
            border: 1px solid rgba(201, 162, 39, 0.3);
            border-radius: var(--radius-md);
            padding: 28px 24px;
            text-align: center;
            color: var(--violet-pale);
            transition: var(--transition);
            cursor: pointer;
            backdrop-filter: blur(10px);
        }
        .route-card:hover {
            border-color: var(--gold-light);
            background: rgba(201, 162, 39, 0.1);
            transform: translateY(-5px);
        }
        .route-card .route-icon {
            font-size: 40px;
            margin-bottom: 12px;
        }
        .route-card h4 {
            color: var(--gold-light);
            font-size: 18px;
            margin-bottom: 8px;
        }
        .route-card p {
            font-size: 13px;
            color: var(--violet-pale);
        }

        /* ===== B2B ===== */
        .b2b-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
        }
        .b2b-card {
            background: var(--white);
            border-radius: var(--radius-lg);
            padding: 40px;
            box-shadow: var(--shadow-md);
        }
        .b2b-card h4 {
            font-size: 22px;
            margin-bottom: 16px;
            color: var(--violet-deep);
        }
        .b2b-card table {
            width: 100%;
            border-collapse: collapse;
            margin-bottom: 20px;
        }
        .b2b-card table th,
        .b2b-card table td {
            padding: 12px 16px;
            text-align: left;
            border-bottom: 1px solid rgba(26, 11, 46, 0.08);
            font-size: 13px;
        }
        .b2b-card table th {
            font-weight: 600;
            color: var(--violet-dark);
            background: var(--violet-bg);
        }
        .b2b-card table td {
            color: var(--text-mid);
        }
        .b2b-card .btn {
            width: 100%;
            justify-content: center;
            margin-top: 8px;
        }

        /* ===== SPONSOR ===== */
        .sponsor-content {
            text-align: center;
            max-width: 700px;
            margin: 0 auto;
        }
        .sponsor-content p {
            color: var(--violet-pale);
            font-size: 15px;
            line-height: 1.8;
            margin-bottom: 24px;
        }
        .sponsor-steps {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 16px;
            margin-bottom: 32px;
        }
        .sponsor-step {
            background: rgba(201, 162, 39, 0.1);
            border: 1px solid rgba(201, 162, 39, 0.3);
            border-radius: var(--radius-md);
            padding: 20px;
        }
        .sponsor-step .step-number {
            font-size: 28px;
            font-weight: 700;
            color: var(--gold-light);
            font-family: var(--font-heading);
        }
        .sponsor-step p {
            font-size: 12px;
            color: var(--violet-pale);
            margin-bottom: 0;
        }

        /* ===== SHOP ===== */
        .shop-categories {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            justify-content: center;
            margin-bottom: 30px;
        }
        .shop-cat {
            padding: 10px 20px;
            border-radius: var(--radius-full);
            background: var(--white);
            border: 1px solid rgba(26, 11, 46, 0.1);
            font-size: 13px;
            cursor: pointer;
            transition: var(--transition);
            font-weight: 500;
        }
        .shop-cat:hover, .shop-cat.active {
            background: linear-gradient(135deg, var(--gold-dark), var(--gold-mid));
            color: var(--violet-deep);
            border-color: var(--gold-mid);
        }
        .shop-grid {
            --bs-gutter-x: 1.5rem;
            --bs-gutter-y: 1.5rem;
        }
        /* --- Card shell (Bootstrap .card + .col grid) --- */
        #shop .shop-item {
            position: relative;
            overflow: hidden;
            background: var(--white);
            border: 1px solid rgba(26, 11, 46, 0.06);
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-sm);
            transition: var(--transition);
            cursor: pointer;
        }
        #shop .shop-item::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--gold-mid));
            transform: scaleX(0);
            transform-origin: left;
            transition: var(--transition);
            z-index: 2;
        }
        #shop .shop-item:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-md);
            border-color: rgba(201, 162, 39, 0.35);
        }
        #shop .shop-item:hover::before { transform: scaleX(1); }

        /* --- Header --- */
        #shop .shop-icon {
            flex: 0 0 auto;
            width: 54px;
            height: 54px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 27px;
            line-height: 1;
            border-radius: 50%;
            background: radial-gradient(circle at 32% 26%, #ffffff, var(--gold-pale) 58%, var(--violet-bg));
            border: 1px solid rgba(201, 162, 39, 0.4);
            box-shadow: inset 0 1px 0 #ffffff, 0 3px 12px rgba(201, 162, 39, 0.16);
        }
        #shop .shop-item .card-title {
            font-family: var(--font-heading);
            font-size: 21px;
            font-weight: 600;
            line-height: 1.15;
            color: var(--violet-deep);
            margin: 0;
        }
        #shop .shop-sub {
            display: block;
            margin-top: 4px;
            font-size: 10.5px;
            font-weight: 500;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: var(--text-light);
        }

        /* --- Price --- */
        #shop .shop-price {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 6px 18px;
            font-family: var(--font-heading);
            font-size: 18px;
            font-weight: 700;
            line-height: 1.4;
            color: var(--gold-dark);
            background: linear-gradient(135deg, var(--gold-pale), #ffffff);
            border: 1px solid rgba(201, 162, 39, 0.45);
            border-radius: var(--radius-full);
            box-shadow: 0 2px 10px rgba(201, 162, 39, 0.14);
            white-space: nowrap;
        }
        #shop .shop-price.gift {
            color: var(--emerald-dark);
            background: linear-gradient(135deg, var(--emerald-pale), #ffffff);
            border-color: rgba(26, 107, 79, 0.35);
            box-shadow: 0 2px 10px rgba(26, 107, 79, 0.14);
        }

        /* --- Specs --- */
        #shop .shop-spec {
            height: 100%;
            padding: 10px 12px;
            background: var(--violet-bg);
            border: 1px solid rgba(74, 45, 122, 0.08);
            border-radius: var(--radius-sm);
        }
        #shop .shop-spec .spec-label {
            display: block;
            font-size: 9.5px;
            font-weight: 600;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            color: var(--violet-light);
            margin-bottom: 3px;
        }
        #shop .shop-spec .spec-value {
            font-size: 12.5px;
            font-weight: 600;
            line-height: 1.3;
            color: var(--violet-deep);
        }

        /* --- Text blocks --- */
        #shop .shop-block-label {
            display: block;
            font-size: 10px;
            font-weight: 700;
            letter-spacing: 0.14em;
            text-transform: uppercase;
            color: var(--gold-dark);
            margin-bottom: 7px;
        }
        #shop .shop-desc {
            font-size: 13px;
            line-height: 1.6;
            color: var(--text-mid);
            margin: 0;
        }
        #shop .shop-legend {
            margin: 0;
            padding: 14px 16px 14px 18px;
            background: var(--cream);
            border-left: 3px solid var(--gold-mid);
            border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
        }
        #shop .shop-legend p {
            font-family: var(--font-heading);
            font-size: 14px;
            font-style: italic;
            line-height: 1.55;
            color: var(--text-mid);
            margin: 0;
        }
        #shop .shop-phrase {
            padding: 16px 18px;
            text-align: center;
            background: linear-gradient(135deg, var(--violet-deep), var(--violet-mid));
            border-radius: var(--radius-md);
            box-shadow: var(--shadow-sm);
        }
        #shop .shop-phrase .shop-block-label { color: var(--gold-light); }
        #shop .shop-phrase p {
            font-family: var(--font-heading);
            font-size: 15px;
            font-style: italic;
            line-height: 1.5;
            color: var(--white);
            margin: 0;
        }
        #shop .shop-contents { margin-top: auto; }
        #shop .shop-contents ul {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 6px 14px;
            margin: 0;
            padding: 0;
            list-style: none;
        }
        @media (max-width: 420px) {
            #shop .shop-contents ul { grid-template-columns: 1fr; }
        }
        #shop .shop-empty {
            padding: 48px 24px;
            text-align: center;
            font-family: var(--font-heading);
            font-size: 22px;
            font-style: italic;
            color: var(--text-light);
        }
        #shop .shop-contents li {
            position: relative;
            padding-left: 16px;
            font-size: 12px;
            line-height: 1.45;
            color: var(--text-mid);
        }
        #shop .shop-contents li::before {
            content: 'вњ¦';
            position: absolute;
            left: 0;
            top: -1px;
            font-size: 10px;
            color: var(--gold-mid);
        }

        /* --- Simple products --- */
        #shop .shop-item.simple { text-align: center; }
        #shop .shop-item.simple .shop-icon {
            width: 66px;
            height: 66px;
            font-size: 32px;
        }
        #shop .shop-item.simple .card-title { font-size: 22px; }

        /* ===== HOLIDAYS ===== */
        .holidays-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 20px;
        }
        .holiday-card {
            background: var(--white);
            border-radius: var(--radius-md);
            padding: 30px 24px;
            text-align: center;
            box-shadow: var(--shadow-sm);
            transition: var(--transition);
            border: 1px solid rgba(26, 11, 46, 0.05);
        }
        .holiday-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-md);
            border-color: rgba(201, 162, 39, 0.3);
        }
        .holiday-card .holiday-season {
            font-size: 12px;
            text-transform: uppercase;
            letter-spacing: 2px;
            color: var(--gold-dark);
            font-weight: 600;
            margin-bottom: 10px;
        }
        .holiday-card h4 {
            font-size: 20px;
            margin-bottom: 8px;
        }
        .holiday-card p {
            font-size: 13px;
            color: var(--text-mid);
        }

        /* ===== CONTACT ===== */
        .contact-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 50px;
            align-items: center;
        }
        .contact-info h3 {
            font-size: 28px;
            margin-bottom: 16px;
            color: var(--gold-light);
        }
        .contact-info p {
            color: var(--violet-pale);
            font-size: 14px;
            margin-bottom: 12px;
        }
        .contact-info .contact-detail {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 12px;
            color: var(--violet-pale);
            font-size: 14px;
        }
        .contact-info .contact-detail .contact-icon {
            font-size: 18px;
        }
        .contact-form {
            background: rgba(26, 11, 46, 0.5);
            border: 1px solid rgba(201, 162, 39, 0.3);
            border-radius: var(--radius-lg);
            padding: 40px;
            backdrop-filter: blur(10px);
        }
        .contact-form input,
        .contact-form textarea {
            width: 100%;
            padding: 14px 18px;
            margin-bottom: 16px;
            background: rgba(26, 11, 46, 0.6);
            border: 1px solid rgba(201, 162, 39, 0.3);
            border-radius: var(--radius-sm);
            color: var(--white);
            font-size: 14px;
            font-family: var(--font-body);
            transition: var(--transition);
        }
        .contact-form input::placeholder,
        .contact-form textarea::placeholder {
            color: var(--violet-light);
        }
        .contact-form input:focus,
        .contact-form textarea:focus {
            outline: none;
            border-color: var(--gold-light);
            background: rgba(26, 11, 46, 0.8);
        }
        .contact-form textarea {
            min-height: 120px;
            resize: vertical;
        }
        .contact-form .btn {
            width: 100%;
            justify-content: center;
        }

        /* ===== RECEPTION QUOTE ===== */
        .reception-quote {
            background: linear-gradient(135deg, var(--violet-deep), var(--emerald-dark));
            border-radius: var(--radius-lg);
            padding: 50px 40px;
            text-align: center;
            box-shadow: var(--shadow-lg);
            position: relative;
            overflow: hidden;
        }
        .reception-quote::before {
            content: '"';
            position: absolute;
            top: -20px;
            left: 20px;
            font-size: 200px;
            color: rgba(201, 162, 39, 0.1);
            font-family: var(--font-heading);
        }
        .reception-quote p {
            font-family: var(--font-heading);
            font-size: 26px;
            color: var(--gold-light);
            font-style: italic;
            position: relative;
            z-index: 2;
            letter-spacing: 1px;
        }
        .reception-quote .quote-author {
            font-family: var(--font-body);
            font-size: 14px;
            color: var(--violet-pale);
            font-style: normal;
            margin-top: 16px;
            letter-spacing: 2px;
            text-transform: uppercase;
        }

        /* ===== BILLBOARDS ===== */
        .billboards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
        }
        .billboard {
            background: linear-gradient(135deg, var(--violet-dark), var(--emerald-dark));
            border-radius: var(--radius-md);
            padding: 30px;
            text-align: center;
            border: 2px solid rgba(201, 162, 39, 0.4);
            position: relative;
            overflow: hidden;
        }
        .billboard::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(201, 162, 39, 0.1) 0%, transparent 50%);
        }
        .billboard h4 {
            color: var(--gold-light);
            font-size: 22px;
            margin-bottom: 10px;
            position: relative;
            z-index: 2;
        }
        .billboard p {
            color: var(--violet-pale);
            font-size: 14px;
            position: relative;
            z-index: 2;
            font-style: italic;
        }

        /* ===== TESTIMONIALS ===== */
        .testimonials-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
        }
        .testimonial {
            background: var(--white);
            border-radius: var(--radius-md);
            padding: 30px;
            box-shadow: var(--shadow-sm);
            transition: var(--transition);
            border: 1px solid rgba(26, 11, 46, 0.05);
        }
        .testimonial:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-md);
        }
        .testimonial p {
            font-size: 14px;
            color: var(--text-mid);
            font-style: italic;
            line-height: 1.8;
            margin-bottom: 16px;
        }
        .testimonial .testimonial-author {
            font-size: 13px;
            font-weight: 600;
            color: var(--violet-dark);
        }
        .testimonial .testimonial-city {
            font-size: 12px;
            color: var(--text-light);
        }

        /* ===== FOOTER ===== */
        .footer {
            background: var(--violet-deep);
            padding: 60px 0 30px;
            color: var(--violet-pale);
            border-top: 1px solid rgba(201, 162, 39, 0.3);
        }
        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 40px;
            margin-bottom: 40px;
        }
        .footer-brand .logo {
            margin-bottom: 16px;
        }
        .footer-brand p {
            font-size: 13px;
            line-height: 1.7;
        }
        .footer h5 {
            color: var(--gold-light);
            font-size: 16px;
            margin-bottom: 16px;
            font-family: var(--font-body);
            font-weight: 600;
        }
        .footer-links a {
            display: block;
            font-size: 13px;
            padding: 4px 0;
            color: var(--violet-pale);
            transition: var(--transition);
        }
        .footer-links a:hover {
            color: var(--gold-light);
            padding-left: 5px;
        }
        .footer-subscribe {
            display: flex;
            gap: 10px;
            margin-top: 10px;
        }
        .footer-subscribe input {
            flex: 1;
            padding: 12px 18px;
            background: rgba(26, 11, 46, 0.8);
            border: 1px solid rgba(201, 162, 39, 0.3);
            border-radius: var(--radius-full);
            color: var(--white);
            font-size: 13px;
            font-family: var(--font-body);
        }
        .footer-subscribe input:focus {
            outline: none;
            border-color: var(--gold-light);
        }
        .footer-subscribe button {
            padding: 12px 24px;
            border-radius: var(--radius-full);
            background: linear-gradient(135deg, var(--gold-dark), var(--gold-mid));
            color: var(--violet-deep);
            font-weight: 600;
            border: none;
            cursor: pointer;
            font-size: 13px;
            transition: var(--transition);
        }
        .footer-subscribe button:hover {
            transform: translateY(-2px);
        }
        .footer-bottom {
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid rgba(201, 162, 39, 0.15);
            font-size: 12px;
            color: var(--violet-light);
        }
        .footer-social {
            display: flex;
            gap: 12px;
            margin-top: 16px;
        }
        .footer-social a {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: rgba(201, 162, 39, 0.1);
            border: 1px solid rgba(201, 162, 39, 0.3);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            transition: var(--transition);
        }
        .footer-social a:hover {
            background: rgba(201, 162, 39, 0.2);
            border-color: var(--gold-light);
            transform: translateY(-3px);
        }

        /* ===== MODAL ===== */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(26, 11, 46, 0.8);
            backdrop-filter: blur(10px);
            z-index: 2000;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }
        .modal-overlay.open {
            display: flex;
        }
        .modal {
            /* Bootstrap задаёт для .modal правило display:none и height:100%
               для своего JS-компонента, который здесь не используется.
               Без этих двух строк диалог не отображается вовсе (виден только
               затемнённый фон), а с height:100% растягивается на всю высоту. */
            display: block;
            height: auto;
            background: var(--white);
            border-radius: var(--radius-lg);
            max-width: 500px;
            width: 100%;
            padding: 40px;
            position: relative;
            box-shadow: var(--shadow-lg);
            max-height: 90vh;
            overflow-y: auto;
        }
        .modal-close {
            position: absolute;
            top: 16px;
            right: 16px;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: var(--violet-bg);
            border: none;
            cursor: pointer;
            font-size: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--transition);
            color: var(--violet-dark);
        }
        .modal-close:hover {
            background: var(--violet-pale);
        }
        .modal h3 {
            font-size: 28px;
            text-align: center;
            margin-bottom: 20px;
            color: var(--violet-deep);
        }
        .modal p {
            font-size: 14px;
            color: var(--text-mid);
            text-align: center;
            margin-bottom: 24px;
        }
        .modal form input,
        .modal form select,
        .modal form textarea {
            width: 100%;
            padding: 14px 18px;
            margin-bottom: 14px;
            background: var(--violet-bg);
            border: 1px solid rgba(26, 11, 46, 0.1);
            border-radius: var(--radius-sm);
            font-size: 14px;
            font-family: var(--font-body);
            transition: var(--transition);
        }
        .modal form input:focus,
        .modal form select:focus,
        .modal form textarea:focus {
            outline: none;
            border-color: var(--gold-mid);
            background: var(--white);
        }
        .modal form .btn {
            width: 100%;
            justify-content: center;
        }

        /* ===== RESPONSIVE ===== */
        @media (max-width: 1024px) {
            .wish-content,
            .b2b-content,
            .contact-content {
                grid-template-columns: 1fr;
                gap: 30px;
            }
            /* Легенда: карточка должна оставаться размером с карточку семьи и на
               узких экранах. Берём ту же сетку, что и в разделе «Семья», — тогда
               ширина дорожки совпадает с шириной карточки семьи при любом окне.
               Текст занимает всю строку, карточка стоит над ним (order: -1). */
            .legend-content {
                grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
                gap: 24px;
                justify-content: stretch;
            }
            .legend-text {
                grid-column: 1 / -1;
            }
            .legend-image {
                min-height: 220px;
                order: -1;
            }
            .map-grid {
                grid-template-columns: repeat(3, 1fr);
            }
            .footer-grid {
                grid-template-columns: 1fr 1fr;
            }
        }

        @media (max-width: 768px) {
            .nav {
                display: none;
            }
            .burger {
                display: flex;
            }
            .hero h1 {
                font-size: 40px;
            }
            .hero-tiles {
                grid-template-columns: repeat(2, 1fr);
            }
            .map-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .potion-hero {
                padding: 30px 20px;
            }
            .potion-hero h3 {
                font-size: 28px;
            }
            .potion-instructions {
                padding: 24px 20px;
            }
            .collect-banner {
                flex-direction: column;
                text-align: center;
            }
            .footer-grid {
                grid-template-columns: 1fr;
                gap: 24px;
            }
            .section {
                padding: 60px 0;
            }
            .section h2 {
                font-size: 32px;
            }
            .billboards {
                grid-template-columns: 1fr;
            }
            .contact-form {
                padding: 24px 20px;
            }
            .reception-quote p {
                font-size: 20px;
            }
        }

        @media (max-width: 480px) {
            .hero-tiles {
                grid-template-columns: 1fr;
            }
            .map-grid {
                grid-template-columns: 1fr;
            }
            .btn {
                padding: 14px 20px;
                font-size: 12px;
            }
            .hero-buttons {
                flex-direction: column;
                align-items: center;
            }
            .hero-buttons .btn {
                width: 100%;
                justify-content: center;
            }
        }

        /* ===== ANIMATIONS ===== */
        .fade-in {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.8s ease, transform 0.8s ease;
        }
        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }
        .fade-in-delay-1 { transition-delay: 0.1s; }
        .fade-in-delay-2 { transition-delay: 0.2s; }
        .fade-in-delay-3 { transition-delay: 0.3s; }
        .fade-in-delay-4 { transition-delay: 0.4s; }
        .fade-in-delay-5 { transition-delay: 0.5s; }