:root {
    --green-main: #639c00;
    --olive-footer: #3a3d22;
    --text-dark: #1a1a1a;
    --text-muted: #666;
    --gray-bg: #f2f2f2;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    margin: 0;
    padding: 0;
}

h2 {
    font-family: 'Cinzel', serif;
}

/* ── NAVBAR ──────────────────────────── */
.site-nav {
    background: #fff;
    display: flex;
    align-items: center;
    padding: 0;
    height: 265px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: height .3s ease;
}

.nav-container {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-nav.scrolled {
    height: 142px;
}

.nav-hamburger {
    font-size: 24px;
    color: var(--green-main);
    background: none;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}

.nav-brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
    text-decoration: none;
}

.nav-brand img {
    height: 112px;
    width: auto;
    display: block;
    transition: height .3s ease;
}

.site-nav.scrolled .nav-brand img {
    height: 84px;
}

.nav-brand-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--green-main);
    letter-spacing: .04em;
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-brand-sub {
    font-size: .48rem;
    font-weight: 700;
    letter-spacing: .35em;
    text-transform: uppercase;
    color: var(--green-main);
}

.nav-socials {
    display: flex;
    gap: 28px;
}

.nav-socials a {
    color: var(--green-main);
    font-size: 1.05rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.nav-socials a svg {
    width: 24px;
    height: 24px;
}

.nav-socials a:hover {
    color: var(--green-main);
}

/* ── HERO ─────────────────────────────── */
.hero {
    position: relative;
    height: 100vh;
    background: url('/img/home-main.jpg') center/cover no-repeat;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 3rem;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .05) 55%, transparent 100%);
}

.hero-inner {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(2rem, 6vw, 5.125rem);
    font-weight: 500;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.hero-chevrons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.hero-scroll {
    display: inline-flex;
    color: var(--green-main);
    text-decoration: none;
    cursor: pointer;
}

.hero-chevrons .material-icons {
    color: var(--green-main);
    font-size: 142px;
    animation: bdown 1.8s ease-in-out infinite;
}

.hero-chevrons .material-icons:last-child {
    animation-delay: .2s;
}

@keyframes bdown {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(5px)
    }
}

/* ── SECTION HELPERS ──────────────────── */
.section-wrap {
    padding: 3.5rem 0;
}

.btn-cta {
    display: inline-block;
    background: var(--green-main);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: .55rem 1.3rem;
    border-radius: 2px;
    text-decoration: none;
    border: none;
    transition: background .2s;
}

.btn-cta:hover {
    background: var(--green-main);
    color: #fff;
}

.btn-cta-outline {
    display: inline-block;
    border: 2px solid var(--green-main);
    color: var(--green-main);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: .5rem 1.3rem;
    border-radius: 2px;
    text-decoration: none;
    background: transparent;
    transition: all .2s;
}

.btn-cta-outline:hover {
    background: var(--green-main);
    color: #fff;
}

/* ── REALIZACE ────────────────────────── */
.realizace-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.realizace-header h2 {
    font-size: .95rem;
    font-weight: 600;
    margin: 0;
}

.link-all {
    font-size: .8rem;
    font-weight: 700;
    color: var(--green-main);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: .3rem;
}

.link-all:hover {
    color: var(--green-main);
}

.realizace-card {
    position: relative;
}

.realizace-img {
    display: block;
    width: 62%;
    height: 320px;
    -o-object-fit: cover;
       object-fit: cover;
}

.realizace-overlay {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 44%;
    background: #fff;
    padding: 2rem 2rem 2rem 2rem;
    box-shadow: -2px 2px 24px rgba(0, 0, 0, .08);
}

.realizace-overlay h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.25;
    margin-bottom: .75rem;
}

.realizace-overlay p {
    font-size: .82rem;
    color: var(--text-muted);
    margin-bottom: 1.1rem;
}

.realizace-nav {
    display: flex;
    justify-content: flex-end;
    gap: .5rem;
    margin-top: 1rem;
}

.realizace-nav button {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1.5px solid #bbb;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color .2s;
}

.realizace-nav button:hover {
    border-color: var(--green-main);
}

/* ── TÝM ──────────────────────────────── */
.tym-section {
    background: #fff;
    padding: 3.5rem 0;
}

.tym-left {
    position: relative;
}

.tym-title-block {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.9rem, 3.5vw, 2.6rem);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.tym-img {
    width: 100%;
    max-width: 300px;
    height: 260px;
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: center top;
       object-position: center top;
    display: block;
}

.tym-right {
    background: var(--gray-bg);
    padding: 2.2rem 2rem;
}

.tym-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.tym-bullets li {
    font-size: .83rem;
    color: var(--text-dark);
    padding: .42rem 0;
    display: flex;
    align-items: flex-start;
    gap: .5rem;
}

