:root {
    --bg-color: #050505;
    --text-color: #f3f4f6;
    --text-muted: #9ca3af;
    --primary-color: #3b82f6;
    --secondary-color: #8b5cf6;
    --accent-color: #22d3ee;
    --nav-bg: rgba(5, 5, 5, 0.7);
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
    --hover-bg: rgba(255, 255, 255, 0.08);
    --hover-border: rgba(255, 255, 255, 0.2);
    --spotlight: rgba(59, 130, 246, 0.16);
    --grain-opacity: 0.035;
    --font-family: 'Outfit', sans-serif;
}

[data-theme="light"] {
    --bg-color: #f8fafc;
    --text-color: #0f172a;
    --text-muted: #475569;
    --nav-bg: rgba(255, 255, 255, 0.85);
    --card-bg: rgba(255, 255, 255, 0.9);
    --card-border: rgba(0, 0, 0, 0.08);
    --hover-bg: rgba(0, 0, 0, 0.04);
    --hover-border: rgba(0, 0, 0, 0.15);
    --spotlight: rgba(59, 130, 246, 0.1);
    --grain-opacity: 0.02;
}

/* Film grain - jemná statická textúra cez celý web.
   Zámerne bez animácie a presne cez viewport: animovaný grain roztiahnutý
   za okraje obrazovky znamená prekresľovanie miliónov pixelov niekoľkokrát
   za sekundu a zrolovanie stránky sa tým rozsype. */
.grain {
    position: fixed;
    inset: 0;
    z-index: 9998;
    pointer-events: none;
    opacity: var(--grain-opacity);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Scroll progress */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 1001;
    pointer-events: none;
}

.scroll-progress span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: 0 50%;
}

/* Perspektívna mriežka v pozadí */
.grid-lines {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    opacity: 0.4;
    background-image:
        linear-gradient(var(--card-border) 1px, transparent 1px),
        linear-gradient(90deg, var(--card-border) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
}

/* Spotlight sledujúci kurzor */
.spotlight {
    position: relative;
    isolation: isolate;
}

.spotlight::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), var(--spotlight), transparent 70%);
}

.spotlight:hover::before {
    opacity: 1;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-color); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    border: 2px solid var(--bg-color);
}

/* Prístupnosť: viditeľný focus */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 3px;
    border-radius: 4px;
}

::selection {
    background: var(--secondary-color);
    color: #fff;
}

.theme-toggle {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
}

.theme-toggle:hover {
    transform: scale(1.1) rotate(15deg);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-family);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Blobs */
.blob {
    position: absolute;
    filter: blur(140px);
    z-index: -1;
    opacity: 0.4;
    animation: float 12s infinite alternate ease-in-out;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-color), transparent 70%);
}

.blob-2 {
    bottom: 20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--secondary-color), transparent 70%);
    animation-delay: -5s;
}

.blob-3 {
    top: 50%;
    left: 40%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.5), transparent 70%);
    animation-delay: -2s;
    animation-duration: 15s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(80px, 80px) scale(1.1); }
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-color);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 1s cubic-bezier(0.77, 0, 0.175, 1);
}

.preloader-content {
    overflow: hidden;
    padding: 10px;
}

.preloader-content .logo {
    font-size: 5rem;
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
    animation: slideUpFade 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.glow-text {
    text-shadow: 0 0 30px rgba(59, 130, 246, 0.6);
}

@keyframes slideUpFade {
    0% { opacity: 0; transform: translateY(100%); }
    100% { opacity: 1; transform: translateY(0); }
}

.preloader.loaded {
    transform: translateY(-100%);
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--nav-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--card-border);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: var(--nav-bg);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.navbar.scrolled .nav-container {
    height: 70px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    transition: height 0.3s ease;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 0 auto;
    border-radius: 2px;
    background: var(--text-color);
    transition: transform 0.3s ease, opacity 0.2s ease;
}

body.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.logo {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-color);
    text-decoration: none;
    letter-spacing: -1px;
    position: relative;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo::after {
    content: '.';
    color: var(--primary-color);
}

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

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 400;
    font-size: 1.05rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.7);
    transform: translateY(-4px);
}

.glow-effect {
    position: relative;
    overflow: hidden;
}

.glow-effect::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 60%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s ease;
}

