/* ============================================================
   RESET & BASE – CORPORATE / SATURN AESTHETIC
   ============================================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

::selection {
    background: rgba(212, 175, 55, 0.3);
    color: #fff;
}

:root {
    --bg-deep: #080808;
    --bg-elevated: #0f0f0f;
    --bg-surface: #1a1a1a;
    --bg-glass: rgba(10, 10, 10, 0.75);
    --accent: #D4AF37;
    --accent-glow: #E8C84A;
    --accent-soft: rgba(212, 175, 55, 0.10);
    --accent-subtle: rgba(212, 175, 55, 0.25);
    --text-primary: #F0ECE1;
    --text-secondary: #B8B0A0;
    --text-muted: #7A7266;
    --white-soft: #FDFCF8;
    --border-subtle: rgba(212, 175, 55, 0.15);
    --border-light: rgba(255, 255, 255, 0.04);
    --shadow-card: 0 20px 40px -12px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(212, 175, 55, 0.06);
    --shadow-glow: 0 0 50px rgba(212, 175, 55, 0.04);
    --radius-lg: 1.8rem;
    --radius-md: 1rem;
    --transition-smooth: 0.5s cubic-bezier(0.2, 0.9, 0.4, 1);
    --font-display: 'Playfair Display', 'Georgia', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) var(--bg-deep);
    scroll-padding-top: 6rem;
}

body {
    -webkit-overflow-scrolling: touch;
    background: var(--bg-deep);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    font-weight: 350;
    letter-spacing: 0.01em;
}

::-webkit-scrollbar {
    width: 3px;
}
::-webkit-scrollbar-track {
    background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 2px;
}

/* ============================================================
   PROGRESS BAR
   ============================================================ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    background: var(--accent);
    z-index: 999;
    width: 0%;
    transition: width 0.08s linear;
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.5);
    pointer-events: none;
}

/* ============================================================
   SATURN RING BACKGROUND
   ============================================================ */
.orb-container {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
.saturn-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.08);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vmin;
    height: 80vmin;
    animation: ringRotate 60s linear infinite;
}
.saturn-ring--2 {
    width: 110vmin;
    height: 110vmin;
    border-color: rgba(212, 175, 55, 0.04);
    animation-duration: 90s;
    animation-direction: reverse;
}
.saturn-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40vmin;
    height: 40vmin;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.06), transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
}
@keyframes ringRotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ============================================================
   PARTICLE CANVAS – звёздная пыль
   ============================================================ */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.4;
}

.wrapper {
    position: relative;
    z-index: 2;
}

/* ============================================================
   REVEAL
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.9, 0.4, 1), transform 0.8s cubic-bezier(0.2, 0.9, 0.4, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
    background: transparent;
    width: 100%;
    padding: 0 2.5rem;
}
.nav.scrolled {
    background: rgba(8, 8, 8, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
}
.nav__container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 1.2rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: padding 0.3s ease;
}
.nav.scrolled .nav__container {
    padding: 0.7rem 0;
}
.nav__logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.nav__logo-img {
    width: 44px;
    height: 44px;
    display: block;
    object-fit: contain;
    transition: width 0.3s ease, height 0.3s ease;
    filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.2));
}
.nav__links {
    display: flex;
    gap: 2.8rem;
    list-style: none;
    align-items: center;
}
.nav__links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.2rem 0;
}
.nav__links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.4s ease;
}
.nav__links a:hover {
    color: var(--white-soft);
}
.nav__links a:hover::after {
    width: 100%;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
    position: relative;
    z-index: 2;
    padding: 7rem 2.5rem;
    scroll-margin-top: 120px;
}
.section--hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 8rem;
    padding-bottom: 5rem;
}
.section--compact {
    min-height: auto;
    padding: 5rem 2.5rem;
}
.section__inner {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
}
.section__inner--wide {
    max-width: 1320px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero-badge {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: var(--accent-glow);
    text-transform: uppercase;
    margin-bottom: 2rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 0.4rem 1.8rem;
    border-radius: 40px;
    background: rgba(212, 175, 55, 0.04);
    backdrop-filter: blur(4px);
    opacity: 0;
    animation: fadeUp 1s 0.2s ease forwards;
}
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3.2rem, 10vw, 7rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--white-soft);
    margin-bottom: 1.2rem;
    opacity: 0;
    animation: fadeUp 1s 0.35s ease forwards;
}
.hero-title .accent {
    color: var(--accent);
}
.hero-sub {
    font-size: clamp(0.95rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 2.8rem;
    font-weight: 350;
    line-height: 1.7;
    opacity: 0;
    animation: fadeUp 1s 0.5s ease forwards;
}
.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2.8rem;
    border-radius: 40px;
    background: var(--accent);
    border: none;
    color: #0a0a0a;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeUp 1s 0.65s ease forwards;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.2);
    cursor: pointer;
}
.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.4), 0 8px 20px rgba(0, 0, 0, 0.3);
    background: #E8C84A;
}
.hero-cta svg {
    transition: transform 0.3s ease;
}
.hero-cta:hover svg {
    transform: translateX(4px);
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    color: var(--text-muted);
    font-size: 0.55rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeUp 1.2s 1s ease forwards;
}
.hero-scroll-indicator .line {
    width: 1px;
    height: 28px;
    background: linear-gradient(180deg, var(--accent), transparent);
    animation: pulseLine 2.2s ease-in-out infinite;
}
@keyframes pulseLine {
    0%, 100% { opacity: 0.2; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ============================================================
   HIGHLIGHT BOX
   ============================================================ */
