/* ==================================================
   FACHFORESTER — ČISTÝ CSS
   Poradie:
   01 Základ
   02 Header
   03 Hero
   04 OLH
   05 Ďalšie služby
   06 O mne
   07 V praxi
   08 Kontakt
   09 Footer
   10 Lightbox
   11 Responzívny dizajn
================================================== */


/* ==================================================
   01 / ZÁKLAD
================================================== */

:root {
    --green: #22A748;
    --green-dark: #1F3327;
    --green-deep: #16251D;

    --dark: #182019;
    --text: #4F5951;

    --light: #F4F6F2;
    --white: #FFFFFF;
    --border: #DDE3DD;

    --container: 1200px;
    --header-height: 82px;

    --section-space: 92px;

    /* Jednotná veľkosť nadpisov hlavných sekcií */
    --section-title: clamp(40px, 4vw, 60px);
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

button,
input,
textarea,
a {
    font-family: inherit;
}

button {
    border: 0;
    background: none;
    cursor: pointer;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--green);
    outline-offset: 3px;
}

.container {
    width: min(90%, var(--container));
    margin-inline: auto;
}

.section {
    padding: var(--section-space) 0;
}

section[id] {
    scroll-margin-top: var(--header-height);
}

.section-white {
    background: var(--white);
}

.section-light {
    background: var(--light);
}

.section-label,
.eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--green-dark);
}

h1,
h2,
h3 {
    line-height: 1.08;
}

h1,
h2 {
    letter-spacing: -2px;
}

/* Všetky hlavné sekčné H2 majú rovnakú veľkosť */
section:not(.hero) h2 {
    font-size: var(--section-title);
}

h1 span,
h2 span {
    display: block;
    color: var(--green-dark);
}

p {
    color: var(--text);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;
    padding: 0 22px;

    border: 1px solid var(--green-dark);
    background: var(--green-dark);
    color: var(--white);

    font-size: 14px;
    font-weight: 700;

    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease;
}

.button:hover {
    background: var(--green);
    border-color: var(--green);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-top: 22px;

    color: var(--green-dark);
    font-weight: 700;
}

.text-link span {
    transition: transform 0.25s ease;
}

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


/* ==================================================
   02 / HEADER + NAVIGÁCIA
================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;

    height: var(--header-height);
    padding: 0 5%;

    display: flex;
    align-items: center;
    gap: 30px;

    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.logo img {
    width: 145px;
}

.main-nav {
    margin-left: auto;

    display: flex;
    align-items: center;
    gap: 26px;
}

.main-nav a {
    position: relative;

    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
}

.main-nav a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -7px;

    width: 0;
    height: 2px;

    background: var(--green);

    transition: width 0.3s ease;
}

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

.main-nav a.active {
    color: var(--green-dark);
}

.menu-toggle {
    display: none;

    width: 42px;
    height: 42px;

    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--dark);
}


/* ==================================================
   03 / HERO
================================================== */

.hero {
    min-height: calc(100svh - var(--header-height));

    display: grid;
    grid-template-columns: 0.95fr 1.05fr;

    background: var(--white);
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 50px 8%;
}

.hero h1 {
    max-width: 680px;
    margin-top: 16px;

    font-size: clamp(46px, 5vw, 72px);
}

.hero-text {
    max-width: 580px;
    margin-top: 22px;

    font-size: 17px;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;

    margin-top: 28px;
}

.hero-actions .text-link {
    margin-top: 0;
}

.hero-image {
    min-height: 100%;

    background:
        linear-gradient(90deg, rgba(22, 37, 29, 0.12), rgba(22, 37, 29, 0)),
        url("../images/hero.JPG") center / cover no-repeat;
}


/* ==================================================
   04 / ODBORNÝ LESNÝ HOSPODÁR
================================================== */

.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8%;
}

.olh-heading h2 {
    margin-top: 18px;
}

.section-text {
    max-width: 600px;
}

.section-text p {
    margin-bottom: 18px;
    font-size: 17px;
}

.olh-notice {
    margin-top: 24px;
    padding: 18px 20px;

    border-left: 3px solid var(--green);
    background: rgba(34, 167, 72, 0.07);
}

