/* ===== CSS VARIABLES ===== */
:root {
    --primary: #2563EB;
    --primary-dark: #1D4ED8;
    --accent: #06B6D4;
    --dark: #0F172A;
    --dark-2: #1E293B;
    --dark-3: #334155;
    --bg: #FFFFFF;
    --bg-2: #F8FAFC;
    --bg-3: #F1F5F9;
    --text: #0F172A;
    --text-2: #334155;
    --muted: #64748B;
    --border: #E2E8F0;
    --white: #FFFFFF;
    --font-stack: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ===== RESET & BASE ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-stack);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; border: none; cursor: pointer; }

/* ===== INFO BAR ===== */
.infobar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1001;
    background: var(--dark);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.infobar-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 7px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.infobar-contact { display: flex; align-items: center; gap: 24px; }
.infobar-social { display: flex; align-items: center; gap: 14px; }

.infobar-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    color: rgba(255,255,255,0.65);
    transition: color 0.2s ease;
    white-space: nowrap;
    letter-spacing: 0.01em;
}

.infobar-link:hover { color: rgba(255,255,255,1); }

/* ===== HEADER / NAVIGATION ===== */
.header {
    position: fixed;
    top: 36px; left: 0; right: 0;
    z-index: 1000;
    background: rgba(15,23,42,0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.header-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 18px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    transition: color 0.3s ease;
    flex-shrink: 0;
    position: relative;
    z-index: 10002;
}

.logo-image { height: 46px; width: auto; }
.logo-white { opacity: 1; }
.logo-color { display: none; }

/* Navigation — sits on top of header on desktop, full-screen overlay on mobile */
.nav {
    position: fixed;
    top: 36px;
    left: 0;
    right: 0;
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    z-index: 1001;
    pointer-events: none;
}

.nav-link {
    padding: 8px 16px;
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    font-size: 14.5px;
    border-radius: 8px;
    transition: all 0.2s ease;
    position: relative;
    letter-spacing: 0.01em;
    pointer-events: auto;
}

.nav-link:hover { background: rgba(255,255,255,0.1); color: var(--white); }
.nav-link:focus { outline: 2px solid var(--primary); outline-offset: 2px; }

/* Dropdown Navigation */
.nav-item { position: relative; pointer-events: auto; }

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-chevron {
    transition: transform 0.25s ease;
    flex-shrink: 0;
    opacity: 0.6;
}

.nav-dropdown:hover .nav-chevron,
.nav-dropdown.open .nav-chevron { transform: rotate(180deg); }

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    min-width: 220px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 20px 40px -8px rgba(0,0,0,0.12);
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    z-index: 1000;
    pointer-events: auto;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-item {
    display: block;
    padding: 9px 14px;
    color: var(--text-2);
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    transition: background 0.15s ease, color 0.15s ease;
    white-space: nowrap;
}

.nav-dropdown-item:hover { background: var(--bg-2); color: var(--primary); }

/* Header CTA Button */
.header-cta { flex-shrink: 0; }

.btn-header {
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s ease;
    background: var(--white);
    color: var(--primary);
    letter-spacing: 0.01em;
    display: inline-block;
}

.btn-header:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    padding: 8px;
    cursor: pointer;
    position: relative;
    z-index: 10002;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.menu-toggle.active span { background: var(--white); }
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(7px, 7px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }

body.menu-open { overflow: hidden; }

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--dark);
    overflow: hidden;
    padding: 176px 32px 100px;
}

/* Background video */
/* YouTube iframe background – simulates object-fit: cover */
.hero-video-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.hero-video-wrap iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Cover container at 16:9 aspect ratio */
    width: 100vw;
    height: 56.25vw;   /* 100vw × (9/16) */
    min-height: 100%;
    min-width: 177.78vh; /* 100vh × (16/9) */
    pointer-events: none;
    opacity: 0;
    animation: videoFadeIn 0.8s ease 1.5s forwards;
}

