/* ==========================================================================
   SUMPG – Savez uzgajivača mesnih pasmina goveda
   Modern design layer loaded after assets/css/style.min.css.
   Sizes use the theme's rem scale (1rem = 100px on a 1440px viewport).
   ========================================================================== */

:root {
    --forest: #1e3a2b;
    --forest-2: #2c5240;
    --forest-dark: #132519;
    --earth: #5a3e2b;
    --gold: #c9a24b;
    --gold-light: #dcbb6e;
    --gold-dark: #9c7a2c;
    --cream: #f6f2e9;
    --sand: #ece4d3;
    --white: #ffffff;
    --ink: #1b1f1c;
    --muted: #5e675f;
    --line: rgba(27, 31, 28, 0.12);
    --radius: 0.18rem;
    --radius-lg: 0.3rem;
    --shadow: 0 0.24rem 0.6rem -0.24rem rgba(19, 37, 25, 0.28);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --font-head: "Fraunces", Georgia, serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --container: 11.4rem;
}

/* ---------- Base ---------- */
html {
    scroll-padding-top: 1rem;
}

/* Keep text and controls at a stable scale across phones, tablets and desktops. */
@media screen and (min-width: 769px) {
    html {
        font-size: 100px;
    }
}

@media screen and (max-width: 768px) {
    html {
        font-size: 100px;
    }
}

body {
    font-family: var(--font-body);
    font-size: 0.17rem;
    line-height: 1.65;
    color: var(--ink);
    background-color: var(--cream);
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

::selection {
    background: var(--gold);
    color: var(--forest-dark);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0.1rem;
    z-index: 300;
    background: var(--gold);
    color: var(--forest-dark);
    padding: 0.1rem 0.16rem;
    border-radius: 0.08rem;
    font-weight: 600;
    text-decoration: none;
}

.skip-link:focus {
    left: 0.1rem;
}

.container.narrow {
    max-width: 8rem;
}

@media screen and (max-width: 768px) {
    body {
        font-size: 0.15rem;
    }

    .container {
        padding-left: 0.2rem;
        padding-right: 0.2rem;
    }
}

/* Mask-reveal only runs on desktop, so never keep those titles hidden on mobile. */
@media screen and (max-width: 768px) {
    [anim-bottom-mask-reveal],
    [anim-fade-up-reveal] {
        visibility: visible;
    }
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5,
.a1, .a2, .a3, .a4, .a5 {
    font-family: var(--font-head);
    font-weight: 600;
    letter-spacing: -0.01em;
    color: inherit;
}

.a5, h1 {
    font-size: 0.72rem;
    line-height: 1.04;
    letter-spacing: -0.02em;
}

.a4, h2 {
    font-size: 0.56rem;
    line-height: 1.08;
    letter-spacing: -0.015em;
}

.a3, h3 {
    font-size: 0.46rem;
    line-height: 1.1;
    letter-spacing: -0.015em;
}

.a2, h4 {
    font-size: 0.32rem;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.a1, h5 {
    font-size: 0.21rem;
    line-height: 1.25;
}

p, .b0, .b-0 {
    font-size: 0.17rem;
    line-height: 1.65;
    letter-spacing: 0;
}

.b1 {
    font-size: 0.18rem;
    line-height: 1.6;
    letter-spacing: 0;
}

.b2, .p-small {
    font-size: 0.15rem;
    line-height: 1.6;
    letter-spacing: 0;
}

.b3 {
    font-size: 0.21rem;
    line-height: 1.5;
}

@media screen and (max-width: 768px) {
    .a5, h1 { font-size: 0.4rem; line-height: 1.08; }
    .a4, h2 { font-size: 0.34rem; line-height: 1.1; }
    .a3, h3 { font-size: 0.3rem; line-height: 1.12; }
    .a2, h4 { font-size: 0.24rem; line-height: 1.2; }
    .a1, h5 { font-size: 0.19rem; line-height: 1.3; }
    p, .b0, .b-0 { font-size: 0.15rem; line-height: 1.65; letter-spacing: 0; }
    .b1 { font-size: 0.16rem; line-height: 1.6; letter-spacing: 0; }
    .b2, .p-small { font-size: 0.14rem; line-height: 1.6; letter-spacing: 0; }
    .b3 { font-size: 0.17rem; }
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.1rem;
    margin-bottom: 0.16rem;
    font-family: var(--font-body);
    font-size: 0.13rem;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-dark);
}

.eyebrow::before {
    content: "";
    width: 0.28rem;
    height: 2px;
    background: currentColor;
}

.eyebrow.light,
section.red .eyebrow,
section.antracit .eyebrow,
section.blue .eyebrow,
section.green .eyebrow {
    color: var(--gold);
}

@media screen and (max-width: 768px) {
    .eyebrow { font-size: 0.12rem; }
}

/* ---------- Icons & buttons ---------- */
.icon {
    width: 1em;
    height: 1em;
    flex-shrink: 0;
}

.icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 0.16rem;
    background: rgba(30, 58, 43, 0.08);
    color: var(--forest);
    transition: background 0.35s var(--ease), color 0.35s var(--ease);
}

.icon-box .icon {
    width: 0.3rem;
    height: 0.3rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.1rem;
    padding: 0.16rem 0.28rem;
    border: 1.5px solid transparent;
    border-radius: 10rem;
    font-family: var(--font-body);
    font-size: 0.15rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.btn .icon {
    width: 0.18rem;
    height: 0.18rem;
    transition: transform 0.3s var(--ease);
}

.btn:hover .icon {
    transform: translateX(3px);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--gold);
    color: var(--forest-dark);
}

.btn-primary:hover {
    background: var(--gold-light);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.45);
    color: var(--white);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.btn-ghost:hover,
.btn-outline:hover {
    background: var(--white);
    border-color: var(--white);
    color: var(--forest);
}

.btn-outline {
    border-color: rgba(255, 255, 255, 0.6);
    color: var(--white);
}

.btn-dark {
    background: var(--forest);
    color: var(--white);
}

.btn-dark:hover {
    background: var(--forest-2);
}

.btn-outline-dark {
    border-color: var(--line);
    color: var(--ink);
}

.btn-outline-dark:hover {
    background: var(--forest);
    border-color: var(--forest);
    color: var(--white);
}

.btn-sm {
    padding: 0.12rem 0.2rem;
    font-size: 0.14rem;
}

@media screen and (max-width: 768px) {
    .btn {
        padding: 0.15rem 0.24rem;
        font-size: 0.15rem;
    }
}

/* ---------- Placeholder (until real photos are uploaded) ---------- */
.sumpg-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 1.6rem;
    color: rgba(201, 162, 75, 0.55);
    background:
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.03) 0 0.1rem, transparent 0.1rem 0.2rem),
        radial-gradient(circle at 30% 20%, #3c6b52, var(--forest) 60%, var(--forest-dark));
}

.sumpg-placeholder .icon {
    width: 28%;
    max-width: 1.4rem;
    height: auto;
    aspect-ratio: 1;
}

.sumpg-placeholder .placeholder-brand {
    display: block;
    flex-shrink: 0;
    width: 1.4rem;
    max-width: 42%;
    aspect-ratio: 1;
    opacity: 0.7;
}

.sumpg-placeholder .placeholder-brand img.placeholder-logo {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: contain;
    border-radius: 0;
}

/* ---------- Header ---------- */
header.header {
    padding: 0.22rem 0;
    color: var(--white);
}