.olh-notice strong {
    display: block;
    margin-bottom: 5px;

    color: var(--green-dark);
    font-size: 17px;
}

.olh-notice p {
    margin: 0;
    font-size: 15px;
}

.olh-lhe-image {
    width: 100%;
    margin-top: 30px;
}

.olh-lhe-image img {
    width: 100%;
    height: auto;
}


/* ==================================================
   05 / ĎALŠIE SLUŽBY
================================================== */

/* ==================================================
   ĎALŠIE SLUŽBY — CAROUSEL
================================================== */

.services-section {
    min-height: calc(100svh - 82px);

    display: flex;
    align-items: center;

    background: var(--white);
}


.services-section .container {
    width: min(90%, var(--container));
}


.services-section h2 {
    margin-top: 14px;
}


/* CAROUSEL */

.services-carousel {
    position: relative;

    margin-top: 42px;

    display: grid;
    grid-template-columns: 48px 1fr 48px;
    align-items: center;

    gap: 18px;
}


.services-viewport {
    width: 100%;

    overflow: hidden;
}


.services-track {
    display: flex;

    width: 200%;

    transition: transform 0.55s ease;
}


.services-slide {
    width: 50%;
    flex: 0 0 50%;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}


/* KARTY */

.service-card {
    min-height: 310px;

    padding: 32px;

    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);

    background: var(--white);
}


.service-number {
    display: block;

    margin-bottom: 34px;

    color: var(--green);

    font-size: 13px;
    font-weight: 700;
}


.service-card h3 {
    margin-bottom: 14px;

    font-size: 24px;
}


.service-card p {
    max-width: 540px;

    margin-top: 10px;

    font-size: 15px;
    line-height: 1.55;
}


/* LESNÁ PEDAGOGIKA */

.service-pedagogy {
    display: grid;
    grid-template-columns: 1fr 140px;

    align-items: center;

    gap: 25px;
}


.service-pedagogy-text {
    max-width: 100%;
}


.service-pedagogy-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}


.service-pedagogy-logo img {
    width: 115px;
    height: auto;
}


.pedagogy-certification {
    display: inline-block;

    margin-bottom: 10px;

    color: var(--green);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1px;
    text-transform: uppercase;
}


/* ŠÍPKY */

.services-arrow {
    width: 44px;
    height: 44px;

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

    border: 1px solid var(--border);

    color: var(--green-dark);

    font-size: 24px;

    background: var(--white);

    transition: 0.25s ease;
}


.services-arrow:hover {
    background: var(--green-dark);
    border-color: var(--green-dark);

    color: var(--white);
}


/* BODKY */

.services-dots {
    margin-top: 20px;

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

    gap: 9px;
}


.services-dot {
    width: 8px;
    height: 8px;

    padding: 0;

    border-radius: 50%;

    background: #C8CEC9;

    transition: 0.25s ease;
}


.services-dot.active {
    width: 24px;

    border-radius: 10px;

    background: var(--green);
}

/* ==================================================
   06 / O MNE
================================================== */

.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;

    min-height: calc(100svh - 82px);

    background: var(--green-deep);
}

.about-image {
    min-height: 100%;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: 48% center;
}

.about-content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 64px 9%;
}

.about-content .section-label {
    color: #8ED39D;
}

.about-content h2 {
    margin-top: 18px;
    color: var(--white);
}

.about-content h2 span {
    color: #A9D6B5;
}

.about-content p {
    max-width: 620px;
    margin-top: 17px;

    color: #D8E3DB;
    font-size: 16px;
}

.about-signature {
    margin-top: 24px;

    color: var(--white);
    font-weight: 700;
}


/* ==================================================
   07 / FACHFORESTER V PRAXI
================================================== */

/* ==================================================
   FACHFORESTER V PRAXI — DESKTOP
================================================== */

.practice-section {
    min-height: calc(100svh - 82px);

    display: flex;
    align-items: center;
}


.practice-section .container {
    width: min(90%, var(--container));
}


.practice-section h2 {
    margin-top: 14px;
}
.practice-section h2 span {
    display: inline;
}


/* ==================================================
   CAROUSEL
================================================== */

