/* ==========================================================================
   APPLE + PROSIGHT DESIGN SYSTEM — DAVID HABINA
   ========================================================================== */

:root {
    /* Tmavé Apple Pro / Obsidian odtiene */
    --bg-obsidian: #060709;
    --bg-dark-card: #0e1015;
    --bg-dark-surface: #14171f;

    /* Svetlé Apple & PROSIGHT odtiene */
    --bg-apple-light: #f5f5f7;
    --bg-pure-white: #ffffff;
    --text-ink: #1d1d1f;
    --text-slate: #6e6e73;
    --border-light: rgba(0, 0, 0, 0.06);
    --border-dark: rgba(255, 255, 255, 0.1);

    /* Značkové & PROSIGHT produktové akcenty */
    --accent-gold: #c59b5f;
    --accent-gold-hover: #b3894c;
    --accent-gold-soft: rgba(197, 155, 95, 0.14);

    --prosight-blue: #0066cc;
    --prosight-blue-soft: rgba(0, 102, 204, 0.1);
    --prosight-emerald: #059669;
    --prosight-emerald-soft: rgba(5, 150, 105, 0.1);
    --prosight-amber: #d97706;
    --prosight-amber-soft: rgba(217, 119, 6, 0.1);
    --prosight-indigo: #4f46e5;
    --prosight-indigo-soft: rgba(79, 70, 229, 0.1);

    /* Typografia & Rozmery */
    --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 14px;
    --radius-pill: 9999px;

    --shadow-bento: 0 4px 24px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.03);
    --shadow-bento-hover: 0 20px 40px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
    --transition-apple: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
    background-color: var(--bg-obsidian);
    color: var(--text-ink);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.menu-open {
    overflow: hidden;
}

h1, h2, h3, h4, .center-logo, .stat-number, .stat-suffix {
    font-family: var(--font-display);
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   PLÁVAJÚCA APPLE SKLENENÁ NAVIGÁCIA
   ========================================================================== */
.navbar-wrapper {
    position: fixed;
    top: 16px;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0 20px;
    pointer-events: none;
}

.navbar {
    max-width: 1140px;
    margin: 0 auto;
    padding: 12px 26px;
    background: rgba(12, 14, 19, 0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-pill);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
    pointer-events: auto;
    transition: background var(--transition-apple), border-color var(--transition-apple), box-shadow var(--transition-apple);
}

.navbar.scrolled {
    background: rgba(8, 9, 12, 0.88);
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.split-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
}

.center-logo {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    transition: opacity 0.25s ease;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1001;
}

.logo-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--accent-gold);
    box-shadow: 0 0 10px var(--accent-gold);
}

.center-logo:hover {
    opacity: 0.85;
}

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

.nav-left {
    margin-right: auto;
}

.nav-right {
    margin-left: auto;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.2px;
    transition: color 0.25s ease;
}

.nav-links a:hover {
    color: #ffffff;
}

.nav-cta-pill {
    background: #ffffff;
    color: #060709 !important;
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    font-weight: 600 !important;
    transition: transform 0.25s ease, background-color 0.25s ease !important;
}

.nav-cta-pill:hover {
    background: var(--accent-gold);
    color: #060709 !important;
    transform: translateY(-1px);
}

.mobile-only-link,
.mobile-socials {
    display: none;
}

.hamburger-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 1002;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease;
}

.hamburger-toggle:hover {
    background: rgba(255, 255, 255, 0.16);
}

