:root {
    --bg: #f8f3ea;
    --surface: rgba(255, 250, 244, 0.78);
    --surface-strong: #fffaf4;
    --text: #35261b;
    --muted: #7b6a5a;
    --line: rgba(53, 38, 27, 0.09);
    --primary: #9a6a3a;
    --primary-dark: #6f4b29;
    --accent: #c9d67a;
    --accent-soft: #edf0cb;
    --shadow: 0 20px 60px rgba(73, 48, 24, 0.12);
    --radius-xl: 32px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --container: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(231, 160, 46, 0.26), transparent 28%),
        radial-gradient(circle at right 20%, rgba(97, 52, 7, 0.1), transparent 24%),
        linear-gradient(180deg, #fcf8f1 0%, #f5eee4 100%);
    line-height: 1.5;
}

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

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

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

.page-hero {
    padding: 63px 0 18px;
}

.page-hero-grid {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 22px;
    align-items: stretch;
    padding-top: 60px;
}

.page-hero-copy {
    padding: 16px 0 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(255, 250, 244, 0.72);
    border: 1px solid rgba(53, 38, 27, 0.06);
    color: var(--primary-dark);
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(53, 38, 27, 0.05);
    width: fit-content;
}

.eyebrow::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(180deg, #d7df9a, #8f6034);
    box-shadow: 0 0 0 6px rgba(143, 96, 52, 0.08);
}

h1 {
    margin: 18px 0 16px;
    font-size: clamp(2.5rem, 5.6vw, 4.8rem);
    line-height: 0.95;
    letter-spacing: -0.05em;
    max-width: 11ch;
}

.page-hero-copy p {
    margin: 0;
    max-width: 560px;
    font-size: 1.04rem;
    color: var(--muted);
}

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

.hero-quickinfo {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 28px;
}

.quick-card {
    padding: 16px 16px 14px;
    border-radius: 20px;
    background: rgba(255, 250, 244, 0.72);
    border: 1px solid rgba(53, 38, 27, 0.07);
    box-shadow: 0 12px 28px rgba(73, 48, 24, 0.06);
    backdrop-filter: blur(10px);
}

.quick-card strong {
    display: block;
    margin-bottom: 4px;
    font-size: 1.1rem;
}

.quick-card span {
    color: var(--muted);
    font-size: 0.92rem;
}

.page-hero-visual {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 16px;
    min-height: 520px;
}

.hero-main,
.hero-small,
.hero-tall {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background-size: cover;
    background-position: center;
}

.hero-main {
    min-height: 520px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
        url("/assets/images/ptak.jpg") center/cover;
}

.hero-side {
    display: grid;
    grid-template-rows: 0.9fr 1.1fr;
    gap: 16px;
}

.hero-small {
    min-height: 190px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
        url("/assets/images/face.jpg") center/cover;
}

.hero-tall {
    min-height: 314px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
        url("/assets/images/kone.png") center/cover;
}

.hero-main::after,
.hero-small::after,
.hero-tall::after,
.section-photo::after,
.gallery-card::after,
.about-visual::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 42%;
    background: linear-gradient(180deg, transparent, rgba(40, 25, 14, 0.56));
}

.hero-label,
.photo-label,
.gallery-label {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 1;
    color: #fff;
}

.hero-label strong,
.photo-label strong,
.gallery-label strong {
    display: block;
    margin-bottom: 4px;
    font-size: 1.05rem;
}

.hero-label span,
.photo-label span,
.gallery-label span {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.92rem;
}

.section {
    padding: 34px 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 22px;
    align-items: start;
}

.content-main {
    display: grid;
    gap: 22px;
}

.content-sidebar {
    position: sticky;
    top: 79px;
    display: grid;
    gap: 18px;
}

.panel,
.info-box,
.animal-card,
.sidebar-card,
.faq-card,
.about-card,
.contact-banner {
    background: rgba(255, 250, 244, 0.78);
    border: 1px solid rgba(53, 38, 27, 0.07);
    box-shadow: 0 18px 36px rgba(73, 48, 24, 0.07);
    border-radius: 28px;
}