@keyframes videoFadeIn {
    to { opacity: 1; }
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(10,15,30,0.88) 0%,
        rgba(10,15,30,0.72) 60%,
        rgba(10,15,30,0.45) 100%
    );
    pointer-events: none;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 66.666%;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(37,99,235,0.12);
    border: 1px solid rgba(37,99,235,0.25);
    color: #93C5FD;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero-content h1 {
    font-size: 58px;
    font-weight: 800;
    line-height: 1.08;
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.hero-content h1 span {
    background: linear-gradient(135deg, #60A5FA 0%, #06B6D4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 17px;
    line-height: 1.75;
    color: rgba(255,255,255,0.65);
    margin-bottom: 40px;
    max-width: 500px;
    min-height: 2em;
}

.typewriter-cursor {
    display: inline-block;
    color: #60A5FA;
    font-weight: 300;
    margin-left: 1px;
    animation: blink 0.75s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* CTA Buttons */
.hero-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 52px;
}

.btn {
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.01em;
}

.btn:focus { outline: 3px solid rgba(255,255,255,0.4); outline-offset: 2px; }

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #1D4ED8 100%);
    color: var(--white);
    box-shadow: 0 1px 2px rgba(0,0,0,0.2), 0 4px 16px rgba(37,99,235,0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 1px 2px rgba(0,0,0,0.2), 0 8px 24px rgba(37,99,235,0.45);
}

.btn-secondary {
    background: rgba(255,255,255,0.07);
    color: rgba(255,255,255,0.9);
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.25);
    transform: translateY(-2px);
}

/* Trust Row */
.trust-row {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.5);
    font-size: 13px;
    font-weight: 500;
}

.trust-item svg { width: 16px; height: 16px; color: var(--accent); opacity: 1; }


/* ===== USP BANNER ===== */
.usp-banner {
    background: linear-gradient(90deg, #1D4ED8 0%, #0891B2 100%);
    padding: 20px 32px;
}

.usp-banner-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.usp-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.usp-text {
    font-size: 16px;
    color: rgba(255,255,255,0.9);
    line-height: 1.5;
    margin: 0;
}

.usp-text strong {
    color: var(--white);
    font-weight: 700;
}

/* ===== SECTION LABEL (reusable pill) ===== */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(37,99,235,0.08);
    border: 1px solid rgba(37,99,235,0.15);
    color: var(--primary);
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

/* ===== WHY US SECTION ===== */
.whyus {
    padding: 100px 32px;
    background: var(--dark);
    position: relative;
    overflow: hidden;
}

.whyus::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    height: 400px;
    background: radial-gradient(ellipse, rgba(37,99,235,0.07) 0%, transparent 70%);
    pointer-events: none;
}

.whyus-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.whyus-header {
    text-align: center;
    margin-bottom: 64px;
}

.whyus-header h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 14px;
    letter-spacing: -0.03em;
}

.whyus-header p { font-size: 16px; color: rgba(255,255,255,0.45); }

.whyus-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255,255,255,0.06);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
}

.whyus-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 48px 32px;
    background: rgba(255,255,255,0.02);
    transition: background 0.3s ease;
}

.whyus-item:hover { background: rgba(255,255,255,0.05); }