/* ==========================================================================
   HERO SEKCIA (APPLE KEYNOTE + PROSIGHT EDITORIAL)
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    width: 100%;
    background-color: var(--bg-obsidian);
    background-image: url('davidko.webp');
    background-repeat: no-repeat;
    background-position: 14% 70px;
    background-size: cover;
    display: flex;
    align-items: center;
    padding: 130px 0 90px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(6, 7, 9, 0.08) 0%, rgba(6, 7, 9, 0.35) 42%, rgba(6, 7, 9, 0.92) 68%, #060709 100%),
        linear-gradient(to top, #060709 0%, rgba(6, 7, 9, 0) 24%);
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    margin-left: auto;
    max-width: 560px;
    text-align: left;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 16px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    margin-bottom: 24px;
}

.badge-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-gold);
    box-shadow: 0 0 0 4px rgba(197, 155, 95, 0.25);
}

.mobile-break { display: none; }
.desktop-space { display: inline; }

.hero-title {
    font-size: clamp(3.2rem, 6vw, 5.2rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.02;
    color: #ffffff;
    margin-bottom: 18px;
}

.hero-subtitle {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.3vw, 1.65rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--accent-gold);
    margin-bottom: 16px;
}

.hero-description {
    font-size: 1.02rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 34px;
    max-width: 490px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.btn-apple-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    color: #060709;
    padding: 15px 28px;
    border-radius: var(--radius-pill);
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform var(--transition-apple), background-color var(--transition-apple), box-shadow var(--transition-apple);
}

.btn-apple-primary:hover {
    background: var(--accent-gold);
    color: #060709;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(197, 155, 95, 0.3);
}

.btn-apple-glass {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
    color: #ffffff;
    padding: 15px 26px;
    border-radius: var(--radius-pill);
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    transition: background var(--transition-apple), transform var(--transition-apple);
}

.btn-apple-glass:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.scroll-down {
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 42px;
    border: 1.5px solid rgba(255, 255, 255, 0.28);
    border-radius: var(--radius-pill);
    opacity: 0.75;
    transition: opacity 0.25s ease;
}

.scroll-down:hover {
    opacity: 1;
}

.scroll-mouse {
    width: 4px;
    height: 8px;
    border-radius: 4px;
    background: var(--accent-gold);
    animation: mouseWheel 1.8s infinite;
}

@keyframes mouseWheel {
    0% { transform: translateY(-6px); opacity: 1; }
    100% { transform: translateY(8px); opacity: 0; }
}

/* ==========================================================================
   ŠTATISTIKY (APPLE BENTO METRICS)
   ========================================================================== */
.stats-section {
    background-color: var(--bg-obsidian);
    padding: 20px 0 80px;
}

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

.stat-item {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: transform var(--transition-apple), border-color var(--transition-apple);
}

.stat-item:hover {
    transform: translateY(-4px);
    border-color: rgba(197, 155, 95, 0.45);
}

.stat-number-wrapper {
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
}

.stat-number, .stat-suffix {
    font-size: clamp(2.1rem, 3.2vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #ffffff;
}

.stat-suffix {
    color: var(--accent-gold);
}

.stat-label {
    display: block;
    margin-top: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.62);
}

/* ==========================================================================
   VŠEOBECNÉ SEKCIE (APPLE SVETLÉ & TMAVÉ PLOCHY)
   ========================================================================== */
.section {
    padding: 110px 0;
}

.apple-light-section {
    background-color: var(--bg-apple-light);
    color: var(--text-ink);
}

.apple-white-section {
    background-color: var(--bg-pure-white);
    color: var(--text-ink);
}

.obsidian-section {
    background-color: var(--bg-obsidian);
    color: #ffffff;
}

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

.sub-heading {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--accent-gold-hover);
    margin-bottom: 12px;
}

.obsidian-section .sub-heading {
    color: var(--accent-gold);
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.85rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.12;
    color: var(--text-ink);
}

.light-header h2 {
    color: #ffffff;
}

.section-lead {
    margin-top: 16px;
    font-size: 1.05rem;
    color: var(--text-slate);
    line-height: 1.65;
}

.light-header .section-lead {
    color: rgba(255, 255, 255, 0.68);
}

/* ==========================================================================
   O MNE (APPLE BENTO GRID)
   ========================================================================== */
.about-bento-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 24px;
    align-items: stretch;
}

.bento-card {
    background: var(--bg-pure-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-bento);
    transition: transform var(--transition-apple), box-shadow var(--transition-apple);
}

.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-bento-hover);
}