.glow-effect:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.btn-secondary {
    background: var(--card-bg);
    color: var(--text-color);
    border: 1px solid var(--card-border);
}

.btn-secondary:hover {
    background: var(--hover-bg);
    transform: translateY(-4px);
    border-color: var(--hover-border);
}

.btn-outline {
    border: 1px solid var(--card-border);
    padding: 0.6rem 1.6rem;
}

.btn-outline:hover {
    border-color: var(--primary-color);
    background: rgba(59, 130, 246, 0.05);
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

/* Typography Gradient */
.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-left {
    text-align: left !important;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 90px;
    padding-bottom: 40px;
}

.hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    width: 100%;
}

.hero-content {
    flex: 1;
    max-width: 650px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-wrapper {
    position: relative;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    perspective: 1000px;
}

.image-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.45), rgba(139, 92, 246, 0.18), transparent 70%);
    transform: translate(-50%, -50%);
    z-index: -1;
    filter: blur(60px);
    transition: all 0.6s ease;
}

.image-wrapper:hover::before {
    background: radial-gradient(circle, rgba(59, 130, 246, 0.6), rgba(139, 92, 246, 0.3), transparent 70%);
    filter: blur(70px);
}

/* Fotka bez rámu - okraje sa rozplývajú do pozadia.
   Funguje to preto, že pozadie fotky je takmer rovnako tmavé ako web,
   takže maska nechá subjekt "plávať" bez viditeľnej hrany. */
.image-frame {
    position: relative;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    transform-style: preserve-3d;
    will-change: transform;
}

.image-frame picture {
    display: block;
}

.image-frame img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    aspect-ratio: 4/5;
    transition: filter 0.6s ease;
    filter: contrast(1.06) brightness(1.05);
    -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 42%, #000 55%, transparent 100%);
    mask-image: radial-gradient(ellipse 75% 70% at 50% 42%, #000 55%, transparent 100%);
}

.image-wrapper:hover .image-frame img {
    filter: contrast(1.06) brightness(1.1) saturate(1.05);
}

/* Svetlý režim: maska tu NESMIE byť.
   Rozplývanie okrajov funguje len na tmavom podklade - fotka má tmavé
   pozadie, takže na takmer bielej stránke by z masky vznikol tmavý kruh
   okolo subjektu. Preto tu fotku normálne orámujeme. */
[data-theme="light"] .image-frame img {
    -webkit-mask-image: none;
    mask-image: none;
    border-radius: 28px;
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.22);
}

[data-theme="light"] .image-wrapper::before {
    background: radial-gradient(circle, rgba(59, 130, 246, 0.28), rgba(139, 92, 246, 0.12), transparent 70%);
    filter: blur(50px);
}

[data-theme="light"] .image-wrapper:hover::before {
    background: radial-gradient(circle, rgba(59, 130, 246, 0.38), rgba(139, 92, 246, 0.18), transparent 70%);
}

/* Hero badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1.1rem;
    margin-bottom: 1.8rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(10px);
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-color);
    box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.6);
    animation: pulseDot 2.4s infinite;
}

@keyframes pulseDot {
    0% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.6); }
    70% { box-shadow: 0 0 0 10px rgba(34, 211, 238, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); }
}

/* Podčiarknutý odkaz v texte.
   Pozor: .gradient-text kreslí text cez background-image + background-clip:text,
   takže podčiarknutie NESMIE byť tiež background - prepísalo by gradient a text
   by zostal priehľadný. Preto border-bottom, ktorý má vlastnú farbu. */
.link-underline {
    font-weight: 800;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color 0.4s ease;
}

.link-underline:hover {
    border-bottom-color: var(--secondary-color);
}

