@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700;800;900&display=swap');

/* ============================================
   MIKROPILOTY24.CZ - INDUSTRIAL DESIGN
   ============================================ */

:root {
    --bg-dark: #070709;
    --bg-darker: #030304;
    --bg-card: rgba(18, 18, 22, 0.65);
    --bg-card-hover: rgba(26, 26, 32, 0.85);
    --border: rgba(255, 255, 255, 0.05);
    --border-light: rgba(255, 255, 255, 0.09);
    --text: #e8e8ea;
    --text-dim: #a1a1aa;
    --text-mute: #636370;
    --accent-primary: #ff6a00;
    --accent-secondary: #ffa200;
    --accent: var(--accent-primary);
    --accent-hover: #ff8533;
    --accent-glow: rgba(255, 106, 0, 0.25);
    --accent-dark: #cc5500;
    --accent-ink: #070300;
    --accent-gradient: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    --warning: #ffcc00;
    --success: #4ade80;
    --danger: #ff8080;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Space Grotesk', var(--font-sans);
    --font-mono: 'JetBrains Mono', 'Fira Code', Consolas, monospace;

    /* Spacing scale (8px grid) */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 24px;
    --space-6: 32px;
    --space-7: 48px;
    --space-8: 60px;
    --space-9: 80px;
    --space-10: 100px;

    /* Radii */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 14px;
    --radius-2xl: 16px;
    --radius-pill: 999px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

/* === SKIP LINK (a11y) === */
.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 1000;
    background: var(--accent);
    color: var(--accent-ink);
    padding: 12px 18px;
    font-weight: 700;
    border-radius: var(--radius-md);
    transition: top 0.2s ease-out;
}
.skip-link:focus { top: 12px; outline: 2px solid var(--text); outline-offset: 2px; }

/* === FOCUS VISIBLE (a11y) === */
:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

body {
    font-family: var(--font-sans);
    background: var(--bg-dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* === SVG GRID PATTERN BACKGROUND WITH SPOTLIGHT === */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 106, 0, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 106, 0, 0.015) 1px, transparent 1px);
    background-size: 56px 56px;
    pointer-events: none;
    z-index: 0;
    mask-image: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), black 20%, transparent 60%);
    -webkit-mask-image: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), black 20%, transparent 60%);
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 106, 0, 0.035), transparent 80%);
    pointer-events: none;
    z-index: 0;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* === TOPBAR === */
.topbar {
    background: var(--accent);
    color: var(--accent-ink);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 24px;
    max-width: 1280px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 8px;
}
.topbar a:hover { text-decoration: underline; }
.topbar-left { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar-left span::before { content: '◆ '; color: var(--accent-ink); opacity: 0.6; margin-right: 4px; }

/* === HEADER / NAV === */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 11, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s;
}
.header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.4); }
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    max-width: 1280px;
    margin: 0 auto;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 20px;
    letter-spacing: -0.02em;
}
.logo-mark {
    width: 36px;
    height: 36px;
    background: var(--accent);
    color: var(--accent-ink);
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 18px;
    transform: rotate(45deg);
    border-radius: 4px;
    position: relative;
}
.logo-mark span { transform: rotate(-45deg); }
.logo-text small { display: block; font-size: 11px; font-weight: 500; color: var(--text-dim); margin-top: -2px; letter-spacing: 0.05em; text-transform: uppercase; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}
.nav-links a {
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dim);
    border-radius: 6px;
    transition: all 0.2s;
}
.nav-links a:hover { color: var(--text); background: var(--bg-card); }
.nav-links a.cta {
    background: var(--accent);
    color: var(--accent-ink) !important;
    font-weight: 700;
    margin-left: 12px;
}
.nav-links a.cta:hover { background: var(--accent-hover); transform: translateY(-1px); }

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border-light);
    color: var(--text);
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 18px;
}

@media (max-width: 900px) {
    .nav-toggle { display: block; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--bg-darker);
        border-bottom: 1px solid var(--border);
        padding: 16px;
        gap: 4px;
    }
    .nav-links.open { display: flex; }
    .nav-links a { width: 100%; }
    .nav-links a.cta { margin-left: 0; margin-top: 8px; text-align: center; }
}

