/* ==========================================================================
   KLUKVA CORE DESIGN SYSTEM — CYBER-EDITORIAL / DEEP CRIMSON TECH SPACE
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;400;500;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Syne:wght@700;800&display=swap');

:root {
    --space-deep: #060709;
    --space-surface: #0e1118;
    --space-header: #0c0e14;
    --space-card: rgba(18, 22, 32, 0.75);
    --space-card-hover: rgba(26, 32, 46, 0.9);
    
    /* SITE LAYOUT GRID: UNIFIED MAX-WIDTH ACROSS HEADER, SECTIONS & FOOTER */
    --site-container-max: 1366px;
    
    /* PRIMARY BRAND COLOR: CRANBERRY (MATCHING AUTHENTIC LOGO #fe0243) */
    --ruby-crimson: #fe0243;
    --ruby-glow: #ff2a6d;
    --ruby-deep: #a8002d;
    --ruby-subtle: rgba(254, 2, 67, 0.12);
    --ruby-border: rgba(254, 2, 67, 0.35);
    
    --text-pure: #f5f7fa;
    --text-muted: #8e95a5;
    --text-dim: #505668;
    --border-glass: rgba(254, 2, 67, 0.25);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --font-display: 'Syne', -apple-system, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out-circ: cubic-bezier(0.85, 0, 0.15, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    background-color: var(--space-deep);
    color: var(--text-pure);
    font-family: var(--font-body);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body {
    background-color: var(--space-deep);
    color: var(--text-pure);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

/* UNIVERSAL RULE: Phone numbers in buttons, badges and links must NEVER wrap */
.nobr-phone,
.phone-nobr {
    white-space: nowrap !important;
    word-break: keep-all !important;
    display: inline-block;
}



/* ==========================================================================
   GLOBAL STICKY OPAQUE HEADER & NAVIGATION
   ========================================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0.85rem 2rem;
    background-color: #171918; /* Unified global header look (same on every page) */
    border-bottom: 1px solid #ffffff18;
    box-shadow: none;
    transition: padding 0.3s var(--ease-out-expo);
}

/* Offset the fixed header below the WP admin bar (global, every page) */
body.admin-bar .site-header {
    --header-top: 32px;
    top: var(--header-top, 32px);
}

@media (max-width: 782px) {
    body.admin-bar .site-header {
        --header-top: 46px;
        top: var(--header-top, 46px);
    }
    body.admin-bar .site-header.scrolled {
        --header-top: 0px !important;
        top: 0 !important;
    }
}

.header-container {
    max-width: var(--site-container-max);
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.brand-logo-img {
    height: 38px;
    width: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 0 12px rgba(254, 2, 67, 0.25));
}

/* Centered Navigation */
.site-nav {
    display: flex;
    justify-content: center;
    flex: 1;
    margin: 0 2rem;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 1.6rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text-pure);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    padding: 0.5rem 0.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: color 0.25s, text-shadow 0.25s;
    white-space: nowrap;
    position: relative;
}

.nav-link:hover {
    color: var(--ruby-glow);
    text-shadow: 0 0 14px rgba(254, 2, 67, 0.65);
}

/* Active State: PURE CRANBERRY (NO GREEN ON THIS THEME) */
.nav-link.nav-link-active {
    color: var(--ruby-crimson) !important;
    font-weight: 700;
    text-shadow: 0 0 16px rgba(254, 2, 67, 0.8);
}

.nav-link.nav-link-active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0.25rem;
    right: 0.25rem;
    height: 2px;
    background: var(--ruby-crimson);
    border-radius: 2px;
    box-shadow: 0 0 10px var(--ruby-glow);
}

.dropdown-caret {
    font-size: 0.6875rem;
    transition: transform 0.3s var(--ease-out-expo), color 0.25s;
    color: var(--text-muted);
}

.has-dropdown:hover .dropdown-caret {
    transform: rotate(180deg);
    color: var(--ruby-crimson);
}