/* Scroll indikátor */
.scroll-cue {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 26px;
    height: 42px;
    border: 2px solid var(--card-border);
    border-radius: 50px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-cue span {
    width: 4px;
    height: 8px;
    border-radius: 4px;
    background: var(--primary-color);
    animation: scrollDot 1.8s infinite;
}

@keyframes scrollDot {
    0% { opacity: 0; transform: translateY(0); }
    35% { opacity: 1; }
    100% { opacity: 0; transform: translateY(14px); }
}

.subtitle {
    font-weight: 600;
    font-size: 1.4rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.title {
    font-size: 6rem;
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 2.5rem;
    letter-spacing: -2.5px;
}

.description {
    font-size: 1.35rem;
    color: var(--text-muted);
    margin-bottom: 3.5rem;
    max-width: 650px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
}

/* About Section */
.about {
    padding: 8rem 0;
}

.about-grid {
    display: flex;
    align-items: center;
    gap: 5rem;
}

.about-text {
    flex: 1.2;
}

.about-text p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-text strong {
    color: var(--text-color);
    font-weight: 600;
}

.about-stats {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 1.5rem 2rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.stat-card:hover {
    transform: translateX(10px);
    border-color: var(--primary-color);
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.stat-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.3rem;
}

.stat-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Marquee Scroller */
.marquee-scroller {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    padding: 1.2rem 0;
    transform: rotate(-2deg) scale(1.05);
    margin-top: 2rem;
    margin-bottom: 5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    position: relative;
    z-index: 10;
}

.marquee-track {
    display: flex;
    width: fit-content;
    animation: marqueeScroll 15s linear infinite;
}

.marquee-track span {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    white-space: nowrap;
    padding-right: 2rem;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Services */
.services {
    padding: 10rem 0;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 4rem;
    text-align: center;
    letter-spacing: -1.5px;
}

.services-scroller {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
    padding: 2rem 0;
}

.services-track {
    display: flex;
    gap: 2.5rem;
    width: max-content;
}

.services-group {
    display: flex;
    gap: 2.5rem;
    flex-shrink: 0;
    animation: infiniteScroll 25s linear infinite;
}

.services-track:hover .services-group {
    animation-play-state: paused;
}

@keyframes infiniteScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-100% - 2.5rem)); }
}

.service-card {
    position: relative;
    width: 400px;
    flex-shrink: 0;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 3rem;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Štítok kategórie (PPC) */
.service-tag {
    position: absolute;
    top: 1.6rem;
    right: 1.6rem;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--accent-color);
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.25);
}

/* Karta, ktorá je zároveň odkaz */
.service-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.service-card-link:hover {
    border-color: rgba(139, 92, 246, 0.6);
}

.service-link-cue {
    display: inline-block;
    margin-top: 1.2rem;
    font-weight: 600;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.service-card-link:hover .service-link-cue {
    transform: translateX(6px);
}

.service-card:hover {
    transform: translateY(-12px);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background: var(--hover-bg);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: transform 0.4s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-size: 1.7rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--text-color);
}

.service-card p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Contact */
.contact {
    padding: 5rem 0 10rem 0;
}

.contact-box {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 36px;
    padding: 6rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.contact-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1), transparent 50%);
    z-index: -1;
    pointer-events: none;
    animation: rotateSlow 20s linear infinite;
}

@keyframes rotateSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.contact-box h2 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -1.5px;
}

.contact-box p {
    color: var(--text-muted);
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.contact-details {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.25rem;
}

.contact-item a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-color);
}

.social-links-contact {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}

.social-icon {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    padding: 0.6rem 1.6rem;
    border-radius: 50px;
    border: 1px solid var(--card-border);
    transition: all 0.3s ease;
    background: var(--card-bg);
}

.social-icon:hover {
    color: #fff;
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.4);
}

/* Cookies lišta */
.cookie-bar {
    position: fixed;
    left: 50%;
    bottom: 1.5rem;
    z-index: 9997;
    width: min(880px, calc(100% - 2rem));
    padding: 1.5rem 1.8rem;
    border-radius: 24px;
    background: var(--nav-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    opacity: 0;
    transform: translate(-50%, 20px);
    transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-bar.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

.cookie-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-text strong {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 0.3rem;
    color: var(--text-color);
}

.cookie-text p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.55;
    margin: 0;
}

.cookie-actions {
    display: flex;
    gap: 0.8rem;
    flex-shrink: 0;
}

/* Obe možnosti zámerne rovnako dostupné - odmietnutie nesmie byť
   schované ani ťažšie klikateľné než súhlas. */
.btn-cookie {
    padding: 0.7rem 1.6rem;
    font-size: 0.95rem;
    white-space: nowrap;
}

@media (max-width: 700px) {
    .cookie-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 1.2rem;
    }

    .cookie-actions {
        flex-direction: row;
    }

    .btn-cookie {
        flex: 1;
        text-align: center;
    }
}

