:root {
    --color-bg: #f3f6fb;
    --color-surface: #ffffff;
    --color-surface-soft: #f9fbff;
    --color-primary: #2563eb;      /* jemná modrá */
    --color-primary-soft: #38bdf8; /* tyrkysová */
    --color-accent: #f97316;       /* teplá, jen drobně */
    --color-text: #0f172a;
    --color-text-muted: #64748b;

    --radius-lg: 20px;
    --radius-pill: 999px;
    --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        sans-serif;
    color: var(--color-text);
    background: radial-gradient(circle at top, #e0edff 0, #f3f6fb 45%, #f3f6fb 100%);
    line-height: 1.6;
}

/* OBECNÉ */

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 1.6rem;
}

/* HEADER */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(243, 246, 251, 0.9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.04);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.logo-mark {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-pill);
    background: radial-gradient(circle at 30% 20%, var(--color-primary-soft), var(--color-primary));
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 1px;
    box-shadow: 0 10px 26px rgba(37, 99, 235, 0.4);
}

.logo-main {
    font-weight: 700;
    font-size: 1.05rem;
}

.logo-sub {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.main-nav a {
    margin-left: 1.4rem;
    text-decoration: none;
    font-size: 0.95rem;
    color: var(--color-text-muted);
    position: relative;
    padding-bottom: 2px;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    border-radius: var(--radius-pill);
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-soft));
    transition: width 0.16s ease-out;
}

.main-nav a:hover {
    color: var(--color-primary);
}

.main-nav a:hover::after {
    width: 100%;
}

/* HERO */

.hero {
    position: relative;
    padding: 3.5rem 0 3rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), transparent 55%),
                radial-gradient(circle at top right, rgba(37, 99, 235, 0.18), transparent 55%);
    opacity: 0.9;
    pointer-events: none;
}

.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
    gap: 2.6rem;
    align-items: center;
}

.hero-text h1 {
    font-size: clamp(2.1rem, 3.1vw, 2.6rem);
    margin: 0 0 0.9rem;
}

.hero-text p {
    margin: 0 0 1.5rem;
    color: var(--color-text-muted);
    max-width: 34rem;
    font-size: 0.98rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-bottom: 0.9rem;
}

.btn-primary,
.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.8rem;
    border-radius: var(--radius-pill);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease,
        color 0.12s ease, opacity 0.12s ease;
}

.btn-primary {
    border: none;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-soft));
    color: #fff;
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.25);
    opacity: 0.96;
}

.btn-ghost {
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: rgba(255, 255, 255, 0.8);
    color: var(--color-text);
}

.btn-ghost:hover {
    background: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 14px 35px rgba(148, 163, 184, 0.35);
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-top: 0.3rem;
}

.hero-meta span {
    padding: 0.2rem 0.9rem;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.9);
}

/* HERO CARD */

.hero-illustration {
    display: flex;
    justify-content: flex-end;
}

.hero-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(248, 250, 252, 0.98));
    border-radius: 24px;
    padding: 1.5rem 1.4rem;
    max-width: 280px;
    box-shadow: var(--shadow-soft);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(56, 189, 248, 0.18), transparent 60%);
    opacity: 0.8;
    pointer-events: none;
}

.hero-icon {
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 999px;
    margin: 0 auto 0.9rem;
    background: radial-gradient(circle at 30% 20%, var(--color-primary-soft), var(--color-primary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    box-shadow: 0 16px 38px rgba(37, 99, 235, 0.6);
}

.hero-card-title {
    position: relative;
    margin: 0 0 0.4rem;
    font-weight: 600;
}

.hero-card-text {
    position: relative;
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* SECTIONS */

.section {
    padding: 3rem 0;
}

.section-alt {
    background: linear-gradient(180deg, #f9fbff 0, #ffffff 100%);
}

.section-header {
    max-width: 520px;
}

.section h2 {
    margin: 0 0 0.6rem;
    font-size: 1.6rem;
}

.section-intro {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* CENÍK */

.tariffs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.8rem;
    margin-top: 1.8rem;
}

.tariff-card {
    position: relative;
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: 1.6rem 1.4rem 1.5rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.25);
    transform: translateY(0);
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.tariff-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.16);
    border-color: rgba(37, 99, 235, 0.35);
}

.tariff-card h3 {
    margin: 0 0 0.2rem;
    font-size: 1.1rem;
}

.tariff-desc {
    margin: 0 0 0.9rem;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.tariff-price {
    margin: 0 0 0.7rem;
    font-weight: 700;
    color: var(--color-primary);
    font-size: 1.25rem;
}

.tariff-price span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-muted);
    margin-left: 0.15rem;
}

.tariff-list {
    margin: 0;
    padding-left: 1.1rem;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.tariff-list li + li {
    margin-top: 0.25rem;
}

.tariff-card-highlight {
    background: linear-gradient(160deg, #ffffff 0, #eff4ff 50%, #e0f4ff 100%);
    border-color: rgba(37, 99, 235, 0.6);
}

.tariff-badge {
    position: absolute;
    top: 1.1rem;
    right: 1.1rem;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-pill);
    background: rgba(249, 115, 22, 0.12);
    color: var(--color-accent);
    font-size: 0.78rem;
    font-weight: 600;
}

/* VÝHODY */

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.6rem;
    margin-top: 1.7rem;
}

.benefit {
    padding: 1.1rem 1.1rem 1rem;
    border-radius: 18px;
    background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.12), transparent 55%),
                radial-gradient(circle at bottom right, rgba(37, 99, 235, 0.12), transparent 55%),
                #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.benefit h3 {
    margin: 0 0 0.35rem;
    font-size: 1rem;
}

.benefit p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* KONTAKT */

.contact-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 2rem;
    margin-top: 1.7rem;
    padding: 1.5rem 1.4rem;
    border-radius: var(--radius-lg);
    background: var(--color-surface-soft);
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.contact-layout h3 {
    margin-top: 0;
}

.contact-layout a {
    color: var(--color-primary);
    text-decoration: none;
}

.contact-layout a:hover {
    text-decoration: underline;
}

/* DOKUMENTY */

.documents-list {
    margin-top: 1.6rem;
    display: grid;
    gap: 0.9rem;
}

.doc-link {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.65rem 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.3);
    text-decoration: none;
    color: var(--color-text);
    transition: box-shadow 0.15s ease, transform 0.12s ease, border-color 0.15s ease,
        background 0.15s ease;
}

.doc-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
    border-color: rgba(37, 99, 235, 0.55);
    background: #ffffff;
}

.doc-icon {
    font-size: 1.4rem;
}

.doc-link span {
    display: flex;
    flex-direction: column;
}

.doc-link small {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* FOOTER */

.site-footer {
    border-top: 1px solid rgba(148, 163, 184, 0.3);
    background: #ffffff;
    padding: 1rem 0 1.4rem;
    margin-top: 1rem;
}

.footer-inner {
    text-align: center;
    font-size: 0.83rem;
    color: var(--color-text-muted);
}

/* RESPONSIVE */

@media (max-width: 820px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
    }

    .main-nav a {
        margin-left: 0;
        margin-right: 1.1rem;
    }

    .hero {
        padding-top: 2.5rem;
    }

    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-illustration {
        justify-content: flex-start;
        margin-top: 1rem;
    }
}

@media (max-width: 520px) {
    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-layout {
        padding: 1.2rem 1rem;
    }
}