/* ==========================================================================
   Base Styles & Variables
   ========================================================================== */
:root {
    --bg-color: #050505;
    --text-main: #ffffff;
    --text-muted: #9ca3af;
    --accent-purple: #8b2ff5;
    --accent-blue: #4f46e5;
    --accent-glow: rgba(139, 47, 245, 0.4);
    --gradient-primary: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
    --glass-bg: rgba(20, 20, 25, 0.5);
    --glass-border: rgba(255, 255, 255, 0.05);
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Plus Jakarta Sans', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

.wp-site-blocks {
    background-color: var(--bg-color);
    min-height: 100vh;
}

.wp-site-blocks > * {
    margin-block-start: 0;
}

.site-main {
    position: relative;
    z-index: 1;
}

a {
    color: var(--text-main);
    text-decoration: none;
    transition: all 0.3s ease;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

.highlight {
    color: var(--accent-purple);
}

.wp-block-heading strong,
h1 strong,
h2 strong,
h3 strong,
h4 strong,
h5 strong,
h6 strong {
    color: var(--accent-purple);
    font-weight: inherit;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    padding: 25px 0;
    background: linear-gradient(to bottom, rgba(5,5,5,0.95), transparent);
    transition: padding 0.3s ease, background 0.3s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Fix for WordPress Admin Bar */
.admin-bar .site-header {
    top: 32px;
}
@media screen and (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }
}

.site-header.scrolled {
    padding: 25px 0;
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

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

.logo {
    display: inline-block;
    perspective: 1000px;
}

.logo-dx {
    font-family: var(--font-heading);
    font-weight: 900;
    font-style: italic;
    font-size: 1.5rem;
    color: var(--accent-purple);
    margin-right: 10px;
    display: inline-block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    transform-style: preserve-3d;
}

.logo:hover .logo-dx {
    transform: rotateX(180deg);
}

.logo-location {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

.main-navigation a {
    font-size: 0.95rem;
    font-weight: 500;
}

.main-navigation a:hover {
    color: var(--accent-purple);
}

.chat-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 10px 20px;
    color: var(--text-main);
    font-family: var(--font-main);
    cursor: pointer;
    transition: all 0.3s;
}

.chat-btn:hover {
    background: var(--glass-bg);
    border-color: var(--accent-purple);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    padding-top: 120px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.global-grid {
    position: fixed;
    inset: 0;
    background-image: 
        radial-gradient(ellipse at 50% 50%, transparent 0%, var(--bg-color) 80%),
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 100% 100%, 60px 60px, 60px 60px;
    z-index: 0;
    pointer-events: none;
    transform: translateZ(0);
}

.hero-glow {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.3) 0%, rgba(139, 47, 245, 0.15) 30%, rgba(5,5,5,0) 70%);
    z-index: 0;
    pointer-events: none;
    animation: pulseGlow 8s infinite alternate ease-in-out;
}
@keyframes pulseGlow {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}


.hero-content {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    padding-bottom: 50px;
    gap: 40px;
}

.hero-left {
    max-width: 800px;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    transform: translateZ(0);
}

.hero-stats {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 10px 20px;
    border-radius: 40px;
    margin-bottom: 40px;
    border-color: rgba(255,255,255,0.1);
}

.hero-stats.wp-block-group,
.hero-stats.is-layout-flex {
    display: inline-flex;
    width: auto;
}

.avatars {
    display: flex;
}
.avatar-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--bg-color);
    margin-left: -10px;
    background-size: cover;
}
.avatar-circle:first-child { margin-left: 0; }

.hero-title {
    font-size: clamp(4.5rem, 7.5vw, 6.5rem);
    line-height: 1.2;
    margin-bottom: 40px;
    letter-spacing: -2px;
    min-height: 3.6em; /* 3 lines at 1.2 line-height */
}
.hero-title .highlight {
    /* Záměrně prázdné, dědí barvu z globální .highlight a velikost z nadpisu */
}