/* Dropdown Sub-menus */
.sub-menu {
    position: absolute;
    top: calc(100% + 0.6rem);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: #0f121a;
    border: 1px solid rgba(254, 2, 67, 0.3);
    border-radius: 10px;
    padding: 0.6rem 0;
    min-width: 240px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.9), 0 0 20px rgba(254, 2, 67, 0.1);
    list-style: none;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s var(--ease-out-expo), transform 0.25s var(--ease-out-expo);
    z-index: 1001;
}

.sub-menu::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
}

.has-dropdown:hover .sub-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.sub-menu li a {
    display: block;
    padding: 0.6rem 1.35rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s, padding-left 0.2s;
    white-space: nowrap;
}

.sub-menu li a:hover {
    color: #fff;
    background: rgba(254, 2, 67, 0.18);
    padding-left: 1.65rem;
    border-left: 2px solid var(--ruby-crimson);
}

/* Right Status Badge */
.header-right {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.header-status-badge {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.45rem 1rem;
    background: rgba(254, 2, 67, 0.08);
    border: 1px solid rgba(254, 2, 67, 0.35);
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-pure);
    box-shadow: 0 0 16px rgba(254, 2, 67, 0.18);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.header-status-badge:hover {
    border-color: var(--ruby-glow);
    box-shadow: 0 0 25px rgba(254, 2, 67, 0.35);
}

.status-indicator {
    width: 7px;
    height: 7px;
    background: var(--ruby-crimson);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--ruby-glow);
    animation: rubyBlink 2s infinite ease-in-out;
}

/* ==========================================================================
   MAIN CONTENT & SCROLL SECTIONS
   ========================================================================== */

.content-wrapper {
    position: relative;
    z-index: 10;
}

.scroll-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 6rem 2rem;
}

.section-container {
    max-width: var(--site-container-max);
    margin: 0 auto;
    width: 100%;
}

/* --------------------------------------------------------------------------
   HERO SECTION (0 - 100vh)
   -------------------------------------------------------------------------- */

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 12;
}

.hero-meta-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    color: var(--ruby-glow);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 0.35rem 0.85rem;
    background: rgba(254, 2, 67, 0.1);
    border: 1px solid rgba(254, 2, 67, 0.3);
    border-radius: 4px;
    margin-bottom: 1.75rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.75rem, 5.2vw, 4.5rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 1.75rem;
}

.hero-title .highlight-crimson {
    color: var(--ruby-crimson);
    background: linear-gradient(135deg, #ff2a6d 0%, #fe0243 60%, #ff527b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 1.8vw, 1.35rem);
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 580px;
}

.hero-subtitle strong {
    color: var(--text-pure);
    font-weight: 600;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}

/* Button Mechanics */
.btn-primary-crimson {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.1rem 2.25rem;
    background: var(--ruby-crimson);
    color: #fff;
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s var(--ease-out-expo);
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(254, 2, 67, 0.45);
}

.btn-primary-crimson::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s var(--ease-out-expo);
}

.btn-primary-crimson:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(254, 2, 67, 0.65);
}

.btn-primary-crimson:hover::before {
    left: 100%;
}

.btn-secondary-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.1rem 2rem;
    background: rgba(18, 22, 32, 0.6);
    color: var(--text-pure);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(12px);
    transition: border-color 0.3s, background-color 0.3s, transform 0.3s;
    cursor: pointer;
}

.btn-secondary-ghost:hover {
    border-color: rgba(254, 2, 67, 0.4);
    background: rgba(26, 32, 46, 0.8);
    transform: translateY(-2px);
}

.hero-hud-badges {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-subtle);
    flex-wrap: wrap;
}

.hud-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.hud-label {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hud-value {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--text-pure);
    font-weight: 600;
}

.hud-value.glow-cyan {
    color: var(--quantum-cyan);
}

.hud-value.glow-ruby {
    color: var(--ruby-crimson);
}

