/* ==========================================================================
   HROŠÁK AUTO-MOTO - DESIGN SYSTEM & STYLESHEET
   Adaptation of Servixa template with vibrant red accents and modern auto aesthetics
   ========================================================================== */

/* --- CSS Variables & Design Tokens --- */
:root {
    --primary-color: #e60000;
    --primary-hover: #b30000;
    --primary-glow: rgba(230, 0, 0, 0.25);
    
    --dark-bg-1: #0e1014;
    --dark-bg-2: #161920;
    --dark-card-bg: #1c2029;
    --dark-border: rgba(255, 255, 255, 0.08);
    
    --light-bg-1: #ffffff;
    --light-bg-2: #f8f9fa;
    --light-card-bg: #ffffff;
    --light-border: #e9ecef;
    
    --text-dark: #12151c;
    --text-muted-dark: #6c757d;
    --text-light: #ffffff;
    --text-muted-light: #a0a7b5;
    
    --font-heading: 'Montserrat', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-pill: 50px;
    
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.2);
    --shadow-accent: 0 10px 25px rgba(230, 0, 0, 0.3);
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--light-bg-1);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

ul {
    list-style: none;
}

button, input, textarea {
    font-family: inherit;
    border: none;
    outline: none;
}

img, svg {
    display: block;
    max-width: 100%;
}

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

.text-accent {
    color: var(--primary-color);
}

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

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

/* --- Typography & Section Headers --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
}

.section-header {
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
}

.section-header.text-center {
    align-items: center;
    text-align: center;
}

.section-header.text-left {
    align-items: flex-start;
    text-align: left;
}

.section-title {
    font-size: 2.5rem;
    margin-top: 10px;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
    width: 100%;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted-dark);
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.6;
}

.section-header.text-left .section-subtitle {
    margin: 0;
    text-align: left;
}

.light-text .section-title {
    color: var(--text-light);
}

.light-text .section-subtitle {
    color: var(--text-muted-light);
}

/* --- Eyebrow Badge --- */
.eyebrow-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary-color);
}

.eyebrow-dash {
    color: var(--primary-color);
    font-weight: 900;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--text-light);
    box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(230, 0, 0, 0.4);
}

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

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

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn-arrow {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* --- Top Bar & Header --- */
.top-line-bar {
    height: 4px;
    background: linear-gradient(90deg, #ff1a1a, #e60000, #990000);
    width: 100%;
}

.top-bar {
    background-color: var(--dark-bg-1);
    color: var(--text-muted-light);
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 1px solid var(--dark-border);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-contact-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-contact-item:hover {
    color: var(--primary-color);
}

.top-contact-item .icon {
    width: 15px;
    height: 15px;
    color: var(--primary-color);
}

.top-bar-divider {
    color: rgba(255, 255, 255, 0.2);
}

.social-label {
    font-size: 0.8rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    transition: var(--transition);
}

.social-icon svg {
    width: 14px;
    height: 14px;
}

.social-icon:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

/* --- Main Header Navigation --- */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(22, 25, 32, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--dark-border);
    padding: 15px 0;
    transition: var(--transition);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, #ff2a2a, #b30000);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(230, 0, 0, 0.4);
}

.logo-icon svg {
    width: 26px;
    height: 26px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.4rem;
    color: #ffffff;
    letter-spacing: 1px;
    line-height: 1;
}

.logo-sub {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.7rem;
    color: var(--primary-color);
    letter-spacing: 2px;
    margin-top: 2px;
}

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

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: #e0e6ed;
    position: relative;
    padding: 5px 0;
}

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

.nav-link:hover, .nav-link.active {
    color: #ffffff;
}

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

.header-cta-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    border-radius: 3px;
    transition: var(--transition);
}