/* === HERO === */
.hero {
    position: relative;
    padding: 100px 0 120px;
    overflow: hidden;
}
.hero .container {
    position: relative;
    z-index: 2;
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    filter: grayscale(0.2) contrast(1.1) brightness(0.9);
}
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 7, 9, 0.25) 0%, var(--bg-dark) 100%);
}
.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
    pointer-events: none;
    animation: pulse 6s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 60px;
    align-items: center;
}
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero { padding: 60px 0 80px; }
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(255, 106, 0, 0.1);
    border: 1px solid var(--accent);
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 999px;
    margin-bottom: 24px;
}
.hero-tag .dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent);
    animation: blink 2s ease-in-out infinite;
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero h1 {
    font-size: clamp(40px, 6vw, 76px);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}
.hero h1 .accent {
    color: var(--accent);
    position: relative;
    display: inline-block;
}
.hero h1 .accent::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 4px;
    height: 4px;
    background: var(--accent);
    opacity: 0.3;
}

.hero p.lead {
    font-size: 20px;
    color: var(--text-dim);
    max-width: 580px;
    margin-bottom: 36px;
    line-height: 1.5;
}

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    font-size: 15px;
    font-weight: 700;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: inherit;
    letter-spacing: 0.01em;
}
.btn-primary {
    background: var(--accent-gradient);
    color: var(--accent-ink);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 30px -6px rgba(255, 106, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-hover) 0%, #ffbe4d 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px -6px rgba(255, 106, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.25) inset;
}
.btn-ghost {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--text);
    border: 1px solid var(--border-light);
}
.btn-ghost:hover {
    background: rgba(255, 106, 0, 0.08);
    border-color: var(--accent);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px -10px rgba(255, 106, 0, 0.3);
}

.btn-arrow { transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1); }
.btn:hover .btn-arrow { transform: translateX(4px); }

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 580px;
    border-top: 1px solid var(--border);
    padding-top: 32px;
}
.stat .num {
    font-family: var(--font-mono);
    font-size: 36px;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    display: block;
}
.stat .label { font-size: 13px; color: var(--text-dim); margin-top: 6px; }

/* HERO VISUAL */
.hero-visual {
    position: relative;
    aspect-ratio: 1 / 1.1;
    max-width: 460px;
    margin-left: auto;
}
.hero-rig {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-darker) 100%);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 32px 80px -24px rgba(0,0,0,0.6);
}
.hero-rig::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(45deg, transparent 0 19px, rgba(255,106,0,0.04) 19px 20px);
}
.hero-rig svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--accent);
    color: var(--accent-ink);
    padding: 18px 24px;
    border-radius: 12px;
    font-weight: 800;
    box-shadow: 0 16px 40px -12px var(--accent-glow);
    transform: rotate(-3deg);
}
.hero-badge .big { font-size: 28px; line-height: 1; display: block; font-family: var(--font-mono); }
.hero-badge .small { font-size: 11px; font-weight: 600; opacity: 0.8; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 4px; }

/* === SECTION === */
section { padding: 100px 0; position: relative; }
@media (max-width: 768px) { section { padding: 60px 0; } }

.section-head { max-width: 800px; margin-bottom: 60px; }
.section-tag {
    display: inline-block;
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.section-tag::before { content: '// '; opacity: 0.5; }

.section-head h2 {
    font-size: clamp(32px, 4.5vw, 52px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}
.section-head h2 .accent { color: var(--accent); }
.section-head p { font-size: 18px; color: var(--text-dim); }

/* === PROC MY === */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.why-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 36px 32px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}
.why-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 2px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.why-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255, 106, 0, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6), 0 0 20px 0 rgba(255, 106, 0, 0.05);
}
.why-card:hover::before { transform: scaleX(1); }

.why-card .num {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: 0.1em;
}
.why-card h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}
.why-card p { color: var(--text-dim); font-size: 15px; }

/* === SERVICES === */
.services {
    background: linear-gradient(180deg, transparent 0%, var(--bg-darker) 50%, transparent 100%);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}
.service-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 2px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-card:hover {
    border-color: rgba(255, 106, 0, 0.3);
    background: var(--bg-card-hover);
    transform: translateY(-6px);
    box-shadow: 0 24px 50px -16px rgba(0, 0, 0, 0.7), 0 0 25px 0 rgba(255, 106, 0, 0.08);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
    width: 56px; height: 56px;
    background: rgba(255,106,0,0.06);
    border: 1px solid rgba(255,106,0,0.2);
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: var(--accent);
    margin-bottom: 24px;
    transition: all 0.3s;
}
.service-card:hover .service-icon {
    background: rgba(255, 106, 0, 0.15);
    border-color: var(--accent);
    color: var(--accent-hover);
    box-shadow: 0 0 12px rgba(255, 106, 0, 0.2);
}
.service-card h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}
.service-card p { color: var(--text-dim); font-size: 15px; margin-bottom: 16px; }
.service-bonus {
    border-top: 1px dashed var(--border);
    padding-top: 16px;
    font-size: 13px;
    color: var(--text);
}
.service-bonus strong { color: var(--accent); }

