/* ===== Tokens ===== */
:root {
    --green: #1f4d2e;
    --green-d: #143821;
    --gold: #fa8e01;
    --bg: #fff;
    --light: #f7f8f4;
    --text: #222;
    --muted: #666;
    --r: 18px
}

html {
    scroll-behavior: smooth
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    padding-top: 0
}

h1,
h2,
h3 {
    font-family: 'Fraunces', serif;
    font-weight: 700;
    color: var(--green-d);
    line-height: 1.2
}

h2 {
    font-size: clamp(1.7rem, 3.2vw, 2.4rem)
}

h3 {
    font-size: 1.2rem
}

a {
    color: var(--green);
    text-decoration: none
}

img {
    max-width: 100%
}

.text-muted {
    color: var(--muted) !important
}

.shadow-soft {
    box-shadow: 0 18px 40px rgba(20, 56, 33, .15)
}

/* ===== Buttons ===== */
.btn {
    border-radius: 50px;
    font-weight: 600;
    padding: 10px 20px;
    transition: .25s
}

.btn-gold {
    background: #1f4d2e;
    color: #ffffff;
    border: 0;
    font-size: 16px;
}

.btn-gold:hover {
    background: #dba83c;
    transform: translateY(-2px)
}

.btn-green {
    background: var(--green);
    color: #fff
}

.btn-green:hover {
    background: var(--green-d);
    color: #fff
}

.btn-outline-green {
    border: 1.5px solid var(--green);
    color: var(--green)
}

.btn-outline-green:hover,
.btn-outline-green.active {
    background: var(--green);
    color: #fff
}

.btn-light-outline {
    border: 1.5px solid #fff;
    color: #fff;
    font-size: 16px;
}

.btn-light-outline:hover {
    background: #fff;
    color: var(--green-d)
}

.btn:focus-visible,
a:focus-visible,
.form-control:focus {
    outline: 3px solid var(--gold);
    outline-offset: 2px
}

/* ===== Navbar ===== */
.navbar {
    padding: 4px 0px;
    background: #ffffff;
    transition: .3s
}

.navbar.scrolled,
.navbar:has(.show) {
    background: #ffffff;
    padding: .5rem 0;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .2)
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-family: 'Fraunces', serif;
    font-weight: 700;
    color: #fff !important;
    font-size: 1.25rem
}
.navbar-brand img{
    width: 120px;
}

.nav-link {
    color: rgb(0 0 0 / 88%) !important;
    font-weight: 500;
    padding: .5rem .85rem !important
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold) !important
}

.navbar-toggler {
    color: #214806;
    border: 0;
    font-size: 1.4rem
}

.navbar-toggler:focus {
    box-shadow: none
}

.dropdown-menu {
    border: 0;
    border-radius: 14px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .18);
    padding: .5rem
}

.dropdown-item {
    border-radius: 10px;
    padding: .55rem 1rem
}

.dropdown-item:hover,
.dropdown-item.active {
    background: var(--light);
    color: var(--green)
}

@media(min-width:992px) {
    .dropdown:hover>.dropdown-menu {
        display: block
    }
}

/* ===== Hero & banners ===== */
.hero,
.page-banner,
.cta {
    background: linear-gradient(rgba(10, 30, 18, .68), rgba(10, 30, 18, .68)), var(--bg) center/cover;
    color: #fff
}

.hero {
    padding: 10rem 0;
    position: relative;
    width: 100%;
    height: 100%;
    background-position: center center;
    background-size: cover;
}
.hero::before{
    position: absolute;
    content: '';
    background: #000;
    opacity: .5;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero h1 {
    color: #fff;
    font-size: 50px;
    max-width: 21ch;
    margin: .6rem 0 1.2rem
}

.hero p {
    max-width: 55ch;
    font-size: 1.1rem;
    opacity: .92;
    margin-bottom: 2rem
}

.kicker {
    color: #ffffff;
    font-weight: 700;
    letter-spacing: .04em
}

.hero-in {
    opacity: 0;
    transform: translateY(28px);
    animation: rise .9s forwards
}

.hero-in:nth-child(2) {
    animation-delay: .15s
}

.hero-in:nth-child(3) {
    animation-delay: .3s
}

.hero-in:nth-child(4) {
    animation-delay: .45s
}

@keyframes rise {
    to {
        opacity: 1;
        transform: none
    }
}

.page-banner {
    padding: 9rem 0 4rem
}

.page-banner h1 {
    color: #fff;
    font-size: clamp(2rem, 5vw, 3.2rem)
}

.page-banner p {
    opacity: .9;
    max-width: 60ch
}

.breadcrumb {
    --bs-breadcrumb-divider-color: #ccc
}

.breadcrumb a {
    color: var(--gold)
}

.breadcrumb-item.active {
    color: #fff
}

/* ===== Sections ===== */
.section {
    padding: 3.5rem 0
}

.section.alt {
    background: var(--light)
}

.head {
    max-width: 620px;
    margin: 0 auto 3rem;
    text-align: center
}

.head p {
    color: var(--muted)
}

.stat {
    background: var(--light);
    border-radius: var(--r);
    padding: 1.4rem .5rem;
    border-bottom: 3px solid var(--gold)
}

.stat b {
    display: block;
    font-family: 'Fraunces', serif;
    font-size: 2.2rem;
    color: var(--green)
}

.counter::after {
    content: '+'
}

.stat span {
    color: var(--muted);
    font-size: .92rem
}

/* ===== Cards ===== */
.catcard,
.pcard,
.fcard {
    background: #fff;
    border-radius: var(--r);
    border: 1px solid #e8eadf;
    overflow: hidden;
    height: 100%;
    transition: .3s
}

.catcard:hover,
.pcard:hover,
.fcard:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(20, 56, 33, .14);
    border-color: var(--gold)
}

