/* ============================================
   AUTOŠKOLA FIAMČÍK — Design System
   Červená (#C62828) + Tmavá (#1A1A2E) + Žltá (#FFC107)
   Fonty: Montserrat + Source Sans 3
   ============================================ */

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

:root {
    --red: #C62828;
    --red-dark: #A01E1E;
    --red-light: #EF5350;
    --dark: #1A1A2E;
    --dark2: #16213E;
    --dark3: #0F3460;
    --yellow: #FFC107;
    --yellow-dark: #FFA000;
    --white: #FFFFFF;
    --gray-50: #F8F9FA;
    --gray-100: #F1F3F5;
    --gray-200: #E9ECEF;
    --gray-300: #DEE2E6;
    --gray-400: #ADB5BD;
    --gray-500: #6C757D;
    --gray-600: #495057;
    --gray-700: #343A40;
    --gray-800: #212529;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Source Sans 3', sans-serif;
    --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,.15);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: .3s ease;
    --max-width: 1200px;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
    color: var(--gray-700);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--red-dark); }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-800);
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }

.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: .5px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}
.btn-primary {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
}
.btn-primary:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(198,40,40,.3);
}
.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,.4);
}
.btn-outline:hover {
    background: var(--white);
    color: var(--dark);
    border-color: var(--white);
}
.btn-outline-dark {
    background: transparent;
    color: var(--dark);
    border-color: var(--gray-300);
}
.btn-outline-dark:hover {
    background: var(--dark);
    color: var(--white);
    border-color: var(--dark);
}
.btn-yellow {
    background: var(--yellow);
    color: var(--dark);
    border-color: var(--yellow);
}
.btn-yellow:hover {
    background: var(--yellow-dark);
    border-color: var(--yellow-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,193,7,.3);
}
.btn-sm { padding: 10px 22px; font-size: 13px; }
.btn-group { display: flex; gap: 16px; flex-wrap: wrap; }

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition);
}
.nav.scrolled {
    background: rgba(26,26,46,.95);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,.2);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}
.nav-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 22px;
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}
.nav-logo:hover { color: var(--yellow); }
.nav-logo-icon {
    width: 38px;
    height: 38px;
    background: var(--red);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--white);
}
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
    color: rgba(255,255,255,.85);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .5px;
    text-decoration: none;
    transition: color var(--transition);
    position: relative;
}
.nav-links a:hover,
.nav-links a.active { color: var(--yellow); }
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--yellow);
    transition: width var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 24px;
    background: var(--red);
    color: var(--white) !important;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.nav-cta:hover { background: var(--red-dark); color: var(--white); transform: translateY(-1px); }
.nav-cta::after { display: none !important; }

/* Mobile menu */
.nav-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    margin: 6px 0;
    transition: all var(--transition);
}
.mobile-drawer {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--dark);
    z-index: 2000;
    transition: right .4s ease;
    padding: 80px 30px 30px;
    overflow-y: auto;
}
.mobile-drawer.open { right: 0; }
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 1999;
    opacity: 0;
    transition: opacity .3s;
}
.mobile-overlay.open { opacity: 1; }
.mobile-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 28px;
    cursor: pointer;
}
.mobile-drawer a {
    display: block;
    color: rgba(255,255,255,.85);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 16px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,.1);
    text-decoration: none;
}
.mobile-drawer a:hover { color: var(--yellow); }

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 50%, var(--dark3) 100%);
    overflow: hidden;
    padding: 120px 0 80px;
}
.hero-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(198,40,40,.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,193,7,.1) 0%, transparent 50%);
    pointer-events: none;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.hero-content { position: relative; z-index: 2; }
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(198,40,40,.2);
    border: 1px solid rgba(198,40,40,.4);
    border-radius: 50px;
    color: var(--red-light);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}
.hero h1 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: clamp(2.4rem, 5vw, 3.6rem);
}
.hero h1 span { color: var(--yellow); }
.hero-subtitle {
    color: rgba(255,255,255,.7);
    font-size: 1.15rem;
    margin-bottom: 32px;
    max-width: 520px;
}
.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 48px;
}
.hero-stat { text-align: center; }
.hero-stat-num {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--yellow);
    line-height: 1;
}
.hero-stat-label {
    font-size: 13px;
    color: rgba(255,255,255,.6);
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-badge-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    max-width: 420px;
}
.hero-badge {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--radius-md);
    padding: 16px 8px;
    text-align: center;
    transition: all var(--transition);
}
.hero-badge:hover {
    background: rgba(198,40,40,.15);
    border-color: rgba(198,40,40,.4);
    transform: translateY(-4px);
}
.hero-badge-letter {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--white);
}
.hero-badge-name {
    font-size: 10px;
    color: rgba(255,255,255,.5);
    margin-top: 4px;
    text-transform: uppercase;
}
.hero-badge.popular {
    background: rgba(198,40,40,.2);
    border-color: var(--red);
}
.hero-badge.popular .hero-badge-letter { color: var(--yellow); }