/* === MACHINES / STROJOVÝ PARK === */
.machines-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
}
.machine-tab {
    background: var(--bg-card);
    color: var(--text-dim);
    border: 1px solid var(--border);
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
}
.machine-tab.active {
    background: var(--accent);
    color: var(--accent-ink);
    border-color: var(--accent);
}
.machine-tab:hover:not(.active) { border-color: var(--accent); color: var(--text); }

.machine-panel { display: none; }
.machine-panel.active { display: grid; animation: fadeIn 0.4s; }
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
.machine-panel {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
@media (max-width: 900px) {
    .machine-panel { grid-template-columns: 1fr; }
}

.machine-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
    color: var(--accent);
    padding: 6px 12px;
    border-radius: 6px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
}

.machine-info h3 {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}
.machine-info .subtitle {
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 13px;
}
.machine-info p { color: var(--text-dim); margin-bottom: 24px; font-size: 16px; }
.machine-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
}
.spec {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.spec:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255, 106, 0, 0.2);
    transform: translateY(-2px);
}
.spec .l { font-size: 11px; color: var(--text-mute); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 4px; }
.spec .v { font-family: var(--font-mono); font-weight: 700; color: var(--text); font-size: 18px; }

/* === PROCESS === */
.process-list {
    display: grid;
    gap: 16px;
    counter-reset: step;
}
.process-step {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 24px;
    padding: 28px;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 14px;
    align-items: start;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}
.process-step::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 3px; height: 100%;
    background: var(--accent-gradient);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.process-step:hover {
    border-color: rgba(255, 106, 0, 0.25);
    transform: translateX(6px);
    background: var(--bg-card-hover);
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.5), 0 0 20px 0 rgba(255, 106, 0, 0.04);
}
.process-step:hover::before { transform: scaleY(1); }

.process-step .step-num {
    font-family: var(--font-display);
    font-size: 52px;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    filter: drop-shadow(0 2px 8px rgba(255, 106, 0, 0.2));
}
.process-step h4 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.process-step p { color: var(--text-dim); }

@media (max-width: 600px) {
    .process-step { grid-template-columns: 1fr; gap: 12px; }
    .process-step .step-num { font-size: 42px; }
}

/* === REGIONS === */
.regions {
    background: var(--bg-darker);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.regions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}
.region-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    padding: 28px 24px;
    border-radius: 14px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
    position: relative;
    overflow: hidden;
}
.region-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 2px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.region-card::after {
    content: '→';
    position: absolute;
    bottom: 24px;
    right: 24px;
    color: var(--accent);
    font-size: 24px;
    font-weight: 700;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}
.region-card:hover {
    border-color: rgba(255, 106, 0, 0.25);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 16px 35px -10px rgba(0, 0, 0, 0.6), 0 0 20px 0 rgba(255, 106, 0, 0.04);
}
.region-card:hover::before { transform: scaleX(1); }
.region-card:hover::after { transform: translateX(6px); color: var(--accent-hover); }
.region-card .pin { color: var(--accent); margin-bottom: 12px; }
.region-card h4 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.region-card p { color: var(--text-dim); font-size: 14px; }
.region-cities {
    margin-top: 12px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-mute);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* === FAQ === */
