/* =========================================================
   R4S — Rise And Reform Research Sansthan
   Visual system matched to approved homepage reference
   ========================================================= */

:root {
    --primary-green: #05652D;
    --primary-green-dark: #045024;
    --dark-green: #004D25;
    --footer-green: #003D1C;
    --accent-orange: #F47A00;
    --accent-orange-dark: #D96800;
    --accent-gold: #F5A623;
    --text-dark: #151515;
    --text-muted: #555555;
    --text-soft: #6B6B6B;
    --surface: #FFFFFF;
    --surface-soft: #F7F8F5;
    --border: #E4E8E2;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.08);
    --radius: 6px;
    --radius-sm: 4px;
    --container: 1180px;
    --header-h: 84px;
    --topbar-h: 40px;
    --font: "Source Sans 3", "Segoe UI", Tahoma, sans-serif;
    --transition: 0.25s ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-dark);
    background: var(--surface);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary-green);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--accent-orange);
}

:focus-visible {
    outline: 3px solid var(--accent-orange);
    outline-offset: 2px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--primary-green);
    color: #fff;
    padding: 0.75rem 1rem;
    z-index: 10000;
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
}

.container {
    width: min(100% - 2rem, var(--container));
    margin-inline: auto;
}

.section {
    padding: 70px 0;
}

.section-soft {
    background: var(--surface-soft);
}

.section-title {
    text-align: center;
    color: var(--primary-green);
    font-size: clamp(1.5rem, 2.2vw, 1.85rem);
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0 0 2.5rem;
    position: relative;
}

.section-title::before {
    content: "";
    display: block;
    width: 42px;
    height: 18px;
    margin: 0 auto 0.65rem;
    background:
        radial-gradient(circle at 30% 60%, var(--primary-green) 0 35%, transparent 36%),
        radial-gradient(circle at 70% 40%, #2E8B57 0 30%, transparent 31%),
        linear-gradient(90deg, transparent 0 20%, var(--primary-green) 20% 80%, transparent 80%);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 20'%3E%3Cpath fill='black' d='M8 14c4-8 10-10 16-8 2 1 4 2 6 1 3-1 5-4 7-4-1 4-4 7-8 8-4 1-8 0-12-2-2 3-5 5-9 5z'/%3E%3C/svg%3E") center / contain no-repeat;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 20'%3E%3Cpath fill='black' d='M8 14c4-8 10-10 16-8 2 1 4 2 6 1 3-1 5-4 7-4-1 4-4 7-8 8-4 1-8 0-12-2-2 3-5 5-9 5z'/%3E%3C/svg%3E") center / contain no-repeat;
    background-color: var(--primary-green);
}

.section-title--left {
    text-align: left;
}

.section-title--left::before {
    margin-left: 0;
}

.section-lead {
    max-width: 720px;
    margin: -1.25rem auto 2.5rem;
    text-align: center;
    color: var(--text-muted);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 46px;
    padding: 0.7rem 1.35rem;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    line-height: 1.2;
    cursor: pointer;
    transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}

.btn:hover {
    transform: translateY(-1px);
    color: #fff;
}

.btn-green {
    background: var(--primary-green);
    color: #fff;
}

.btn-green:hover {
    background: var(--primary-green-dark);
}

.btn-orange {
    background: var(--accent-orange);
    color: #fff;
}

.btn-orange:hover {
    background: var(--accent-orange-dark);
}

.btn-outline-green {
    background: transparent;
    border-color: var(--primary-green);
    color: var(--primary-green);
}

.btn-outline-green:hover {
    background: var(--primary-green);
    color: #fff;
}

.btn-donate {
    background: var(--accent-orange);
    color: #fff !important;
    border-radius: var(--radius-sm);
    padding: 0.65rem 1.1rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}

.btn-donate:hover {
    background: var(--accent-orange-dark);
    color: #fff !important;
}

.btn-sm {
    min-height: 40px;
    padding: 0.5rem 1rem;
    font-size: 0.82rem;
}

/* Top bar */
.topbar {
    background: var(--primary-green);
    color: #fff;
    font-size: 0.85rem;
    min-height: var(--topbar-h);
}

.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: var(--topbar-h);
}