.bento-main {
    padding: 48px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bento-tag {
    display: inline-flex;
    align-self: flex-start;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    background: var(--accent-gold-soft);
    color: #8c6630;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 22px;
}

.highlight-p {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2.2vw, 1.65rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.38;
    color: var(--text-ink);
    margin-bottom: 20px;
}

.secondary-p {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-slate);
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.feature-item {
    padding: 26px 28px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.feature-icon-wrap {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.feature-icon-wrap.blue {
    background: var(--prosight-blue-soft);
    color: var(--prosight-blue);
}

.feature-icon-wrap.gold {
    background: var(--accent-gold-soft);
    color: #9e7334;
}

.feature-icon-wrap.emerald {
    background: var(--prosight-emerald-soft);
    color: var(--prosight-emerald);
}

.feature-copy h3 {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    color: var(--text-ink);
    margin-bottom: 4px;
}

.feature-copy span {
    display: block;
    font-size: 0.92rem;
    color: var(--text-slate);
    line-height: 1.55;
}

/* ==========================================================================
   SLUŽBY (PROSIGHT MODULÁRNE BENTO KARTY)
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.service-box {
    background-color: var(--bg-apple-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform var(--transition-apple), background-color var(--transition-apple), box-shadow var(--transition-apple);
}

.service-box:hover {
    background-color: var(--bg-pure-white);
    transform: translateY(-6px);
    box-shadow: var(--shadow-bento-hover);
}

.service-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}

.service-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.icon-blue { background: var(--prosight-blue-soft); color: var(--prosight-blue); }
.icon-emerald { background: var(--prosight-emerald-soft); color: var(--prosight-emerald); }
.icon-amber { background: var(--prosight-amber-soft); color: var(--prosight-amber); }
.icon-indigo { background: var(--prosight-indigo-soft); color: var(--prosight-indigo); }

.service-pill {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 13px;
    border-radius: var(--radius-pill);
}

.pill-blue { background: var(--prosight-blue-soft); color: var(--prosight-blue); }
.pill-emerald { background: var(--prosight-emerald-soft); color: var(--prosight-emerald); }
.pill-amber { background: var(--prosight-amber-soft); color: var(--prosight-amber); }
.pill-indigo { background: var(--prosight-indigo-soft); color: var(--prosight-indigo); }

.service-box h3 {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-ink);
    margin-bottom: 12px;
}

.service-box p {
    color: var(--text-slate);
    font-size: 0.96rem;
    line-height: 1.65;
    margin-bottom: 26px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--prosight-blue);
    text-decoration: none;
    transition: gap 0.25s ease;
}

.service-link:hover {
    gap: 11px;
}

/* ==========================================================================
   REFERENCIE (GOOGLE RECENZIE)
   ========================================================================== */
.reviews-card-container {
    background: var(--bg-pure-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 40px 28px 44px;
    box-shadow: var(--shadow-bento);
}

.reviews-widget-wrapper {
    min-height: 150px;
    display: flex;
    justify-content: center;
}

/* Orezanie Elfsight reklamy (Shadow DOM hack) s opravou šípok */
.elfsight-app-5e075a91-74b7-43d5-a9c0-fc958e255fa5 {
    clip-path: inset(-100px -100px 60px -100px) !important;
    margin-bottom: -60px !important;
    width: 100%;
}

.write-review-container {
    text-align: center;
    margin-top: 76px;
    position: relative;
    z-index: 10;
}

.btn-write-review {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--text-ink);
    color: #ffffff;
    padding: 14px 28px;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-pill);
    text-decoration: none;
    transition: transform var(--transition-apple), background-color var(--transition-apple), box-shadow var(--transition-apple);
}

.btn-write-review i {
    color: #fbbc04;
    font-size: 1.05rem;
}

.btn-write-review:hover {
    background-color: var(--prosight-blue);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 102, 204, 0.25);
}

/* ==========================================================================
   BLOG (APPLE NEWSROOM / PROSIGHT INSIGHTS)
   ========================================================================== */
.blog-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    text-align: left;
    max-width: 100%;
    margin-bottom: 44px;
}

.blog-scroll-arrows {
    display: flex;
    gap: 10px;
}

.blog-scroll-arrows button {
    background-color: var(--bg-apple-light);
    border: 1px solid var(--border-light);
    color: var(--text-ink);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: all 0.25s ease;
}

.blog-scroll-arrows button:hover {
    background-color: var(--text-ink);
    color: #ffffff;
    transform: scale(1.05);
}

