/* WorkPower — design system from preview2 + multi-page extensions */

:root {
    /* Brand — workpower logo (orange + charcoal navy) */
    --navy: #1c2434;
    --navy-dark: #0f141a;
    --navy-light: #2a3444;
    --orange: #c84400;
    --orange-hover: #b43403;
    --orange-soft: rgba(200, 68, 0, 0.10);
    --bg: #f4f6f9;
    --surface: #ffffff;
    --border: #e4e9f0;
    --text: #1f2937;
    --muted: #4b5563;
    --font-heading: 'Outfit', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --container: 1200px;
    --r-sm: 6px;
    --r-md: 12px;
    --r-lg: 20px;
    --ease: cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition: all 0.3s var(--ease);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--orange); }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; color: var(--navy); }
ul { list-style: none; }
.prose ul { list-style: disc; padding-left: 1.25rem; margin: 1rem 0; }
.prose ol { list-style: decimal; padding-left: 1.25rem; margin: 1rem 0; }
.prose li { margin: 0.35rem 0; }
.prose p { margin-bottom: 1rem; color: var(--text); }
.prose h2, .prose h3, .prose h4 { margin: 1.5rem 0 0.75rem; }
.prose strong, .prose b { font-weight: 700; color: var(--navy); }
.prose a { color: var(--orange); text-decoration: underline; }
.prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.25rem 0 1.75rem;
    font-size: 0.92rem;
}
.prose th,
.prose td {
    border: 1px solid var(--border);
    padding: 0.7rem 0.85rem;
    text-align: left;
    vertical-align: top;
}
.prose th {
    background: var(--bg);
    color: var(--navy);
    font-weight: 700;
}
.prose code {
    font-size: 0.86em;
    background: var(--bg);
    padding: 0.1em 0.35em;
    border-radius: 4px;
}
.prose img {
    max-width: 100%;
    height: auto;
    border-radius: var(--r-md);
    margin: 1.5rem 0;
    display: block;
}
.prose blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    border-left: 4px solid var(--orange);
    background: var(--orange-soft);
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.contact-form-card--embed {
    box-shadow: 0 8px 28px rgba(28, 36, 52, 0.08);
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 2rem; }
.section { padding: 6rem 0; }
.section-label {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #9a3412;
    background: #ffedd5;
    padding: 0.3rem 0.9rem;
    border-radius: 20px;
    margin-bottom: 1rem;
}
.section-title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    margin-bottom: 1rem;
    color: var(--navy);
}
.section-title span { color: var(--orange); }
.section-subtitle {
    font-size: 1.05rem;
    color: var(--muted);
    max-width: 600px;
    margin-bottom: 3.5rem;
}
.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background: var(--orange);
    margin-top: 1rem;
    border-radius: 2px;
}
.text-center { text-align: center; }
.text-center .section-title::after { margin-left: auto; margin-right: auto; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.75rem;
    border-radius: var(--r-sm);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
}
.btn-primary { background: var(--orange); color: #fff; border-color: var(--orange); }
.btn-primary:hover {
    background: var(--orange-hover);
    border-color: var(--orange-hover);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.45); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.7); color: #fff; }
