/* ============================================
   OSTRAVSKÁ AUTOŠKOLA - Modern Website
   ============================================ */

/* --- CSS Variables --- */
:root {
    --primary: #1a3a5c;
    --primary-light: #2a5a8c;
    --primary-dark: #0f2440;
    --accent: #e8491d;
    --accent-hover: #ff5a2e;
    --accent-light: #ff7043;
    --white: #ffffff;
    --light: #f4f6f9;
    --gray: #6c757d;
    --gray-light: #e9ecef;
    --dark: #212529;
    --text: #333333;
    --text-light: #666666;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

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

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary-dark);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-transform: none;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(232, 73, 29, 0.35);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(232, 73, 29, 0.45);
}

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

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

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

.btn-secondary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 10px 24px;
    font-size: 0.9rem;
}

/* --- Header / Navbar --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 15px 0;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    padding: 10px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--white);
    transition: var(--transition);
}

.header.scrolled .logo {
    color: var(--primary-dark);
}

.logo img {
    height: 45px;
}

.logo-text span {
    display: block;
    font-size: 0.7rem;
    font-weight: 400;
    opacity: 0.8;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-links a {
    padding: 8px 16px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.header.scrolled .nav-links a {
    color: var(--text);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.15);
}

.header.scrolled .nav-links a:hover,
.header.scrolled .nav-links a.active {
    color: var(--accent);
    background: rgba(232, 73, 29, 0.08);
}

.nav-links .btn-primary {
    color: var(--white) !important;
    background: var(--accent);
    padding: 10px 24px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    padding: 8px;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: var(--transition);
}

.header.scrolled .hamburger span {
    background: var(--primary-dark);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0a1628 0%, var(--primary-dark) 30%, var(--primary) 60%, var(--primary-light) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 15% 50%, rgba(232,73,29,0.12) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 20%, rgba(255,255,255,0.06) 0%, transparent 45%),
        radial-gradient(circle at 60% 80%, rgba(232,73,29,0.06) 0%, transparent 40%);
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, var(--white), transparent);
    z-index: 3;
}

/* Animated geometric shapes */
.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.06;
}

.hero-shape-1 {
    width: 500px;
    height: 500px;
    background: var(--accent);
    top: -150px;
    right: -100px;
    animation: shapeFloat 20s ease-in-out infinite;
}

.hero-shape-2 {
    width: 300px;
    height: 300px;
    background: white;
    bottom: -80px;
    left: 10%;
    animation: shapeFloat 15s ease-in-out 3s infinite reverse;
}

.hero-shape-3 {
    width: 200px;
    height: 200px;
    background: var(--accent);
    top: 40%;
    left: 30%;
    animation: shapeFloat 18s ease-in-out 5s infinite;
}

.hero-shape-4 {
    width: 120px;
    height: 120px;
    border: 2px solid rgba(255,255,255,0.08);
    background: none;
    top: 20%;
    left: 50%;
    border-radius: 30%;
    animation: shapeRotate 25s linear infinite;
}

.hero-shape-5 {
    width: 80px;
    height: 80px;
    border: 1px solid rgba(232,73,29,0.15);
    background: none;
    bottom: 30%;
    right: 20%;
    border-radius: 20%;
    animation: shapeRotate 20s linear infinite reverse;
}

@keyframes shapeFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

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

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-particles .particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    animation: float-particle 15s infinite linear;
}

@keyframes float-particle {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; }
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 130px 30px 100px;
    width: 100%;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 10px 22px;
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.88rem;
    font-weight: 500;
    margin-bottom: 28px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    animation: fadeInDown 0.8s ease;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4CAF50;
    display: inline-block;
    animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(76,175,80,0.5); }
    50% { box-shadow: 0 0 0 6px rgba(76,175,80,0); }
}

.hero h1 {
    font-size: 3.6rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 22px;
    line-height: 1.12;
    letter-spacing: -0.02em;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--accent-light), #FFB74D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero p {
    font-size: 1.12rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    max-width: 520px;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s both;
}

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

.btn-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 60%);
    animation: btnGlowPulse 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes btnGlowPulse {
    0%, 100% { opacity: 0; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1); }
}

/* Trust badges */
.hero-trust {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 28px;
    animation: fadeInUp 0.8s ease 0.7s both;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.65);
    font-size: 0.82rem;
    font-weight: 500;
}

.hero-trust-item i, .hero-trust-item svg {
    color: rgba(255,255,255,0.45);
}

.hero-stats {
    display: flex;
    gap: 36px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.1);
    animation: fadeInUp 0.8s ease 0.9s both;
}

.hero-stat {
    text-align: center;
    color: var(--white);
}