.tw-cursor {
    display: inline-block;
    width: 6px;
    height: 0.9em;
    background-color: var(--accent-purple);
    vertical-align: baseline;
    margin-left: 5px;
}
.tw-cursor.blinking {
    animation: blink 1s step-end infinite;
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.btn-primary:not(.wp-block-button),
a.btn-primary,
button.btn-primary,
.wp-block-button.btn-primary .wp-block-button__link {
    display: inline-block;
    background: var(--bg-color);
    border: 1px solid var(--accent-purple);
    color: var(--text-main);
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s;
    font-size: 1.1rem;
}

.wp-block-button.btn-primary {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
}

.neon-glow:hover,
.wp-block-button.btn-primary.neon-glow .wp-block-button__link:hover {
    box-shadow: 0 0 25px var(--accent-glow);
    background: rgba(139, 47, 245, 0.15);
}

.hero-center-bottom {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.hero-right {
    max-width: 380px;
    text-align: right;
}

.agency-desc {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    line-height: 1.6;
}

.help-link {
    display: inline-block;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--text-main);
    margin-bottom: 50px;
    padding-bottom: 2px;
}

.contact-widget {
    background: rgba(139, 47, 245, 0.05);
    border-color: rgba(139, 47, 245, 0.2);
    width: 380px;
    padding: 40px;
}
.widget-header {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 25px;
}
.status-pulse {
    width: 10px;
    height: 10px;
    background-color: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
    animation: pulseGreen 2s infinite;
}
@keyframes pulseGreen {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.contact-widget h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}
.contact-widget p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.6;
}

.email-form {
    display: flex;
    background: rgba(0,0,0,0.6);
    border-radius: 30px;
    padding: 6px;
    border: 1px solid rgba(255,255,255,0.1);
}
.email-form input {
    background: transparent;
    border: none;
    color: #fff;
    padding: 10px 20px;
    outline: none;
    flex-grow: 1;
    font-family: var(--font-main);
}
.email-form .submit-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.email-form .submit-btn:hover {
    box-shadow: 0 0 15px var(--accent-glow);
}

/* ==========================================================================
   Stats Section
   ========================================================================== */
.stats-section {
    margin-top: 50px;
    margin-bottom: 200px;
}

.stats-card {
    padding: 50px;
}

.stats-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 70px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 40px;
}

.stats-bullet-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin: 0;
    padding: 0;
    justify-content: center;
}

.stats-bullet-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.05rem;
    color: var(--text-muted);
}

.stats-bullet-list li strong {
    color: #fff;
    font-weight: 500;
}

.hub-support {
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--text-muted);
    font-size: 1rem;
}

.agency-mini-desc {
    text-align: right;
    color: var(--text-muted);
    font-size: 1.05rem;
}

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