.whyus-icon {
    width: 56px;
    height: 56px;
    background: rgba(37,99,235,0.15);
    border: 1px solid rgba(37,99,235,0.25);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.whyus-icon svg { width: 26px; height: 26px; stroke: #60A5FA; }

.whyus-number {
    font-size: 44px;
    font-weight: 900;
    background: linear-gradient(135deg, #FFFFFF 0%, #94A3B8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -0.03em;
}

.whyus-label {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.01em;
}

/* ===== REFERENCES SECTION ===== */
.references {
    padding: 80px 32px;
    background: var(--dark);
    position: relative;
    overflow: hidden;
}

.references::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}

.references-header {
    text-align: center;
    margin-bottom: 52px;
}

.references-header h2 {
    font-size: 34px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.references-header p { font-size: 16px; color: rgba(255,255,255,0.45); }

/* Logo Slider */
.logo-slider {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 1100px;
    margin: 0 auto;
}

.logo-arrow {
    flex-shrink: 0;
    align-self: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: rgba(255,255,255,0.5);
    transition: all 0.2s ease;
}

.logo-arrow:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: scale(1.05);
}

.logo-viewport { flex: 1; overflow: hidden; }

.logo-track {
    display: flex;
    gap: 16px;
    will-change: transform;
}

.logo-item {
    flex-shrink: 0;
    width: 267px;
    height: 147px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #334155;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.12);
    padding: 20px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.logo-item:hover {
    border-color: rgba(37,99,235,0.35);
    box-shadow: 0 4px 20px rgba(37,99,235,0.15);
    transform: translateY(-2px);
}

.partner-logo {
    max-width: 100%;
    max-height: 87px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    /* Logá zobrazené v bielej na tmavom pozadí */
    filter: brightness(0) invert(1) opacity(0.75);
    transition: filter 0.3s ease;
}

.logo-item:hover .partner-logo {
    filter: none;
}

/* ===== SERVICES SECTION ===== */
.services {
    padding: 100px 32px;
    background: var(--dark-2);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}

.services-container { max-width: 1280px; margin: 0 auto; }

.services-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px;
}

.services-header h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 14px;
    letter-spacing: -0.03em;
}

.services-header p { font-size: 17px; color: rgba(255,255,255,0.45); line-height: 1.7; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-card {
    background: rgba(255,255,255,0.04);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.07);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    border-color: rgba(37,99,235,0.35);
    background: rgba(255,255,255,0.06);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.2), 0 16px 40px -8px rgba(37,99,235,0.15);
    transform: translateY(-4px);
}

.service-card:focus-within { outline: 3px solid var(--primary); outline-offset: 2px; }

.service-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.service-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.3) 100%);
    pointer-events: none;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.service-card:hover .service-img {
    transform: scale(1.05);
}

.service-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    font-size: 17px;
    font-weight: 700;
    color: rgba(255,255,255,0.9);
    margin-bottom: 10px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.service-content p {
    font-size: 14px;
    color: rgba(255,255,255,0.4);
    line-height: 1.65;
    margin-bottom: 18px;
    flex: 1;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #60A5FA;
    font-weight: 600;
    font-size: 13.5px;
    transition: gap 0.2s ease;
}

.service-link:hover { gap: 8px; }
.service-link:focus { outline: 2px solid var(--primary); outline-offset: 4px; border-radius: 4px; }

/* ===== PROCESS SECTION ===== */
.process {
    padding: 100px 32px;
    background: var(--dark-2);
    position: relative;
    overflow: hidden;
}

.process::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}

.process-container { max-width: 1200px; margin: 0 auto; }

.process-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 72px;
}

.process-header h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 14px;
    letter-spacing: -0.03em;
}

.process-header p { font-size: 17px; color: rgba(255,255,255,0.45); line-height: 1.7; }

.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    background: rgba(255,255,255,0.04);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
    position: relative;
}

.process-step {
    text-align: center;
    padding: 48px 28px;
    background: rgba(255,255,255,0.01);
    transition: background 0.3s ease;
    position: relative;
}

.process-step:hover { background: rgba(255,255,255,0.04); }

.process-step::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(37,99,235,0), transparent);
    transition: background 0.3s ease;
}

.process-step:hover::before {
    background: linear-gradient(90deg, transparent, rgba(37,99,235,0.6), transparent);
}

.process-number {
    width: 80px;
    height: 80px;
    border-radius: 18px;
    background: rgba(37,99,235,0.12);
    border: 1px solid rgba(37,99,235,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.process-icon {
    width: 38px;
    height: 38px;
    color: #60A5FA;
}

.process-step h3 {
    font-size: 18px;
    font-weight: 700;
    color: rgba(255,255,255,0.9);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.process-step p {
    font-size: 14px;
    color: rgba(255,255,255,0.4);
    line-height: 1.65;
}

/* ===== BLOG SECTION ===== */
.blog {
    padding: 100px 32px;
    background: var(--dark);
    position: relative;
    overflow: hidden;
}

.blog::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}

.blog-container { max-width: 1280px; margin: 0 auto; }

.blog-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px;
}

.blog-header h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 14px;
    letter-spacing: -0.03em;
}