.highlight-box {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.12);
    border-radius: var(--radius-lg);
    padding: 3.5rem 3rem;
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.highlight-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 30px 50px -18px rgba(0,0,0,0.8), 0 0 0 1px rgba(212, 175, 55, 0.15);
}
.highlight-box h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 500;
    color: var(--white-soft);
    margin-bottom: 1.2rem;
    letter-spacing: -0.01em;
}
.highlight-box p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

/* ============================================================
   SECTION HEADER
   ============================================================ */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}
.section-header__label {
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: var(--accent-glow);
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}
.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 500;
    color: var(--white-soft);
    letter-spacing: -0.01em;
    line-height: 1.2;
}
.section-header h2 .accent {
    color: var(--accent);
}

.divider {
    width: 50px;
    height: 1px;
    background: var(--accent);
    margin: 2rem auto;
}
.divider--gold {
    background: var(--accent);
}

/* ============================================================
   CARDS
   ============================================================ */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.8rem;
}
.card {
    background: var(--bg-glass);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    transition: all 0.4s ease;
    position: relative;
    box-shadow: var(--shadow-card);
}
.card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    background: radial-gradient(circle at top left, rgba(212, 175, 55, 0.04), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}
.card:hover {
    border-color: rgba(212, 175, 55, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 28px 44px -16px rgba(0,0,0,0.8), 0 0 0 1px rgba(212, 175, 55, 0.1);
}
.card:hover::before {
    opacity: 1;
}
.card__icon {
    width: 44px;
    height: 44px;
    margin-bottom: 1.2rem;
    color: var(--accent);
    transition: transform 0.3s ease;
}
.card:hover .card__icon {
    transform: scale(1.04);
}
.card__icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    stroke-width: 1.2;
    fill: none;
}
.card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 0.6rem;
    color: var(--white-soft);
    letter-spacing: 0.01em;
}
.card p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.65;
    font-weight: 350;
}

/* ============================================================
   QUOTE BLOCK
   ============================================================ */
