/* ========================================
   PÔVODNÝ ŠTÝL - s-am.sk (UPRAVENÝ)
   ======================================== */

:root {
    --gold: #c9a84c;
    --gold-dark: #a8892e;
    --gold-light: #e8d5a3;
    --dark: #0a0a0a;
    --dark-card: #141414;
    --dark-lighter: #1e1e1e;
    --text-light: #f5f0ea;
    --text-muted: #888;
    --bg-section: #0a0a0a;
    --bg-alt: #111;
    --border-color: #222;
    --radius: 12px;
    --transition: all 0.3s ease;
    --font-sans: 'Sora', sans-serif;
    --font-serif: 'DM Serif Display', serif;
}

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

html {
    scroll-behavior: smooth;
}

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

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

a:hover {
    color: var(--gold-light);
}

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

.section {
    padding: 80px 0;
}

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

.section-label {
    display: inline-block;
    background: rgba(201, 168, 76, 0.12);
    color: var(--gold);
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #fff;
}

.section-title em {
    color: var(--gold);
    font-style: italic;
}

.section-desc {
    color: var(--text-muted);
    max-width: 640px;
    font-size: 1.05rem;
    margin-bottom: 40px;
}

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

/* ========================================
   BUTTONS
   ======================================== */
.btn-primary {
    background: var(--gold);
    color: #0a0a0a;
    padding: 10px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--gold-light);
    color: #0a0a0a;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(201, 168, 76, 0.2);
}

.btn-hero {
    background: var(--gold);
    color: #0a0a0a;
    padding: 14px 36px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    display: inline-block;
}

.btn-hero:hover {
    background: var(--gold-light);
    color: #0a0a0a;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(201, 168, 76, 0.25);
}

.btn-ghost {
    border: 1px solid var(--border-color);
    color: var(--text-light);
    padding: 14px 28px;
    border-radius: 40px;
    font-weight: 500;
    transition: var(--transition);
    display: inline-block;
}

.btn-ghost:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.btn-cta {
    background: var(--gold);
    color: #0a0a0a;
    padding: 14px 40px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    display: inline-block;
}

.btn-cta:hover {
    background: var(--gold-light);
    color: #0a0a0a;
    transform: translateY(-2px);
}

/* ========================================
   HEADER
   ======================================== */
header {
    padding: 14px 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(12px);
    z-index: 100;
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ========================================
   LOGO
   ======================================== */
.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #fff;
    text-decoration: none;
}

.logo-mark {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    position: relative;
    padding: 2px 14px 2px 10px;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.08), rgba(201, 168, 76, 0.02));
    border-radius: 10px;
    border: 1px solid rgba(201, 168, 76, 0.15);
}
.logo-mark .logo-s {
    color: #ffffff;
}

.logo-mark .logo-a {
    color: #c9a84c;
}

.logo-mark .logo-m {
    color: #ffffff;
}


.logo-tagline {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 300;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-left: 1px solid var(--border-color);
    padding-left: 14px;
    max-width: 130px;
    line-height: 1.3;
}

nav {
    display: flex;
    gap: 28px;
    align-items: center;
}

nav a {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 400;
    transition: var(--transition);
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: var(--transition);
}

nav a:hover {
    color: #fff;
}

nav a:hover::after {
    width: 100%;
}

/* ========================================
   HERO
   ======================================== */
