/*
Theme Name: AI Heroes
Theme URI: https://aiheroes.cz
Author: Media Heroes
Author URI: https://mediaheroes.cz
Description: Profesionální WordPress šablona pro AI Heroes — divize Media Heroes zaměřená na integraci AI, školení, automatizaci a konzultace.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ai-heroes
Tags: ai, business, corporate, consulting, light
*/

/* ========================================
   CSS RESET & BASE
   ======================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand Colors */
    --color-red: #cc3333;
    --color-red-dark: #a82a2a;
    --color-red-light: #e85555;
    --color-dark-blue: #0d3e65;
    --color-dark-blue-light: #145a8f;
    --color-light-blue: #afe5ff;
    --color-light-blue-pale: #d9f3ff;
    --color-white: #ffffff;
    --color-gray: #f2f2f2;
    --color-gray-dark: #999999;
    --color-text: #333333;
    --color-text-light: #666666;

    /* Typography */
    --font-primary: RobotoFlex, sans-serif;
    --font-size-base: 16px;
    --font-size-sm: 0.875rem;
    --font-size-md: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.5rem;
    --font-size-2xl: 2rem;
    --font-size-3xl: 2.75rem;
    --font-size-4xl: 3.5rem;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 5rem;
    --space-3xl: 7rem;

    /* Borders & Shadows */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 50%;
    --shadow-sm: 0 2px 8px rgba(13, 62, 101, 0.08);
    --shadow-md: 0 4px 20px rgba(13, 62, 101, 0.12);
    --shadow-lg: 0 8px 40px rgba(13, 62, 101, 0.16);
    --shadow-card: 0 4px 24px rgba(13, 62, 101, 0.1);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

@font-face {
    font-family: RobotoFlex;
    src: url(assets/fonts/RobotoFlex/RobotoFlex.woff2);
    font-display: swap;
    font-style: normal;
}

html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text);
    background-color: var(--color-white);
    line-height: 1.5y;
    overflow-x: hidden;
}

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

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-dark-blue);
    line-height: 1.25;
    font-weight: 750;
    line-height: 1.1;
    text-transform: uppercase;
    font-variation-settings:
        "wght" 750,
        "wdth" 25,
        "opsz" 48;
}

h1 {
    font-size: var(--font-size-4xl);
}
h2 {
    font-size: var(--font-size-3xl);
}
@media (max-width: 576px) {
    h2 {
        font-size: 28px;
    }
}
h3 {
    font-size: var(--font-size-2xl);
    font-variation-settings:
        "wght" 550,
        "wdth" 50,
        "opsz" 48;
}
h4 {
    font-size: var(--font-size-xl);
    font-variation-settings:
        "wght" 550,
        "wdth" 50,
        "opsz" 48;
}

p {
    margin-bottom: var(--space-sm);
}

ul,
ol {
    list-style: none;
}

.page-content ul,
.page-content ol {
    padding-left: 25px;
    margin-bottom: 20px;
}
.page-content ul {
    list-style: disc;
    ul {
        list-style: circle;
    }
}
.page-content ol {
    list-style: decimal;
    ul {
        list-style: disc;
        ul {
            list-style: circle;
        }
    }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
}

.section {
    padding: var(--space-3xl) 0;
}

.section--gray {
    background-color: var(--color-gray);
}

.section--light-blue {
    background-color: var(--color-light-blue-pale);
}

.section--dark {
    background-color: var(--color-dark-blue);
    color: var(--color-white);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
    color: var(--color-white);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-2xl);
}

.section-header h2 {
    margin-bottom: var(--space-sm);
    position: relative;
}

.section-header h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: var(--color-red);
    border-radius: 2px;
    margin: var(--space-sm) auto 0;
}

.section-header p {
    color: var(--color-text-light);
    font-size: var(--font-size-lg);
}

.section--dark .section-header p {
    color: rgba(255, 255, 255, 0.8);
}

.text-center {
    text-align: center;
}
.text-red {
    color: var(--color-red);
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 900;
    font-style: italic;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    line-height: 1;
}

.btn--primary {
    background: var(--color-red);
    color: var(--color-white);
    border-color: var(--color-red);
}

.btn--primary:hover {
    background: var(--color-red-dark);
    border-color: var(--color-red-dark);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(204, 51, 51, 0.35);
}

.btn--outline {
    background: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

.btn--outline:hover {
    background: var(--color-white);
    color: var(--color-dark-blue);
    transform: translateY(-2px);
}

.btn--outline-dark {
    background: transparent;
    color: var(--color-dark-blue);
    border-color: var(--color-dark-blue);
}

.btn--outline-dark:hover {
    background: var(--color-dark-blue);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn--lg {
    padding: 1rem 2.5rem;
    font-size: 16px;
}

/* ========================================
   HEADER / NAVIGATION
   ======================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(13, 62, 101, 0.08);
    transition: all var(--transition-base);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    z-index: 1001;
}

.site-logo .site-logo-svg {
    height: 18px;
    width: auto;
}

/* Navigation */
.main-nav ul {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

@media (max-width: 991px) {
    .main-nav ul {
        gap: var(--space-md);
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .header-cta .btn {
        padding: 13px;
    }

    #menu-hlavni-menu {
        gap: 15px;
    }
}

.main-nav a:not(.btn) {
    font-size: var(--font-size-md);
    font-weight: 500;
    color: var(--color-dark-blue);
    position: relative;
    padding: 0.25rem 0;
    text-transform: uppercase;
    font-variation-settings:
        "wght" 750,
        "wdth" 25,
        "opsz" 48;
}

.main-nav a:not(.btn)::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-red);
    transition: width var(--transition-base);
}

.main-nav a:hover::after,
.main-nav .current-menu-item:not(.not-active) a::after {
    width: 100%;
}

.main-nav .btn {
    margin-top: 1rem;
}

@media (min-width: 992px) {
    .main-nav .btn {
        display: none;
    }
}

.main-nav .menu-item-has-children .menu-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    cursor: pointer;
}

.menu-arrow:last-child {
    display: none !important;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    z-index: 1001;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--color-dark-blue);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 114px 0 64px;
    background: linear-gradient(
        165deg,
        var(--color-white) 0%,
        var(--color-light-blue-pale) 50%,
        var(--color-light-blue) 100%
    );
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(204, 51, 51, 0.08) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    border-radius: 50%;
    pointer-events: none;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(13, 62, 101, 0.08);
    border-radius: var(--radius-lg);
    color: var(--color-dark-blue);
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.hero-badge i {
    color: var(--color-red);
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    margin-bottom: var(--space-md);
    line-height: 1.15;
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 30px;
    }
}

.hero h1 .highlight {
    color: var(--color-red);
    position: relative;
}

.hero p {
    font-size: var(--font-size-lg);
    color: var(--color-text-light);
    max-width: 520px;
    margin-bottom: var(--space-lg);
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(13, 62, 101, 0.12);
}

.hero-stat-item .hero-stat-number {
    font-size: var(--font-size-3xl);
    color: var(--color-red);
    margin-bottom: 0.25rem;
    line-height: 1.25;
    font-weight: 700;
}

.hero-stat-item p {
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
    margin-bottom: 0;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 520px;
}

.hero-image-wrapper img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* Floating cards on hero */
.hero-float-card {
    position: absolute;
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    box-shadow: var(--shadow-card);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: float 4s ease-in-out infinite;
    z-index: 3;
}

.hero-float-card:nth-child(2) {
    top: 10%;
    right: -30px;
    animation-delay: 0.5s;
}

.hero-float-card:nth-child(3) {
    bottom: 15%;
    left: -20px;
    animation-delay: 1.5s;
}

.hero-float-card .icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.hero-float-card .icon--red {
    background: rgba(204, 51, 51, 0.12);
    color: var(--color-red);
}

.hero-float-card .icon--blue {
    background: rgba(13, 62, 101, 0.1);
    color: var(--color-dark-blue);
}

