
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --white: #ffffff;
    --navy: #0b2b63;
    --navy-dark: #071e46;
    --red: #e31837;
    --light: #f5f7fb;
    --gray: #64718a;
    --border: #e7ebf2;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--white);
    color: var(--navy-dark);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

.navbar {
    height: 88px;
    padding: 0 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    background: white;
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 2;
}

.logo {
    display: flex;
    align-items: center;
    font-family: 'Manrope', sans-serif;
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1;
}

.logo-blue {
    color: var(--navy);
}

.logo-red {
    color: var(--red);
}

.logo-caption {
    margin-left: 13px;
    padding-left: 13px;
    border-left: 1px solid #d8deea;
    color: var(--navy);
    font-family: 'DM Sans', sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
    line-height: 1.7;
}

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

.nav-links a {
    position: relative;
    color: var(--navy-dark);
    font-size: 15.6px;
    font-weight: 600;
}

.nav-links a:hover,
.nav-links .active {
    color: var(--red);
}

.nav-links .active::after {
    content: '';
    position: absolute;
    height: 3px;
    left: 0;
    right: 0;
    bottom: -15px;
    background: var(--red);
    border-radius: 5px;
}

.planner-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 14.3px 20.9px;
    background: var(--navy);
    color: white;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    transition: background 0.2s;
}

.planner-btn:hover {
    background: var(--red);
}

.hero {
    min-height: 535px;
    padding: 65px 7% 80px;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 35px;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 85% 30%, #eaf1ff 0%, transparent 48%),
        white;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.eyebrow {
    color: var(--red);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
}
.eyebrow2{
    color: var(--red);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 3px;
}
.hero h1 {
    margin-top: 16px;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(45px, 5.2vw, 76px);
    line-height: 0.99;
    font-weight: 800;
    letter-spacing: -3px;
    text-transform: uppercase;
}

.hero h1 span {
    color: var(--red);
}

.hero-description {
    max-width: 450px;
    margin-top: 22px;
    color: var(--black);
    font-size: 15px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 27px;
}

.btn-primary,
.btn-secondary,
.btn-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-height: 47px;
    padding: 13px 21px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 700;
    transition: transform 0.2s, background 0.2s;
}

.btn-primary {
    background: var(--red);
    color: white;
}

.btn-primary:hover {
    background: #c90f2b;
    transform: translateY(-2px);
}

.btn-secondary {
    border: 1px solid var(--navy);
    color: var(--navy);
    background: white;
}

.btn-secondary:hover {
    background: var(--light);
}

.hero-location {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 32px;
    color: var(--gray);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

.location-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--red);
}

.hero-visual {
    position: relative;
    min-width: 0;
    min-height: 390px;
}

.hero-photo {
    position: absolute;
    inset: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(11, 43, 99, 0.15);
}

.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.red-shape,
.blue-shape {
    position: absolute;
    z-index: -1;
    width: 110px;
    height: 130%;
    top: -15%;
    transform: skewX(-32deg);
}

.red-shape {
    right: 13%;
    background: rgba(227, 24, 55, 0.95);
}

.blue-shape {
    right: 0;
    background: rgba(11, 43, 99, 0.95);
}

.photo-tag {
    position: absolute;
    left: -25px;
    bottom: 25px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 17px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 12px 40px rgba(11, 43, 99, 0.13);
}

.tag-icon {
    font-family: 'Manrope', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: var(--red);
}

.photo-tag strong,
.photo-tag small {
    display: block;
}

.photo-tag strong {
    font-size: 12px;
}

.photo-tag small {
    margin-top: 4px;
    color: var(--gray);
    font-size: 11px;
}

.benefits {
    position: relative;
    z-index: 1;
    margin: -35px 5.5% 0;
    padding: 25px 28px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 17px;
    box-shadow: 0 12px 40px rgba(11, 43, 99, 0.08);
}

.benefit {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.benefit:not(:last-child) {
    border-right: 1px solid var(--border);
    padding-right: 12px;
}

.benefit-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 43px;
    height: 43px;
    font-size: 29px;
    font-weight: 700;
}

.benefit-icon.red {
    color: var(--red);
}

.benefit-icon.blue {
    color: var(--navy);
}

.benefit h3 {
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    line-height: 1.4;
}

.benefit p {
    margin-top: 4px;
    color: var(--gray);
    font-size: 10px;
    line-height: 1.5;
}

.section {
    padding: 75px 7%;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 25px;
    margin-bottom: 30px;
}

.section-heading h2,
.about h2 {
    margin-top: 9px;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(28px, 3.2vw, 42px);
    line-height: 1.2;
    letter-spacing: -1.4px;
}

.section-heading h2 span {
    color: var(--red);
}

.section-description {
    margin-top: 10px;
    color: var(--gray);
    font-size: 13px;
}

.text-link {
    flex-shrink: 0;
    color: var(--navy);
    font-size: 12px;
    font-weight: 700;
}


.course-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 60px) / 5);
    grid-template-columns: none;
    grid-template-rows: minmax(0, auto);
    gap: 15px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 4px 2px 18px;
    scrollbar-width: none;
    scrollbar-color: #cbd5e5 transparent;
    -ms-overflow-style: none;
}


.course-card {
    min-width: 0;
    padding: 20px 17px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: white;
    box-shadow: 0 5px 20px rgba(11, 43, 99, 0.035);
    transition: transform 0.2s, box-shadow 0.2s;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(11, 43, 99, 0.1);
}

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

.course-letter {
    font-family: 'Manrope', sans-serif;
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--navy);
}

.course-arrow {
    color: var(--red);
    font-size: 20px;
}

.course-card h3 {
    margin-top: 16px;
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
}

.course-card p {
    margin-top: 4px;
    color: var(--gray);
    font-size: 11px;
}

.course-visual {
    height: 95px;
    margin: 12px -5px 8px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.car-image {
    background-image: url('https://images.unsplash.com/photo-1503376780353-7e6692767b70?auto=format&fit=crop&w=500&q=80');
}

.moto-image {
    background-image: url('https://images.unsplash.com/photo-1558981806-ec527fa84c39?auto=format&fit=crop&w=500&q=80');
}

.trailer-image {
    background-image: url('https://images.unsplash.com/photo-1533473359331-0135ef1b58bf?auto=format&fit=crop&w=500&q=80');
}

.van-image {
    background-image: url('https://images.unsplash.com/photo-1601584115197-04ecc0da31d7?auto=format&fit=crop&w=500&q=80');
}

.truck-image {
    background-image: url('https://images.unsplash.com/photo-1519003722824-194d4455a60c?auto=format&fit=crop&w=500&q=80');
}

.course-link {
    color: var(--navy);
    font-size: 11px;
    font-weight: 700;
}

.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 65px;
    background: var(--light);
}

.about-image {
    min-height: 350px;
    border-radius: 13px;
    background:
        linear-gradient(0deg, rgba(11, 43, 99, 0.12), transparent),
        url('https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?auto=format&fit=crop&w=1000&q=85')
        center / cover no-repeat;
}

.about-content > p:not(.eyebrow) {
    max-width: 480px;
    margin: 20px 0 26px;
    color: var(--black);
    font-size: 14px;
    line-height: 1.9;
}

.planner-banner {
    margin: 75px 7%;
    padding: 45px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    color: white;
    background: var(--navy);
    border-radius: 16px;
}

.planner-banner .eyebrow {
    color: #ff879a;
}

.planner-banner h2 {
    margin-top: 10px;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(25px, 3vw, 38px);
    line-height: 1.25;
}

.planner-banner p:not(.eyebrow) {
    margin-top: 12px;
    color: #d4deef;
    font-size: 13px;
}

.btn-white {
    flex-shrink: 0;
    color: var(--navy);
    background: white;
}

.btn-white:hover {
    background: #f1f4fa;
}

footer {
    padding: 30px 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    border-top: 1px solid var(--border);
    color: var(--gray);
    font-size: 11px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    width: auto;
    height: auto;
}

.footer-logo img {
    display: block;
    width: 130px;
    max-width: 130px;
    height: auto;
    object-fit: contain;
}

footer > a:not(.logo) {
    color: var(--navy);
    font-weight: 600;
}

/* TABLETY */

@media (max-width: 1100px) {
    .navbar {
        padding: 0 4%;
    }

    .nav-links {
        gap: 15px;
    }

    .hero {
        padding-left: 5%;
        padding-right: 5%;
    }

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

    .benefit:nth-child(2) {
        border-right: 0;
    }

    .course-grid {
        grid-template-columns: none;
    }
}

/* MOBILY */