.admin-bar header.header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar header.header {
        top: 46px;
    }
}

.scroll-past-top header.header,
header.header.active {
    padding: 0.14rem 0;
    background: rgba(19, 37, 25, 0.88);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 0.1rem 0.3rem -0.1rem rgba(0, 0, 0, 0.35);
}

header.header.active {
    transform: none;
    background: transparent;
    box-shadow: none;
}

header.header .grid {
    gap: 0.3rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.12rem;
    color: var(--white);
    text-decoration: none;
}

header.header .logo.brand,
footer .logo.brand {
    width: auto;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 0.52rem;
    height: 0.52rem;
    border-radius: 0.14rem;
    background: var(--gold);
    color: var(--forest-dark);
    flex-shrink: 0;
}

.brand-mark .icon {
    width: 0.34rem;
    height: 0.34rem;
}

header.header .logo.brand .brand-logo,
footer.footer .logo.brand .brand-logo {
    display: block;
    width: auto;
    height: 0.8rem;
    max-width: 2.6rem;
    object-fit: contain;
    filter: none;
}

footer.footer .logo.brand .brand-logo {
    height: 0.96rem;
}

@media screen and (max-width: 768px) {
    header.header .logo.brand .brand-logo {
        height: 0.64rem;
        max-width: 1.8rem;
    }
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-text strong {
    font-family: var(--font-head);
    font-size: 0.24rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.brand-text small {
    font-size: 0.105rem;
    line-height: 1.3;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.8;
}

header.header .grid nav.nav {
    margin-left: auto;
}

header.header .grid nav.nav ul.menu-items {
    gap: 0.18rem;
}

header.header .grid nav.nav ul.menu-items .menu-item a {
    font-size: 0.15rem;
    line-height: 1.4;
    font-weight: 500;
    padding: 0.04rem 0;
    opacity: 0.9;
    transition: opacity 0.3s;
}

header.header .grid nav.nav ul.menu-items .menu-item a:hover,
header.header .grid nav.nav ul.menu-items .menu-item.current a {
    opacity: 1;
}

header.header .grid nav.nav ul.menu-items .menu-item a::before {
    bottom: -2px;
    height: 2px;
    background-color: var(--gold);
    transform-origin: left;
}

header.header .grid nav.nav ul.menu-items .menu-item.current a::before {
    transform: scaleX(1);
}

.submenu-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.08rem;
    padding: 0.04rem 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    font-size: 0.15rem;
    line-height: 1.4;
    font-weight: 500;
    cursor: pointer;
}

.document-group + .document-group {
    margin-top: 0.32rem;
}

.document-group h3 {
    margin-bottom: 0.16rem;
}

.document-group,
#povijest,
#o-nama,
.breed[id] {
    scroll-margin-top: 1.2rem;
}

.nav-chevron {
    width: 7px;
    height: 7px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    flex-shrink: 0;
}

.submenu-toggle[aria-expanded="true"] .nav-chevron {
    transform: rotate(225deg);
}

.submenu-toggle:focus-visible,
.nav-submenu a:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 4px;
}

.nav-submenu[hidden] {
    display: none !important;
}

header.header .menu-item {
    position: relative;
}

header.header .grid nav.nav ul.menu-items .nav-submenu {
    position: absolute;
    top: calc(100% + 0.12rem);
    left: -0.16rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 2.65rem;
    padding: 0.08rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 6px;
    background: var(--forest-dark);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
    list-style: none;
}

header.header .grid nav.nav ul.menu-items .nav-submenu a {
    display: block;
    padding: 0.1rem;
    color: var(--white);
    font-size: 0.14rem;
    white-space: normal;
    overflow-wrap: anywhere;
    text-decoration: none;
}

header.header .grid nav.nav ul.menu-items .nav-submenu a::before {
    display: none;
}

header.header .grid nav.nav ul.menu-items .nav-submenu a:hover,
header.header .grid nav.nav ul.menu-items .nav-submenu a:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    color: var(--gold);
}

.dropdown-menu {
    overflow-y: auto;
}

.dropdown-menu .submenu-toggle {
    width: 100%;
    padding: 0.12rem 0;
    font-family: var(--font-head);
    font-size: 0.28rem;
    line-height: 1.2;
    color: var(--white);
}

.dropdown-menu .nav-submenu {
    margin: 0;
    padding: 0 0 0.12rem 0.18rem;
    list-style: none;
}

.dropdown-menu .dropdown-item .nav-submenu a {
    padding: 0.1rem 0;
    font-family: var(--font-body);
    font-size: 0.18rem;
    line-height: 1.4;
}

button.hamburger-btn {
    padding: 0;
    border: 0;
    background: none;
    margin-left: auto;
}

@media screen and (max-width: 768px) {
    header.header {
        padding: 0.14rem 0;
        background: rgba(19, 37, 25, 0.92);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
    }

    header.header .logo.brand {
        width: auto;
    }

    .header-cta {
        display: none;
    }

    .brand-mark {
        width: 0.42rem;
        height: 0.42rem;
        border-radius: 0.12rem;
    }

    .brand-mark .icon {
        width: 0.28rem;
        height: 0.28rem;
    }

    .brand-text strong {
        font-size: 0.2rem;
    }

    .brand-text small {
        font-size: 0.095rem;
    }
}

/* Mobile dropdown */
.dropdown-menu {
    background-color: var(--forest-dark);
}

@media screen and (max-width: 768px) {
    .dropdown-menu {
        background:
            radial-gradient(circle at 100% 0%, rgba(201, 162, 75, 0.18), transparent 50%),
            var(--forest-dark);
    }
}

.dropdown-menu nav.nav {
    padding-top: 1.1rem;
    padding-bottom: 0.4rem;
}

.dropdown-menu nav.nav ul.menu-items {
    align-items: flex-start;
}