.faq-list { max-width: 900px; margin: 0 auto; }
.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 4px 0;
}
.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 24px 0;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-item summary::after {
    content: '+';
    color: var(--accent);
    font-size: 28px;
    font-weight: 300;
    transition: transform 0.3s;
    flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { color: var(--accent); }
.faq-item .faq-body {
    padding: 0 0 24px;
    color: var(--text-dim);
    font-size: 16px;
    line-height: 1.7;
    max-width: 750px;
}

/* === CTA STRIP === */
.cta-strip {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--accent) 0%, #ff8533 100%);
    color: var(--accent-ink);
    position: relative;
    overflow: hidden;
}
.cta-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(45deg, transparent 0 39px, rgba(0,0,0,0.04) 39px 40px);
}
.cta-strip-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
}
@media (max-width: 768px) { .cta-strip-inner { grid-template-columns: 1fr; } }
.cta-strip h2 {
    font-size: clamp(32px, 4.5vw, 52px);
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.05;
    margin-bottom: 16px;
}
.cta-strip p { font-size: 18px; opacity: 0.85; }
.cta-strip-actions { display: flex; flex-direction: column; gap: 12px; }
.cta-strip .btn {
    background: #1a0d00;
    color: var(--accent);
    justify-content: center;
}
.cta-strip .btn:hover { background: #000; }
.cta-strip .btn.btn-outline {
    background: transparent;
    border: 2px solid #1a0d00;
    color: var(--accent-ink);
}

/* === CONTACT === */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info { padding-right: 24px; }
.contact-info h3 { font-size: 28px; font-weight: 800; margin-bottom: 16px; letter-spacing: -0.01em; }
.contact-info > p { color: var(--text-dim); margin-bottom: 32px; }

.contact-channels { display: flex; flex-direction: column; gap: 12px; }
.contact-channel {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    transition: all 0.2s;
}
.contact-channel:hover { border-color: var(--accent); }
.contact-channel .ico {
    width: 44px; height: 44px;
    background: rgba(255,106,0,0.1);
    border-radius: 10px;
    color: var(--accent);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.contact-channel .l { font-size: 12px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.1em; }
.contact-channel .v { font-weight: 700; font-size: 17px; }

.form {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 36px;
    box-shadow: 0 32px 80px -24px rgba(0, 0, 0, 0.6);
}
.form-row { margin-bottom: 18px; }
.form-row.split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 500px) { .form-row.split { grid-template-columns: 1fr; } }
.form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dim);
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}
.form input,
.form textarea,
.form select {
    width: 100%;
    padding: 13px 16px;
    background: rgba(3, 3, 4, 0.8);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    color: var(--text);
    font-family: inherit;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    -webkit-appearance: none;
    appearance: none;
}
.form input::placeholder,
.form textarea::placeholder {
    color: var(--text-mute);
    opacity: 1;
}
.form input:focus,
.form textarea:focus,
.form select:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: var(--bg-card-hover);
    box-shadow: 0 0 0 4px rgba(255, 106, 0, 0.18);
}
.form input.valid,
.form textarea.valid {
    border-color: var(--success) !important;
    box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.12) !important;
}
.form input.invalid,
.form textarea.invalid {
    border-color: var(--danger) !important;
    box-shadow: 0 0 0 4px rgba(255, 128, 128, 0.12) !important;
}
/* Prevent browser autofill from rendering invisible (white-on-white) text */
.form input:-webkit-autofill,
.form textarea:-webkit-autofill,
.form select:-webkit-autofill {
    -webkit-text-fill-color: var(--text);
    -webkit-box-shadow: 0 0 0 1000px var(--bg-darker) inset;
    caret-color: var(--text);
}
.form textarea { resize: vertical; min-height: 130px; }

.form-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--text-dim); margin-bottom: 24px; }
.form-consent input { width: auto; margin-top: 3px; flex-shrink: 0; }

.form button { width: 100%; justify-content: center; }
.form-msg { margin-top: 16px; padding: 14px; border-radius: 8px; font-size: 14px; display: none; }
.form-msg.ok { display: block; background: rgba(74,222,128,0.1); color: var(--success); border: 1px solid rgba(74,222,128,0.3); }

/* === FOOTER === */
footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--border);
    padding: 60px 0 32px;
    color: var(--text-dim);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand .claim { font-size: 14px; max-width: 320px; margin-top: 16px; line-height: 1.6; }
footer h5 {
    color: var(--text);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 18px;
    font-weight: 700;
}
footer ul { list-style: none; }
footer ul li { margin-bottom: 10px; font-size: 14px; }
footer ul a { transition: color 0.2s; }
footer ul a:hover { color: var(--accent); }
.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: var(--text-mute);
}

/* === PARTNERS / SKUPINA === */
.partners {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 28px 0;
    margin-bottom: 28px;
    background: linear-gradient(180deg, transparent 0%, rgba(255,106,0,0.03) 50%, transparent 100%);
}
.partners-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: space-between;
}
.partners-label {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.partners-label::before {
    content: '';
    width: 8px; height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--accent);
}
.partners-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    flex: 1;
    justify-content: flex-end;
}
.partner-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    transition: all 0.25s;
    letter-spacing: 0.02em;
}
.partner-link:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}
.partner-link::before {
    content: '↗';
    color: var(--accent);
    font-size: 14px;
    font-weight: 900;
}
@media (max-width: 700px) {
    .partners-list { justify-content: flex-start; }
}