/* --- 1. HERO SECTION --- */
.hero-section {
    position: relative;
    background-color: var(--dark-bg-2);
    background-image: 
        radial-gradient(circle at 80% 20%, rgba(230, 0, 0, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 10% 80%, rgba(230, 0, 0, 0.1) 0%, transparent 50%),
        linear-gradient(rgba(14, 16, 20, 0.90), rgba(22, 25, 32, 0.92)),
        url('imgs/bcg-hrosak.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
    padding: 90px 0 100px;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.hero-title {
    font-size: 3.4rem;
    font-weight: 900;
    margin: 15px 0 20px;
    letter-spacing: -1px;
    line-height: 1.15;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted-light);
    margin-bottom: 35px;
    max-width: 580px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 45px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 25px;
    padding-top: 25px;
    border-top: 1px solid var(--dark-border);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.6rem;
    color: var(--primary-color);
    line-height: 1;
}

.stat-desc {
    font-size: 0.8rem;
    color: var(--text-muted-light);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 35px;
    background-color: var(--dark-border);
}

/* Mascot Card & Visual */
.mascot-card-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

.mascot-card {
    position: relative;
    width: 100%;
    max-width: 440px;
    background: linear-gradient(145deg, #1c2029, #12151b);
    border: 2px solid rgba(230, 0, 0, 0.4);
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(230, 0, 0, 0.25);
    text-align: center;
    overflow: visible;
}

.mascot-img-container {
    width: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    display: flex;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mascot-hero-img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: var(--radius-md);
    display: block;
    transition: transform 0.4s ease;
}

.mascot-card:hover .mascot-hero-img {
    transform: scale(1.03);
}
    padding: 10px 20px;
    width: 100%;
}

.mascot-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.mascot-sub {
    font-size: 0.8rem;
    color: var(--primary-color);
    margin-top: 2px;
}

/* Floating Badges */
.floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    color: var(--text-dark);
    padding: 12px 18px;
    border-radius: var(--radius-md);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    z-index: 10;
    animation: float 4s ease-in-out infinite;
}

.badge-1 {
    top: -20px;
    left: -30px;
    animation-delay: 0s;
}

.badge-2 {
    bottom: -20px;
    right: -25px;
    animation-delay: 2s;
}

.badge-icon {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.badge-text strong {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.2;
}

.badge-text span {
    font-size: 0.75rem;
    color: var(--text-muted-dark);
}

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

/* --- 2. SEKCE SORTIMENT (SERVICES) --- */
.sortiment-section {
    padding: 90px 0;
    background-color: var(--light-bg-1);
}

.sortiment-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: start;
}

/* Category Vertical Menu */
.category-menu {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: var(--light-bg-2);
    padding: 15px;
    border-radius: var(--radius-md);
    border: 1px solid var(--light-border);
}

.category-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    background: #ffffff;
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    border: 1px solid var(--light-border);
    transition: var(--transition);
    text-align: left;
}

.category-btn .cat-arrow {
    width: 16px;
    height: 16px;
    color: var(--text-muted-dark);
    transition: transform 0.3s ease;
}

.category-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.category-btn.active {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
    box-shadow: var(--shadow-accent);
}

.category-btn.active .cat-arrow {
    color: #ffffff;
    transform: translateX(4px);
}

/* Cards Display Grid */
.sortiment-cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    transition: opacity 0.3s ease;
}

.service-card {
    background: #ffffff;
    border: 1px solid var(--light-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(230,0,0,0.3);
}

.service-card-image {
    position: relative;
    height: 180px;
    background: #1a1d24;
    overflow: hidden;
}

.service-card-image svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card-badge-icon {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--primary-color);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 2;
}

.service-card-badge-icon svg {
    width: 24px;
    height: 24px;
}

