:root {
    --bg: #f6f4ee;
    --surface: rgba(255, 255, 255, 0.72);
    --surface-strong: #ffffff;
    --text: #183126;
    --muted: #5f7468;
    --line: rgba(24, 49, 38, 0.09);
    --primary: #2f7d57;
    --primary-dark: #1d5b3c;
    --accent: #d8e86f;
    --accent-soft: #edf5b7;
    --shadow: 0 20px 60px rgba(28, 57, 42, 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(216, 232, 111, 0.35), transparent 30%),
        radial-gradient(circle at right 20%, rgba(47, 125, 87, 0.12), transparent 25%),
        linear-gradient(180deg, #fbfaf6 0%, #f4f1e8 100%);
    line-height: 1.5;
    overflow-x: hidden;
}

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

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

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

/* HEADER */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(16px);
    background: rgba(246, 244, 238, 0.72);
    border-bottom: 1px solid rgba(24, 49, 38, 0.06);
    transition:
        background 250ms ease,
        box-shadow 250ms ease,
        border-color 250ms ease;
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 14px 34px rgba(24, 49, 38, 0.08);
    border-bottom-color: rgba(24, 49, 38, 0.08);
}

.header-inner {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

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

.brand-logo {
    width: 150px;
    height: auto;
    display: block;
}

.nav {
    display: flex;
    align-items: center;
    gap: 28px;
    color: var(--muted);
    font-weight: 600;
    font-size: 0.95rem;
}

.nav a {
    position: relative;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 220ms ease;
}

.nav a:hover,
.nav a.is-active {
    color: var(--text);
}

.nav a:hover::after,
.nav a.is-active::after {
    transform: scaleX(1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* BUTTONS */
.btn {
    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:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(180deg, #3e9568 0%, #2f7d57 100%);
    color: #fff;
    box-shadow: 0 16px 30px rgba(47, 125, 87, 0.24);
}

.btn-primary:hover {
    box-shadow: 0 20px 34px rgba(47, 125, 87, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(24, 49, 38, 0.08);
    color: var(--text);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: #fff;
}

/* HERO */
.news-hero {
    padding: 54px 0 34px;
}

.news-hero-grid {
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    gap: 28px;
    align-items: center;
}

.news-hero-copy {
    padding: 36px 10px 36px 0;
}

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

.eyebrow::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(180deg, #a3d86d, #2f7d57);
    box-shadow: 0 0 0 6px rgba(47, 125, 87, 0.1);
}

h1 {
    margin: 20px 0 18px;
    font-size: clamp(2.8rem, 6vw, 5.2rem);
    line-height: 0.95;
    letter-spacing: -0.05em;
    max-width: 10ch;
}

.news-hero-copy p {
    margin: 0;
    max-width: 600px;
    font-size: 1.08rem;
    color: var(--muted);
}

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

.news-hero-visual {
    position: relative;
    min-height: 520px;
    perspective: 1000px;
    transition: transform 250ms ease;
}

.news-hero-image {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0)),
        url("/assets/images/fialove.png") center/cover;
    box-shadow: var(--shadow);
    overflow: hidden;
    will-change: transform;
}

.news-hero-image::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 45%;
    background: linear-gradient(180deg, transparent, rgba(19, 31, 24, 0.6));
}

.floating-card {
    position: absolute;
    overflow: hidden;
    background:
        linear-gradient(135deg,
            rgba(255, 255, 255, 0.34) 0%,
            rgba(255, 255, 255, 0.18) 45%,
            rgba(255, 255, 255, 0.10) 100%);
    backdrop-filter: blur(22px) saturate(160%);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.34);
    box-shadow:
        0 20px 50px rgba(20, 43, 32, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.45),
        inset 0 -1px 0 rgba(255, 255, 255, 0.08);
    transition:
        transform 300ms ease,
        box-shadow 300ms ease,
        border-color 300ms ease,
        background 300ms ease;
    will-change: transform;
}

.floating-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg,
            rgba(255, 255, 255, 0.30) 0%,
            rgba(255, 255, 255, 0.10) 28%,
            rgba(255, 255, 255, 0.03) 100%);
    pointer-events: none;
}

.floating-card::after {
    content: "";
    position: absolute;
    width: 160px;
    height: 160px;
    top: -70px;
    right: -50px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 70%);
    pointer-events: none;
}

.floating-card:hover {
    border-color: rgba(255, 255, 255, 0.46);
    box-shadow:
        0 26px 70px rgba(20, 43, 32, 0.20),
        inset 0 1px 0 rgba(255, 255, 255, 0.52),
        inset 0 -1px 0 rgba(255, 255, 255, 0.10);
}

.hero-news-card {
    left: 24px;
    bottom: 24px;
    width: min(320px, calc(100% - 48px));
    padding: 22px;
    border-radius: 26px;
    z-index: 2;
}