/* === SCROLL ANIMATIONS === */
.reveal {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* === FLOATING CALL BUTTON === */
.float-call {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: var(--accent-gradient);
    color: var(--accent-ink);
    border-radius: 50%;
    display: grid;
    place-items: center;
    box-shadow: 0 12px 35px -6px rgba(255, 106, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 90;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    animation: float-bounce 3s ease-in-out infinite;
}
.float-call:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 16px 40px -6px rgba(255, 106, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.3) inset;
    color: var(--accent-ink);
}
@keyframes float-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}
.float-call::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    opacity: 0;
    animation: ring 2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}
@keyframes ring {
    0% { transform: scale(0.9); opacity: 0.9; }
    100% { transform: scale(1.35); opacity: 0; }
}

/* === LIVE TICKER === */
.ticker {
    background: var(--bg-darker);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    padding: 16px 0;
    position: relative;
}
.ticker::before, .ticker::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 150px;
    z-index: 2;
    pointer-events: none;
}
.ticker::before { left: 0; background: linear-gradient(90deg, var(--bg-darker) 15%, transparent); }
.ticker::after { right: 0; background: linear-gradient(-90deg, var(--bg-darker) 15%, transparent); }
.ticker-track {
    display: flex;
    gap: 60px;
    width: max-content;
    animation: ticker 35s linear infinite;
}
.ticker:hover .ticker-track {
    animation-play-state: paused;
}
.ticker-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    white-space: nowrap;
    color: var(--text-dim);
}
.ticker-item .dot {
    width: 6px;
    height: 6px;
    background: var(--accent-gradient);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-primary);
    animation: tickerDotPulse 1.5s infinite ease-in-out;
}
@keyframes tickerDotPulse {
    0%, 100% { opacity: 0.4; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.25); }
}
.ticker-item strong { color: var(--accent); margin-right: 4px; }
.ticker-item .city {
    color: var(--text);
    background: rgba(255, 106, 0, 0.06);
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid rgba(255, 106, 0, 0.12);
}

@keyframes ticker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* === ANATOMIE MIKROPILOTY === */
.anatomy-section {
    background: var(--bg-darker);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 100px 0;
    overflow: hidden;
    position: relative;
}
.anatomy-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}
@media (max-width: 900px) {
    .anatomy-grid { grid-template-columns: 1fr; }
}
.anatomy-svg-wrap {
    position: relative;
    aspect-ratio: 4 / 5;
    background: linear-gradient(180deg, #0d0d11 0%, #121217 30%, #1c140e 65%, #291d13 100%);
    border-radius: 16px;
    border: 1px solid var(--border-light);
    overflow: hidden;
    box-shadow: 0 32px 80px -24px rgba(0,0,0,0.6);
}
.anatomy-svg-wrap svg { width: 100%; height: 100%; }
.anatomy-svg-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg, transparent 0 39px, rgba(255,106,0,0.02) 39px 40px);
    pointer-events: none;
}