.btn-outline-navy { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: #fff; }
.btn-full { width: 100%; justify-content: center; padding: 1rem; font-size: 1rem; margin-top: 1rem; }

.top-bar {
    background: var(--navy-dark);
    padding: 0.45rem 0;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.65);
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar a { color: rgba(255,255,255,0.65); }
.top-bar a:hover { color: var(--orange); }
.top-bar-left {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1.5rem;
    width: 100%;
    justify-content: flex-start;
}
.top-bar-left span { display: inline-flex; align-items: center; gap: 0.4rem; }
.top-bar-hours { margin-left: auto; }

.site-header {
    background: var(--surface);
    box-shadow: 0 2px 16px rgba(28,36,52,0.07);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 76px;
    gap: 1rem;
}
.logo-wrapper img { height: 46px; width: auto; max-width: min(220px, 52vw); object-fit: contain; }
.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.25rem;
    flex: 1;
    min-width: 0;
}
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 0.15rem;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    justify-content: center;
    flex: 1;
}
.main-nav ul a {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--navy);
    padding: 0.4rem 0.7rem;
    border-radius: var(--r-sm);
}
.main-nav ul a:hover, .main-nav ul a.active { color: #9a3412; background: #ffedd5; }
.header-cta.btn-primary { color: #fff !important; }
.header-right { display: flex; align-items: center; gap: 0.85rem; flex-shrink: 0; }
.header-cta { padding: 0.55rem 1.1rem; font-size: 0.85rem; }
.lang-switch { display: flex; gap: 0.2rem; }
.lang-switch a {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--muted);
    padding: 0.25rem 0.55rem;
    border-radius: var(--r-sm);
    letter-spacing: 0.05em;
}
.lang-switch a.active, .lang-switch a:hover { color: var(--navy); background: var(--bg); }
.nav-toggle {
    display: none;
    background: var(--navy);
    color: #fff;
    border: none;
    padding: 0.5rem 0.85rem;
    border-radius: var(--r-sm);
    font-weight: 700;
    cursor: pointer;
    flex-shrink: 0;
}

.hero {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-light) 100%);
    color: #fff;
    padding: 7rem 0 5rem;
    position: relative;
    overflow: hidden;
}
.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}
.hero-video,
.hero-media-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-media-image {
    background-size: cover;
    background-position: center;
    transform: scale(1.06);
    animation: heroKenBurns 28s ease-in-out infinite alternate;
}
/* Pri videu: najprv len navy gradient, potom fade-in videa — bez cudzieho still obrázka. */
.hero-media-image--fallback {
    opacity: 0;
    transition: opacity 0.6s ease;
}
.hero.hero--no-video .hero-media-image--fallback {
    opacity: 1;
}
.hero-video {
    opacity: 0;
    transition: opacity 0.8s ease;
}
.hero.is-video-ready .hero-video {
    opacity: 0.42;
}
.hero-media-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(105deg, rgba(15, 20, 28, 0.92) 0%, rgba(28, 36, 52, 0.78) 48%, rgba(28, 36, 52, 0.62) 100%),
        linear-gradient(180deg, rgba(15, 20, 28, 0.35) 0%, rgba(15, 20, 28, 0.55) 100%);
}
@keyframes heroKenBurns {
    from { transform: scale(1.04) translate3d(0, 0, 0); }
    to { transform: scale(1.12) translate3d(-1.5%, -1%, 0); }
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(ellipse 60% 70% at 80% 50%, rgba(235,97,18,0.12) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 20% 80%, rgba(255,255,255,0.03) 0%, transparent 60%);
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    z-index: 1;
    right: -5%; top: -10%;
    width: 500px; height: 500px;
    border-radius: 50%;
    border: 80px solid rgba(255,255,255,0.03);
    pointer-events: none;
}
.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.9);
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
a.hero-badge:hover,
a.hero-badge:focus-visible {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.35);
    color: #fff;
    transform: translateY(-1px);
}
a.hero-badge:active { transform: translateY(0); }
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; animation: pulse 2s infinite; flex-shrink: 0; }
@keyframes pulse { 0%,100%{opacity:1}50%{opacity:0.4} }
.hero h1 {
    color: #fff;
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}
.hero h1 span { color: var(--orange); }
.hero p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 2.5rem;
    max-width: 520px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-visual { position: relative; display: flex; flex-direction: column; gap: 1rem; }