@media (max-width: 700px) {
    .navbar {
        height: auto;
        min-height: 75px;
        padding: 17px 5%;
        flex-wrap: wrap;
        gap: 18px;
    }

    .logo {
        font-size: 29px;
    }

    .nav-links {
        order: 3;
        width: 100%;
        overflow-x: auto;
        padding: 4px 0;
        gap: 22px;
    }

    .nav-links a {
        white-space: nowrap;
        font-size: 12px;
    }

    .nav-links .active::after {
        bottom: -7px;
    }

    .planner-btn {
        padding: 11px 12px;
        gap: 7px;
        font-size: 10px;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 48px 5% 65px;
        gap: 35px;
    }

    .hero h1 {
        font-size: clamp(48px, 12vw, 68px);
        letter-spacing: -2px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-visual {
        min-height: 290px;
    }

    .photo-tag {
        left: 10px;
        bottom: 12px;
        padding: 12px;
    }

    .red-shape,
    .blue-shape {
        display: none;
    }

    .benefits {
        margin: -25px 4% 0;
        padding: 22px 15px;
        grid-template-columns: 1fr 1fr;
        gap: 22px 12px;
    }

    .benefit {
        gap: 8px;
    }

    .benefit:not(:last-child) {
        border-right: 0;
        padding-right: 0;
    }

    .benefit-icon {
        width: 30px;
        height: 35px;
        font-size: 23px;
    }

    .benefit h3 {
        font-size: 11px;
    }

    .benefit p {
        font-size: 9px;
    }

    .section {
        padding: 55px 5%;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .course-grid {
        grid-template-columns: none;
        gap: 12px;
    }

    .course-card {
        padding: 17px 13px;
    }

    .course-letter {
        font-size: 31px;
    }

    .course-visual {
        height: 85px;
    }

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

    .about-image {
        min-height: 250px;
    }

    .planner-banner {
        margin: 50px 5%;
        padding: 30px 23px;
        align-items: flex-start;
        flex-direction: column;
    }

    footer {
        padding: 28px 5%;
        align-items: flex-start;
        flex-direction: column;
    }
}




/* PODSTRANKY */

.subpage-hero {
    padding: 80px 7%;
    background:
        radial-gradient(ellipse at 90% 20%, #eaf1ff 0%, transparent 45%),
        var(--white);
    border-bottom: 1px solid var(--border);
}

.subpage-hero h1 {
    margin-top: 18px;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(42px, 6vw, 68px);
    line-height: 1.08;
    letter-spacing: -2px;
}

.subpage-hero h1 span {
    color: var(--red);
}

.subpage-hero > p:last-child {
    max-width: 580px;
    margin-top: 20px;
    color: var(--gray);
    font-size: 15px;
    line-height: 1.8;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.info-card {
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: white;
}

.value-number {
    color: var(--red);
    font-family: 'Manrope', sans-serif;
    font-size: 28px;
    font-weight: 800;
}

.info-card h3 {
    margin-top: 18px;
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
}

.info-card p {
    margin-top: 10px;
    color: var(--gray);
    font-size: 13px;
    line-height: 1.8;
}

.course-grid-large {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.course-grid-large .course-card {
    padding: 25px;
}

.course-grid-large .course-visual {
    height: 130px;
}

.practice-image {
    background-image: url('https://images.unsplash.com/photo-1449965408869-eaa3f722e40d?auto=format&fit=crop&w=600&q=80');
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.price-card {
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: white;
    box-shadow: 0 8px 25px rgba(11, 43, 99, 0.04);
}

.price-card.featured {
    border: 2px solid var(--red);
}

.price-category {
    color: var(--red);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.price-card h2 {
    margin-top: 18px;
    font-family: 'Manrope', sans-serif;
    font-size: 24px;
}

.price-card p {
    margin-top: 12px;
    color: var(--gray);
    font-size: 13px;
    line-height: 1.8;
}

.price-value {
    margin: 25px 0;
    font-family: 'Manrope', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: var(--navy);
}

.price-note {
    margin-top: 30px;
    padding: 25px;
    background: var(--light);
    border-radius: 10px;
}

.price-note p {
    margin-top: 8px;
    color: var(--gray);
    font-size: 13px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2,
.contact-form-card h2 {
    margin-top: 12px;
    font-family: 'Manrope', sans-serif;
    font-size: 35px;
    line-height: 1.2;
}

.contact-intro,
.form-description {
    margin-top: 15px;
    color: var(--gray);
    font-size: 14px;
    line-height: 1.8;
}

.contact-item {
    display: flex;
    gap: 17px;
    padding: 22px 0;
    border-bottom: 1px solid var(--border);
}

.contact-icon {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 9px;
    background: #eef3ff;
    color: var(--navy);
    font-size: 12px;
    font-weight: 800;
}

.contact-item h3 {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
}

.contact-item p,
.contact-item a,
.contact-item div > span {
    display: block;
    margin-top: 5px;
    font-size: 12px;
}

.contact-item p {
    color: var(--gray);
}

.contact-item a,
.contact-item div > span {
    color: var(--navy);
    font-weight: 700;
}

.contact-form-card {
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 10px 35px rgba(11, 43, 99, 0.06);
}

.contact-form-card form {
    display: flex;
    flex-direction: column;
    margin-top: 25px;
}

.contact-form-card label {
    margin: 15px 0 7px;
    color: var(--navy);
    font-size: 12px;
    font-weight: 700;
}

.contact-form-card input,
.contact-form-card select,
.contact-form-card textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #dfe5ef;
    border-radius: 7px;
    background: #fff;
    color: var(--navy-dark);
    font: inherit;
    font-size: 13px;
}

.contact-form-card input:focus,
.contact-form-card select:focus,
.contact-form-card textarea:focus {
    outline: 2px solid #c7d8ff;
    border-color: var(--navy);
}

.contact-form-card textarea {
    resize: vertical;
}

.form-button {
    margin-top: 22px;
    border: 0;
    cursor: pointer;
    font-family: inherit;
}

.form-disclaimer {
    margin-top: 12px;
    color: var(--gray);
    font-size: 11px;
}

/* RESPONSIVNE PODSTRANKY */

@media (max-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .course-grid-large {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 600px) {
    .subpage-hero {
        padding: 55px 5%;
    }

    .price-grid,
    .course-grid-large {
        grid-template-columns: 1fr;
    }

    .price-card,
    .contact-form-card {
        padding: 24px;
    }

    .contact-info h2,
    .contact-form-card h2 {
        font-size: 29px;
    }
}
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    display: block;
    width: 180px;
    height: auto;
    object-fit: contain;
}
.navbar .logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.navbar .logo-img {
    display: block;
    width: 156px;
    height: 65px;
    object-fit: contain;
    object-position: left center;
}

/* galeria*/

.about {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 55px;
    align-items: center;
    background: var(--light);
}

.about-gallery {
    min-width: 0;
    width: 100%;
}

.gallery-main {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
    border-radius: 13px;
    background: #e5eaf2;
    box-shadow: 0 15px 40px rgba(11, 43, 99, 0.10);
}

.gallery-main-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.2s ease;
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    width: 43px;
    height: 43px;
    border: none;
    border-radius: 50%;
    background: white;
    color: var(--navy);
    font-size: 29px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    transition: background 0.2s, color 0.2s;
}

.gallery-arrow:hover {
    background: var(--red);
    color: white;
}

.gallery-prev {
    left: 15px;
}

.gallery-next {
    right: 15px;
}

.gallery-counter {
    position: absolute;
    right: 15px;
    bottom: 15px;
    padding: 6px 11px;
    border-radius: 6px;
    background: rgba(7, 30, 70, 0.75);
    color: white;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
    margin-top: 13px;
}

.gallery-thumb {
    min-width: 0;
    height: 78px;
    padding: 0;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 9px;
    background: white;
    cursor: pointer;
    opacity: 0.78;
    transition: opacity 0.2s, border-color 0.2s,
                transform 0.2s;
}

.gallery-thumb:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.gallery-thumb.active {
    border-color: #168cff;
    opacity: 1;
}

.gallery-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content {
    min-width: 0;
}

.about-content h2 {
    margin-top: 9px;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(32px, 3.2vw, 42px);
    line-height: 1.2;
    letter-spacing: -1.4px;
}

.about-content > p:not(.eyebrow) {
    max-width: 520px;
    margin: 15px 0;
    color: var(--gray);
    font-size: 14px;
    line-height: 1.9;
}

.about-content .about-intro {
    margin-top: 20px;
    margin-bottom: 0;
    font-weight: 600;
    color: var(--black);
}

.about-content .btn-primary {
    margin-top: 10px;
}

/* TABLETY */

@media (max-width: 1000px) {
    .about {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .gallery-main {
        height: 290px;
    }

    .gallery-thumbnails {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .gallery-thumb {
        height: 70px;
    }
}

/* MOBILY */

@media (max-width: 700px) {
    .about {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .gallery-main {
        height: 260px;
    }

    .gallery-thumbnails {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 9px;
    }

    .gallery-thumb {
        height: 75px;
    }

    .gallery-arrow {
        width: 38px;
        height: 38px;
    }

    .about-content h2 {
        font-size: 34px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gallery-main-image,
    .gallery-thumb,
    .gallery-arrow {
        transition: none;
    }
}
.gallery-main {
    isolation: isolate;
    perspective: 1000px;
}

.gallery-main-image {
    transform: scale(1);
    opacity: 1;
    will-change: transform, opacity;
}

.gallery-main-image.is-changing {
    animation: galleryReveal 700ms cubic-bezier(.22, 1, .36, 1);
}

@keyframes galleryReveal {
    0% {
        opacity: 0.25;
        transform: scale(1.055);
        filter: blur(3px);
    }

    100% {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}

/* Jemný pohyb pri hoveri na hlavnej fotografii */

.gallery-main:hover .gallery-main-image {
    transform: scale(1.025);
    transition: transform 1.2s cubic-bezier(.22, 1, .36, 1);
}

/* Šípky */

.gallery-arrow {
    opacity: 0.8;
    transition:
        transform 250ms ease,
        background 250ms ease,
        color 250ms ease,
        opacity 250ms ease;
}

.gallery-main:hover .gallery-arrow {
    opacity: 1;
}

.gallery-prev:hover {
    transform: translateY(-50%) translateX(-3px);
}

.gallery-next:hover {
    transform: translateY(-50%) translateX(3px);
}

/* Náhľady */

.gallery-thumb {
    position: relative;
    transform: translateY(0) scale(1);
    transition:
        transform 300ms cubic-bezier(.22, 1, .36, 1),
        border-color 300ms ease,
        opacity 300ms ease,
        box-shadow 300ms ease;
}

.gallery-thumb img {
    transition: transform 500ms cubic-bezier(.22, 1, .36, 1);
}

.gallery-thumb:hover img {
    transform: scale(1.1);
}

.gallery-thumb.active {
    border-color: #168cff;
    box-shadow: 0 0 0 2px rgba(22, 140, 255, 0.15);
    transform: translateY(-3px);
}

/* Počítadlo */

.gallery-counter {
    backdrop-filter: blur(8px);
    transition: background 250ms ease;
}

/* Prístupnosť */

@media (prefers-reduced-motion: reduce) {
    .gallery-main-image,
    .gallery-thumb,
    .gallery-thumb img,
    .gallery-arrow {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
}

/* HORNÝ KONTAKTNÝ PÁS – BIELE POZADIE */

.top-contact {
    width: 100%;
    min-height: 48px;
    padding: 10px 5%;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 40px;

    background: #ffffff !important;
    color: #071e46 !important;
    border-bottom: 1px solid #e7ebf2;

    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
}

.top-contact {
    width: 100%;
    min-height: 52px;
    padding: 10px 5%;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    column-gap: 42px;
    row-gap: 12px;

    background: #ffffff !important;
    color: #071e46;
    border-bottom: 1px solid #e7ebf2;

    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
}

.top-contact a {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: #071e46 !important;
    text-decoration: none;
    white-space: nowrap;

    transition: color 0.25s ease;
}

.top-contact a:hover {
    color: #e31837 !important;
}

.top-contact .contact-icon-img {
    display: block;
    width: 21px;
    height: 21px;
    object-fit: contain;
    flex-shrink: 0;

    background: transparent;
    border: none;
    padding: 0;

    filter: none;
}

.top-contact a:hover .contact-icon-img {
    transform: translateY(-2px);
}

@media (max-width: 700px) {
    .top-contact {
        justify-content: flex-start;
        column-gap: 20px;
        padding: 12px 5%;
        font-size: 11px;
    }

    .top-contact .contact-icon-img {
        width: 18px;
        height: 18px;
    }
}

/* kontaaaktttttttttttttttttt*/

.contact-page {
    --contact-navy: #0b2b63;
    --contact-red: #e31837;
    --contact-blue: #168cff;
    --contact-gray: #64718a;
    --contact-border: #e1e9f7;

    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 65px 6% 55px;
    color: var(--contact-navy);

    background:
        radial-gradient(ellipse at 10% 35%, #eaf1ff 0%, transparent 38%),
        radial-gradient(ellipse at 90% 80%, #eef4ff 0%, transparent 32%),
        #fff;
}

.contact-page::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    right: 8%;
    width: 180px;
    height: 480px;
    background: linear-gradient(
        150deg,
        rgba(227, 24, 55, 0.13),
        rgba(11, 43, 99, 0.035)
    );
    transform: skewX(-30deg);
    pointer-events: none;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 28px;
    max-width: 1500px;
    margin: 0 auto;
}

.contact-left,
.contact-right {
    min-width: 0;
}

.contact-eyebrow {
    margin-bottom: 12px;
    color: var(--contact-red);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
}

.contact-left h1 {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(48px, 5.5vw, 82px);
    line-height: 0.98;
    font-weight: 800;
    letter-spacing: -3px;
}

.contact-left h1 span {
    color: var(--contact-red);
}

.contact-description {
    max-width: 510px;
    margin: 18px 0 30px;
    color: var(--contact-gray);
    font-size: 15px;
    line-height: 1.8;
}

/* Kontaktné karty */

.contact-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
}

.contact-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 13px;
    min-width: 0;
    min-height: 174px;
    padding: 20px 16px;
    overflow: hidden;

    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--contact-border);
    border-radius: 14px;
    box-shadow: 0 5px 20px rgba(11, 43, 99, 0.035);

    text-decoration: none;
    color: var(--contact-navy);

    transition:
        transform 280ms ease,
        box-shadow 280ms ease,
        border-color 280ms ease;
}

.contact-card::after {
    content: "";
    position: absolute;
    width: 70px;
    height: 70px;
    right: -35px;
    bottom: -35px;
    border-radius: 50%;
    background: #edf3ff;
    transition: transform 350ms ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: #bdcff2;
    box-shadow: 0 15px 35px rgba(11, 43, 99, 0.09);
}

.contact-card:hover::after {
    transform: scale(2.2);
}

.contact-icon {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 13px;
    transition: transform 250ms ease;
}

.contact-card:hover .contact-icon {
    transform: rotate(-5deg) scale(1.05);
}

.red-icon {
    background: #ffe7ec;
}

.blue-icon {
    background: #e5efff;
}

.contact-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* Jemné zafarbenie vlastných SVG ikon */

.red-icon img {
    filter: brightness(0) saturate(100%)
        invert(20%) sepia(88%) saturate(3400%)
        hue-rotate(335deg) brightness(92%);
}

.blue-icon img {
    filter: brightness(0) saturate(100%)
        invert(19%) sepia(94%) saturate(2200%)
        hue-rotate(201deg) brightness(92%);
}

.contact-card-content {
    position: relative;
    z-index: 1;
    min-width: 0;
    padding-right: 5px;
}

.contact-card-content h2 {
    margin: 3px 0 8px;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    line-height: 1.3;
}

.contact-card-content p {
    color: var(--contact-gray);
    font-size: 12px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.contact-card-content strong {
    display: block;
    margin-top: 12px;
    color: var(--contact-navy);
    font-size: 12px;
    line-height: 1.5;
    overflow-wrap: anywhere;
    transition: color 200ms ease;
}

.contact-card:first-child .contact-card-content strong,
.contact-card:nth-child(4) .contact-card-content strong {
    color: var(--contact-red);
}

.contact-card:hover .contact-card-content strong {
    color: var(--contact-red);
}

.contact-card-arrow {
    position: absolute;
    z-index: 1;
    right: 12px;
    bottom: 12px;
    display: grid;
    place-items: center;
    width: 31px;
    height: 31px;
    border-radius: 50%;
    background: #edf3ff;
    color: var(--contact-navy);
    font-size: 17px;
    transition:
        background 250ms ease,
        color 250ms ease,
        transform 250ms ease;
}

.contact-card:hover .contact-card-arrow {
    background: var(--contact-red);
    color: #fff;
    transform: translate(2px, -2px);
}

/* Pravý panel */

.contact-right {
    padding: 20px;
    background: rgba(255, 255, 255, 0.93);
    border: 1px solid var(--contact-border);
    border-radius: 17px;
    box-shadow: 0 15px 45px rgba(11, 43, 99, 0.06);
    animation: contactEntrance 650ms ease both;
}

.map-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.map-pin-icon {
    display: none;
}

.map-heading h2 {
    font-family: 'Manrope', sans-serif;
    font-size: 20px;
    line-height: 1.35;
}

.map-heading p {
    margin-top: 4px;
    color: var(--contact-gray);
    font-size: 13px;
}

.map-heading > a {
    margin-left: auto;
    padding: 11px 13px;
    border: 1px solid #dbe5f8;
    border-radius: 25px;
    color: var(--contact-navy);
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none;
    transition:
        color 200ms ease,
        background 200ms ease;
}

.map-heading > a:hover {
    color: #fff;
    background: var(--contact-navy);
}

.contact-map {
    height: 280px;
    overflow: hidden;
    border-radius: 12px;
    background: #edf1f7;
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Tmavý panel s otváracími hodinami */

.opening-panel {
    margin-top: 14px;
    padding: 22px 20px;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(ellipse at 60% 0%, #2266b9 0%, transparent 45%),
        #114696;
    border-radius: 13px;
}

.opening-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 17px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.opening-heading > div {
    display: flex;
    align-items: center;
    gap: 12px;
}

.opening-clock {
    font-size: 28px;
    line-height: 1;
}

.opening-heading h2 {
    font-family: 'Manrope', sans-serif;
    font-size: 17px;
}

.opening-label {
    color: #e5e6e7;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
}

.opening-days {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    margin-top: 16px;
}

.opening-days > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
    padding: 0 8px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.opening-days > div:first-child {
    padding-left: 0;
}

.opening-days > div:last-child {
    padding-right: 0;
    border-right: 0;
}

.opening-days span {
    color: #c0d0e8;
    font-size: 9px;
    font-weight: 600;
}

.opening-days strong {
    color: #fff;
    font-size: 10px;
    white-space: nowrap;
}

.opening-days .closed {
    color: #ff879a;
}

/* Spodný banner */

.contact-banner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 22px;
    max-width: 1500px;
    margin: 42px auto 0;
    padding: 25px 30px;
    overflow: hidden;
    background:
        linear-gradient(100deg, #f0f5ff, #fff 65%, #e8f0ff);
    border-radius: 15px;
}

.contact-banner::after {
    content: "";
    position: absolute;
    right: 35px;
    top: -70px;
    width: 65px;
    height: 260px;
    background: rgba(227, 24, 55, 0.12);
    transform: rotate(24deg);
    pointer-events: none;
}

.banner-symbol {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: #fff;
    color: var(--contact-red);
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 800;
}

.banner-title {
    min-width: 0;
}

.banner-title .contact-eyebrow {
    margin-bottom: 5px;
}

.banner-title h2 {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(22px, 2.5vw, 32px);
    line-height: 1.25;
    letter-spacing: -0.8px;
}

.banner-description {
    max-width: 260px;
    margin-left: auto;
    color: var(--black);
    font-size: 15px;
    line-height: 1.7;
}

.banner-button {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-shrink: 0;
    padding: 15px 22px;
    border-radius: 9px;
    background: var(--contact-red);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition:
        transform 250ms ease,
        background 250ms ease;
}

.banner-button:hover {
    transform: translateY(-3px);
    background: #c90f2b;
}

/* Nástup animácie */

@keyframes contactEntrance {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* TABLETY */

@media (max-width: 1150px) {
    .contact-page {
        padding-right: 4%;
        padding-left: 4%;
    }

    .contact-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 25px;
    }

    .contact-description {
        max-width: 650px;
    }

    .contact-right {
        max-width: none;
    }

    .contact-banner {
        flex-wrap: wrap;
    }

    .banner-description {
        margin-left: 0;
    }
}

/* MENŠIE OBRAZOVKY */

@media (max-width: 650px) {
    .contact-page {
        padding: 45px 5% 40px;
    }

    .contact-left h1 {
        font-size: 52px;
        letter-spacing: -2px;
    }

    .contact-description {
        font-size: 13px;
    }

    .contact-cards {
        grid-template-columns: minmax(0, 1fr);
    }

    .contact-card {
        min-height: 145px;
        padding: 19px;
    }

    .contact-right {
        padding: 13px;
    }

    .map-heading {
        flex-wrap: wrap;
    }

    .map-heading h2 {
        font-size: 17px;
    }

    .map-heading > a {
        width: 100%;
        margin-left: 0;
        text-align: center;
    }

    .contact-map {
        height: 240px;
    }

    .opening-panel {
        padding: 18px 13px;
    }

    .opening-heading h2 {
        font-size: 15px;
    }

    .opening-label {
        font-size: 8px;
    }

    .opening-days {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0;
    }

    .opening-days > div,
    .opening-days > div:first-child,
    .opening-days > div:last-child {
        padding: 11px 5px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    .opening-days > div:last-child {
        border-bottom: 0;
    }

    .contact-banner {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
        padding: 23px 20px;
    }

    .banner-description {
        margin: 0;
    }

    .banner-button {
        width: 100%;
    }
}

/* Obmedzenie pohybu pre používateľov,
   ktorí ho majú vypnutý v systéme */

@media (prefers-reduced-motion: reduce) {
    .contact-right {
        animation: none;
    }

    .contact-card,
    .contact-icon,
    .contact-card-arrow,
    .banner-button {
        transition: none;
    }
}

.banner-symbol {
    overflow: hidden;
    padding: 8px;
}

.banner-symbol img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* OPRAVA VIDITEĽNOSTI ŠÍPOK KURZOV */
.courses-slider {
    position: relative;
    overflow: visible;
}


/* Moderné šípky slidera kurzov */
.courses-arrow {
    position: absolute;
    top: 50%;
    z-index: 20;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    border: 1px solid rgba(11, 43, 99, 0.12);
    border-radius: 50%;

    background: #ffffff;
    color: #0b2b63;

    font-size: 24px;
    font-weight: 500;
    line-height: 1;

    cursor: pointer;
    transform: translateY(-50%);

    box-shadow: 0 4px 14px rgba(11, 43, 99, 0.12);

    transition:
        background 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.courses-arrow:hover {
    background: #0b2b63;
    color: #ffffff;
    box-shadow: 0 8px 22px rgba(11, 43, 99, 0.24);
    transform: translateY(-50%) scale(1.08);
}

.courses-arrow:active {
    transform: translateY(-50%) scale(0.96);
}

.courses-arrow:focus-visible {
    outline: 3px solid rgba(239, 24, 67, 0.45);
    outline-offset: 4px;
}

.courses-prev {
    left: -20px;
}

.courses-next {
    right: -20px;
}

@media (max-width: 700px) {
    .courses-arrow {
        width: 40px;
        height: 40px;
        font-size: 21px;
    }

    .courses-prev {
        left: -8px;
    }

    .courses-next {
        right: -8px;
    }
}


.courses-slider .courses-prev {
    left: -18px;
}

.courses-slider .courses-next {
    right: -18px;
}

@media (max-width: 700px) {
    .courses-slider .courses-prev {
        left: -8px;
    }

    .courses-slider .courses-next {
        right: -8px;
    }
}


/* Zarovnanie sipiek kurzov */
.courses-slider .courses-arrow {
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    line-height: 1;
}

.courses-slider .courses-arrow:hover {
    transform: translateY(-50%) scale(1.08);
}

.courses-slider .courses-arrow:active {
    transform: translateY(-50%) scale(0.96);
}


/* ===== PREMIUM KARTY KURZOV H3K ===== */

.course-grid {
    grid-auto-columns: calc((100% - 60px) / 5);
    grid-template-columns: none;
    align-items: stretch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.course-grid::-webkit-scrollbar {
    display: none;
}

.course-grid .course-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 10px;
    overflow: hidden;
    color: var(--navy-dark);
    background: #fff;
    border: 1px solid #e4eaf3;
    border-radius: 15px;
    box-shadow: 0 8px 24px rgba(11, 43, 99, 0.055);
    text-decoration: none;
    transition: transform 0.25s ease,
                box-shadow 0.25s ease,
                border-color 0.25s ease;
}

.course-grid .course-card:hover {
    transform: translateY(-5px);
    border-color: #cbd7ea;
    box-shadow: 0 16px 35px rgba(11, 43, 99, 0.12);
}

.course-grid .course-visual {
    flex-shrink: 0;
    width: 100%;
    height: 155px;
    margin: 0;
    border-radius: 9px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.course-grid .course-card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: stretch;
    padding: 9px 7px 5px;
}

.course-grid .course-letter {
    color: var(--navy);
    font-family: 'Manrope', sans-serif;
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
}

.course-grid .course-card h3 {
    margin-top: 3px;
    color: var(--navy);
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    line-height: 1.4;
}

.course-grid .course-subtitle {
    margin-top: 1px;
    color: var(--gray);
    font-size: 13px;
}

.course-grid .course-features {
    display: grid;
    gap: 8px;
    margin: 17px 0 18px;
    padding: 0;
    list-style: none;
}

.course-grid .course-features li {
    position: relative;
    padding-left: 25px;
    color: #344663;
    font-size: 12px;
    line-height: 1.5;
}

.course-grid .course-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: -1px;
    color: var(--red);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
}

.course-grid .course-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 48px;
    margin-top: auto;
    padding: 11px 14px;
    border-radius: 9px;
    background: var(--red);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    transition: background 0.2s ease;
}

.course-grid .course-cta > span {
    font-size: 20px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.course-grid .course-card:hover .course-cta {
    background: #c90f2b;
}

.course-grid .course-card:hover .course-cta > span {
    transform: translateX(4px);
}

.course-grid .course-featured {
    border: 1.5px solid var(--red);
    box-shadow: 0 10px 28px rgba(227, 24, 55, 0.09);
}

.course-grid .course-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
    padding: 7px 11px;
    border-radius: 7px;
    background: var(--red);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@media (max-width: 1100px) {
    .course-grid {
        grid-auto-columns: calc((100% - 30px) / 3);
    }

    .course-grid .course-visual {
        height: 145px;
    }
}

@media (max-width: 700px) {
    .course-grid {
        grid-auto-columns: 82%;
        gap: 12px;
    }

    .course-grid .course-visual {
        height: 175px;
    }

    .course-grid .course-letter {
        font-size: 32px;
    }

    .course-grid .course-card h3 {
        font-size: 15px;
    }
}

/* Tlačidlá v hlavičke */
.navbar-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-shrink: 0;
}

.application-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 47px;
    padding: 12px 17px;
    border: 1px solid var(--red);
    border-radius: 9px;
    background: var(--red);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    transition: background 0.2s, transform 0.2s;
}

.application-btn:hover {
    background: #c90f2b;
    transform: translateY(-2px);
}

.navbar .planner-btn {
    min-height: 47px;
}

@media (max-width: 1100px) {
    .navbar-actions {
        gap: 8px;
    }

    .application-btn {
        padding: 11px 12px;
        font-size: 11px;
    }
}

@media (max-width: 700px) {

    .navbar {
        height: auto;
        min-height: 75px;
        padding: 14px 5%;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 14px 8px;
    }

    /* Logo vľavo */
    .navbar .logo {
        order: 1;
        flex-shrink: 0;
    }

    .navbar .logo-img {
        width: 95px;
        height: auto;
    }

    /* Tlačidlá vedľa loga */
    .navbar-actions {
        order: 2;
        width: auto;
        margin-left: auto;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 6px;
        flex-shrink: 1;
    }

    .navbar-actions a {
        flex: 0 1 auto;
        min-height: 40px;
        padding: 9px 10px;
        font-size: 9px;
        text-align: center;
        white-space: nowrap;
    }

    /* Navigácia pod logom a tlačidlami */
    .navbar .nav-links {
        order: 3;
        width: 100%;
        display: flex;
        overflow-x: auto;
        padding: 5px 0;
        gap: 22px;
    }

    .nav-links a {
        white-space: nowrap;
        font-size: 12px;
    }

    .nav-links .active::after {
        bottom: -7px;
    }
}
.footertext {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 16px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
    color: black;
}


.b-courses-page {
    padding: 42px 6% 75px;
    background: radial-gradient(
        ellipse at 50% 0%,
        #edf3ff 0%,
        #fff 55%
    );
}

.b-courses-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.b-courses-heading {
    text-align: center;
    margin: 12px 0 35px;
}

.b-courses-heading .eyebrow {
    color: var(--red);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
}

.b-courses-heading h1 {
    margin-top: 10px;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.15;
    letter-spacing: -1.5px;
    color: var(--navy-dark);
}

.b-courses-heading h1 span {
    color: var(--red);
}

.b-courses-heading p:last-child {
    margin-top: 12px;
    color: var(--gray);
    font-size: 16px;
}

.b-course-photos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 25px;
}

.b-course-photo {
    height: 220px;
    border-radius: 16px;
    overflow: hidden;
    background: #edf2fa;
}


.b-course-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.b-course-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.b-price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 25px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 15px;
    box-shadow: 0 8px 28px rgba(11, 43, 99, .055);
    transition: transform .2s, box-shadow .2s, border-color .2s;
}

.b-price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 35px rgba(11, 43, 99, .11);
}

.b-price-card.featured {
    border: 2px solid var(--red);
}

.b-popular {
    align-self: flex-start;
    margin: -8px 0 15px;
    padding: 6px 11px;
    border-radius: 6px;
    background: var(--red);
    color: white;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .5px;
}

.b-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.b-card-icon {
    display: grid;
    place-items: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #eef3ff;
    color: var(--navy);
    font-size: 25px;
}

.b-price-card h2 {
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    line-height: 1.35;
    color: var(--navy-dark);
}

.b-price {
    margin-top: 17px;
    color: var(--red);
    font-family: 'Manrope', sans-serif;
    font-size: 34px;
    font-weight: 800;
    line-height: 1.1;
}

.b-old-price {
    margin-top: 4px;
    color: #7a879b;
    font-size: 17px;
    font-weight: 700;
    text-decoration: line-through;
}

.b-price-note {
    margin-top: 6px;
    color: var(--gray);
    font-size: 11px;
}

.b-price-card ul {
    display: grid;
    gap: 9px;
    margin: 20px 0 25px;
    padding: 0;
    list-style: none;
    color: var(--gray);
    font-size: 13px;
}

.b-price-card li {
    position: relative;
    padding-left: 23px;
    line-height: 1.5;
}

.b-price-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--red);
    font-weight: 900;
    font-size: 16px;
}

.b-card-button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 44px;
    margin-top: auto;
    padding: 12px 15px;
    border-radius: 8px;
    background: var(--red);
    color: white;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    transition: background .2s;
}

.b-card-button:hover {
    background: #c90f2b;
}

.b-help-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-top: 28px;
    padding: 28px 32px;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: linear-gradient(110deg, #f5f8ff, #fff);
    box-shadow: 0 8px 25px rgba(11, 43, 99, .05);
}

.b-help-banner h2 {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(21px, 2.5vw, 30px);
    color: var(--navy);
}

.b-help-banner h2 span {
    color: var(--red);
}

.b-help-banner p {
    margin-top: 7px;
    color: var(--gray);
    font-size: 13px;
}

.b-help-button {
    flex-shrink: 0;
    padding: 14px 20px;
    border-radius: 8px;
    background: var(--navy);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.b-help-button:hover {
    background: var(--red);
}

/* TABLETY */
@media (max-width: 900px) {
    .b-course-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .b-course-photo {
        height: 180px;
    }
}

/* MOBILY */
@media (max-width: 600px) {
    .b-courses-page {
        padding: 32px 5% 50px;
    }

    .b-course-grid,
    .b-course-photos {
        grid-template-columns: 1fr;
    }

    .b-course-photo {
        height: 190px;
    }

    .b-price-card {
        padding: 22px;
    }

    .b-help-banner {
        align-items: flex-start;
        flex-direction: column;
        padding: 24px;
    }

    .b-help-button {
        width: 100%;
        text-align: center;
    }
}


/* ===== H3K FOOTER – CEZ CELÚ ŠÍRKU ===== */

.h3k-footer {
    --f-blue: #0b2b63;
    --f-dark: #071e46;
    --f-red: #e31837;
    --f-gray: #64718a;
    --f-border: #e7ebf2;

    display: block;
    position: relative;
    width: 100%;
    max-width: none;
    margin: 80px 0 0;
    padding: 0;
    box-sizing: border-box;
    background: #fff;
    color: var(--f-dark);
    border-top: 1px solid var(--f-border);
}

.h3k-footer *,
.h3k-footer *::before,
.h3k-footer *::after {
    box-sizing: border-box;
}

/* Horný banner */
.h3k-footer .footer-cta-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 22px 40px;

    width: 100%;
    margin: 0;
    padding: 42px max(5%, calc((100% - 1400px) / 2));

    border: 0;
    border-top: 3px solid var(--f-red);
    border-bottom: 1px solid #e1e8f4;
    border-radius: 0;
    background:
        radial-gradient(ellipse at 90% 0%, #eaf1ff, transparent 50%),
        #f7f9fd;
}

.h3k-footer .footer-cta-content {
    max-width: 760px;
    min-width: 0;
}

.h3k-footer .footer-kicker {
    display: block;
    margin-bottom: 12px;
    color: var(--f-red);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.h3k-footer .footer-cta-content h2 {
    margin: 0;
    color: var(--f-dark);
    font-family: 'Manrope', sans-serif;
    font-size: clamp(30px, 3vw, 44px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
}

.h3k-footer .footer-cta-content h2 span {
    color: var(--f-red);
}

.h3k-footer .footer-cta-content p {
    max-width: 650px;
    margin: 14px 0 0;
    color: var(--f-gray);
    font-size: 13px;
    line-height: 1.9;
}

.h3k-footer .footer-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 16px 23px;
    border-radius: 9px;
    background: var(--f-red);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 8px 22px #e3183725;
    transition: .2s ease;
}

.h3k-footer .footer-cta-button:hover {
    transform: translateY(-3px);
    background: #c90f2b;
}

.h3k-footer .footer-cta-button span {
    font-size: 18px;
}

.h3k-footer .footer-cta-features {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    padding-top: 18px;
    border-top: 1px solid #e0e7f2;
    color: var(--f-blue);
    font-size: 11px;
    font-weight: 600;
}

/* Štyri stĺpce cez šírku stránky */
.h3k-footer .footer-content {
    display: grid;
    grid-template-columns:
        minmax(0, 1.3fr)
        minmax(0, .75fr)
        minmax(0, 1fr)
        minmax(0, 1.15fr);
    gap: clamp(24px, 3.5vw, 55px);

    width: 100%;
    max-width: none;
    margin: 0;
    padding: 55px 5%;
}

.h3k-footer .footer-about {
    min-width: 0;
    max-width: 420px;
}

.h3k-footer .footer-brand {
    display: inline-flex;
    margin-bottom: 20px;
}

.h3k-footer .footer-brand img {
    display: block;
    width: 125px;
    max-width: 100%;
    height: auto;
}

.h3k-footer .footer-about > p {
    margin: 0 0 22px;
    color: var(--f-gray);
    font-size: 12px;
    line-height: 2;
}

.h3k-footer .footer-social {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--f-blue);
    font-size: 11px;
    font-weight: 700;
}

.h3k-footer .footer-social:hover {
    color: var(--f-red);
}

.h3k-footer .footer-social-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: #f0f4fc;
    color: var(--f-red);
    font-size: 20px;
}

.h3k-footer .footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
}

.h3k-footer .footer-column h3 {
    position: relative;
    margin: 0 0 8px;
    padding-bottom: 14px;
    color: var(--f-dark);
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 800;
}

.h3k-footer .footer-column h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 29px;
    height: 3px;
    border-radius: 3px;
    background: var(--f-red);
}

.h3k-footer .footer-column > a:not(.footer-contact-item) {
    color: var(--f-gray);
    font-size: 11px;
    line-height: 1.8;
    overflow-wrap: anywhere;
    transition: color .2s, transform .2s;
}

.h3k-footer .footer-column > a:not(.footer-contact-item):hover {
    color: var(--f-red);
    transform: translateX(3px);
}

/* Kontakty */
.h3k-footer .footer-contact {
    gap: 17px;
}

.h3k-footer .footer-contact-item {
    display: flex;
    align-items: center;
    gap: 11px;
    width: 100%;
    min-width: 0;
}

.h3k-footer .footer-icon {
    display: grid;
    place-items: center;
    flex: 0 0 37px;
    width: 37px;
    height: 37px;
    border: 1px solid #e4eaf5;
    border-radius: 10px;
    background: #f5f7fb;
    color: var(--f-red);
    font-size: 15px;
    font-weight: 700;
    transition: .2s;
}

.h3k-footer .footer-contact-item:hover .footer-icon {
    background: var(--f-red);
    color: #fff;
}

.h3k-footer .footer-contact-item > span:last-child {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.h3k-footer .footer-contact-item small {
    color: var(--f-gray);
    font-size: 10px;
}

.h3k-footer .footer-contact-item strong {
    color: var(--f-dark);
    font-size: 11px;
    overflow-wrap: anywhere;
}

/* Spodná lišta */
.h3k-footer .footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px 24px;

    width: 100%;
    margin: 0;
    padding: 22px 5%;
    border-top: 1px solid var(--f-border);
}

.h3k-footer .footer-bottom p,
.h3k-footer .footer-bottom a {
    margin: 0;
    color: var(--f-gray);
    font-size: 10px;
    line-height: 1.8;
}

.h3k-footer .footer-bottom a {
    color: var(--f-blue);
    font-weight: 700;
}

.h3k-footer .footer-bottom a:hover {
    color: var(--f-red);
}

.h3k-footer .footer-bottom .footer-slogan {
    color: var(--f-blue);
    font-weight: 700;
}

/* Tablet */
@media (max-width: 950px) {
    .h3k-footer .footer-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 38px;
        padding: 42px 5%;
    }
}

/* Mobil */
@media (max-width: 600px) {
    .h3k-footer {
        margin-top: 50px;
    }

    .h3k-footer .footer-cta-panel {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
        padding: 30px 6% 24px;
    }

    .h3k-footer .footer-cta-content h2 {
        font-size: 29px;
    }

    .h3k-footer .footer-cta-button {
        justify-self: start;
    }

    .h3k-footer .footer-cta-features {
        grid-column: auto;
        gap: 12px;
    }

    .h3k-footer .footer-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px 18px;
        padding: 35px 6%;
    }

    .h3k-footer .footer-about {
        grid-column: 1 / -1;
        max-width: 100%;
    }

    .h3k-footer .footer-column > a:not(.footer-contact-item) {
        font-size: 10px;
    }

    .h3k-footer .footer-contact-item {
        gap: 8px;
    }

    .h3k-footer .footer-icon {
        flex-basis: 31px;
        width: 31px;
        height: 31px;
    }

    .h3k-footer .footer-contact-item strong {
        font-size: 10px;
    }

    .h3k-footer .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 9px;
        padding: 20px 6%;
    }
}

@media (max-width: 360px) {
    .h3k-footer .footer-content {
        grid-template-columns: minmax(0, 1fr);
    }

    .h3k-footer .footer-about {
        grid-column: auto;
    }
}

.b-course-photos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 35px 0 25px;
}

