/* ==========================================================================
   DUBNET CZ - HLAVNÍ DESIGN SYSTÉM (Vanilla CSS)
   ========================================================================== */

/* 1. Reset & Proměnné */
:root {
    --primary-color: #020381;
    --primary-dark: #010250;
    --secondary-color: #2874fc;
    --accent-color: #ab1dfe;
    
    --text-main: #1e293b;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-light-blue: #f1f5f9;
    --bg-gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --bg-accent-gradient: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    
    --border-color: #e2e8f0;
    --card-shadow: 0 10px 30px -10px rgba(2, 3, 129, 0.08);
    --hover-shadow: 0 20px 40px -15px rgba(2, 3, 129, 0.15);
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.4);
    
    --font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Plus Jakarta Sans', 'Inter', sans-serif;
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

/* 2. Typografie */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.25;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition-fast);
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 3. Komponenty a Grid */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.text-center { text-align: center; }

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(40, 116, 252, 0.1);
    color: var(--secondary-color);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 16px;
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Tlačítka */
.btn {
    display: inline-block;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: var(--transition-normal);
}

.btn-primary {
    background: var(--bg-gradient);
    color: var(--bg-white);
    box-shadow: 0 4px 15px rgba(2, 3, 129, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(2, 3, 129, 0.3);
}

.btn-cta {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--secondary-color);
    color: var(--bg-white);
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(40, 116, 252, 0.15);
}

.btn-cta:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
    transform: translateY(-1px);
}

/* 4. Hlavička (Header & Menu) */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-normal);
}

.site-header.scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

/* Navigace */
.site-navigation {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: var(--text-main);
    font-weight: 500;
    font-size: 15px;
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
    color: var(--secondary-color);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Jazykový přepínač */
.lang-switcher {
    position: relative;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
}

.active-lang {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 50px;
    background-color: rgba(40, 116, 252, 0.04);
    border: 1px solid rgba(40, 116, 252, 0.1);
    transition: var(--transition-fast);
}

.active-lang:hover {
    background-color: rgba(40, 116, 252, 0.08);
    border-color: rgba(40, 116, 252, 0.2);
}

.active-lang .flag {
    display: inline-flex;
    align-items: center;
    width: 20px;
    height: 13px;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.active-lang .flag svg {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.active-lang .arrow {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid var(--text-main);
    margin-left: 2px;
    transition: var(--transition-fast);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(40, 116, 252, 0.1);
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(2, 3, 129, 0.1);
    display: flex;
    flex-direction: column;
    min-width: 150px;
    padding: 6px;
    z-index: 1001;
    
    /* Animovaný přechod */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.25, 0.8, 0.25, 1), visibility 0.25s;
    pointer-events: none;
}

.lang-dropdown::before {
    content: '';
    position: absolute;
    top: -16px;
    left: 0;
    right: 0;
    height: 16px;
    background-color: rgba(0, 0, 0, 0); /* hit-testing enabled */
    pointer-events: auto;
}

.lang-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: var(--text-main);
    border-radius: 10px;
    font-weight: 500;
    transition: var(--transition-fast);
}

.lang-dropdown .flag {
    display: inline-flex;
    align-items: center;
    width: 18px;
    height: 12px;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

.lang-dropdown .flag svg {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lang-dropdown a:hover {
    background-color: rgba(40, 116, 252, 0.08);
    color: var(--secondary-color);
}

.lang-dropdown a.active {
    background-color: rgba(40, 116, 252, 0.12);
    color: var(--primary-color);
    font-weight: 600;
}

.lang-switcher:hover .lang-dropdown,
.lang-switcher.open .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.lang-switcher:hover .active-lang .arrow,
.lang-switcher.open .active-lang .arrow {
    transform: rotate(180deg);
}

/* Mobilní navigace */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-dark);
    transition: var(--transition-fast);
}

/* 5. Hero Sekce */
.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(2,3,129,0.04) 0%, rgba(40,116,252,0.04) 100%);
    padding-top: 120px;
    text-align: center;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--secondary-color) 0.5px, transparent 0.5px), radial-gradient(var(--secondary-color) 0.5px, var(--bg-white) 0.5px);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
    opacity: 0.03;
}

.hero-tech-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-tech-bg svg {
    width: 100%;
    height: 100%;
}