/* Soil layer overrides */
.anatomy-svg-wrap svg rect:nth-of-type(1) { fill: #1a1715 !important; }
.anatomy-svg-wrap svg rect:nth-of-type(2) { opacity: 0.25 !important; }
.anatomy-svg-wrap svg rect:nth-of-type(3) { fill: #241c17 !important; }
.anatomy-svg-wrap svg rect:nth-of-type(4) { opacity: 0.3 !important; }
.anatomy-svg-wrap svg rect:nth-of-type(5) { fill: #2d2118 !important; }
.anatomy-svg-wrap svg rect:nth-of-type(6) { fill: #161514 !important; }
.anatomy-svg-wrap svg rect:nth-of-type(7) { opacity: 0.45 !important; }

/* Text overrides */
.anatomy-svg-wrap svg text {
    font-family: var(--font-sans) !important;
    font-weight: 500;
    fill: var(--text-dim) !important;
}
.anatomy-svg-wrap svg text[font-weight="700"] {
    font-family: var(--font-display) !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em;
    fill: var(--text) !important;
}

/* Pile glows */
.anatomy-svg-wrap svg rect[fill="#ff6a00"] {
    fill: var(--accent-primary) !important;
    filter: drop-shadow(0 0 6px rgba(255, 106, 0, 0.6));
}
.anatomy-svg-wrap svg ellipse[fill="#ff6a00"] {
    fill: var(--accent-primary) !important;
    filter: drop-shadow(0 0 8px rgba(255, 106, 0, 0.8));
}
.anatomy-svg-wrap svg rect[stroke="#ff6a00"] {
    stroke: var(--accent-primary) !important;
    filter: drop-shadow(0 0 3px rgba(255, 106, 0, 0.3));
}
.anatomy-svg-wrap svg line[stroke="#ff6a00"] {
    stroke: var(--accent-secondary) !important;
    stroke-width: 3px !important;
    filter: drop-shadow(0 0 5px rgba(255, 162, 0, 0.7));
}
.anatomy-svg-wrap svg rect[stroke-dasharray="2 2"] {
    stroke: var(--accent-primary) !important;
    opacity: 0.7 !important;
    stroke-width: 0.8px !important;
}

/* Callout lines & markers */
.anatomy-svg-wrap svg g[stroke="#ff6a00"] line {
    stroke: var(--accent-primary) !important;
    opacity: 0.6;
}
.anatomy-svg-wrap svg g[font-family="monospace"] {
    fill: var(--accent-secondary) !important;
    font-family: var(--font-display) !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em;
}
.anatomy-svg-wrap svg g[font-family="monospace"] text {
    fill: var(--accent-secondary) !important;
}

.anatomy-info h2 { font-size: clamp(32px, 4.5vw, 48px); font-weight: 900; letter-spacing: -0.02em; margin-bottom: 20px; }
.anatomy-info h2 .accent { color: var(--accent); }
.anatomy-info > p { color: var(--text-dim); font-size: 17px; margin-bottom: 32px; }
.anatomy-points { display: grid; gap: 14px; }
.anatomy-point {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 16px;
    padding: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    align-items: center;
}
.anatomy-point:hover {
    border-color: var(--accent);
    transform: translateX(4px);
    background: var(--bg-card-hover);
    box-shadow: 0 10px 30px -10px rgba(255, 106, 0, 0.15);
}
.anatomy-point .num {
    width: 40px; height: 40px;
    background: var(--accent-gradient);
    color: var(--accent-ink);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: var(--font-mono);
    font-weight: 900;
    font-size: 16px;
    box-shadow: 0 4px 10px rgba(255, 106, 0, 0.2);
}
.anatomy-point h4 { font-size: 16px; font-weight: 800; margin-bottom: 2px; }
.anatomy-point p { color: var(--text-dim); font-size: 13px; }

/* SVG drill animation */
@keyframes drillPulse {
    0%, 100% { opacity: 0.5; transform: scale(0.95); }
    50% { opacity: 1; transform: scale(1.15); }
}

/* === SROVNÁNÍ === */
.compare-section { padding: 100px 0; }
.compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: stretch;
    position: relative;
}
@media (max-width: 768px) { .compare-grid { grid-template-columns: 1fr; } }
.compare-vs {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 64px; height: 64px;
    border-radius: 50%;
    background: var(--bg-darker);
    border: 2px solid var(--accent);
    display: grid;
    place-items: center;
    font-family: var(--font-mono);
    font-weight: 900;
    color: var(--accent);
    z-index: 2;
    box-shadow: 0 0 20px var(--accent-glow);
}
@media (max-width: 768px) { .compare-vs { position: static; transform: none; margin: -16px auto; } }
.compare-card {
    padding: 36px 32px;
    border-radius: 14px;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}
.compare-card.bad {
    background: linear-gradient(180deg, var(--bg-card) 0%, rgba(60,20,20,0.3) 100%);
}
.compare-card.good {
    background: linear-gradient(180deg, var(--bg-card) 0%, rgba(60,40,15,0.4) 100%);
    border-color: var(--accent);
    box-shadow: 0 0 0 1px rgba(255,106,0,0.2), 0 32px 64px -32px var(--accent-glow);
}
.compare-card h3 {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}
.compare-card .compare-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 20px;
}
.compare-card.bad .compare-tag { background: rgba(255,80,80,0.15); color: #ff8080; }
.compare-card.good .compare-tag { background: var(--accent); color: var(--accent-ink); }
.compare-card ul { list-style: none; padding: 0; }
.compare-card ul li {
    padding: 12px 0;
    border-bottom: 1px dashed var(--border);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-dim);
    font-size: 14px;
}
.compare-card ul li:last-child { border: 0; }
.compare-card ul li::before {
    flex-shrink: 0;
    width: 22px; height: 22px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 12px;
    margin-top: 1px;
}
.compare-card.bad ul li::before { content: '✕'; background: rgba(255,80,80,0.15); color: #ff8080; }
.compare-card.good ul li::before { content: '✓'; background: var(--accent); color: var(--accent-ink); }
.compare-stat {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}
.compare-stat .l { font-size: 12px; color: var(--text-mute); text-transform: uppercase; letter-spacing: 0.1em; }
.compare-stat .v { font-family: var(--font-mono); font-weight: 800; font-size: 22px; }
.compare-card.good .compare-stat .v { color: var(--accent); }

/* === GALLERY === */
.gallery-section {
    padding: 100px 0;
    background: var(--bg-darker);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}
.gallery-item {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid var(--border);
    position: relative;
    cursor: pointer;
    transition: all 0.3s;
}
.gallery-item:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 24px 48px -16px rgba(0,0,0,0.6); }
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
    filter: brightness(0.9) contrast(1.05);
}
.gallery-item:hover img { transform: scale(1.05); filter: brightness(1) contrast(1.1); }
.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.7) 100%);
    pointer-events: none;
}
.gallery-item .gal-tag {
    position: absolute;
    top: 12px; left: 12px;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
    color: var(--accent);
    padding: 5px 10px;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    z-index: 2;
}
.gallery-item .gal-caption {
    position: absolute;
    bottom: 14px;
    left: 16px;
    right: 16px;
    color: white;
    font-weight: 700;
    font-size: 15px;
    z-index: 2;
}

