/* ==========================================================================
   Z&M zeleň - design tokens
   ========================================================================== */
:root {
    --forest: #234A18;
    --forest-deep: #13300E;
    --moss: #5C7F32;
    --leaf: #8BB748;
    --leaf-bright: #A5CE62;
    --ivory: #F6F3EA;
    --stone: #EAE5D6;
    --stone-line: #D8D0BB;
    --ink: #20261B;
    --ink-soft: #4C5343;
    --white: #FFFFFF;

    --display: "Fraunces", "Iowan Old Style", Georgia, serif;
    --body: "Work Sans", "Segoe UI", sans-serif;

    --container: 1180px;
    --radius: 3px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--body);
    background: var(--ivory);
    color: var(--ink);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3 {
    font-family: var(--display);
    font-weight: 600;
    color: var(--forest-deep);
    margin: 0 0 .5em;
    letter-spacing: -0.01em;
}

h1 {
    font-size: clamp(2.4rem, 4.5vw, 3.8rem);
    line-height: 1.05;
}

h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    line-height: 1.15;
}

h3 {
    font-size: 1.25rem;
}

p {
    margin: 0 0 1em;
    color: var(--ink-soft);
}

.wrap {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px;
}

.amp {
    font-family: Helvetica, Arial, sans-serif;
    font-style: normal;
    font-weight: 500;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--body);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--moss);
    margin-bottom: 14px;
}

.eyebrow::before, .eyebrow.line::after {
    content: "";
    width: 26px;
    height: 1px;
    background: var(--moss);
    display: inline-block;
}

/* ---------------------------------------------------------------------- */
/* Nav                                                                     */
/* ---------------------------------------------------------------------- */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--forest-deep);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.site-nav .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 84px;
}

.brand {
    display: flex;
    align-items: center;
    line-height: 1;
    color: var(--white);
}

.brand-mark {
    display: block;
    height: 46px;
    width: auto;
}

.footer-mark {
    height: 62px;
}

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

.nav-links a {
    color: rgba(255, 255, 255, .82);
    font-size: .95rem;
    font-weight: 500;
    padding: 6px 2px;
    border-bottom: 2px solid transparent;
    transition: color .2s ease, border-color .2s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--white);
    border-color: var(--leaf-bright);
}

.nav-links a.nav-cta {
    background: var(--leaf-bright);
    color: var(--forest-deep) !important;
    font-weight: 600 !important;
    padding: 6px 13px;
    border-radius: var(--radius);
    border-bottom: none !important;
}

.nav-cta:hover {
    background: var(--white);
    border-color: transparent !important;
}

.nav-toggle {
    display: none;
}

@media (max-width: 860px) {
    .nav-links {
        display: flex;
        position: fixed;
        inset: 72px 0 0 0;
        background: var(--forest-deep);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 36px 32px;
        gap: 26px;
        transform: translateX(100%);
        transition: transform .25s ease;
        z-index: 60;
        overflow-y: auto;
    }

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

    .resizing .nav-links {
        transition: none !important;
    }

    .nav-toggle {
        position: relative;
        z-index: 70;
        display: flex;
        flex-direction: column;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 8px;
    }

    .nav-toggle span {
        width: 24px;
        height: 2px;
        background: var(--white);
        display: block;
    }
}

/* ---------------------------------------------------------------------- */
/* Hedge-line divider - signature element                                  */
/* A trimmed-hedge silhouette used as a running seam between sections      */
/* ---------------------------------------------------------------------- */
.hedge-line {
    width: 100%;
    height: 26px;
    display: block;
    line-height: 0;
}

.hedge-line svg {
    width: 100%;
    height: 100%;
    display: block;
}

.hedge-line.up {
    transform: scaleY(-1);
}

/* Garden illustration section - the artwork's white ground is keyed out    */
/* with background-blend-mode, so copy can sit in its open sky area.        */
.scene-section {
    position: relative;
    background: url("../img/garden-scene.png") no-repeat center bottom / 100% auto, var(--ivory);
    background-blend-mode: multiply;
    aspect-ratio: 1536 / 1024;
    padding: 0;
    display: flex;
    align-items: flex-start;
}

.scene-section .wrap {
    width: 100%;
    display: grid;
    grid-template-columns: 44% 1fr;
    gap: 30px;
    padding-top: 6%;
}

.scene-copy {
    grid-column: 2;
}

.scene-copy .claim {
    font-family: var(--display);
    font-size: clamp(1.35rem, 2.2vw, 1.85rem);
    line-height: 1.3;
    color: var(--forest-deep);
    margin: 0 0 26px;
    max-width: 26ch;
    text-wrap: pretty;
}

.scene-facts {
    display: flex;
    gap: 34px;
    flex-wrap: wrap;
}

.scene-facts .fact strong {
    display: block;
    font-family: var(--display);
    font-size: 1.7rem;
    color: var(--forest);
    line-height: 1.1;
}

