@font-face {
    font-family: 'Inter';
    src: url('assets/fonts/inter-v20-latin_latin-ext-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('assets/fonts/inter-v20-latin_latin-ext-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('assets/fonts/inter-v20-latin_latin-ext-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('assets/fonts/inter-v20-latin_latin-ext-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


/* BARLOW CONDENSED */

@font-face {
    font-family: 'Barlow Condensed';
    src: url('assets/fonts/barlow-condensed-v13-latin_latin-ext-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Barlow Condensed';
    src: url('assets/fonts/barlow-condensed-v13-latin_latin-ext-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Barlow Condensed';
    src: url('assets/fonts/barlow-condensed-v13-latin_latin-ext-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Barlow Condensed';
    src: url('assets/fonts/barlow-condensed-v13-latin_latin-ext-800.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

:root {
    --black: #0b1013;
    --black2: #11181c;
    --black3: #172126;
    --white: #ffffff;
    --paper: #f2f3f2;
    --text: #14191c;
    --muted: #70777b;
    --line: rgba(255,255,255,.16);
    --green: #94c11f;
    --green2: #b7df2a;
    --green-dark: #72970e;
    --container: 1180px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
}

body {
    margin: 0;
    font-family: "Inter", Arial, sans-serif;
    background: var(--black);
    color: var(--white);
    line-height: 1.55;
}

body.menu-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }

.container {
    width: min(calc(100% - 42px), var(--container));
    margin-inline: auto;
}

/* HEADER */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    background: transparent;
    border: 0;

    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    display: flex;
    align-items: stretch;
}

.site-header.scrolled {
    background: rgba(8,12,14,.97);
    box-shadow: 0 10px 32px rgba(0,0,0,.25);
}

.navbar {
    min-height: 76px;
    display: flex;
    align-items: stretch;
    justify-content: space-between;

    position: relative;
}

.menu-bg-helper {
    width: calc((100% - var(--container)) / 2);
    display: inline-block;
    background-color: rgba(8, 12, 14, .95);
}

.brand {
    display: flex;
    align-items: center;
}

.brand img {
    width: 198px;
    height: auto;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 34px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    position: relative;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    color: rgba(255,255,255,.88);
    letter-spacing: .025em;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -13px;
    width: 0;
    height: 3px;
    background: var(--green);
    transition: width .2s ease;
}

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

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255,255,255,.12);
    background: #20292e;
    border-radius: 7px;
    cursor: pointer;
}

.menu-toggle span {
    width: 22px;
    height: 2px;
    margin: 5px auto;
    display: block;
    background: #fff;
    transition: .2s ease;
}

.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* TYPOGRAPHY */
h1, h2, h3 {
    font-family: "Barlow Condensed", sans-serif;
    text-transform: uppercase;
    margin-top: 0;
}

.section-label,
.eyebrow {
    display: inline-block;
    color: var(--green);
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 800;
    font-size: .98rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 8px;
}

.section-label::after,
.eyebrow::after {
    content: "";
    display: inline-block;
    width: 38px;
    height: 3px;
    margin-left: 14px;
    vertical-align: middle;
    background: var(--green);
}

.section-heading h2,
.section-copy h2,
.contact-copy h2,
.process-content h2 {
    font-size: clamp(2.5rem, 5vw, 4.6rem);
    line-height: .95;
    letter-spacing: -.025em;
}

/* HERO */
.parallax-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero {
    min-height: 760px;
    display: grid;
    align-items: center;
    background-image:
        linear-gradient(90deg, rgba(8,12,14,.98) 0%, rgba(8,12,14,.94) 41%, rgba(8,12,14,.30) 71%, rgba(8,12,14,.76) 100%),
        url("assets/images/photo-1.jpg");
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    z-index: 1;
    top: -10%;
    left: 46%;
    width: 24px;
    height: 120%;
    background: var(--green);
    transform: skewX(-16deg);
    box-shadow: 16px 0 0 rgba(255,255,255,.22);
}

.hero-grid-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: .45;
}

.hero-angle {
    position: absolute;
    z-index: 1;
    right: -180px;
    top: 76px;
    width: 430px;
    height: calc(100% - 76px);
    border-left: 1px solid rgba(255,255,255,.25);
    background: rgba(0,0,0,.28);
    transform: skewX(-16deg);
}

.hero-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 180px;
    gap: 40px;
    align-items: center;
    padding-top: 120px;
    padding-bottom: 70px;
}

.hero-content { max-width: 660px; }

.hero h1 {
    margin-bottom: 24px;
    font-size: clamp(3.7rem, 7vw, 7rem);
    line-height: .88;
    letter-spacing: -.035em;
}

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

.hero-lead {
    max-width: 610px;
    color: rgba(255,255,255,.76);
    font-size: 1rem;
    margin: 0 0 24px;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 0 0 28px;
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 600;
    font-size: .9rem;
}

.hero-tags i {
    width: 2px;
    height: 16px;
    background: var(--green);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    min-height: 48px;
    padding: 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 2px solid transparent;
    border-radius: 0;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    transition: .2s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-green {
    color: #101510;
    background: var(--green);
    border-color: var(--green);
}

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

.btn-outline {
    color: #fff;
    background: transparent;
    border-color: rgba(255,255,255,.45);
}

.hero-side-note {
    justify-self: end;
    align-self: end;
    margin-bottom: 70px;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1.25rem;
    line-height: 1.05;
    text-transform: uppercase;
}

.hero-side-note span { display: block; }
.hero-side-note i {
    display: block;
    margin-top: 14px;
    width: 32px;
    height: 4px;
    background: var(--green);
}

/* SECTIONS */
.section { padding: 96px 0; }

.section-dark {
    background:
      radial-gradient(circle at 85% 20%, rgba(148,193,31,.08), transparent 24%),
      linear-gradient(180deg, #12191d, #0d1316);
}

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

.section-copy p,
.section-heading p {
    max-width: 660px;
    color: #aab1b4;
}

.about-card {
    min-height: 460px;
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 42% 58%;
    border: 1px solid rgba(255,255,255,.16);
    background: #0b1013;
}

.about-card::before {
    content: "";
    position: absolute;
    z-index: 2;
    top: -20%;
    left: 38%;
    width: 13px;
    height: 140%;
    background: var(--green);
    transform: skewX(-16deg);
}

.about-photo {
    background:
        linear-gradient(rgba(0,0,0,.1), rgba(0,0,0,.42)),
        url("assets/images/photo-2.jpg")
        center/cover no-repeat;
    filter: grayscale(1);
}

.about-content {
    padding: 48px 42px 42px 50px;
    align-self: center;
}

.about-content > span {
    color: var(--green);
    font-family: "Barlow Condensed";
    font-weight: 800;
    letter-spacing: .08em;
}

.about-content h3 {
    margin: 9px 0 22px;
    font-size: 2.2rem;
    line-height: .98;
}

.about-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-content li {
    position: relative;
    padding: 7px 0 7px 20px;
    color: #b4babd;
    font-size: .9rem;
}

.about-content li::before {
    content: "›";
    position: absolute;
    left: 0;
    color: var(--green);
    font-size: 1.25rem;
    font-weight: 800;
}

/* SERVICES */
.services-section {
    position: relative;
    background: #f4f5f4;
    color: #111719;
    overflow: hidden;
}

.services-section::after {
    content: "";
    position: absolute;
    top: 0;
    right: -85px;
    width: 160px;
    height: 100%;
    background: #11181c;
    transform: skewX(-8deg);
    border-left: 8px solid var(--green);
}

.left-heading {
    text-align: left;
    max-width: 780px;
    margin: 0 0 52px;
}

.services-section .section-heading p { color: #687075; }

.services-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid #d5d9da;
    border-left: 1px solid #d5d9da;
}

.service-card {
    min-height: 300px;
    padding: 28px 24px;
    background: rgba(255,255,255,.65);
    border-right: 1px solid #d5d9da;
    border-bottom: 1px solid #d5d9da;
    transition: .22s ease;
}

.service-card:hover {
    background: #11181c;
    color: #fff;
    transform: translateY(-5px);
}

.service-icon {
    color: var(--green-dark);
    font-family: "Barlow Condensed";
    font-size: 2rem;
    font-weight: 800;
}

.service-card h3 {
    margin: 13px 0 10px;
    font-size: 1.35rem;
    line-height: 1;
}

.service-card p,
.service-card ul {
    font-size: .86rem;
    color: #687075;
}

.service-card:hover p,
.service-card:hover ul { color: #bcc2c4; }

.service-card ul {
    padding-left: 18px;
    margin-bottom: 0;
}

/* PROCESS */
.process-section {
    min-height: 520px;
    display: grid;
    align-items: center;
    background-image:
        linear-gradient(90deg, rgba(9,13,15,.97), rgba(9,13,15,.72)),
        url("assets/images/photo-3.jpg");
    overflow: hidden;
}

.process-section::after {
    content: "";
    position: absolute;
    right: 7%;
    top: -20%;
    width: 10px;
    height: 140%;
    transform: skewX(-16deg);
    background: var(--green);
}

.process-content {
    position: relative;
    z-index: 2;
    padding: 80px 0;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.process-grid > div {
    padding: 28px 26px;
    border-right: 1px solid var(--line);
}

.process-grid > div:last-child { border-right: 0; }
.process-grid b { color: var(--green); font-size: .9rem; }
.process-grid h3 { margin: 10px 0 5px; font-size: 1.25rem; }
.process-grid p { margin: 0; font-size: .82rem; color: #aeb5b8; }

/* ADVANTAGES */
.advantages-section {
    background:
        linear-gradient(90deg, rgba(11,16,19,.98), rgba(11,16,19,.86)),
        url("assets/images/photo-4.jpg")
        center/cover;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.advantage {
    padding: 30px 26px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.advantage:nth-child(4n) { border-right: 0; }
/* 5 prvků */
.advantages-grid:has(.advantage:nth-child(5):last-child)
.advantage:nth-child(n+5) {
    border-bottom: 0;
}

/* 6 prvků */
.advantages-grid:has(.advantage:nth-child(6):last-child)
.advantage:nth-child(n+5) {
    border-bottom: 0;
}

/* 7 prvků */
.advantages-grid:has(.advantage:nth-child(7):last-child)
.advantage:nth-child(n+5) {
    border-bottom: 0;
}

/* 8 prvků */
.advantages-grid:has(.advantage:nth-child(8):last-child)
.advantage:nth-child(n+5) {
    border-bottom: 0;
}

.advantage span {
    color: var(--green);
    font-family: "Barlow Condensed";
    font-size: 1.2rem;
    font-weight: 800;
}

.advantage h3 {
    margin: 8px 0 8px;
    font-size: 1.55rem;
}

.advantage p {
    margin: 0;
    color: #acb3b6;
    font-size: .88rem;
}

/* CONTACT */
.contact-section {
    position: relative;
    background: #10171a;
    overflow: hidden;
}

.contact-section::after {
    content: "";
    position: absolute;
    top: -30%;
    right: -80px;
    width: 260px;
    height: 160%;
    background: var(--green);
    transform: skewX(-16deg);
    opacity: .92;
}

.contact-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: .86fr 1.14fr;
    gap: 70px;
}

.contact-copy h2 em {
    color: var(--green);
    font-style: normal;
}

.contact-copy > p { color: #aeb4b7; max-width: 550px; }

.contact-list {
    margin-top: 34px;
    display: grid;
    gap: 14px;
}

.contact-list div {
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.contact-list span {
    display: block;
    color: var(--green);
    font-family: "Barlow Condensed";
    font-size: .82rem;
    font-weight: 700;
    text-transform: uppercase;
}

.contact-form {
    padding: 34px;
    border: 1px solid rgba(255,255,255,.15);
    background: rgba(6,10,12,.78);
}

.form-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group { margin-bottom: 17px; }
.form-group label {
    display: block;
    margin-bottom: 7px;
    font-family: "Barlow Condensed";
    font-weight: 700;
    text-transform: uppercase;
    color: #c7cdcf;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid rgba(255,255,255,.16);
    background: #151e22;
    color: #fff;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus { border-color: var(--green); }

.form-group textarea { resize: vertical; min-height: 140px; }
.submit-btn { width: 100%; }
.form-status { min-height: 22px; margin-top: 12px; color: #b6bdc0; font-size: .84rem; }

/* FOOTER */
.site-footer {
    background: #eef0ef;
    color: #14191c;
    padding: 24px 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 190px 1fr auto auto;
    align-items: center;
    gap: 30px;
    font-size: .78rem;
}

.footer-inner img { width: 170px; }
.footer-inner p { margin: 0; }
.scroll-top { font-weight: 800; }

/* REVEAL */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* RESPONSIVE */
@media (max-width: 1080px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .process-grid { grid-template-columns: repeat(3, 1fr); }
    .advantages-grid { grid-template-columns: repeat(2, 1fr); }
    .hero::before { left: 62%; }
}

@media (max-width: 860px) {
    .site-header {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .brand img { width: 160px; }

    .menu-toggle {
        display: block;
        position: relative;
        z-index: 1003;
    }

    .nav-links {
        position: fixed;
        z-index: 1002;
        inset: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        padding: 110px 28px 40px;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 0;
        background:
            linear-gradient(135deg, #0a0f12 0%, #11191d 70%, #1b272d 100%);
        transform: translateX(100%);
        transition: transform .28s ease;
        overflow-y: auto;
    }

    .nav-links::after {
        content: "";
        position: fixed;
        right: 11%;
        top: -20%;
        width: 9px;
        height: 140%;
        background: var(--green);
        transform: skewX(-16deg);
        opacity: .85;
    }

    .nav-links.open { transform: translateX(0); }

    .nav-links li {
        position: relative;
        z-index: 2;
        width: 100%;
        max-width: 360px;
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,.10);
    }

    .nav-links a {
        display: block;
        padding: 18px 0;
        font-size: 1.6rem;
    }

    .nav-links a::after { display: none; }

    .hero {
        min-height: 700px;
        background-position: 62% center;
        background-attachment: scroll;
    }

    .hero::before { left: 80%; opacity: .8; }
    .hero-angle { display: none; }

    .hero-layout {
        grid-template-columns: 1fr;
        padding-top: 120px;
    }

    .hero-side-note { display: none; }

    .about-grid,
    .contact-grid { grid-template-columns: 1fr; gap: 42px; }

    .about-card { grid-template-columns: 34% 66%; }

    .process-section { background-attachment: scroll; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
    .container { width: min(calc(100% - 28px), var(--container)); }
    .section { padding: 72px 0; }

    .hero {
        min-height: 720px;
        background-image:
            linear-gradient(90deg, rgba(8,12,14,.98), rgba(8,12,14,.74)),
            url("assets/images/photo-5.jpg");
    }

    .hero h1 { font-size: clamp(3.2rem, 16vw, 5.2rem); }
    .hero-tags { font-size: .78rem; }
    .hero-actions { flex-direction: column; align-items: stretch; }

    .services-grid,
    .process-grid,
    .advantages-grid,
    .form-row { grid-template-columns: 1fr; }

    .service-card,
    .process-grid > div,
    .advantage { border-right: 0; }

    .about-card { grid-template-columns: 1fr; }
    .about-photo { min-height: 230px; }
    .about-card::before {
        top: 210px;
        left: -10%;
        width: 120%;
        height: 8px;
        transform: skewY(-5deg);
    }

    .about-content { padding: 34px 26px; }
    .contact-form { padding: 24px; }
    .contact-section::after { width: 100px; right: -70px; }

    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
}


/* =========================================================
   HEADER PHOTO BRIDGE + CZ / EN
   ========================================================= */

.navbar {
    position: relative;
}

.nav-center {
    margin-left: auto;
    margin-right: 40px;
    position: relative;
    z-index: 4;
    display: flex;
    align-items: center;
}

.header-photo-bridge {
    position: relative;
    background: transparent;
    z-index: 1;

    width: 190px;
    min-width: 190px;
    overflow: hidden;
}


.brand,
.nav-center {
    position: relative;
    z-index: 2;
}

.navbar::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;

    width: calc(100% - 310px);
    height: 76px;

    background: rgba(8, 12, 14, .95);

    clip-path: polygon(
      0 0,
      100% 0,
      calc(100% - 22px) 100%,
      0 100%
    );

    z-index: 0;
}

.header-photo-bridge::before {
    content: "";

    position: absolute;

    top: -15px;
    left: 19px;

    width: 10px;
    height: 110px;

    background: var(--green);

    transform: rotate(16deg);

    z-index: 10;
}

.language-switch {
    position: relative;

    width: 145px;
    min-width: 145px;
    height: 76px;

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

    z-index: 2;
}

.language-switch span,
.mobile-language span {
    color: rgba(255,255,255,.52);
}

.language-switch::before {
    content: "";

    position: absolute;
    inset: 0;

    background: rgba(8, 12, 14, .95);

    clip-path: polygon(
      22px 0,
      100% 0,
      100% 100%,
      0 100%
    );

    z-index: -1;
}

.lang-btn {
    appearance: none;
    border: 0;
    padding: 4px 2px;
    background: transparent;
    color: rgba(255,255,255,.68);
    font-family: inherit;
    font-weight: 800;
    cursor: pointer;
    transition: color .2s ease;
}

.lang-btn:hover,
.lang-btn.active {
    color: var(--green);
}

.mobile-language {
    display: none;
}

/* Bridge is visually tied to the hero photo below */
.hero {
    background-position: 65% center;
}

@media (max-width: 1230px) {
    .header-photo-bridge {
        width: 125px;
        min-width: 125px;
    }

    .nav-links {
        gap: 22px;
    }

    .header-photo-bridge {
        display: none;
    }

    .navbar {
        background: rgba(8, 12, 14, .95);
        width: 100%;
        padding-left: 21px;
        padding-right: 21px;
    }

    .language-switch::before {
        display: none;
    }
}

@media (max-width: 860px) {
    .navbar {
        display: flex;
        align-items: center;
    }

    .nav-center {
        margin-left: 0;
        margin-right: 0;
    }

    .header-photo-bridge,
    .language-switch {
        display: none;
    }

    .mobile-language {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 9px;
        border-bottom: 0 !important;
        margin-top: 20px;
    }

    .mobile-language .lang-btn {
        font-size: 1.2rem;
        color: rgba(255,255,255,.7);
    }

    .mobile-language .lang-btn.active {
        color: var(--green);
    }
}