.catcard img {
    width: 100%;
    height: 220px;
    object-fit: cover
}

.cb {
    padding: 1.5rem;
    position: relative
}

.cb i {
    position: absolute;
    top: -28px;
    right: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gold);
    display: grid;
    place-items: center;
    font-size: 1.3rem;
    color: var(--green-d)
}

.pcard img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover
}

.pb {
    padding: 1.2rem 1.3rem 1.5rem
}

.pb p {
    font-size: .93rem;
    color: var(--muted)
}

.tag {
    font-size: .78rem;
    color: var(--gold);
    font-weight: 700
}

.fcard {
    padding: 1.8rem
}

.fcard i {
    font-size: 1.7rem;
    color: var(--gold);
    margin-bottom: 1rem
}

.fcard p {
    color: var(--muted);
    margin: 0;
    font-size: .95rem
}

/* ===== CTA, testimonials ===== */
.cta {
    padding: 5rem 0;
    text-align: center
}

.cta h2 {
    color: #fff
}

.cta p {
    max-width: 52ch;
    margin: 1rem auto 1.8rem;
    opacity: .9
}

#tm {
    max-width: 760px;
    margin: auto;
    text-align: center
}

blockquote {
    margin: 0;
    padding: 0 1rem 3rem
}

blockquote p {
    font-family: 'Fraunces', serif;
    font-size: 1.35rem;
    color: var(--green-d)
}

.stars {
    color: var(--gold);
    margin-bottom: 1rem
}

blockquote footer b {
    display: block
}

blockquote footer span {
    color: var(--muted);
    font-size: .9rem
}

.carousel-indicators.static button {
    background: var(--green);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 0
}

/* ===== Timeline ===== */
.timeline {
    position: relative;
    max-width: 760px;
    margin: auto
}

.timeline::before {
    content: '';
    position: absolute;
    left: 23px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gold)
}

.tl-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    position: relative
}

.tl-n {
    flex: 0 0 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 700;
    z-index: 1;
    border: 4px solid #fff
}

.tl-b {
    background: var(--light);
    padding: 1.1rem 1.4rem;
    border-radius: var(--r);
    flex: 1
}

.tl-b p {
    margin: 0;
    color: var(--muted)
}

/* ===== Gallery ===== */
.catnav {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    justify-content: center;
    margin-bottom: 2.5rem
}

.masonry {
    column-count: 3;
    column-gap: 1rem
}

.g-item {
    break-inside: avoid;
    margin-bottom: 1rem
}

.g-item img {
    width: 100%;
    border-radius: 14px;
    transition: .3s
}

.g-item a {
    display: block;
    overflow: hidden;
    border-radius: 14px
}

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

.g-item.hide {
    display: none
}

/* ===== Contact ===== */
.contact-list {
    list-style: none;
    padding: 0
}

.contact-list li {
    margin-bottom: .9rem;
    display: flex;
    gap: .8rem
}

.contact-list i {
    color: var(--gold);
    margin-top: .4rem;
    width: 18px
}

.formcard {
    background: #fff;
    padding: 2rem;
    border-radius: var(--r);
    box-shadow: 0 18px 40px rgba(20, 56, 33, .12);
    border: 1px solid #e8eadf
}

.map {
    margin-top: 4rem;
    background: var(--light);
    border-radius: var(--r);
    height: 320px;
    display: grid;
    place-items: center;
    text-align: center;
    color: var(--muted)
}

.map i {
    font-size: 3rem;
    color: var(--green)
}

/* ===== Footer ===== */
.footer {
    background: var(--green-d);
    color: rgba(255, 255, 255, .78);
    padding: 4.5rem 0 1.5rem
}

.footer h3 {
    color: #fff;
    font-size: 1.1rem
}

.footer ul {
    list-style: none;
    padding: 0
}

.footer li {
    margin-bottom: .5rem
}

.footer a {
    color: rgba(255, 255, 255, .78)
}

.footer a:hover {
    color: var(--gold)
}

.social {
    display: flex;
    gap: .6rem
}

.social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .3);
    display: grid;
    place-items: center
}

.social a:hover {
    background: var(--gold);
    color: #111
}

.social.dark a {
    color: var(--green);
    border-color: var(--green)
}

.copy {
    border-top: 1px solid rgba(255, 255, 255, .15);
    margin-top: 2.5rem;
    padding-top: 1.3rem;
    text-align: center;
    font-size: .9rem
}

#toTop {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 0;
    background: var(--gold);
    color: #111;
    opacity: 0;
    pointer-events: none;
    transition: .3s;
    z-index: 99
}

#toTop.show {
    opacity: 1;
    pointer-events: auto
}

/* ===== Scroll reveal (applied by JS) ===== */
.js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s, transform .7s
}

.js .reveal.in {
    opacity: 1;
    transform: none
}

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

    .js .reveal,
    .hero-in {
        opacity: 1;
        transform: none
    }
}