.hero-float-card .label {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-dark-blue);
}

.hero-float-card .sub-label {
    font-size: 0.75rem;
    color: var(--color-text-light);
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

/* ========================================
   SERVICES SECTION - AI TECH / COOL VERZE
   ======================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    align-items: stretch; /* Zarovná výšku všech karet */
}

.service-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: var(--space-xl) var(--space-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(13, 62, 101, 0.08);
    display: flex;
    flex-direction: column;
    z-index: 1;
}

/* 1. Subtilní tech grid/tečky v pozadí karty, objeví se na hover */
.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(13, 62, 101, 0.06) 1px, transparent 1px);
    background-size: 16px 16px;
    opacity: 0;
    z-index: -2;
    transition: opacity var(--transition-slow);
}

/* 2. Ozdobný gradientový glow, který se rozpíná z rohu */
.service-card::after {
    content: "";
    position: absolute;
    bottom: -60px;
    right: -60px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(204, 51, 51, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow:
        0 20px 40px rgba(13, 62, 101, 0.12),
        0 5px 15px rgba(204, 51, 51, 0.05);
    border-color: rgba(204, 51, 51, 0.2);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover::after {
    transform: scale(3.5);
}

/* 3. Ikony: Větší dynamika a vrstvený stín (aura) */
.service-card__icon {
    width: 68px;
    height: 68px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: var(--space-md);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 2;
}

/* Vytvoření aury pod ikonou */
.service-card__icon::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: inherit;
    filter: blur(12px);
    opacity: 0;
    z-index: -1;
    transition: opacity var(--transition-base);
}

.service-card__icon--integration {
    background: rgba(204, 51, 51, 0.1);
    color: var(--color-red);
}
.service-card__icon--training {
    background: rgba(13, 62, 101, 0.1);
    color: var(--color-dark-blue);
}
.service-card__icon--automation {
    background: rgba(175, 229, 255, 0.4);
    color: var(--color-dark-blue);
}
.service-card__icon--consulting {
    background: rgba(204, 51, 51, 0.1);
    color: var(--color-red);
}

/* Fyzikální animace ikony při najetí na kartu */
.service-card:hover .service-card__icon {
    transform: scale(1.15) translateY(-6px) rotate(-4deg);
}

.service-card:hover .service-card__icon::after {
    opacity: 0.85;
}

/* 4. Nadpis: Text se zbarví do brandového gradientu */
.service-card h3 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-xs);
    transition:
        background var(--transition-base),
        color var(--transition-base);
    background-clip: text;
    -webkit-background-clip: text;
    color: var(--color-dark-blue);
    background-image: linear-gradient(135deg, var(--color-dark-blue), var(--color-dark-blue));
}

.service-card:hover h3 {
    background-image: linear-gradient(135deg, var(--color-red), var(--color-dark-blue));
    color: transparent;
}

.service-card p {
    color: var(--color-text-light);
    font-size: var(--font-size-md);
    line-height: 1.7;
    flex-grow: 1; /* Ukotví odkaz dolů */
    margin-bottom: var(--space-lg);
    position: relative;
    z-index: 2;
}

/* 5. Vyladěný odkaz s moderní vykreslovací linkou */
.service-card__link {
    display: inline-flex;
    align-items: center;
    margin-top: auto;
    font-weight: 600;
    font-size: var(--font-size-md);
    color: var(--color-dark-blue);
    transition: all var(--transition-fast);
    position: relative;
    z-index: 2;
    width: fit-content;
}

.service-card__link i {
    margin-left: 0.5rem;
    color: var(--color-red);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-card__link::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-red);
    transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.service-card:hover .service-card__link {
    color: var(--color-red);
}

/* Linka se vykreslí jen pod textem (calc odečte šipku) */
.service-card:hover .service-card__link::after {
    width: calc(100% - 1.5rem);
}

.service-card:hover .service-card__link i {
    transform: translateX(8px);
}

/* ========================================
   TARGET AUDIENCE SECTION
   ======================================== */
.audience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
}

.audience-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(13, 62, 101, 0.06);
    transition: all var(--transition-base);
}

@media (max-width: 576px) {
    .audience-card {
        padding: 20px 15px;
    }
}

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

.audience-card__header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.audience-card__header .icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.audience-card:first-child .icon {
    background: linear-gradient(135deg, var(--color-dark-blue), var(--color-dark-blue-light));
    color: var(--color-white);
}

.audience-card:last-child .icon {
    background: linear-gradient(135deg, var(--color-red), var(--color-red-light));
    color: var(--color-white);
}

.audience-card h3 {
    font-size: var(--font-size-2xl);
}

.audience-card p {
    color: var(--color-text-light);
    margin-bottom: var(--space-md);
}

.audience-benefits {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.audience-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: var(--font-size-md);
    color: var(--color-text);
}

.audience-benefits li i {
    color: var(--color-red);
    margin-top: 4px;
    flex-shrink: 0;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.about-content h2 {
    margin-bottom: var(--space-md);
}

.about-content p {
    color: var(--color-text-light);
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-md);
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    background: var(--color-gray);
}

.about-feature i {
    color: var(--color-red);
    font-size: 1.1rem;
}

.about-feature span {
    font-weight: 600;
    font-size: var(--font-size-sm);
    color: var(--color-dark-blue);
}

.about-visual {
    position: relative;
}

.about-image {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: var(--color-light-blue);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.5;
}

@media (max-width: 576px) {
    .about-accent {
        bottom: -10px;
        right: -10px;
    }
}

/* ========================================
   CTA / CONTACT SECTION
   ======================================== */
.cta-section {
    background: linear-gradient(135deg, var(--color-dark-blue) 0%, #1a5a8a 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(204, 51, 51, 0.15) 0%, transparent 70%);
    top: -150px;
    right: -100px;
    border-radius: 50%;
}

.cta-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
    margin-bottom: 1%;
}

.cta-content h2 {
    color: var(--color-white);
    margin-bottom: var(--space-sm);
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-lg);
}

.cta-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cta-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-features li i {
    color: var(--color-light-blue);
}

/* Contact Form */
.contact-form {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    box-shadow: var(--shadow-lg);
}

@media (max-width: 576px) {
    .contact-form {
        padding: 20px 15px !important;
    }
}

.contact-form h3 {
    margin-bottom: var(--space-md);
    text-align: center;
}

.form-group {
    margin-bottom: var(--space-sm);
}

.form-group label {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-dark-blue);
    margin-bottom: 0.35rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid rgba(13, 62, 101, 0.12);
    border-radius: var(--radius-sm);
    font-family: var(--font-primary);
    font-size: var(--font-size-md);
    color: var(--color-text);
    transition: border-color var(--transition-fast);
    background: var(--color-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-dark-blue);
    box-shadow: 0 0 0 3px rgba(13, 62, 101, 0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
}

.contact-form .btn {
    width: 100%;
    justify-content: center;
    margin-top: var(--space-xs);
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
    background: var(--color-dark-blue);
    color: rgba(255, 255, 255, 0.75);
    padding: var(--space-2xl) 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-xl);
    padding-bottom: var(--space-2xl);
}

.footer-brand .site-logo {
    color: var(--color-white);
    margin-bottom: var(--space-sm);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.65);
    font-size: var(--font-size-sm);
    line-height: 1.8;
    max-width: 300px;
}

.footer-socs {
    display: flex;
    gap: 0.75rem;
    margin-top: var(--space-md);
}

.footer-socs a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    transition: all var(--transition-fast);
}

.footer-socs a:hover {
    background: var(--color-red);
    transform: translateY(-3px);
}

.footer-col h4 {
    color: var(--color-white);
    font-size: var(--font-size-md);
    margin-bottom: var(--space-sm);
    font-weight: 700;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.65);
    font-size: var(--font-size-sm);
    transition: all var(--transition-fast);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--space-md) 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: var(--font-size-sm);
    margin-bottom: 0;
}