.b-course-photo {
    width: 100%;
    height: 320px;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.b-course-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* Mobilné zobrazenie */
@media (max-width: 700px) {
    .b-course-photos {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .b-course-photo {
        height: 280px;
    }
}

/* =========================================
   H3K – STRÁNKA KURZY
   Samostatné štýly, nezávislé od ostatných
   kariet na webe.
========================================= */

.courses-page {
    --cp-navy: #0b1f43;
    --cp-red: #f0143d;
    --cp-muted: #69758a;
    --cp-border: #e5eaf1;
    --cp-bg: #f7f9fc;

    color: var(--cp-navy);
    background: #fff;
    font-family: inherit;
    overflow: hidden;
}

.courses-page * {
    box-sizing: border-box;
}

.cp-container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}


/* ÚVOD */

.cp-hero {
    padding: 82px 0 76px;
    background:
        radial-gradient(
            circle at 88% 20%,
            rgba(240, 20, 61, .09),
            transparent 27%
        ),
        linear-gradient(135deg, #f7f9fd 0%, #fff 70%);
    border-bottom: 1px solid #edf0f5;
}

.cp-hero-content {
    max-width: 790px;
}

.cp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 20px;
    color: var(--cp-red);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.cp-eyebrow::before {
    content: "";
    width: 26px;
    height: 3px;
    border-radius: 10px;
    background: var(--cp-red);
}

.cp-hero h1 {
    max-width: 760px;
    margin: 0;
    color: var(--cp-navy);
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.04;
    letter-spacing: -3px;
    font-weight: 850;
}

.cp-hero h1 span {
    color: var(--cp-red);
}

.cp-hero-description {
    max-width: 590px;
    margin: 24px 0 0;
    color: var(--cp-muted);
    font-size: 17px;
    line-height: 1.8;
}

.cp-hero-bottom {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 32px;
}

.cp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 50px;
    padding: 0 23px;
    border-radius: 8px;
    background: var(--cp-red);
    color: #fff !important;
    text-decoration: none;
    font-size: 14px;
    font-weight: 750;
    transition: transform .2s ease, background .2s ease;
}

.cp-button:hover {
    background: #d90d32;
    transform: translateY(-2px);
}

.cp-hero-note {
    color: var(--cp-muted);
    font-size: 13px;
}


/* RÝCHLA NAVIGÁCIA */

.cp-quick-nav {
    position: relative;
    z-index: 2;
    margin-top: -25px;
}

.cp-quick-inner {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    background: #fff;
    border: 1px solid var(--cp-border);
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(11, 31, 67, .06);
    overflow: hidden;
}

.cp-quick-link {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 0;
    padding: 22px 25px;
    color: var(--cp-navy);
    text-decoration: none;
    transition: background .2s ease;
}

.cp-quick-link + .cp-quick-link {
    border-left: 1px solid var(--cp-border);
}

.cp-quick-link:hover {
    background: #f8faff;
}

.cp-quick-number {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    border-radius: 10px;
    background: #fff0f3;
    color: var(--cp-red);
    font-size: 17px;
    font-weight: 850;
}

.cp-quick-text {
    min-width: 0;
}

.cp-quick-text strong {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
}

.cp-quick-text span {
    display: block;
    color: var(--cp-muted);
    font-size: 12px;
    line-height: 1.5;
}

.cp-quick-arrow {
    margin-left: auto;
    color: var(--cp-red);
    font-size: 21px;
}


/* HLAVIČKY SEKCIÍ */

.cp-section {
    padding: 82px 0 0;
}

.cp-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 28px;
}