/* Enhanced Footer */
.site-footer {
    background: var(--nav-bg);
    border-top: 1px solid var(--card-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding-top: 5rem;
    position: relative;
    overflow: hidden;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.footer-brand {
    flex: 1;
    min-width: 300px;
}

.footer-brand .logo {
    display: inline-block;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 400px;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer-socials a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--card-bg);
    color: var(--text-color);
    text-decoration: none;
    font-weight: 800;
    font-size: 0.9rem;
    border: 1px solid var(--card-border);
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.4);
}

.footer-billing {
    flex: 1;
    min-width: 300px;
}

.footer-billing h4 {
    color: var(--text-color);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-billing h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.footer-billing ul {
    list-style: none;
    color: var(--text-muted);
}

.footer-billing li {
    margin-bottom: 0.6rem;
    font-size: 1rem;
}

.footer-billing li strong {
    color: var(--text-color);
    margin-right: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem 0;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Vypnutie pohybu pre citlivých používateľov */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .grain,
    .scroll-cue {
        display: none;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .title {
        font-size: 5rem;
    }
    .hero-inner {
        gap: 2rem;
    }
}

@media (max-width: 900px) {
    .hero-inner, .about-grid {
        flex-direction: column;
        text-align: center;
        margin-top: 2rem;
        gap: 3rem;
    }

    .about-text h2 {
        text-align: center !important;
    }
    
    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .description, .about-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .stat-card:hover {
        transform: translateY(-5px);
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .image-wrapper {
        max-width: 400px;
    }

    .title {
        font-size: 4.5rem;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .footer-brand p {
        margin: 0 auto;
    }

    .footer-billing h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-socials {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .title {
        font-size: 3.5rem;
    }
    
    .description {
        font-size: 1.1rem;
    }

    .nav-links {
        gap: 1.5rem;
    }
    
    .nav-links a {
        font-size: 0.95rem;
    }
    
    .btn-outline {
        padding: 0.5rem 1.2rem;
    }

    .section-title {
        font-size: 2.8rem;
    }
    
    .about, .services, .contact {
        padding: 6rem 0;
    }

    .hero {
        padding-top: 110px;
        padding-bottom: 20px;
    }
    
    .contact-box {
        padding: 4rem 1.5rem;
    }

    .contact-box h2 {
        font-size: 2.8rem;
    }
    
    .service-card {
        width: 330px;
        padding: 2.5rem;
    }
}

@media (max-width: 550px) {
    /* Mobilné menu: odkazy sa presunú do prekrytia, otvára ich hamburger */
    .nav-toggle {
        display: flex;
    }

    /* Panel je absolute pod navbarom, NIE fixed:
       .navbar má backdrop-filter, čím sa stáva containing blockom pre
       fixed potomkov - "inset: 0" by sa vzťahovalo na lištu, nie na obrazovku. */
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        height: calc(100vh - 100%);
        flex-direction: column;
        justify-content: center;
        gap: 2.5rem;
        background: var(--bg-color);
        border-bottom: 1px solid var(--card-border);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-12px);
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    }

    body.nav-open .nav-links {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    body.nav-open {
        overflow: hidden;
    }

    .nav-links a {
        font-size: 1.6rem;
        font-weight: 600;
    }

    .nav-links .btn-outline {
        padding: 0.8rem 2.4rem;
    }

    .scroll-cue {
        display: none;
    }

    .title {
        font-size: 2.8rem;
        letter-spacing: -1px;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    .hero-buttons, .contact-details {
        flex-direction: column;
        align-items: center;
        gap: 1.2rem;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .image-wrapper {
        max-width: 100%;
        padding: 0 1rem;
    }

    .section-title {
        font-size: 2.2rem;
        margin-bottom: 2.5rem;
    }
    
    .service-card {
        width: 280px;
        padding: 2rem;
    }
    
    .service-icon {
        font-size: 2.5rem;
    }
    
    .contact-box h2 {
        font-size: 2.2rem;
    }

    .contact-item {
        font-size: 1.05rem;
    }
    
    .social-links-contact {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        width: 100%;
    }
    
    .social-icon {
        width: 100%;
        text-align: center;
        padding: 0.8rem 1rem;
        font-size: 1rem;
    }

    .marquee-track span {
        font-size: 1.1rem;
    }
}