.dropdown-menu .dropdown-item {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dropdown-menu .dropdown-item a {
    display: block;
    padding: 0.12rem 0;
    font-family: var(--font-head);
    font-size: 0.28rem;
    line-height: 1.2;
    color: var(--white);
    text-decoration: none;
}

.dropdown-menu .dropdown-item.current a {
    color: var(--gold);
}

.dropdown-contact {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    margin-top: 0.3rem;
}

.dropdown-contact a {
    display: inline-flex;
    align-items: center;
    gap: 0.1rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.dropdown-contact .icon {
    width: 0.18rem;
    height: 0.18rem;
    color: var(--gold);
}

/* ---------- Hero (home) ---------- */
section.hero {
    height: 100vh;
    height: 100svh;
    min-height: 6.4rem;
    background: var(--forest-dark);
    color: var(--white);
    overflow: hidden;
}

section.hero .bg-img {
    overflow: hidden;
}

section.hero .bg-img .sumpg-placeholder {
    height: 100%;
}

section.hero .splide__slide.is-active .bg-img img {
    animation: sumpg-kenburns 9s ease-out forwards;
}

@keyframes sumpg-kenburns {
    from { transform: scale(1.1); }
    to { transform: scale(1); }
}

section.hero .texts {
    align-items: flex-start;
    justify-content: flex-end;
    text-align: left;
    gap: 0;
    padding: 0 max(0.3rem, calc((100% - var(--container)) / 2)) 1.5rem;
    background: linear-gradient(180deg, rgba(19, 37, 25, 0.55) 0%, rgba(19, 37, 25, 0.25) 40%, rgba(19, 37, 25, 0.88) 100%);
    pointer-events: none;
}

section.hero .texts a {
    pointer-events: auto;
}

section.hero .texts .title {
    max-width: 9.2rem;
    margin-bottom: 0.24rem;
    color: var(--white);
}

section.hero .texts .desc {
    max-width: 6.4rem;
    color: rgba(255, 255, 255, 0.88);
}

section.hero .actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.14rem;
    margin-top: 0.36rem;
}

section.hero .splide__pagination {
    bottom: 1.1rem;
    left: auto;
    right: max(0.3rem, calc((100% - var(--container)) / 2));
    padding: 0;
    justify-content: flex-end;
    z-index: 2;
}

section.hero .splide__pagination__page {
    width: 0.1rem;
    height: 0.1rem;
    margin: 0 0.05rem;
    background: rgba(255, 255, 255, 0.45);
    opacity: 1;
}

section.hero .splide__pagination__page.is-active {
    background: var(--gold);
    transform: scale(1.3);
}

section.hero .splide__arrow {
    z-index: 2;
    background: rgba(255, 255, 255, 0.14);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    opacity: 1;
}

section.hero .splide__arrow svg {
    fill: var(--white);
}

@media screen and (max-width: 768px) {
    section.hero {
        min-height: 6rem;
    }

    section.hero .texts {
        padding: 0 0.2rem 1rem;
    }

    section.hero .splide__pagination {
        right: 0.2rem;
        bottom: 0.6rem;
    }
}

/* ---------- Small hero (inner pages) ---------- */
section.small-hero {
    display: flex;
    align-items: flex-end;
    min-height: 4.8rem;
    overflow: hidden;
    text-align: left;
    color: var(--white);
    background: var(--forest-dark);
}

section.small-hero .bg-img {
    z-index: 0;
}

section.small-hero .texts {
    padding: 1.9rem 0 0.7rem;
    background: linear-gradient(180deg, rgba(19, 37, 25, 0.6) 0%, rgba(19, 37, 25, 0.5) 45%, rgba(19, 37, 25, 0.9) 100%);
}

section.small-hero .title {
    max-width: 9rem;
    color: var(--white);
}

section.small-hero .subtitle {
    max-width: 6.6rem;
    margin-top: 0.22rem;
    color: rgba(255, 255, 255, 0.85);
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.08rem;
    margin-bottom: 0.22rem;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumbs a {
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumbs a:hover {
    color: var(--gold);
}

@media screen and (max-width: 768px) {
    section.small-hero {
        min-height: 3.8rem;
    }

    section.small-hero .texts {
        padding: 1.3rem 0 0.5rem;
    }
}

/* ---------- Shared section layout ---------- */
section.about,
section.services,
section.what-we-do,
section.values,
section.organisation,
section.timeline,
section.steps,
section.news,
section.faq,
section.docs,
section.gallery,
section.contact-section,
section.page-body {
    padding: 1.2rem 0;
}

@media screen and (max-width: 768px) {
    section.about,
    section.services,
    section.what-we-do,
    section.values,
    section.organisation,
    section.timeline,
    section.steps,
    section.news,
    section.faq,
    section.docs,
    section.gallery,
    section.contact-section,
    section.page-body {
        padding: 0.7rem 0;
    }
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.4rem;
    margin-bottom: 0.6rem;
}

.section-head.center {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
}

.section-head .title {
    margin: 0;
}

.head-text {
    max-width: 4.6rem;
    color: var(--muted);
}

@media screen and (max-width: 768px) {
    .section-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.2rem;
        margin-bottom: 0.36rem;
    }
}

section.light,
section.timeline.light,
section.steps.light {
    background: var(--cream);
}

/* ---------- Stats ---------- */
section.stats {
    position: relative;
    z-index: 3;
    margin-top: -0.7rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.stat {
    padding: 0.36rem 0.3rem;
    border-right: 1px solid var(--line);
}

.stat:last-child {
    border-right: 0;
}

.stat strong {
    display: block;
    font-family: var(--font-head);
    font-size: 0.56rem;
    line-height: 1;
    font-weight: 600;
    color: var(--forest);
}

.stat i {
    font-style: normal;
}

.stat span {
    display: block;
    margin-top: 0.1rem;
    font-size: 0.14rem;
    line-height: 1.45;
    color: var(--muted);
}

section.stats.dark {
    margin-top: 0;
    padding: 0.9rem 0;
    background: var(--forest);
}

section.stats.dark .stats-grid {
    background: transparent;
    box-shadow: none;
}

section.stats.dark .stat {
    border-color: rgba(255, 255, 255, 0.12);
}

section.stats.dark .stat strong {
    color: var(--gold);
}

section.stats.dark .stat span {
    color: rgba(255, 255, 255, 0.75);
}

@media screen and (max-width: 768px) {
    section.stats {
        margin-top: -0.4rem;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stat {
        padding: 0.24rem 0.2rem;
        border-bottom: 1px solid var(--line);
    }

    .stat:nth-child(2n) {
        border-right: 0;
    }

    .stat strong {
        font-size: 0.4rem;
    }

    section.stats.dark {
        padding: 0.5rem 0;
    }
}

/* ---------- About ---------- */
section.about {
    background-color: var(--cream);
    color: var(--ink);
}

section.about .grid {
    gap: 0.8rem;
}

section.about .grid .column.images {
    width: 5.4rem;
    padding-bottom: 1rem;
}

section.about .grid .column.images .img {
    width: 3.7rem;
    aspect-ratio: 3 / 4;
    border-radius: var(--radius);
    overflow: hidden;
}

section.about .grid .column.images .img img,
section.about .grid .column.images .img .sumpg-placeholder {
    border-radius: 0;
}

section.about .grid .column.images .img:nth-child(2) {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 2.6rem;
    border: 0.08rem solid var(--cream);
    border-radius: calc(var(--radius) + 0.08rem);
}

section.about .badge {
    position: absolute;
    top: 0.5rem;
    right: 0.2rem;
    display: flex;
    align-items: center;
    gap: 0.12rem;
    padding: 0.18rem 0.22rem;
    border-radius: 0.16rem;
    background: var(--gold);
    color: var(--forest-dark);
    font-size: 0.14rem;
    font-weight: 600;
    line-height: 1.3;
    box-shadow: var(--shadow);
}

section.about .badge .icon {
    width: 0.34rem;
    height: 0.34rem;
}

section.about .grid .column.texts {
    width: 5.6rem;
}

section.about .grid .column.texts .desc {
    margin-top: 0.24rem;
    color: var(--ink);
}

.check-list {
    margin: 0.3rem 0 0.4rem;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 0.12rem;
    margin-bottom: 0.12rem;
    font-weight: 500;
}

.check-list .icon {
    width: 0.24rem;
    height: 0.24rem;
    padding: 0.04rem;
    border-radius: 50%;
    background: var(--forest);
    color: var(--gold);
}

@media screen and (max-width: 768px) {
    section.about .grid {
        gap: 0.4rem;
    }

    section.about .grid .column.images {
        width: 100%;
        padding-bottom: 0;
    }

    section.about .grid .column.images .img {
        width: 100%;
    }

    section.about .grid .column.images .img:nth-child(2) {
        display: none;
    }

    section.about .badge {
        top: auto;
        bottom: 0.2rem;
        right: 0.2rem;
    }
}

/* ---------- Breed / service cards ---------- */
section.services {
    background: var(--white);
}

section.services .title {
    margin-bottom: 0;
}

section.services .grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.24rem;
}

section.services .grid.wrap {
    grid-template-columns: repeat(3, 1fr);
}

section.services .grid .card {
    width: auto;
    padding-bottom: 0.26rem;
    background-color: var(--cream);
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: none;
    transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

section.services .grid .card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

section.services .grid .card .card-img {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: 0;
}

section.services .grid .card .card-img img,
section.services .grid .card .card-img .sumpg-placeholder {
    transition: transform 0.7s var(--ease);
}

section.services .grid .card:hover .card-img img,
section.services .grid .card:hover .card-img .sumpg-placeholder {
    transform: scale(1.06);
}

.tag {
    position: absolute;
    top: 0.14rem;
    left: 0.14rem;
    padding: 0.05rem 0.12rem;
    border-radius: 10rem;
    background: rgba(255, 255, 255, 0.92);
    color: var(--forest);
    font-size: 0.12rem;
    font-weight: 600;
    line-height: 1.4;
}

section.services .grid .card .card-title {
    margin: 0.22rem 0 0.1rem;
    padding: 0 0.22rem;
}

section.services .grid .card .card-content {
    padding: 0 0.22rem;
    color: var(--muted);
}

section.services .grid .card .link,
.news-card .link {
    display: inline-flex;
    align-items: center;
    gap: 0.08rem;
    margin-top: 0.18rem;
    padding: 0 0.22rem;
    font-weight: 600;
    color: var(--forest);
}

.link .icon {
    width: 0.16rem;
    height: 0.16rem;
    transition: transform 0.3s var(--ease);
}

a:hover .link .icon {
    transform: translateX(4px);
}

@media screen and (max-width: 768px) {
    section.services .grid,
    section.services .grid.wrap {
        grid-template-columns: 1fr;
    }
}

/* ---------- Feature grid ---------- */
section.what-we-do {
    background: var(--cream);
}

section.values {
    background: var(--white);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.24rem;
}

.feature {
    padding: 0.4rem 0.34rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s;
}

section.values .feature {
    background: var(--cream);
}

.feature:hover {
    transform: translateY(-4px);
    border-color: transparent;
    box-shadow: var(--shadow);
}

.feature:hover .icon-box {
    background: var(--forest);
    color: var(--gold);
}

.feature h3 {
    margin: 0.26rem 0 0.1rem;
}

.feature p {
    color: var(--muted);
}

@media screen and (max-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 0.16rem;
    }

    .feature {
        padding: 0.28rem 0.24rem;
    }
}

/* ---------- CTA band ---------- */
section.cta-band {
    padding: 1rem 0;
    background: var(--white);
}

section.what-we-do + section.cta-band,
section.timeline + section.cta-band,
section.gallery + section.cta-band,
section.organisation + section.cta-band {
    background: var(--cream);
}

.cta-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.8rem;
    border-radius: var(--radius-lg);
    background: var(--forest);
    color: var(--white);
    overflow: hidden;
    isolation: isolate;
}

.cta-box::after {
    content: "";
    position: absolute;
    top: -2rem;
    right: -1rem;
    width: 4.4rem;
    height: 4.4rem;
    background: radial-gradient(circle, rgba(201, 162, 75, 0.35), transparent 70%);
    z-index: -1;
}

.cta-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    opacity: 0.22;
}

.cta-bg img,
.cta-bg .sumpg-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cta-text {
    max-width: 6rem;
}

.cta-text .title {
    margin: 0 0 0.16rem;
    color: var(--white);
}

.cta-text p {
    color: rgba(255, 255, 255, 0.8);
}

.cta-box .eyebrow {
    color: var(--gold);
}

.cta-box .actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.14rem;
}