.service-card-body {
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.service-card-text {
    font-size: 0.9rem;
    color: var(--text-muted-dark);
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-card-btn {
    align-self: flex-start;
    padding: 10px 20px;
    font-size: 0.85rem;
}

/* --- 3. SEKCE VÝHODY (KEY FEATURES) --- */
.vyhody-section {
    position: relative;
    padding: 90px 0;
    background-color: var(--dark-bg-2);
    background-image: 
        radial-gradient(circle at 50% 50%, rgba(230, 0, 0, 0.18) 0%, transparent 60%),
        linear-gradient(rgba(14, 16, 20, 0.78), rgba(22, 25, 32, 0.82)),
        url('imgs/bcg-hrosak.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.vyhody-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.vyhoda-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 35px 25px 30px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.vyhoda-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.vyhoda-icon-box {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff2a2a, #b30000);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    box-shadow: 0 8px 20px rgba(230, 0, 0, 0.35);
}

.vyhoda-icon-box svg {
    width: 34px;
    height: 34px;
}

.vyhoda-title {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.vyhoda-text {
    font-size: 0.9rem;
    color: var(--text-muted-dark);
    line-height: 1.6;
}

/* --- 4. SEKCE PROCES (HOW TO WORK IT) --- */
.proces-section {
    padding: 0 0 90px;
    background-color: var(--light-bg-1);
    position: relative;
}

/* Running Marquee Banner */
.marquee-wrapper {
    background: var(--primary-color);
    color: #ffffff;
    padding: 14px 0;
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.1rem;
    letter-spacing: 1px;
    margin-bottom: 70px;
    box-shadow: 0 4px 15px rgba(230, 0, 0, 0.3);
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 30px;
    animation: marquee 25s linear infinite;
    flex-shrink: 0;
}

.marquee-star {
    opacity: 0.6;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

.container-proces {
    max-width: 1100px;
}

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

.step-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.step-icon-wrapper {
    position: relative;
    margin-bottom: 25px;
}

.step-icon-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff2a2a, #b30000);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(230, 0, 0, 0.35);
    transition: var(--transition);
}

.step-card:hover .step-icon-circle {
    transform: scale(1.08);
}

.step-icon-circle svg {
    width: 42px;
    height: 42px;
}

.step-number-badge {
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    border: 2px solid var(--primary-color);
}

.step-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.step-text {
    font-size: 0.92rem;
    color: var(--text-muted-dark);
    line-height: 1.6;
}

/* --- GALERIE PRACÍ --- */
.gallery-section {
    padding: 80px 0;
    background-color: var(--light-bg-2);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--light-border);
    background-color: #12151b;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: block;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(14, 16, 20, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(2px);
}

.gallery-overlay svg {
    width: 36px;
    height: 36px;
    color: var(--primary-color);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay svg {
    transform: scale(1);
}

/* Lightbox Modal */
.gallery-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.gallery-modal.active {
    display: flex;
}

.gallery-modal-img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.1);
    object-fit: contain;
}

.gallery-modal-close {
    position: absolute;
    top: 25px;
    right: 25px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.gallery-modal-close:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* --- 5. SEKCE FORMULÁŘ (INQUIRY FORM) --- */
.form-section {
    padding: 30px 0 90px;
    background-color: var(--light-bg-1);
}

.form-card {
    background: #ffffff;
    border: 2px solid var(--light-border);
    border-radius: var(--radius-lg);
    padding: 50px 40px;
    box-shadow: var(--shadow-lg);
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.form-header {
    margin-bottom: 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.form-title {
    font-size: 2.2rem;
    margin-bottom: 10px;
    text-align: center;
}

.form-subtitle {
    color: var(--text-muted-dark);
    font-size: 1rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 30px;
}

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

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid var(--light-border);
    border-radius: var(--radius-sm);
    background-color: var(--light-bg-2);
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary-color);
    background-color: #ffffff;
    box-shadow: 0 0 0 4px var(--primary-glow);
}

.form-hint {
    font-size: 0.78rem;
    color: var(--text-muted-dark);
}

.file-upload-box {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: var(--light-bg-2);
    border: 1.5px dashed #cbd5e1;
    border-radius: var(--radius-sm);
}

.btn-upload {
    padding: 10px 20px;
    font-size: 0.85rem;
}

.file-name-display {
    font-size: 0.85rem;
    color: var(--text-muted-dark);
    font-style: italic;
}

.form-footer {
    display: flex;
    justify-content: center;
}

.btn-submit {
    width: 100%;
    max-width: 400px;
}

/* Success Message Modal/Card */
.form-success-message {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
}

.form-success-message.active {
    display: flex;
}

.success-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #10b981;
    color: #ffffff;
    font-size: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
}

.form-success-message h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.form-success-message p {
    color: var(--text-muted-dark);
    max-width: 550px;
    margin-bottom: 25px;
}

/* --- 6. PATIČKA (FOOTER) --- */
.main-footer {
    background-color: var(--dark-bg-1);
    color: var(--text-muted-light);
    padding-top: 80px;
    border-top: 1px solid var(--dark-border);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 60px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 10px;
}

.footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-btn svg {
    width: 16px;
    height: 16px;
}

.social-btn:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: var(--primary-color);
}

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

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact-info p, .footer-company-info p {
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.footer-contact-info a {
    color: #ffffff;
    font-weight: 600;
}

.footer-contact-info a:hover {
    color: var(--primary-color);
}

.company-name {
    color: #ffffff;
    font-weight: 700;
}

.ico-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.08);
    padding: 4px 10px;
    border-radius: 4px;
    color: #ffffff;
    font-weight: 600;
    margin-top: 5px;
}