.footer-bottom a {
    color: var(--color-red);
}

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

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ========================================
   WORDPRESS DEFAULTS
   ======================================== */
.alignleft {
    float: left;
    margin: 0 1.5rem 1.5rem 0;
}
.alignright {
    float: right;
    margin: 0 0 1.5rem 1.5rem;
}
.aligncenter {
    display: block;
    margin: 0 auto 1.5rem;
}
.wp-caption {
    max-width: 100%;
}
.wp-caption-text {
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
}
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* ========================================
   PAGE / SINGLE / ARCHIVE TEMPLATES
   ======================================== */
.page-content,
.entry-content,
.post-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: var(--space-3xl) var(--space-lg);
}

@media (max-width: 576px) {
    .page-content,
    .entry-content,
    .post-content {
        padding: 32px 15px;
    }
}

.entry-header {
    text-align: center;
    padding: var(--space-3xl) 0 var(--space-lg);
    background: var(--color-gray);
}

.entry-header h1 {
    margin-bottom: var(--space-xs);
}

.entry-meta {
    color: var(--color-text-light);
    font-size: var(--font-size-sm);
}

.post-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    border: 1px solid rgba(13, 62, 101, 0.06);
}

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

.post-card__image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-card__body {
    padding: var(--space-md);
}

.post-card__title {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-xs);
}

.post-card__excerpt {
    color: var(--color-text-light);
    font-size: var(--font-size-sm);
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: var(--space-xl);
}

.pagination a,
.pagination span {
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: var(--font-size-sm);
}

.pagination .current {
    background: var(--color-red);
    color: var(--color-white);
}

/* Sidebar */
.content-sidebar-wrap {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: var(--space-xl);
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-3xl) var(--space-lg);
}

.widget {
    margin-bottom: var(--space-lg);
    padding: var(--space-md);
    background: var(--color-gray);
    border-radius: var(--radius-md);
}

.widget h4 {
    margin-bottom: var(--space-sm);
    padding-bottom: var(--space-xs);
    border-bottom: 2px solid var(--color-red);
}

.widget ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.widget a {
    font-size: var(--font-size-sm);
}

/* 404 */
.error-404 {
    text-align: center;
    padding: var(--space-3xl) var(--space-lg);
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.error-404 h1 {
    font-size: 8rem;
    color: var(--color-red);
    line-height: 1;
    margin-bottom: var(--space-sm);
}

.error-404 p {
    font-size: var(--font-size-lg);
    color: var(--color-text-light);
    margin-bottom: var(--space-lg);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero p {
        max-width: 100%;
    }

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

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

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

    .cta-inner {
        grid-template-columns: 1fr;
    }

    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .content-sidebar-wrap {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991px) {
    :root {
        --font-size-4xl: 2.5rem;
        --font-size-3xl: 2rem;
        --font-size-2xl: 1.5rem;
    }

    .section {
        padding: var(--space-2xl) 0;
    }

    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background: var(--color-white);
        box-shadow: var(--shadow-lg);
        padding: 110px 15px 30px;
        transform: translateY(-150%);
        transition: transform var(--transition-base);
        z-index: 999;
    }

    .main-nav.open {
        transform: translateY(0);
    }

    .main-nav ul {
        flex-direction: column;
        gap: var(--space-sm);
        align-items: flex-start;
    }

    .menu-toggle {
        display: flex;
    }

    .header-cta .btn {
        display: none;
    }

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

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

    .hero-stats {
        flex-direction: column;
        gap: var(--space-sm);
        align-items: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-xs);
        text-align: center;
    }

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

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

@media (max-width: 576px) {
    :root {
        --font-size-4xl: 1.9rem;
        --font-size-3xl: 1.7rem;
        --font-size-2xl: 1.5rem;
    }
}

.wpcf7-spinner {
    display: none !important;
}

.wpcf7-response-output {
    margin: 32px auto 0 !important;
    text-align: center !important;
}

@media (min-width: 2000px) {
    section,
    footer {
        max-width: 100%;
        margin: auto;
        min-height: unset !important;
        max-height: none;
    }
    section#hero {
        padding: 178px 0 128px !important;
    }
}

.grecaptcha-badge {
    visibility: hidden;
}

/* --- ZÁKLAD PRO ROZBALOVACÍ MENU --- */

/* Relativní pozice pro nadřazenou položku (aby submenu vědělo, kde se má zobrazit) */
.main-nav ul li.menu-item-has-children {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 991px) {
    .main-nav ul li.menu-item-has-children {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
}

/* Skrytí submenu ve výchozím stavu */
.main-nav ul .sub-menu {
    display: none;
    position: absolute;
    top: 100%; /* Zobrazí se přesně pod hlavní položkou */
    left: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    background-color: #ffffff; /* Barva pozadí submenu - uprav si dle designu */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    min-width: 220px;
    z-index: 999;
    padding: 0;
    margin: 0;
    list-style: none;
}
@media (max-width: 991px) {
    .main-nav ul .sub-menu {
        position: relative;
        align-items: flex-start;
        top: unset;
        left: unset;
        width: 100%;
        box-shadow: none;
    }
}

/* Zobrazení submenu při najetí myší (hover) */
.main-nav ul li.menu-item-has-children:hover > .sub-menu,
.main-nav ul li.menu-item-has-children > .sub-menu.active {
    display: flex;
}

/* Styl pro samotné odkazy v submenu */
.main-nav ul .sub-menu li {
    display: block;
    width: 100%;
}

.main-nav ul .sub-menu li a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 12px 20px;
    font-weight: 500;
    color: var(--color-dark-blue);
    text-decoration: none;
    transition: background-color 0.3s ease;
}

/* Hover efekt pro odkazy v submenu */
.main-nav ul .sub-menu li a:hover {
    background-color: #f5f5f5; /* Uprav si barvu pro najetí myší */
    color: #000000;
}

@media (max-width: 768px) {
    .main-nav ul .sub-menu li a {
        padding: 12px 0;
    }
    .main-nav ul .sub-menu li {
        width: auto;
    }
    .main-nav ul .sub-menu li a:hover {
        background-color: transparent;
        color: var(--color-dark-blue);
    }
}

/* --- 1. ENERGETICKÝ TEXT --- */
.hero h1 .highlight {
    background: linear-gradient(135deg, var(--color-red) 0%, #ff6b6b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}

/* Jemná záře pod textem pro větší hloubku */
.hero h1 .highlight::after {
    content: "umělou inteligenci";
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    background: transparent;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(204, 51, 51, 0.4);
}

.btn--primary {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn--primary::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    z-index: -1;
}

.btn--primary:hover::before {
    left: 140%;
}

.btn--primary:hover {
    box-shadow: 0 8px 25px rgba(204, 51, 51, 0.4); /* Výraznější záře pod tlačítkem */
}

/* --- 3. KARTY S HRDINSKOU AUROU --- */
.service-card {
    border: 1px solid rgba(13, 62, 101, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    /* Přidáme jemnou modrou a červenou záři místo jen černé */
    box-shadow:
        0 20px 40px rgba(13, 62, 101, 0.12),
        0 0 20px rgba(204, 51, 51, 0.05);
    border-color: rgba(13, 62, 101, 0.2);
}

/* Stejný efekt pro karty publika */
.audience-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 15px 30px rgba(13, 62, 101, 0.12),
        0 0 15px rgba(204, 51, 51, 0.05);
}

/* --- 4. TECH POZADÍ --- */
.hero {
    /* Přidáme přes stávající přechod velmi jemnou mřížku */
    background-image:
        linear-gradient(165deg, rgba(255, 255, 255, 0.9) 0%, rgba(217, 243, 255, 0.9) 100%),
        linear-gradient(rgba(13, 62, 101, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13, 62, 101, 0.03) 1px, transparent 1px);
    background-size:
        100% 100%,
        30px 30px,
        30px 30px;
}

.cta-section {
    position: relative;
}

/* Jemné diagonální čáry v CTA sekci pro pocit rychlosti */
.cta-section::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.02),
        rgba(255, 255, 255, 0.02) 10px,
        transparent 10px,
        transparent 20px
    );
    pointer-events: none;
    z-index: 0;
}