@media screen and (max-width: 768px) {
    section.cta-band {
        padding: 0.6rem 0;
    }

    .cta-box {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.5rem 0.3rem;
    }
}

/* ---------- News ---------- */
section.news {
    background: var(--white);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.3rem;
}

.news-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--cream);
    color: var(--ink);
    text-decoration: none;
    transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.news-img {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.news-img img,
.news-img .sumpg-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s var(--ease);
}

.news-card:hover .news-img img {
    transform: scale(1.05);
}

.news-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 0.26rem 0.26rem 0.3rem;
}

.news-date {
    font-size: 0.12rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold-dark);
}

.news-card h3 {
    margin: 0.1rem 0 0.12rem;
    font-size: 0.22rem;
    line-height: 1.25;
}

.news-card p {
    flex: 1;
    font-size: 0.15rem;
    color: var(--muted);
}

.news-card .link {
    padding: 0;
}

.empty-state {
    padding: 0.6rem 0.3rem;
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    color: var(--muted);
    text-align: center;
}

.empty-state .icon {
    display: block;
    width: 0.5rem;
    height: 0.5rem;
    margin: 0 auto 0.14rem;
    color: var(--gold);
}

.pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.08rem;
    margin-top: 0.5rem;
}

.pagination .page-numbers {
    padding: 0.08rem 0.16rem;
    border: 1px solid var(--line);
    border-radius: 10rem;
    color: var(--ink);
    text-decoration: none;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background: var(--forest);
    border-color: var(--forest);
    color: var(--white);
}

@media screen and (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- Image + text sections ---------- */
section.image-text {
    padding: 1.2rem 0;
    background: var(--white);
    color: var(--ink);
}

section.image-text.light,
section.image-text.light-gray {
    background: var(--cream);
}

section.red,
section.image-text.red {
    background-color: var(--forest);
    color: var(--white);
}

section.antracit,
section.image-text.antracit {
    background-color: var(--forest-dark);
    color: var(--white);
}

section.light-gray,
section.image-text.light-gray {
    background-color: var(--sand);
    color: var(--ink);
}

section.blue,
section.image-text.blue {
    background-color: var(--earth);
    color: var(--white);
}

section.green,
section.image-text.green {
    background-color: var(--forest-2);
    color: var(--white);
}

section.image-text .grid {
    align-items: center;
    gap: 0.8rem;
}

section.image-text .grid a {
    color: var(--forest);
}

section.image-text.red .grid a,
section.image-text.antracit .grid a,
section.image-text.blue .grid a,
section.image-text.green .grid a {
    color: var(--gold-light);
}

section.image-text .grid .column.img-column {
    width: 5rem;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-lg);
    flex-shrink: 0;
}

section.image-text .grid .column.img-column:empty {
    display: none;
}

section.image-text .grid .column.text-column {
    width: 5.6rem;
}

section.image-text .grid .column.text-column .title {
    margin-bottom: 0.24rem;
}

section.image-text .grid .column.text-column p,
section.image-text .grid .column.text-column ul li {
    font-size: 0.17rem;
    line-height: 1.7;
    letter-spacing: 0;
}

section.image-text .grid .column.text-column .content {
    opacity: 0.92;
}

section.image-text .grid .column.text-column p + * {
    margin-top: 0.16rem;
}

section.image-text .grid .column.text-column ul {
    list-style: none;
    padding-left: 0;
}

section.image-text .grid .column.text-column ul li {
    position: relative;
    padding-left: 0.3rem;
    margin-bottom: 0.08rem;
}

section.image-text .grid .column.text-column ul li::before {
    content: "";
    position: absolute;
    left: 0.04rem;
    top: 0.1rem;
    width: 0.1rem;
    height: 0.1rem;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 0.05rem rgba(201, 162, 75, 0.22);
}