.blog-header p { font-size: 17px; color: rgba(255,255,255,0.45); line-height: 1.7; }

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.blog-card {
    background: rgba(255,255,255,0.04);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.07);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    border-color: rgba(37,99,235,0.35);
    background: rgba(255,255,255,0.06);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.2), 0 16px 40px -8px rgba(0,0,0,0.3);
    transform: translateY(-4px);
}

.blog-image {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-img {
    transform: scale(1.05);
}

.blog-category {
    position: absolute;
    top: 16px; left: 16px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);
    color: var(--primary);
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.blog-content {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-date {
    font-size: 13px;
    color: rgba(255,255,255,0.35);
    margin-bottom: 10px;
    display: block;
}

.blog-content h3 {
    font-size: 19px;
    font-weight: 700;
    color: rgba(255,255,255,0.9);
    margin-bottom: 10px;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.blog-content p {
    font-size: 14.5px;
    color: rgba(255,255,255,0.4);
    line-height: 1.65;
    margin-bottom: 20px;
    flex: 1;
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #60A5FA;
    font-weight: 600;
    font-size: 14px;
    transition: gap 0.2s ease;
}

.blog-link:hover { gap: 10px; }

/* Blog-specific gradients */

/* ===== GALLERY SECTION ===== */
.gallery {
    padding: 100px 32px 60px;
    background: var(--dark-2);
    position: relative;
    overflow: hidden;
}

.gallery-cta-wrap {
    background: var(--dark-2);
    padding: 0 32px 100px;
    display: flex;
    justify-content: center;
}

.gallery::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}

.gallery-container { max-width: 1280px; margin: 0 auto; }

.gallery-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
}

.gallery-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #60A5FA;
    margin-bottom: 14px;
}

.gallery-header h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 14px;
    letter-spacing: -0.03em;
}

.gallery-header p {
    font-size: 17px;
    color: rgba(255,255,255,0.45);
    line-height: 1.7;
}

/* Bento grid: 3 cols, 2 rows */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 300px 300px;
    gap: 12px;
}

/* Item 1: wide (cols 1-2, row 1) */
.gallery-item:nth-child(1) { grid-column: 1 / 3; grid-row: 1; }
/* Item 2: tall right (col 3, rows 1-2) */
.gallery-item:nth-child(2) { grid-column: 3; grid-row: 1 / 3; }
/* Item 3: small (col 1, row 2) */
.gallery-item:nth-child(3) { grid-column: 1; grid-row: 2; }
/* Item 4: medium (col 2, row 2) */
.gallery-item:nth-child(4) { grid-column: 2; grid-row: 2; }

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-img {
    position: absolute;
    inset: 0;
    overflow: hidden;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover .gallery-photo { transform: scale(1.07); }

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 28px;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay-content {
    transform: translateY(12px);
    transition: transform 0.35s ease;
}

.gallery-item:hover .gallery-overlay-content { transform: translateY(0); }

.gallery-overlay-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.gallery-overlay-content p {
    font-size: 13.5px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 14px;
    line-height: 1.5;
}

.gallery-zoom-icon {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 600;
    color: #60A5FA;
    letter-spacing: 0.02em;
}

/* Border glow on hover */
.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.12);
    transition: border-color 0.3s ease;
    pointer-events: none;
}

.gallery-item:hover::after { border-color: rgba(96,165,250,0.4); }