.cta-inner {
    position: relative;
    z-index: 1; /* Udrží obsah nad mřížkou */
}
/* ========================================
   MODERNÍ O NÁS (ČISTÝ LAYOUT)
   ======================================== */

.about-modern-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

/* 1. Úvodní text - Zarovnaný do stran a na celou šířku */
.about-lead {
    padding: 0;
    max-width: 100%;
    margin: 0 0 var(--space-sm) 0;
    text-align: left;
}

.about-lead .lead-text {
    font-size: var(--font-size-xl);
    color: var(--color-dark-blue);
    line-height: 1.6;
}

.about-lead a {
    color: var(--color-dark-blue);
    text-decoration: underline;
    text-decoration-color: var(--color-red);
    text-underline-offset: 4px;
    font-weight: 700;
}

/* 2. Rozložení Text vs Fotky */
.about-core-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

/* Úprava textové části s experty */
.highlight-heading {
    color: var(--color-red);
    margin-bottom: var(--space-md);
    font-size: var(--font-size-xl);
}

.expert-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    border-left: 2px solid rgba(13, 62, 101, 0.1);
    padding-left: var(--space-md);
}

.expert-item {
    font-size: var(--font-size-md);
    color: var(--color-text);
    line-height: 1.6;
}

.expert-item strong {
    color: var(--color-dark-blue);
    font-weight: 700;
}

.synergy-text {
    font-size: var(--font-size-md);
    color: var(--color-dark-blue);
    background: var(--color-light-blue-pale);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    border: 1px solid rgba(13, 62, 101, 0.05);
}

/* 3. Fotky na přeskáčku */
.about-visual-composition {
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
}

.photo-primary {
    position: relative;
    width: 80%; /* Velikost horní fotky */
    align-self: flex-end; /* Vystrčí fotku doprava */
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    z-index: 1;
}

.photo-secondary {
    position: relative;
    width: 75%; /* Velikost spodní fotky */
    align-self: flex-start; /* Vystrčí fotku doleva */
    margin-top: -15%; /* Vytvoří lehký přesah přes horní fotku */
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 6px solid var(--color-white); /* Čistý bílý rámeček oddělí fotky */
    z-index: 2;
}

/* Původní designový flek skryjeme, ať to neruší */
.composition-accent {
    display: none;
}

/* 4. Závěrečný banner */
.about-statement-banner {
    text-align: center;
    padding: var(--space-lg);
    background: linear-gradient(135deg, var(--color-dark-blue) 0%, #1a5a8a 100%);
    border-radius: var(--radius-lg);
    color: var(--color-white);
    box-shadow: var(--shadow-md);
}

.about-statement-banner p {
    font-size: var(--font-size-lg);
    margin: 0;
    line-height: 1.5;
}

.about-statement-banner strong {
    color: var(--color-red-light);
}

/* 5. Vlastnosti dole (Features) */
.about-modern-wrapper .about-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-sm);
    margin-top: 0;
}

/* ========================================
   RESPONZIVITA PRO ČISTÝ LAYOUT
   ======================================== */
@media (max-width: 992px) {
    .about-core-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .about-visual-composition {
        max-width: 600px;
        margin: 0 auto;
    }

    .about-modern-wrapper .about-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .about-lead .lead-text {
        font-size: var(--font-size-lg); /* Zmenšení na mobilu */
    }

    .highlight-heading {
        font-size: var(--font-size-lg);
    }

    .photo-primary {
        width: 90%; /* Na mobilu zaberou víc místa */
    }

    .photo-secondary {
        width: 85%;
        margin-top: -20%; /* Malinko větší přesah na mobilu, ať z fotky něco zbyde */
        border-width: 4px; /* Tenčí rámeček */
    }

    .about-statement-banner p {
        font-size: var(--font-size-md);
    }

    .about-modern-wrapper .about-features {
        grid-template-columns: 1fr; /* Na mobilu pod sebe */
    }
}
/* ========================================
   SERVICE SUBPAGES — nové komponenty
   Přidejte na konec aiheroes-css.css
   ======================================== */

/* ── Compact page hero ─────────────────── */
.sp-hero {
    background: linear-gradient(135deg, var(--color-dark-blue) 0%, #1a5a8a 100%);
    padding: var(--space-2xl) 0;
    position: relative;
    overflow: hidden;
    margin-top: 2%;
}
.sp-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}
.sp-hero::after {
    content: "";
    position: absolute;
    top: -120px;
    right: -120px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(204, 51, 51, 0.1) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}
.sp-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 680px;
}

.sp-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: var(--space-md);
}
.sp-hero h1 {
    color: var(--color-white);
    font-size: clamp(1.9rem, 4vw, 3rem);
    line-height: 1.15;
    margin-bottom: var(--space-sm);
}
.sp-hero h1 em {
    font-style: normal;
    color: #ff8f8f;
}
.sp-hero p {
    color: rgba(255, 255, 255, 0.72);
    font-size: var(--font-size-lg);
    line-height: 1.75;
}

/* ── Lead paragraph ────────────────────── */
.sp-lead {
    font-size: 1.2rem;
    color: var(--color-dark-blue);
    line-height: 1.75;
    border-left: 3px solid var(--color-red);
    padding-left: var(--space-md);
    margin-bottom: var(--space-xl);
}

/* ── Tool showcase ─────────────────────── */
.tool-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}
.tool-showcase-grid--2 {
    grid-template-columns: repeat(2, 1fr);
}
.tool-showcase-grid--6 {
    grid-template-columns: repeat(3, 1fr);
}

.tool-card {
    position: relative;
    overflow: hidden;
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    border: 1px solid rgba(13, 62, 101, 0.09);
    box-shadow: var(--shadow-sm);
    transition:
        box-shadow var(--transition-base),
        transform var(--transition-base);
}
.tool-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.tool-card-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: var(--space-sm);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--color-gray);
}
.tool-badge {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 800;
    flex-shrink: 0;
}
.tool-badge--gpt {
    background: #e8f8f4;
    color: #0f8a6b;
}
.tool-badge--claude {
    background: #f0ebfe;
    color: #7c3aed;
}
.tool-badge--gemini {
    background: #e8f0fe;
    color: #4285f4;
}
.tool-badge--ms {
    background: #e5f2fc;
    color: #0078d4;
}
.tool-badge--local {
    background: var(--color-light-blue-pale);
    color: var(--color-dark-blue);
}
.tool-badge--agent {
    background: #fce8e8;
    color: var(--color-red);
}
.tool-badge--make {
    background: #f2ebfe;
    color: #a259ff;
}
.tool-badge--n8n {
    background: #fdeee9;
    color: #e84323;
}

.tool-card-top h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-dark-blue);
    margin: 0;
}
.tool-card-sub {
    font-size: 0.75rem;
    color: var(--color-gray-dark);
}

.tool-card p {
    font-size: 0.875rem;
    color: var(--color-text-light);
    line-height: 1.65;
    margin-bottom: var(--space-sm);
}

.tag-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.tag-pill {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 9px;
    border-radius: 20px;
    background: var(--color-gray);
    color: var(--color-dark-blue);
    border: 1px solid rgba(13, 62, 101, 0.1);
}