/* --- Page Hero (inner pages) --- */
.page-hero {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%);
    padding: 140px 0 60px;
    text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero-subtitle { color: rgba(255,255,255,.6); font-size: 1.1rem; }

/* --- Sections --- */
.section { padding: 80px 0; }
.section-alt { background: var(--gray-50); }
.section-dark { background: var(--dark); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,.7); }

.section-header {
    text-align: center;
    margin-bottom: 56px;
}
.section-tag {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(198,40,40,.1);
    color: var(--red);
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}
.section-dark .section-tag {
    background: rgba(255,193,7,.15);
    color: var(--yellow);
}
.section-header p {
    max-width: 640px;
    margin: 16px auto 0;
    color: var(--gray-500);
    font-size: 1.05rem;
}
.section-dark .section-header p { color: rgba(255,255,255,.6); }

/* --- Why Us Cards --- */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.why-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: all var(--transition);
}
.why-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--red);
}
.why-card-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: rgba(198,40,40,.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}
.why-card:hover .why-card-icon { background: var(--red); color: var(--white); }
.why-card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.why-card p { font-size: 15px; color: var(--gray-500); }

/* --- License Groups Grid --- */
.groups-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.group-card {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius-md);
    padding: 24px 16px;
    text-align: center;
    transition: all var(--transition);
    cursor: default;
}
.group-card:hover {
    background: rgba(198,40,40,.15);
    border-color: var(--red);
    transform: translateY(-4px);
}
.group-letter {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--white);
}
.group-name {
    font-size: 12px;
    color: rgba(255,255,255,.5);
    margin-top: 4px;
}
.group-age {
    display: inline-block;
    margin-top: 8px;
    padding: 3px 10px;
    background: rgba(255,193,7,.15);
    color: var(--yellow);
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
}
.group-card.popular .group-letter { color: var(--yellow); }

/* Light variant for kurzy page */
.groups-grid-light { }
.groups-grid-light .group-card {
    background: var(--white);
    border-color: var(--gray-200);
    box-shadow: var(--shadow-sm);
}
.groups-grid-light .group-card:hover {
    border-color: var(--red);
    box-shadow: var(--shadow-md);
}
.groups-grid-light .group-letter { color: var(--red); }
.groups-grid-light .group-name { color: var(--gray-500); }
.groups-grid-light .group-age { background: rgba(198,40,40,.1); color: var(--red); }
.groups-grid-light .group-price {
    display: block;
    margin-top: 8px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--gray-800);
}
.groups-grid-light .group-card.popular { border-color: var(--red); background: rgba(198,40,40,.03); }
.groups-grid-light .group-card.popular .group-letter { color: var(--red); }

/* --- Vehicle Cards --- */
.vehicles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.vehicle-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: all var(--transition);
}
.vehicle-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.vehicle-img {
    height: 200px;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--gray-400);
}
.vehicle-body { padding: 24px; }
.vehicle-body h3 { margin-bottom: 8px; }
.vehicle-body p { font-size: 15px; color: var(--gray-500); margin-bottom: 12px; }
.vehicle-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.vehicle-tag {
    padding: 4px 12px;
    background: rgba(198,40,40,.1);
    color: var(--red);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    font-family: var(--font-heading);
}

/* --- News Cards --- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.news-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: all var(--transition);
}
.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.news-date {
    font-size: 13px;
    color: var(--gray-400);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 10px;
}
.news-card h3 { margin-bottom: 12px; font-size: 1.15rem; }
.news-card p { font-size: 15px; color: var(--gray-500); }

/* --- CTA Section --- */
.cta-section {
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}
.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,.8); font-size: 1.15rem; margin-bottom: 32px; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-section .btn-outline { border-color: rgba(255,255,255,.4); }
.cta-section .btn-outline:hover { background: var(--white); color: var(--red); border-color: var(--white); }

/* --- Steps --- */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    counter-reset: step;
}
.step-card {
    text-align: center;
    padding: 32px 20px;
    counter-increment: step;
    position: relative;
}
.step-num {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    background: var(--red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--white);
}
.step-card h3 { margin-bottom: 8px; font-size: 1rem; }
.step-card p { font-size: 14px; color: var(--gray-500); }