/* === MACHINE PHOTO REPLACEMENT === */
.machine-photo {
    aspect-ratio: 4 / 3;
    border-radius: 16px;
    border: 1px solid var(--border-light);
    overflow: hidden;
    position: relative;
    background: var(--bg-darker);
}
.machine-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.92) contrast(1.08);
}
.machine-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255,106,0,0.15);
    pointer-events: none;
    border-radius: 16px;
}
.machine-photo .corner { position: absolute; width: 24px; height: 24px; border-color: var(--accent); border-style: solid; z-index: 2; pointer-events: none; }
.machine-photo .corner.tl { top: 12px; left: 12px; border-width: 2px 0 0 2px; }
.machine-photo .corner.tr { top: 12px; right: 12px; border-width: 2px 2px 0 0; }
.machine-photo .corner.bl { bottom: 12px; left: 12px; border-width: 0 0 2px 2px; }
.machine-photo .corner.br { bottom: 12px; right: 12px; border-width: 0 2px 2px 0; }
.machine-photo .machine-tag {
    position: absolute;
    top: 16px; left: 16px;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
    color: var(--accent);
    padding: 6px 12px;
    border-radius: 6px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    z-index: 3;
}

/* === HERO PHOTO BACKGROUND === */
.hero-photo {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-darker);
    border: 1px solid var(--border-light);
}
.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9) contrast(1.1) saturate(0.9);
}
.hero-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,106,0,0.1) 0%, transparent 40%, rgba(0,0,0,0.25) 100%);
}

/* === MAP FRAME === */
.map-wrap {
    margin-top: 48px;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    box-shadow: 0 32px 80px -24px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,106,0,0.08) inset;
}
.map-wrap::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--accent) 50%, transparent 100%);
    z-index: 3;
}
.map-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-card) 100%);
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 12px;
}
.map-header .map-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text);
}
.map-header .map-title::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent);
    animation: blink 2s ease-in-out infinite;
}
.map-header .map-coords {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-mute);
    letter-spacing: 0.05em;
}
.map-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #0a0a0b;
}
.map-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(0.3) contrast(1.05) brightness(0.95);
}
.map-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 106, 0, 0.15);
    pointer-events: none;
    z-index: 2;
}
/* Corner markers (industrial brackets) */
.map-frame .corner {
    position: absolute;
    width: 24px;
    height: 24px;
    border-color: var(--accent);
    border-style: solid;
    z-index: 4;
    pointer-events: none;
}
.map-frame .corner.tl { top: 12px; left: 12px; border-width: 2px 0 0 2px; }
.map-frame .corner.tr { top: 12px; right: 12px; border-width: 2px 2px 0 0; }
.map-frame .corner.bl { bottom: 12px; left: 12px; border-width: 0 0 2px 2px; }
.map-frame .corner.br { bottom: 12px; right: 12px; border-width: 0 2px 2px 0; }

.map-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 14px 20px;
    background: var(--bg-darker);
    border-top: 1px solid var(--border);
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-dim);
    letter-spacing: 0.04em;
}
.map-footer .item { display: flex; align-items: center; gap: 6px; }
.map-footer .item strong { color: var(--accent); font-weight: 700; }