/* ── Feature items ─────────────────────── */
/* Používá se pro "Jak AI zapojíme / Co umíme školit / Co automatizujeme" */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl) var(--space-2xl);
}
.feature-grid--3 {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.feature-item {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
    position: relative;
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    background: var(--color-white);
    transition:
        transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.feature-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}
.feature-icon--red {
    background: rgba(204, 51, 51, 0.1);
    color: var(--color-red);
}
.feature-icon--blue {
    background: rgba(13, 62, 101, 0.08);
    color: var(--color-dark-blue);
}
.feature-icon--lblue {
    background: var(--color-light-blue-pale);
    color: var(--color-dark-blue);
}

.feature-body h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-dark-blue);
    margin-bottom: 6px;
}
.feature-body p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.65;
}

/* ── Process – horizontal numbered ────── */
.sp-process {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    position: relative;
    counter-reset: step;
}
.sp-process::before {
    content: "";
    position: absolute;
    top: 22px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-red), rgba(13, 62, 101, 0.2));
    z-index: 0;
}
.sp-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 var(--space-sm);
    position: relative;
    z-index: 1;
}
.sp-step-num {
    width: 44px;
    height: 44px;
    background: var(--color-dark-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.95rem;
    margin-bottom: var(--space-sm);
    border: 3px solid white;
    box-shadow: 0 0 0 2px var(--color-dark-blue);
}
.sp-step:hover .sp-step-num {
    background: var(--color-red);
    box-shadow: 0 0 0 2px var(--color-red);
}
.sp-step h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-dark-blue);
    margin-bottom: 6px;
}
.sp-step p {
    font-size: 0.8rem;
    color: var(--color-text-light);
    line-height: 1.5;
}

/* ── Check list ────────────────────────── */
.check-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: var(--font-size-md);
    color: var(--color-text);
    line-height: 1.5;
}
.check-list li i {
    color: var(--color-red);
    margin-top: 3px;
    flex-shrink: 0;
}
.check-list--white li {
    color: rgba(255, 255, 255, 0.88);
}
.check-list--white li i {
    color: var(--color-light-blue);
}

/* ── Dark highlight block ──────────────── */
.sp-dark-block {
    background: linear-gradient(135deg, var(--color-dark-blue) 0%, #1a5a8a 100%);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    color: white;
}
.sp-dark-block h3 {
    color: white;
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-sm);
}
.sp-dark-block p {
    color: rgba(255, 255, 255, 0.78);
    font-size: var(--font-size-md);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

/* ── Side split (tmavý blok + karty) ───── */
.sp-side-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}
.sp-side-cards {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.sp-info-card {
    background: white;
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    border: 1px solid rgba(13, 62, 101, 0.08);
    box-shadow: var(--shadow-sm);
}
.sp-info-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-dark-blue);
    margin-bottom: 6px;
}
.sp-info-card p {
    font-size: 0.875rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ── Compare table ─────────────────────── */
.sp-compare-wrap {
    overflow-x: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}
.sp-compare {
    width: 100%;
    border-collapse: collapse;
    background: white;
    font-size: var(--font-size-sm);
}
.sp-compare thead th {
    background: var(--color-dark-blue);
    color: white;
    padding: 14px 20px;
    text-align: left;
    font-size: 0.875rem;
    font-weight: 700;
}
.sp-compare tbody td {
    padding: 12px 20px;
    border-bottom: 1px solid var(--color-gray);
    color: var(--color-text);
    vertical-align: middle;
}
.sp-compare tbody tr:last-child td {
    border-bottom: none;
}
.sp-compare tbody tr:hover td {
    background: #fafafa;
}
.sp-compare td:first-child {
    font-weight: 600;
    color: var(--color-dark-blue);
    white-space: nowrap;
}
.cmp-yes {
    color: #1a7a3a;
    font-weight: 600;
}
.cmp-part {
    color: #b06000;
}

/* ── FAQ ───────────────────────────────── */
.sp-faq {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.sp-faq-item {
    border-bottom: 1px solid var(--color-gray);
    padding: var(--space-md) 0;
}
.sp-faq-item:first-child {
    border-top: 1px solid var(--color-gray);
}
.sp-faq-item h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-dark-blue);
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.sp-faq-item h4::before {
    content: "Q";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    background: var(--color-red);
    color: white;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 800;
    margin-top: 1px;
}
.sp-faq-item p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.7;
    padding-left: 38px;
}

/* ── Section eyebrow ───────────────────── */
.section-eyebrow {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-red);
    margin-bottom: 8px;
}

/* ── Formats – 3 velké bloky pro školení ─ */
.sp-formats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}
.sp-format-block {
    background: white;
    border-radius: var(--radius-md);
    padding: var(--space-xl) var(--space-lg);
    border: 1px solid rgba(13, 62, 101, 0.08);
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--color-dark-blue);
    transition:
        border-top-color var(--transition-fast),
        box-shadow var(--transition-base);
}
.sp-format-block:hover {
    border-top-color: var(--color-red);
    box-shadow: var(--shadow-md);
}
.sp-format-block .format-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    background: var(--color-light-blue-pale);
    color: var(--color-dark-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: var(--space-md);
}
.sp-format-block h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-dark-blue);
    margin-bottom: 8px;
}
.sp-format-block .format-for {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-red);
    margin-bottom: 10px;
}
.sp-format-block p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.65;
}

/* ── Topics grid ────────────────────────── */
.sp-topics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
}
.sp-topic {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: white;
    border-radius: var(--radius-sm);
    padding: var(--space-md);
    border: 1px solid rgba(13, 62, 101, 0.07);
}
.sp-topic:hover {
    background: var(--color-light-blue-pale);
}
.sp-topic-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    background: var(--color-light-blue-pale);
    color: var(--color-dark-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}
.sp-topic h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-dark-blue);
    margin-bottom: 4px;
}
.sp-topic p {
    font-size: 0.8rem;
    color: var(--color-text-light);
    line-height: 1.5;
}

/* ── Responzivita ─────────────────────── */

/* Tablet (≤ 1024px) */
@media (max-width: 1024px) {
    .tool-showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .tool-showcase-grid--6 {
        grid-template-columns: repeat(2, 1fr);
    }
    .sp-process {
        grid-template-columns: repeat(3, 1fr);
        row-gap: var(--space-xl);
    }
    .sp-process::before {
        display: none;
    }
    .sp-formats {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobil (≤ 768px) – sticky navbar je ~60-70px, hero dostane extra padding nahoře */
@media (max-width: 768px) {
    /* Extra prostor pro navbar na mobilu */
    .sp-hero {
        padding: calc(var(--space-xl) + 100px) 0 var(--space-xl);
    }

    /* Gridy na 1 sloupec */
    .tool-showcase-grid,
    .tool-showcase-grid--6 {
        grid-template-columns: 1fr;
    }
    .feature-grid,
    .feature-grid--3 {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    .sp-process {
        grid-template-columns: repeat(2, 1fr);
        row-gap: var(--space-lg);
    }
    .sp-side-split {
        grid-template-columns: 1fr;
    }
    .sp-formats {
        grid-template-columns: 1fr;
    }
    .sp-topics {
        grid-template-columns: 1fr;
    }

    /* Typografie hero */
    .sp-hero h1 {
        font-size: 1.75rem;
    }
    .sp-hero p {
        font-size: 1rem;
    }
    .sp-lead {
        font-size: 1rem;
    }

    /* Tool karta – zmenšit padding */
    .tool-card {
        padding: var(--space-md);
    }

    /* Process kroky – text o trochu menší */
    .sp-step h4 {
        font-size: 0.85rem;
    }
    .sp-step p {
        font-size: 0.75rem;
    }

    /* Side split – dark block neschovávat, jen stack */
    .sp-dark-block {
        padding: var(--space-lg);
    }
    .sp-side-cards {
        gap: var(--space-sm);
    }

    /* FAQ */
    .sp-faq-item h4 {
        font-size: 0.95rem;
    }
    .sp-faq-item p {
        font-size: 0.85rem;
    }

    /* Format bloky */
    .sp-format-block {
        padding: var(--space-lg) var(--space-md);
    }

    /* Srovnávací tabulka – menší text a padding */
    .sp-compare thead th,
    .sp-compare tbody td {
        padding: 10px 12px;
        font-size: 0.8rem;
    }
}

/* Malý mobil (≤ 480px) */
@media (max-width: 480px) {
    .sp-hero {
        padding: calc(var(--space-lg) + 100px) 0 var(--space-lg);
    }
    .sp-process {
        grid-template-columns: 1fr;
    }
    .sp-hero h1 {
        font-size: 1.55rem;
    }

    /* Feature item – ikona trochu menší */
    .feature-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    /* Tool badge menší */
    .tool-badge {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }

    /* Srovnávací tabulka – skrýt třetí sloupec na nejmenších */
    .sp-compare thead th:last-child,
    .sp-compare tbody td:last-child {
        display: none;
    }
}

.overflow-hidden {
    overflow: hidden !important;
}
.small {
    font-size: 80%;
}

body.page-template-page-container .site-main {
    padding: var(--space-2xl) 0;
}
.menu .sub-menu .menu-item.menu-icon a::before {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-style: normal;
    font-variant: normal;
    line-height: 1;
    text-rendering: auto;
    border-radius: 6px;
}
.menu .sub-menu .menu-item.menu-plug a::before {
    content: "\f1e6";
    background: #cc33331a;
    color: var(--color-red);
}
.menu .sub-menu .menu-item.menu-hat a::before {
    content: "\f19d";
    background: #0d3e651a;
    color: var(--color-dark-blue);
}
.menu .sub-menu .menu-item.menu-cogs a::before {
    content: "\f085";
    background: #afe5ff66;
    color: var(--color-dark-blue);
}
.menu .sub-menu .menu-item.menu-bubbles a::before {
    content: "\f086";
    background: #cc33331a;
    color: var(--color-red);
}

/* ========================================
   AI INTEGRACE - Card & feature hover effects
   ======================================== */
.site-logo .logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--color-red), var(--color-dark-blue));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.site-logo .logo-text span {
    color: var(--color-red);
}

/* Barevný akcentní pruh nahoře */
.tool-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-dark-blue), var(--color-dark-blue-light));
    opacity: 0.35;
    transition:
        opacity 0.4s ease,
        height 0.4s ease;
}