.hero-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--r-md);
    padding: 1.25rem 1.5rem;
}
.hero-card-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--orange);
    margin-bottom: 0.5rem;
}
.hero-card-value { font-family: var(--font-heading); font-size: 2rem; font-weight: 800; color: #fff; }
.hero-card-desc { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-top: 0.25rem; }
.hero-cards-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.hero-jobs-rotator { min-height: 148px; }
.hero-jobs-track { position: relative; min-height: 72px; margin-top: 0.35rem; }
.hero-job-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
    color: inherit;
    text-decoration: none;
}
.hero-job-slide.is-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    position: relative;
}
.hero-job-slide-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.hero-job-title {
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
}
.hero-job-meta {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    margin-top: 0.25rem;
}
.hero-job-salary {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--orange);
}
.hero-jobs-dots {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.9rem;
}
.hero-jobs-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.hero-jobs-dot::before {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    transition: var(--transition);
}
.hero-jobs-dot.is-active::before,
.hero-jobs-dot:hover::before {
    background: var(--orange);
    transform: scale(1.2);
}
.hero-jobs-footer { margin-top: 0.75rem; }
.hero-jobs-footer a {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255,255,255,0.75);
}
.hero-jobs-footer a:hover { color: #fff; }

.page-hero {
    background: linear-gradient(135deg, var(--navy-dark), var(--navy));
    color: #fff;
    padding: 4.5rem 0 3.5rem;
    position: relative;
    overflow: hidden;
}
.page-hero.page-hero--media {
    background: var(--navy-dark);
}
.page-hero .hero-media-image {
    opacity: 0.38;
    animation-duration: 36s;
}
.page-hero .hero-media-shade {
    background:
        linear-gradient(100deg, rgba(15, 20, 28, 0.94) 0%, rgba(28, 36, 52, 0.82) 55%, rgba(28, 36, 52, 0.7) 100%);
}
.page-hero .container {
    position: relative;
    z-index: 2;
}
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.8rem); margin-bottom: 0.75rem; }
.page-hero p { color: rgba(255,255,255,0.8); max-width: 640px; font-size: 1.05rem; }

@media (prefers-reduced-motion: reduce) {
    .hero-media-image { animation: none; transform: scale(1.04); }
    .hero-video { display: none !important; }
    .hero-media-image--fallback { opacity: 1 !important; }
}

.stats-bar { background: var(--surface); border-bottom: 1px solid var(--border); padding: 2.5rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.stat-num { font-family: var(--font-heading); font-size: 2.4rem; font-weight: 800; color: var(--navy); line-height: 1; }
.stat-num span { color: var(--orange); }
.stat-label { font-size: 0.88rem; color: var(--muted); margin-top: 0.4rem; font-weight: 500; }

.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 2rem; }
.feature-card {
    background: var(--surface);
    padding: 2.5rem;
    border-radius: var(--r-md);
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s var(--ease);
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(28,36,52,0.10);
    border-color: transparent;
}
.feature-icon-wrap {
    width: 56px; height: 56px;
    border-radius: var(--r-md);
    background: var(--orange-soft);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
}
.feature-card h3 { font-size: 1.1rem; margin-bottom: 0.75rem; }
.feature-card p { color: var(--muted); font-size: 0.95rem; }

