:root {
    --bg: #f5f7fb;
    --panel: rgba(255,255,255,0.78);
    --panel-solid: #ffffff;
    --text: #162434;
    --muted: #5f6f82;
    --accent: #d8a623;
    --accent-soft: #f0ca5d;
    --beige: #ffffff;
    --silver: #aab4bf;
    --navy: #162434;
    --line: rgba(22,36,52,0.1);
    --shadow: 0 24px 60px rgba(22,36,52,0.12);
    --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background:
        radial-gradient(circle at top right, rgba(216,166,35,0.14), transparent 25%),
        radial-gradient(circle at top left, rgba(170,180,191,0.18), transparent 24%),
        linear-gradient(180deg, #fbfcfe 0%, #f1f5fa 56%, #e9eff6 100%);
    color: var(--text);
    overflow-x: hidden;
}
.site-preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at top, rgba(216,166,35,0.12), transparent 28%),
        linear-gradient(180deg, #fbfcfe 0%, #eef3f8 100%);
    transition: opacity 0.55s ease, visibility 0.55s ease, transform 0.9s cubic-bezier(.2,.8,.2,1);
    transform-origin: center center;
    overflow: hidden;
}
.site-preloader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: perspective(1400px) rotateX(-18deg) scale(1.04);
}
.loader-visual {
    position: relative;
    width: min(560px, calc(100% - 32px));
    min-height: 260px;
    perspective: 1200px;
    display: grid;
    place-items: center;
    z-index: 2;
}
.loader-bars {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    pointer-events: none;
}
.loader-bars span {
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255,255,255,0.72), rgba(232,238,245,0.42));
    border: 1px solid rgba(22,36,52,0.06);
    transform: translateY(0) scaleY(1);
    transform-origin: center;
    animation: loaderBarShift 2.8s ease-in-out infinite;
}
.loader-bars span:nth-child(2) { animation-delay: 0.15s; }
.loader-bars span:nth-child(3) { animation-delay: 0.3s; }
.loader-bars span:nth-child(4) { animation-delay: 0.45s; }
.loader-bars span:nth-child(5) { animation-delay: 0.6s; }
.site-preloader.is-hidden .loader-bars span {
    transform: translateY(120%) scaleY(1.06);
    opacity: 0;
    transition: transform 0.9s cubic-bezier(.2,.8,.2,1), opacity 0.7s ease;
}
.loader-panel {
    position: relative;
    width: 100%;
    min-height: 320px;
    transform-style: preserve-3d;
    animation: loaderPanelFloat 4.4s ease-in-out infinite;
}
.loader-panel::before,
.loader-panel::after {
    content: "";
    position: absolute;
    inset: 26px 40px;
    border-radius: 36px;
    border: 1px solid rgba(22,36,52,0.08);
    background: linear-gradient(145deg, rgba(255,255,255,0.46), rgba(235,241,247,0.16));
    transform: translateZ(-36px) translateY(20px) scale(0.95);
}
.loader-panel::after {
    inset: 44px 62px;
    transform: translateZ(-72px) translateY(42px) scale(0.9);
    opacity: 0.62;
}
.loader-panel-face {
    position: relative;
    min-height: 320px;
    border-radius: 40px;
    padding: 34px 40px 30px;
    background:
        radial-gradient(circle at 20% 15%, rgba(255,255,255,0.95), transparent 18%),
        radial-gradient(circle at 80% 20%, rgba(216,166,35,0.16), transparent 24%),
        linear-gradient(145deg, rgba(255,255,255,0.98), rgba(235,241,247,0.9));
    border: 1px solid rgba(22,36,52,0.1);
    box-shadow: 0 28px 70px rgba(22,36,52,0.14), inset 0 1px 0 rgba(255,255,255,0.95);
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 18px;
    transform: translateZ(24px) rotateX(10deg) rotateY(-10deg);
    overflow: hidden;
}
.loader-logo-stage {
    position: relative;
    width: min(420px, 100%);
    min-height: 160px;
    display: grid;
    place-items: center;
    transform-style: preserve-3d;
    perspective: 1400px;
}
.loader-logo-orbit,
.loader-logo-shadow {
    position: absolute;
    inset: 50% auto auto 50%;
    transform-style: preserve-3d;
    pointer-events: none;
}
.loader-logo-orbit {
    border-radius: 50%;
    border: 1px solid rgba(22,36,52,0.08);
}
.orbit-a {
    width: 320px;
    height: 92px;
    margin-left: -160px;
    margin-top: -46px;
    transform: translateZ(10px) rotateX(76deg) rotateZ(0deg);
    animation: orbitSpinA 7.5s linear infinite;
}
.orbit-b {
    width: 260px;
    height: 72px;
    margin-left: -130px;
    margin-top: -36px;
    border-color: rgba(216,166,35,0.34);
    transform: translateZ(24px) rotateX(76deg) rotateZ(0deg);
    animation: orbitSpinB 5.8s linear infinite reverse;
}
.loader-logo-shadow {
    border-radius: 50%;
    filter: blur(18px);
}
.shadow-a {
    width: 280px;
    height: 54px;
    margin-left: -140px;
    margin-top: 34px;
    background: radial-gradient(circle, rgba(22,36,52,0.18), transparent 68%);
    transform: translateZ(-10px) rotateX(78deg);
}
.shadow-b {
    width: 220px;
    height: 42px;
    margin-left: -110px;
    margin-top: 22px;
    background: radial-gradient(circle, rgba(216,166,35,0.22), transparent 68%);
    transform: translateZ(0) rotateX(78deg);
}
.loader-brand-logo {
    display: block;
    width: 320px;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 18px 36px rgba(22,36,52,0.14));
    transform: translateZ(70px) rotateX(10deg);
    animation: loaderLogoFloat 3.4s ease-in-out infinite;
}
.loader-kicker {
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}
.loader-progress-ring {
    position: relative;
    width: 86px;
    height: 86px;
}
.loader-ring-track,
.loader-ring-fill,
.loader-ring-core {
    position: absolute;
    inset: 0;
    border-radius: 50%;
}
.loader-ring-track {
    border: 10px solid rgba(22,36,52,0.08);
}
.loader-ring-fill {
    background: conic-gradient(from 0deg, #c89212, var(--accent), #f0ca5d, #c89212);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 10px), #000 0);
    mask: radial-gradient(farthest-side, transparent calc(100% - 10px), #000 0);
    animation: loaderRingSpin 1.2s linear infinite;
}
.loader-ring-core {
    inset: 16px;
    background: linear-gradient(145deg, rgba(255,255,255,0.98), rgba(238,243,248,0.92));
    box-shadow: inset 0 1px 8px rgba(22,36,52,0.08);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.section { padding: 92px 0; position: relative; }
.page-ambient {
    position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden;
    perspective: 1200px;
}
.ambient-orb, .ambient-grid {
    position: absolute; display: block; will-change: transform;
}
.ambient-orb {
    border-radius: 50%;
    filter: blur(12px);
    opacity: 0.45;
}
.orb-one {
    width: 440px; height: 440px; top: 8%; right: -6%;
    background: radial-gradient(circle, rgba(216,166,35,0.55), rgba(216,166,35,0.05) 62%, transparent 72%);
    animation: drift 11s ease-in-out infinite alternate;
}
.orb-two {
    width: 320px; height: 320px; left: -8%; top: 54%;
    background: radial-gradient(circle, rgba(170,180,191,0.18), rgba(255,255,255,0.04) 65%, transparent 75%);
    animation: drift 14s ease-in-out infinite alternate-reverse;
}
.ambient-grid {
    inset: 12% 8% auto auto; width: 40vw; height: 40vw; max-width: 560px; max-height: 560px;
    border-radius: 30px;
    background-image:
        linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 42px 42px;
    transform: rotateX(72deg) rotateZ(22deg);
    opacity: 0.18;
}
.section-dark { background: rgba(255,255,255,0.46); }
.section-accent { background: linear-gradient(180deg, rgba(216,166,35,0.08), rgba(255,255,255,0.5)); }
.site-header {
    position: sticky; top: 0; z-index: 30;
    backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, 0.78);
    border-bottom: 1px solid var(--line);
}
.nav-wrap, .site-nav, .cta-row, .section-head, .filter-row, .footer-grid, .hero-stats, .field-grid, .admin-header.inline, .table-actions {
    display: flex; gap: 16px;
}
.nav-wrap, .section-head, .admin-header.inline { justify-content: space-between; align-items: center; }
.site-nav { align-items: center; flex-wrap: wrap; }
.mobile-menu-toggle,
.mobile-menu { display: none; }
.mobile-menu-toggle {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.72);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}
.mobile-menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: var(--navy);
    transition: transform 0.25s ease, opacity 0.25s ease;
}
.mobile-menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
    border-top: 1px solid var(--line);
    background: rgba(255,255,255,0.95);
}
.mobile-menu-inner {
    display: grid;
    gap: 6px;
    padding: 14px 0 18px;
}
.mobile-menu-inner a {
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255,255,255,0.8);
    border: 1px solid var(--line);
}
.mobile-menu.open { display: block; }
.site-nav a, .socials a, .filter-link, .filter-btn { color: var(--muted); transition: 0.25s ease; }
.site-nav a:hover, .socials a:hover, .filter-link:hover, .filter-link.active, .filter-btn:hover, .filter-btn.active { color: var(--text); }
.site-nav a i, .socials a i, .footer-grid h4 i, .footer-grid h5 i, .footer-grid p i, .footer-grid a i {
    color: var(--accent-soft);
}
.brand { display: inline-flex; align-items: center; gap: 14px; padding: 14px 0; }
.brand strong, .brand span { display: block; }
.brand span { color: var(--muted); font-size: 13px; }
.brand-logo {
    display: block;
    width: 220px;
    height: auto;
    max-height: 68px;
    object-fit: contain;
}
.brand-mark {
    width: 54px; height: 54px; border-radius: 18px;
    display: grid; place-items: center;
    background: linear-gradient(135deg, var(--navy), #24364c 58%, var(--accent));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), var(--shadow);
    font-weight: 800;
}
.nav-chip, .btn, .btn-secondary, .filter-btn {
    border: 1px solid rgba(255,255,255,0.12);
    padding: 13px 20px; border-radius: 999px; cursor: pointer;
}
.btn {
    background: linear-gradient(135deg, #c89212, var(--accent), #f0ca5d);
    color: #0b1622; box-shadow: 0 16px 30px rgba(216,166,35,0.3);
}
.btn-secondary, .nav-chip, .filter-btn {
    background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(232,238,245,0.9));
    color: var(--text);
}
.btn-block { display: block; width: 100%; }
.hero-section { padding: 72px 0 96px; overflow: hidden; }
.hero-grid, .split-section, .contact-grid, .auth-shell { display: grid; gap: 32px; align-items: center; }
.hero-grid { grid-template-columns: 1.15fr 0.85fr; min-height: 78vh; }
.split-section, .contact-grid { grid-template-columns: repeat(2, 1fr); }
.site-header, .section, .site-footer { position: relative; z-index: 1; }
.eyebrow {
    color: var(--accent-soft);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 12px;
    font-weight: 700;
}
h1, h2, h3, h4, h5 { margin: 0 0 12px; line-height: 1.04; }
h1 { font-size: clamp(42px, 6vw, 82px); max-width: 11ch; }
h2.section-title, .split-section h2 { font-size: clamp(34px, 4vw, 56px); max-width: 13ch; }
p { color: var(--muted); line-height: 1.75; }
.hero-copy p { font-size: 18px; max-width: 58ch; }
.glass-card, .service-card, .gallery-card, .news-card, .testimonial-card, .panel, .auth-card, .stat-card, .scene-card, .feature-pill, .timeline-step {
    background: var(--panel);
    border: 1px solid var(--line);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
}
.glass-card, .feature-pill { padding: 18px 20px; border-radius: 20px; }
.hero-stats { margin-top: 30px; flex-wrap: wrap; }
.hero-stats .glass-card span {
    display: inline-block;
    margin-left: 8px;
}
.scene-card {
    height: 560px; position: relative; border-radius: 38px;
    transform: perspective(1400px) rotateY(-12deg) rotateX(6deg);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.92), rgba(240,244,249,0.82)),
        radial-gradient(circle at top, rgba(216,166,35,0.22), transparent 45%),
        #edf2f8;
    transform-style: preserve-3d;
    will-change: transform;
}
.hero-image-shell {
    position: absolute; inset: 11% 10% 11%;
    transform-style: preserve-3d;
}
.hero-image-card {
    position: absolute; inset: 0;
    border-radius: 30px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 38px 90px rgba(0, 0, 0, 0.34);
    transform: translateZ(58px);
    overflow: hidden;
}
.hero-image-card::before {
    content: '';
    position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(8,10,14,0.02), rgba(8,10,14,0.24)),
        linear-gradient(120deg, rgba(255,255,255,0.16), transparent 32%);
}
.hero-image-glow {
    position: absolute;
    inset: 14% -2% -6% 18%;
    background: radial-gradient(circle, rgba(216,166,35,0.3), transparent 68%);
    transform: translateZ(20px);
    filter: blur(18px);
}
.hero-image-panel {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(22,36,52,0.1);
    backdrop-filter: blur(16px);
    color: var(--text);
    box-shadow: 0 18px 36px rgba(22,36,52,0.14);
}
.hero-image-panel i { color: var(--accent-soft); }
.hero-image-panel.panel-a {
    left: -18px;
    bottom: 72px;
    transform: translateZ(88px);
}
.hero-image-panel.panel-b {
    right: 2%;
    top: 28%;
    transform: translateZ(104px);
}
.hero-badge-cluster {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
}
.hero-badge {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(22,36,52,0.1);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.24);
    color: var(--text);
    white-space: nowrap;
}
.hero-badge i {
    color: var(--accent-soft);
    font-size: 14px;
}
.badge-top {
    top: 8%;
    right: 4%;
    transform: translateZ(110px);
    animation: badgeFloatA 5.5s ease-in-out infinite;
}
.badge-mid {
    top: 47%;
    left: -5%;
    transform: translateZ(96px);
    animation: badgeFloatB 6s ease-in-out infinite;
}
.badge-bottom {
    right: 8%;
    bottom: 10%;
    transform: translateZ(116px);
    animation: badgeFloatC 5.8s ease-in-out infinite;
}
.hero-ring {
    position: absolute; inset: 12%; border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.12);
    transform: translateZ(40px);
}
.ring-one { animation: spin 16s linear infinite; }
.ring-two {
    inset: 22%; border-color: rgba(217,123,57,0.4);
    animation: spinReverse 13s linear infinite;
}
.card-grid, .gallery-grid, .news-grid, .stats-grid { display: grid; gap: 22px; }
.card-grid { grid-template-columns: repeat(5, 1fr); }
.gallery-grid, .news-grid { grid-template-columns: repeat(3, 1fr); }
.stats-grid { grid-template-columns: repeat(3, 1fr); margin-bottom: 24px; }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service-card, .gallery-card, .news-card, .testimonial-card, .auth-card, .panel, .stat-card {
    padding: 24px; border-radius: var(--radius); transition: transform 0.35s ease, border-color 0.35s ease;
}
.fact-card {
    padding: 28px 24px;
    border-radius: var(--radius);
    transition: transform 0.35s ease, border-color 0.35s ease;
    background: var(--panel);
    border: 1px solid var(--line);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
}
.fact-value {
    display: block;
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1;
    color: var(--navy);
    margin-bottom: 12px;
}
.fact-card span {
    display: block;
    color: var(--muted);
    font-weight: 600;
}
.service-card:hover, .gallery-card:hover, .news-card:hover { transform: translateY(-8px); border-color: rgba(216,166,35,0.55); }
.fact-card:hover { transform: translateY(-8px); border-color: rgba(216,166,35,0.55); }
.service-card, .gallery-card, .news-card, .testimonial-card { transform-style: preserve-3d; will-change: transform; }
.service-icon {
    width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
    background: linear-gradient(135deg, rgba(216,166,35,0.2), rgba(255,255,255,0.06));
    color: var(--accent-soft); font-size: 26px; margin-bottom: 20px;
}
.service-icon i { font-size: 24px; }
.feature-grid { display: flex; flex-wrap: wrap; gap: 14px; }
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.timeline-step { border-radius: 24px; padding: 22px; }
.timeline-step span {
    width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%;
    background: linear-gradient(135deg, #c89212, var(--accent), #f0ca5d); color: #0b1622; font-weight: 700; margin-bottom: 18px;
}
.gallery-media, .news-media, .article-cover {
    border-radius: 22px; min-height: 220px; margin-bottom: 18px;
    background-size: cover; background-position: center;
    background-image: linear-gradient(135deg, rgba(217,123,57,0.28), rgba(255,255,255,0.04));
    position: relative; overflow: hidden;
}
.gallery-media::after, .news-media::after, .project-slide::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(9,10,12,0.02), rgba(9,10,12,0.18));
}
.placeholder {
    display: grid; place-items: center; color: var(--accent-soft); font-size: 54px; font-weight: 800;
}
.gallery-copy small, .news-copy small { color: var(--accent-soft); display: block; margin-bottom: 10px; }
.tag-row, .contact-list, .admin-nav, .social-row { display: flex; gap: 10px; flex-wrap: wrap; }
.tag-row span, .filter-link {
    padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,0.8); border: 1px solid var(--line);
    font-size: 13px;
}
.project-slider {
    position: relative; min-height: 480px; border-radius: 34px; overflow: hidden;
    border: 1px solid var(--line); box-shadow: var(--shadow); margin-bottom: 18px;
}
.project-slide {
    position: absolute; inset: 0; background-size: cover; background-position: center;
    opacity: 0; transform: scale(1.08) rotateY(-5deg); transition: opacity 0.8s ease, transform 1s ease;
}
.project-slide.active { opacity: 1; transform: scale(1) rotateY(0deg); }
.project-slide-copy {
    position: absolute; left: 40px; bottom: 38px; z-index: 2; width: min(460px, calc(100% - 64px));
    padding: 26px; border-radius: 24px; background: rgba(255,255,255,0.78); backdrop-filter: blur(18px);
    border: 1px solid rgba(22,36,52,0.1);
}
.slider-dots { display: flex; gap: 10px; justify-content: center; margin-bottom: 14px; }
.slider-dot {
    width: 12px; height: 12px; border-radius: 50%; border: 0; cursor: pointer;
    background: rgba(255,255,255,0.18);
}
.slider-dot.active { background: var(--accent); box-shadow: 0 0 0 5px rgba(216,166,35,0.15); }
.testimonial-slider { position: relative; min-height: 280px; }
.testimonial-card { position: absolute; inset: 0; opacity: 0; transform: translateX(30px); }
.testimonial-card.active { opacity: 1; transform: translateX(0); }
.quote-icon {
    width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 18px;
    border-radius: 18px; color: var(--accent-soft);
    background: linear-gradient(135deg, rgba(216,166,35,0.25), rgba(255,255,255,0.06));
}
.contact-form input, .contact-form select, .contact-form textarea, .auth-card input, .panel input, .panel select, .panel textarea {
    width: 100%; margin-bottom: 16px; padding: 15px 16px; border-radius: 16px;
    border: 1px solid rgba(22,36,52,0.1); background: rgba(255,255,255,0.86); color: var(--text);
}
.field-grid { flex-wrap: wrap; }
.field-grid > * { flex: 1 1 220px; }
.field-grid.two { display: grid; grid-template-columns: repeat(2, 1fr); }
.contact-form, .auth-card { padding: 28px; border-radius: 28px; }
.auth-shell { grid-template-columns: minmax(280px, 420px); justify-content: center; min-height: 70vh; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; flex-direction: column; }
.contact-list li { display: flex; gap: 10px; align-items: center; }
.contact-list i { color: var(--accent-soft); width: 18px; }
.social-chip {
    width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%;
    background: rgba(255,255,255,0.06); border: 1px solid var(--line);
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.social-chip:hover { transform: translateY(-4px); border-color: rgba(216,166,35,0.55); }
.site-footer { padding: 54px 0 24px; border-top: 1px solid var(--line); background: rgba(255,255,255,0.62); }
.footer-grid { align-items: start; justify-content: space-between; flex-wrap: wrap; }
.footer-grid > div { display: grid; gap: 10px; max-width: 260px; }
.footer-logo {
    display: block;
    width: 240px;
    height: auto;
    max-width: 100%;
    object-fit: contain;
}
.footer-grid a, .footer-grid p, .socials a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.footer-bottom { margin-top: 24px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 18px; }
.alert { width: min(1180px, calc(100% - 32px)); margin: 16px auto 0; padding: 14px 18px; border-radius: 16px; }
.alert.success { background: rgba(56, 161, 105, 0.18); border: 1px solid rgba(56, 161, 105, 0.3); }
.alert.error { background: rgba(229, 62, 62, 0.16); border: 1px solid rgba(229, 62, 62, 0.28); }
.page-hero { min-height: 60vh; }
.article-shell { max-width: 860px; }
.rich-content p, .rich-content ul, .rich-content ol { margin-bottom: 18px; }
.admin-body { display: grid; grid-template-columns: 280px 1fr; min-height: 100vh; }
.admin-sidebar { padding: 24px; border-right: 1px solid var(--line); background: rgba(10,10,12,0.9); }
.admin-brand { margin-bottom: 30px; }
.admin-nav { flex-direction: column; margin-bottom: 26px; }
.admin-nav a { padding: 12px 16px; border-radius: 16px; background: rgba(255,255,255,0.03); }
.admin-main { padding: 28px; }
.admin-header { margin-bottom: 24px; }
.stat-card strong { display: block; font-size: 40px; margin-bottom: 8px; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: 14px; border-bottom: 1px solid var(--line); }
.table-actions { align-items: center; }
.link-button { background: none; color: #ffb48a; border: 0; padding: 0; cursor: pointer; }
.pagination {
    display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 24px 0 0;
}
.page-item { display: inline-flex; }
.page-link {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 44px; min-height: 44px; padding: 0 14px;
    border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,0.04);
}
.page-item.active .page-link { background: linear-gradient(135deg, #c89212, var(--accent), #f0ca5d); border-color: transparent; color: #0b1622; }
.page-item.disabled .page-link { opacity: 0.45; pointer-events: none; }
.form-panel label { display: block; margin-bottom: 8px; color: var(--accent-soft); font-size: 14px; }
.check-row { display: inline-flex; align-items: center; gap: 12px; color: var(--muted); }
.message-box {
    white-space: pre-wrap; padding: 18px; border-radius: 18px;
    background: rgba(255,255,255,0.82); border: 1px solid var(--line);
}
.editor-shell { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: rgba(255,255,255,0.03); }
.editor-toolbar { display: flex; gap: 8px; padding: 12px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.editor-toolbar button {
    border: 1px solid var(--line); background: rgba(255,255,255,0.9); color: var(--text);
    padding: 8px 12px; border-radius: 12px; cursor: pointer;
}
.editor-content { min-height: 240px; padding: 18px; outline: none; }
.hidden-editor { display: none; }
.text-link { color: var(--accent-soft); font-weight: 600; }
.filter-row { flex-wrap: wrap; margin-bottom: 20px; }
.reveal { opacity: 0; transform: translateY(24px); transition: 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes drift {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to { transform: translate3d(18px, -24px, 0) scale(1.08); }
}

@keyframes spin {
    from { transform: translateZ(40px) rotate(0deg); }
    to { transform: translateZ(40px) rotate(360deg); }
}

@keyframes spinReverse {
    from { transform: translateZ(40px) rotate(360deg); }
    to { transform: translateZ(40px) rotate(0deg); }
}

@keyframes badgeFloatA {
    0%, 100% { transform: translate3d(0, 0, 110px); }
    50% { transform: translate3d(-8px, -8px, 110px); }
}

@keyframes badgeFloatB {
    0%, 100% { transform: translate3d(0, 0, 96px); }
    50% { transform: translate3d(10px, -6px, 96px); }
}

@keyframes badgeFloatC {
    0%, 100% { transform: translate3d(0, 0, 116px); }
    50% { transform: translate3d(-6px, -10px, 116px); }
}

@keyframes loaderPanelFloat {
    0%, 100% { transform: translateY(0) rotateZ(0deg); }
    50% { transform: translateY(-8px) rotateZ(-0.45deg); }
}

@keyframes loaderLogoFloat {
    0%, 100% { transform: translateZ(70px) rotateX(10deg) rotateY(0deg) translateY(0); }
    25% { transform: translateZ(82px) rotateX(12deg) rotateY(-6deg) translateY(-4px); }
    50% { transform: translateZ(90px) rotateX(8deg) rotateY(6deg) translateY(-8px); }
    75% { transform: translateZ(78px) rotateX(12deg) rotateY(-4deg) translateY(-2px); }
}

@keyframes orbitSpinA {
    from { transform: translateZ(10px) rotateX(76deg) rotateZ(0deg); }
    to { transform: translateZ(10px) rotateX(76deg) rotateZ(360deg); }
}

@keyframes orbitSpinB {
    from { transform: translateZ(24px) rotateX(76deg) rotateZ(360deg); }
    to { transform: translateZ(24px) rotateX(76deg) rotateZ(0deg); }
}

@keyframes loaderRingSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes loaderBarShift {
    0%, 100% { transform: translateY(0) scaleY(1); opacity: 0.72; }
    50% { transform: translateY(-10px) scaleY(1.06); opacity: 1; }
}

@media (max-width: 1100px) {
    .card-grid { grid-template-columns: repeat(3, 1fr); }
    .timeline { grid-template-columns: repeat(3, 1fr); }
    .gallery-grid, .news-grid, .facts-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
    .hero-grid, .split-section, .contact-grid, .admin-body { grid-template-columns: 1fr; }
    .admin-sidebar { border-right: 0; border-bottom: 1px solid var(--line); }
    .card-grid, .timeline, .stats-grid, .facts-grid { grid-template-columns: repeat(2, 1fr); }
    .site-nav { display: none; }
    .mobile-menu-toggle { display: inline-flex; }
    .scene-card { height: 460px; transform: none; }
    .hero-image-panel.panel-a { left: 10px; bottom: 16px; }
    .hero-image-panel.panel-b { right: 14px; top: 24%; }
    .badge-top { top: 10%; right: 4%; }
    .badge-mid { top: 48%; left: 2%; }
    .badge-bottom { right: 5%; bottom: 9%; }
    .project-slider { min-height: 400px; }
}

@media (max-width: 620px) {
    .section { padding: 74px 0; }
    .card-grid, .gallery-grid, .news-grid, .timeline, .stats-grid, .facts-grid, .field-grid.two { grid-template-columns: 1fr; }
    .brand-logo { width: 170px; max-height: 56px; }
    .nav-wrap { gap: 12px; }
    .hero-copy p { font-size: 16px; }
    .scene-card { height: 360px; }
    .hero-image-shell { inset: 12% 6% 12%; }
    .hero-image-panel { font-size: 13px; padding: 12px 14px; }
    .hero-image-panel.panel-b {
        top: 22%;
        right: 10px;
        max-width: 150px;
        white-space: normal;
        line-height: 1.3;
    }
    .hero-badge {
        font-size: 12px;
        padding: 10px 12px;
        gap: 8px;
    }
    .badge-top { top: 6%; right: 2%; }
    .badge-mid { top: 50%; left: 0; }
    .badge-bottom { right: 2%; bottom: 8%; }
    .admin-main { padding: 18px; }
    .project-slide-copy { left: 18px; right: 18px; bottom: 18px; width: auto; padding: 20px; }
    .project-slider { min-height: 340px; }
    .loader-panel-face { padding: 28px 24px; min-height: 280px; }
    .loader-brand-logo { width: 240px; }
    .loader-logo-stage { min-height: 130px; }
    .orbit-a { width: 230px; height: 68px; margin-left: -115px; margin-top: -34px; }
    .orbit-b { width: 190px; height: 54px; margin-left: -95px; margin-top: -27px; }
    .shadow-a { width: 180px; height: 36px; margin-left: -90px; }
    .shadow-b { width: 140px; height: 28px; margin-left: -70px; }
}