section.image-text .grid .column.text-column ul.pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.1rem;
    margin-top: 0.26rem;
}

section.image-text .grid .column.text-column ul.pill-list li {
    display: inline-flex;
    align-items: center;
    gap: 0.06rem;
    margin: 0;
    padding: 0.07rem 0.16rem 0.07rem 0.12rem;
    border-radius: 10rem;
    background: rgba(30, 58, 43, 0.08);
    color: var(--forest);
    font-size: 0.14rem;
    font-weight: 600;
    line-height: 1.4;
}

section.image-text .grid .column.text-column ul.pill-list li::before {
    display: none;
}

.pill-list .icon {
    width: 0.16rem;
    height: 0.16rem;
}

section.image-text.texts-only .grid {
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0.4rem;
}

section.image-text.texts-only .column.text-column {
    width: calc(50% - 0.2rem);
    padding: 0.5rem;
    border-radius: var(--radius);
    background: var(--cream);
}

section.image-text.texts-only .grid.center .column.text-column {
    width: 7.4rem;
    text-align: left;
}

@media screen and (max-width: 768px) {
    section.image-text {
        padding: 0.7rem 0;
    }

    section.image-text .grid {
        gap: 0.3rem;
    }

    section.image-text .grid .column.img-column {
        aspect-ratio: 4 / 3;
    }

    section.image-text .grid .column.text-column p,
    section.image-text .grid .column.text-column ul li {
        font-size: 0.15rem;
    }

    section.image-text.texts-only .column.text-column,
    section.image-text.texts-only .grid.center .column.text-column {
        width: 100%;
        padding: 0.3rem 0.24rem;
    }
}

/* Breed quick nav */
section.breed-nav {
    padding: 0.2rem 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
}

.chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.1rem;
}

.chips a {
    display: inline-block;
    padding: 0.08rem 0.2rem;
    border: 1px solid var(--line);
    border-radius: 10rem;
    font-size: 0.14rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.chips a:hover {
    background: var(--forest);
    border-color: var(--forest);
    color: var(--white);
}

/* ---------- Color cards (breeds in programme) ---------- */
section.color-cards .title-desc .desc {
    color: var(--muted);
}

section.color-cards .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.24rem;
}

section.color-cards .grid .card {
    width: auto;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--white);
    color: var(--ink);
    text-decoration: none;
    transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

section.color-cards .grid .card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

section.color-cards .grid .card .img-wrap {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

section.color-cards .grid .card .text {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.1rem;
    margin: 0;
    padding: 0.18rem 0.22rem;
}

section.color-cards .grid .card .text strong {
    font-family: var(--font-head);
    font-size: 0.2rem;
    font-weight: 600;
}

section.color-cards .grid .card .text span {
    color: var(--muted);
    font-size: 0.13rem;
}

@media screen and (max-width: 768px) {
    section.color-cards .grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.12rem;
    }

    section.color-cards .grid .card .text {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.12rem 0.14rem;
    }

    section.color-cards .grid .card .text strong {
        font-size: 0.16rem;
    }
}

/* ---------- Certificates / partners ---------- */
section.certificates {
    background: var(--white);
    color: var(--ink);
    text-align: center;
}

section.certificates .title {
    margin-bottom: 0.14rem;
}

section.certificates .desc {
    max-width: 6rem;
    margin: 0 auto 0.4rem;
    color: var(--muted);
}

section.certificates .logos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.2rem;
}

.logo-box {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 1.2rem;
    padding: 0.2rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--cream);
    color: var(--muted);
    font-weight: 600;
}

section.certificates .logos .logo-box img {
    max-width: 100%;
    max-height: 0.8rem;
    object-fit: contain;
}

/* ---------- Homepage partners loop ---------- */
section.partners-strip {
    overflow: hidden;
    padding: 0.55rem 0 0.7rem;
    background: var(--white);
    color: var(--ink);
}

.partners-heading {
    max-width: 7rem;
    margin: 0 auto 0.32rem;
    text-align: center;
}

.partners-heading .title {
    margin: 0;
    font-size: clamp(0.26rem, 2.4vw, 0.42rem);
}

.partners-marquee {
    overflow: hidden;
    width: 100%;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.partners-track {
    display: flex;
    width: max-content;
    animation: partners-loop 28s linear infinite;
}

.partners-marquee:hover .partners-track,
.partners-marquee:focus-within .partners-track {
    animation-play-state: paused;
}

.partner-logo {
    display: flex;
    flex: 0 0 clamp(2.4rem, 21vw, 3.8rem);
    align-items: center;
    justify-content: center;
    height: 1.15rem;
    margin-right: 0.18rem;
    padding: 0.16rem 0.28rem;
    border-bottom: 1px solid var(--line);
    color: inherit;
    text-decoration: none;
    transition: opacity 180ms ease, border-color 180ms ease;
}

.partner-logo:hover,
.partner-logo:focus-visible {
    border-color: var(--ink);
    opacity: 0.72;
}

.partner-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.partner-logo__fallback {
    max-width: 2.7rem;
    color: var(--ink);
    font-size: 0.14rem;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
}

@keyframes partners-loop {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-50% - 0.09rem)); }
}

@media screen and (max-width: 768px) {
    section.certificates .logos {
        grid-template-columns: 1fr 1fr;
        gap: 0.12rem;
    }

    .logo-box {
        height: 0.9rem;
    }

    section.partners-strip {
        padding: 0.42rem 0 0.5rem;
    }

    .partner-logo {
        flex-basis: 2.15rem;
        height: 0.9rem;
    }

    .partner-logo__fallback {
        font-size: 0.11rem;
    }
}

/* ---------- FAQ ---------- */
section.faq {
    background: var(--white);
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 0.8rem;
    align-items: start;
}

.faq-intro p {
    margin: 0.16rem 0 0.3rem;
    color: var(--muted);
}

.faq-list details {
    padding: 0.22rem 0;
    border-bottom: 1px solid var(--line);
}

.faq-list details:first-child {
    border-top: 1px solid var(--line);
}

.faq-list summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.2rem;
    font-family: var(--font-head);
    font-size: 0.21rem;
    font-weight: 600;
    line-height: 1.3;
    list-style: none;
    cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: "+";
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 0.36rem;
    height: 0.36rem;
    border-radius: 50%;
    background: var(--cream);
    color: var(--forest);
    font-family: var(--font-body);
    font-size: 0.22rem;
    font-weight: 400;
    transition: background 0.3s, color 0.3s, transform 0.3s var(--ease);
}

.faq-list details[open] summary::after {
    content: "\2212";
    background: var(--forest);
    color: var(--white);
}

.faq-list .answer {
    padding-top: 0.14rem;
    padding-right: 0.5rem;
    color: var(--muted);
    font-size: 0.16rem;
    line-height: 1.7;
}

@media screen and (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 0.4rem;
    }

    .faq-list summary {
        font-size: 0.17rem;
    }

    .faq-list .answer {
        padding-right: 0;
        font-size: 0.15rem;
    }
}

/* ---------- Organisation / steps / timeline ---------- */
section.organisation {
    background: var(--cream);
}

.org-grid,
.steps-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.24rem;
}