/* --- FAQ / Accordion --- */
.accordion { max-width: 800px; margin: 0 auto; }
.accordion-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
}
.accordion-header {
    padding: 20px 24px;
    background: var(--white);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: var(--gray-700);
    transition: all var(--transition);
    border: none;
    width: 100%;
    text-align: left;
}
.accordion-header:hover { background: var(--gray-50); color: var(--red); }
.accordion-header.active { color: var(--red); background: var(--gray-50); }
.accordion-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition);
    flex-shrink: 0;
}
.accordion-header.active .accordion-icon { transform: rotate(180deg); }
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease;
}
.accordion-content-inner { padding: 0 24px 20px; color: var(--gray-500); font-size: 15px; }

/* --- Instructor Cards --- */
.instructors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.instructor-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
}
.instructor-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--gray-400);
}
.instructor-card h3 { margin-bottom: 4px; }
.instructor-role { color: var(--red); font-weight: 600; font-size: 14px; margin-bottom: 12px; }
.instructor-card p { font-size: 15px; color: var(--gray-500); }

/* --- Contact Layout --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}
.contact-info-cards { display: flex; flex-direction: column; gap: 20px; }
.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
}
.contact-card-icon {
    width: 48px;
    height: 48px;
    background: rgba(198,40,40,.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.contact-card h4 { margin-bottom: 4px; font-size: 1rem; }
.contact-card p { font-size: 15px; color: var(--gray-500); margin: 0; }
.contact-card a { color: var(--red); font-weight: 600; }

/* Hours table */
.hours-table { width: 100%; border-collapse: collapse; margin-top: 16px; }
.hours-table td { padding: 8px 0; font-size: 15px; border-bottom: 1px solid var(--gray-100); }
.hours-table td:first-child { font-weight: 600; color: var(--gray-700); }
.hours-table td:last-child { text-align: right; color: var(--gray-500); }

/* --- Forms --- */
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 14px;
    color: var(--gray-700);
}
.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 16px;
    transition: border-color var(--transition);
    background: var(--white);
    color: var(--gray-800);
}
.form-control:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(198,40,40,.1);
}
select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236C757D' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}
textarea.form-control { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-message {
    display: none;
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    margin-top: 16px;
    font-weight: 600;
    font-size: 15px;
}
.form-message.success { background: #E8F5E9; color: #2E7D32; display: block; }
.form-message.error { background: #FFEBEE; color: #C62828; display: block; }
.hp-field { position: absolute; left: -9999px; }

/* --- Map --- */
.map-wrap {
    margin-top: 40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.map-wrap iframe { width: 100%; height: 400px; border: none; }

/* --- Reviews --- */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.review-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
}
.review-stars { color: var(--yellow); font-size: 18px; margin-bottom: 12px; }
.review-card p { font-size: 15px; color: var(--gray-500); margin-bottom: 12px; font-style: italic; }
.review-author { font-weight: 600; color: var(--gray-700); font-size: 14px; }

/* --- History Timeline --- */
.timeline { max-width: 700px; margin: 0 auto; }
.timeline-item {
    display: flex;
    gap: 24px;
    padding-bottom: 32px;
    position: relative;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: 19px;
    top: 48px;
    bottom: 0;
    width: 2px;
    background: var(--gray-200);
}
.timeline-item:last-child::before { display: none; }
.timeline-dot {
    width: 40px;
    height: 40px;
    background: var(--red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 12px;
    flex-shrink: 0;
}
.timeline-content h3 { margin-bottom: 4px; font-size: 1.1rem; }
.timeline-content p { color: var(--gray-500); font-size: 15px; }

/* --- Footer --- */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,.6);
    padding: 60px 0 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-brand h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 12px;
}
.footer-brand p { font-size: 15px; }
.footer h4 { color: var(--white); margin-bottom: 16px; font-size: 1rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    color: rgba(255,255,255,.6);
    font-size: 15px;
    transition: color var(--transition);
    text-decoration: none;
}
.footer-links a:hover { color: var(--yellow); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}
.footer-bottom a { color: rgba(255,255,255,.6); }
.footer-bottom a:hover { color: var(--yellow); }

/* --- Cookie Consent --- */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 480px;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-xl);
    z-index: 9999;
    border: 1px solid var(--gray-200);
}
.cookie-banner.visible { display: block; }
.cookie-banner p { font-size: 14px; color: var(--gray-500); margin-bottom: 16px; }
.cookie-btns { display: flex; gap: 12px; }

/* --- Back to Top --- */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: var(--red);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-md);
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--red-dark); transform: translateY(-2px); }