.topbar a {
    color: #fff;
}

.topbar a:hover {
    color: var(--accent-gold);
}

.topbar__contact {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.topbar__contact a {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.topbar__links {
    display: flex;
    align-items: center;
    gap: 0;
}

.topbar__links a {
    padding: 0 0.85rem;
    border-right: 1px solid rgba(255, 255, 255, 0.35);
    line-height: 1;
    font-weight: 500;
}

.topbar__links a:last-child {
    border-right: 0;
}

.topbar__social {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.topbar__social a {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.14);
    border-radius: 3px;
    font-size: 0.75rem;
}

.topbar__social a:hover {
    background: #fff;
    color: var(--primary-green);
}

.topbar__social a.is-placeholder,
.footer-social a[href="#"] {
    display: none;
}

/* Header / Nav */
.site-header {
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: var(--header-h);
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: inherit;
    min-width: 0;
}

.brand:hover {
    color: inherit;
}

.brand__logo {
    width: auto;
    height: 70px;
    max-width: min(240px, 42vw);
    object-fit: contain;
    flex-shrink: 0;
}

/* Text fallback when logo mark-only assets are used later */
.brand__text {
    display: none;
    flex-direction: column;
    line-height: 1.15;
}

.brand__name {
    font-size: 1.05rem;
    font-weight: 800;
    color: #1a3a7a;
    letter-spacing: 0.02em;
}

.brand__sub {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--primary-green);
    letter-spacing: 0.08em;
}

.brand__place {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent-orange);
    letter-spacing: 0.12em;
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list > li > a,
.nav-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.55rem 0.65rem;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.92rem;
    background: none;
    border: 0;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    font-family: inherit;
}

.nav-list > li > a:hover,
.nav-link-btn:hover,
.nav-list > li > a.active,
.nav-link-btn.active,
.active-parent > .nav-link-btn {
    color: var(--primary-green);
}

.nav-list > li > a.active,
.nav-link-btn.active {
    border-bottom-color: var(--primary-green);
}

.has-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 0;
    min-width: 250px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    list-style: none;
    margin: 0;
    padding: 0.4rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
    z-index: 50;
}

.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown,
.has-dropdown.open > .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown a {
    display: block;
    padding: 0.6rem 1rem;
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 500;
}

.dropdown a:hover,
.dropdown a.active {
    background: #F2F7F3;
    color: var(--primary-green);
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: #fff;
    padding: 10px;
    flex-direction: column;
    justify-content: space-between;
}

.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--primary-green);
    border-radius: 2px;
}

/* Hero */
.hero {
    position: relative;
    background: linear-gradient(90deg, #f4f7f4 0%, #f7f8f5 45%, #eef3ef 100%);
    overflow: hidden;
}

.hero__inner {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    gap: 2rem;
    min-height: 520px;
    padding: 2.5rem 0 3rem;
}

.hero__content h1 {
    margin: 0 0 1rem;
    color: var(--primary-green);
    font-size: clamp(2.2rem, 4vw, 3.35rem);
    font-weight: 800;
    line-height: 1.15;
    white-space: pre-line;
    max-width: 12ch;
}

.hero__content p {
    margin: 0 0 1.75rem;
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 38ch;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.hero__media {
    position: relative;
    min-height: 420px;
    border-radius: 0;
}

.hero__media img,
.hero__placeholder {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    border-radius: 4px;
}

.hero__placeholder {
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    color: #fff;
    background:
        linear-gradient(180deg, rgba(5, 101, 45, 0.15), rgba(5, 101, 45, 0.65)),
        url("../images/placeholders/hero.svg") center / cover no-repeat;
    font-weight: 600;
}

.hero-carousel {
    position: relative;
}

.hero-carousel__track {
    display: grid;
}

.hero-slide {
    grid-area: 1 / 1;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.45s ease;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
}

.hero-nav {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
    padding: 0 0.5rem;
}

.hero-nav button {
    pointer-events: auto;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    color: var(--primary-green);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

.hero-dots {
    display: flex;
    justify-content: center;
    gap: 0.45rem;
    padding: 0 0 1.25rem;
}

.hero-dots button {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 0;
    background: #c5cfc7;
    cursor: pointer;
    padding: 0;
}

.hero-dots button.is-active {
    background: var(--primary-green);
}

/* Focus area cards */
.focus-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.15rem;
}

.focus-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 1.5rem 1rem 1.35rem;
    text-align: center;
    min-height: 170px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transition: transform var(--transition), box-shadow var(--transition);
}

.focus-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.focus-card__icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.35rem;
    margin-bottom: 0.95rem;
}