.org-card,
.steps-list li {
    padding: 0.36rem 0.3rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.org-card .num {
    display: block;
    font-family: var(--font-head);
    font-size: 0.4rem;
    line-height: 1;
    color: var(--gold);
}

.org-card h3,
.steps-list h3 {
    margin: 0.2rem 0 0.1rem;
}

.org-card p,
.steps-list p,
.timeline-list p {
    color: var(--muted);
}

.steps-list .num {
    display: grid;
    place-items: center;
    width: 0.54rem;
    height: 0.54rem;
    border-radius: 50%;
    background: var(--forest);
    color: var(--gold);
    font-family: var(--font-head);
    font-size: 0.24rem;
    font-weight: 600;
}

.timeline-list {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.3rem;
}

.timeline-list::before {
    content: "";
    position: absolute;
    top: 0.15rem;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--line);
}

.timeline-list li {
    position: relative;
    padding-top: 0.5rem;
}

.timeline-list li::before {
    content: "";
    position: absolute;
    top: 0.06rem;
    left: 0;
    width: 0.2rem;
    height: 0.2rem;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 0.06rem rgba(201, 162, 75, 0.22);
}

.timeline-list .season {
    font-size: 0.12rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-dark);
}

.timeline-list h3 {
    margin: 0.08rem 0;
}

@media screen and (max-width: 768px) {
    .org-grid,
    .steps-list {
        grid-template-columns: 1fr;
        gap: 0.16rem;
    }

    .org-card,
    .steps-list li {
        padding: 0.28rem 0.24rem;
    }

    .timeline-list {
        grid-template-columns: 1fr;
        gap: 0.3rem;
    }

    .timeline-list::before {
        top: 0;
        bottom: 0;
        left: 0.09rem;
        right: auto;
        width: 2px;
        height: auto;
    }

    .timeline-list li {
        padding-top: 0;
        padding-left: 0.46rem;
    }

    .timeline-list li::before {
        top: 0.02rem;
    }
}

/* ---------- Contact ---------- */
section.contact-section {
    background: var(--cream);
}

section.contact-section .grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
    align-items: stretch;
}

section.contact-section .grid .form {
    width: auto;
    gap: 0;
}

section.contact-section .title {
    margin: 0;
}

section.contact-section .intro {
    margin: 0.16rem 0 0.26rem;
    color: var(--muted);
}

.contact-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.16rem 0.36rem;
    margin-bottom: 0.34rem;
}

.contact-list a {
    display: inline-flex;
    align-items: center;
    gap: 0.12rem;
    color: var(--ink);
    font-weight: 600;
    text-decoration: none;
}

.contact-list .icon-box {
    width: 0.48rem;
    height: 0.48rem;
    border-radius: 50%;
}

.contact-list .icon-box .icon {
    width: 0.22rem;
    height: 0.22rem;
}

.contact-list a:hover .icon-box {
    background: var(--forest);
    color: var(--gold);
}

section.contact-section .grid .form form p {
    margin-bottom: 0.14rem;
}

section.contact-section .grid .form form label {
    display: block;
    font-size: 0.14rem;
    line-height: 1.4;
    font-weight: 500;
    color: var(--ink);
}

section.contact-section .grid .form form input,
section.contact-section .grid .form form textarea,
section.contact-section .grid .form form select {
    width: 100%;
    margin-top: 0.06rem;
    padding: 0.14rem 0.18rem;
    border: 1px solid var(--line);
    border-radius: 0.12rem;
    background-color: var(--white);
    color: var(--ink);
    font-family: inherit;
    font-size: 0.15rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

section.contact-section .grid .form form textarea {
    min-height: 1.4rem;
    max-height: 3rem;
    resize: vertical;
}

section.contact-section .grid .form form input:focus,
section.contact-section .grid .form form textarea:focus {
    outline: none;
    border-color: var(--forest);
    box-shadow: 0 0 0 3px rgba(30, 58, 43, 0.12);
}

section.contact-section .grid .form form input[type=checkbox],
section.contact-section .grid .form form input[type=radio] {
    width: auto;
    margin-right: 0.08rem;
}

section.contact-section .grid .form form input[type=submit] {
    width: auto;
    padding: 0.16rem 0.36rem;
    border: 0;
    border-radius: 10rem;
    background-color: var(--forest);
    color: var(--white);
    font-size: 0.15rem;
    font-weight: 600;
    cursor: pointer;
}

section.contact-section .grid .form form input[type=submit]:hover {
    background-color: var(--forest-2);
}

.wpcf7-not-valid-tip {
    margin-top: 0.04rem;
    font-size: 0.13rem;
    color: #b3261e;
}

.wpcf7 form .wpcf7-response-output {
    margin: 0.2rem 0 0;
    padding: 0.12rem 0.16rem;
    border-radius: 0.12rem;
    font-size: 0.14rem;
}

section.contact-section .grid .maps {
    width: auto;
    min-height: 5rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

section.contact-section .grid .maps iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 5rem;
    border: 0;
    filter: saturate(0.8);
}

@media screen and (max-width: 768px) {
    section.contact-section .grid {
        grid-template-columns: 1fr;
        gap: 0.4rem;
    }

    section.contact-section .grid .maps,
    section.contact-section .grid .maps iframe {
        min-height: 3.2rem;
        aspect-ratio: auto;
    }
}

/* Contact info cards */
section.info-cards {
    padding: 1rem 0 0.2rem;
    background: var(--cream);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.2rem;
}

.info-card {
    display: flex;
    flex-direction: column;
    gap: 0.06rem;
    padding: 0.32rem 0.28rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--ink);
    text-decoration: none;
    transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

a.info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

a.info-card:hover .icon-box {
    background: var(--forest);
    color: var(--gold);
}

.info-card .label {
    margin-top: 0.16rem;
    font-size: 0.12rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

.info-card strong {
    font-size: 0.17rem;
    font-weight: 600;
    line-height: 1.4;
    word-break: break-word;
}

section.info-cards .page-content {
    margin-top: 0.5rem;
}

@media screen and (max-width: 768px) {
    section.info-cards {
        padding: 0.6rem 0 0;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 0.12rem;
    }
}

/* ---------- Documents ---------- */
section.docs {
    background: var(--cream);
}

.docs-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 0.8rem;
    align-items: start;
}

.docs-intro p {
    margin: 0.16rem 0;
    color: var(--muted);
}

.doc-list {
    display: flex;
    flex-direction: column;
    gap: 0.14rem;
}

.doc {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.2rem 0.24rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--ink);
    text-decoration: none;
    transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}

.doc:hover {
    transform: translateX(4px);
    border-color: var(--forest);
    box-shadow: var(--shadow);
}

.doc-text {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.doc-text strong {
    font-size: 0.17rem;
    font-weight: 600;
    line-height: 1.35;
}

.doc-text small {
    margin-top: 0.03rem;
    font-size: 0.13rem;
    color: var(--muted);
}

.doc-action {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 0.44rem;
    height: 0.44rem;
    border-radius: 50%;
    background: var(--cream);
    color: var(--forest);
    transition: background 0.3s, color 0.3s;
}

.doc-action .icon {
    width: 0.2rem;
    height: 0.2rem;
}

.doc:hover .doc-action {
    background: var(--forest);
    color: var(--white);
}

@media screen and (max-width: 768px) {
    .docs-grid {
        grid-template-columns: 1fr;
        gap: 0.36rem;
    }

    .doc {
        gap: 0.14rem;
        padding: 0.16rem;
    }

    .doc .icon-box {
        width: 0.46rem;
        height: 0.46rem;
    }

    .doc-text strong {
        font-size: 0.15rem;
    }
}

/* ---------- Gallery ---------- */
section.gallery {
    background: var(--cream);
}

.gallery-intro {
    max-width: 7rem;
    margin: 0 auto 0.5rem;
    text-align: center;
    color: var(--muted);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 2.6rem;
    grid-auto-flow: dense;
    gap: 0.16rem;
}

.gallery-item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 0.16rem;
}