.stat-item h2 {
    font-size: 5rem;
    margin-bottom: 10px;
    font-family: var(--font-heading);
    font-weight: 800;
    
    background: linear-gradient(90deg, #fff 0%, var(--accent-purple) 50%, #fff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShimmer 4s linear infinite;
    display: inline-block;
}

@keyframes gradientShimmer {
    0% { background-position: -200% center; }
    100% { background-position: 0% center; }
}
.stat-item p {
    color: var(--text-muted);
    font-size: 1rem;
    letter-spacing: 1px;
}

/* ==========================================================================
   Experience / Services
   ========================================================================== */
.experience-section {
    display: flex;
    gap: 80px;
    margin-bottom: 180px;
}

.experience-left {
    flex: 1;
    position: sticky;
    top: 150px;
    height: fit-content;
}

.huge-text {
    font-size: 7.5rem;
    line-height: 0.9;
    letter-spacing: -2px;
}

.subtitle {
    color: var(--text-muted);
    margin-top: 15px;
    font-size: 1.1rem;
}

.services-label {
    margin-top: 120px;
    font-size: 0.9rem;
    letter-spacing: 2px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}
.services-label .badge-inner {
    width: 120px;
    height: 120px;
    background: rgba(139, 47, 245, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-family: var(--font-heading);
    font-weight: 900;
    font-style: italic;
    color: var(--accent-purple);
    animation: rotateSlow 20s linear infinite;
}

@keyframes rotateSlow {
    100% { transform: rotate(360deg); }
}

.security-badge {
    margin-top: 50px;
    padding: 25px;
    background: rgba(139, 47, 245, 0.05);
    border: 1px solid rgba(139, 47, 245, 0.2);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.security-badge h4 {
    color: #fff;
    margin-bottom: 12px;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.security-badge p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.services-label .line {
    width: 2px;
    height: 50px;
    background: var(--accent-purple);
}


.experience-right {
    flex: 1.5;
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    gap: -25px; /* Overlap slightly */
    margin-bottom: 100px;
    justify-content: flex-end;
}

.partner-circle {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);
    margin: -12px;
    font-weight: 500;
}

.services-list {
    display: flex;
    flex-direction: column;
}

.services-list:hover .service-item:not(.active) {
    opacity: 0.3;
}

.service-item {
    position: relative;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 40px 0;
    cursor: pointer;
    transition: all 0.4s ease;
}

.service-item::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    height: 2px;
    width: 0;
    background: var(--accent-purple);
    transition: width 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.service-item.active::before, .service-item:hover::before {
    width: 100%;
}

.service-title {
    display: flex;
    align-items: center;
    gap: 30px;
}

.service-title .num {
    color: var(--text-muted);
    font-family: monospace;
    font-size: 1.4rem;
    transition: color 0.3s;
}

.service-item.active .service-title .num {
    color: var(--accent-purple);
}

.service-title h3 {
    font-size: 3.5rem;
    font-weight: 500;
    color: rgba(255,255,255,0.3);
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    letter-spacing: -1px;
}

.service-item.active h3 {
    color: #fff;
    transform: translateX(15px);
    text-shadow: 0 0 30px rgba(139, 47, 245, 0.5);
}

.arrow-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--accent-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-left: auto;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-item.active .arrow-circle {
    opacity: 1;
    transform: translateX(0);
}

.service-tags {
    margin-top: 25px;
    padding-left: 80px;
    display: none;
    flex-wrap: wrap;
    gap: 12px;
}
.service-item.active .service-tags {
    display: flex;
    animation: fadeIn 0.5s ease;
}

.service-desc {
    padding-left: 80px;
    margin-top: 15px;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    display: none;
    max-width: 750px;
}

.service-item.active .service-desc {
    display: block;
    animation: fadeIn 0.6s ease 0.1s both;
}

.service-tags span,
.service-tags .service-tag {
    padding: 8px 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 30px;
    font-size: 0.9rem;
    color: #fff;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin: 0;
}

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

/* ==========================================================================
   Pricing Section
   ========================================================================== */
.pricing-section {
    margin-bottom: 180px;
}

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

.pricing-card {
    position: relative;
    padding: 40px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, border-color 0.3s;
}

.pricing-card:hover, .pricing-card.animate-fan-out.is-visible:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--accent-purple);
    box-shadow: 0 20px 50px rgba(139, 47, 245, 0.2);
    z-index: 10;
}

/* Fan out animations for pricing cards */
.pricing-card.animate-fan-out {
    opacity: 0;
    transition: all 1s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* bouncy effect */
}

@media (min-width: 993px) {
    .pricing-card.animate-fan-out:nth-child(1) {
        transform: translateX(110%) rotate(8deg);
    }
    .pricing-card.animate-fan-out:nth-child(2) {
        transform: scale(0.8);
        z-index: 2;
    }
    .pricing-card.animate-fan-out:nth-child(3) {
        transform: translateX(-110%) rotate(-8deg);
    }
}

@media (max-width: 992px) {
    .pricing-card.animate-fan-out {
        transform: translateY(50px);
    }
}

.pricing-card.animate-fan-out.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0);
}

.pricing-card.featured {
    border-color: var(--accent-purple);
    background: rgba(139, 47, 245, 0.05);
}

.pricing-card .badge {
    position: absolute;
    top: -15px;
    right: 30px;
    background: var(--gradient-primary);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.pkg-name {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-muted);
}

