:root {
    --bg: #a8c7df;
    --panel: #b6d1e6;
    --surface: #d3e4f1;
    --ink: #0e4f75;
    --ink-soft: #186da3;
    --line: #eef4f9;
    --accent: #7f53ff;
    --radius: 26px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: linear-gradient(180deg, #a8c7df 0%, #b7d2e6 100%);
    color: var(--ink);
    font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.container {
    width: min(1100px, 92vw);
    margin-inline: auto;
}

.section {
    padding: clamp(2rem, 5vw, 4.5rem) 0;
    font-size: larger;
}

#program {
    background: color-mix(in srgb, var(--surface) 66%, white 34%);
}

#lekce {
    background: color-mix(in srgb, var(--panel) 88%, white 12%);
}

#proc-my {
    background: color-mix(in srgb, var(--surface) 66%, white 34%);
}

#cenik {
    background: color-mix(in srgb, var(--panel) 88%, white 12%);
}

[id] {
    scroll-margin-top: 96px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: color-mix(in srgb, var(--panel) 92%, white 8%);
    border-bottom: 1px solid color-mix(in srgb, var(--line) 88%, #95b8d3 12%);
    backdrop-filter: blur(6px);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
}

.logo {
    color: var(--ink);
    text-decoration: none;
    font-size: 1.35rem;
    font-weight: 700;
}

.nav {
    display: flex;
    gap: 1.3rem;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid color-mix(in srgb, var(--line) 70%, #89aeca 30%);
    border-radius: 12px;
    background: color-mix(in srgb, var(--surface) 75%, white 25%);
    padding: 0;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-direction: column;
}

.nav-toggle span {
    width: 18px;
    height: 2px;
    background: var(--ink);
    border-radius: 99px;
    transition: transform 0.22s ease, opacity 0.22s ease;
}

.nav a {
    color: var(--ink-soft);
    text-decoration: none;
    font-weight: 500;
}

.hero {
    padding-top: clamp(2.5rem, 7vw, 6rem);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.5rem, 3.5vw, 3rem);
    align-items: center;
}

.eyebrow {
    display: inline-block;
    margin: 0;
    padding: 0.2rem 0.55rem;
    border: 2px solid var(--line);
    color: var(--ink-soft);
    font-style: italic;
    font-weight: 600;
    border-radius: var(--radius);
}

.hero-copy h1 {
    margin: 1rem 0 0;
    font-size: clamp(2rem, 5.5vw, 3.7rem);
    line-height: 1.1;
    color: var(--ink);
}

.lead {
    margin: 1rem 0 0;
    max-width: 52ch;
    color: #275f84;
    font-size: 1.50rem;
}

.cta-row {
    margin-top: 1.6rem;
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0.65rem 1.15rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.22s ease, opacity 0.22s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--ink);
    color: #e8f4fc;
}

.btn-secondary {
    background: transparent;
    color: var(--ink);
    border: 2px solid color-mix(in srgb, var(--ink-soft) 66%, white 34%);
}

.hero-media {
    position: relative;
    height: clamp(270px, 42vw, 430px);
}

.hero-media img {
    position: absolute;
    object-fit: cover;
    border-radius: 999px;
    border: 6px solid color-mix(in srgb, var(--line) 88%, transparent 12%);
    box-shadow: 0 14px 28px rgba(14, 79, 117, 0.16);
    transition: transform 0.35s ease, filter 0.35s ease;
}

.img-main {
    left: 0;
    top: 0.5rem;
    width: min(32vw, 420px);
    height: clamp(180px, 24vw, 260px);
    z-index: 2;
}

.img-side {
    right: 0;
    bottom: 0;
    width: min(30vw, 390px);
    height: clamp(170px, 22vw, 240px);
    z-index: 1;
}

.hero-media:hover .img-main {
    transform: translateY(-4px);
}

.hero-media:hover .img-side {
    transform: translateY(-4px);
    filter: saturate(1.08);
}

h2 {
    margin: 0;
    font-size: clamp(1.55rem, 3vw, 2.2rem);
    color: var(--ink);
}