.hero {
    padding: 60px 0 80px;
    background: linear-gradient(180deg, #0a0a0a 0%, #111 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.03), transparent 70%);
    border-radius: 50%;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(201, 168, 76, 0.1);
    color: var(--gold);
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 20px;
    border: 1px solid rgba(201, 168, 76, 0.1);
}

.hero-left h1 {
    font-family: var(--font-serif);
    font-size: 3.6rem;
    line-height: 1.08;
    margin-bottom: 20px;
    color: #fff;
}

.hero-left h1 em {
    color: var(--gold);
    font-style: italic;
}

.hero-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 500px;
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.hero-stat .stat-num {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    color: var(--gold);
    font-weight: 700;
}

.hero-stat .stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ========================================
   HERO CARD
   ======================================== */
.hero-visual {
    display: flex;
    justify-content: center;
}

.hero-card {
    background: var(--dark-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 32px;
    max-width: 420px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.hero-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.shield-icon {
    font-size: 2.2rem;
}

.hero-card-title {
    font-weight: 600;
    font-size: 1.1rem;
    color: #fff;
}

.hero-card-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.benefit-list {
    list-style: none;
    margin-bottom: 24px;
}

.benefit-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.benefit-list li:last-child {
    border-bottom: none;
}

.benefit-list li::before {
    content: "✓";
    color: var(--gold);
    font-weight: 700;
    font-size: 1rem;
}

.hero-card-badge {
    background: rgba(201, 168, 76, 0.06);
    border: 1px solid rgba(201, 168, 76, 0.12);
    border-radius: 8px;
    padding: 14px 18px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.hero-card-badge strong {
    color: var(--gold);
}

/* ========================================
   RESPONZÍVNA VERZIA (ZÁKLADNÁ)
   ======================================== */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-visual {
        order: -1;
    }

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

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

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

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

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

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

    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .nav-inner {
        flex-wrap: wrap;
        gap: 12px;
    }

    nav {
        order: 3;
        width: 100%;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 10px;
        padding-left: 4px;
    }

    nav a {
        font-size: 0.75rem;
    }

    .hero-left h1 {
        font-size: 2.4rem;
    }

    .hero-stats {
        gap: 24px;
        flex-wrap: wrap;
    }

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

    .hero-card {
        padding: 20px;
    }

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

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

    .legal-cta-box {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }

    .logo-tagline {
        display: none;
    }

    .logo-mark {
        font-size: 1.6rem;
        padding: 2px 10px;
    }

    /* ABOUT – tvrdé nastavenie šírky */
    .about-left,
    .about-right {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

    .about-grid {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }

    .about-visual-card {
        padding: 16px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .compare-item {
        grid-template-columns: 1fr auto auto !important;
        gap: 4px 8px !important;
        font-size: 0.75rem !important;
        padding: 6px 0 !important;
    }

    .compare-label {
        font-size: 0.75rem !important;
        white-space: normal !important;
        word-break: break-word !important;
    }

    .compare-tag {
        font-size: 0.6rem !important;
        padding: 2px 6px !important;
        white-space: nowrap !important;
    }

    /* AUTELA CARD */
    .autela-card .car-item {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px 12px;
        padding: 8px 12px;
    }

    .autela-card .car-thumb {
        width: 50px;
        height: 50px;
        flex-shrink: 0;
    }

    .autela-card .car-info {
        flex: 1 1 60%;
        min-width: 120px;
    }

    .autela-card .car-price {
        font-size: 0.85rem;
        margin-left: auto;
    }

    .autela-card .sam-verified {
        font-size: 0.8rem;
        margin-left: 4px;
    }

    /* PRICING */
    .pricing-card {
        padding: 28px 20px;
    }

    .pricing-card .pricing-features {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .pricing-card .price-amount {
        font-size: 40px;
    }

    .pricing-card .price-period {
        font-size: 18px;
    }

    /* VIDEOBOX */
    .videobox-wrapper {
        padding: 0 16px;
    }

    .videobox-placeholder {
        padding: 40px 20px;
    }

    /* FOOTER */
    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

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

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }

    .hero-actions a {
        text-align: center;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 16px;
    }

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

    .hero-left h1 {
        font-size: 2rem;
    }

    /* ABOUT – ešte menšie medzery */
    .compare-item {
        grid-template-columns: 1fr 1fr !important;
        gap: 2px 6px !important;
        font-size: 0.7rem !important;
    }

    .compare-tag {
        font-size: 0.55rem !important;
        padding: 1px 4px !important;
    }

    .about-visual-card {
        padding: 12px !important;
    }

    /* AUTELA */
    .autela-card .car-item {
        gap: 6px 8px;
        padding: 6px 8px;
    }

    .autela-card .car-thumb {
        width: 40px;
        height: 40px;
    }

    .autela-card .car-info {
        min-width: 80px;
        flex: 1 1 50%;
    }

    .autela-card .car-price {
        font-size: 0.75rem;
    }

    .autela-card .sam-verified {
        font-size: 0.7rem;
    }

    /* PRICING */
    .pricing-card {
        padding: 20px 16px;
    }

    .pricing-card .price-amount {
        font-size: 32px;
    }

    .pricing-card .pricing-features li {
        font-size: 14px;
    }

    .pricing-card .pricing-badge {
        font-size: 12px;
        padding: 3px 14px;
    }

    /* FOOTER */
    .footer-links {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ========================================
   DOPLNKOVÉ ŠTÝLY PRE ĎALŠIE SEKCIE
   ======================================== */

/* ABOUT */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 28px;
}

.feature-row {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-text strong {
    display: block;
    font-weight: 600;
    color: #fff;
}

.feature-text span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.about-visual-card {
    background: var(--dark-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 28px 32px;
}

.vc-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #fff;
}

.compare-item {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    align-items: center;
    font-size: 0.9rem;
}

.compare-item:last-child {
    border-bottom: none;
}

.compare-label {
    color: var(--text-muted);
}

.compare-tag {
    font-size: 0.75rem;
    padding: 2px 12px;
    border-radius: 12px;
    font-weight: 500;
}

.tag-no {
    background: rgba(255, 60, 60, 0.1);
    color: #ff6b6b;
}

.tag-yes {
    background: rgba(60, 255, 120, 0.1);
    color: #4cdf8b;
}

/* LEGAL */
#legal {
    padding: 80px 0;
    background: var(--bg-alt);
}

.legal-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 48px;
}

.legal-intro {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.legal-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 48px;
}

.legal-card {
    background: var(--dark-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 28px 24px;
}

.lc-icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.lc-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #fff;
}

.lc-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.lc-list {
    list-style: none;
}

.lc-list li {
    color: var(--text-muted);
    font-size: 0.85rem;
    padding: 4px 0;
}

.lc-list li::before {
    content: "• ";
    color: var(--gold);
}

.legal-cta-box {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border-radius: var(--radius);
    padding: 36px 44px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.lcta-text {
    color: #0a0a0a;
    font-weight: 600;
    font-size: 1.1rem;
}

.lcta-sub {
    font-weight: 400;
    font-size: 0.85rem;
    opacity: 0.8;
    margin-top: 4px;
}

.lcta-right .btn-cta {
    background: #0a0a0a;
    color: #fff;
}

.lcta-right .btn-cta:hover {
    background: #1e1e1e;
}

/* STANDARDS */
.standards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.std-card {
    background: var(--dark-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 28px 24px;
    text-align: center;
}

.std-icon {
    font-size: 2.4rem;
    display: block;
    margin-bottom: 12px;
}

.std-title {
    font-weight: 600;
    margin-bottom: 6px;
    color: #fff;
}

.std-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* TECH */
#tech {
    padding: 80px 0;
    background: var(--dark);
}

.tech-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.tech-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.tech-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.tf-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.tf-title {
    font-weight: 600;
    color: #fff;
}

.tf-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* VIDEOBOX */
.videobox-wrapper {
    margin-top: 48px;
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
}

.videobox-placeholder {
    background: #0a0a0a;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    aspect-ratio: 16 / 9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.videobox-icon {
    font-size: 4rem;
    color: var(--gold);
}

.videobox-text {
    font-size: 1.1rem;
    font-weight: 500;
    color: #fff;
}

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

/* AUTELA CARD */
.autela-card {
    background: var(--dark-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 24px;
}

.autela-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.autela-logo {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 700;
}

.autela-logo span {
    color: var(--gold);
}

.autela-badge {
    font-size: 0.7rem;
    color: #4cdf8b;
    background: rgba(76, 223, 139, 0.08);
    padding: 2px 12px;
    border-radius: 12px;
}

.car-listing {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.car-item {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    gap: 12px;
    align-items: center;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    transition: var(--transition);
    color: var(--text-light);
    border: 1px solid transparent;
}

.car-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--border-color);
}

.car-thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    background: var(--dark-lighter);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    overflow: hidden;
    flex-shrink: 0;
}

.car-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.car-name {
    font-weight: 500;
    font-size: 0.9rem;
}

.car-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.car-price {
    font-weight: 600;
    color: var(--gold);
    font-size: 0.95rem;
}

.sam-verified {
    color: var(--gold);
    font-weight: 700;
    font-size: 0.9rem;
}

/* FAQ */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.faq-cta-box {
    background: var(--dark-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 28px 24px;
    margin-top: 16px;
}

.fcta-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 6px;
    color: #fff;
}

.fcta-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

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

.acc-item {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.acc-trigger {
    width: 100%;
    background: var(--dark-card);
    border: none;
    padding: 16px 20px;
    color: #fff;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.acc-trigger:hover {
    background: var(--dark-lighter);
}

.acc-arrow {
    font-size: 1.2rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.acc-item.active .acc-arrow {
    transform: rotate(45deg);
}

.acc-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.acc-item.active .acc-body {
    max-height: 300px;
}

.acc-body-inner {
    padding: 0 20px 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.acc-body-inner p {
    margin-bottom: 8px;
}

.acc-body-inner p:last-child {
    margin-bottom: 0;
}

/* PRICING */
.pricing-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.pricing-card {
    background: #1a1a1a;
    border-radius: 24px;
    padding: 40px 36px;
    max-width: 700px;
    width: 100%;
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
    border: 1px solid #2a2a2a;
    position: relative;
    transition: transform 0.2s, border-color 0.2s;
}

.pricing-card.featured {
    border-color: var(--gold);
    box-shadow: 0 16px 48px rgba(212, 175, 55, 0.08);
}

.pricing-card .pricing-badge {
    background: var(--gold);
    color: #0a0a0a;
    padding: 4px 18px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.pricing-card .pricing-price {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}

.pricing-card .price-amount {
    font-size: 52px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.pricing-card .price-period {
    font-size: 20px;
    color: var(--text-muted);
}

.pricing-card .price-note {
    color: var(--gold);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
}

.pricing-card .pricing-name {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
}

.pricing-card .pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px 0;
    text-align: left;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 24px;
}

.pricing-card .pricing-features li {
    padding: 6px 0;
    font-size: 15px;
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

.pricing-card .pricing-features li:last-child {
    border-bottom: none;
}

.pricing-card .pricing-cta {
    text-align: center;
    margin-top: 8px;
}

.pricing-card .pricing-note {
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-muted);
    text-align: center;
}

/* FOOTER */
footer {
    background: var(--dark-card);
    border-top: 1px solid var(--border-color);
    padding: 48px 0 24px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-brand .logo-mark {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 320px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.fl-group-title {
    font-weight: 600;
    margin-bottom: 12px;
    color: #fff;
}

.fl-group a {
    display: block;
    color: var(--text-muted);
    font-size: 0.85rem;
    padding: 4px 0;
}

.fl-group a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-autela a {
    color: var(--text-muted);
}

.footer-autela a:hover {
    color: var(--gold);
}
/* ========================================
   MODAL – JEDNOTNÝ ŠTÝL (OPRAVENÝ)
   ======================================== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

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

.modal {
    background: var(--dark-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    max-width: 440px;
    width: 100%;
    max-height: 92vh;
    overflow-y: auto;
    padding: 28px 24px 32px;
    animation: modalSlideIn 0.25s ease;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.modal::-webkit-scrollbar {
    width: 4px;
}
.modal::-webkit-scrollbar-track {
    background: var(--dark);
}
.modal::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 4px;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    float: right;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.8rem;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
    margin-top: -8px;
}

.modal-close:hover {
    color: #fff;
    transform: rotate(90deg);
}

.modal h2 {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    margin-bottom: 4px;
    color: #fff;
}

.modal .modal-sub {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.modal .form-group {
    margin-bottom: 14px;
}

.modal .form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 3px;
}

.modal .form-group input {
    width: 100%;
    padding: 10px 14px;
    background: var(--dark);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: #fff;
    font-size: 0.95rem;
    transition: var(--transition);
}

.modal .form-group input:focus {
    outline: none;
    border-color: var(--gold);
}

.modal .btn-primary {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    margin-top: 4px;
}

.modal .btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.modal .btn-secondary {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-light);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
    text-align: center;
}

.modal .btn-secondary:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.modal-error {
    color: #ff6b6b;
    font-size: 0.85rem;
    margin-top: 10px;
    text-align: center;
    display: none;
}

.modal-error.show {
    display: block;
}

.modal-footer {
    margin-top: 18px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
}

.modal-footer a {
    color: var(--gold);
    cursor: pointer;
}
.modal-footer a:hover {
    text-decoration: underline;
}

/* REGISTRAČNÉ KROKY */
.register-step {
    animation: fadeIn 0.3s ease;
}

.step-indicator {
    font-size: 0.75rem;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 16px;
    text-align: center;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.register-step .step-actions {
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-top: 8px;
}

.register-step .step-actions button {
    flex: 1;
    min-width: 80px;
}

#registerConsent {
    accent-color: var(--gold);
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-muted);
    cursor: pointer;
}

.consent-label a {
    color: var(--gold);
}

/* RESPONZÍVNY MODAL */
@media (max-width: 480px) {
    .modal {
        padding: 20px 16px 24px;
        max-height: 95vh;
    }
    .modal h2 {
        font-size: 1.3rem;
    }
    .modal .form-group input {
        font-size: 0.9rem;
        padding: 8px 12px;
    }
    .register-step .step-actions {
        flex-wrap: wrap;
    }
    .register-step .step-actions button {
        flex: 1;
        min-width: 80px;
        font-size: 0.85rem;
        padding: 8px 16px;
    }
}

/* ========================================
   MOBILE FIX – ZÁKAZ HORIZONTÁLNEHO SCROLU
   ======================================== */
html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
}

/* Zabráni overflow akéhokoľvek prvku */
*, *::before, *::after {
    max-width: 100vw;
}

/* Reset inline štýlov z pricing sekcie na mobile */
@media (max-width: 768px) {
    [style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    [style*="display: flex"] {
        flex-wrap: wrap !important;
    }

    /* Pricing karta – override inline štýlov */
    .pricing-card[style*="padding: 40px"] {
        padding: 24px 16px !important;
    }

    .pricing-card [style*="font-size: 52px"] {
        font-size: 36px !important;
    }

    .pricing-card [style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
}

/* ========================================
   MODAL – OPRAVENÝ PRE MOBILE
   ======================================== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 16px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

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

/* Keď je modal otvorený, zamkni body scroll */
body.modal-open {
    overflow: hidden !important;
    position: fixed;
    width: 100%;
}

.modal {
    background: var(--dark-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    max-width: 440px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 28px 24px 32px;
    animation: modalSlideIn 0.25s ease;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    margin: auto; /* centrovanie fallback */
}

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

.modal-close {
    float: right;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.6rem;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
    margin-top: -4px;
    margin-right: -4px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.modal h2 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 4px;
    color: #fff;
    padding-right: 32px; /* miesto pre close button */
}

.modal .modal-sub {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 20px;
}

/* Form row v modáloch */
.modal .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* ========================================
   REGISTRÁCIA – STEPPER / PROGRESS BAR
   ======================================== */
.stepper-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 24px;
    padding: 0 8px;
}

.stepper-step {
    display: flex;
    align-items: center;
    gap: 0;
}

.stepper-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--dark-lighter);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    transition: var(--transition);
    flex-shrink: 0;
}

.stepper-dot.active {
    background: var(--gold);
    border-color: var(--gold);
    color: #0a0a0a;
}

.stepper-dot.completed {
    background: rgba(201, 168, 76, 0.15);
    border-color: var(--gold);
    color: var(--gold);
}

.stepper-line {
    width: 40px;
    height: 2px;
    background: var(--border-color);
    transition: var(--transition);
    flex-shrink: 0;
}

.stepper-line.active {
    background: var(--gold);
}

.step-indicator {
    font-size: 0.7rem;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 12px;
    text-align: center;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.register-step {
    animation: stepFadeIn 0.3s ease;
}

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

.register-step .step-actions {
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-top: 12px;
}

.register-step .step-actions .btn-primary,
.register-step .step-actions .btn-secondary {
    flex: 1;
    min-width: 0;
    text-align: center;
}

/* Consent checkbox */
#registerConsent {
    accent-color: var(--gold);
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1.5;
}

.consent-label a {
    color: var(--gold);
    text-decoration: underline;
}

/* ========================================
   MODAL – RESPONZÍVNY (MOBILE)
   ======================================== */
@media (max-width: 768px) {
    .modal-overlay {
        padding: 12px;
        align-items: flex-start;
        padding-top: 24px;
    }

    .modal {
        max-width: 100%;
        width: 100%;
        max-height: 88vh;
        padding: 24px 20px 28px;
        border-radius: 16px;
    }

    .modal h2 {
        font-size: 1.35rem;
    }

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

    .modal .form-group input {
        font-size: 16px; /* zabraňuje zoomu na iOS */
        padding: 10px 14px;
    }

    .stepper-line {
        width: 28px;
    }
}

@media (max-width: 480px) {
    .modal-overlay {
        padding: 8px;
        padding-top: 16px;
    }

    .modal {
        max-height: 92vh;
        padding: 20px 16px 24px;
    }

    .modal h2 {
        font-size: 1.2rem;
    }

    .modal .form-group label {
        font-size: 0.78rem;
    }

    .modal .form-group input {
        font-size: 16px;
        padding: 9px 12px;
    }

    .register-step .step-actions {
        flex-direction: column;
        gap: 8px;
    }

    .register-step .step-actions .btn-primary,
    .register-step .step-actions .btn-secondary {
        width: 100%;
        padding: 11px 16px;
        font-size: 0.9rem;
    }

    .stepper-dot {
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
    }

    .stepper-line {
        width: 20px;
    }
}

/* ========================================
   FIX: PRICING SEKCIA NA MOBILE
   ======================================== */
@media (max-width: 768px) {
    #pricing .section-title {
        font-size: 1.8rem !important;
    }

    #pricing .section-desc {
        font-size: 0.95rem !important;
    }

    .pricing-card {
        padding: 24px 16px !important;
    }

    .pricing-card .price-amount,
    .pricing-card [style*="font-size: 52px"] {
        font-size: 36px !important;
    }

    .pricing-card .price-period {
        font-size: 16px !important;
    }

    /* Grid v pricing karte na 1 stĺpec */
    .pricing-card [style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }

    /* CTA box v pricing */
    .pricing-note .btn-primary {
        padding: 12px 28px !important;
        font-size: 0.95rem !important;
    }
}

@media (max-width: 480px) {
    #pricing .section-title {
        font-size: 1.5rem !important;
    }

    .pricing-card .price-amount,
    .pricing-card [style*="font-size: 52px"] {
        font-size: 28px !important;
    }

    .pricing-note .btn-primary {
        padding: 11px 24px !important;
        font-size: 0.9rem !important;
        display: block !important;
        text-align: center !important;
    }
}
/* ========================================
   HEADER – HAMBURGER MENU
   ======================================== */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 101;
}
.hamburger span {
    display: block;
    width: 28px;
    height: 2px;
    background: #fff;
    transition: 0.3s;
    border-radius: 2px;
}
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobil – zobrazenie hamburgera a skrytie navigácie */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    nav {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #0a0a0a;
        padding: 16px 20px;
        gap: 8px;
        border-top: 1px solid #222;
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 100;
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }
    nav.open {
        display: flex;
    }
    nav a {
        padding: 8px 0;
        font-size: 0.95rem;
        color: #ccc;
        border-bottom: 1px solid #1a1a1a;
        width: 100%;
    }
    nav a:last-child {
        border-bottom: none;
    }
    nav a.btn-login {
        background: var(--gold);
        color: #0a0a0a;
        padding: 8px 16px;
        border-radius: 30px;
        text-align: center;
        border-bottom: none;
        margin-top: 4px;
    }
    nav a.btn-login:hover {
        background: var(--gold-light);
    }

    /* Logo a tagline na mobile – v jednom riadku */
    .logo {
        display: flex;
        align-items: center;
        gap: 6px;
        flex-wrap: wrap;
    }
    .logo-mark {
        font-size: 1.4rem;
        padding: 2px 8px;
    }
    .logo-tagline {
        display: inline-block !important;
        font-size: 0.55rem;
        border-left: 1px solid #444;
        padding-left: 8px;
        color: #888;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .logo-mark {
        font-size: 1.2rem;
        padding: 2px 6px;
    }
    .logo-tagline {
        font-size: 0.5rem;
        padding-left: 6px;
    }
    nav a {
        font-size: 0.85rem;
        padding: 6px 0;
    }
}
/* ========================================
   HEADER + HAMBURGER (MOBILE)
   ======================================== */

/* Základný header */
header {
    padding: 12px 0;
    border-bottom: 1px solid #222;
    background: #0a0a0a;
    position: sticky;
    top: 0;
    z-index: 100;
}
.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
}
.logo-mark {
    font-family: 'DM Serif Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    padding: 2px 10px;
    background: rgba(201, 168, 76, 0.08);
    border-radius: 8px;
    border: 1px solid rgba(201, 168, 76, 0.15);
}
.logo-tagline {
    font-size: 0.65rem;
    color: #888;
    font-weight: 300;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-left: 1px solid #222;
    padding-left: 12px;
    white-space: nowrap;
}

/* Navigácia – desktop */
nav {
    display: flex;
    align-items: center;
    gap: 20px;
}
nav a {
    color: #888;
    font-size: 0.85rem;
    text-decoration: none;
    transition: 0.3s;
    white-space: nowrap;
}
nav a:hover {
    color: #fff;
}
.btn-login {
    background: #c9a84c;
    color: #0a0a0a;
    padding: 6px 18px;
    border-radius: 30px;
    font-weight: 600;
}
.btn-login:hover {
    background: #e8d5a3;
    color: #0a0a0a;
}

/* HAMBURGER – skrytý na desktop */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: 0.3s;
}
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   MOBIL – zobraziť hamburger, skryť nav
   ======================================== */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    nav {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #0a0a0a;
        padding: 16px 0;
        gap: 4px;
        border-top: 1px solid #222;
        margin-top: 8px;
    }
    nav.open {
        display: flex;
    }
    nav a {
        padding: 8px 0;
        font-size: 0.95rem;
        border-bottom: 1px solid #1a1a1a;
        width: 100%;
        color: #ccc;
    }
    nav a:last-child {
        border-bottom: none;
    }
    nav a.btn-login {
        background: #c9a84c;
        color: #0a0a0a;
        padding: 8px 16px;
        border-radius: 30px;
        text-align: center;
        border-bottom: none;
        margin-top: 4px;
        font-weight: 600;
    }
    nav a.btn-login:hover {
        background: #e8d5a3;
    }

    /* Logo + tagline na mobile – v jednom riadku */
    .logo {
        gap: 6px;
        flex-wrap: wrap;
    }
    .logo-mark {
        font-size: 1.4rem;
        padding: 2px 8px;
    }
    .logo-tagline {
        font-size: 0.55rem;
        border-left: 1px solid #444;
        padding-left: 8px;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .logo-mark {
        font-size: 1.2rem;
        padding: 2px 6px;
    }
    .logo-tagline {
        font-size: 0.5rem;
        padding-left: 6px;
    }
    nav a {
        font-size: 0.85rem;
        padding: 6px 0;
    }
}

/* ========================================
   FOOTER – MOBILE FIX
   ======================================== */
@media (max-width: 768px) {
    .footer-top {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px 16px;
        text-align: left;
    }

    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
        margin-bottom: 8px;
    }

    .footer-links {
        display: contents; /* umožní priame potomkov v grid layout */
    }

    .fl-group {
        padding: 0 4px;
    }

    .fl-group-title {
        font-size: 0.85rem;
        font-weight: 600;
        color: #fff;
        margin-bottom: 8px;
    }

    .fl-group a {
        display: block;
        font-size: 0.8rem;
        color: var(--text-muted);
        padding: 4px 0;
        word-break: break-word;
        white-space: normal;
        line-height: 1.4;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 8px;
        font-size: 0.7rem;
        padding-top: 16px;
        margin-top: 16px;
    }

    .footer-autela {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 16px 10px;
    }

    .fl-group-title {
        font-size: 0.8rem;
    }

    .fl-group a {
        font-size: 0.75rem;
        padding: 3px 0;
    }

    .footer-brand .logo-mark {
        font-size: 1.4rem;
    }

    .footer-brand p {
        font-size: 0.8rem;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .footer-top {
        display: flex;
        flex-wrap: wrap;
        gap: 20px 15px;
    }

    .footer-brand {
        flex: 0 0 100%;
        text-align: center;
    }

    .footer-links {
        display: flex;
        flex-wrap: wrap;
        gap: 20px 15px;
        flex: 0 0 100%;
    }

    .fl-group {
        flex: 1 1 calc(50% - 15px);
        min-width: 120px;
    }

    .fl-group:last-child {
        flex: 0 0 100%;
    }
}

/* ========================================
   FOOTER – MOBILE FIX
   ======================================== */
@media (max-width: 768px) {
    .footer-top {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px 16px;
        text-align: left;
    }

    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
        margin-bottom: 8px;
    }

    .footer-links {
        display: contents; /* umožní priame potomkov v grid layout */
    }

    .fl-group {
        padding: 0 4px;
    }

    .fl-group-title {
        font-size: 0.85rem;
        font-weight: 600;
        color: #fff;
        margin-bottom: 8px;
    }

    .fl-group a {
        display: block;
        font-size: 0.8rem;
        color: var(--text-muted);
        padding: 4px 0;
        word-break: break-word;
        white-space: normal;
        line-height: 1.4;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 8px;
        font-size: 0.7rem;
        padding-top: 16px;
        margin-top: 16px;
    }

    .footer-autela {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 16px 10px;
    }

    .fl-group-title {
        font-size: 0.8rem;
    }

    .fl-group a {
        font-size: 0.75rem;
        padding: 3px 0;
    }

    .footer-brand .logo-mark {
        font-size: 1.4rem;
    }

    .footer-brand p {
        font-size: 0.8rem;
        max-width: 100%;
    }
}