.scene-facts .fact span {
    font-size: .74rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

@media (max-width: 940px) {
    .scene-section {
        aspect-ratio: auto;
        max-height: none;
        background-size: 100% auto;
        background-position: center bottom;
        padding: 52px 0 calc(100% / 1.5 + 30px);
    }

    .scene-section .wrap {
        padding-top: 0;
    }

    .scene-section .wrap {
        grid-template-columns: 1fr;
    }

    .scene-copy {
        grid-column: 1;
    }

    .scene-copy .claim {
        max-width: none;
    }
}

/* ---------------------------------------------------------------------- */
/* Hero                                                                    */
/* ---------------------------------------------------------------------- */
.hero {
    position: relative;
    background: linear-gradient(160deg, var(--forest-deep) 0%, var(--forest) 60%, #2F5C22 100%);
    color: var(--white);
    overflow: hidden;
    padding: 96px 0 0;
}

.hero .wrap {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
    padding-bottom: 70px;
}

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

.hero h1 em {
    font-style: normal;
    color: var(--leaf-bright);
}

.hero p.lead {
    color: rgba(255, 255, 255, .82);
    font-size: 1.1rem;
    max-width: 46ch;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: .96rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .18s ease, background .2s ease, border-color .2s ease, color .2s ease;
}

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

.btn-primary {
    background: var(--leaf-bright);
    color: var(--forest-deep);
}

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

.btn-ghost {
    border-color: rgba(255, 255, 255, .45);
    color: var(--white);
}

.btn-ghost:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, .08);
}

.btn-dark {
    background: var(--forest-deep);
    color: var(--white);
}

.btn-dark:hover {
    background: var(--forest);
}

.hero-art {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-mark {
    width: 100%;
    max-width: 420px;
    height: auto;
}

/* ---------------------------------------------------------------------- */
/* Sections                                                                */
/* ---------------------------------------------------------------------- */
section {
    padding: 78px 0;
}

.section-tight {
    padding: 56px 0;
}

.section-head {
    max-width: 640px;
    margin-bottom: 46px;
}

.section-head.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.bg-stone {
    background: var(--stone);
}

.bg-forest {
    background: var(--forest-deep);
    color: var(--white);
}

.bg-forest h2 {
    color: var(--white);
}

.bg-forest p {
    color: rgba(255, 255, 255, .78);
}

/* Trust strip */
.trust-strip {
    background: var(--stone);
    padding: 40px 0;
}

.trust-strip .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.trust-strip .claim {
    font-family: var(--display);
    font-size: 1.4rem;
    color: var(--forest-deep);
    max-width: 30ch;
}

.trust-facts {
    display: flex;
    gap: 34px;
    flex-wrap: wrap;
}

.trust-facts .fact {
    text-align: center;
}

.trust-facts .fact strong {
    display: block;
    font-family: var(--display);
    font-size: 1.7rem;
    color: var(--forest);
}

.trust-facts .fact span {
    font-size: .74rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

/* Service cards */
.grid {
    display: grid;
    gap: 26px;
}

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

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

.card {
    background: var(--white);
    border: 1px solid var(--stone-line);
    border-radius: var(--radius);
    padding: 30px 28px;
    transition: border-color .2s ease, transform .2s ease;
}

.card:hover {
    border-color: var(--leaf);
    transform: translateY(-3px);
}

.card .icon {
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    color: var(--forest);
}

.card h3 {
    margin-bottom: 8px;
}

.card p {
    font-size: .95rem;
    margin-bottom: 0;
}

.more-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 34px;
    font-weight: 600;
    color: var(--forest);
    border-bottom: 1px solid var(--leaf);
    padding-bottom: 2px;
}

.more-link:hover {
    color: var(--moss);
}

/* Chips (target audience) */
.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    border: 1px solid var(--stone-line);
    border-radius: 999px;
    padding: 12px 22px;
    font-weight: 500;
    font-size: .95rem;
}

.chip .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--leaf);
    flex-shrink: 0;
}

/* Why-us columns */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.why-item .num {
    font-family: var(--display);
    color: var(--leaf);
    font-size: 1rem;
    letter-spacing: .1em;
}

/* CTA band */
.cta-band {
    background: var(--forest-deep);
    color: var(--white);
    padding: 70px 0;
    text-align: center;
}

.cta-band h2 {
    color: var(--white);
    margin-bottom: 22px;
}

/* Footer */
footer {
    background: var(--forest-deep);
    color: rgba(255, 255, 255, .7);
    padding: 56px 0 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.footer-grid h4 {
    color: var(--white);
    font-family: var(--body);
    font-size: .8rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.footer-grid a {
    display: block;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, .7);
}

.footer-grid a:hover {
    color: var(--leaf-bright);
}

.footer-bottom {
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: .84rem;
}

/* Placeholder note */
.placeholder-note {
    display: inline-block;
    background: #FCEFC7;
    color: #6B5400;
    border: 1px dashed #C9A227;
    border-radius: var(--radius);
    padding: 2px 8px;
    font-size: .82rem;
}

/* Page header (subpages) */
.page-header {
    background: var(--forest-deep);
    color: var(--white);
    padding: 64px 0 56px;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 10px;
}

.page-header p {
    color: rgba(255, 255, 255, .78);
    max-width: 60ch;
}

/* Services page groups */
.service-group {
    margin-bottom: 54px;
}

.service-group-head {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 26px;
    border-bottom: 1px solid var(--stone-line);
    padding-bottom: 14px;
}

.service-group-head h2 {
    margin: 0;
    font-size: 1.5rem;
}

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

.service-row {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--white);
    border: 1px solid var(--stone-line);
    border-radius: var(--radius);
    padding: 20px 22px;
}