.focus-card h3 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-green);
    line-height: 1.35;
}

/* Stats strip */
.stats-strip {
    background: var(--primary-green);
    color: #fff;
    padding: 2.4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.5rem 1.25rem;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 15%;
    bottom: 15%;
    width: 1px;
    background: rgba(255, 255, 255, 0.35);
}

.stat-item i {
    font-size: 1.8rem;
    opacity: 0.95;
}

.stat-item strong {
    display: block;
    color: var(--accent-gold);
    font-size: clamp(1.6rem, 2.5vw, 2.1rem);
    font-weight: 800;
    line-height: 1.1;
}

.stat-item span {
    font-size: 0.92rem;
    opacity: 0.95;
}

.demo-note {
    margin: 0.85rem 0 0;
    font-size: 0.78rem;
    opacity: 0.8;
    text-align: center;
}

/* Approach + Mission */
.approach-mission {
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: 1.5rem;
    align-items: stretch;
}

.approach-box {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
}

.approach-box p {
    color: var(--text-muted);
    margin-top: 0;
}

.approach-steps {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.35rem;
    margin-top: 1.75rem;
    position: relative;
}

.approach-steps::before {
    content: "";
    position: absolute;
    top: 28px;
    left: 8%;
    right: 8%;
    border-top: 2px dashed #c9d6cc;
    z-index: 0;
}

.approach-step {
    position: relative;
    z-index: 1;
    flex: 1;
    text-align: center;
    max-width: 120px;
}

.approach-step__icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 0.65rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.approach-step span {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
}

.mission-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 100%;
    color: #fff;
    background:
        linear-gradient(160deg, rgba(0, 77, 37, 0.92), rgba(5, 101, 45, 0.88)),
        url("../images/placeholders/mission.svg") center / cover no-repeat;
    padding: 2rem 1.6rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mission-card h3 {
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 0.85rem;
}

.mission-card p {
    margin: 0 0 1.4rem;
    opacity: 0.95;
}

/* Info grid: About / News / Gallery */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr 1fr;
    gap: 1.5rem;
}

.info-panel h2 {
    color: var(--primary-green);
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0 0 1rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.info-panel__image {
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 1rem;
    aspect-ratio: 16 / 10;
    background: #dfe8e1;
}

.info-panel__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.info-panel p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
}

.news-item {
    display: grid;
    grid-template-columns: 78px 1fr;
    gap: 0.85rem;
    align-items: start;
}

.news-item__thumb {
    width: 78px;
    height: 64px;
    border-radius: 4px;
    overflow: hidden;
    background: #dfe8e1;
}

.news-item__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-item time {
    display: block;
    color: var(--accent-orange);
    font-size: 0.78rem;
    font-weight: 700;
}

.news-item h3 {
    margin: 0.15rem 0 0.2rem;
    font-size: 0.95rem;
    line-height: 1.3;
}

.news-item h3 a {
    color: var(--text-dark);
}

.news-item h3 a:hover {
    color: var(--primary-green);
}

.news-item .read-more {
    font-size: 0.82rem;
    font-weight: 700;
}