.pulse-node {
    animation: pulseNode 3s infinite ease-in-out;
    transform-origin: center;
}

@keyframes pulseNode {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.5);
        opacity: 1;
        fill: var(--secondary-color);
    }
}

.hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.hero-title {
    font-size: 58px;
    font-weight: 800;
    max-width: 800px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-muted);
    max-width: 600px;
}

.btn-hero {
    padding: 16px 36px;
    font-size: 18px;
}

.hero-waves {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 1;
}

.hero-waves svg {
    width: 100%;
    height: 100%;
}

/* 6. Služby Sekce */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 30px;
    transition: var(--transition-normal);
    box-shadow: var(--card-shadow);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
    border-color: rgba(40, 116, 252, 0.2);
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--bg-white);
}

.icon-design { background: var(--bg-accent-gradient); }
.icon-dev { background: var(--bg-gradient); }
.icon-marketing { background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%); }

.service-icon svg {
    width: 32px;
    height: 32px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 16px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 15px;
}

/* 7. O nás / Proč vybrat */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.about-badges {
    display: flex;
    gap: 24px;
}

.about-badge {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 16px 24px;
    border-radius: 12px;
    text-align: center;
    flex: 1;
}

.badge-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--secondary-color);
}

.badge-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.about-graphic {
    position: relative;
    height: 400px;
    background: radial-gradient(circle, rgba(40, 116, 252, 0.1) 0%, transparent 70%);
}

.floating-card {
    position: absolute;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    box-shadow: var(--hover-shadow);
    padding: 20px 24px;
    border-radius: 16px;
    width: 260px;
    transition: var(--transition-normal);
}

.floating-card h4 {
    color: var(--primary-color);
    margin-bottom: 6px;
    font-size: 16px;
}

.floating-card p {
    font-size: 13px;
    color: var(--text-muted);
}

.floating-card.c1 { top: 20%; left: 10%; animation: float-slow 6s ease-in-out infinite; }
.floating-card.c2 { top: 50%; right: 5%; animation: float-slow 6s ease-in-out infinite 2s; }
.floating-card.c3 { top: 75%; left: 20%; animation: float-slow 6s ease-in-out infinite 4s; }

/* 8. Sportovní aplikace */
.sport-apps-section {
    background-color: var(--bg-light);
}

.sport-apps-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.sport-apps-text {
    font-size: 18px;
    color: var(--text-muted);
}

.tabidoo-showcase {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    box-shadow: var(--hover-shadow);
    overflow: hidden;
}

.t-header {
    background: var(--bg-gradient);
    color: var(--bg-white);
    padding: 16px 24px;
    font-family: var(--font-heading);
    font-weight: 600;
}

.t-body {
    padding: 24px;
}

.t-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.t-row:last-child { border-bottom: none; }

.status-active {
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    background-color: rgba(40, 116, 252, 0.1);
    color: var(--secondary-color);
    border-radius: 50px;
}

/* 9. Portfolio a Modály */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.portfolio-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px 28px;
    cursor: pointer;
    box-shadow: var(--card-shadow);
    transition: var(--transition-normal);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.portfolio-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 20px;
    gap: 12px;
}

.portfolio-metric {
    display: inline-block;
    background: linear-gradient(135deg, rgba(40, 116, 252, 0.08) 0%, rgba(171, 29, 254, 0.09) 100%);
    color: var(--secondary-color);
    border: 1px solid rgba(40, 116, 252, 0.2);
    border-radius: 20px;
    padding: 5px 13px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    text-align: right;
    white-space: nowrap;
    flex-shrink: 0;
    max-width: 160px;
    transition: var(--transition-fast);
}

.portfolio-card:hover .portfolio-metric {
    background: linear-gradient(135deg, rgba(40, 116, 252, 0.14) 0%, rgba(171, 29, 254, 0.14) 100%);
    border-color: rgba(40, 116, 252, 0.35);
    color: var(--primary-color);
}

.portfolio-cat {
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin-bottom: 12px !important;
}

.portfolio-teaser {
    flex: 1;
    font-size: 14.5px !important;
    line-height: 1.65 !important;
    color: var(--text-muted);
    margin-bottom: 20px !important;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
    border-color: rgba(40, 116, 252, 0.2);
}