.hero-news-card small {
    display: block;
    margin-bottom: 10px;
    color: rgba(12, 30, 21, 0.84);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-news-card strong {
    display: block;
    font-size: 1.3rem;
    line-height: 1.15;
    margin-bottom: 10px;
    color: #0d2219;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.18);
}

.hero-news-card p {
    margin: 0;
    color: rgba(16, 38, 28, 0.78);
    font-size: 0.96rem;
    line-height: 1.6;
    font-weight: 500;
}

/* GENERAL */
.section {
    padding: 48px 0;
}



.news-container {
    max-width: 1080px;
}

/* STATUS */
.news-status {
    padding: 18px 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(24, 49, 38, 0.07);
    box-shadow: 0 12px 28px rgba(24, 49, 38, 0.05);
    color: var(--muted);
    margin-bottom: 24px;
}

.news-status.is-hidden {
    display: none;
}

.news-status.is-error {
    color: #8a2f2f;
    background: rgba(255, 255, 255, 0.78);
    border-color: rgba(138, 47, 47, 0.16);
}

/* NEWS LIST */
.news-list {
    display: grid;
    gap: 0;
}

.news-item {
    display: grid;
    grid-template-columns: minmax(280px, 360px) 1fr;
    gap: 34px;
    align-items: center;
    padding: 34px 0;
    border-top: 1px solid rgba(24, 49, 38, 0.08);
}

.news-item:last-child {
    border-bottom: 1px solid rgba(24, 49, 38, 0.08);
}

.news-item-image {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    aspect-ratio: 16 / 11;
    background: #e9ece5;
    box-shadow: 0 20px 44px rgba(24, 49, 38, 0.08);
}

.news-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

.news-item:hover .news-item-image img {
    transform: scale(1.04);
}

.news-item-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding-right: 10px;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.news-date {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(47, 125, 87, 0.08);
    color: var(--primary-dark);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.news-kicker {
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.news-item h3 {
    margin: 0;
    font-size: clamp(1.7rem, 3.3vw, 2.6rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
    max-width: 16ch;
}

.news-item p {
    margin: 0;
    color: var(--muted);
    font-size: 1.03rem;
    line-height: 1.7;
    max-width: 58ch;
}

/* PAGINATION */
.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 34px;
}

.pagination-button {
    min-width: 46px;
    height: 46px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(24, 49, 38, 0.08);
    background: rgba(255, 255, 255, 0.78);
    color: var(--text);
    font-weight: 700;
    cursor: pointer;
    transition:
        transform 220ms ease,
        box-shadow 220ms ease,
        background 220ms ease,
        border-color 220ms ease;
}

.pagination-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(24, 49, 38, 0.08);
}

.pagination-button.is-active {
    background: linear-gradient(180deg, #3e9568 0%, #2f7d57 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 16px 30px rgba(47, 125, 87, 0.24);
}

.pagination-button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* CONTACT */
.contact-banner {
    position: relative;
    overflow: hidden;
    border-radius: 34px;
    padding: 40px;
    background:
        radial-gradient(circle at left top, rgba(216, 232, 111, 0.65), transparent 25%),
        linear-gradient(135deg, #1f5d3e 0%, #2f7d57 55%, #4ba574 100%);
    color: #fff;
    box-shadow: 0 26px 60px rgba(30, 72, 49, 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-logo-wrap {
    display: inline-flex;
    margin-bottom: 22px;
    padding: 12px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
}

.contact-logo {
    width: 160px;
    height: auto;
}

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

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

.contact-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
}

.contact-pill {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.contact-side {
    min-width: 290px;
    display: grid;
    gap: 14px;
}

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

.contact-hours {
    padding: 20px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
}

.contact-hours strong {
    display: block;
    margin-bottom: 12px;
    font-size: 1.05rem;
}

.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(255, 255, 255, 0.14);
    font-size: 0.95rem;
}

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

.hours-row span:first-child {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

.hours-row span:last-child {
    font-weight: 700;
    color: #fff;
}

/* FOOTER */
.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(24, 49, 38, 0.08);
    padding-top: 24px;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-logo-shell {
    display: inline-flex;
    padding: 12px 16px;
    border-radius: 16px;
    background: linear-gradient(135deg, #1f5d3e 0%, #2f7d57 100%);
}

.footer-logo {
    width: 130px;
    height: auto;
}

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

/* REVEAL */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition:
        opacity 700ms ease,
        transform 700ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 1100px) {
    .news-hero-grid {
        grid-template-columns: 1fr;
    }

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

    .nav {
        display: none;
    }

    .contact-side {
        width: 100%;
    }
}

@media (max-width: 860px) {
    .news-item {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 26px 0;
    }

    .news-item h3 {
        max-width: none;
    }

    .news-item p {
        max-width: none;
    }
}

@media (max-width: 720px) {
    .header-actions .btn-secondary {
        display: none;
    }

    h1 {
        max-width: none;
    }

    .hero-news-card {
        left: 16px;
        right: 16px;
        bottom: 16px;
        width: auto;
    }

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

    .contact-banner {
        padding: 28px;
    }

    .contact-actions {
        width: 100%;
    }

    .brand-logo {
        width: 126px;
    }

    .contact-logo {
        width: 140px;
    }

    .footer-logo {
        width: 110px;
    }

    .news-item h3 {
        font-size: 1.8rem;
    }

    .news-item p {
        font-size: 0.98rem;
        line-height: 1.65;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal,
    .btn,
    .news-item-image img,
    .site-header,
    .nav a::after {
        transition: none !important;
    }
}