/* ===== LIGHTBOX ===== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 24px;
}

.lightbox.active { opacity: 1; pointer-events: auto; }

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.lightbox-content {
    position: relative;
    max-width: 860px;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    transform: scale(0.93);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255,255,255,0.1);
}

.lightbox.active .lightbox-content { transform: scale(1); }

.lightbox-close {
    position: absolute;
    top: 16px; right: 16px;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1;
    transition: background 0.2s ease;
}

.lightbox-close:hover { background: rgba(255,255,255,0.15); }

.lightbox-img {
    height: 480px;
    background: linear-gradient(135deg, #1e3a5f, #0891b2);
    overflow: hidden;
}

.lightbox-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lightbox-info {
    padding: 28px 32px;
    background: #1E293B;
}

.lightbox-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.lightbox-desc {
    font-size: 15px;
    color: rgba(255,255,255,0.55);
    line-height: 1.7;
}

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

/* Tablet */
@media (max-width: 1024px) {
    .infobar { display: none; }
    .header { top: 0; }
    .hero { padding-top: 120px; }

    /* On mobile: nav is a full-screen overlay (now correctly outside header) */
    .nav {
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        height: auto;
        background: #0F172A;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 4px;
        z-index: 9999;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.25s ease;
        overflow-y: auto;
        padding: 80px 24px;
    }

    .nav.active { opacity: 1; pointer-events: auto; }

    .nav-item {
        width: 100%;
        max-width: 300px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        pointer-events: inherit;
    }

    .nav-link {
        display: block;
        color: rgba(255,255,255,0.8);
        font-size: 20px;
        font-weight: 500;
        padding: 14px 20px;
        border-radius: 10px;
        text-align: center;
        width: 100%;
        max-width: 300px;
        pointer-events: inherit;
    }

    .nav-link:hover { background: rgba(255,255,255,0.08); color: var(--white); }

    .nav-dropdown-toggle {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 6px;
    }

    .nav-dropdown-menu {
        position: static;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        background: rgba(255,255,255,0.05);
        border: 1px solid rgba(255,255,255,0.09);
        border-radius: 12px;
        box-shadow: none;
        max-height: 0;
        overflow: hidden;
        padding: 0;
        margin-top: 4px;
        width: 100%;
        transition: max-height 0.3s ease, padding 0.2s ease;
    }

    .nav-dropdown.open .nav-dropdown-menu { max-height: 420px; padding: 6px; }

    .nav-dropdown-item {
        display: block;
        color: rgba(255,255,255,0.65);
        font-size: 15px;
        padding: 10px 16px;
        text-align: center;
        border-radius: 8px;
        white-space: normal;
    }

    .nav-dropdown-item:hover { background: rgba(255,255,255,0.08); color: var(--white); }

    .menu-toggle { display: flex; }
    .header-cta { display: none; }

    .hero-content { max-width: 100%; }
    .hero-content h1 { font-size: 46px; }
    .hero-video-overlay {
        background: linear-gradient(to bottom, rgba(10,15,30,0.82) 0%, rgba(10,15,30,0.65) 100%);
    }

    .process-timeline { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .whyus-grid { grid-template-columns: repeat(2, 1fr); }
    .services-header h2 { font-size: 36px; }
}

/* Mobile */
@media (max-width: 767px) {
    .header-container { padding: 14px 20px; }
    .logo-image { height: 38px; }

    .hero {
        min-height: auto;
        padding: 100px 20px 72px;
    }

    .hero-content h1 { font-size: 38px; }
    .hero-content p { font-size: 16px; margin-bottom: 32px; }
    .hero-cta { flex-direction: column; gap: 10px; }
    .btn { width: 100%; justify-content: center; }
    .trust-row { flex-direction: column; gap: 14px; align-items: center; }

    .whyus { padding: 72px 20px; }
    .whyus-header h2 { font-size: 32px; }
    .whyus-grid { grid-template-columns: repeat(2, 1fr); gap: 1px; }
    .whyus-item { padding: 36px 20px; }
    .whyus-number { font-size: 36px; }

    .references { padding: 64px 20px; }
    .references-header h2 { font-size: 28px; }
    .logo-track { gap: 16px; }
    .logo-item { width: 180px; height: 110px; }

    .services { padding: 72px 20px; }
    .services-header { margin-bottom: 40px; }
    .services-header h2 { font-size: 32px; }
    .services-header p { font-size: 16px; }
    .services-grid { grid-template-columns: 1fr; gap: 16px; }
    .service-image { height: 150px; }

    .process { padding: 72px 20px; }
    .process-header { margin-bottom: 52px; }
    .process-header h2 { font-size: 32px; }
    .process-timeline { grid-template-columns: 1fr; }
    .process-step { padding: 36px 24px; }

    .blog { padding: 72px 20px; }
    .blog-header { margin-bottom: 40px; }
    .blog-header h2 { font-size: 32px; }
    .blog-grid { grid-template-columns: 1fr; gap: 16px; }
    .blog-image { height: 200px; }

    .gallery { padding: 72px 20px; }
    .gallery-header h2 { font-size: 32px; }
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 200px 200px 200px;
    }
    .gallery-item:nth-child(1) { grid-column: 1 / 3; grid-row: 1; }
    .gallery-item:nth-child(2) { grid-column: 1; grid-row: 2; }
    .gallery-item:nth-child(3) { grid-column: 2; grid-row: 2; }
    .gallery-item:nth-child(4) { grid-column: 1 / 3; grid-row: 3; }
    .gallery-overlay { opacity: 1; }
    .gallery-overlay-content { transform: none; }

    .lightbox-img { height: 280px; }
    .lightbox-info { padding: 20px 24px; }
    .lightbox-title { font-size: 18px; }
}