.portfolio-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--bg-white);
    transition: transform var(--transition-normal);
}

.portfolio-icon svg {
    width: 32px;
    height: 32px;
}

.portfolio-card:hover .portfolio-icon {
    transform: scale(1.1);
}

.portfolio-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--text-dark);
    transition: var(--transition-fast);
}

.portfolio-card:hover h3 {
    color: var(--secondary-color);
}

.portfolio-card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.project-more-btn {
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition-fast);
}

.portfolio-card:hover .project-more-btn {
    transform: translateX(4px);
    color: var(--primary-color);
}

/* Modály (SEO friendly) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(2, 3, 129, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-box {
    background-color: var(--bg-white);
    border-radius: 24px;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    box-shadow: 0 30px 60px -15px rgba(2, 3, 129, 0.25);
    position: relative;
    transform: scale(0.9);
    transition: transform var(--transition-normal);
    display: flex;
    overflow: hidden;
    flex-direction: row;
}

.modal-overlay.active .modal-box {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 32px;
    border: none;
    background: transparent;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition-fast);
    z-index: 10;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: var(--text-dark);
    transform: rotate(90deg);
}

.modal-col-img {
    width: 45%;
    position: relative;
    background-color: var(--bg-light-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.modal-col-icon-container {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-col-icon-container svg {
    width: 80px;
    height: 80px;
    stroke-width: 1.5px;
}

.modal-col-content {
    width: 55%;
    padding: 40px 40px 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.modal-header {
    margin-bottom: 16px;
    flex-shrink: 0;
}

.modal-header .project-category {
    font-size: 13px;
    font-weight: 500;
    text-transform: none;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.modal-header h2 {
    font-size: 30px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
}

.modal-body {
    flex: 1;
    overflow-y: auto;
    padding-right: 6px;
    padding-bottom: 8px;
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--text-main);
    scrollbar-width: thin;
    scrollbar-color: var(--border-color) transparent;
}

.modal-body::-webkit-scrollbar { width: 4px; }
.modal-body::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 2px; }

.modal-body h3 {
    font-size: 12px;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 18px 0 8px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.modal-body p { font-size: 14.5px; margin-bottom: 10px; }

.modal-body ul {
    list-style: none;
    padding: 0;
    margin: 0 0 12px;
}

.modal-body li {
    font-size: 13.5px;
    color: var(--text-muted);
    margin-bottom: 6px;
    line-height: 1.55;
    padding-left: 18px;
    position: relative;
}

.modal-body li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-size: 11px;
    top: 1px;
}

.modal-footer {
    display: flex;
    justify-content: flex-start;
    padding: 16px 0 36px;
    border-top: 1px solid var(--border-color);
    flex-shrink: 0;
    margin-top: 4px;
}

.modal-cta-btn {
    text-align: center;
}

@media (max-width: 768px) {
    .modal-box {
        flex-direction: column;
        max-width: 500px;
    }
    .modal-col-img {
        width: 100%;
        height: 220px;
    }
    .modal-col-content {
        width: 100%;
        padding: 30px 24px;
    }
    .modal-close {
        top: 16px;
        right: 16px;
        background-color: rgba(255, 255, 255, 0.85);
        border-radius: 50%;
        box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    }
}

/* 10. Poptávkový formulář */
.inquiry-section {
    background: linear-gradient(135deg, rgba(2,3,129,0.03) 0%, rgba(40,116,252,0.03) 100%);
}

.inquiry-box {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    box-shadow: var(--hover-shadow);
    border-radius: 24px;
    padding: 60px 48px;
    max-width: 800px;
    margin: 0 auto;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

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

.form-group label {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-dark);
}

.form-group input, .form-group textarea {
    font-family: var(--font-body);
    font-size: 15px;
    padding: 14px 18px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-light);
    border-radius: 10px;
    transition: var(--transition-fast);
    color: var(--text-dark);
    width: 100%;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(40, 116, 252, 0.1);
}

.required {
    color: red;
}

/* Status zpráv */
.form-status {
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    margin-bottom: 24px;
    display: none;
    padding: 14px;
    text-align: center;
}

.form-status.success {
    display: block;
    background-color: rgba(46, 204, 113, 0.1);
    color: #27ae60;
    border: 1px solid rgba(46, 204, 113, 0.2);
}