.gallery-item:nth-child(6n + 1) {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item img,
.gallery-item .sumpg-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s var(--ease);
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-item .zoom {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(19, 37, 25, 0.45);
    color: var(--white);
    opacity: 0;
    transition: opacity 0.4s;
}

.gallery-item .zoom .icon {
    width: 0.44rem;
    height: 0.44rem;
}

.gallery-item:hover .zoom,
.gallery-item:focus-visible .zoom {
    opacity: 1;
}

.admin-hint {
    margin-top: 0.3rem;
    color: var(--muted);
    text-align: center;
}

@media screen and (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 1.6rem;
        gap: 0.1rem;
    }
}

/* Lightbox */
.sumpg-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 18, 13, 0.94);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s, visibility 0.35s;
}

.sumpg-lightbox.open {
    opacity: 1;
    visibility: visible;
}

.sumpg-lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 0.12rem;
    box-shadow: 0 0.3rem 0.8rem rgba(0, 0, 0, 0.5);
}

.sumpg-lightbox button {
    position: absolute;
    display: grid;
    place-items: center;
    width: 0.56rem;
    height: 0.56rem;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    font-size: 0.26rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.3s;
}

.sumpg-lightbox button:hover {
    background: var(--gold);
    color: var(--forest-dark);
}

.sumpg-lightbox button[hidden] {
    display: none;
}

.sumpg-lightbox .lb-close { top: 0.3rem; right: 0.3rem; }
.sumpg-lightbox .lb-prev { left: 0.3rem; top: 50%; transform: translateY(-50%); }
.sumpg-lightbox .lb-next { right: 0.3rem; top: 50%; transform: translateY(-50%); }

@media screen and (max-width: 768px) {
    .sumpg-lightbox .lb-prev,
    .sumpg-lightbox .lb-next {
        top: auto;
        bottom: 0.3rem;
        transform: none;
    }
}

/* ---------- Generic page content ---------- */
section.page-body {
    background: var(--white);
}

.entry-content,
.page-content {
    color: var(--ink);
}

.entry-content {
    font-size: 0.17rem;
    line-height: 1.75;
}

.entry-content > * + * {
    margin-top: 0.2rem;
}

.entry-content h2 { font-size: 0.38rem; margin-top: 0.5rem; }
.entry-content h3 { font-size: 0.3rem; margin-top: 0.4rem; }
.entry-content h4 { font-size: 0.24rem; margin-top: 0.3rem; }

.entry-content ul,
.page-content ul {
    list-style: disc;
    padding-left: 0.24rem;
}

.entry-content ol,
.page-content ol {
    list-style: decimal;
    padding-left: 0.24rem;
}

.entry-content li + li {
    margin-top: 0.06rem;
}

.entry-content a,
.page-content a {
    color: var(--forest);
    font-weight: 500;
    text-underline-offset: 3px;
}

.entry-content img {
    border-radius: 0.16rem;
    height: auto;
}

.entry-content blockquote {
    padding-left: 0.24rem;
    border-left: 3px solid var(--gold);
    font-family: var(--font-head);
    font-size: 0.22rem;
    font-style: italic;
}

.page-content p + p {
    margin-top: 0.14rem;
}

.post-nav {
    display: flex;
    justify-content: space-between;
    gap: 0.2rem;
    margin-top: 0.6rem;
    padding-top: 0.3rem;
    border-top: 1px solid var(--line);
}

.post-nav a {
    color: var(--forest);
    font-weight: 600;
    text-decoration: none;
}

@media screen and (max-width: 768px) {
    .entry-content {
        font-size: 0.15rem;
    }

    .entry-content h2 { font-size: 0.28rem; }
    .entry-content h3 { font-size: 0.23rem; }
    .entry-content h4 { font-size: 0.2rem; }
}

/* ---------- 404 ---------- */
section.error-404 {
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: 1.6rem 0 1rem;
    text-align: center;
    color: var(--white);
    background:
        radial-gradient(circle at 50% 30%, rgba(201, 162, 75, 0.18), transparent 55%),
        var(--forest-dark);
}

section.error-404 .container {
    width: 100%;
}

section.error-404 .code {
    display: block;
    font-family: var(--font-head);
    font-size: 2.4rem;
    line-height: 1;
    font-weight: 700;
    color: var(--gold);
}

section.error-404 .title {
    margin: 0.1rem 0 0.16rem;
}

section.error-404 p {
    max-width: 5.6rem;
    margin: 0 auto 0.4rem;
    color: rgba(255, 255, 255, 0.75);
}

section.error-404 .actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.14rem;
}

@media screen and (max-width: 768px) {
    section.error-404 .code {
        font-size: 1.4rem;
    }
}

/* ---------- Footer ---------- */
footer.footer {
    padding: 1.1rem 0 0.4rem;
    background: var(--forest-dark);
    color: rgba(255, 255, 255, 0.75);
}

footer.footer .grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
    gap: 0.5rem;
}

footer.footer .logo-wrap {
    max-width: none;
}

footer.footer .logo-wrap .logo-desc {
    max-width: 3.4rem;
    margin-top: 0.24rem;
    color: rgba(255, 255, 255, 0.7);
}

footer.footer .socials {
    display: flex;
    gap: 0.1rem;
    margin-top: 0.26rem;
}

footer.footer .socials a {
    display: grid;
    place-items: center;
    width: 0.44rem;
    height: 0.44rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--white);
    transition: background 0.3s, color 0.3s, border-color 0.3s;
}

footer.footer .socials a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--forest-dark);
}

footer.footer .socials .icon {
    width: 0.2rem;
    height: 0.2rem;
}

footer.footer .grid .column-title {
    margin-bottom: 0.22rem;
    font-family: var(--font-head);
    font-size: 0.2rem;
    font-weight: 600;
    color: var(--white);
}

footer.footer .grid .menu-items ul li a,
footer.footer .grid .menu-items ul li .contact-item {
    margin-bottom: 0.1rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.15rem;
    line-height: 1.5;
    text-decoration: none;
    transition: color 0.3s;
}

footer.footer .grid .menu-items ul li a:hover {
    color: var(--gold);
}

footer.footer .grid .menu-items ul li .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.12rem;
}

footer.footer .grid .menu-items ul li svg {
    width: 0.2rem;
    height: 0.2rem;
    margin-top: 0.02rem;
    color: var(--gold);
    flex-shrink: 0;
}

footer.footer .grid .menu-items ul li a svg path,
footer.footer .grid .menu-items ul li .contact-item svg path {
    fill: none;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 0.2rem;
    margin-top: 0.8rem;
    padding-top: 0.3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.55);
}

.footer-bottom a {
    text-decoration: none;
    transition: color 0.3s;
}

.footer-bottom a:hover {
    color: var(--gold);
}

@media screen and (max-width: 768px) {
    footer.footer {
        padding: 0.7rem 0 0.3rem;
    }

    footer.footer .grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.36rem 0.2rem;
    }

    footer.footer .logo-wrap,
    footer.footer .contact-column {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column;
        margin-top: 0.5rem;
    }
}