.industries { background: var(--navy); padding: 5rem 0; }
.industries .section-title { color: #fff; }
.industries .section-title::after { background: var(--orange); }
.industries .section-subtitle { color: rgba(255,255,255,0.65); }
.industry-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; }
.industry-item {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: var(--r-md);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition);
}
.industry-item:hover {
    background: rgba(235,97,18,0.15);
    border-color: rgba(235,97,18,0.3);
    transform: translateY(-4px);
}
.industry-icon { font-size: 2.2rem; margin-bottom: 0.85rem; }
.industry-item h3, .industry-item h4 { color: #fff; font-size: 0.95rem; }

.job-list { display: grid; gap: 1.25rem; }
.jobs-empty {
    max-width: 640px;
    margin: 0.5rem auto 0;
    text-align: center;
}
.jobs-empty-title {
    margin: 0 0 0.65rem;
    font-family: var(--font-display, inherit);
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    color: var(--navy, #1c2434);
}
.jobs-empty-lead {
    margin: 0 0 1.75rem;
    color: var(--muted, #6b7280);
    font-size: 1.02rem;
    line-height: 1.55;
}
.jobs-empty .contact-form-card {
    text-align: left;
}

.job-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 2rem 2.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.job-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: var(--orange);
}
.job-card:hover {
    border-color: rgba(235,97,18,0.25);
    box-shadow: 0 8px 30px rgba(28,36,52,0.10);
    transform: translateX(4px);
}
.job-meta { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 0.6rem; }
.job-tag {
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.2rem 0.7rem;
    border-radius: 20px;
    background: var(--orange-soft);
    color: var(--orange);
}
.job-tag.tag-new { background: rgba(74,222,128,0.1); color: #16a34a; }
.job-tag.tag-urgent { background: rgba(239,68,68,0.1); color: #dc2626; }
.job-info { flex: 1; min-width: 200px; }
.job-title { font-size: 1.3rem; margin-bottom: 0.4rem; }
.job-title a { color: inherit; }
.job-detail { font-size: 0.88rem; color: var(--muted); display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 0.5rem; }
.job-right { text-align: right; flex-shrink: 0; }
.job-excerpt {
    color: var(--muted);
    font-size: 0.95rem;
    margin: 0.35rem 0 0.5rem;
    max-width: 560px;
}
.job-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: flex-end;
}
.job-salary {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 0.75rem;
}
.job-detail-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}
.job-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 2.5rem;
}
.job-fact {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 1.25rem 1.4rem;
}
.job-fact-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
    margin-bottom: 0.4rem;
}
.job-fact-value {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--navy);
    font-size: 1.05rem;
}
.job-fact-value.salary { color: var(--orange); font-size: 1.25rem; font-weight: 800; }
.job-benefits { margin-bottom: 2.5rem; }
.job-benefits ul {
    list-style: none;
    display: grid;
    gap: 0.65rem;
}
.job-benefits li {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    padding: 0.85rem 1.1rem;
    font-weight: 600;
    color: var(--navy);
}
.job-benefits li::before { content: '✓ '; color: var(--orange); }
.job-description { margin-bottom: 2rem; }
.job-detail-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.job-sidebar .hub-card { position: sticky; top: 100px; }
.jobs-cta {
    text-align: center;
    margin-top: 2.5rem;
    padding: 2rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
}
.jobs-cta p { color: var(--muted); margin-bottom: 1rem; }
.filters { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.filters select {
    padding: 0.65rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--r-sm);
    background: var(--surface);
    font-family: inherit;
}

.hub-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.hub-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 2rem;
    transition: var(--transition);
}
.hub-card:hover { box-shadow: 0 12px 32px rgba(28,36,52,0.08); transform: translateY(-4px); }
.hub-card h3 { margin-bottom: 0.75rem; font-size: 1.15rem; }
.hub-card p { color: var(--muted); font-size: 0.95rem; margin-bottom: 1.25rem; }

.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.blog-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.blog-card:hover { box-shadow: 0 12px 32px rgba(28,36,52,0.08); }
.blog-card-cover {
    display: block;
    height: 180px;
    background: var(--bg) center 28% / cover no-repeat;
    text-decoration: none;
}
.blog-card-body { padding: 1.75rem; flex: 1; display: flex; flex-direction: column; }
.blog-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.blog-card p { color: var(--muted); font-size: 0.95rem; }
.blog-meta { font-size: 0.82rem; color: var(--muted); margin-bottom: 0.75rem; }
.blog-card .btn { margin-top: auto; align-self: flex-start; }

.faq-list { display: grid; gap: 1rem; max-width: 860px; }
.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 1.5rem 1.75rem;
}
.faq-item h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.faq-item .answer { color: var(--muted); font-size: 0.95rem; }