.form-status.error {
    display: block;
    background-color: rgba(231, 76, 60, 0.1);
    color: #c0392b;
    border: 1px solid rgba(231, 76, 60, 0.2);
}

/* Animovaný submit a loader */
.btn-submit {
    position: relative;
    min-width: 200px;
}

.btn-submit.loading .btn-text {
    visibility: hidden;
    opacity: 0;
}

.btn-submit .btn-loader {
    position: absolute;
    width: 20px;
    height: 20px;
    top: calc(50% - 10px);
    left: calc(50% - 10px);
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s ease-in-out infinite;
    display: none;
}

.btn-submit.loading .btn-loader {
    display: block;
}

/* 11. Kontakty a Patička */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: stretch;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-details {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(40, 116, 252, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.contact-icon svg {
    width: 22px;
    height: 22px;
}

.contact-text h5 {
    font-size: 16px;
    margin-bottom: 6px;
}

.contact-text p, .contact-text a {
    font-size: 15px;
    color: var(--text-muted);
}

.contact-text a:hover {
    color: var(--secondary-color);
}

.contact-map-panel {
    height: 400px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
}

/* Patička */
.site-footer {
    background-color: var(--text-dark);
    color: #94a3b8;
    padding: 52px 0 28px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-logo {
    height: 36px;
    width: auto;
    margin-bottom: 20px;
    filter: brightness(0) invert(1); /* Převod loga do bílé verze pro patičku */
}

.footer-tagline {
    font-size: 14px;
}

.footer-links-section h4, .footer-contact-section h4 {
    color: var(--bg-white);
    font-size: 16px;
    margin-bottom: 24px;
}

.footer-links-section ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-section a {
    color: #94a3b8;
    font-size: 14px;
}

.footer-links-section a:hover {
    color: var(--bg-white);
    padding-left: 4px;
}

.footer-contact-section p {
    font-size: 14px;
    margin-bottom: 12px;
}

.footer-contact-section a {
    color: #94a3b8;
}

.footer-contact-section a:hover {
    color: var(--bg-white);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: 36px;
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
}

.footer-bottom strong {
    color: var(--bg-white);
}

/* 12. Responsivita (Média Dotazy) */
@media (max-width: 992px) {
    .services-grid, .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-container, .sport-apps-container, .contact-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }

    .footer-contact-section {
        grid-column: span 1;
    }
    
    .hero-title {
        font-size: 44px;
    }
}

@media (max-width: 768px) {
    .header-container {
        height: 70px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Mobilní Menu */
    .site-navigation {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--bg-white);
        padding: 40px 24px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        display: none;
        justify-content: center;
        align-items: flex-start;
        z-index: 999;
    }
    
    .site-navigation.active {
        display: flex;
    }
    
    .nav-menu {
        flex-direction: column;
        width: 100%;
        gap: 24px;
        text-align: center;
    }
    
    .nav-link {
        font-size: 18px;
    }
    
    .nav-cta {
        width: 100%;
        margin-top: 16px;
    }
    
    .nav-cta .btn-cta {
        width: 100%;
        text-align: center;
        padding: 14px;
    }
    
    .services-grid, .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .about-badges {
        flex-direction: column;
        gap: 16px;
    }
    
    .inquiry-box {
        padding: 30px 20px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-contact-section {
        grid-column: span 1;
    }
    
    /* Hamburger menu animace */
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

/* ==========================================================================
   COOKIE CONSENT LIŠTA - STYLOVÁNÍ
   ========================================================================== */
.cookie-bar {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    color: #f8fafc;
    padding: 24px;
    animation: cookieSlideUp 0.5s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

@keyframes cookieSlideUp {
    from {
        transform: translateY(100px) scale(0.95);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.cookie-bar-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.cookie-main-content {
    flex: 1;
}

.cookie-main-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

.cookie-main-content p {
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.5;
}

.cookie-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* Tlačítka cookie lišty */
.btn-cookie-primary,
.btn-cookie-secondary,
.btn-cookie-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
    text-align: center;
}

.btn-cookie-primary {
    background: var(--bg-accent-gradient);
    color: #fff;
    box-shadow: 0 4px 12px rgba(40, 116, 252, 0.25);
}
.btn-cookie-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(40, 116, 252, 0.4);
}

.btn-cookie-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.btn-cookie-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

.btn-cookie-link {
    background: transparent;
    color: #94a3b8;
    text-decoration: underline;
    padding: 10px 12px;
}
.btn-cookie-link:hover {
    color: #fff;
}

/* Detailní nastavení */
.cookie-preferences {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    animation: cookieFadeIn 0.3s ease forwards;
}

@keyframes cookieFadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.preference-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 14px 18px;
    border-radius: 10px;
    gap: 20px;
}

.preference-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.preference-title {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.preference-desc {
    font-size: 12px;
    color: #64748b;
    line-height: 1.4;
}

.preferences-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 4px;
}

/* Přepínače (Switch iOS style) */
.switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: .3s;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: #fff;
    transition: .3s;
    border-radius: 50%;
}

input:checked + .slider {
    background: var(--bg-accent-gradient);
}

input:focus + .slider {
    box-shadow: 0 0 1px #2874fc;
}

input:checked + .slider:before {
    transform: translateX(20px);
}

input:disabled + .slider {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Mobilní responzivita */
@media (max-width: 768px) {
    .cookie-bar {
        bottom: 12px;
        left: 12px;
        right: 12px;
        padding: 16px;
    }
    
    .cookie-content-wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    
    .cookie-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    
    .btn-cookie-primary,
    .btn-cookie-secondary {
        width: 100%;
        padding: 12px;
    }
    
    .btn-cookie-link {
        order: 3;
    }
    
    .preference-item {
        flex-direction: row;
        align-items: center;
        padding: 12px;
    }
}

/* ==========================================================================
   STATS STRIP
   ========================================================================== */

.stats-strip {
    background: var(--bg-gradient);
    padding: 48px 0;
}

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

.stat-item {
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 13.5px;
    font-weight: 500;
    opacity: 0.82;
    max-width: 140px;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 16px;
    }

    .stat-num {
        font-size: 38px;
    }
}

/* ==========================================================================
   PROCESS SECTION
   ========================================================================== */

.process-section {
    background: var(--bg-white);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 64px;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 27px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    z-index: 0;
}

.process-step {
    text-align: center;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.step-num-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.step-num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--bg-gradient);
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(2, 3, 129, 0.25);
}

.process-step h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.process-step p {
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.65;
}

@media (max-width: 768px) {
    .process-steps {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-top: 48px;
    }

    .process-steps::before {
        display: none;
    }

    .process-step {
        display: grid;
        grid-template-columns: 56px 1fr;
        grid-template-rows: auto auto;
        column-gap: 20px;
        text-align: left;
    }

    .step-num-wrap {
        grid-row: 1 / 3;
        align-self: start;
        margin-bottom: 0;
    }

    .process-step h3 {
        align-self: end;
        margin-bottom: 4px;
    }

    .process-step p {
        grid-column: 2;
    }
}

/* ==========================================================================
   TECH STACK SECTION
   ========================================================================== */

.tech-section {
    background: var(--bg-light);
    padding: 80px 0;
}

.tech-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 48px;
}

.tech-badge {
    display: inline-flex;
    align-items: center;
    padding: 10px 22px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition-normal);
    box-shadow: var(--card-shadow);
    cursor: default;
}