/* ---------- Tablet (769px – 1199px) ---------- */
@media screen and (min-width: 769px) and (max-width: 1199px) {
    .container {
        padding-left: 0.3rem;
        padding-right: 0.3rem;
    }

    section.faq .faq-grid,
    .docs-grid {
        gap: 0.5rem;
    }

    section.contact-section .grid {
        gap: 0.4rem;
    }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
    /* Desktop nav doesn't fit, so tablets use the mobile dropdown. */
    header.header .grid nav.nav {
        display: none;
    }

    header.header .header-cta {
        margin-left: auto;
    }

    header.header .hamburger-btn {
        display: block;
        margin-left: 0;
        transform: scale(1.25);
    }

    .dropdown-menu {
        display: block;
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100%;
        z-index: 99;
        transition: 300ms ease;
        background:
            radial-gradient(circle at 100% 0%, rgba(201, 162, 75, 0.18), transparent 50%),
            var(--forest-dark);
    }

    section.hero .splide__arrow {
        display: none;
    }

    section.about .grid {
        gap: 0.5rem;
    }

    section.about .grid .column.images {
        width: 46%;
        flex-shrink: 0;
        padding-bottom: 0.8rem;
    }

    section.about .grid .column.images .img {
        width: 78%;
    }

    section.about .grid .column.images .img:nth-child(2) {
        width: 55%;
    }

    section.about .badge {
        top: 0.3rem;
        right: 0;
    }

    section.about .grid .column.texts {
        width: auto;
        flex: 1;
    }

    section.image-text .grid {
        gap: 0.5rem;
    }

    section.image-text .grid .column.img-column {
        width: 42%;
    }

    section.image-text .grid .column.text-column {
        width: auto;
        flex: 1;
    }

    section.image-text.texts-only .column.text-column {
        flex: none;
        width: calc(50% - 0.2rem);
        padding: 0.36rem;
    }

    section.image-text.texts-only .grid.center .column.text-column {
        width: 100%;
    }

    section.services .grid,
    section.services .grid.wrap,
    .feature-grid,
    .org-grid,
    .steps-list,
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline-list {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 0.5rem;
    }

    .timeline-list::before {
        display: none;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 2.2rem;
    }

    .cta-box {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.6rem 0.5rem;
    }

    .cta-text {
        max-width: none;
    }

    footer.footer .grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem 0.4rem;
    }
}

/* ---------- Large phones / small tablets (561px – 768px) ---------- */
@media screen and (min-width: 561px) and (max-width: 768px) {
    section.services .grid,
    section.services .grid.wrap,
    .news-grid,
    .feature-grid,
    .org-grid,
    .steps-list,
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    section.color-cards .grid {
        grid-template-columns: repeat(3, 1fr);
    }

    section.about .grid .column.images .img {
        aspect-ratio: 4 / 3;
    }

    section.image-text .grid .column.img-column {
        aspect-ratio: 16 / 10;
    }
}

/* ---------- Responsive content safeguards ---------- */
.container {
    box-sizing: border-box;
    width: 100%;
    max-width: 1200px;
}

.grid > *,
.feature-grid > *,
.news-grid > *,
.org-grid > *,
.steps-list > *,
.timeline-list > *,
.info-grid > *,
.section-head > *,
.faq-grid > *,
.docs-grid > *,
.doc-text,
.cta-text,
.contact-list a,
.contact-item > span,
.post-nav > * {
    min-width: 0;
}

h1, h2, h3, h4, h5,
.title,
.doc-text,
.entry-content,
.page-content,
.feature,
.news-card,
.org-card,
.steps-list li,
.timeline-list li,
.info-card,
.logo-box,
.contact-list a,
.dropdown-contact a,
footer.footer {
    overflow-wrap: anywhere;
}

.entry-content img,
.page-content img,
.entry-content video,
.page-content video,
.entry-content iframe,
.page-content iframe {
    max-width: 100%;
}

.entry-content pre,
.page-content pre,
.entry-content .wp-block-table,
.page-content .wp-block-table {
    max-width: 100%;
    overflow-x: auto;
}

.entry-content table,
.page-content table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
}

.entry-content video,
.page-content video,
.page-content img {
    height: auto;
}

.entry-content .alignleft,
.entry-content .alignright,
.page-content .alignleft,
.page-content .alignright {
    max-width: 100%;
}

.btn {
    max-width: 100%;
    min-height: 44px;
    white-space: normal;
    text-align: center;
    justify-content: center;
}

.partners-heading .title {
    font-size: 0.32rem;
}

section.hero .texts [anim-fade-up] {
    opacity: 1 !important;
}

@media screen and (max-width: 1024px) {
    button.hamburger-btn {
        min-width: 44px;
        min-height: 44px;
        transform: none;
    }

    header.header .hamburger-btn span {
        width: 24px;
        left: 10px;
    }

    header.header .hamburger-btn span:nth-child(1) {
        top: 14px;
    }

    header.header .hamburger-btn span:nth-child(2) {
        top: 21px;
    }

    header.header .hamburger-btn span:nth-child(3) {
        top: 28px;
    }

    header.header .hamburger-btn.open span:nth-child(1),
    header.header .hamburger-btn.open span:nth-child(3) {
        top: 21px;
    }

    section.hero {
        height: auto;
        min-height: 0;
    }

    section.hero > .splide {
        position: absolute;
        inset: 0;
    }

    section.hero > .container {
        max-width: none;
        padding: 0;
    }

    section.hero .texts {
        position: relative;
        inset: auto;
        height: auto;
        min-height: 100svh;
        padding: 1.4rem 0.3rem 1.3rem;
        justify-content: center;
    }

    .dropdown-menu {
        height: 100dvh;
        overscroll-behavior: contain;
    }

    .dropdown-menu .dropdown-item a,
    .dropdown-menu .submenu-toggle,
    .chips a,
    .pagination .page-numbers,
    .faq-list summary {
        min-height: 44px;
    }

    section.contact-section .grid .form form input,
    section.contact-section .grid .form form textarea,
    section.contact-section .grid .form form select {
        font-size: 16px;
    }
}

@media screen and (max-width: 560px) {
    .doc {
        gap: 0.1rem;
        padding: 0.14rem;
    }

    .doc .icon-box {
        width: 0.36rem;
        height: 0.36rem;
    }

    .doc-action {
        width: 0.36rem;
        height: 0.36rem;
    }

    .post-nav {
        flex-direction: column;
    }
}

@media screen and (max-width: 768px) {
    footer.footer .link-list a,
    footer.footer .contact-item,
    .post-nav a,
    .footer-bottom a {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
    }

    .entry-content .alignleft,
    .entry-content .alignright,
    .page-content .alignleft,
    .page-content .alignright {
        float: none;
        margin-left: 0;
        margin-right: 0;
    }

    section.hero .texts {
        padding: 1.2rem 0.2rem 1.1rem;
    }

    section.about .grid .column.texts,
    section.image-text .grid .column.img-column,
    section.image-text .grid .column.text-column,
    section.image-text.texts-only .grid .column.text-column {
        width: 100%;
        max-width: 100%;
    }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .partners-marquee {
        overflow-x: auto;
        -webkit-mask-image: none;
        mask-image: none;
    }

    .partners-track {
        animation: none;
    }

    .partner-logo[aria-hidden="true"] {
        display: none;
    }
}