.cp-section-heading .cp-eyebrow {
    margin-bottom: 12px;
}

.cp-section-heading h2 {
    margin: 0;
    color: var(--cp-navy);
    font-size: clamp(29px, 4vw, 40px);
    line-height: 1.15;
    letter-spacing: -1.3px;
}

.cp-section-heading p:not(.cp-eyebrow) {
    max-width: 440px;
    margin: 12px 0 0;
    color: var(--cp-muted);
    font-size: 14px;
    line-height: 1.75;
}

.cp-section-label {
    flex-shrink: 0;
    padding: 9px 13px;
    border: 1px solid var(--cp-border);
    border-radius: 7px;
    color: var(--cp-muted);
    font-size: 12px;
    font-weight: 700;
}


/* KARTY KURZOV */

.cp-course-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.cp-course {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 28px;
    border: 1px solid var(--cp-border);
    border-radius: 13px;
    background: #fff;
    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}

.cp-course:hover {
    transform: translateY(-3px);
    border-color: #d4dce8;
    box-shadow: 0 15px 35px rgba(11, 31, 67, .07);
}

.cp-course-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 23px;
}

.cp-course-code {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    height: 51px;
    padding: 0 12px;
    border-radius: 9px;
    background: var(--cp-navy);
    color: #fff;
    font-size: 20px;
    font-weight: 850;
}

.cp-course-type {
    color: var(--cp-muted);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 1px;
    text-align: right;
    text-transform: uppercase;
}

.cp-course h3 {
    margin: 0 0 10px;
    color: var(--cp-navy);
    font-size: 22px;
    line-height: 1.3;
    letter-spacing: -.4px;
}

.cp-course-description {
    margin: 0;
    color: var(--cp-muted);
    font-size: 14px;
    line-height: 1.75;
}

.cp-course-divider {
    height: 1px;
    margin: 23px 0 19px;
    background: var(--cp-border);
}

.cp-course-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: auto;
}

.cp-course-detail {
    color: var(--cp-muted);
    font-size: 12px;
    line-height: 1.5;
}

.cp-course-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    flex-shrink: 0;
    color: var(--cp-red);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.cp-course-link span {
    font-size: 19px;
    transition: transform .2s ease;
}

.cp-course-link:hover span {
    transform: translateX(4px);
}


/* DOPLNKOVÉ SLUŽBY */

.cp-services {
    margin-top: 72px;
    padding: 65px 0 75px;
    background: var(--cp-bg);
    border-top: 1px solid #edf0f5;
    border-bottom: 1px solid #edf0f5;
}

.cp-services .cp-section-heading {
    margin-bottom: 28px;
}

.cp-service-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.cp-service {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    min-width: 0;
    padding: 25px;
    border: 1px solid var(--cp-border);
    border-radius: 12px;
    background: #fff;
}

.cp-service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: #fff0f3;
    color: var(--cp-red);
    font-size: 17px;
    font-weight: 850;
}

.cp-service-content {
    min-width: 0;
}

.cp-service h3 {
    margin: 2px 0 8px;
    color: var(--cp-navy);
    font-size: 18px;
}

.cp-service p {
    margin: 0 0 16px;
    color: var(--cp-muted);
    font-size: 13px;
    line-height: 1.75;
}


/* ZÁVEREČNÝ KONTAKTNÝ BANNER */

.cp-contact-wrap {
    padding: 75px 0;
}

.cp-contact {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 43px 46px;
    border-radius: 15px;
    background: var(--cp-navy);
    overflow: hidden;
}