.tech-badge:hover {
    border-color: rgba(40, 116, 252, 0.3);
    box-shadow: var(--hover-shadow);
    transform: translateY(-2px);
    color: var(--secondary-color);
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */

.testimonials-section {
    background: var(--bg-white);
}

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

.testimonial-card {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    transition: var(--transition-normal);
}

.testimonial-card:hover {
    box-shadow: var(--hover-shadow);
    transform: translateY(-4px);
    border-color: rgba(40, 116, 252, 0.15);
}

.testimonial-stars {
    display: flex;
    gap: 3px;
    color: #f59e0b;
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.75;
    color: var(--text-muted);
    flex: 1;
    position: relative;
    padding-top: 8px;
}

.testimonial-text::before {
    content: '"';
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 56px;
    color: var(--secondary-color);
    opacity: 0.15;
    position: absolute;
    top: -16px;
    left: -6px;
    line-height: 1;
    pointer-events: none;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding-top: 8px;
    border-top: 1px solid var(--border-color);
}

.testimonial-author strong {
    font-size: 14.5px;
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-weight: 700;
}

.testimonial-author span {
    font-size: 13px;
    color: var(--text-muted);
}

@media (max-width: 900px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ==========================================================================
   STICKY CTA (mobile)
   ========================================================================== */

.sticky-cta-btn {
    display: none;
    position: fixed;
    bottom: 24px;
    right: 20px;
    z-index: 900;
    background: var(--bg-gradient);
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    padding: 14px 24px;
    border-radius: 50px;
    box-shadow: 0 8px 28px rgba(2, 3, 129, 0.32);
    text-decoration: none;
    transform: translateY(80px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.35s ease;
    pointer-events: none;
}

.sticky-cta-btn.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.sticky-cta-btn:hover {
    color: #ffffff;
    box-shadow: 0 12px 32px rgba(2, 3, 129, 0.42);
}

@media (max-width: 768px) {
    .sticky-cta-btn {
        display: block;
    }
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */

.faq-section {
    background-color: var(--bg-light);
}

.faq-accordion {
    max-width: 800px;
    margin: 60px auto 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.faq-item:hover {
    box-shadow: var(--hover-shadow);
    border-color: rgba(40, 116, 252, 0.2);
}

.faq-item.is-open {
    box-shadow: var(--card-shadow);
    border-color: rgba(40, 116, 252, 0.25);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 22px 28px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--secondary-color);
}

.faq-item.is-open .faq-question {
    color: var(--secondary-color);
}

.faq-chevron {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    transition: transform var(--transition-normal), color var(--transition-fast);
}

.faq-item.is-open .faq-chevron {
    transform: rotate(180deg);
    color: var(--secondary-color);
}

.faq-answer {
    padding: 0 28px 22px;
    color: var(--text-muted);
    font-size: 15.5px;
    line-height: 1.75;
    animation: faqFadeIn 0.25s ease forwards;
}

@keyframes faqFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .faq-accordion {
        margin-top: 40px;
    }

    .faq-question {
        padding: 18px 20px;
        font-size: 15px;
    }

    .faq-answer {
        padding: 0 20px 18px;
        font-size: 14.5px;
    }
}

/* ============================================================
   BACK LINK (sdílený styl pro všechny podstránky)
   ============================================================ */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--secondary-color);
    text-decoration: none;
    margin-bottom: 24px;
    transition: opacity var(--transition-fast);
}
.back-link:hover { opacity: 0.75; }
.back-link-light { color: rgba(255,255,255,0.85); }
.back-link-light:hover { color: #fff; opacity: 1; }

/* ============================================================
   WHATSAPP PLOVOUCÍ TLAČÍTKO
   ============================================================ */
.whatsapp-fab {
    position: fixed;
    bottom: 88px;
    right: 24px;
    z-index: 900;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37,211,102,0.45);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.whatsapp-fab:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(37,211,102,0.55);
}
.whatsapp-fab svg { width: 28px; height: 28px; }

/* ============================================================
   SERVICE DETAIL STRÁNKY
   ============================================================ */
.service-hero-section {
    padding: 100px 0 80px;
    color: #fff;
}
.service-hero-container {
    display: flex;
    align-items: center;
    gap: 48px;
}
.service-hero-icon {
    flex-shrink: 0;
    width: 88px;
    height: 88px;
    background: rgba(255,255,255,0.15);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.service-hero-icon svg {
    width: 44px;
    height: 44px;
    color: #fff;
}
.service-hero-text h1 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}
.service-hero-text p {
    font-size: 17px;
    color: rgba(255,255,255,0.85);
    max-width: 560px;
    line-height: 1.65;
}

.service-benefits-section { background: var(--bg-light); }
.service-benefits-container {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 60px;
    align-items: start;
}
.service-benefits-content h2 { margin-bottom: 32px; }
.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 16px;
    color: var(--text-dark);
}
.benefit-check {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}
.benefit-check svg {
    width: 14px;
    height: 14px;
    color: #fff;
}
.service-tech-sidebar {}
.tech-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.tech-card h3 {
    width: 100%;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.service-cta-section {}
.service-cta-box {
    background: var(--bg-accent-gradient);
    border-radius: 20px;
    padding: 56px 48px;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}
.service-cta-box h2 {
    font-size: clamp(24px, 3vw, 34px);
    margin-bottom: 14px;
}
.service-cta-box p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 28px;
}