.gallery-mini {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.gallery-mini a {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 4px;
    background: #dfe8e1;
}

.gallery-mini img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.gallery-mini a:hover img {
    transform: scale(1.06);
}

.info-actions {
    margin-top: 1.15rem;
}

/* Partners */
.partners-section {
    padding-bottom: 80px;
}

.partners-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.partners-track-wrap {
    overflow: hidden;
    flex: 1;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
}

.partners-track {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    transition: transform 0.35s ease;
}

.partner-card {
    flex: 0 0 calc(16.666% - 0.85rem);
    min-width: 140px;
    height: 88px;
    border: 1px dashed #cfd8d2;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    background: #fafbfa;
    text-align: center;
}

.partner-card img {
    max-height: 48px;
    width: auto;
    margin: 0 auto;
}

.partner-card span {
    font-size: 0.75rem;
    color: var(--text-soft);
    font-weight: 600;
}

.partners-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--primary-green);
    cursor: pointer;
    flex-shrink: 0;
}

.partners-btn:hover {
    background: var(--primary-green);
    color: #fff;
}

.partners-disclaimer {
    text-align: center;
    color: var(--text-soft);
    font-size: 0.82rem;
    margin-top: 0.85rem;
}

/* Page hero */
.page-hero {
    position: relative;
    min-height: 210px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(100deg, rgba(0, 77, 37, 0.92), rgba(5, 101, 45, 0.78)),
        url("../images/placeholders/page-hero.svg") center / cover no-repeat;
    color: #fff;
    padding: 2.5rem 0;
}

.page-hero__content h1 {
    margin: 0 0 0.4rem;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
}

.page-hero__content p {
    margin: 0 0 0.85rem;
    opacity: 0.95;
    max-width: 60ch;
}

.breadcrumb-nav ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0;
    padding: 0;
    font-size: 0.88rem;
}

.breadcrumb-nav li:not(:last-child)::after {
    content: "/";
    margin-left: 0.4rem;
    opacity: 0.7;
}

.breadcrumb-nav a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.breadcrumb-nav li[aria-current="page"] {
    opacity: 0.9;
}

/* Content helpers */
.content-wrap {
    padding: 60px 0;
}

.content-card,
.card-soft {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 1.5rem;
}

.icon-card {
    height: 100%;
    text-align: left;
}

.icon-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #E8F3EC;
    color: var(--primary-green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.85rem;
    font-size: 1.2rem;
}

.icon-card h3 {
    margin: 0 0 0.5rem;
    color: var(--primary-green);
    font-size: 1.05rem;
}

.programme-card {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 1rem;
    height: 100%;
}

.programme-card__icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
}

.programme-card h3 {
    margin: 0 0 0.45rem;
    color: var(--primary-green);
}

.programme-card p {
    margin: 0;
    color: var(--text-muted);
}

.list-check {
    list-style: none;
    margin: 0;
    padding: 0;
}

.list-check li {
    position: relative;
    padding-left: 1.6rem;
    margin-bottom: 0.65rem;
}

.list-check li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0.15rem;
    color: var(--primary-green);
    font-size: 0.85rem;
}

.cta-banner {
    background: linear-gradient(100deg, var(--primary-green), var(--dark-green));
    color: #fff;
    border-radius: var(--radius);
    padding: 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cta-banner h2,
.cta-banner p {
    margin: 0;
    color: #fff;
}

.form-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 1.75rem;
}