.service-row .icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    color: var(--forest);
    margin-top: 2px;
}

.service-row h3 {
    margin-bottom: 4px;
    font-size: 1.05rem;
}

.service-row p {
    margin: 0;
    font-size: .92rem;
}

.service-row.soon {
    opacity: .7;
    border-style: dashed;
}

.tag-soon {
    font-size: .68rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    background: var(--stone);
    color: var(--moss);
    padding: 3px 9px;
    border-radius: 999px;
    margin-left: 8px;
}

/* About page */
.duo {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.duo-card {
    background: var(--white);
    border: 1px solid var(--stone-line);
    border-radius: var(--radius);
    padding: 32px;
}

.duo-card .initial {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--forest);
    color: var(--white);
    font-family: var(--display);
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 20px;
}

/* Contact page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 26px;
}

.contact-info-item .icon {
    width: 24px;
    height: 24px;
    color: var(--forest);
    flex-shrink: 0;
    margin-top: 3px;
}

.contact-info-item h4 {
    margin: 0 0 4px;
    font-size: .78rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--moss);
}

.contact-info-item a {
    font-weight: 500;
    color: var(--ink);
}

form.contact-form {
    background: var(--white);
    border: 1px solid var(--stone-line);
    border-radius: var(--radius);
    padding: 34px;
    display: grid;
    gap: 18px;
}

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

label {
    display: block;
    font-size: .82rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--ink);
}

input, select, textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--stone-line);
    border-radius: var(--radius);
    font-family: var(--body);
    font-size: .95rem;
    background: var(--ivory);
    color: var(--ink);
}

input:focus, select:focus, textarea:focus {
    outline: 2px solid var(--leaf);
    outline-offset: 1px;
    background: var(--white);
}

textarea {
    resize: vertical;
    min-height: 110px;
}

/* Focus visibility everywhere */
a:focus-visible, button:focus-visible, .btn:focus-visible {
    outline: 2px solid var(--leaf-bright);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        animation: none !important;
        scroll-behavior: auto !important;
    }
}

/* Responsive */
@media (max-width: 940px) {
    .hero .wrap {
        grid-template-columns: 1fr;
    }

    .hero-art {
        order: -1;
        max-width: 300px;
        margin: 0 auto;
    }

    .grid-3, .why-grid, .duo, .values-grid {
        grid-template-columns: 1fr;
    }

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

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 861px) {
    .nav-toggle {
        display: none !important;
    }
}

/* ---------------------------------------------------------------------- */
/* Photo gallery                                                          */
/* ---------------------------------------------------------------------- */

.gallery-teaser,
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
}

.gallery-teaser img,
.photo-item {
    aspect-ratio: 4 / 3;
    border-radius: var(--radius);
    border: 1px solid var(--stone-line);
    overflow: hidden;
    display: block;
}

.gallery-teaser img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-item {
    background: none;
    padding: 0;
    cursor: zoom-in;
    width: 100%;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.photo-item:hover img {
    transform: scale(1.05);
}

/* Before / after pair inside the gallery grid */
.before-after {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.before-after .photo-item {
    position: relative;
}

.ba-tag {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(20, 20, 15, .75);
    color: #fff;
    font-size: .7rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 4px 11px;
    border-radius: 999px;
    pointer-events: none;
}

@media (max-width: 480px) {
    .before-after {
        grid-template-columns: 1fr;
    }
}

.gallery-teaser + .more-link {
    display: inline-block;
    margin-top: 24px;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(20, 20, 15, .92);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    padding: 60px 20px;
}

.lightbox.open {
    display: flex;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 78vh;
    border-radius: var(--radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
    display: block;
}

.lightbox-caption {
    position: absolute;
    bottom: 22px;
    left: 0;
    right: 0;
    text-align: center;
    color: rgba(255, 255, 255, .85);
    font-size: .92rem;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    line-height: 1;
}

.lightbox-close {
    top: 18px;
    right: 22px;
    font-size: 2rem;
}

.lightbox-prev,
.lightbox-next {
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.6rem;
    padding: 10px 14px;
}

.lightbox-prev {
    left: 6px;
}

.lightbox-next {
    right: 6px;
}

@media (max-width: 940px) {
    .gallery-teaser,
    .photo-gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .lightbox-prev,
    .lightbox-next {
        font-size: 1.9rem;
        padding: 8px 10px;
    }
}