.practice-carousel {
    position: relative;
}


.practice-viewport {
    width: 100%;

    overflow: hidden;
}


.practice-track {
    display: flex;

    width: 200%;

    transition: transform 0.6s ease;
}


/* ==================================================
   JEDEN SLIDE = 5 FOTIEK
================================================== */


.practice-slide {
    width: 50%;
    flex: 0 0 50%;

    height: 370px;

    display: grid;
    grid-template-columns: repeat(5, 1fr);

    gap: 10px;
}

/* ZRUŠENIE PÔVODNEJ VEĽKEJ FOTKY */

.practice-slide .practice-main,
.practice-slide img:nth-child(2),
.practice-slide img:nth-child(3),
.practice-slide img:nth-child(4),
.practice-slide img:nth-child(5) {
    grid-column: auto;
    grid-row: auto;
}


/* ==================================================
   FOTKY
================================================== */

.practice-slide img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;

    cursor: pointer;

    transition:
        filter 0.3s ease,
        transform 0.3s ease;
}


.practice-slide img:hover {
    filter: brightness(0.88);
}


/* ==================================================
   ŠÍPKY
================================================== */

.practice-arrow {
    position: absolute;
    top: 50%;

    z-index: 5;

    width: 42px;
    height: 42px;

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

    transform: translateY(-50%);

    border: 1px solid rgba(255, 255, 255, 0.65);

    background: rgba(22, 37, 29, 0.75);

    color: var(--white);

    font-size: 21px;

    cursor: pointer;

    transition: 0.25s ease;
}


.practice-prev {
    left: 14px;
}


.practice-next {
    right: 14px;
}


.practice-arrow:hover {
    background: var(--green);

    border-color: var(--green);
}


/* ==================================================
   BODKY
================================================== */

.practice-dots {
    margin-top: 18px;

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

    gap: 9px;
}


.practice-dot {
    width: 8px;
    height: 8px;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: #C8CEC9;

    cursor: pointer;

    transition: 0.25s ease;
}


.practice-dot.active {
    width: 24px;

    border-radius: 10px;

    background: var(--green);
}
/* ==================================================
   08 / KONTAKT
================================================== */

.contact-section {
    padding: 48px 0;
    min-height: calc(100svh - 82px);
    background: var(--green-dark);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 7%;
    align-items: center;
}

.contact-heading .section-label {
    color: #A9D6B5;
}

.contact-heading h2 {
    margin-top: 10px;
    color: var(--white);
}

.contact-heading h2 span {
    color: #B9DCC0;
}

.contact-heading > p {
    max-width: 520px;
    margin-top: 14px;

    color: #D8E3DB;

    font-size: 14px;
    line-height: 1.5;
}