.hero-stat .number {
    font-size: 2.2rem;
    font-weight: 800;
    display: block;
    line-height: 1;
    background: linear-gradient(180deg, #fff 30%, rgba(255,255,255,0.6));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat .label {
    font-size: 0.8rem;
    opacity: 0.55;
    margin-top: 6px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Hero visual side */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 1s ease 0.5s both;
}

.hero-visual-glow {
    position: absolute;
    width: 80%;
    height: 60%;
    top: 20%;
    left: 10%;
    background: radial-gradient(ellipse, rgba(232,73,29,0.2) 0%, transparent 70%);
    filter: blur(40px);
    z-index: 0;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.08); }
}

.hero-car-img {
    width: 100%;
    max-width: 620px;
    height: auto;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 25px 50px rgba(0,0,0,0.4));
    animation: heroCarDrive 2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes heroCarDrive {
    0% { opacity: 0; transform: translateX(100px) scale(0.95); }
    100% { opacity: 1; transform: translateX(0) scale(1); }
}

.hero-floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 14px 20px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text);
    z-index: 2;
    border: 1px solid rgba(255,255,255,0.3);
}

.hero-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-float-1 {
    top: 8%;
    right: -5px;
    animation: floatCard 3s ease-in-out infinite alternate, fadeSlideLeft 0.8s ease 1.2s both;
}

.hero-float-2 {
    bottom: 25%;
    left: -15px;
    animation: floatCard 3.5s ease-in-out 0.5s infinite alternate, fadeSlideRight 0.8s ease 1.4s both;
}

.hero-float-3 {
    bottom: 5%;
    right: 15%;
    animation: floatCard 4s ease-in-out 1s infinite alternate, fadeInUp 0.8s ease 1.6s both;
}

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

@keyframes fadeSlideLeft {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeSlideRight {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

/* --- Animations --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Sections --- */
.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--light);
}

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .tag {
    display: inline-block;
    background: rgba(232, 73, 29, 0.1);
    color: var(--accent);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.05rem;
}

/* --- Services Cards --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.skoleni-grid {
    grid-template-columns: 1fr 1fr;
    margin-bottom: 40px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--gray-light);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card .icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--white);
    transition: var(--transition);
}

.service-card:hover .icon {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.service-card p {
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.service-card .card-link {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.service-card .card-link:hover {
    gap: 10px;
}

/* --- About Section --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
}

.about-image img {
    width: 100%;
    border-radius: var(--radius);
}

.about-placeholder {
    width: 100%;
    min-height: 400px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.about-placeholder span {
    color: rgba(255,255,255,0.5);
    font-size: 0.95rem;
    font-weight: 500;
}

.about-image .experience-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--accent);
    color: var(--white);
    padding: 20px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-image .experience-badge .number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    display: block;
}

.about-image .experience-badge .text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-text h2 {
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 16px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--text);
}

.about-feature .check {
    width: 24px;
    height: 24px;
    background: rgba(232, 73, 29, 0.1);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* --- CTA Section --- */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: rgba(232, 73, 29, 0.1);
    border-radius: 50%;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 16px;
    font-size: 2.5rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 30px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Gallery --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.06);
    filter: brightness(1.05);
}

.gallery-item-large {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
}

.gallery-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 16px 12px;
    background: linear-gradient(to top, rgba(0,0,0,0.55), transparent);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    pointer-events: none;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .gallery-item-large {
        grid-column: span 2;
        grid-row: span 1;
        aspect-ratio: 16/9;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
}

/* --- Features / Why Us --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
}

.feature-item .icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    background: rgba(232, 73, 29, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent);
}

.feature-item h4 {
    margin-bottom: 8px;
}

.feature-item p {
    font-size: 0.9rem;
}

/* --- Page Header --- */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 140px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to top, var(--white), transparent);
}

.page-header h1 {
    color: var(--white);
    font-size: 2.8rem;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.page-header .breadcrumb {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

.page-header .breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
}

.page-header .breadcrumb a:hover {
    color: var(--accent-light);
}

/* --- Content Section --- */
.content-section {
    padding: 60px 0;
}

.content-section h2 {
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--accent);
    display: inline-block;
}

.content-section h3 {
    margin-top: 30px;
    margin-bottom: 12px;
    color: var(--primary);
}

.content-section p {
    margin-bottom: 16px;
    line-height: 1.8;
}

.content-section ul {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 16px;
}

.content-section ul li {
    margin-bottom: 8px;
    color: var(--text-light);
    line-height: 1.7;
}

.content-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    border: 1px solid var(--gray-light);
}

/* --- Price Cards --- */
.price-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    border: 1px solid var(--gray-light);
    transition: var(--transition);
}

.price-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.price-card .price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    margin: 16px 0;
}