.scroll-indicator-wrap {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dim);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.scroll-mouse-icon {
    width: 20px;
    height: 32px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    position: relative;
}

.scroll-mouse-icon::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    width: 4px;
    height: 6px;
    background: var(--ruby-crimson);
    border-radius: 2px;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite ease-in-out;
}

/* --------------------------------------------------------------------------
   SECTION 2: MACRO-ZOOM INTO NEURAL PROCESSOR (100 - 250vh)
   -------------------------------------------------------------------------- */

.macro-sequence-section {
    min-height: 180vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-header-tag {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--ruby-glow);
    margin-bottom: 0.75rem;
    display: inline-block;
}

.section-headline {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.section-description {
    color: var(--text-muted);
    font-size: 1.125rem;
    max-width: 640px;
    line-height: 1.65;
    margin-bottom: 4rem;
}

.macro-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.neural-tech-card {
    background: var(--space-card);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 2.25rem 2rem;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s var(--ease-out-expo), border-color 0.4s, background-color 0.4s;
}

.neural-tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--ruby-crimson), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.neural-tech-card:hover {
    transform: translateY(-8px);
    border-color: rgba(254, 2, 67, 0.45);
    background: var(--space-card-hover);
}

.neural-tech-card:hover::before {
    opacity: 1;
}

.card-step-num {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--ruby-crimson);
    padding: 0.3rem 0.6rem;
    background: rgba(254, 2, 67, 0.1);
    border: 1px solid rgba(254, 2, 67, 0.25);
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.card-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.card-desc {
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
}