.tool-card:hover::before {
    opacity: 1;
    height: 4px;
}

/* Jemný glow na pozadí při hoveru */
.tool-card::after {
    content: "";
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13, 62, 101, 0.04) 0%, transparent 70%);
    transition:
        transform 0.5s ease,
        opacity 0.5s ease;
    opacity: 0;
    pointer-events: none;
}

.tool-card:hover::after {
    transform: scale(2.5);
    opacity: 1;
}

.tool-badge svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.tool-badge i {
    font-size: 20px;
    color: currentColor;
}

.tool-card:hover .tool-badge {
    transform: scale(1.1) rotate(-3deg);
}

/* Barevný pruh karty podle typu */
.tool-card:has(.tool-badge--gpt)::before {
    background: linear-gradient(90deg, #0f8a6b, #34d399);
}

.tool-card:has(.tool-badge--claude)::before {
    background: linear-gradient(90deg, #7c3aed, #a78bfa);
}

.tool-card:has(.tool-badge--gemini)::before {
    background: linear-gradient(90deg, #4285f4, #60a5fa);
}

.tool-card:has(.tool-badge--ms)::before {
    background: linear-gradient(90deg, #0078d4, #38bdf8);
}

.tool-card:has(.tool-badge--local)::before {
    background: linear-gradient(90deg, var(--color-dark-blue), var(--color-dark-blue-light));
}

.tool-card:has(.tool-badge--agent)::before {
    background: linear-gradient(90deg, var(--color-red), var(--color-red-light));
}

.tool-card:hover .tag-pill {
    background: rgba(13, 62, 101, 0.06);
    border-color: rgba(13, 62, 101, 0.14);
}

/* Barevné tag pills podle typu karty */
.tool-card:has(.tool-badge--gpt) .tag-pill {
    background: #e8f8f4;
    border-color: rgba(15, 138, 107, 0.15);
    color: #0c6e56;
}

.tool-card:has(.tool-badge--claude) .tag-pill {
    background: #f0ebfe;
    border-color: rgba(124, 58, 237, 0.15);
    color: #5b21b6;
}

.tool-card:has(.tool-badge--gemini) .tag-pill {
    background: #e8f0fe;
    border-color: rgba(66, 133, 244, 0.15);
    color: #1d4ed8;
}

.tool-card:has(.tool-badge--ms) .tag-pill {
    background: #e5f2fc;
    border-color: rgba(0, 120, 212, 0.15);
    color: #0059a1;
}

.tool-card:has(.tool-badge--local) .tag-pill {
    background: var(--color-light-blue-pale);
    border-color: rgba(13, 62, 101, 0.12);
    color: var(--color-dark-blue);
}

.tool-card:has(.tool-badge--agent) .tag-pill {
    background: #fce8e8;
    border-color: rgba(204, 51, 51, 0.15);
    color: #991b1b;
}

.feature-item::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-red), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow:
        0 10px 28px rgba(13, 62, 101, 0.09),
        0 2px 6px rgba(13, 62, 101, 0.04);
    border-color: rgba(13, 62, 101, 0.1);
}

.feature-item:hover::after {
    opacity: 0.6;
}

.feature-item:hover .feature-icon {
    transform: scale(1.08) translateY(-2px);
}

.feature-item:hover .feature-icon--red {
    box-shadow: 0 6px 18px rgba(204, 51, 51, 0.18);
}

.feature-item:hover .feature-icon--blue {
    box-shadow: 0 6px 18px rgba(13, 62, 101, 0.15);
}

.feature-item:hover .feature-icon--lblue {
    box-shadow: 0 6px 18px rgba(175, 229, 255, 0.45);
}

.feature-item:hover .feature-body h4 {
    color: var(--color-red-dark);
}

/* ========================================
   PROMO PAGE - Konzultace zdarma
   Striking side-by-side layout
   ======================================== */

/* ---------- MAIN SECTION ---------- */
.promo-main {
    background: var(--color-gray);
    position: relative;
    overflow: hidden;
    padding: var(--space-xl) 0 var(--space-3xl);
}

.promo-main::before {
    content: "";
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(204, 51, 51, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.promo-main::after {
    content: "";
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13, 62, 101, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.promo-layout {
    display: grid;
    grid-template-columns: 1fr 420px;
    grid-template-rows: auto 1fr;
    gap: 0 var(--space-2xl);
    position: relative;
    z-index: 1;
}

/* ---------- LEFT SIDE ---------- */
.promo-left {
    padding-right: var(--space-lg);
    grid-column: 1;
    grid-row: 1 / -1;
}

.promo-left .section-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-red);
    margin-bottom: 0.75rem;
    animation: fadeSlideUp 0.6s ease both;
}

.promo-left h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    line-height: 1.2;
    margin-bottom: 0.4rem;
    animation: fadeSlideUp 0.6s ease 0.1s both;
}

/* Items */
.promo-for-whom {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: var(--space-xl);
}

.promo-whom-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    background: var(--color-white);
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--color-red);
    box-shadow: 0 2px 12px rgba(13, 62, 101, 0.06);
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation: fadeSlideUp 0.6s ease both;
    position: relative;
    overflow: hidden;
}

.promo-whom-item:nth-child(1) {
    animation-delay: 0.15s;
}
.promo-whom-item:nth-child(2) {
    animation-delay: 0.25s;
}
.promo-whom-item:nth-child(3) {
    animation-delay: 0.35s;
}

.promo-whom-item::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(204, 51, 51, 0.03) 0%, transparent 100%);
    transition: width 0.5s ease;
}

.promo-whom-item:hover {
    transform: translateX(6px);
    box-shadow: 0 8px 30px rgba(13, 62, 101, 0.1);
    border-left-color: var(--color-red-dark);
}

.promo-whom-item:hover::after {
    width: 100%;
}