.form-label {
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.form-control,
.form-select {
    border-color: #d5ddd7;
    min-height: 46px;
    border-radius: var(--radius-sm);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(5, 101, 45, 0.15);
}

.hp-field {
    position: absolute;
    left: -9999px;
    height: 0;
    overflow: hidden;
}

.notice-box {
    background: #FFF8EE;
    border: 1px solid #F0D5A8;
    border-left: 4px solid var(--accent-orange);
    border-radius: var(--radius-sm);
    padding: 1rem 1.15rem;
    color: #6a4a16;
}

.contact-details li {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.contact-details i {
    color: var(--primary-green);
    margin-top: 0.25rem;
}

.doc-card {
    text-align: center;
    height: 100%;
}

.doc-card i {
    font-size: 2rem;
    color: var(--primary-green);
    margin-bottom: 0.75rem;
}

.doc-card .badge-soft {
    display: inline-block;
    background: #E8F3EC;
    color: var(--primary-green);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    margin-bottom: 0.5rem;
}

/* Gallery */
.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.gallery-filters button {
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text-dark);
    border-radius: 999px;
    padding: 0.4rem 0.9rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
}

.gallery-filters button.is-active,
.gallery-filters button:hover {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.gallery-item {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: 0;
    padding: 0;
    background: #dfe8e1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item figcaption,
.gallery-item .caption {
    position: absolute;
    inset: auto 0 0 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: #fff;
    font-size: 0.82rem;
    padding: 1.5rem 0.75rem 0.65rem;
    text-align: left;
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 1rem;
}

.lightbox.is-open {
    display: flex;
}

.lightbox img {
    max-width: min(920px, 100%);
    max-height: 80vh;
    object-fit: contain;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    border: 0;
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
}

.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1rem; top: 50%; transform: translateY(-50%); }

.lightbox-caption {
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    text-align: center;
    max-width: 80%;
}

/* Footer */
.site-footer {
    background: var(--footer-green);
    color: rgba(255, 255, 255, 0.92);
    padding-top: 3.5rem;
    margin-top: 2rem;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.9);
}

.site-footer a:hover {
    color: var(--accent-gold);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1.2fr 1.2fr 1.1fr;
    gap: 2rem;
    padding-bottom: 2.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: #fff;
}

.footer-logo img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    background: #fff;
    border-radius: 50%;
    padding: 2px;
}

.footer-logo strong {
    display: block;
    font-size: 0.95rem;
}

.footer-logo small {
    display: block;
    opacity: 0.85;
}

.footer-brand p {
    font-size: 0.92rem;
    line-height: 1.6;
    opacity: 0.9;
}

.footer-social {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.footer-social a {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer-links h3,
.footer-contact h3,
.footer-newsletter h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0 0 1rem;
    color: #fff;
}

.footer-links__cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 1rem;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.55rem;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.92rem;
}

.footer-contact li {
    display: flex;
    gap: 0.7rem;
    margin-bottom: 0.9rem;
    font-size: 0.92rem;
}

.footer-contact i {
    margin-top: 0.25rem;
    color: var(--accent-gold);
}

.newsletter-form__row {
    display: flex;
    gap: 0;
}

.newsletter-form input[type="email"] {
    flex: 1;
    min-height: 44px;
    border: 0;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    padding: 0 0.9rem;
}

.newsletter-form button {
    width: 48px;
    border: 0;
    background: var(--primary-green);
    color: #fff;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    cursor: pointer;
}

.newsletter-note {
    display: block;
    margin-top: 0.55rem;
    font-size: 0.75rem;
    opacity: 0.75;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 1rem 0;
    background: rgba(0, 0, 0, 0.12);
}

.footer-bottom__inner {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    font-size: 0.88rem;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 0.85rem;
}

.footer-bottom__links a {
    position: relative;
}

.footer-bottom__links a:not(:last-child)::after {
    content: "|";
    margin-left: 0.85rem;
    opacity: 0.5;
    color: #fff;
}

.back-to-top {
    position: fixed;
    right: 1.1rem;
    bottom: 1.1rem;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: var(--accent-orange);
    color: #fff;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
    z-index: 900;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
}

.prose p {
    color: var(--text-muted);
}

.prose h2 {
    color: var(--primary-green);
    font-size: 1.35rem;
    margin-top: 1.75rem;
}

.vm-card {
    height: 100%;
    border-top: 4px solid var(--primary-green);
}

.vm-card.mission {
    border-top-color: var(--accent-orange);
}

.vm-card h2 {
    margin-top: 0;
    color: var(--primary-green);
}

.role-card {
    text-align: center;
    padding: 1.35rem 1rem;
}

.role-card i {
    font-size: 1.5rem;
    color: var(--primary-green);
    margin-bottom: 0.6rem;
}

.badge-demo {
    display: inline-block;
    background: #FFF3E0;
    color: #9A5B00;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.15rem 0.45rem;
    border-radius: 3px;
    margin-left: 0.35rem;
    vertical-align: middle;
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