.panel,
.sidebar-card,
.faq-card,
.about-card {
    padding: 28px;
}

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

.section-head h2 {
    margin: 0;
    font-size: clamp(1.9rem, 4vw, 3rem);
    line-height: 1;
    letter-spacing: -0.04em;
}

.section-head p {
    margin: 0;
    max-width: 520px;
    color: var(--muted);
}

.animal-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.animal-card {
    overflow: hidden;
    padding: 0;
}

.section-photo {
    position: relative;
    min-height: 240px;
    background-size: cover;
    background-position: center;
}

.photo-goat {
    background-image: url("/assets/images/minikon.png");
}

.photo-rabbit {
    background-image: url("https://images.unsplash.com/photo-1585110396000-c9ffd4e4b308?auto=format&fit=crop&w=900&q=80");
}

.photo-sheep {
    background-image: url("/assets/images/deti.png");
}

.photo-family {
    background-image: url("/assets/images/papagaj.jpg");
}

.animal-body {
    padding: 22px;
}

.animal-body h3 {
    margin: 0 0 8px;
    font-size: 1.2rem;
}

.animal-body p {
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 0.96rem;
}

.mini-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mini-pill {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(201, 214, 122, 0.22);
    color: var(--primary-dark);
    font-size: 0.88rem;
    font-weight: 700;
}

.experience-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 18px;
}

.experience-main {
    min-height: 360px;
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow);
    background: url("/assets/images/horse.png") center/cover;
}