@media (max-width: 600px) {
    .map-frame { aspect-ratio: 4 / 3; }
}

/* === REGION PAGE HERO === */
.region-hero {
    padding: 100px 0 80px;
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}
.region-hero .container {
    position: relative;
    z-index: 2;
}
.region-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}
.region-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.38;
    filter: grayscale(0.2) contrast(1.1) brightness(1.0);
}
.region-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 7, 9, 0.25) 0%, var(--bg-dark) 100%);
}
.region-hero::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
    pointer-events: none;
}
.breadcrumb {
    font-size: 13px;
    color: var(--text-mute);
    margin-bottom: 20px;
    font-family: var(--font-mono);
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { margin: 0 8px; opacity: 0.5; }

.region-hero h1 {
    font-size: clamp(36px, 5.5vw, 64px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}
.region-hero h1 .accent { color: var(--accent); }
.region-hero p.lead { font-size: 18px; color: var(--text-dim); max-width: 720px; }

.region-cities-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
}
.region-cities-list .chip {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dim);
}

.prose { max-width: 820px; }
.prose p { font-size: 17px; color: var(--text-dim); margin-bottom: 20px; line-height: 1.75; }
.prose p strong { color: var(--text); font-weight: 700; }
.prose h2 { font-size: 32px; font-weight: 800; margin: 48px 0 20px; letter-spacing: -0.01em; }
.prose h3 { font-size: 22px; font-weight: 800; margin: 32px 0 12px; }
.prose ul { margin: 20px 0 24px 24px; color: var(--text-dim); }
.prose ul li { margin-bottom: 8px; }
.prose ul li::marker { color: var(--accent); }

/* === DARK BANDED SECTION (refactored from inline styles) === */
.section--dark,
.tech-params {
    background: var(--bg-darker);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.section--dark .gallery-grid { margin-bottom: 60px; }
.tech-params .section-head { text-align: center; margin: 0 auto 60px; }
.tech-params-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius-2xl);
    overflow: hidden;
}
.tech-param {
    background: var(--bg-card);
    padding: 32px 24px;
    text-align: center;
}
.tech-param .num {
    font-family: var(--font-mono);
    font-size: 36px;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}
.tech-param .num .unit { font-size: 18px; }
.tech-param .label {
    color: var(--text-dim);
    font-size: 13px;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.tech-params-note {
    text-align: center;
    margin: 32px auto 0;
    color: var(--text-dim);
    max-width: 760px;
}
.tech-params-note strong { color: var(--text); }

/* === CENTERED SECTION HEAD (refactored from inline styles) === */
.section-head--center { text-align: center; margin-left: auto; margin-right: auto; }

/* === COMPARE BAD STAT === */
.compare-card.bad .compare-stat .v { color: var(--danger); }

/* === MAP FOOTER · push last item right === */
.map-footer .item.spacer-left { margin-left: auto; }

/* === FOOTER CLAIM (extracted from inline) === */
.footer-brand .claim strong { color: var(--text); }

/* === REGION HERO INTERNAL SPACING === */
.region-hero .hero-cta { margin-top: 28px; }
.region-hero .map-wrap { margin-top: 40px; }
.region-hero .gallery-grid { margin-bottom: 60px; }

/* === ACTIVE NAVIGATION (a11y) === */
.nav-links a[aria-current="page"] {
    color: var(--text);
    background: var(--bg-card);
}

/* === UTIL === */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* === REDUCED MOTION (a11y) === */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
    .reveal { opacity: 1; transform: none; }
    .ticker-track { animation: none; }
    .float-call { animation: none; }
}

/* === PRINT === */
@media print {
    .topbar,
    .header,
    .ticker,
    .float-call,
    .cta-strip,
    .map-wrap,
    .partners,
    .hero::before,
    .region-hero::before,
    .footer-bottom { display: none !important; }

    body {
        background: #fff;
        color: #000;
        font-size: 12pt;
        line-height: 1.5;
    }
    body::before { display: none; }
    a { color: #000; text-decoration: underline; }
    a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.85em; }
    section { padding: 16pt 0; page-break-inside: avoid; }
    h1, h2, h3, h4 { color: #000; page-break-after: avoid; }
    .hero,
    .region-hero { padding: 16pt 0; }
    .hero-visual,
    .hero-rig,
    .machine-photo,
    .gallery-section { display: none; }
    .container { max-width: 100%; padding: 0; }
    .accent,
    .section-tag,
    .hero h1 .accent,
    .section-head h2 .accent { color: #000; }
}