.contact-section { background: var(--bg); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: start; }
.contact-info-items { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-info-item { display: flex; gap: 1.25rem; align-items: flex-start; }
.contact-info-icon {
    width: 48px; height: 48px;
    border-radius: var(--r-md);
    background: var(--orange-soft);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.contact-info-text h4 { font-size: 0.9rem; color: var(--muted); font-weight: 600; margin-bottom: 0.25rem; }
.contact-info-text p, .contact-info-text a { color: var(--navy); font-weight: 600; font-size: 1rem; }
.contact-form-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(28,36,52,0.06);
    scroll-margin-top: 6.5rem;
}
.contact-form-card h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.contact-form-card > p { color: var(--muted); font-size: 0.93rem; margin-bottom: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 0.88rem; font-weight: 600; color: var(--navy); }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--r-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text);
    background: var(--bg);
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--navy);
    background: var(--surface);
    box-shadow: 0 0 0 3px rgba(28,36,52,0.08);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.82rem;
    color: var(--muted);
    margin-top: 0.5rem;
}
.form-check input[type="checkbox"] { margin-top: 2px; accent-color: var(--orange); }
.form-check a.gdpr-link,
.callback-check a.gdpr-link {
    color: var(--orange);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.form-check a.gdpr-link:hover,
.callback-check a.gdpr-link:hover {
    color: var(--navy, #1c2434);
}
.form-file {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px dashed var(--border);
    border-radius: var(--r-sm);
    background: var(--bg);
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--text);
    cursor: pointer;
}
.form-file:hover { border-color: var(--navy); }
.form-hint {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.82rem;
    color: var(--muted);
}
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--r-sm);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}
.alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