.promo-whom-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-full);
    background: rgba(204, 51, 51, 0.08);
    color: var(--color-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    position: relative;
    z-index: 1;
    transition:
        transform 0.3s ease,
        background 0.3s ease;
}

.promo-whom-item:hover .promo-whom-icon {
    transform: scale(1.1);
    background: rgba(204, 51, 51, 0.14);
}

.promo-whom-body {
    position: relative;
    z-index: 1;
}

.promo-whom-body h4 {
    font-size: 1.05rem;
    margin-bottom: 0.3rem;
    transition: color 0.3s ease;
}

.promo-whom-item:hover .promo-whom-body h4 {
    color: var(--color-red-dark);
}

.promo-whom-body p {
    color: var(--color-text-light);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Checks */
.promo-checks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    animation: fadeSlideUp 0.6s ease 0.45s both;
}

.promo-checks li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text);
}

.promo-checks li i {
    color: var(--color-red);
    font-size: 0.7rem;
    width: 20px;
    height: 20px;
    background: rgba(204, 51, 51, 0.08);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ---------- RIGHT SIDE: form ---------- */
.promo-right {
    position: sticky;
    top: 2rem;
    grid-column: 2;
    grid-row: 1 / -1;
    display: flex;
    flex-direction: column;
    justify-content: start;
    padding-top: 5.8rem;
    animation: fadeSlideUp 0.7s ease 0.2s both;
}

.promo-right .contact-form {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    box-shadow:
        0 4px 24px rgba(13, 62, 101, 0.08),
        0 20px 60px rgba(13, 62, 101, 0.06);
    border: 1px solid rgba(13, 62, 101, 0.06);
    position: relative;
    overflow: hidden;
}

.promo-right .contact-form::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-red), var(--color-red-dark));
}

.form-consent {
    font-size: var(--font-size-sm);
    color: var(--color-gray-dark);
    margin-bottom: var(--space-sm);
}

.form-consent a {
    color: var(--color-dark-blue);
    text-decoration: underline;
}

.promo-subtitle {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--color-red);
    margin-bottom: var(--space-md);
    animation: fadeSlideUp 0.6s ease 0.1s both;
}

.required {
    color: var(--color-red);
}

/* ---------- FORM STEPS ---------- */
.form-step {
    display: none;
}

.form-step--active {
    display: block;
    animation: fadeSlideUp 0.4s ease both;
}

.form-step--done {
    padding-bottom: var(--space-sm);
    margin-bottom: var(--space-sm);
    border-bottom: 1px solid rgba(13, 62, 101, 0.08);
}

.form-step--done .form-group input {
    background: var(--color-gray);
    color: var(--color-dark-blue);
    border-color: transparent;
    pointer-events: none;
}

.form-step--done .form-group label {
    color: var(--color-gray-dark);
}

.form-step2-fields {
    animation: fadeSlideUp 0.5s ease both;
}

/* ---------- ANIMATIONS ---------- */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 960px) {
    .promo-layout {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        gap: var(--space-xl);
    }

    .promo-left {
        grid-column: 1;
        grid-row: 1;
        padding-right: 0;
    }

    .promo-right {
        position: static;
        grid-column: 1;
        grid-row: 2;
        max-width: 100%;
        padding-top: 0;
    }

    .promo-checks {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .promo-whom-item {
        flex-direction: column;
        gap: 0.75rem;
    }

    .promo-left h2 {
        font-size: 1.4rem;
    }
}
/* ================================================
   SINGLE POST — CLEAN ARTICLE LAYOUT
   ================================================
   NAHRAĎ TÍMTO celý blok "SINGLE POST — CLEAN ARTICLE LAYOUT"
   na konci svého styles.css (smaž starý duplicitní blok)
   ================================================ */

/* Container — šířka 1000px = stejně jako .entry-content na podstránkách */
.sp-article-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: calc(var(--space-lg) + 80px) var(--space-lg) var(--space-3xl);
    /* 80px = výška fixního headeru */
}

/* Header */
.sp-article-header {
    margin-bottom: var(--space-xl);
}

/* Tag badge */
.sp-article-tag {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: var(--space-md);
}

.sp-tag-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-dark-blue);
    background: var(--color-light-blue-pale);
    padding: 5px 14px;
    border-radius: 20px;
    text-decoration: none;
    border: 1px solid rgba(13, 62, 101, 0.08);
    transition: all var(--transition-fast);
}

.sp-tag-badge:hover {
    background: var(--color-light-blue);
    color: var(--color-dark-blue);
}

/* Nadpis */
.sp-article-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 var(--space-md);
    color: var(--color-dark-blue);
}

/* Meta řádek */
.sp-article-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
}

.sp-article-meta time {
    color: inherit;
}

.sp-meta-sep {
    color: var(--color-gray-dark);
    opacity: 0.5;
}

/* Avatar */
.sp-author-avatar {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    overflow: hidden;
    flex-shrink: 0;
}

.sp-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-full);
}

.sp-author-initials {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: var(--color-light-blue-pale);
    color: var(--color-dark-blue);
    font-weight: 700;
    font-size: 0.8rem;
    border-radius: var(--radius-full);
}

.sp-author-name {
    font-weight: 600;
    color: var(--color-dark-blue);
}

/* Featured image */
.sp-article-featured-img {
    margin-bottom: var(--space-md);
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.sp-article-featured-img img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .sp-article-featured-img {
        width: 100%;
    }
}

/* Obsah článku — typografie */
.sp-article-body {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--color-text);
    border-top: 1px solid rgba(13, 62, 101, 0.08);
    padding-top: var(--space-xl);
}

.sp-article-body p {
    margin: 0 0 var(--space-md);
}

.sp-article-body h2 {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    margin: var(--space-xl) 0 var(--space-sm);
    color: var(--color-dark-blue);
}

.sp-article-body h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin: var(--space-lg) 0 var(--space-xs);
    color: var(--color-dark-blue);
}

.sp-article-body a {
    color: var(--color-dark-blue-light);
    text-decoration: underline;
    text-decoration-color: var(--color-red);
    text-underline-offset: 3px;
    transition: color var(--transition-fast);
}

.sp-article-body a:hover {
    color: var(--color-red);
}

.sp-article-body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: var(--space-md) 0;
}

.sp-article-body blockquote {
    margin: var(--space-lg) 0;
    padding: var(--space-md) var(--space-lg);
    border-left: 3px solid var(--color-red);
    background: var(--color-gray);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    color: var(--color-dark-blue);
}

.sp-article-body ul,
.sp-article-body ol {
    margin: 0 0 var(--space-md);
    padding-left: var(--space-md);
}

.sp-article-body ul {
    list-style: disc;
}

.sp-article-body ol {
    list-style: decimal;
}

.sp-article-body li {
    margin-bottom: var(--space-xs);
}

.sp-article-body pre,
.sp-article-body code {
    font-size: var(--font-size-sm);
    background: var(--color-gray);
    border-radius: var(--radius-sm);
}

.sp-article-body code {
    padding: 2px 6px;
}

.sp-article-body pre {
    padding: var(--space-sm) var(--space-md);
    overflow-x: auto;
    margin: var(--space-md) 0;
}

.sp-article-body pre code {
    padding: 0;
    background: none;
}

/* Footer / navigace */
.sp-article-footer {
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(13, 62, 101, 0.08);
}

.sp-article-footer .nav-links {
    display: flex;
    justify-content: space-between;
    gap: var(--space-lg);
}

.sp-article-footer .nav-previous,
.sp-article-footer .nav-next {
    flex: 1;
}

.sp-article-footer .nav-next {
    text-align: right;
}

.sp-article-footer a {
    text-decoration: none;
    display: block;
    padding: var(--space-sm);
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast);
}

.sp-article-footer a:hover {
    background: var(--color-gray);
}

.sp-nav-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-light);
    margin-bottom: 4px;
}