.footer-bottom {
    background-color: #080a0c;
    padding: 20px 0;
    border-top: 1px solid var(--dark-border);
    font-size: 0.85rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.credits {
    opacity: 0.6;
}

/* --- Mobile CTA Button (hidden on desktop, shown inside mobile menu) --- */
.btn-mobile-cta {
    display: none;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

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

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

    .sortiment-layout {
        grid-template-columns: 1fr;
    }

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

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

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

@media (max-width: 768px) {
    .top-bar-content {
        flex-direction: row;
        justify-content: center;
        gap: 8px;
    }

    .top-bar-hide-mobile {
        display: none !important;
    }

    .nav-menu {
        position: fixed;
        top: 75px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 75px);
        background-color: var(--dark-bg-2);
        flex-direction: column;
        justify-content: center;
        gap: 25px;
        transition: 0.4s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    /* Hide desktop CTA from header bar on mobile */
    .btn-header {
        display: none;
    }

    /* Show CTA inside the mobile nav menu */
    .btn-mobile-cta {
        display: inline-flex;
        margin-top: 10px;
        padding: 14px 32px;
        font-size: 1rem;
        align-self: center;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.3rem;
    }

    .sortiment-cards-container {
        grid-template-columns: 1fr;
    }

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

    .proces-steps-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .form-group.full-width {
        grid-column: span 1;
    }

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

    .footer-bottom-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .badge-1, .badge-2 {
        position: relative;
        top: auto;
        bottom: auto;
        left: auto;
        right: auto;
        margin-top: 15px;
    }
}

/* --- SUBPAGE HERO & LEGAL PAGES --- */
.subpage-hero {
    padding: 60px 0 50px;
    background-color: var(--dark-bg-2);
    background-image: 
        radial-gradient(circle at 80% 20%, rgba(230, 0, 0, 0.15) 0%, transparent 40%),
        linear-gradient(rgba(14, 16, 20, 0.92), rgba(22, 25, 32, 0.95)),
        url('imgs/bcg-hrosak.webp');
    background-size: cover;
    background-position: center;
    color: #ffffff;
    text-align: center;
    border-bottom: 1px solid var(--dark-border);
}

.subpage-title {
    font-size: 2.8rem;
    font-weight: 900;
    margin-top: 10px;
    margin-bottom: 10px;
}

.subpage-subtitle {
    font-size: 1rem;
    color: var(--text-muted-light);
}

.legal-section {
    padding: 60px 0 90px;
    background-color: var(--light-bg-2);
}

.legal-card {
    background: #ffffff;
    border: 1px solid var(--light-border);
    border-radius: var(--radius-lg);
    padding: 50px 45px;
    box-shadow: var(--shadow-md);
    max-width: 960px;
    margin: 0 auto;
}

.legal-article {
    margin-bottom: 40px;
    padding-bottom: 35px;
    border-bottom: 1px solid var(--light-border);
}

.legal-article:last-of-type {
    border-bottom: none;
    margin-bottom: 30px;
    padding-bottom: 0;
}

.legal-article h2 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 18px;
    font-weight: 800;
}

.legal-article p {
    font-size: 0.98rem;
    color: #334155;
    line-height: 1.7;
    margin-bottom: 14px;
}

.legal-article p a {
    color: var(--primary-color);
    font-weight: 600;
}

.legal-article p a:hover {
    text-decoration: underline;
}

.legal-article ul {
    margin: 15px 0 20px 20px;
    list-style: disc;
}

.legal-article li {
    font-size: 0.98rem;
    color: #334155;
    line-height: 1.6;
    margin-bottom: 8px;
}

.legal-contact-list {
    list-style: none !important;
    margin-left: 0 !important;
}

.legal-summary-box {
    margin-top: 40px;
    padding: 30px;
    background: var(--light-bg-2);
    border: 1.5px solid var(--light-border);
    border-left: 4px solid var(--primary-color);
    border-radius: var(--radius-md);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.summary-col h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 10px;

}

.summary-col p {
    font-size: 0.92rem;
    color: var(--text-muted-dark);
    margin-bottom: 6px;
}

.summary-title {
    font-weight: 700;
    color: var(--text-dark) !important;
}

@media (max-width: 768px) {
    .legal-card {
        padding: 30px 20px;
    }

    .subpage-title {
        font-size: 2rem;
    }

    .legal-summary-box {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }
}