.cp-contact::after {
    content: "";
    position: absolute;
    top: -95px;
    right: 130px;
    width: 240px;
    height: 240px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 50%;
    box-shadow:
        0 0 0 35px rgba(255, 255, 255, .025),
        0 0 0 70px rgba(255, 255, 255, .025);
    pointer-events: none;
}

.cp-contact-content {
    position: relative;
    z-index: 1;
    max-width: 650px;
}

.cp-contact .cp-eyebrow {
    margin-bottom: 12px;
}

.cp-contact h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(27px, 4vw, 38px);
    line-height: 1.2;
    letter-spacing: -1px;
}

.cp-contact p:not(.cp-eyebrow) {
    margin: 12px 0 0;
    color: #c5cede;
    font-size: 14px;
    line-height: 1.8;
}

.cp-contact .cp-button {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}


/* TABLETY */

@media (max-width: 850px) {
    .cp-hero {
        padding: 65px 0 60px;
    }

    .cp-quick-link {
        padding: 18px 15px;
        gap: 10px;
    }

    .cp-quick-arrow {
        display: none;
    }

    .cp-section {
        padding-top: 65px;
    }

    .cp-course {
        padding: 23px;
    }

    .cp-contact {
        padding: 34px;
    }
}


/* MOBILY */

@media (max-width: 620px) {
    .cp-container {
        width: calc(100% - 32px);
    }

    .cp-hero {
        padding: 52px 0 48px;
    }

    .cp-hero h1 {
        font-size: 43px;
        letter-spacing: -1.8px;
    }

    .cp-hero-description {
        font-size: 15px;
    }

    .cp-hero-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .cp-quick-nav {
        margin-top: 18px;
    }

    .cp-quick-inner {
        grid-template-columns: 1fr;
    }

    .cp-quick-link {
        padding: 15px 17px;
    }

    .cp-quick-link + .cp-quick-link {
        border-top: 1px solid var(--cp-border);
        border-left: 0;
    }

    .cp-quick-arrow {
        display: block;
    }

    .cp-section {
        padding-top: 55px;
    }

    .cp-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
        margin-bottom: 22px;
    }

    .cp-section-heading h2 {
        font-size: 31px;
    }

    .cp-course-list,
    .cp-service-list {
        grid-template-columns: 1fr;
    }

    .cp-course {
        padding: 23px;
    }

    .cp-course-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 13px;
    }

    .cp-services {
        margin-top: 50px;
        padding: 50px 0;
    }

    .cp-service {
        padding: 20px;
        gap: 14px;
    }

    .cp-contact-wrap {
        padding: 50px 0;
    }

    .cp-contact {
        align-items: flex-start;
        flex-direction: column;
        padding: 28px 23px;
    }

    .cp-contact::after {
        right: -100px;
    }
}


/* PRÍSTUPNOSŤ */

@media (prefers-reduced-motion: reduce) {
    .courses-page *,
    .courses-page *::before,
    .courses-page *::after {
        scroll-behavior: auto;
        transition: none !important;
    }
}

/* ==========================================
   H3K AUTOŠKOLA – STRÁNKA O NÁS
========================================== */

.about-page {
    --about-navy: #0b1f43;
    --about-red: #f0143d;
    --about-muted: #68758a;
    --about-border: #e5eaf1;
    --about-light: #f6f8fc;

    color: var(--about-navy);
    background: #fff;
    overflow: hidden;
}

.about-page *,
.about-page *::before,
.about-page *::after {
    box-sizing: border-box;
}

.about-container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

.about-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 20px;
    color: var(--about-red);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.about-eyebrow::before {
    content: "";
    display: block;
    width: 25px;
    height: 3px;
    border-radius: 10px;
    background: var(--about-red);
}


/* ÚVOD */

.about-hero {
    position: relative;
    padding: 82px 0 90px;
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(240, 20, 61, .08),
            transparent 27%
        ),
        linear-gradient(135deg, #f6f8fc, #fff 72%);
    border-bottom: 1px solid #edf0f5;
}

.about-hero > .about-container {
    display: grid;
    grid-template-columns: 1fr .92fr;
    align-items: center;
    gap: 65px;
}

.about-hero-content {
    position: relative;
    z-index: 1;
}

.about-hero h1 {
    margin: 0;
    color: var(--about-navy);
    font-size: clamp(43px, 5.3vw, 69px);
    line-height: 1.04;
    letter-spacing: -2.8px;
    font-weight: 850;
}

.about-hero h1 span {
    color: var(--about-red);
}

.about-hero-text {
    max-width: 530px;
    margin: 24px 0 0;
    color: var(--about-muted);
    font-size: 16px;
    line-height: 1.9;
}

.about-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 30px;
}

.about-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 8px;
    background: var(--about-red);
    color: #fff !important;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    transition: background .2s ease, transform .2s ease;
}

.about-btn:hover {
    background: #d90d32;
    transform: translateY(-2px);
}

.about-secondary-link,
.about-text-link {
    color: var(--about-navy);
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
}

.about-secondary-link:hover,
.about-text-link:hover {
    color: var(--about-red);
}


/* OBRÁZOK V ÚVODE */

.about-hero-visual {
    position: relative;
    min-width: 0;
    padding: 0 12px 18px 0;
}

.about-photo-frame {
    position: relative;
    height: 390px;
    border-radius: 15px;
    background: #e9edf4;
    box-shadow: 0 25px 55px rgba(11, 31, 67, .12);
    overflow: hidden;
}

.about-photo-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.about-photo-overlay {
    position: absolute;
    inset: 40% 0 0;
    background: linear-gradient(transparent, rgba(5, 17, 38, .55));
    pointer-events: none;
}

.about-photo-caption {
    position: absolute;
    right: 20px;
    bottom: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 9px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.about-caption-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--about-red);
}

.about-floating-card {
    position: absolute;
    right: -8px;
    bottom: -2px;
    display: flex;
    align-items: center;
    gap: 13px;
    max-width: calc(100% - 15px);
    padding: 17px 20px;
    border: 1px solid var(--about-border);
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(11, 31, 67, .1);
}

.about-floating-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    border-radius: 9px;
    background: var(--about-navy);
    color: #fff;
    font-size: 17px;
    font-weight: 850;
}

.about-floating-card strong,
.about-floating-card small {
    display: block;
}

.about-floating-card strong {
    margin-bottom: 5px;
    font-size: 12px;
}

.about-floating-card small {
    color: var(--about-muted);
    font-size: 10px;
    line-height: 1.5;
}

.about-decoration {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    background: rgba(240, 20, 61, .1);
}

.about-decoration-one {
    top: -24px;
    right: -25px;
    width: 75px;
    height: 75px;
}

.about-decoration-two {
    bottom: 30px;
    left: -25px;
    width: 45px;
    height: 45px;
}


/* ÚVODNÝ TEXT */

.about-intro-section {
    padding: 100px 0;
}

.about-intro-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 90px;
}

.about-section-title h2,
.about-centered-heading h2,
.about-approach-copy h2 {
    margin: 0;
    color: var(--about-navy);
    font-size: clamp(31px, 4vw, 43px);
    line-height: 1.16;
    letter-spacing: -1.5px;
}

.about-intro-copy {
    padding-top: 8px;
}

.about-intro-copy p,
.about-approach-copy > p:not(.about-eyebrow) {
    margin: 0 0 18px;
    color: var(--about-muted);
    font-size: 14px;
    line-height: 1.95;
}

.about-intro-copy p:first-child {
    color: var(--about-navy);
    font-size: 17px;
    font-weight: 650;
}


/* HODNOTY */

.about-values-section {
    padding: 85px 0 100px;
    background: var(--about-light);
    border-top: 1px solid #edf0f5;
    border-bottom: 1px solid #edf0f5;
}

.about-centered-heading {
    max-width: 660px;
    margin: 0 auto 45px;
    text-align: center;
}

.about-centered-heading .about-eyebrow {
    justify-content: center;
}

.about-centered-heading h2 {
    font-size: clamp(31px, 4vw, 42px);
}

.about-centered-heading > p:last-child {
    max-width: 530px;
    margin: 17px auto 0;
    color: var(--about-muted);
    font-size: 14px;
    line-height: 1.85;
}

.about-values-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.about-value-card {
    position: relative;
    min-width: 0;
    padding: 29px;
    border: 1px solid var(--about-border);
    border-radius: 12px;
    background: #fff;
    transition: transform .2s ease, box-shadow .2s ease;
}

.about-value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(11, 31, 67, .07);
}

.about-value-number {
    position: absolute;
    top: 25px;
    right: 25px;
    color: #cbd3df;
    font-size: 13px;
    font-weight: 800;
}

.about-value-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 53px;
    height: 53px;
    margin-bottom: 25px;
    border-radius: 11px;
    background: #fff0f3;
}

.about-value-icon svg {
    width: 29px;
    height: 29px;
    fill: none;
    stroke: var(--about-red);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.about-value-card h3 {
    margin: 0 0 12px;
    color: var(--about-navy);
    font-size: 19px;
}

.about-value-card p {
    margin: 0;
    color: var(--about-muted);
    font-size: 13px;
    line-height: 1.85;
}


/* AKO PREBIEHA VÝCVIK */

.about-approach-section {
    padding: 100px 0;
}

.about-approach-grid {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    align-items: center;
    gap: 80px;
}

.about-approach-visual {
    position: relative;
    min-width: 0;
    height: 450px;
    border-radius: 14px;
    background: #e9edf4;
}

.about-approach-visual > img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
}

.about-approach-badge {
    position: absolute;
    right: -16px;
    bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(11, 31, 67, .12);
}

.about-approach-badge span {
    color: var(--about-red);
    font-size: 20px;
    font-weight: 900;
}

.about-approach-badge small {
    color: var(--about-navy);
    font-size: 12px;
    font-weight: 750;
}

.about-approach-copy h2 {
    margin-bottom: 20px;
}

.about-steps {
    margin: 28px 0;
}

.about-step {
    display: flex;
    gap: 17px;
    padding: 19px 0;
    border-bottom: 1px solid var(--about-border);
}

.about-step:first-child {
    border-top: 1px solid var(--about-border);
}

.about-step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 37px;
    height: 37px;
    border-radius: 8px;
    background: #fff0f3;
    color: var(--about-red);
    font-size: 12px;
    font-weight: 850;
}

.about-step h3 {
    margin: 1px 0 6px;
    color: var(--about-navy);
    font-size: 15px;
}

.about-step p {
    margin: 0;
    color: var(--about-muted);
    font-size: 12px;
    line-height: 1.75;
}

.about-text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--about-red);
}

.about-text-link span {
    font-size: 19px;
    transition: transform .2s ease;
}

.about-text-link:hover span {
    transform: translateX(4px);
}


/* ZÁVEREČNÝ BANNER */

.about-cta-section {
    padding: 0 0 85px;
}

.about-cta {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    padding: 48px;
    border-radius: 15px;
    background: var(--about-navy);
    overflow: hidden;
}

.about-cta::after {
    content: "";
    position: absolute;
    top: -100px;
    right: 180px;
    width: 250px;
    height: 250px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 50%;
    box-shadow:
        0 0 0 35px rgba(255, 255, 255, .025),
        0 0 0 70px rgba(255, 255, 255, .025);
    pointer-events: none;
}

.about-cta-content {
    position: relative;
    z-index: 1;
    max-width: 620px;
}

.about-cta .about-eyebrow {
    margin-bottom: 13px;
}

.about-cta h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.15;
    letter-spacing: -1.5px;
}

.about-cta-content > p:last-child {
    max-width: 500px;
    margin: 15px 0 0;
    color: #c5cede;
    font-size: 14px;
    line-height: 1.8;
}

.about-cta-actions {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    flex-shrink: 0;
}

.about-btn-white {
    background: #fff;
    color: var(--about-navy) !important;
}

.about-btn-white:hover {
    background: #edf1f7;
}

.about-cta-contact {
    color: #fff;
    font-size: 12px;
    font-weight: 750;
    text-decoration: none;
}

.about-cta-contact:hover {
    color: #ffb4c2;
}


/* TABLETY */

@media (max-width: 900px) {
    .about-hero > .about-container {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }

    .about-photo-frame {
        height: 340px;
    }

    .about-intro-grid,
    .about-approach-grid {
        gap: 45px;
    }

    .about-value-card {
        padding: 23px;
    }

    .about-cta {
        padding: 36px;
    }
}


/* MOBILY */

@media (max-width: 650px) {
    .about-container {
        width: calc(100% - 32px);
    }

    .about-hero {
        padding: 55px 0 65px;
    }

    .about-hero > .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-hero h1 {
        font-size: clamp(40px, 11vw, 55px);
        letter-spacing: -1.8px;
    }

    .about-hero-text {
        font-size: 14px;
    }

    .about-hero-actions {
        gap: 18px;
    }

    .about-photo-frame {
        height: 300px;
    }

    .about-floating-card {
        right: 0;
        bottom: -12px;
    }

    .about-intro-section {
        padding: 65px 0;
    }

    .about-intro-grid,
    .about-approach-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .about-section-title h2,
    .about-centered-heading h2,
    .about-approach-copy h2 {
        font-size: 33px;
    }

    .about-values-section {
        padding: 65px 0;
    }

    .about-centered-heading {
        margin-bottom: 30px;
    }

    .about-values-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .about-value-card {
        padding: 25px;
    }

    .about-approach-section {
        padding: 65px 0;
    }

    .about-approach-visual {
        height: 310px;
    }

    .about-approach-badge {
        right: 10px;
        bottom: 15px;
    }

    .about-cta-section {
        padding-bottom: 55px;
    }

    .about-cta {
        align-items: flex-start;
        flex-direction: column;
        padding: 30px 24px;
        gap: 28px;
    }

    .about-cta h2 {
        font-size: 33px;
    }

    .about-cta-actions {
        align-items: flex-start;
    }

    .about-cta::after {
        right: -100px;
    }
}


/* OBMEDZENIE ANIMÁCIÍ */

@media (prefers-reduced-motion: reduce) {
    .about-page *,
    .about-page *::before,
    .about-page *::after {
        transition: none !important;
    }
}