.sp-nav-title {
    display: block;
    font-size: var(--font-size-md);
    font-weight: 600;
    color: var(--color-dark-blue);
    transition: color var(--transition-fast);
}

.sp-article-footer a:hover .sp-nav-title {
    color: var(--color-red);
}

/* Responsive */
@media (max-width: 768px) {
    .sp-article-container {
        padding: calc(var(--space-md) + 80px) 15px var(--space-2xl);
    }

    .sp-article-meta {
        font-size: 0.8rem;
    }

    .sp-article-body {
        font-size: 1rem;
    }

    .sp-article-footer .nav-links {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .sp-article-footer .nav-next {
        text-align: left;
    }
}

/* Breadcrumb */
.sp-breadcrumb {
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin-bottom: var(--space-md);
}

.sp-breadcrumb a {
    color: var(--color-text-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.sp-breadcrumb a:hover {
    color: var(--color-red);
}

.sp-breadcrumb-sep {
    margin: 0 6px;
    color: var(--color-gray-dark);
    opacity: 0.5;
}

.sp-breadcrumb-current {
    color: var(--color-dark-blue);
    font-weight: 500;
    display: inline-block;
    max-width: 300px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: bottom;
}

/* Tagy & sdílení — řádek pod článkem */
.sp-article-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(13, 62, 101, 0.08);
}

/* Tagy */
.sp-article-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
}

.sp-article-tags i {
    color: var(--color-gray-dark);
    font-size: 0.8rem;
    margin-right: 4px;
}

.sp-article-tag-link {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--color-dark-blue);
    background: var(--color-gray);
    padding: 3px 10px;
    border-radius: 4px;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.sp-article-tag-link:hover {
    background: var(--color-light-blue-pale);
    color: var(--color-dark-blue);
}

/* Sdílení */
.sp-share {
    display: flex;
    align-items: center;
    gap: 6px;
}

.sp-share-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-light);
    margin-right: 4px;
}

.sp-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: var(--radius-full);
    background: var(--color-gray);
    color: var(--color-dark-blue);
    font-size: 0.85rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.sp-share-btn:hover {
    background: var(--color-dark-blue);
    color: var(--color-white);
}

/* Zpět na rubriku */
.sp-back-to-category {
    margin-top: var(--space-lg);
}

.sp-back-to-category a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-dark-blue);
    text-decoration: none;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    background: var(--color-gray);
    transition: all var(--transition-fast);
}

.sp-back-to-category a:hover {
    background: var(--color-light-blue-pale);
    color: var(--color-red);
}

.sp-back-to-category a i {
    font-size: 0.75rem;
    transition: transform var(--transition-fast);
}

.sp-back-to-category a:hover i {
    transform: translateX(-3px);
}

@media (max-width: 768px) {
    .sp-breadcrumb-current {
        max-width: 160px;
    }

    .sp-article-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ================================================
   BLOG ARCHIVE — VYLEPŠENÝ SEZNAM ČLÁNKŮ
   Přidej na konec styles.css
   ================================================ */

/* --- Archive header --- */
.archive-header {
    padding: calc(var(--space-lg) + 80px) 0 var(--space-lg);
    border-bottom: 1px solid rgba(13, 62, 101, 0.08);
}

.archive-header__title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    color: var(--color-dark-blue);
    margin-bottom: 4px;
}

.archive-header__desc {
    font-size: var(--font-size-lg);
    color: var(--color-text-light);
    max-width: 600px;
    margin-bottom: 0;
}

.archive-header__count {
    font-size: var(--font-size-sm);
    color: var(--color-gray-dark);
    margin-top: 6px;
    margin-bottom: 0;
}

/* --- Archive container --- */
.archive-container {
    padding-top: var(--space-xl);
    padding-bottom: var(--space-3xl);
}

/* --- Featured (první) článek --- */
.featured-post {
    margin-bottom: var(--space-xl);
}

.featured-post__link {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-xl);
    align-items: center;
    text-decoration: none;
    color: inherit;
    background: var(--color-white);
    border-radius: var(--radius-md);
    border: 1px solid rgba(13, 62, 101, 0.06);
    overflow: hidden;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.featured-post__link:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
    color: inherit;
}

.featured-post__image {
    overflow: hidden;
    aspect-ratio: 16/10;
}

.featured-post__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-post__link:hover .featured-post__image img {
    transform: scale(1.03);
}

.featured-post__content {
    padding: var(--space-lg) var(--space-lg) var(--space-lg) 0;
}

.featured-post__cat {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-red);
    margin-bottom: var(--space-xs);
}

.featured-post__title {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 700;
    color: var(--color-dark-blue);
    line-height: 1.25;
    margin-bottom: var(--space-xs);
    transition: color var(--transition-fast);
}

.featured-post__link:hover .featured-post__title {
    color: var(--color-red);
}

.featured-post__excerpt {
    font-size: var(--font-size-md);
    color: var(--color-text-light);
    line-height: 1.65;
    margin-bottom: var(--space-sm);
}

.featured-post__meta {
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

/* --- Grid článků --- */
.posts-grid-v2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

/* --- Karta článku --- */
.post-card-v2 {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--color-white);
    border: 1px solid rgba(13, 62, 101, 0.06);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

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

.post-card-v2__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.post-card-v2__link:hover {
    color: inherit;
}

.post-card-v2__image {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.post-card-v2__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post-card-v2:hover .post-card-v2__image img {
    transform: scale(1.04);
}

.post-card-v2__image--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-gray);
    color: var(--color-gray-dark);
    font-size: 2rem;
}

.post-card-v2__body {
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.post-card-v2__cat {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-red);
    margin-bottom: 6px;
}

.post-card-v2__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-dark-blue);
    line-height: 1.3;
    margin-bottom: var(--space-xs);
    transition: color var(--transition-fast);
}

.post-card-v2:hover .post-card-v2__title {
    color: var(--color-red);
}

.post-card-v2__excerpt {
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: var(--space-sm);
}

.post-card-v2__meta {
    font-size: 0.78rem;
    color: var(--color-gray-dark);
    display: flex;
    align-items: center;
    gap: 6px;
    padding-top: var(--space-xs);
    border-top: 1px solid rgba(13, 62, 101, 0.06);
    margin-top: auto;
}

/* --- Pagination --- */
.pagination-v2 {
    margin-top: var(--space-2xl);
    display: flex;
    justify-content: center;
}

.pagination-v2 .nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.pagination-v2 .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: var(--radius-sm);
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-dark-blue);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.pagination-v2 .page-numbers:hover {
    background: var(--color-gray);
}

.pagination-v2 .page-numbers.current {
    background: var(--color-dark-blue);
    color: var(--color-white);
}

.pagination-v2 .prev,
.pagination-v2 .next {
    gap: 6px;
    color: var(--color-dark-blue);
    font-weight: 600;
}

.pagination-v2 .prev:hover,
.pagination-v2 .next:hover {
    color: var(--color-red);
    background: transparent;
}

/* --- Prázdný stav --- */
.archive-empty {
    text-align: center;
    padding: var(--space-3xl) 0;
}

.archive-empty i {
    font-size: 3rem;
    color: var(--color-gray-dark);
    margin-bottom: var(--space-md);
    display: block;
}

.archive-empty h2 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-xs);
}

.archive-empty p {
    color: var(--color-text-light);
    margin-bottom: var(--space-lg);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .posts-grid-v2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .archive-header {
        padding: calc(var(--space-md) + 80px) 0 var(--space-md);
    }

    .featured-post__link {
        grid-template-columns: 1fr;
    }

    .featured-post__content {
        padding: var(--space-md);
    }

    .posts-grid-v2 {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .post-card-v2__image {
        aspect-ratio: 16/9;
    }
}

@media (max-width: 480px) {
    .featured-post__title {
        font-size: 1.15rem;
    }

    .post-card-v2__title {
        font-size: 1rem;
    }
}