.card-grid {
    margin-top: 1.4rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.card {
    background: color-mix(in srgb, var(--surface) 72%, white 28%);
    border: 1px solid color-mix(in srgb, #8eb4d2 40%, white 60%);
    border-radius: var(--radius);
    padding: 1.2rem;
}

.card h3 {
    margin: 0;
    color: var(--ink);
}

.card p {
    margin: 0.65rem 0 0;
    color: #316b8f;
}

.pricing-grid {
    margin-top: 1.4rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.price-card {
    background: color-mix(in srgb, var(--surface) 74%, white 26%);
    border: 1px solid color-mix(in srgb, #8eb4d2 40%, white 60%);
    border-radius: var(--radius);
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.price-card h3 {
    margin: 0;
    color: var(--ink);
}

.price {
    margin: 0;
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    font-weight: 700;
    color: #0f5d8a;
}

.price-card p {
    margin: 0;
    color: #316b8f;
}

.price-card .btn {
    margin-top: auto;
}

.price-card-featured {
    border-color: color-mix(in srgb, var(--accent) 34%, #8eb4d2 66%);
    box-shadow: 0 10px 20px rgba(14, 79, 117, 0.1);
}

.price-tag {
    width: fit-content;
    margin: 0;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #3147a0;
    background: color-mix(in srgb, #ffffff 55%, #cdd8ff 45%);
}

.price-note {
    margin: 1rem 0 0;
    color: #2f6d93;
    font-size: 0.95rem;
}

.section-soft {
    background: color-mix(in srgb, var(--panel) 83%, white 17%);
}

.split {
    display: grid;
    grid-template-columns: 1.25fr 0.8fr;
    gap: 1.2rem;
    align-items: start;
}

.feature-list {
    margin: 1rem 0 0;
    padding-left: 1.2rem;
    color: #1f6288;
    line-height: 1.8;
    font-weight: 500;
}

.contact-card {
    background: #dbe9f3;
    border: 1px solid color-mix(in srgb, #92b8d5 48%, white 52%);
    border-radius: var(--radius);
    padding: 1.2rem;
}

.contact-card h3 {
    margin: 0;
}

.contact-card p {
    margin: 0.55rem 0;
    color: #184d74;
}

.map-card {
    background: #dbe9f3;
    border: 1px solid color-mix(in srgb, #92b8d5 48%, white 52%);
    border-radius: var(--radius);
    padding: 1.2rem;
}

.map-card h3 {
    margin: 0;
    color: var(--ink);
}

.map-frame {
    width: 100%;
    height: 260px;
    margin-top: 0.8rem;
    border: 0;
    border-radius: calc(var(--radius) - 8px);
}

.map-note {
    margin: 0.7rem 0 0;
    color: #2f6d93;
    font-size: 0.95rem;
}

.btn-full {
    width: 100%;
    margin-top: 0.8rem;
}

.site-footer {
    border-top: 1px solid color-mix(in srgb, var(--line) 82%, #8fb2cf 18%);
    padding: 1.2rem 0 1.8rem;
}

.site-footer p {
    margin: 0;
    color: #2f6d93;
    text-align: center;
}

.form-section {
    padding-top: clamp(2rem, 6vw, 5rem);
}

.form-shell {
    background: color-mix(in srgb, var(--panel) 85%, white 15%);
    border: 1px solid color-mix(in srgb, var(--line) 76%, #9dbfda 24%);
    border-radius: var(--radius);
    padding: clamp(1.2rem, 2.2vw, 2rem);
    box-shadow: 0 12px 24px rgba(14, 79, 117, 0.1);
}

.form-intro h1 {
    margin: 0.9rem 0 0;
    font-size: clamp(1.8rem, 4.3vw, 3rem);
    line-height: 1.15;
    color: var(--ink);
}

.form-intro p {
    margin: 0.8rem 0 0;
    color: #2a6288;
}

.styled-form {
    margin-top: 1.4rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.field span {
    color: #1c6189;
    font-weight: 600;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    border: 1px solid color-mix(in srgb, #88afd0 48%, white 52%);
    border-radius: 14px;
    background: #eff6fb;
    color: #174f74;
    padding: 0.75rem 0.85rem;
    font: inherit;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: color-mix(in srgb, var(--ink-soft) 60%, white 40%);
    box-shadow: 0 0 0 3px rgba(24, 109, 163, 0.14);
}

.field-full {
    margin-top: 0.9rem;
}

.styled-form .btn {
    margin-top: 1.1rem;
}

@media (max-width: 700px) {

    .container {
        width: min(1100px, 86vw);
    }

    .nav-wrap {
        min-height: 64px;
        position: relative;
    }

    .logo {
        font-size: 1.1rem;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav {
        position: absolute;
        top: calc(100% - 6px);
        right: 0;
        display: flex;
        width: min(250px, 84vw);
        flex-direction: column;
        gap: 0.25rem;
        padding: 0.65rem;
        border: 1px solid color-mix(in srgb, var(--line) 82%, #90b4d1 18%);
        border-radius: 16px;
        background: color-mix(in srgb, var(--panel) 91%, white 9%);
        box-shadow: 0 10px 22px rgba(14, 79, 117, 0.14);
        opacity: 0;
        transform: translateY(-10px) scale(0.98);
        transform-origin: top right;
        max-height: 0;
        overflow: hidden;
        pointer-events: none;
        visibility: hidden;
        transition: max-height 0.3s ease, opacity 0.24s ease, transform 0.24s ease;
    }

    .site-header.nav-open .nav {
        opacity: 1;
        transform: translateY(0) scale(1);
        max-height: 220px;
        pointer-events: auto;
        visibility: visible;
    }

    .nav a {
        padding: 0.5rem 0.55rem;
        border-radius: 10px;
    }

    .site-header.nav-open .nav-toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .site-header.nav-open .nav-toggle span:nth-child(2) {
        opacity: 0;
    }

    .site-header.nav-open .nav-toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hero-grid,
    .split,
    .card-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .hero-media {
        margin-top: 0.6rem;
        height: 350px;
    }

    .img-main,
    .img-side {
        width: 100%;
        max-width: 100%;
    }

    .img-main {
        top: 0;
        left: 0;
        height: 190px;
    }

    .img-side {
        right: 0;
        bottom: 0;
        height: 180px;
    }

    .btn {
        width: 100%;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }
}