.blog-grid {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 6px 4px 24px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.blog-grid::-webkit-scrollbar {
    display: none;
}

.blog-card {
    flex: 0 0 365px;
    scroll-snap-align: start;
    background-color: var(--bg-apple-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform var(--transition-apple), background-color var(--transition-apple), box-shadow var(--transition-apple);
}

.blog-card:hover {
    background-color: var(--bg-pure-white);
    transform: translateY(-5px);
    box-shadow: var(--shadow-bento-hover);
}

.blog-image-wrapper {
    width: 100%;
    height: 195px;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: var(--radius-md);
    background-color: #e5e5ea;
}

.blog-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.blog-date {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.74rem;
    color: var(--prosight-blue);
    background: var(--prosight-blue-soft);
    padding: 4px 11px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    letter-spacing: 0.3px;
}

.blog-card h3 {
    font-size: 1.18rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.35;
    color: var(--text-ink);
    margin: 14px 0 10px;
}

.blog-card p {
    color: var(--text-slate);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 22px;
}

.read-more-btn {
    background: none;
    border: none;
    color: var(--text-ink);
    font-size: 0.86rem;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    font-family: var(--font-display);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.25s ease, gap 0.25s ease;
}

.read-more-btn:hover {
    color: var(--prosight-blue);
    gap: 12px;
}

/* ==========================================================================
   MODAL OKNÁ (APPLE FROSTED SHEET)
   ========================================================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(6, 7, 9, 0.65);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 20px;
}

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

.modal-content {
    background-color: var(--bg-pure-white);
    color: var(--text-ink);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-xl);
    max-width: 760px;
    width: 100%;
    max-height: 86vh;
    overflow-y: auto;
    padding: 44px;
    position: relative;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
    transform: translateY(14px) scale(0.98);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bg-apple-light);
    border: none;
    color: var(--text-ink);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}

.modal-close:hover {
    background: #e5e5ea;
    transform: rotate(90deg);
}

.modal-content h2 {
    font-size: clamp(1.45rem, 3vw, 1.9rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 14px 0 22px;
    line-height: 1.25;
    color: var(--text-ink);
}

.modal-body {
    color: #3a3a3c;
    font-size: 0.98rem;
    line-height: 1.8;
}

.modal-body h3 {
    color: var(--text-ink);
    font-size: 1.12rem;
    margin: 24px 0 8px;
}

.modal-body p {
    margin-bottom: 14px;
}

.modal-body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: 16px 0 24px;
    display: block;
}

/* ==========================================================================
   FAQ (APPLE INTERACTIVE ACCORDION)
   ========================================================================== */
.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background-color: var(--bg-pure-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-bento);
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-bento-hover);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 24px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    text-align: left;
    font-family: var(--font-display);
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    color: var(--text-ink);
    cursor: pointer;
}

.faq-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    background: var(--bg-apple-light);
    color: var(--text-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s ease, color 0.25s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    background: var(--text-ink);
    color: #ffffff;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active .faq-answer {
    max-height: 260px;
}

.faq-answer p {
    padding: 0 28px 26px;
    color: var(--text-slate);
    font-size: 0.96rem;
    line-height: 1.7;
}

/* ==========================================================================
   KONTAKT (APPLE PRO OBSIDIAN FINALE)
   ========================================================================== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 0.95fr 1.15fr;
    gap: 32px;
    align-items: stretch;
}

.contact-details-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-xl);
    padding: 42px 36px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-card-badge {
    display: inline-flex;
    align-self: flex-start;
    padding: 5px 13px;
    border-radius: var(--radius-pill);
    background: var(--accent-gold-soft);
    color: var(--accent-gold);
    font-family: var(--font-display);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 18px;
}

.contact-details-card h3 {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin-bottom: 4px;
}

.contact-role {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    margin-bottom: 34px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 36px;
}

.contact-line {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-icon-box {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.09);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.contact-main-text {
    display: block;
    font-weight: 600;
    color: #ffffff;
    font-size: 0.96rem;
}

.contact-sub-text {
    display: block;
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.58);
}

.contact-line a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.98rem;
    transition: color 0.25s ease;
}

.contact-line a:hover {
    color: var(--accent-gold);
}

.socials-label {
    display: block;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.52);
    margin-bottom: 12px;
}

.contact-socials {
    display: flex;
    gap: 12px;
}

.contact-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border-radius: 50%;
    font-size: 1rem;
    transition: all 0.25s ease;
}

.contact-socials a:hover {
    background-color: var(--accent-gold);
    color: #060709;
    border-color: var(--accent-gold);
    transform: translateY(-2px);
}

/* Kontaktný formulár */
.contact-form {
    background: var(--bg-dark-card);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-xl);
    padding: 42px 38px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

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

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