/* Extra small */
@media (max-width: 480px) {
    .hero-content h1 { font-size: 32px; }
    .services-header h2 { font-size: 28px; }
    .service-content h3 { font-size: 17px; }
    .blog-header h2 { font-size: 28px; }
    .blog-content h3 { font-size: 18px; }
    .whyus-grid { grid-template-columns: 1fr; }
}

/* ===== CONTACT FORM SECTION ===== */
.contact-section {
    background: linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%);
    padding: 96px 0;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 80px;
    align-items: start;
}

.contact-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 20px;
}

.contact-title {
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 18px;
    letter-spacing: -0.025em;
}

.contact-desc {
    font-size: 15.5px;
    color: rgba(255,255,255,0.5);
    line-height: 1.75;
    margin-bottom: 48px;
}

.contact-details { display: flex; flex-direction: column; gap: 24px; }

.contact-detail { display: flex; align-items: flex-start; gap: 16px; }

.contact-detail-icon {
    width: 44px;
    height: 44px;
    background: rgba(37,99,235,0.1);
    border: 1px solid rgba(37,99,235,0.22);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
}

.contact-detail-label {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    margin-bottom: 5px;
}

.contact-detail-value {
    font-size: 15.5px;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
    transition: color 0.2s ease;
    display: block;
}

.contact-detail-value:hover { color: var(--white); }

/* Form wrapper */
.contact-form-wrap {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 40px;
}

.contact-form { display: flex; flex-direction: column; gap: 22px; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group { display: flex; flex-direction: column; gap: 8px; }

.form-label {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.01em;
}

.form-required { color: var(--accent); }

.form-input {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 13px 16px;
    font-size: 14.5px;
    color: var(--white);
    font-family: var(--font-stack);
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    outline: none;
    -webkit-appearance: none;
}

.form-input::placeholder { color: rgba(255,255,255,0.22); }

.form-input:focus {
    border-color: var(--primary);
    background: rgba(37,99,235,0.07);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
}

.form-select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.35)' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 42px;
}

.form-select option { background: #1E293B; color: var(--white); }

.form-textarea { resize: vertical; min-height: 130px; line-height: 1.6; }

.form-gdpr {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 12.5px;
    color: rgba(255,255,255,0.4);
    line-height: 1.55;
}

.form-gdpr input[type="checkbox"] {
    flex-shrink: 0;
    width: 17px;
    height: 17px;
    margin-top: 1px;
    accent-color: var(--primary);
    cursor: pointer;
}

.form-gdpr a {
    color: rgba(6,182,212,0.85);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.form-gdpr a:hover { color: var(--accent); }

.form-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--primary);
    color: var(--white);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.01em;
    padding: 15px 32px;
    border-radius: 12px;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    width: 100%;
    border: none;
    cursor: pointer;
}