.price-card .price small {
    font-size: 1rem;
    color: var(--gray);
    font-weight: 400;
}

/* --- Iframe Container --- */
.iframe-container {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px;
    margin: 20px 0;
    overflow: hidden;
}

.iframe-container iframe {
    border: none;
    width: 100%;
    min-height: 700px;
    border-radius: var(--radius-sm);
}

/* --- Contact Section --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-light);
    margin-bottom: 20px;
    transition: var(--transition);
}

.contact-info-card:hover {
    box-shadow: var(--shadow-lg);
}

.contact-info-card h3 {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
}

.contact-info-card p {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.contact-info-card a {
    color: var(--accent);
    font-weight: 500;
}

.contact-info-card a:hover {
    text-decoration: underline;
}

.map-container {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* --- Downloads --- */
.download-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.download-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--white);
    border-radius: var(--radius-sm);
    border: 1px solid var(--gray-light);
    transition: var(--transition);
}

.download-item:hover {
    box-shadow: var(--shadow);
    border-color: var(--accent);
}

.download-item .icon {
    width: 40px;
    height: 40px;
    background: rgba(232, 73, 29, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.download-item span {
    font-weight: 500;
    color: var(--text);
}

/* --- Footer --- */
.footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-col ul li a:hover {
    color: var(--accent-light);
    padding-left: 4px;
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-contact-item .icon {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-light);
    flex-shrink: 0;
    font-size: 0.9rem;
}

.footer-contact-item .text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact-item .text strong {
    color: rgba(255, 255, 255, 0.9);
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

/* --- Scroll to Top --- */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 15px rgba(232, 73, 29, 0.35);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(232, 73, 29, 0.45);
}

/* --- License Group Tags --- */
.license-groups {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.license-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary);
    color: var(--white);
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.license-tag:hover {
    background: var(--accent);
    transform: scale(1.05);
}

/* --- eTesty Card --- */
.etesty-card {
    max-width: 800px;
    margin: 0 auto;
}

.etesty-card-inner {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    border: 2px solid var(--primary);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.etesty-icon {
    width: 80px;
    height: 80px;
    min-width: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.etesty-content h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.etesty-content p {
    font-size: 0.95rem;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .etesty-card-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 30px 20px;
    }
    .etesty-content div[style] {
        justify-content: center !important;
    }
}

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

@media (max-width: 768px) {
    html { font-size: 15px; }

    .hero-grid {
        grid-template-columns: 1fr;
        padding: 110px 20px 60px;
        gap: 30px;
        text-align: center;
    }

    .hero-content { text-align: center; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-trust { justify-content: center; }

    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1rem; max-width: 100%; margin-left: auto; margin-right: auto; }

    .hero-visual { margin-top: 10px; }
    .hero-car-img { max-width: 420px; }
    .hero-visual-glow { display: none; }

    .hero-floating-card { display: none; }
    .hero-shapes { display: none; }

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

    .hero-stats {
        gap: 24px;
    }

    .hero-stat .number {
        font-size: 1.8rem;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 30px 30px;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
        transition: right 0.4s ease;
        z-index: 1000;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        color: var(--text) !important;
        font-size: 1.1rem;
        padding: 12px 16px;
        width: 100%;
        border-radius: var(--radius-sm);
    }

    .nav-links a:hover,
    .nav-links a.active {
        background: rgba(232, 73, 29, 0.08) !important;
        color: var(--accent) !important;
    }

    .mobile-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    .mobile-overlay.active {
        display: block;
    }

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

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

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

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

    .page-header h1 {
        font-size: 2rem;
    }

    .content-card { padding: 24px; }

    .iframe-container { padding: 10px; }
    .iframe-container iframe { min-height: 500px; }

    /* 3-col info grids on subpages */
    [style*="grid-template-columns: 1fr 1fr 1fr"],
    [style*="grid-template-columns: repeat(3"] {
        grid-template-columns: 1fr !important;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.7rem; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.7rem; letter-spacing: -0.01em; }
    .hero-grid { padding-top: 100px; padding-bottom: 60px; }
    .hero-trust { gap: 12px; }
    .hero-trust-item { font-size: 0.75rem; }
    .hero-buttons { flex-direction: column; align-items: center; width: 100%; }
    .hero-buttons .btn { width: 100%; justify-content: center; }
    .hero-stats { flex-direction: row; gap: 16px; }
    .hero-stat .number { font-size: 1.5rem; }
    .hero-stat .label { font-size: 0.75rem; }
    .cta-section h2 { font-size: 1.8rem; }
    .services-grid { grid-template-columns: 1fr; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .cta-buttons .btn { width: 100%; justify-content: center; }
    .section { padding: 50px 0; }
    .section-header { margin-bottom: 36px; }
}