.form-group label {
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.72);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: var(--radius-md);
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.94rem;
    transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    background-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(197, 155, 95, 0.14);
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin-top: 2px;
}

.checkbox-group input {
    width: 17px;
    height: 17px;
    min-width: 17px;
    accent-color: var(--accent-gold);
    cursor: pointer;
}

.checkbox-group label {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.65);
    cursor: pointer;
}

.checkbox-group label a {
    color: var(--accent-gold);
    text-decoration: underline;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #ffffff;
    color: #060709;
    padding: 16px 28px;
    border: none;
    border-radius: var(--radius-pill);
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 6px;
    transition: background-color var(--transition-apple), transform var(--transition-apple), box-shadow var(--transition-apple);
}

.btn-submit:hover {
    background-color: var(--accent-gold);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(197, 155, 95, 0.28);
}

/* ==========================================================================
   PÄTIČKA & COOKIE BANNER
   ========================================================================== */
footer {
    padding: 36px 0 44px;
    background-color: var(--bg-obsidian);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.55);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 18px;
}

.footer-logo {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 2px;
    color: #ffffff;
    font-size: 0.85rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.68);
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-links a:hover {
    color: var(--accent-gold);
}

/* Plávajúci Apple Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 960px;
    background: rgba(16, 18, 24, 0.92);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-lg);
    z-index: 9999;
    transition: bottom 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
}

.cookie-banner.show {
    bottom: 20px;
}

.cookie-content {
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.cookie-content p {
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.55;
    margin: 0;
}

.cookie-content a {
    color: var(--accent-gold);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.btn-cookie-accept,
.btn-cookie-decline {
    padding: 10px 18px;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-cookie-accept {
    background-color: #ffffff;
    color: #060709;
    border: none;
}

.btn-cookie-accept:hover {
    background-color: var(--accent-gold);
}

.btn-cookie-decline {
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.btn-cookie-decline:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   RESPONZIVITA (TABLET & MOBIL)
   ========================================================================== */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-bento-grid {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .navbar-wrapper {
        top: 12px;
        padding: 0 14px;
    }

    .navbar {
        padding: 10px 18px;
    }

    .hamburger-toggle {
        display: flex;
    }

    .center-logo {
        position: static;
        transform: none;
        font-size: 0.88rem;
        letter-spacing: 2px;
    }

    .nav-left {
        display: none;
    }

    .mobile-only-link {
        display: block !important;
    }

    .nav-links {
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100dvh;
        background-color: rgba(6, 7, 9, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 24px;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-12px);
        transition: opacity 0.35s ease, transform 0.35s ease;
        z-index: 1001;
        padding: 40px 20px;
    }

    .nav-links.active {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

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

    .mobile-socials {
        display: flex;
        gap: 20px;
        margin-top: 16px;
    }

    .mobile-socials a {
        width: 46px;
        height: 46px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.08);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--accent-gold);
        font-size: 1.2rem;
    }

    .hero-section {
        align-items: flex-end;
        background-position: 28% 60px;
        padding: 120px 0 80px;
    }

    .hero-overlay {
        background: linear-gradient(to bottom, rgba(6, 7, 9, 0.1) 0%, rgba(6, 7, 9, 0.45) 45%, rgba(6, 7, 9, 0.96) 76%, #060709 100%);
    }

    .hero-content {
        margin: 0 auto;
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 76px 0;
    }

    .blog-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .footer-content,
    .footer-brand {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

@media (max-width: 640px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .bento-main,
    .service-box,
    .contact-details-card,
    .contact-form,
    .modal-content {
        padding: 28px 22px;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 14px;
    }

    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }

    .btn-cookie-accept,
    .btn-cookie-decline {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .mobile-break { display: block; }
    .desktop-space { display: none; }

    .hero-section {
        background-position: 34% 64px;
        background-size: 245%;
    }

    .hero-title {
        font-size: 3.1rem;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .stat-item {
        padding: 24px 14px;
    }

    .blog-card {
        flex: 0 0 305px;
    }
}