.tym-bullets li::before {
    content: '•';
    color: var(--green-main);
    flex-shrink: 0;
    line-height: 1.4;
}

.tym-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.link-jak {
    font-size: .82rem;
    font-weight: 700;
    color: var(--green-main);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: .3rem;
}

.link-jak:hover {
    color: var(--green-main);
}

/* ── SERVICES ─────────────────────────── */
.services-section {
    padding: 3rem 0 0;
}

.services-header-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.services-header-row h2 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 .35rem;
}

.services-header-row p {
    font-size: .83rem;
    color: var(--text-muted);
    margin: 0;
    max-width: 480px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.service-card {
    position: relative;
    overflow: hidden;
}

.service-card img {
    display: block;
    width: 100%;
    height: 280px;
    -o-object-fit: cover;
       object-fit: cover;
    transition: transform .4s;
}

.service-card:hover img {
    transform: scale(1.04);
}

.service-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .72), transparent);
    padding: 2.5rem 1.2rem .85rem;
    color: #fff;
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: .45rem;
}

.service-label .material-icons {
    color: var(--green-main);
    font-size: 1.1rem;
}

/* ── TESTIMONIALS ─────────────────────── */
.testi-section {
    display: flex;
    min-height: 380px;
}

.testi-left {
    width: 50%;
    background: #fff;
    padding: 3.5rem 3rem 3.5rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testi-left h2 {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.testi-left p {
    font-size: .84rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.testi-socials {
    display: flex;
    gap: .8rem;
    margin-top: 1rem;
}

.testi-socials a {
    color: var(--text-dark);
    font-size: 1.1rem;
    text-decoration: none;
}

.testi-socials a:hover {
    color: var(--green-main);
}

.testi-right {
    width: 50%;
    background: var(--green-main);
    padding: 3.5rem 3rem 3.5rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testi-card-name {
    font-size: .92rem;
    font-weight: 700;
    color: var(--green-main);
    margin-bottom: .1rem;
}

.testi-card-role {
    font-size: .75rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.testi-card-text {
    font-size: .85rem;
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.75;
}

.testi-nav {
    display: flex;
    gap: .5rem;
    margin-top: 1.5rem;
}

.testi-nav button {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1.5px solid var(--green-main);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--green-main);
    transition: all .2s;
}

.testi-nav button:hover {
    background: var(--green-main);
    color: #fff;
}

/* ── FOOTER ───────────────────────────── */
footer {
    background: #fff;
    border-top: 1px solid #ddd;
    padding: 2.5rem 0 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 0 2rem 2rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: .45rem;
}

.footer-col ul li::before {
    content: '· ';
    color: var(--text-muted);
}

.footer-col ul li a {
    font-size: .8rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: color .2s;
}

.footer-col ul li a:hover {
    color: var(--green-main);
}

.footer-brand-block {
    text-align: right;
}

.footer-brand-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--green-main);
    letter-spacing: .04em;
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: flex-end;
}

.footer-brand-sub-text {
    font-size: .45rem;
    font-weight: 700;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--green-main);
    display: block;
    text-align: right;
}

.footer-address {
    font-size: .76rem;
    color: var(--text-muted);
    margin-top: .6rem;
    line-height: 1.65;
    text-align: right;
}

.footer-bottom {
    background: var(--olive-footer);
    padding: .9rem 2rem;
    font-size: .73rem;
    color: rgba(255, 255, 255, .4);
    text-align: center;
}

/* ── RESPONSIVE ───────────────────────── */
@media (max-width: 900px) {
    .realizace-img {
        width: 100%;
        height: 220px;
    }

    .realizace-overlay {
        position: static;
        transform: none;
        width: 100%;
        box-shadow: none;
        border-top: 3px solid var(--green-main);
    }

    .testi-section {
        flex-direction: column;
    }

    .testi-left,
    .testi-right {
        width: 100%;
        padding: 2.5rem 1.5rem;
    }

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

    .tym-img {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .site-nav {
        padding: .65rem 1rem;
    }

    .testi-left {
        padding: 2rem 1.2rem;
    }

    .testi-right {
        padding: 2rem 1.2rem;
    }

    .footer-inner {
        padding: 0 1rem 1.5rem;
    }

    .footer-brand-block {
        text-align: left;
    }

    .footer-brand-name {
        justify-content: flex-start;
    }

    .footer-brand-sub-text {
        text-align: left;
    }

    .footer-address {
        text-align: left;
    }
}

/* ── IKONY (Material Icons + sociální SVG) ── */
.material-icons {
    vertical-align: middle;
    line-height: 1;
}

.link-all .material-icons,
.link-jak .material-icons {
    font-size: 1rem;
}

.realizace-nav button .material-icons,
.testi-nav button .material-icons {
    font-size: 1.25rem;
}

.nav-socials a svg,
.testi-socials a svg {
    display: block;
}