.quote-block {
    text-align: center;
    padding: 2rem 1rem;
}
.quote-block blockquote {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2.8vw, 2rem);
    color: var(--white-soft);
    line-height: 1.5;
    font-weight: 400;
    max-width: 780px;
    margin: 0 auto;
    letter-spacing: 0.01em;
    font-style: italic;
}
.quote-block blockquote .accent {
    color: var(--accent);
    font-style: normal;
}
.quote-block cite {
    display: block;
    margin-top: 1.2rem;
    font-style: normal;
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* ============================================================
   EMAIL LINK
   ============================================================ */
.email-link {
    color: var(--accent-glow);
    text-decoration: none;
    border-bottom: 1px dashed rgba(212, 175, 55, 0.3);
    transition: color 0.3s ease, border-color 0.3s ease, text-shadow 0.3s ease;
    font-weight: 500;
    letter-spacing: 0.02em;
}
.email-link:hover {
    color: #F0D060;
    border-bottom-color: #F0D060;
    text-shadow: 0 0 12px rgba(212, 175, 55, 0.3);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    position: relative;
    z-index: 2;
    background: rgba(8, 8, 8, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(212, 175, 55, 0.08);
    margin-top: 2rem;
    padding: 3rem 2.5rem 2rem;
}
.footer__inner {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
}
.footer__brand {
    flex: 1 1 180px;
    min-width: 160px;
}
.footer__logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-bottom: 0.6rem;
    filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.15));
}
.footer__brand-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--white-soft);
    letter-spacing: 0.02em;
}
.footer__brand-name span {
    color: var(--accent);
}
.footer__tagline {
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    line-height: 1.5;
    max-width: 240px;
    margin-top: 0.2rem;
}
.footer__nav {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1.8rem;
    padding: 0;
    margin: 0;
}
.footer__nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 450;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.3s ease;
}
.footer__nav a:hover {
    color: var(--white-soft);
}
.footer__contact {
    flex: 0 0 auto;
    text-align: right;
    min-width: 140px;
}
.footer__copy {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.65rem;
    opacity: 0.5;
    font-weight: 350;
    margin-top: 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.06);
    padding-top: 1.2rem;
    width: 100%;
    letter-spacing: 0.04em;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .nav__links { gap: 1.8rem; }
    .nav__links a { font-size: 0.65rem; }
}

@media (max-width: 820px) {
    .nav { padding: 0 1.5rem; }
    .nav__container {
        flex-direction: column;
        gap: 0.4rem;
        padding: 0.7rem 0;
    }
    .nav.scrolled .nav__container { padding: 0.5rem 0; }
    .nav__logo-img { width: 38px; height: 38px; }
    .nav__links { gap: 1.2rem; }
    .nav__links a { font-size: 0.6rem; letter-spacing: 0.1em; }
    .section { padding: 4rem 1.5rem; scroll-margin-top: 140px; }
    .section--hero { padding-top: 9rem; min-height: 90vh; }
    .highlight-box { padding: 2.5rem 1.8rem; }
    .card-grid { gap: 1.2rem; grid-template-columns: 1fr; }
    .card { padding: 2rem 1.5rem; }
    .footer__inner { flex-direction: column; align-items: center; text-align: center; gap: 1.5rem; }
    .footer__brand { text-align: center; }
    .footer__contact { text-align: center; }
    .footer__nav { justify-content: center; gap: 1rem; }
    .footer__tagline { max-width: 100%; }
    .hero-scroll-indicator { display: none; }
}

@media (max-width: 480px) {
    .nav { padding: 0 1rem; }
    .nav__container { padding: 0.4rem 0; }
    .nav__logo-img { width: 32px; height: 32px; }
    .nav__links { gap: 0.8rem; }
    .nav__links a { font-size: 0.5rem; letter-spacing: 0.06em; }
    .section { padding: 2.5rem 1rem !important; scroll-margin-top: 120px; }
    .section--hero { padding-top: 7rem !important; min-height: 80vh; }
    .hero-title { font-size: 2.4rem; }
    .hero-sub { font-size: 0.85rem; margin-bottom: 1.8rem; }
    .hero-cta { padding: 0.7rem 1.6rem; font-size: 0.7rem; }
    .highlight-box { padding: 1.8rem 1.2rem; }
    .highlight-box h2 { font-size: 1.4rem; }
    .highlight-box p { font-size: 0.85rem; }
    .section-header h2 { font-size: 1.6rem; }
    .card { padding: 1.5rem 1.2rem; }
    .card h3 { font-size: 1.15rem; }
    .card p { font-size: 0.8rem; }
    .quote-block blockquote { font-size: 1.1rem; }
    .footer { padding: 1.8rem 1rem 1rem !important; }
    .footer__copy { font-size: 0.55rem; }
}