@font-face {
    font-family: 'Actay Wide';
    src: url('../fonts/ActayWide-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* Actay Wide Bold — фирменный шрифт для заголовков и акцентных надписей по всему сайту */
.font-display,
h1, h2, h3, h4, h5, h6 {
    font-family: 'Actay Wide', 'Arial', 'Helvetica Neue', ui-sans-serif, system-ui, sans-serif;
    font-weight: 700;
    letter-spacing: -0.01em;
}

[x-cloak] { display: none !important; }

.site-public::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(24, 36, 48, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(24, 36, 48, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
}

.industrial-hero-grid {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 56px 56px, 56px 56px;
}

.prose img { border-radius: 0.75rem; }
.prose video { width: 100%; height: auto; border-radius: 0.75rem; background: #000; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 0.75rem; }

.site-public .rounded-lg,
.site-public .rounded-xl,
.site-public .rounded-2xl {
    border-radius: 2px;
}

.site-public .shadow-soft,
.site-public .shadow-xl,
.site-public .shadow-2xl {
    box-shadow: none;
}

.site-public .bg-gradient-to-br {
    background-image: none !important;
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #c8a280; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #8c624a; }

/* Swiper customization */
.swiper-button-prev, .swiper-button-next {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(9, 26, 48, 0.35);
}
.swiper-button-prev::after, .swiper-button-next::after { font-size: 16px; font-weight: bold; }
.swiper-pagination-bullet {
    width: 24px;
    height: 3px;
    border-radius: 0;
    background: #fff;
    opacity: 0.45;
}
.swiper-pagination-bullet-active { background: #e4c09a; opacity: 1; }

/* Hero slide indicator: aligned with content, kept clear of the bottom strip */
.hero-swiper .swiper-pagination {
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 80rem;
    padding: 0 1rem;
    text-align: left;
    bottom: 1rem;
}
.hero-swiper .swiper-pagination .swiper-pagination-bullet {
    margin: 0 6px 0 0;
}
.hero-swiper .swiper-button-prev.hero-nav,
.hero-swiper .swiper-button-next.hero-nav {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(24, 36, 48, 0.5);
    backdrop-filter: blur(2px);
    transition: background 0.2s, border-color 0.2s;
}
.hero-swiper .swiper-button-prev.hero-nav:hover,
.hero-swiper .swiper-button-next.hero-nav:hover {
    background: rgba(228, 192, 154, 0.18);
    border-color: rgba(228, 192, 154, 0.6);
}
.hero-swiper .swiper-button-prev.hero-nav::after,
.hero-swiper .swiper-button-next.hero-nav::after {
    font-size: 16px;
    font-weight: 700;
}
@media (min-width: 768px) {
    .hero-swiper .swiper-pagination {
        bottom: 12.5rem;
    }
}

/* Print version - hides decorative elements, optimizes layout for paper */
@media print {
    *, *::before, *::after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    header, footer, .swiper-button-prev, .swiper-button-next, .swiper-pagination,
    [x-show], [x-data*="callback"], video, iframe, button, .no-print {
        display: none !important;
    }
    a, a:visited { text-decoration: underline; }
    a[href]::after { content: " (" attr(href) ")"; font-size: 0.9em; color: #555; }
    a[href^="#"]::after, a[href^="javascript:"]::after { content: ""; }
    img { max-width: 100% !important; page-break-inside: avoid; }
    h1, h2, h3 { page-break-after: avoid; }
    p, blockquote { orphans: 3; widows: 3; page-break-inside: avoid; }
    .prose { font-size: 11pt; line-height: 1.5; }
    body { font-size: 11pt; padding: 1cm; }
    .swiper-slide { page-break-inside: avoid; }
}