.site-footer {
    background: var(--navy-dark);
    color: rgba(255,255,255,0.7);
    padding: 5rem 0 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand p { font-size: 0.9rem; line-height: 1.7; margin-top: 1rem; max-width: 300px; }
.footer-logo { height: 64px; width: auto; max-width: 220px; margin-bottom: 1rem; object-fit: contain; }
.footer-widget h5, .footer-widget-title {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.footer-widget ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-widget a { color: rgba(255,255,255,0.65); font-size: 0.9rem; }
.footer-widget a:hover { color: var(--orange); }
.footer-contact-item { display: flex; align-items: center; gap: 0.6rem; font-size: 0.9rem; margin-bottom: 0.75rem; }
.footer-contact-icon { color: var(--orange); width: 18px; text-align: center; }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
}
.footer-bottom a { color: rgba(255,255,255,0.7); }
.footer-bottom a:hover { color: #fff; }

.dual-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
.dual-cta-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 2.5rem;
}
.dual-cta-card h3 { margin-bottom: 0.75rem; }
.dual-cta-card p { color: var(--muted); margin-bottom: 1.5rem; }

@media (max-width: 1000px) {
    .site-header {
        position: sticky;
        top: 0;
        z-index: 100;
    }
    .header-inner {
        position: static;
        flex-wrap: nowrap;
        height: 64px;
        min-height: 64px;
        padding: 0;
        gap: 0.75rem;
    }
    .logo-wrapper img { height: 40px; }
    .nav-toggle { display: inline-flex; margin-left: auto; }

    .main-nav {
        display: none !important;
        flex: unset;
    }
    .main-nav.open {
        display: flex !important;
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        width: 100%;
        max-height: min(70vh, 520px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        background: var(--surface);
        border-bottom: 1px solid var(--border);
        padding: 0.75rem 1.25rem 1rem;
        box-shadow: 0 12px 24px rgba(0,0,0,0.08);
        z-index: 120;
    }
    .main-nav.open ul {
        flex-direction: column;
        flex: none;
        width: 100%;
        gap: 0.1rem;
    }
    .main-nav.open a {
        display: block;
        padding: 0.65rem 0.85rem;
    }
    .main-nav.open .header-right {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0.65rem;
        padding-top: 0.65rem;
        border-top: 1px solid var(--border);
    }
    .main-nav.open .lang-switch {
        justify-content: center;
    }
    .main-nav.open .header-cta {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}
@media (max-width: 900px) {
    .hero { padding: 2.25rem 0 3rem; }
    .hero-inner { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid, .dual-cta, .footer-grid, .job-detail-layout { grid-template-columns: 1fr; }
    .job-actions { justify-content: flex-start; }
    .job-right { text-align: left; }
    .job-sidebar .hub-card { position: static; }
}
@media (max-width: 640px) {
    .container { padding: 0 1.25rem; }
    /* Kompaktný top bar — kontakty vycentrované */
    .top-bar { padding: 0.4rem 0; font-size: 0.72rem; }
    .top-bar .container { justify-content: center; }
    .top-bar-left {
        justify-content: center;
        gap: 0.35rem 1rem;
        text-align: center;
    }
    .top-bar-address { display: none; } /* skryť adresu na mobile */
    .top-bar-hours { margin-left: 0; }
    .hero { padding: 1.15rem 0 2.25rem; }
    .hero-badge { margin-bottom: 0.85rem; }
    .hero h1 { margin-bottom: 0.85rem; font-size: clamp(1.85rem, 7vw, 2.4rem); }
    .hero p { margin-bottom: 1.25rem; font-size: 1rem; }
    .form-row { grid-template-columns: 1fr; }
    .job-card { flex-direction: column; }
    .job-right { text-align: left; }
    .footer-bottom { flex-direction: column; text-align: center; }
    a.hero-badge {
        max-width: 100%;
        text-align: left;
        line-height: 1.35;
        padding: 0.55rem 0.95rem;
    }
}

/* Cookie consent */
.cookie-settings-link {
    background: none;
    border: 0;
    padding: 0;
    margin: 0;
    font: inherit;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.cookie-settings-link:hover { color: #fff; }

.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9998;
    background: #fff;
    border-top: 1px solid var(--border);
    box-shadow: 0 -12px 40px rgba(28,36,52,0.12);
    padding: 1.25rem 0;
}
.cookie-banner-inner {
    width: min(1120px, calc(100% - 2.5rem));
    margin: 0 auto;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: space-between;
}
.cookie-banner-text strong {
    display: block;
    color: var(--navy);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
}
.cookie-banner-text p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.55;
    max-width: 62ch;
}
.cookie-banner-text a { color: var(--navy); text-decoration: underline; }
.cookie-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    flex-shrink: 0;
}
.cookie-banner-actions .btn { white-space: nowrap; }

.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(15, 23, 42, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}
.cookie-modal[hidden],
.cookie-banner[hidden] { display: none !important; }
.cookie-modal-dialog {
    width: min(560px, 100%);
    max-height: min(90vh, 720px);
    overflow: auto;
    background: #fff;
    border-radius: var(--r-lg);
    box-shadow: 0 24px 64px rgba(0,0,0,0.22);
}
.cookie-modal-header,
.cookie-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
}
.cookie-modal-footer {
    border-bottom: 0;
    border-top: 1px solid var(--border);
    justify-content: flex-end;
    flex-wrap: wrap;
}
.cookie-modal-header h2 {
    margin: 0;
    font-size: 1.25rem;
}
.cookie-modal-close {
    border: 0;
    background: transparent;
    font-size: 1.6rem;
    line-height: 1;
    color: var(--muted);
    cursor: pointer;
}
.cookie-modal-body { padding: 1.25rem 1.5rem 0.5rem; }
.cookie-modal-body > p { color: var(--muted); font-size: 0.93rem; margin-bottom: 1.25rem; }
.cookie-cat {
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 1rem 1.1rem;
    margin-bottom: 0.85rem;
}
.cookie-cat-head {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    align-items: flex-start;
}
.cookie-cat strong { display: block; color: var(--navy); margin-bottom: 0.25rem; }
.cookie-cat p { margin: 0; color: var(--muted); font-size: 0.86rem; line-height: 1.5; }
.cookie-switch {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.35rem;
    font-size: 0.78rem;
    color: var(--muted);
    white-space: nowrap;
}
.cookie-switch input { width: 18px; height: 18px; accent-color: var(--orange); }
.cookie-modal-note {
    font-size: 0.84rem;
    color: var(--muted);
    margin: 1rem 0 1.25rem;
}

@media (max-width: 800px) {
    .cookie-banner-inner { flex-direction: column; align-items: stretch; }
    .cookie-banner-actions { justify-content: stretch; }
    .cookie-banner-actions .btn { flex: 1 1 auto; text-align: center; }
    .cookie-cat-head { flex-direction: column; }
    .cookie-switch { align-items: flex-start; flex-direction: row; align-items: center; }
}

/* Callback popup (Maxins-inspired) */
.callback-fab {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 9900;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    padding: 0.75rem 1.15rem;
    background: var(--navy);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.2);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, bottom 0.25s ease;
}
body.has-cookie-banner .callback-fab {
    bottom: 7.5rem;
}
.callback-fab:hover {
    background: var(--navy-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.25);
}
.callback-fab-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    color: var(--orange);
    flex-shrink: 0;
}
.callback-fab-icon svg {
    display: block;
    width: 1.15rem;
    height: 1.15rem;
}
.callback-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(15, 23, 42, 0.55);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1rem;
}
.callback-modal[hidden] { display: none !important; }
.callback-dialog {
    width: min(420px, 100%);
    background: #fff;
    border-radius: var(--r-lg) var(--r-lg) 0 0;
    box-shadow: 0 -8px 40px rgba(0,0,0,0.2);
    position: relative;
    max-height: min(92vh, 640px);
    overflow: auto;
}
.callback-close {
    position: absolute;
    top: 0.65rem;
    right: 0.75rem;
    border: 0;
    background: transparent;
    font-size: 1.6rem;
    color: var(--muted);
    cursor: pointer;
    line-height: 1;
}
.callback-body { padding: 1.75rem 1.5rem 1.5rem; }
.callback-kicker {
    margin: 0 0 0.35rem;
    color: var(--orange);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.callback-body h2 {
    margin: 0 0 0.65rem;
    font-size: 1.45rem;
    color: var(--navy);
}
.callback-lead {
    margin: 0 0 1.25rem;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.55;
}
.callback-label {
    display: block;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--navy);
    margin-bottom: 0.4rem;
}
.callback-input {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--r-sm);
    font: inherit;
    margin-bottom: 0.85rem;
    background: var(--bg);
}
.callback-input:focus {
    outline: none;
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(28,36,52,0.08);
}
.callback-check {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    font-size: 0.82rem;
    color: var(--muted);
    margin-bottom: 1rem;
}
.callback-check input { margin-top: 2px; accent-color: var(--orange); }
.callback-error {
    color: #991b1b;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: var(--r-sm);
    padding: 0.65rem 0.8rem;
    font-size: 0.88rem;
    margin: 0 0 0.85rem;
}
.callback-alt {
    margin: 1rem 0 0;
    text-align: center;
    font-size: 0.88rem;
    color: var(--muted);
}
.callback-alt a { color: var(--navy); font-weight: 700; }
.callback-success-view { text-align: center; padding: 1rem 0 0.5rem; }
.callback-success-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: #ecfdf5;
    color: #059669;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    font-weight: 800;
}
.callback-success-view h2 { margin-bottom: 0.5rem; }
.callback-success-view p { color: var(--muted); margin-bottom: 1.25rem; }

@media (min-width: 640px) {
    .callback-modal { align-items: center; }
    .callback-dialog { border-radius: var(--r-lg); }
}
@media (max-width: 640px) {
    .callback-fab-label { display: none; }
    .callback-fab {
        right: 1rem;
        bottom: 1rem;
        width: 56px;
        height: 56px;
        justify-content: center;
        padding: 0;
    }
    body.has-cookie-banner .callback-fab {
        bottom: 11rem;
    }
}