.about-floating-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    padding: 5px;
    border-radius: 9px;
    background: #fff;
    overflow: hidden;
}

.about-floating-mark img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Vycentrovanie cenníka BE a B96 */
.b-courses-inner {
    width: min(1200px, calc(100% - 40px));
    margin-left: auto;
    margin-right: auto;
}

.b-courses-heading {
    text-align: center;
}

.b-course-photos {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.b-course-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: center;
    gap: 20px;
    width: min(850px, 100%);
    margin: 25px auto 0;
}

.b-price-card {
    width: 100%;
    min-width: 0;
}

/* Spodný informačný banner */
.b-help-banner {
    width: 100%;
    margin: 28px auto 0;
}

/* Mobil */
@media (max-width: 650px) {
    .b-courses-inner {
        width: calc(100% - 28px);
    }

    .b-course-grid {
        grid-template-columns: 1fr;
        width: 100%;
    }
}

/* BE a B96 – obrázky bez bielych okrajov */
.b-courses-page .b-course-photos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
    margin: 30px auto 25px;
}

.b-courses-page .b-course-photo {
    width: 100%;
    height: 320px;
    padding: 0;
    overflow: hidden;
    border-radius: 16px;
    background: transparent;
}

.b-courses-page .b-course-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    margin: 0;
    border: 0;
    border-radius: inherit;
}

/* Cenníkové karty vycentrované pod fotkami */
.b-courses-page .b-course-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    width: min(850px, 100%);
    margin: 25px auto 0;
}

/* Mobil */
@media (max-width: 650px) {
    .b-courses-page .b-course-photos {
        grid-template-columns: 1fr;
    }

    .b-courses-page .b-course-photo {
        height: 260px;
    }

    .b-courses-page .b-course-grid {
        grid-template-columns: 1fr;
        width: 100%;
    }
}

/* Oprava rozloženia kariet iba na stránke skupiny B */
.b-group-b-page .b-course-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    max-width: 1200px;
    margin: 25px auto 0;
    gap: 20px;
    justify-content: center;
}

@media (max-width: 900px) {
    .b-group-b-page .b-course-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .b-group-b-page .b-course-grid {
        grid-template-columns: 1fr;
    }
}

/* Rozloženie cenníka skupiny A */
.b-group-a-page .b-course-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    max-width: 1200px;
    margin: 25px auto 0;
    gap: 20px;
    justify-content: center;
}

/* Tablety */
@media (max-width: 900px) {
    .b-group-a-page .b-course-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobily */
@media (max-width: 600px) {
    .b-group-a-page .b-course-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================================================
   H3K AUTOŠKOLA – KKV
   Karty podľa dizajnu stránky skupiny A
   ================================================== */

/* Základ stránky */
.kkv-page {
    width: 100%;
}

/* Nadpis stránky */
.kkv-page .b-courses-heading {
    margin-bottom: 26px;
}

.kkv-page .b-courses-heading h1 {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
}

.kkv-page .b-courses-heading h1 span {
    color: var(--red);
}

/* Fotografie */
.kkv-page .kkv-photos {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 26px;
}

.kkv-page .kkv-photos .b-course-photo {
    min-width: 0;
    overflow: hidden;
    border-radius: 15px;
}

.kkv-page .kkv-photos .b-course-photo img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 190px;
    object-fit: cover;
}

/* Mriežka kariet */
.kkv-page .kkv-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 20px;
    width: 100%;
    margin-top: 0;
}

/* Základný vzhľad kariet */
.kkv-page .kkv-grid .b-price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 390px;
    height: 100%;
    padding: 25px;
    overflow: hidden;

    background: #ffffff;
    border : 1px solid #e2e8f2;
    border-radius: 15px;

    box-shadow: 0 8px 30px rgba(11, 43, 99, 0.045);

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

/* Hover efekt */
.kkv-page .kkv-grid .b-price-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(11, 43, 99, 0.09);
}

/* Zvýraznená prvá karta */
.kkv-page .kkv-grid .b-price-card.featured {
    border: 1px solid #faf9f9;
    padding: 25px;
}

/* Štítok na prvej karte */
.kkv-page .kkv-grid .b-popular {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    width: fit-content;
    max-width: 100%;
    margin: -6px 0 15px;
    padding: 8px 12px;

    color: #ffffff;
    background: #ed1740;
    border: none;
    border-radius: 6px;

    font-family: 'DM Sans', sans-serif;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 0.2px;
}

/* Hlavička karty */
.kkv-page .kkv-grid .b-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    margin: 0;
}

.kkv-page .kkv-grid .b-card-top h2 {
    margin: 0;
    padding: 0;

    color: #092b60;
    font-family: 'Manrope', sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: -0.25px;

    overflow-wrap: anywhere;
}

/* Cena */
.kkv-page .kkv-grid .b-price {
    margin: 15px 0 19px;
    padding: 0;

    color: #ed1740;
    font-family: 'Manrope', sans-serif;
    font-size: 35px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

/* Zoznam výhod */
.kkv-page .kkv-grid .b-price-card ul {
    display: block;
    flex: 1;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

.kkv-page .kkv-grid .b-price-card li {
    position: relative;
    display: block;
    margin: 0 0 9px;
    padding: 0 0 0 22px;

    color: #64748b;
    font-family: 'DM Sans', sans-serif;
    font-size: 12.5px;
    font-weight: 400;
    line-height: 1.65;
}

/* Červené fajky */
.kkv-page .kkv-grid .b-price-card li::before {
    content: "✓";
    position: absolute;
    top: 0;
    left: 0;

    color: #ed1740;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.35;
}

/* Tlačidlá */
.kkv-page .kkv-grid .b-card-button {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 44px;
    margin-top: auto;
    padding: 13px 12px;

    color: #ffffff;
    background: #ed1740;
    border: none;
    border-radius: 8px;

    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;

    transition: background 0.2s ease;
}

.kkv-page .kkv-grid .b-card-button:hover {
    color: #ffffff;
    background: #ce1235;
}

/* Pôvodná cena, ak sa použije */
.kkv-page .kkv-grid .b-old-price {
    margin-top: -13px;
    margin-bottom: 20px;

    color: #8190a7;
    font-size: 16px;
    font-weight: 700;
    text-decoration: line-through;
}

/* Informačný banner */
.kkv-page .b-help-banner {
    margin-top: 28px;
}

/* ==================================================
   TABLETY
   ================================================== */
@media (max-width: 1000px) {
    .kkv-page .kkv-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .kkv-page .kkv-grid .b-price-card {
        padding: 23px;
    }

    .kkv-page .kkv-grid .b-price-card.featured {
        padding: 22px;
    }

    .kkv-page .kkv-photos {
        gap: 16px;
    }
}

/* ==================================================
   MOBILY
   ================================================== */
@media (max-width: 600px) {
    .kkv-page .kkv-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .kkv-page .kkv-grid .b-price-card {
        min-height: 350px;
        padding: 24px;
    }

    .kkv-page .kkv-grid .b-price-card.featured {
        padding: 23px;
    }

    .kkv-page .kkv-grid .b-card-top h2 {
        font-size: 17px;
    }

    .kkv-page .kkv-grid .b-price {
        font-size: 33px;
    }

    .kkv-page .kkv-photos {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .kkv-page .kkv-photos .b-course-photo img {
        min-height: 180px;
    }
}

/* ==========================================
   H3K AUTOŠKOLA – STRÁNKA TRAKTOR
   ========================================== */

.traktor-page {
    width: 100%;
}

/* Hlavná fotografia a úvod */
.traktor-page .traktor-hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 35px;
    margin: 30px 0 55px;
}

.traktor-page .traktor-image {
    min-width: 0;
    height: 350px;
    overflow: hidden;
    border-radius: 15px;
    background: #f5f7fb;
}

.traktor-page .traktor-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.traktor-page .traktor-intro h2 {
    margin-top: 12px;
    color: var(--navy-dark);
    font-family: 'Manrope', sans-serif;
    font-size: clamp(27px, 3vw, 38px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
}

.traktor-page .traktor-intro > p:not(.eyebrow) {
    margin-top: 18px;
    color: var(--gray);
    font-size: 14px;
    line-height: 1.9;
}

/* Tlačidlo */
.traktor-page .traktor-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    margin-top: 24px;
    padding: 13px 22px;
    border: none;
    border-radius: 8px;
    background: var(--red);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}

.traktor-page .traktor-button:hover {
    background: #c90f2b;
    color: #fff;
    transform: translateY(-2px);
}

/* Sekcia s informáciami */
.traktor-page .traktor-info-section {
    margin: 55px 0;
}

.traktor-page .traktor-section-heading {
    max-width: 700px;
    margin-bottom: 28px;
}

.traktor-page .traktor-section-heading h2 {
    margin-top: 10px;
    color: var(--navy-dark);
    font-family: 'Manrope', sans-serif;
    font-size: clamp(27px, 3vw, 38px);
    font-weight: 800;
    line-height: 1.25;
}

.traktor-page .traktor-section-heading h2 span {
    color: var(--red);
}

.traktor-page .traktor-section-heading > p:last-child {
    margin-top: 12px;
    color: var(--gray);
    font-size: 13px;
    line-height: 1.8;
}

/* Tri informačné karty */
.traktor-page .traktor-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.traktor-page .traktor-info-card {
    padding: 27px;
    border: 1px solid #e2e8f2;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 25px rgba(11, 43, 99, 0.04);
}

.traktor-page .traktor-info-icon {
    display: grid;
    place-items: center;
    width: 45px;
    height: 45px;
    border-radius: 10px;
    background: #fff0f3;
    color: var(--red);
    font-family: 'Manrope', sans-serif;
    font-size: 21px;
    font-weight: 800;
}

.traktor-page .traktor-info-card h3 {
    margin-top: 18px;
    color: var(--navy-dark);
    font-family: 'Manrope', sans-serif;
    font-size: 17px;
    font-weight: 800;
}

.traktor-page .traktor-info-card p {
    margin-top: 9px;
    color: var(--gray);
    font-size: 13px;
    line-height: 1.8;
}

/* Cena kurzu */
.traktor-page .traktor-price-section {
    display: flex;
    justify-content: center;
    margin: 55px 0;
}

.traktor-page .traktor-price-card {
    width: 100%;
    max-width: 600px;
    padding: 35px;
    border: 2px solid var(--red);
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(11, 43, 99, 0.06);
}

.traktor-page .traktor-price-card h2 {
    margin-top: 12px;
    color: var(--navy-dark);
    font-family: 'Manrope', sans-serif;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.4;
}

.traktor-page .traktor-price {
    margin: 18px 0 22px;
    color: var(--red);
    font-family: 'Manrope', sans-serif;
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
}

.traktor-page .traktor-price-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.traktor-page .traktor-price-card li {
    position: relative;
    margin-bottom: 11px;
    padding-left: 24px;
    color: var(--gray);
    font-size: 13px;
    line-height: 1.7;
}

.traktor-page .traktor-price-card li::before {
    content: "✓";
    position: absolute;
    top: 0;
    left: 0;
    color: var(--red);
    font-size: 17px;
    font-weight: 700;
}

.traktor-page .traktor-price-card .traktor-button {
    width: 100%;
}



/* Kontaktný banner */
.traktor-page .b-help-banner {
    margin-top: 50px;
}

/* TABLETY */
@media (max-width: 900px) {
    .traktor-page .traktor-hero {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .traktor-page .traktor-image {
        height: 320px;
    }

    .traktor-page .traktor-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* MOBILY */
@media (max-width: 600px) {
    .traktor-page .traktor-hero {
        margin-top: 20px;
        gap: 22px;
    }

    .traktor-page .traktor-image {
        height: 230px;
    }

    .traktor-page .traktor-info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .traktor-page .traktor-info-card {
        padding: 23px;
    }

    .traktor-page .traktor-price-card {
        padding: 25px;
    }

    .traktor-page .traktor-price {
        font-size: 36px;
    }

    .traktor-page .traktor-price-card h2 {
        font-size: 21px;
    }
}


/* ===== STRÁNKA TESTY ===== */


/* ========================================
   H3K AUTOSKOLA - STRANKA TESTY
   ======================================== */

.testy-page {
    background: #f5f7fb;
    color: #071e46;
    font-family: 'DM Sans', sans-serif;
}

.testy-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 65px 24px 55px;
    background:
        radial-gradient(
            ellipse at 8% 15%,
            rgba(227, 24, 55, 0.07),
            transparent 35%
        ),
        radial-gradient(
            ellipse at 92% 70%,
            rgba(11, 43, 99, 0.09),
            transparent 38%
        ),
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f4f6fb 55%,
            #eaf0fa 100%
        );
}

/* Jemne dekoracie v pozadi */

.testy-hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -100px;
    right: 8%;
    width: 100px;
    height: 420px;
    background: rgba(227, 24, 55, 0.045);
    transform: rotate(28deg);
    pointer-events: none;
}

.testy-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    bottom: -150px;
    left: 5%;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(11, 43, 99, 0.035);
    pointer-events: none;
}

/* Hlavny obsah */

.testy-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

/* Horny popis */

.testy-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
    color: #64718a;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
}

.testy-label-line {
    display: inline-block;
    width: 30px;
    height: 2px;
    background: #e31837;
}

/* Nadpis */

.testy-inner h1 {
    margin: 0;
    color: #071e46;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(42px, 7vw, 76px);
    font-weight: 800;
    line-height: 0.99;
    letter-spacing: -3px;
    text-transform: uppercase;
}

.testy-inner h1 span {
    color: #e31837;
}

/* Uvodny text */

.testy-intro {
    max-width: 520px;
    margin: 24px auto 38px;
    color: #64718a;
    font-size: 15px;
    line-height: 1.8;
}

/* ========================================
   BIELA KARTA
   ======================================== */