.contact-info {
    margin-top: 24px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.contact-company strong {
    margin-bottom: 7px;

    color: var(--white);
    font-size: 16px;
}

.contact-item span,
.contact-item a {
    color: #E4ECE6;
    font-size: 14px;
}

.contact-divider {
    height: 1px;
    margin: 18px 0;

    background: rgba(255, 255, 255, 0.18);
}

.contact-direct {
    gap: 8px;
}

.contact-direct a {
    width: fit-content;
    font-weight: 600;

    transition: color 0.25s ease;
}

.contact-direct a:hover {
    color: var(--green);
}


/* Formulár */

.contact-form-wrapper {
    padding: 24px 26px;

    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

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

.form-group label {
    color: #D8E3DB;

    font-size: 12px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;

    padding: 9px 11px;

    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 0;

    outline: none;

    background: rgba(0, 0, 0, 0.12);
    color: var(--white);

    font-size: 14px;
}

.form-group input {
    height: 40px;
}

.form-group textarea {
    height: 100px;
    min-height: 100px;

    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #8ED39D;
    background: rgba(0, 0, 0, 0.18);
}

.form-honeypot {
    position: absolute !important;
    left: -9999px !important;
    top: auto !important;

    width: 1px !important;
    height: 1px !important;

    overflow: hidden !important;

    opacity: 0;
    pointer-events: none;
}

.form-status {
    display: none;
    padding: 12px 14px;

    font-size: 13px;
    line-height: 1.45;
}

.form-status.success {
    display: block;

    border-left: 3px solid #8ED39D;

    background: rgba(142, 211, 157, 0.10);
    color: #D8E3DB;
}

.form-status.error {
    display: block;

    border-left: 3px solid #E2A6A6;

    background: rgba(226, 166, 166, 0.10);
    color: #F0DADA;
}
/* GDPR */

.privacy-check {
    display: grid;
    grid-template-columns: 17px 1fr;

    gap: 9px;
    align-items: start;
}

.privacy-check input {
    width: 16px;
    height: 16px;
    margin-top: 2px;

    accent-color: var(--green);
}

.privacy-check label {
    color: #B9C8BD;

    font-size: 10.5px;
    line-height: 1.4;
}

.privacy-check a {
    color: var(--white);

    text-decoration: underline;
    text-underline-offset: 3px;
}

.privacy-check a:hover {
    color: #8ED39D;
}


/* Odoslať */

.form-submit {
    width: fit-content;
    min-height: 42px;

    padding: 0 20px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    border: 1px solid var(--white);

    background: var(--white);
    color: var(--green-dark);

    font-size: 11px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease;
}

.form-submit span {
    font-size: 16px;
    transition: transform 0.25s ease;
}

.form-submit:hover {
    background: var(--green);
    border-color: var(--green);
    color: var(--white);
}

.form-submit:hover span {
    transform: translateX(4px);
}


/* ==================================================
   09 / FOOTER
================================================== */

.site-footer {
    padding: 28px 0;

    background: var(--green-deep);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;

    align-items: center;
    gap: 40px;
}

.footer-brand img {
    width: 150px;
}

.footer-brand p {
    margin-top: 7px;

    color: #B9C8BD;
    font-size: 12px;
}

.footer-socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.footer-socials a {
    width: 38px;
    height: 38px;

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

    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;

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

.footer-socials svg {
    width: 17px;
    height: 17px;

    fill: var(--white);
}

.footer-socials a:hover {
    background: var(--green);
    border-color: var(--green);

    transform: translateY(-2px);
}

.footer-copyright {
    justify-self: end;

    color: #B9C8BD;
    font-size: 12px;
    text-align: right;
}


/* ==================================================
   10 / LIGHTBOX GALÉRIA
================================================== */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;

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

    padding: 40px 90px;

    background: rgba(10, 15, 11, 0.94);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-image {
    width: auto;
    height: auto;

    max-width: 90vw;
    max-height: 88vh;

    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 22px;
    right: 30px;
    z-index: 2;

    color: var(--white);

    font-size: 42px;
    font-weight: 300;
    line-height: 1;
}

.lightbox-arrow {
    position: absolute;
    top: 50%;

    transform: translateY(-50%);

    color: var(--white);

    font-size: 60px;
    font-weight: 300;

    opacity: 0.8;

    transition: opacity 0.2s ease;
}

.lightbox-arrow:hover {
    opacity: 1;
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-counter {
    position: absolute;
    bottom: 22px;
    left: 50%;

    transform: translateX(-50%);

    color: rgba(255, 255, 255, 0.75);

    font-size: 13px;
    letter-spacing: 1px;
}

/* ==================================================
   OCHRANA OSOBNÝCH ÚDAJOV
================================================== */

.privacy-page {
    padding: 90px 0 100px;
    background: var(--light);
}


.privacy-container {
    max-width: 900px;
}


/* HLAVNÝ NADPIS */

.privacy-page h1 {
    margin-top: 16px;
    margin-bottom: 55px;

    font-size: clamp(44px, 5vw, 68px);
    line-height: 1.05;
    letter-spacing: -2px;
}


.privacy-page h1 span {
    display: block;
    color: var(--green-dark);
}


/* --------------------------------------------------
   ÚVODNÝ PRÁVNY BLOK
-------------------------------------------------- */

.privacy-intro {
    margin-bottom: 45px;
    padding: 30px 34px;

    background: rgba(0, 0, 0, 0.025);
    border-left: 3px solid var(--green);
}


.privacy-intro p {
    margin-bottom: 16px;

    font-size: 15px;
    line-height: 1.75;
}


.privacy-intro p:last-of-type {
    margin-bottom: 12px;
}


.privacy-intro ul {
    margin: 0;
    padding-left: 22px;
}


.privacy-intro li {
    margin-bottom: 10px;

    font-size: 15px;
    line-height: 1.7;
}


.privacy-intro li:last-child {
    margin-bottom: 0;
}


/* --------------------------------------------------
   JEDNOTLIVÉ GDPR SEKCIE
-------------------------------------------------- */

.privacy-block {
    padding: 30px 0;

    border-top: 1px solid var(--border);
}


.privacy-block:first-of-type {
    border-top: 0;
}


.privacy-block h2 {
    margin-bottom: 14px;

    font-size: 24px;
    letter-spacing: -0.5px;
    line-height: 1.25;

    color: var(--green-dark);
}


.privacy-block p {
    max-width: 780px;

    margin-top: 10px;

    font-size: 16px;
    line-height: 1.75;
}


.privacy-block strong {
    color: var(--dark);
}


/* ODKAZY */

.privacy-block a {
    color: var(--green-dark);
    font-weight: 600;

    text-decoration: underline;
    text-underline-offset: 3px;
}


.privacy-block a:hover {
    color: var(--green);
}


/* ZOZNAMY */

.privacy-block ul {
    max-width: 780px;

    margin: 18px 0 22px;
    padding-left: 22px;
}


.privacy-block li {
    margin-bottom: 12px;

    font-size: 16px;
    line-height: 1.75;
}


.privacy-block li:last-child {
    margin-bottom: 0;
}


/* --------------------------------------------------
   SPÄŤ NA KONTAKT
-------------------------------------------------- */

.privacy-back {
    display: inline-block;

    margin-top: 40px;
}

/* ==================================================
   11 / RESPONZÍVNY DIZAJN
================================================== */


/* --------------------------------------------------
   NOTEBOOK S NIŽŠOU VÝŠKOU
   napr. 1366 × 768
-------------------------------------------------- */

@media (max-height: 850px) and (min-width: 1001px) {

    :root {
        --section-space: 66px;
    }


    /* HERO */

    .hero-content {
        padding-top: 34px;
        padding-bottom: 34px;
    }

    .hero h1 {
        font-size: clamp(44px, 4.5vw, 64px);
    }


    /* OLH */

    .section-text p {
        font-size: 15px;
    }

    .olh-notice {
        margin-top: 18px;
    }
    
    #olh {
        min-height: calc(100svh - var(--header-height));
        box-sizing: border-box;
    }

    /* SLUŽBY */

    .services-carousel {
        margin-top: 28px;
    }

    .service-card {
        min-height: 270px;
        padding: 24px 28px;
    }

    .service-number {
        margin-bottom: 20px;
    }

    .service-card h3 {
        font-size: 22px;
    }

    .service-card p {
        font-size: 14px;
        line-height: 1.5;
    }

    .services-dots {
        margin-top: 14px;
    }


    /* O MNE */

    .about-content {
        padding-top: 46px;
        padding-bottom: 46px;
    }

    .about-content p {
        margin-top: 13px;
        font-size: 15px;
    }

    .about-signature {
        margin-top: 18px;
    }


    /* V PRAXI */

    .practice-slide {
        height: 320px;
    }

    .practice-dots {
        margin-top: 12px;
    }


    /* KONTAKT */

    .contact-section {
        padding: 30px 0;
    }

    .contact-heading h2 {
        font-size: clamp(38px, 3.3vw, 50px);
    }

    .contact-heading > p {
        margin-top: 9px;
    }

    .contact-info {
        margin-top: 18px;
    }

    .contact-divider {
        margin: 14px 0;
    }

    .contact-form-wrapper {
        padding: 18px 20px;
    }

    .contact-form {
        gap: 8px;
    }

    .form-group input {
        height: 36px;
    }

    .form-group textarea {
        height: 76px;
        min-height: 76px;
    }

    .form-submit {
        min-height: 38px;
    }


    /* FOOTER */

    .site-footer {
        padding: 20px 0;
    }
}


/* --------------------------------------------------
   TABLET
   651 – 1000 px
-------------------------------------------------- */

@media (max-width: 1000px) {

    :root {
        --section-space: 78px;
    }


    /* HEADER */

    .main-nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
        margin-left: auto;
    }

    .main-nav.menu-open {
        position: absolute;
        top: var(--header-height);
        left: 0;

        width: 100%;
        padding: 20px 5%;

        display: flex;
        flex-direction: column;
        align-items: flex-start;

        gap: 8px;

        background: var(--white);
        border-bottom: 1px solid var(--border);
    }

    .main-nav.menu-open a {
        width: 100%;
        padding: 10px 0;
    }

    .main-nav.menu-open a::after {
        display: none;
    }

    .main-nav.menu-open a.active {
        color: var(--green);
    }


    /* HERO */

    .hero {
        min-height: auto;
        grid-template-columns: 1fr;
    }

    .hero-content {
        min-height: auto;
        padding: 72px 7%;
    }

    .hero-image {
        min-height: 0;
        aspect-ratio: 16 / 9;
    }


    /* OLH */

    .two-column {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .olh-lhe-image {
        max-width: 680px;
        margin-bottom: 10px;
    }

    .section-text {
        max-width: 680px;
    }


    /* ĎALŠIE SLUŽBY */

    .services-section {
        min-height: auto;
        display: block;
    }

    .services-carousel {
        margin-top: 34px;

        grid-template-columns: 42px 1fr 42px;
        gap: 12px;
    }

    .services-slide {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: auto;
    }

    .service-pedagogy {
        grid-template-columns: 1fr 120px;
        gap: 24px;
    }

    .service-pedagogy-logo img {
        width: 95px;
    }


    /* O MNE */

    .about-section {
        min-height: auto;
        grid-template-columns: 1fr;
    }

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

    .about-content {
        padding: 64px 7%;
    }


    /* V PRAXI */

    .practice-section {
        min-height: auto;
        display: block;
    }

    .practice-slide {
        height: auto;

        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .practice-slide img {
        height: auto;
        aspect-ratio: 3 / 4;
    }


    /* KONTAKT */

    .contact-section {
        min-height: auto;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;

        align-items: start;
    }

    .contact-info {
        order: 1;
    }

    .contact-form-wrapper {
        order: 2;
    }


    /* FOOTER */

    .footer-inner {
        gap: 28px;
    }


.privacy-page {
    padding: 76px 0 85px;
}

.privacy-container {
    max-width: 760px;
}

.privacy-page h1 {
    margin-bottom: 46px;

    font-size: clamp(40px, 6vw, 56px);
}

.privacy-intro {
    margin-bottom: 38px;
    padding: 26px 28px;
}

.privacy-block {
    padding: 27px 0;
}
}
/* --------------------------------------------------
   MOBIL
   do 650 px
-------------------------------------------------- */

@media (max-width: 650px) {

    :root {
        --header-height: 72px;
        --section-space: 64px;
        --section-title: 38px;
    }


    /* HEADER */

    .site-header {
        height: var(--header-height);
        padding: 0 20px;
    }

    .logo img {
        width: 122px;
    }

    .main-nav.menu-open {
        top: var(--header-height);
        padding: 18px 20px;
    }


    /* ZÁKLAD */

    .container {
        width: calc(100% - 40px);
    }


    /* HERO */

    .hero-content {
        padding: 52px 20px;
    }

    .hero h1 {
        font-size: clamp(38px, 11vw, 44px);
        letter-spacing: -1.5px;
    }

    .hero-text {
        margin-top: 18px;
        font-size: 16px;
    }

    .hero-actions {
        margin-top: 24px;

        flex-direction: column;
        align-items: flex-start;

        gap: 16px;
    }

    .hero-image {
        min-height: 0;
        aspect-ratio: 4 / 3;
    }


    /* OLH */

    .two-column {
        gap: 30px;
    }

    .section-text p {
        font-size: 16px;
    }

    .olh-lhe-image {
        margin-top: 24px;
        margin-bottom: 0;
    }

    .olh-notice {
        padding: 16px 17px;
    }


    /* ĎALŠIE SLUŽBY */

    .services-carousel {
        margin-top: 28px;

        grid-template-columns: 32px 1fr 32px;
        gap: 6px;
    }

    .services-arrow {
        width: 32px;
        height: 32px;

        font-size: 17px;
    }

    .service-card {
        padding: 22px;
    }

    .service-number {
        margin-bottom: 20px;
    }

    .service-card h3 {
        font-size: 21px;
    }

    .service-card p {
        font-size: 14px;
        line-height: 1.5;
    }

    .service-pedagogy {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .service-pedagogy-logo {
        justify-content: flex-start;
    }

    .service-pedagogy-logo img {
        width: 90px;
    }

    .services-dots {
        margin-top: 15px;
    }


    /* O MNE */

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

    .about-content {
        padding: 56px 20px;
    }

    .about-content p {
        font-size: 15px;
    }


    /* V PRAXI */

    .practice-section h2 span {
        display: inline;
    }

    .practice-slide {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .practice-slide img {
        aspect-ratio: 3 / 4;
    }

    .practice-arrow {
        width: 36px;
        height: 36px;

        font-size: 18px;
    }

    .practice-prev {
        left: 8px;
    }

    .practice-next {
        right: 8px;
    }

    .practice-dots {
        margin-top: 14px;
    }


    /* KONTAKT */

    .contact-section {
        padding: 58px 0;
    }

    .contact-layout {
        gap: 34px;
    }

    .contact-form-wrapper {
        padding: 22px 18px;
    }

    .form-group textarea {
        height: 120px;
        min-height: 120px;
    }

    .form-submit {
        width: 100%;
    }


    /* FOOTER */

    .footer-inner {
        grid-template-columns: 1fr;

        gap: 22px;

        text-align: center;
    }

    .footer-brand img {
        margin: 0 auto;
    }

    .footer-socials {
        justify-content: center;
    }

    .footer-copyright {
        justify-self: center;
        text-align: center;
    }


    /* LIGHTBOX */

    .lightbox {
        padding: 60px 20px;
    }

    .lightbox-image {
        max-width: 100%;
        max-height: 82vh;
    }

    .lightbox-arrow {
        font-size: 48px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-close {
        top: 15px;
        right: 18px;
    }


/* OCHRANA OSOBNÝCH ÚDAJOV — MOBIL */

.privacy-page {
    padding: 60px 0 70px;
}

.privacy-page h1 {
    margin-bottom: 38px;

    font-size: 38px;
    line-height: 1.08;
    letter-spacing: -1.5px;
}

.privacy-intro {
    margin-bottom: 34px;
    padding: 24px 20px;
}

.privacy-intro p,
.privacy-intro li {
    font-size: 14px;
    line-height: 1.7;
}

.privacy-block {
    padding: 24px 0;
}

.privacy-block h2 {
    margin-bottom: 12px;

    font-size: 21px;
}

.privacy-block p,
.privacy-block li {
    font-size: 15px;
    line-height: 1.7;
}

.privacy-block ul {
    margin: 16px 0 20px;
    padding-left: 20px;
}

.privacy-back {
    margin-top: 30px;
}
}
/* --------------------------------------------------
   VEĽMI ÚZKY MOBIL
   do 420 px
-------------------------------------------------- */

@media (max-width: 420px) {

    :root {
        --section-title: 34px;
    }

    .container {
        width: calc(100% - 30px);
    }

    .hero-content {
        padding-left: 15px;
        padding-right: 15px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .services-carousel {
        grid-template-columns: 28px 1fr 28px;
        gap: 4px;
    }

    .services-arrow {
        width: 28px;
        height: 28px;
    }

    .service-card {
        padding: 19px;
    }

    .practice-slide {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }


/* OCHRANA OSOBNÝCH ÚDAJOV — VEĽMI ÚZKY MOBIL */

.privacy-page h1 {
    font-size: 34px;
}

.privacy-intro {
    padding: 20px 16px;
}

.privacy-block h2 {
    font-size: 20px;
}

.privacy-block p,
.privacy-block li {
    font-size: 14px;
}
}

/* --------------------------------------------------
   OBMEDZENIE ANIMÁCIÍ
-------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}