.form-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(37,99,235,0.35);
}

.form-submit:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.form-success,
.form-error {
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 12px;
    padding: 16px 20px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.form-success {
    background: rgba(34,197,94,0.1);
    border: 1px solid rgba(34,197,94,0.28);
    color: #4ade80;
}

.form-error {
    background: rgba(239,68,68,0.1);
    border: 1px solid rgba(239,68,68,0.28);
    color: #f87171;
}

@media (max-width: 900px) {
    .contact-container { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 600px) {
    .contact-section { padding: 64px 0; }
    .contact-container { padding: 0 20px; }
    .form-row { grid-template-columns: 1fr; }
    .contact-form-wrap { padding: 28px 20px; }
}

/* ===== SITE FOOTER ===== */
.site-footer {
    background: var(--dark);
    border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* Main columns */
.footer-main { padding: 72px 0 56px; }

.footer-main .footer-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.footer-logo-img { height: 44px; width: auto; margin-bottom: 20px; display: block; }

.footer-tagline {
    font-size: 14px;
    color: rgba(255,255,255,0.4);
    line-height: 1.7;
    max-width: 260px;
}

.footer-heading {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    margin-bottom: 20px;
}

.footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-link {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.footer-address,
.footer-billing {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding-top: 6px;
    border-top: 1px solid rgba(255,255,255,0.07);
}

.footer-address span,
.footer-billing span {
    font-size: 13.5px;
    color: rgba(255,255,255,0.45);
    line-height: 1.6;
}

.footer-billing-note {
    font-size: 12px !important;
    color: rgba(255,255,255,0.28) !important;
    font-style: italic;
}

.footer-contact-person {
    margin-bottom: 16px;
}

.footer-person-name {
    font-size: 15px;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    margin-bottom: 3px;
}

.footer-person-role {
    font-size: 12.5px;
    color: rgba(255,255,255,0.35);
    letter-spacing: 0.02em;
}

.footer-contact-list { gap: 12px; }

.footer-contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    transition: color 0.2s ease;
}

.footer-contact-link svg { flex-shrink: 0; opacity: 0.5; }
.footer-contact-link:hover { color: var(--white); }
.footer-contact-link:hover svg { opacity: 1; }

/* Certifikáty */
.footer-certs {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 32px 0;
}

.footer-certs .footer-container {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.footer-certs-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.25);
    white-space: nowrap;
}

.footer-certs-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-cert-item {
    width: 100px;
    height: 58px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s ease;
}

.footer-cert-item:hover { border-color: rgba(255,255,255,0.18); }

.footer-cert-placeholder {
    font-size: 10px;
    font-weight: 800;
    color: rgba(255,255,255,0.3);
    text-align: center;
    line-height: 1.4;
    letter-spacing: 0.04em;
}

/* Bottom bar */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 20px 0;
}

.footer-bottom .footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-bottom span {
    font-size: 13px;
    color: rgba(255,255,255,0.3);
}

.footer-bottom-link {
    color: rgba(255,255,255,0.45);
    transition: color 0.2s ease;
}

.footer-bottom-link:hover { color: rgba(255,255,255,0.8); }

@media (max-width: 1024px) {
    .footer-main .footer-container { grid-template-columns: 1fr 1fr; gap: 48px; }
    .footer-col--logo { grid-column: 1 / -1; }
    .footer-tagline { max-width: 100%; }
}

@media (max-width: 600px) {
    .footer-main .footer-container { grid-template-columns: 1fr; gap: 36px; }
    .footer-col--logo { grid-column: auto; }
    .footer-main { padding: 48px 0 40px; }
    .footer-container { padding: 0 20px; }
    .footer-certs .footer-container { gap: 20px; }
}