.pkg-price {
    font-size: 3rem;
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

.pkg-desc {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.pkg-features {
    list-style: none;
    margin-bottom: 40px;
    flex-grow: 1;
}

.pkg-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pkg-features li::before {
    content: "✓";
    color: var(--accent-purple);
    font-weight: bold;
}

.pricing-card .btn-primary:not(.wp-block-button),
.pricing-card a.btn-primary,
.pricing-card button.btn-primary,
.pricing-card .wp-block-button.btn-primary .wp-block-button__link {
    text-align: center;
    width: 100%;
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.testimonials-section {
    margin-bottom: 180px;
}

.section-title.center {
    text-align: center;
    margin-bottom: 80px;
}
.section-title h2 {
    font-size: 4.5rem;
    margin-bottom: 20px;
}
.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.testimonials-marquee-wrapper {
    position: relative;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
    padding: 20px 0;
    mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,1) 15%, rgba(0,0,0,1) 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,1) 15%, rgba(0,0,0,1) 85%, transparent 100%);
}

.testimonials-track {
    display: flex;
    width: max-content;
    gap: 30px;
    padding-right: 30px;
    animation: marquee-scroll 45s linear infinite;
    will-change: transform;
}

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

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

.testimonial-card {
    flex: 0 0 420px;
    display: flex;
    flex-direction: column;
}

.stars {
    color: #facc15;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.review-text {
    font-size: 1.05rem;
    color: var(--text-main);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 30px;
    flex-grow: 1;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 20px;
}

.client-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.client-info h4 {
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.client-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Contact Form Section
   ========================================================================== */
.contact-section {
    margin-bottom: 150px;
}
.contact-form-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px;
}
.interest-selection {
    margin-bottom: 30px;
}
.interest-selection p {
    margin-bottom: 15px;
    color: var(--text-muted);
    font-size: 0.95rem;
}
.radio-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}
.radio-pill input {
    display: none;
}
.radio-pill span {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.95rem;
    color: var(--text-muted);
}
.radio-pill input:checked + span {
    background: rgba(139, 47, 245, 0.15);
    border-color: var(--accent-purple);
    color: #fff;
    box-shadow: 0 0 20px rgba(139, 47, 245, 0.2);
}
.radio-pill:hover span {
    border-color: rgba(255,255,255,0.3);
}
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}
.main-contact-form input, .main-contact-form textarea {
    width: 100%;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 15px;
    padding: 15px 20px;
    color: #fff;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: all 0.3s;
}
.main-contact-form input:focus, .main-contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-purple);
    background: rgba(0,0,0,0.5);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background-color: var(--bg-color);
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 80px 0 50px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 50px;
}

.footer-desc {
    color: #d1d5db;
    margin-top: 25px;
    max-width: 220px;
    font-size: 0.95rem;
}

.footer-links h4, .footer-contact h4 {
    margin-bottom: 25px;
    font-size: 1.1rem;
}
.footer-links ul {
    list-style: none;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links a, .footer-contact p {
    color: #d1d5db;
    font-size: 0.95rem;
}
.footer-contact p {
    margin-bottom: 25px;
}



/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1200px) {
    .huge-text, .section-title h2 { font-size: 3.5rem !important; }
    .hero-title { font-size: 4.5rem !important; }
    
    .hero-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 60px;
    }
    .hero-portrait-overlay { opacity: 0.5; }
    .hero-bg-text { font-size: 35vw; }
    .hero-right { text-align: center; max-width: 100%; }
    .contact-widget { text-align: left; width: 100%; max-width: 450px; margin: 0 auto; }
    
    .stats-header { flex-direction: column; gap: 30px; text-align: center; }
    .agency-mini-desc { text-align: center; }
    .stats-grid { gap: 20px; }
    .stat-item h2 { font-size: 3.5rem; }
    
    .experience-section { flex-direction: column; gap: 60px;}
    .experience-left { position: static; height: auto; }
    .partners-grid { justify-content: center; }
    
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { gap: 20px; }
    .pricing-card { padding: 25px 20px; }
    .pkg-price { font-size: 2.2rem; }
    .pkg-name { font-size: 1.3rem; }
    .pkg-features li { font-size: 0.9rem; margin-bottom: 10px; }
}