.btn-zoo {
    background: linear-gradient(180deg, #aa7440 0%, #8f6034 100%);
    color: #fff;
    box-shadow: 0 16px 30px rgba(143, 96, 52, 0.24);

    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
    transition:
        transform 250ms ease,
        box-shadow 250ms ease,
        background 250ms ease,
        border-color 250ms ease;
    white-space: nowrap;



}

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

.experience-side {
    display: grid;
    gap: 18px;
}

.info-box {
    padding: 22px;
}

.info-box strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.info-box p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.gallery-card {
    position: relative;
    min-height: 210px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background-size: cover;
    background-position: center;
}

.gallery-card.one {
    background-image: linear-gradient(180deg, rgba(30, 18, 10, 0.08), rgba(30, 18, 10, 0.52)), url("https://images.unsplash.com/photo-1517849845537-4d257902454a?auto=format&fit=crop&w=900&q=80");
}

.gallery-card.two {
    background-image: linear-gradient(180deg, rgba(30, 18, 10, 0.08), rgba(30, 18, 10, 0.52)), url("https://images.unsplash.com/photo-1546182990-dffeafbe841d?auto=format&fit=crop&w=900&q=80");
}

.gallery-card.three {
    background-image: linear-gradient(180deg, rgba(30, 18, 10, 0.08), rgba(30, 18, 10, 0.52)), url("https://images.unsplash.com/photo-1585110396000-c9ffd4e4b308?auto=format&fit=crop&w=900&q=80");
}

.gallery-card.four {
    background-image: linear-gradient(180deg, rgba(30, 18, 10, 0.08), rgba(30, 18, 10, 0.52)), url("https://images.unsplash.com/photo-1500595046743-cd271d694d30?auto=format&fit=crop&w=900&q=80");
}

.sidebar-card h3,
.faq-card h3,
.about-card h3 {
    margin: 0 0 14px;
    font-size: 1.35rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.sidebar-card p,
.faq-card p,
.about-card p {
    margin: 0 0 14px;
    color: var(--muted);
}

.hours-list {
    display: grid;
    gap: 10px;
}

.hours-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(53, 38, 27, 0.08);
    font-size: 0.95rem;
}

.hours-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.hours-row span:first-child {
    color: var(--muted);
    font-weight: 600;
}

.hours-row span:last-child {
    font-weight: 700;
    color: var(--text);
}

.contact-pills,
.faq-list,
.about-list {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

.contact-pill,
.faq-item,
.about-list div {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.38);
    border: 1px solid rgba(53, 38, 27, 0.06);
    color: var(--text) !important;
    font-weight: 600;
}

.faq-item,
.about-list div {
    align-items: flex-start;
}

.contact-pill::before,
.faq-item::before,
.about-list div::before {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(201, 214, 122, 0.22);
    color: var(--primary-dark);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.contact-pill.mail::before {
    content: "📧";
}

.contact-pill.phone::before {
    content: "📞";
}

.contact-pill.place::before {
    content: "📍";
}

.faq-item::before,
.about-list div::before {
    content: "✓";
}

.contact-banner {
    position: relative;
    overflow: hidden;
    padding: 34px;
    background:
        radial-gradient(circle at left top, rgba(201, 214, 122, 0.42), transparent 25%),
        linear-gradient(135deg, #6f4b29 0%, #9a6a3a 55%, #b98549 100%);
    color: #fff;
    box-shadow: 0 26px 60px rgba(73, 48, 24, 0.22);
}

.contact-banner::after {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    right: -120px;
    top: -140px;
    background: rgba(255, 255, 255, 0.08);
}

.contact-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.contact-inner h2 {
    margin: 0 0 12px;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
    max-width: 11ch;
}

.contact-inner p {
    margin: 0;
    max-width: 520px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.02rem;
}

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

.footer {
    padding: 30px 0 50px;
    color: var(--muted);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgba(53, 38, 27, 0.08);
    padding-top: 24px;
}

.footer-nav {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

@media (max-width: 1100px) {
    .page-hero {
        padding: 40px 0 18px;
    }


    .page-hero-grid,
    .content-grid,
    .experience-grid {
        grid-template-columns: 1fr;
    }

    .page-hero-grid {
        gap: 18px;

    }

    .hero-actions {
        justify-content: center;
    }

    .page-hero-copy {
        padding: 0;
    }

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

    .hero-side {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: none;
        gap: 16px;
    }

    .hero-main {
        min-height: 420px;
    }

    .hero-small,
    .hero-tall {
        min-height: 240px;
    }

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

    .gallery-grid,
    .hero-quickinfo {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .content-sidebar {
        position: static;
        top: auto;
    }

    .contact-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-actions {
        margin-top: 8px;
    }

    .quick-card {
        max-width: none;
    }

    .page-hero-visual {
        display: none;
    }
}

@media (max-width: 720px) {


    h1 {
        max-width: 100%;
        font-size: clamp(2.2rem, 9vw, 3.5rem);
        line-height: 1;
    }



    .hero-quickinfo,
    .gallery-grid {
        grid-template-columns: 1fr;
    }




    .hero-side {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .hero-main,
    .hero-small,
    .hero-tall,
    .section-photo,
    .gallery-card,
    .experience-main,
    .about-visual {
        min-height: 240px;
    }

    .section-head,
    .footer-inner,
    .contact-inner {
        flex-direction: column;
        align-items: flex-start;
        align-items: center;
    }

    .panel,
    .sidebar-card,
    .faq-card,
    .about-card,
    .contact-banner {
        padding: 22px;
    }

    .mini-meta {
        justify-content: flex-start;
    }

    .page-hero-visual {
        display: none;
    }
}

@media (max-width: 520px) {
    .eyebrow {
        min-height: 38px;
        padding: 0 14px;
        font-size: 0.9rem;
    }

    .eyebrow h1 {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .section {
        padding: 26px 0;
    }

    .page-hero-visual {
        display: none;
    }

    .hero-quickinfo {
        margin-top: 22px;
        gap: 10px;
    }

    .quick-card {
        padding: 14px;
        border-radius: 18px;
    }

    .animal-body {
        padding: 18px;
    }

    .section-photo,
    .experience-main {
        min-height: 220px;
    }

    .contact-banner {
        padding: 18px;
    }

    .contact-pill,
    .faq-item,
    .about-list div {
        padding: 12px 14px;
        font-size: 0.94rem;
    }

    .contact-inner h2 {
        max-width: 100%;
    }
}