.testy-card {
    box-sizing: border-box;
    width: 100%;
    max-width: 470px;
    margin: 0 auto;
    padding: 30px;
    border: 1px solid #e7ebf2;
    border-radius: 12px;
    background: #ffffff;
    color: #071e46;
    text-align: left;
    box-shadow: 0 18px 50px rgba(11, 43, 99, 0.09);
    transition:
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.testy-card:hover {
    box-shadow: 0 22px 55px rgba(11, 43, 99, 0.13);
}

/* Hlavicka karty */

.testy-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 25px;
}

.testy-small-title {
    color: #e31837;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.testy-card-top h2 {
    margin: 7px 0 0;
    color: #071e46;
    font-family: 'Manrope', sans-serif;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

/* Ikona so zatvorkou */

.testy-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff0f2;
    color: #e31837;
    font-size: 23px;
    font-weight: 700;
}

/* ========================================
   LOGO SKVZA - BEZ OREZANIA
   ======================================== */

.testy-logo-wrap {
    width: 100%;
    height: 180px;
    min-height: 180px;
    padding: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f7f9fc;
    border: 1px solid #e7ebf2;
    border-radius: 9px;
}

.testy-logo-wrap a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.testy-logo-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
    object-position: center;
    mix-blend-mode: multiply;
}


.testy-logo-wrap a:hover img {
    transform: scale(1.04);
}

/* Text pod logom */

.testy-card-text {
    margin: 22px 0 18px;
    color: #64718a;
    font-size: 13px;
    line-height: 1.8;
}

/* ========================================
   TLACIDLO SPUSTIT TESTY
   ======================================== */

.testy-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    box-sizing: border-box;
    width: 100%;
    min-height: 54px;
    padding: 15px 20px;
    border: 1px solid #e31837;
    border-radius: 7px;
    background: #e31837;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none !important;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.testy-button span {
    color: #ffffff;
    font-size: 20px;
    transition: transform 0.2s ease;
}

.testy-button:hover {
    transform: translateY(-2px);
    border-color: #c90f2b;
    background: #c90f2b;
    box-shadow: 0 8px 20px rgba(227, 24, 55, 0.2);
}

.testy-button:hover span {
    transform: translate(3px, -3px);
}

/* Poznamka pod tlacidlom */

.testy-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 17px 0 0;
    color: #8490a3;
    font-size: 11px;
    line-height: 1.6;
}

.testy-note span {
    color: #e31837;
}

/* Spodny slogan */

.testy-bottom-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 38px;
    color: #64718a;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.testy-bottom-text span {
    display: inline-block;
    width: 24px;
    height: 2px;
    background: #e31837;
}

/* ========================================
   TABLETY
   ======================================== */

@media (max-width: 800px) {
    .testy-hero {
        padding: 55px 20px 45px;
    }

    .testy-inner h1 {
        font-size: clamp(40px, 8vw, 62px);
        letter-spacing: -2px;
    }

    .testy-intro {
        max-width: 480px;
    }
}

/* ========================================
   MOBILY
   ======================================== */

@media (max-width: 600px) {
    .testy-hero {
        padding: 45px 16px 40px;
    }

    .testy-label {
        gap: 8px;
        margin-bottom: 20px;
        font-size: 9px;
        letter-spacing: 2px;
    }

    .testy-label-line {
        width: 20px;
    }

    .testy-inner h1 {
        font-size: clamp(35px, 10vw, 52px);
        line-height: 1.04;
        letter-spacing: -1.5px;
    }

    .testy-intro {
        margin: 19px auto 28px;
        font-size: 13px;
        line-height: 1.75;
    }

    .testy-card {
        padding: 20px;
        border-radius: 10px;
    }

    .testy-card-top {
        margin-bottom: 20px;
    }

    .testy-card-top h2 {
        font-size: 21px;
    }

    .testy-icon {
        flex-basis: 36px;
        width: 36px;
        height: 36px;
        font-size: 20px;
    }

    .testy-logo-wrap {
        height: 155px;
        min-height: 155px;
    }

    .testy-logo-wrap img {
        height: 155px;
        min-height: 155px;
        padding: 6px;
    }

    .testy-card-text {
        margin: 18px 0;
        font-size: 12px;
    }

    .testy-button {
        min-height: 50px;
        padding: 14px 16px;
        font-size: 13px;
    }

    .testy-note {
        font-size: 10px;
    }

    .testy-bottom-text {
        gap: 8px;
        margin-top: 28px;
        font-size: 8px;
        letter-spacing: 1px;
    }

    .testy-bottom-text span {
        width: 16px;
    }
}

/* Respektovanie nastavenia obmedzeneho pohybu */

@media (prefers-reduced-motion: reduce) {
    .testy-card,
    .testy-logo-wrap img,
    .testy-button,
    .testy-button span {
        transition: none;
    }
}



/* ===== EFEKT LOGA PRI HOVERI ===== */

.testy-logo-wrap {
    position: relative;
    isolation: isolate;
    transition:
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        background 0.35s ease;
}

/* Jemný svetelný odlesk cez plochu */
.testy-logo-wrap::after {
    content: "";
    position: absolute;
    z-index: 2;
    top: -60%;
    left: -75%;
    width: 45%;
    height: 220%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.75),
        transparent
    );
    transform: skewX(-22deg);
    transition: left 0.65s cubic-bezier(0.2, 0.7, 0.2, 1);
    pointer-events: none;
}

/* Logo sa jemne nadvihne a nakloní */
.testy-logo-wrap img {
    position: relative;
    z-index: 1;
    transform: perspective(700px) translateY(0) rotateX(0deg);
    filter: drop-shadow(0 2px 0 rgba(11, 43, 99, 0));
    transition:
        transform 0.45s cubic-bezier(0.2, 0.75, 0.25, 1),
        filter 0.45s ease;
}

/* Hover efekt */
.testy-logo-wrap:hover {
    border-color: rgba(227, 24, 55, 0.35);
    background: #ffffff;
    box-shadow:
        0 10px 28px rgba(11, 43, 99, 0.08),
        0 0 0 3px rgba(227, 24, 55, 0.035);
}

.testy-logo-wrap:hover::after {
    left: 135%;
}

.testy-logo-wrap:hover img {
    transform: perspective(700px) translateY(-4px) rotateX(2deg);
    filter: drop-shadow(0 9px 5px rgba(11, 43, 99, 0.15));
}

/* Efekt aj pri prechode myšou cez kartu */
.testy-card:hover .testy-logo-wrap img {
    filter: drop-shadow(0 5px 4px rgba(11, 43, 99, 0.1));
}

/* Používateľom, ktorí obmedzujú animácie, ich vypneme */
@media (prefers-reduced-motion: reduce) {
    .testy-logo-wrap,
    .testy-logo-wrap::after,
    .testy-logo-wrap img {
        transition: none !important;
    }
}


/* =========================================
   H3K – GDPR STRÁNKA
   Používa sa spolu s css/style.css
========================================= */

.gdpr-page {
    color: #071e46;
    background: #f5f7fb;
}

/* HLAVNÁ BANNER ČASŤ */

.gdpr-hero {
    padding: 76px 7% 68px;
    background:
        radial-gradient(ellipse at 88% 18%, rgba(11,43,99,.10), transparent 42%),
        radial-gradient(ellipse at 8% 85%, rgba(227,24,55,.07), transparent 36%),
        linear-gradient(135deg, #fff, #f5f7fb 68%, #edf2fb);
    border-bottom: 1px solid #e7ebf2;
}

.gdpr-hero-inner {
    max-width: 1120px;
    margin: 0 auto;
}

.gdpr-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #e31837;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2.5px;
}

.gdpr-eyebrow span {
    width: 27px;
    height: 2px;
    background: #e31837;
}

.gdpr-hero h1 {
    max-width: 850px;
    margin: 18px 0 0;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(38px, 5.5vw, 68px);
    line-height: 1.04;
    letter-spacing: -2.6px;
}

.gdpr-hero h1 span {
    color: #e31837;
}

.gdpr-lead {
    max-width: 680px;
    margin-top: 22px;
    color: #64718a;
    font-size: 16px;
    line-height: 1.85;
}

.gdpr-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
    color: #7a879d;
    font-size: 11px;
    font-weight: 600;
}

.gdpr-meta-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #e31837;
}

/* ROZLOŽENIE */

.gdpr-layout {
    display: grid;
    grid-template-columns: 235px minmax(0, 1fr);
    gap: 34px;
    width: min(1120px, 86%);
    margin: 48px auto 75px;
    align-items: start;
}

/* BOČNÁ NAVIGÁCIA */

.gdpr-toc {
    position: sticky;
    top: 24px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 23px 18px;
    background: #fff;
    border: 1px solid #e7ebf2;
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(11,43,99,.045);
}

.gdpr-toc p {
    margin: 0 0 10px;
    color: #e31837;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.7px;
}

.gdpr-toc a {
    padding: 9px 10px;
    border-radius: 7px;
    color: #52617a;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: color .2s, background .2s;
}

.gdpr-toc a:hover,
.gdpr-toc a:focus-visible {
    color: #e31837;
    background: #fff2f4;
}

/* HLAVNÝ OBSAH */

.gdpr-content {
    min-width: 0;
    padding: 32px 38px;
    border: 1px solid #e7ebf2;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 16px 45px rgba(11,43,99,.055);
}

/* ÚVODNÉ OZNÁMENIE */

.gdpr-callout {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: #f5f7fb;
    border: 1px solid #e7ebf2;
    border-radius: 10px;
}

.gdpr-callout-icon {
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff0f2;
    color: #e31837;
    font-size: 20px;
    font-weight: 800;
}

.gdpr-callout h2 {
    margin: 0 0 5px;
    font-family: 'Manrope', sans-serif;
    font-size: 17px;
}

.gdpr-callout p {
    margin: 0;
    color: #64718a;
    font-size: 13px;
    line-height: 1.75;
}

/* SEKCIE */

.gdpr-section {
    padding: 34px 0;
    border-bottom: 1px solid #e7ebf2;
    scroll-margin-top: 24px;
}

.gdpr-section:last-of-type {
    border-bottom: 0;
}

.gdpr-section-number {
    margin: 0 0 9px !important;
    color: #e31837 !important;
    font-size: 10px !important;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.gdpr-section h2 {
    margin: 0 0 15px;
    color: #071e46;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(23px, 2.6vw, 31px);
    line-height: 1.25;
    letter-spacing: -.7px;
}

.gdpr-section h3 {
    color: #071e46;
    font-family: 'Manrope', sans-serif;
}

.gdpr-section p,
.gdpr-section li {
    color: #596982;
    font-size: 13px;
    line-height: 1.9;
}

.gdpr-section p {
    margin: 12px 0;
}

.gdpr-section ul {
    margin: 13px 0 0;
    padding-left: 21px;
}

.gdpr-section li {
    padding: 3px 0 3px 3px;
}

.gdpr-section li::marker {
    color: #e31837;
}

.gdpr-section a {
    color: #0b2b63;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: #d5deed;
    text-underline-offset: 3px;
}

/* KARTA PREVÁDZKOVATEĽA */

.gdpr-info-card {
    margin: 20px 0;
    padding: 22px;
    border: 1px solid #e7ebf2;
    border-left: 3px solid #e31837;
    border-radius: 9px;
    background: #fbfcfe;
}

.gdpr-info-card h3 {
    margin: 0 0 10px;
    font-size: 17px;
}

.gdpr-info-card p {
    margin: 5px 0;
}

/* KARTY KATEGÓRIÍ ÚDAJOV */

.gdpr-data-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 20px 0 25px;
}

.gdpr-data-card {
    padding: 17px;
    border: 1px solid #e7ebf2;
    border-radius: 10px;
    background: #fbfcfe;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}

.gdpr-data-card:hover {
    transform: translateY(-3px);
    border-color: #d6deed;
    box-shadow: 0 10px 24px rgba(11,43,99,.07);
}

.gdpr-data-card > span {
    color: #e31837;
    font-family: 'Manrope', sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.gdpr-data-card h3 {
    margin: 12px 0 7px;
    font-size: 14px;
}

.gdpr-data-card p {
    margin: 0;
    font-size: 11px;
    line-height: 1.75;
}

/* ZOZNAM PRÁV */

.gdpr-rights-list {
    display: grid;
    gap: 10px;
    margin: 20px 0;
}

.gdpr-rights-list > div {
    display: flex;
    gap: 12px;
    padding: 14px;
    border: 1px solid #e7ebf2;
    border-radius: 9px;
    background: #fff;
    transition: border-color .2s, background .2s;
}

.gdpr-rights-list > div:hover {
    border-color: #e3e9f2;
    background: #fafbfd;
}

.gdpr-rights-list > div > span {
    display: grid;
    place-items: center;
    flex: 0 0 27px;
    width: 27px;
    height: 27px;
    border-radius: 50%;
    color: #e31837;
    background: #fff0f2;
    font-size: 13px;
    font-weight: 800;
}

.gdpr-rights-list p {
    margin: 0;
}

.gdpr-rights-list strong {
    color: #071e46;
}

/* KONTAKTNÁ KARTA – JEMNÉ SVETLÉ PREVEDENIE */

.gdpr-contact-card {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 22px;
    padding: 26px;
    border: 1px solid #e3e9f2;
    border-radius: 14px;
    background: #f1f4f9;
    box-shadow: 0 5px 16px rgba(11, 43, 99, 0.05);
    color: #071e46;
}

.gdpr-contact-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 135px;
    width: 135px;
    min-height: 100px;
    padding: 15px;
    background: #fff;
    border: 1px solid #e7ebf2;
    border-radius: 10px;
}

.gdpr-contact-logo img {
    display: block;
    width: 100%;
    max-width: 115px;
    max-height: 80px;
    object-fit: contain;
}

.gdpr-contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}

.gdpr-contact-info h3 {
    margin: 0 0 9px;
    color: #0b2b63;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

.gdpr-contact-info p {
    margin: 0 0 9px;
    color: #64718a;
    font-size: 12px;
    line-height: 1.8;
}

.gdpr-contact-info a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 7px;
    color: #344d76;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: color .2s ease;
}