.card-meta-list {
    list-style: none;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.card-meta-list li {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-meta-list li::before {
    content: '>';
    color: var(--ruby-glow);
}

/* --------------------------------------------------------------------------
   SECTION 3: GUARANTEES VS FEARS (250 - 350vh)
   -------------------------------------------------------------------------- */

.guarantees-section {
    min-height: 100vh;
    padding: 8rem 2.5rem;
}

.guarantees-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.guarantees-left {
    position: relative;
    z-index: 12;
}

.guarantees-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.guarantee-vault-card {
    background: var(--space-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 1.75rem;
    backdrop-filter: blur(16px);
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    transition: border-color 0.3s, transform 0.3s;
}

.guarantee-vault-card:hover {
    border-color: rgba(254, 2, 67, 0.4);
    transform: translateX(8px);
}

.vault-icon-badge {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(254, 2, 67, 0.08);
    border: 1px solid rgba(254, 2, 67, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--ruby-glow);
    flex-shrink: 0;
}

.vault-card-body h4 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.vault-card-body p {
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.55;
}

/* --------------------------------------------------------------------------
   SECTION 4: CONVERSION AUDIT FORM (350 - 450vh)
   -------------------------------------------------------------------------- */

.conversion-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2.5rem;
    position: relative;
}

.audit-terminal-box {
    max-width: 760px;
    width: 100%;
    background: rgba(14, 17, 24, 0.9);
    border: 1px solid rgba(254, 2, 67, 0.4);
    border-radius: 16px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85),
                0 0 45px rgba(254, 2, 67, 0.2);
    backdrop-filter: blur(24px);
    overflow: hidden;
    position: relative;
    z-index: 12;
}

.terminal-header {
    background: rgba(6, 7, 9, 0.95);
    padding: 1rem 1.75rem;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.terminal-dots {
    display: flex;
    gap: 0.4rem;
}

.terminal-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.terminal-title {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-dim);
    letter-spacing: 0.05em;
}

.terminal-body {
    padding: 2.75rem;
}

.terminal-intro h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.terminal-intro p {
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.audit-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.75rem;
}

.form-group-full {
    grid-column: span 2;
}

.input-field-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-field-wrap label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.terminal-input {
    background: rgba(6, 7, 9, 0.6);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 0.95rem 1.25rem;
    color: var(--text-pure);
    font-family: var(--font-mono);
    font-size: 0.875rem;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.terminal-input:focus {
    border-color: var(--ruby-crimson);
    box-shadow: 0 0 15px rgba(254, 2, 67, 0.35);
}

.terminal-input::placeholder {
    color: var(--text-dim);
}

.form-submit-row {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.security-note {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
    position: relative;
    z-index: 10;
    border-top: 1px solid var(--border-subtle);
    padding: 1.4rem 2rem;
    background: rgba(6, 7, 9, 0.98);
}

.footer-container {
    max-width: var(--site-container-max);
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.8rem 2rem;
}

.footer-meta {
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    color: var(--text-dim);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.footer-link {
    color: var(--text-muted);
    font-size: 0.8125rem;
    text-decoration: none;
    transition: color 0.25s;
}

.footer-link:hover {
    color: var(--ruby-crimson);
}

/* Footer contact cluster: one compact inline row (no box) */
.footer-contacts {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem 1.1rem;
}

.footer-contacts-direct {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem 1.1rem;
}

.footer-contact-line {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8125rem;
    transition: color 0.25s;
}

.footer-contacts-direct .footer-contact-line + .footer-contact-line {
    padding-left: 1.1rem;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-contact-line svg {
    width: 14px;
    height: 14px;
    color: var(--ruby-crimson);
    flex-shrink: 0;
    transition: filter 0.25s;
}

.footer-contact-line:hover {
    color: var(--text-pure);
}

.footer-contact-line:hover svg {
    filter: drop-shadow(0 0 6px rgba(254, 2, 67, 0.7));
}

.footer-contact-phone span {
    font-weight: 600;
    letter-spacing: 0.02em;
}

.footer-contact-icons {
    display: flex;
    gap: 0.45rem;
    padding-left: 1.1rem;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-contact-icon {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 7px;
    color: var(--text-muted);
    transition: color 0.25s, background 0.25s, border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.footer-contact-icon svg {
    width: 15px;
    height: 15px;
}

.footer-contact-icon:hover {
    background: var(--ruby-crimson);
    border-color: var(--ruby-crimson);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(254, 2, 67, 0.35);
}

/* ==========================================================================
   ANIMATIONS & KEYFRAMES
   ========================================================================== */

@keyframes rubyBlink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.35; transform: scale(0.85); }
}

@keyframes scrollWheel {
    0% { transform: translate(-50%, 0); opacity: 1; }
    80% { transform: translate(-50%, 12px); opacity: 0; }
    100% { transform: translate(-50%, 0); opacity: 0; }
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 1300px) {
    .site-nav {
        margin: 0 0.75rem;
    }
    .nav-links {
        gap: 1rem;
    }
    .nav-link {
        font-size: 0.8125rem;
    }
    .brand-logo-img {
        height: 32px;
    }
}

@media (max-width: 1080px) {
    .nav-links {
        gap: 0.75rem;
    }
    .nav-link {
        font-size: 0.75rem;
    }
    .header-status-badge {
        font-size: 0.6875rem;
        padding: 0.35rem 0.7rem;
    }
}

@media (max-width: 900px) {
    .macro-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .guarantees-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .site-nav {
        display: none;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 0.75rem 1.25rem;
    }
    .footer-container {
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-contacts {
        width: 100%;
        justify-content: space-between;
    }
    .footer-contact-icons {
        padding-left: 1rem;
        gap: 0.5rem;
    }
    .scroll-section {
        padding: 4.5rem 1.25rem;
    }
    .audit-form-grid {
        grid-template-columns: 1fr;
    }
    .form-group-full {
        grid-column: span 1;
    }
    .cursor-scanner {
        display: none !important;
    }
}

/* ==========================================================================
   SEAMLESS CONTEXTUAL INTERNAL LINKS
   ========================================================================== */
.living-inline-link {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: rgba(254, 2, 67, 0.45);
    text-underline-offset: 3px;
    text-decoration-thickness: 1.5px;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.living-inline-link:hover,
.living-inline-link:focus-visible {
    color: #fe0243;
    text-decoration-color: #fe0243;
}