@media (max-width: 900px) {
    .service-hero-container { flex-direction: column; gap: 28px; }
    .service-benefits-container { grid-template-columns: 1fr; gap: 40px; }
    .service-cta-box { padding: 40px 24px; }
}

/* ============================================================
   BLOG VÝPIS
   ============================================================ */
.blog-listing-section { background: var(--bg-light); }
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}
.blog-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}
.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow);
}
.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
.blog-category {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--secondary-color);
    background: rgba(40,116,252,0.1);
    padding: 3px 10px;
    border-radius: 20px;
}
.blog-date {
    font-size: 13px;
    color: var(--text-muted);
}
.blog-card h2 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}
.blog-card h2 a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color var(--transition-fast);
}
.blog-card h2 a:hover { color: var(--secondary-color); }
.blog-excerpt {
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.65;
    flex: 1;
    margin-bottom: 20px;
    text-align: justify;
}
.blog-read-more {
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary-color);
    text-decoration: none;
    align-self: flex-start;
    transition: gap var(--transition-fast);
}
.blog-read-more:hover { text-decoration: underline; }
.blog-empty { color: var(--text-muted); padding: 60px 0; }

/* ============================================================
   BLOG PŘÍSPĚVEK
   ============================================================ */
.blog-post-section { background: var(--bg-light); }
.blog-post-container { max-width: 800px; margin: 0 auto; }
.blog-post-header {
    padding: 60px 0 40px;
    border-bottom: 1px solid var(--card-border);
    margin-bottom: 48px;
}
.blog-post-header h1 {
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 800;
    margin: 16px 0 12px;
}
.blog-post-lead {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.7;
}
.blog-post-content {
    font-size: 16.5px;
    line-height: 1.85;
    color: var(--text-dark);
}
.blog-post-content h2 { margin: 40px 0 16px; font-size: 24px; }
.blog-post-content h3 { margin: 32px 0 12px; font-size: 20px; }
.blog-post-content p  { margin-bottom: 20px; }
.blog-post-content ul,
.blog-post-content ol { margin: 0 0 20px 24px; }
.blog-post-content li { margin-bottom: 6px; }
.blog-post-content code {
    background: rgba(40,116,252,0.08);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 14px;
}
.blog-post-content pre {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 20px;
    overflow-x: auto;
    margin-bottom: 24px;
}
.blog-post-content pre code { background: none; padding: 0; }
.blog-post-footer {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.blog-post-cta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.blog-post-cta p { margin: 0; color: var(--text-muted); font-size: 15px; }

@media (max-width: 768px) {
    .blog-grid { grid-template-columns: 1fr; }
    .blog-post-footer { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   THANK YOU STRÁNKA
   ============================================================ */
.thankyou-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: var(--bg-light);
}
.thankyou-box {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
    padding: 60px 32px;
}
.thankyou-icon {
    width: 80px;
    height: 80px;
    background: rgba(40,116,252,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
}
.thankyou-icon svg {
    width: 42px;
    height: 42px;
    color: var(--secondary-color);
}
.thankyou-box h1 {
    font-size: clamp(26px, 4vw, 38px);
    margin-bottom: 14px;
}
.thankyou-box > p {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 36px;
}
.thankyou-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.btn-link-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    transition: color var(--transition-fast);
}
.btn-link-phone svg { width: 18px; height: 18px; }
.btn-link-phone:hover { color: var(--secondary-color); }

/* ============================================================
   PRIVACY STRÁNKA
   ============================================================ */
.privacy-section { background: var(--bg-light); }
.privacy-header {
    padding: 60px 0 40px;
    border-bottom: 1px solid var(--card-border);
    margin-bottom: 48px;
    max-width: 800px;
}
.privacy-header h1 {
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 800;
    margin-bottom: 8px;
}
.privacy-updated {
    font-size: 14px;
    color: var(--text-muted);
}
.privacy-content {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    gap: 36px;
    padding-bottom: 80px;
}
.privacy-block h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}
.privacy-block p {
    font-size: 15.5px;
    color: var(--text-muted);
    line-height: 1.8;
}
.privacy-block p a {
    color: var(--secondary-color);
    text-decoration: underline;
}