@media (max-width: 768px) {
    .container { padding: 0 20px; }
    .main-navigation { display: none; }
    .site-header.header-hidden { transform: translateY(-100%); }
    .huge-text, .section-title h2 { font-size: 2.5rem !important; white-space: normal !important; }
    .hero-title { font-size: clamp(2.3rem, 7vw, 3.3rem) !important; white-space: nowrap !important; }
    
    /* Zvýšení výkonu scrollování na mobilech */
    .glass-card { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(20, 20, 25, 0.95); }
    .site-header.scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(5, 5, 5, 0.98); }
    
    .hero-bg-text { font-size: 20vw; top: 30%; display: none; /* Hide confusing background text on small screens */ }
    
    .contact-widget { padding: 30px 25px; }
    
    .stats-header { padding-bottom: 20px; margin-bottom: 40px; }
    .stats-bullet-list { flex-direction: column; gap: 15px; align-items: flex-start; }
    .stats-bullet-list li { font-size: 0.95rem; }
    .stats-grid { grid-template-columns: 1fr; gap: 40px; }
    .stat-item h2 { font-size: 3.5rem; }
    .stats-card { padding: 30px 20px; }
    
    
    .service-title { gap: 15px; flex-wrap: wrap; }
    .service-title h3 { font-size: 1.8rem; }
    .service-item.active h3 { transform: translateX(5px); }
    .service-tags, .service-desc { padding-left: 0; }

    
    .team-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; gap: 20px; }
    .pricing-card { padding: 25px 20px; }
    .pkg-price { font-size: 2.2rem; margin-bottom: 10px; }
    .pkg-name { font-size: 1.2rem; margin-bottom: 5px; }
    .pkg-desc { font-size: 0.85rem; margin-bottom: 20px; }
    .pkg-features li { font-size: 0.85rem; margin-bottom: 8px; }
    .pricing-card .btn-outline { padding: 12px 20px; font-size: 0.9rem; }
    
    .contact-form-wrapper { padding: 30px 20px; }
    .form-row { flex-direction: column; gap: 15px; }
    .radio-group { flex-direction: column; gap: 10px; }
    .radio-pill span { display: block; text-align: center; }
    
    .testimonial-card { flex: 0 0 85vw; padding: 30px 20px; scroll-snap-align: center; }
    
    .testimonials-marquee-wrapper {
        mask-image: none;
        -webkit-mask-image: none;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }
    .testimonials-marquee-wrapper::-webkit-scrollbar {
        display: none;
    }
    .testimonials-track {
        animation: none !important;
        width: auto;
        padding-right: 0;
    }
    
    .footer-content { flex-direction: column; text-align: center; gap: 40px; }
    .footer-desc { margin: 20px auto; }
    

    .services-label { margin-top: 40px; }
    .security-badge { margin-top: 30px; padding: 20px 15px; text-align: left; }
}

/* ==========================================================================
   Animations
   ========================================================================== */
.animate-slide-up {
    opacity: 0;
    transform: translateY(40px) translateZ(0);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--delay, 0s);
    will-change: opacity, transform;
}

.animate-slide-up.is-visible {
    opacity: 1;
    transform: translateY(0) translateZ(0);
}

.animate-fade-in {
    opacity: 0;
    transition: opacity 1s ease-out;
    transition-delay: var(--delay, 0s);
    will-change: opacity;
}

.animate-fade-in.is-visible {
    opacity: 1;
}

.animate-fan-out {
    opacity: 0;
    transform: translateY(30px) scale(0.95) translateZ(0);
    transition: opacity 0.6s ease-out, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

/* Gutenberg editor: frontend animations are JS-driven, so blocks must stay visible while editing. */
.editor-styles-wrapper .animate-slide-up,
.editor-styles-wrapper .animate-fade-in,
.editor-styles-wrapper .animate-fan-out {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

.editor-styles-wrapper .service-item {
    opacity: 1 !important;
}

.editor-styles-wrapper .service-tags {
    display: flex !important;
}

.editor-styles-wrapper .service-desc {
    display: block !important;
}

.editor-styles-wrapper .hero-section {
    min-height: auto;
    padding-top: 80px;
}

.editor-styles-wrapper .hero-title {
    min-height: auto;
}