.gdpr-contact-info a span {
    color: #e31837;
    font-size: 15px;
}

.gdpr-contact-info a:hover {
    color: #e31837;
}

/* UPOZORNENIE NA KONCI */

.gdpr-disclaimer {
    margin: 24px 0 0;
    padding: 16px;
    border-radius: 8px;
    background: #f5f7fb;
    color: #78859a;
    font-size: 11px;
    line-height: 1.8;
}

/* TABLETY */

@media (max-width: 900px) {
    .gdpr-layout {
        grid-template-columns: 1fr;
        width: 90%;
        gap: 20px;
        margin-top: 30px;
    }

    .gdpr-toc {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gdpr-toc p {
        grid-column: 1 / -1;
    }

    .gdpr-content {
        padding: 28px;
    }
}

/* MOBILY */

@media (max-width: 600px) {
    .gdpr-hero {
        padding: 48px 5% 42px;
    }

    .gdpr-hero h1 {
        font-size: clamp(36px, 10vw, 48px);
        letter-spacing: -1.5px;
    }

    .gdpr-lead {
        font-size: 14px;
    }

    .gdpr-layout {
        width: 92%;
        margin: 22px auto 45px;
    }

    .gdpr-toc {
        padding: 16px 12px;
    }

    .gdpr-toc a {
        font-size: 11px;
        padding: 8px;
    }

    .gdpr-content {
        padding: 20px 17px;
    }

    .gdpr-section {
        padding: 27px 0;
    }

    .gdpr-data-grid {
        grid-template-columns: 1fr;
    }

    .gdpr-contact-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        padding: 20px;
    }

    .gdpr-contact-logo {
        flex-basis: auto;
        width: 125px;
        min-height: 85px;
    }

    .gdpr-contact-logo img {
        max-width: 105px;
        max-height: 65px;
    }

    .gdpr-contact-info h3 {
        font-size: 15px;
    }
}

/* REŠPEKTOVANIE NASTAVENIA POHYBU */

@media (prefers-reduced-motion: reduce) {
    .gdpr-toc a,
    .gdpr-data-card,
    .gdpr-rights-list > div,
    .gdpr-contact-info a {
        transition: none;
    }

    .gdpr-data-card:hover {
        transform: none;
    }
}



/* =========================================
   H3K CENNÍK
   Karty v štýle úvodnej stránky
========================================= */

.cennik-page,
.cennik-page * {
    box-sizing: border-box;
}

.cennik-page {
    width: 100%;
    padding: 45px 3% 75px;
    background: #fff;
    color: #0b2b63;
}

/* NADPIS V STREDE */

.cennik-heading {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto 42px;
    text-align: center;
}

.cennik-heading h1 {
    margin: 0;
    color: #0b2b63;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(38px, 4vw, 52px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
}

.cennik-heading h1 span {
    color: #e31837;
}

.cennik-heading p {
    margin: 13px 0 0;
    color: #64718a;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.7;
}

/* TRI KARTY V JEDNOM RIADKU */

.cennik-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 24px;
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
}

/* KARTA */

.cennik-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 13px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e1e8f2;
    border-radius: 15px;
    box-shadow: 0 5px 18px rgba(11, 43, 99, 0.05);
    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

.cennik-card:hover {
    transform: translateY(-5px);
    border-color: #e31837;
    box-shadow: 0 14px 30px rgba(11, 43, 99, 0.10);
}

.cennik-card.featured {
    border-color: #e31837;
}

/* OBRÁZOK */

.cennik-image {
    position: relative;
    width: 100%;
    height: 225px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 10px;
    background: #edf1f7;
}

.cennik-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.cennik-card:hover .cennik-image img {
    transform: scale(1.045);
}

/* ŠTÍTOK NA PRVEJ KARTE */

.cennik-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 1;
    padding: 10px 13px;
    border-radius: 7px;
    background: #e31837;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(227, 24, 55, .18);
}

/* NÁZOV SKUPINY */

.cennik-card h2 {
    margin: 15px 8px 2px;
    color: #0b2b63;
    font-family: 'Manrope', sans-serif;
    font-size: 39px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.7px;
}

.cennik-card h3 {
    margin: 6px 8px 0;
    color: #0b2b63;
    font-family: 'Manrope', sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.5;
}

.cennik-subtitle {
    margin: 4px 8px 16px;
    color: #7a879d;
    font-size: 13px;
    line-height: 1.6;
}

/* VÝHODY */

.cennik-card ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 6px 0 25px;
    padding: 0 8px;
    list-style: none;
}

.cennik-card li {
    position: relative;
    padding-left: 26px;
    color: #52617a;
    font-size: 13px;
    line-height: 1.65;
}

.cennik-card li::before {
    content: "✓";
    position: absolute;
    top: -2px;
    left: 0;
    color: #e31837;
    font-size: 20px;
    font-weight: 700;
}

/* TLAČIDLO ZOBRAZIŤ KURZY */

.cennik-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: 100%;
    min-height: 53px;
    margin-top: auto;
    padding: 14px;
    border: 1px solid #e31837;
    border-radius: 9px;
    background: #e31837;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    transition:
        background .2s ease,
        border-color .2s ease;
}

.cennik-button span {
    font-size: 20px;
    font-weight: 400;
    transition: transform .2s ease;
}

.cennik-button:hover {
    background: #c91430;
    border-color: #c91430;
}

.cennik-button:hover span {
    transform: translateX(4px);
}

/* TABLETY */

@media (max-width: 1000px) {
    .cennik-page {
        padding: 38px 3% 60px;
    }

    .cennik-cards {
        gap: 17px;
    }

    .cennik-image {
        height: 185px;
    }

    .cennik-card {
        padding: 10px;
    }

    .cennik-card h2 {
        font-size: 34px;
    }

    .cennik-card h3 {
        font-size: 15px;
    }

    .cennik-card li {
        font-size: 12px;
    }
}

/* MENŠIE TABLETY */

@media (max-width: 700px) {
    .cennik-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 15px;
    }

    .cennik-image {
        height: 175px;
    }

    .cennik-heading {
        margin-bottom: 30px;
    }
}

/* MOBILY */

@media (max-width: 480px) {
    .cennik-page {
        padding: 30px 16px 45px;
    }

    .cennik-heading {
        margin-bottom: 25px;
    }

    .cennik-heading h1 {
        font-size: 36px;
        letter-spacing: -1px;
    }

    .cennik-heading p {
        font-size: 13px;
    }

    .cennik-cards {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .cennik-card {
        padding: 10px;
    }

    .cennik-image {
        height: 220px;
    }

    .cennik-card h2 {
        font-size: 36px;
    }

    .cennik-card h3 {
        font-size: 15px;
    }

    .cennik-card li {
        font-size: 12px;
    }
}

/* OBMEDZENIE ANIMÁCIÍ */

@media (prefers-reduced-motion: reduce) {
    .cennik-card,
    .cennik-image img,
    .cennik-button,
    .cennik-button span {
        transition: none;
    }

    .cennik-card:hover,
    .cennik-card:hover .cennik-image img {
        transform: none;
    }
}

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


/* DRUHÝ SLIDER – KOMBINOVANÉ KURZY */

.combo-courses {
    background: #f5f7fb;
}

.combo-slider {
    position: relative;
    width: 100%;
}

.combo-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 60px) / 5);
    grid-template-columns: none;
    gap: 15px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.combo-grid::-webkit-scrollbar {
    display: none;
}

.combo-grid .course-card {
    min-width: 0;
}

.combo-prev {
    left: -18px;
}

.combo-next {
    right: -18px;
}

@media (max-width: 1100px) {
    .combo-grid {
        grid-auto-columns: calc((100% - 30px) / 3);
    }
}

@media (max-width: 700px) {
    .combo-grid {
        grid-auto-columns: 82%;
        gap: 12px;
    }

    .combo-prev {
        left: -8px;
    }

    .combo-next {
        right: -8px;
    }
}

/* Oddelenie kombinovaných kurzov od sekcie O nás */

.combo-courses {
    background: #f5f7fb;
    padding-top: 70px;
    padding-bottom: 90px;
    margin-bottom: 0;
    border-bottom: 1px solid #e5eaf2;
}

.about.section {
    position: relative;
    background: #ffffff;
    padding-top: 70px;
    margin-top: 0;
}

/* CENY KOMBINOVANÝCH KURZOV */

.combo-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #e7ebf2;
}

.combo-price span {
    color: #0b2b63;
    font-size: 13px;
    font-weight: 600;
}
.combo-price strong {
    color: #e31837;
    font-family: 'Manrope', sans-serif;
    font-size: 25px;
    font-weight: 800;
}


/* Obrázky kombinovaných kurzov */
.combo-grid .course-visual {
    height: 155px;
    padding: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.combo-grid .course-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}
.combo-grid .course-card:first-child .course-img {
    transform: scale(1.12);
}
.combo-ab-img {
    transform: scale(1.4);
    transform-origin: center;
}


.course-type-section {
    margin-top: 18px;
    margin-bottom: 18px;
    animation: showCourseOptions 0.3s ease;
}

.course-type-section select {
    width: 100%;
}

@keyframes showCourseOptions {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}














/* =====================================
   NEZÁVÄZNÁ PRIHLÁŠKA H3K
===================================== */
/* ========================================
   NEZÁVÄZNÁ PRIHLÁŠKA
======================================== */

.application-page {
    width: 100%;
    padding: 75px 20px 90px;
    background: #f4f6fa;
    min-height: 650px;
}

.application-container {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
}


/* NADPIS */

.application-heading {
    text-align: center;
    margin-bottom: 35px;
}

.application-heading h1 {
    font-size: 42px;
    font-weight: 800;
    color: #101d36;
    margin-bottom: 15px;
}

.application-heading h1 span {
    color: #e32636;
}

.application-heading p {
    max-width: 570px;
    margin: 0 auto;
    color: #667085;
    font-size: 16px;
    line-height: 1.7;
}


/* FORMULÁR */

.application-form {
    width: 100%;
    background: #ffffff;
    padding: 40px;
    border-radius: 18px;
    box-shadow: 0 12px 40px rgba(16, 29, 54, 0.08);

    display: flex;
    flex-direction: column;
    gap: 12px;
}


/* POPISKY */

.application-form label {
    display: block;
    margin-top: 8px;
    margin-bottom: 3px;

    color: #101d36;
    font-size: 14px;
    font-weight: 700;
}


/* VSTUPY A VÝBEROVÉ POLIA */

.application-form input,
.application-form select,
.application-form textarea {
    width: 100%;
    padding: 14px 15px;

    border: 1px solid #d9deea;
    border-radius: 9px;

    background: #ffffff;
    color: #101d36;

    font-family: inherit;
    font-size: 15px;

    outline: none;
    transition: border-color 0.2s ease,
                box-shadow 0.2s ease;
}


/* FOCUS EFEKT */

.application-form input:focus,
.application-form select:focus,
.application-form textarea:focus {
    border-color: #e32636;
    box-shadow: 0 0 0 3px rgba(227, 38, 54, 0.10);
}


/* SELECT */

.application-form select {
    cursor: pointer;
    min-height: 48px;
}

.application-form select option {
    color: #101d36;
}


/* ZAKÁZANÝ SELECT */

.application-form select:disabled {
    background: #edf0f5;
    color: #8993a3;
    cursor: not-allowed;
}


/* KONKRÉTNY TYP KURZU */

.course-type-section {
    display: none;
    margin-top: 5px;
}


/* VÝBER TERMÍNU */

.course-date-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 5px;
}


/* TEXTAREA */

.application-form textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.6;
}


/* TLAČIDLO */

.application-submit {
    width: 100%;
    margin-top: 15px;
    padding: 16px 22px;

    border: none;
    border-radius: 9px;

    background: #e32636;
    color: #ffffff;

    font-family: inherit;
    font-size: 15px;
    font-weight: 700;

    cursor: pointer;
    transition: background 0.2s ease,
                transform 0.2s ease;
}

.application-submit:hover {
    background: #bd1d2b;
    transform: translateY(-2px);
}


/* POZNÁMKA POD FORMULÁROM */

.application-note {
    margin-top: 8px;
    margin-bottom: 0;

    color: #7b8495;
    font-size: 12px;
    line-height: 1.6;
    text-align: center;
}


/* ========================================
   RESPONZIVITA
======================================== */

@media (max-width: 768px) {

    .application-page {
        padding: 55px 16px 65px;
    }

    .application-heading h1 {
        font-size: 34px;
    }

    .application-heading p {
        font-size: 15px;
    }

    .application-form {
        padding: 28px 22px;
    }

}


@media (max-width: 480px) {

    .application-page {
        padding: 40px 12px 50px;
    }

    .application-heading h1 {
        font-size: 29px;
    }

    .application-form {
        padding: 23px 17px;
        border-radius: 13px;
    }

    .application-form input,
    .application-form select,
    .application-form textarea {
        font-size: 14px;
        padding: 13px;
    }

    .application-submit {
        font-size: 14px;
        padding: 15px;
    }

}

/* ========================================
   VALIDÁCIA FORMULÁRA
======================================== */

/* Chybné pole */
.application-form .input-error {
    border: 1.5px solid #e32636 !important;
    background-color: #fff8f8;
}

/* Text upozornenia */
.field-error {
    display: block;
    color: #e32636;
    font-size: 12px;
    margin-top: -7px;
    margin-bottom: 5px;
    font-weight: 500;
}

/* Efekt pri zameraní na chybné pole */
.application-form .input-error:focus {
    border-color: #e32636 !important;
    box-shadow: 0 0 0 3px rgba(227, 38, 54, 0.12);
}


.subpage-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.subpage-hero-content {
    flex: 1;
}

.subpage-hero-image {
    flex: 1;
    max-width: 554px;
    height: 347px;
    border-radius: 16px;
    overflow: hidden;
}

.subpage-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .subpage-hero {
        flex-direction: column;
        align-items: stretch;
    }

    .subpage-hero-image {
        width: 100%;
        max-width: 100%;
        height: 230px;
    }
}