/* --- Animations --- */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .6s ease, transform .6s ease;
}
.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- 404 --- */
.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--gray-50);
}
.error-page h1 {
    font-size: 8rem;
    color: var(--red);
    line-height: 1;
    margin-bottom: 16px;
}
.error-page p { font-size: 1.2rem; color: var(--gray-500); margin-bottom: 32px; }

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-stats { justify-content: center; }
    .hero-visual { margin-top: 40px; }
    .hero-badge-grid { margin: 0 auto; }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .groups-grid { grid-template-columns: repeat(4, 1fr); }
    .vehicles-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .reviews-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-hamburger { display: block; }
    .mobile-drawer, .mobile-overlay { display: block; }
    .hero { padding: 100px 0 60px; min-height: auto; }
    .hero h1 { font-size: 2rem; }
    .hero-stats { gap: 24px; flex-wrap: wrap; }
    .hero-badge-grid { grid-template-columns: repeat(4, 1fr); max-width: 320px; }
    .groups-grid { grid-template-columns: repeat(3, 1fr); }
    .why-grid { grid-template-columns: 1fr; }
    .vehicles-grid { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .reviews-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .form-row { grid-template-columns: 1fr; }
    .section { padding: 60px 0; }
    .btn-group { flex-direction: column; align-items: stretch; }
    .btn-group .btn { justify-content: center; }
}

@media (max-width: 480px) {
    .hero-badge-grid { grid-template-columns: repeat(4, 1fr); gap: 8px; }
    .hero-badge { padding: 12px 6px; }
    .hero-badge-letter { font-size: 1rem; }
    .groups-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   ADMIN STYLES
   ============================================ */
.admin-wrap { display: flex; min-height: 100vh; }
.admin-sidebar {
    width: 240px;
    background: var(--dark);
    color: var(--white);
    padding: 24px 0;
    flex-shrink: 0;
}
.admin-sidebar h2 {
    color: var(--white);
    font-size: 1rem;
    padding: 0 20px 20px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    margin-bottom: 16px;
}
.admin-nav { list-style: none; }
.admin-nav li a {
    display: block;
    padding: 12px 20px;
    color: rgba(255,255,255,.7);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all var(--transition);
    border-left: 3px solid transparent;
}
.admin-nav li a:hover,
.admin-nav li a.active {
    color: var(--white);
    background: rgba(255,255,255,.05);
    border-left-color: var(--red);
}
.admin-main { flex: 1; padding: 32px; background: var(--gray-50); overflow-y: auto; }
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}
.admin-header h1 { font-size: 1.5rem; }

/* Admin login */
.admin-login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-50);
}
.admin-login-box {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px;
    width: 100%;
    max-width: 400px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}
.admin-login-box h1 { font-size: 1.5rem; margin-bottom: 8px; }
.admin-login-box p { color: var(--gray-500); margin-bottom: 32px; }

/* Admin table */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.admin-table th {
    text-align: left;
    padding: 14px 16px;
    background: var(--gray-100);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--gray-600);
    font-weight: 600;
}
.admin-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--gray-100);
    font-size: 15px;
}
.admin-table tr:hover td { background: var(--gray-50); }
.admin-btn-sm {
    padding: 6px 14px;
    font-size: 12px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all var(--transition);
}
.admin-btn-edit { background: rgba(198,40,40,.1); color: var(--red); }
.admin-btn-edit:hover { background: var(--red); color: var(--white); }
.admin-btn-del { background: rgba(220,53,69,.1); color: #DC3545; }
.admin-btn-del:hover { background: #DC3545; color: var(--white); }
.admin-btn-save { background: var(--red); color: var(--white); }
.admin-btn-save:hover { background: var(--red-dark); }

/* Admin modal */
.admin-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 5000;
    align-items: center;
    justify-content: center;
}
.admin-modal-overlay.open { display: flex; }
.admin-modal {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}
.admin-modal h2 { margin-bottom: 24px; font-size: 1.3rem; }
.admin-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
}

/* Doskolovanie section */
.doskol-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.doskol-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
}
.doskol-card h3 { margin-bottom: 10px; }
.doskol-card p { font-size: 15px; color: var(--gray-500); }

/* Trenazer */
.trenazer-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
}
.trenazer-visual {
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    color: var(--gray-400);
}

@media (max-width: 768px) {
    .admin-wrap { flex-direction: column; }
    .admin-sidebar { width: 100%; }
    .admin-main { padding: 20px; }
    .doskol-grid { grid-template-columns: 1fr; }
    .trenazer-card { grid-template-columns: 1fr; }
}
