

:root {
    --dark: #2e5129;
    --green: #2f4f35;
    --g2: #365a3c;

    --gradient-start: #527b42;
    --gradient-end: #6b8e5a;

    --lime: #6b8e5a;
    --yellow: #edd966;

    --cream: #fffdf4;
    --soft: #eef7e4;
    --text: #2f4f35;
    --muted: #68786d;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    background: var(--cream);
    color: var(--text);
    line-height: 1.65;
}

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

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

.container {
    width: min(1160px, 92%);
    margin: auto;
}


/* =========================================================
   TOPBAR
========================================================= */

.topbar {
    background: var(--dark);
    color: #dcebdc;
    padding: 8px 0;
    font-size: .78rem;
}

.topbar .container {
    display: flex;
    justify-content: space-between;
}


/* =========================================================
   HEADER / NAVIGATION
========================================================= */

header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(46, 81, 41, .97);
    color: #fff;
    box-shadow: 0 7px 25px #2e512922;
}

.nav {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 9px;
    font-weight: 800;
    letter-spacing: 1px;
    font-size: 1.2rem;
    transform: translateY(5px);
}

.brand img {
    width: 95px;
}

.brand small {
    display: block;
    text-align: center;
    color: var(--yellow);
    font-size: .59rem;
    letter-spacing: 4px;
}

.navlinks {
    display: flex;
    gap: 25px;
    font-weight: 700;
    font-size: .9rem;
}

.navlinks a {
    padding: 27px 0;
    position: relative;
}

.navlinks a:after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 19px;
    height: 3px;
    background: var(--yellow);
    transition: .2s;
}

.navlinks a:hover:after,
.navlinks a.active:after {
    right: 0;
}

.navlinks a.active {
    color: var(--yellow);
}

.menu {
    display: none;
    background: none;
    border: 0;
    color: white;
    font-size: 1.7rem;
}


/* =========================================================
   BUTTONS
========================================================= */

.btn {
    display: inline-block;
    border: 2px solid transparent;
    border-radius: 999px;
    padding: 11px 21px;
    background: var(--yellow);
    color: var(--dark);
    font-weight: 800;
    cursor: pointer;
    transition: .2s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px #edd96644;
}

.btn.white {
    background: white;
}

.btn.outline {
    background: transparent;
    border-color: var(--green);
    color: var(--green);
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;
    min-height: 350px;
    background: var(--dark);
    overflow: hidden;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .7s;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-bg {
    position: absolute;
    inset: 0;
    background: center/cover;
}

.slide:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(46, 81, 41, .88),
        rgba(46, 81, 41, .55) 45%,
        rgba(46, 81, 41, .10)
    );
}

.slide .container {
    position: relative;
    z-index: 2;
}

.hero-copy {
    max-width: 680px;
    padding: 45px 0;
    color: white;
}

.kicker {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 800;
    font-size: .77rem;
    color: var(--lime);
}

.hero .kicker,
.pagehero .kicker {
    color: var(--yellow);
}

.hero h1 {
    font-family: "Poppins", sans-serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: .95;
    margin: 12px 0 20px;
}

.hero h1 span {
    color: var(--yellow);
}

.hero p {
    max-width: 620px;
    font-size: 1.05rem;
    margin-bottom: 26px;
    color: #edf5ee;
}

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


/* =========================================================
   SLIDER NAVIGATION
========================================================= */

.slider-nav {
    position: absolute;
    z-index: 4;
    bottom: 25px;
    left: 4%;
    right: 4%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.arrow {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid #fff7;
    background: #2e5129cc;
    color: #fff;
    cursor: pointer;
}

.dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 9px;
    height: 9px;
    border: 0;
    border-radius: 50%;
    background: #fff7;
    cursor: pointer;
}

.dot.active {
    width: 28px;
    border-radius: 20px;
    background: var(--yellow);
}


/* =========================================================
   WELCOME
========================================================= */

.welcome {
    background: var(--yellow);
    padding: 20px 0;
}

.welcome-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.welcome h2 {
    font-family: "Poppins", sans-serif;
    font-size: 1.8rem;
    color: var(--dark);
}

.welcome p {
    font-size: .9rem;
    color: #425b43;
}


/* =========================================================
   GENERAL SECTIONS
========================================================= */

.section {
    padding: 20px 0;
}

.alt {
    background: #527b42;
    color: white;
}

.dark {
    background: #527b42;
    color: white;
}

.alt .btn.outline {
    background: #edd966;
    border: 2px solid #edd966;
    color: #2e5129;
    border-radius: 999px;
    padding: 14px 28px;
}

.cta {
    background: #527b42;
    color: white;
}

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

.section-head h2 {
    font-family: "Poppins", sans-serif;
    font-size: 2.7rem;
    line-height: 1.1;
    margin: 8px 0 10px;
}

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

.dark .section-head p {
    color: #bfd2c3;
}


/* =========================================================
   FEATURES
========================================================= */

.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.feature {
    padding: 12px 10px;
    background: var(--green);
    border-radius: 16px;
    color: white;
    text-align: center;
}

.feature:nth-child(2) {
    background: var(--g2);
}

.feature:nth-child(3) {
    background: var(--green);
}

.feature:nth-child(4) {
    background: var(--gradient-start);
}

.icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--yellow);
    color: var(--dark);
    margin: 0 auto 12px;
}

.feature p {
    font-size: .78rem;
    color: #dbeadf;
    margin-top: 6px;
}


/* =========================================================
   ABOUT
========================================================= */

.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    align-items: center;
}

.about-img {
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 18px 45px #2f4f3520;
}

.about h2 {
    font-family: "Poppins", sans-serif;
    font-size: 2.7rem;
    line-height: 1.1;
    margin: 8px 0 15px;
}

.about p {
    color: var(--muted);
    margin-bottom: 22px;
}

section:has(.about) {
    background: #fffdf4;
    color: #2f4f35;
}


/* =========================================================
   STATISTICS
========================================================= */

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 18px;
}

.stat {
    border-left: 4px solid var(--yellow);
    padding-left: 12px;
}

.stat strong {
    display: block;
    color: var(--green);
    font-size: 1.5rem;
}

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


/* =========================================================
   CARDS
========================================================= */

.cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.card {
    background: #fff;
    border: 1px solid #dce9d6;
    border-radius: 19px;
    overflow: hidden;
    box-shadow: 0 9px 25px #2f4f3510;
    transition: .2s;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    width: 100%;
    aspect-ratio: 1.25;
    object-fit: cover;
}

.card-body {
    padding: 15px;
}

.tag {
    display: inline-block;
    background: #e8f5d9;
    color: var(--green);
    padding: 4px 10px;
    border-radius: 999px;
    font-size: .68rem;
    font-weight: 800;
}

.card h3 {
    margin: 8px 0 4px;
}

.card p {
    font-size: .83rem;
    color: var(--muted);
}


/* =========================================================
   CTA
========================================================= */

.cta {
    background: #527b42;
    color: white;
    padding: 5px 0;
}

.cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.cta h2 {
    font-family: "Poppins", sans-serif;
    font-size: 1.8rem;
}


/* =========================================================
   PAGE HERO
========================================================= */

.pagehero {
    padding: 30px 0;
    background:
        linear-gradient(
            90deg,
            rgba(46, 81, 41, .90),
            rgba(47, 79, 53, .68)
        ),
        url('../images/hero1.svg') center/cover;
    color: #fff;
}

.pagehero h1 {
    font-family: "Poppins", sans-serif;
    font-size: clamp(2.8rem, 6vw, 5rem);
    line-height: 1;
    margin-top: 10px;
}

.pagehero p {
    max-width: 700px;
    margin-top: 14px;
    color: #eaf3ea;
}


/* =========================================================
   TWO COLUMN BOXES
========================================================= */

.two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.box {
    padding: 25px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 10px 28px #2f4f3512;
}

.box.green {
    background: var(--green);
    color: white;
}

.box.yellow {
    background: var(--yellow);
    color: var(--dark);
}

.box h3 {
    font-family: "Playfair Display";
    font-size: 1.7rem;
    margin-bottom: 8px;
}


/* =========================================================
   MAP
========================================================= */

.map-layout {
    display: grid;
    grid-template-columns: 1.35fr .65fr;
    gap: 25px;
}

.map {
    min-height: 300px;
    border-radius: 24px;
    background: #cde4b8;
    position: relative;
    overflow: hidden;
    border: 7px solid white;
    box-shadow: 0 15px 35px #2f4f3518;
}

.map:before,
.map:after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: #f8f2dc;
    border: 8px solid #b9d39f;
}

.map:before {
    width: 330px;
    height: 330px;
    left: 5%;
    top: 24%;
}

.map:after {
    width: 270px;
    height: 270px;
    right: -4%;
    top: 4%;
}

.road {
    position: absolute;
    z-index: 2;
    left: -10%;
    right: -5%;
    top: 55%;
    height: 14px;
    background: #fff5d8;
    transform: rotate(-18deg);
    box-shadow: 0 0 0 4px #b4cb9c;
}

.road.two {
    top: 40%;
    height: 11px;
    transform: rotate(55deg);
}

.pin {
    position: absolute;
    z-index: 4;
    left: 51%;
    top: 47%;
    width: 38px;
    height: 38px;
    border-radius: 50% 50% 50% 0;
    background: var(--yellow);
    border: 5px solid var(--dark);
    transform: rotate(-45deg);
}

.pin span {
    display: block;
    transform: rotate(45deg);
    text-align: center;
}

.map-label {
    position: absolute;
    z-index: 4;
    left: 44%;
    top: 61%;
    background: var(--dark);
    color: white;
    padding: 8px 13px;
    border-radius: 10px;
    font-size: .75rem;
    font-weight: 800;
}

.locations {
    display: grid;
    gap: 12px;
}

.location {
    padding: 19px;
    border-radius: 16px;
    background: var(--soft);
    border-left: 5px solid var(--lime);
}

.location strong {
    display: block;
    color: var(--green);
}

.location span {
    font-size: .82rem;
    color: var(--muted);
}


/* =========================================================
   PRODUCTS
========================================================= */

.products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.product {
    background: white;
    border: 1px solid #dce9d6;
    border-radius: 16px;
    overflow: hidden;
}

.product img {
    height: 115px;
    width: 100%;
    object-fit: cover;
}

.product-body {
    padding: 13px;
}

.price {
    margin-top: 9px;
    color: var(--green);
    font-weight: 800;
}


/* =========================================================
   ENGAGEMENT
========================================================= */

.engage-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.partner {
    background: var(--green);
    color: white;
    padding: 25px;
    border-radius: 22px;
}

.partner h2 {
    font-family: "Poppins", sans-serif;
    font-size: 2rem;
    margin-bottom: 8px;
}

.partner-list {
    display: grid;
    gap: 10px;
    margin: 18px 0;
}

.partner-list div {
    padding: 13px;
    border: 1px solid #fff3;
    border-radius: 12px;
    background: #ffffff10;
}


/* =========================================================
   FAQ
========================================================= */

.faq {
    display: grid;
    gap: 10px;
}

.faq-item {
    background: white;
    border: 1px solid #dce9d6;
    border-radius: 15px;
    overflow: hidden;
}

.faq-q {
    width: 100%;
    background: none;
    border: 0;
    padding: 14px 18px;
    text-align: left;
    font: inherit;
    font-weight: 800;
    color: var(--dark);
    display: flex;
    justify-content: space-between;
    cursor: pointer;
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    padding: 0 18px;
    color: var(--muted);
    transition: .25s;
}

.faq-item.open .faq-a {
    max-height: 180px;
    padding: 0 18px 14px;
}


/* =========================================================
   CONTACT
========================================================= */

.contact {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    align-items: start;
    gap: 28px;
}

.contact > * { min-width: 0; }
.contact-card h2, .form-card h2 { margin-bottom: 8px; line-height: 1.25; }
.contact-card > p, .form-card > p { margin-bottom: 18px; color: var(--muted); }

.contact-card,
.form-card {
    background: white;
    border: 1px solid #dce9d6;
    border-radius: 22px;
    padding: 25px;
}

.contact-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin: 0;
    padding: 18px 0;
    border-bottom: 1px solid #edf2e9;
}

.contact-row:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-row > div { min-width: 0; flex: 1; }
.contact-row h3 { margin: 0 0 4px; font-size: .98rem; }
.contact-row p, .contact-row a { overflow-wrap: anywhere; }

.contact-row .icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    margin: 0;
}

.contact-row p {
    font-size: .84rem;
    color: var(--muted);
}

.form-group {
    margin-bottom: 18px;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: 2px solid #6b8e5a; outline-offset: 2px; border-color: var(--green);
}

.form-group label {
    display: block;
    font-weight: 800;
    font-size: .85rem;
    margin-bottom: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #cdddc9;
    border-radius: 11px;
    font: inherit;
    background: #fbfdf9;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.note {
    font-size: .73rem;
    color: var(--muted);
    margin-top: 9px;
}


/* =========================================================
   TOAST
========================================================= */

.toast {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 100;
    background: var(--green);
    color: white;
    padding: 15px 18px;
    border-radius: 12px;
    opacity: 0;
    transform: translateY(20px);
    transition: .25s;
}

.toast.show {
    opacity: 1;
    transform: none;
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    background: var(--dark);
    color: white;
    padding: 34px 0 16px;
}

.footer-grid > div { min-width: 0; }
.footer-brand .brand { transform: none; align-items: center; }
.footer-brand .brand img {
    display: block;
    width: 100%;
    max-width: 150px;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center;
    flex: 0 0 auto;
    border-radius: 0;
}
.footer-brand .brand small { letter-spacing: 2px; }
.footer-links a { width: fit-content; }
.footer-links a:hover, .social a:hover { color: var(--yellow); }

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 22px;
}

.footer-brand {
    align-self: center;
}

.footer-brand p {
    color: #bdd0c2;
    font-size: .84rem;
    margin-top: 11px;
}

footer h3 {
    color: var(--yellow);
    margin-bottom: 9px;
}

.footer-links {
    display: grid;
    gap: 4px;
    color: #d1e0d5;
    font-size: .85rem;
}

.social {
    display: flex;
    gap: 7px;
    margin-top: 6px;
}

.social a {
    width: 35px;
    height: 35px;
    border: 1px solid #fff4;
    border-radius: 50%;
    display: grid;
    place-items: center;
}

.copyright {
    border-top: 1px solid #fff2;
    margin-top: 18px;
    padding-top: 10px;
    text-align: center;
    color: #9eb4a4;
    font-size: .72rem;
}


/* =========================================================
   DESKTOP SCALE
========================================================= */

@media (min-width: 701px) {
    body { zoom: 1; }
}


/* =========================================================
   TABLET RESPONSIVE
========================================================= */

@media (max-width: 950px) {

    .navlinks {
        gap: 15px;
    }

    .features,
    .cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .about,
    .map-layout,
    .engage-grid,
    .contact,
    .two {
        grid-template-columns: 1fr;
    }

    .products {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 26px;
    }
}


/* =========================================================
   MOBILE RESPONSIVE
========================================================= */

@media (max-width: 700px) {

    body {
        zoom: 1;
    }

    .topbar {
        display: none;
    }

    .menu {
        display: block;
    }

    .navlinks {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 68px;
        background: var(--dark);
        padding: 8px 5%;
        flex-direction: column;
        gap: 0;
    }

    .navlinks.open {
        display: flex;
    }

    .navlinks a {
        padding: 10px 0;
    }

    .navlinks a:after {
        bottom: 5px;
    }

    .nav > .btn {
        display: none;
    }

    .hero {
        min-height: 610px;
    }

    .hero-copy {
        padding: 55px 0 70px;
    }

    .hero h1 {
        font-size: 3.4rem;
    }

    .welcome-inner,
    .cta-inner {
        display: block;
    }

    .welcome .btn,
    .cta .btn {
        margin-top: 15px;
    }

    .section {
        padding: 35px 0;
    }

    .section-head {
        display: block;
        margin-bottom: 18px;
    }

    .section-head .btn {
        margin-top: 12px;
    }

    .features,
    .cards,
    .products {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: 1fr 1fr;
    }

    .pagehero {
        padding: 25px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .cta {
        padding: 15px 0;
    }

    footer {
        padding: 28px 0 14px;
    }

    .copyright {
        margin-top: 15px;
        padding-top: 10px;
    }

    .about {
        gap: 25px;
    }

    .box {
        padding: 22px;
    }

    .partner {
        padding: 22px;
    }

    .contact-card,
    .form-card {
        padding: 22px;
    }

    .contact { gap: 20px; }
    .contact-row { gap: 12px; padding: 15px 0; }
    .footer-brand .brand img { width: 64px; height: 64px; }

    .map {
        min-height: 340px;
    }
}
/* ENGAGEMENT CTA */
.get-involved {
    padding: 12px 0;
}

.get-involved .section-head {
    margin-bottom: 0;
}

.get-involved .section-head h2 {
    font-size: 1.8rem;
    margin: 0;
}

.get-involved .section-head .kicker {
    margin: 0;
}

.get-involved .btn {
    padding: 8px 18px;
}
/* CONTACT FAQ CTA */
.section.alt {
    padding: 12px 0;
}

.section.alt .section-head {
    margin-bottom: 0;
}

.section.alt .section-head h2 {
    font-size: 1.8rem;
    line-height: 1.1;
    margin: 0;
}

.section.alt .btn {
    padding: 8px 18px;
}

/* Final layout polish: prevent overlap and maintain consistent spacing. */
html { scroll-padding-top: 84px; }
body { overflow-wrap: break-word; }
main { min-width: 0; }
section { min-width: 0; }
button, input, select, textarea { max-width: 100%; }
.menu { cursor: pointer; padding: 6px 8px; border-radius: 8px; }
.menu:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
@media (max-width: 950px) {
  .contact { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .nav { min-height: 68px; gap: 10px; }
  .brand { transform: none; font-size: 1rem; gap: 7px; }
  .brand img { width: 62px; }
  .brand small { letter-spacing: 2px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .section-head h2, .about h2 { font-size: clamp(1.8rem, 8vw, 2.5rem); }
  .hero h1 { font-size: clamp(2.5rem, 11vw, 3.4rem); }
}

/* Floating back-to-top control */
.back-to-top {
    position: fixed;
    right: clamp(14px, 2.5vw, 30px);
    bottom: clamp(14px, 2.5vw, 28px);
    z-index: 1000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    max-width: calc(100vw - 28px);
    padding: 12px 17px;
    border: 0;
    border-radius: 999px;
    background: var(--green, #285b3b);
    color: #fff;
    font: inherit;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.2;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 180ms ease, transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease, visibility 180ms ease;
}
.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}
.back-to-top:hover {
    background: #1f4b30;
    transform: translateY(-2px);
    box-shadow: 0 7px 22px rgba(0, 0, 0, 0.24);
}
.back-to-top:focus-visible {
    outline: 3px solid var(--yellow, #f3c84b);
    outline-offset: 4px;
}
.back-to-top > span:first-child { font-size: 1.25rem; line-height: 1; }
@media (max-width: 700px) {
    .back-to-top { right: 12px; bottom: 12px; min-height: 44px; padding: 11px 14px; font-size: 0.85rem; }
}
@media (prefers-reduced-motion: reduce) {
    .back-to-top { transition: none; }
}


/* FINAL LAYOUT FIXES: single-page navigation, non-overlapping hero, balanced spacing */
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { overflow-x: hidden; }
main { display: block; }
main > section { position: relative; }
section[id], .section-anchor { scroll-margin-top: 92px; }
.hero {
  position: relative;
  min-height: clamp(560px, 72vh, 760px);
  height: auto;
  isolation: isolate;
}
.hero .slide { min-height: inherit; height: 100%; }
.hero .slide .container { width: min(1160px, 92%); }
.hero-copy {
  width: min(100%, 680px);
  box-sizing: border-box;
  padding: clamp(42px, 6vh, 70px) 0 112px;
}
.hero h1 { max-width: 100%; line-height: 1.04; overflow-wrap: anywhere; }
.hero p { max-width: 58ch; line-height: 1.65; }
.hero .actions { align-items: center; row-gap: 12px; }
.slider-nav { bottom: 18px; }
.section { padding-block: clamp(38px, 5vw, 68px); }
.pagehero.section-anchor { padding-block: 28px; min-height: 0; }
.pagehero.section-anchor h2 { margin: 0; line-height: 1.15; }
.welcome-inner { flex-wrap: wrap; align-items: center; row-gap: 14px; }
.contact { align-items: start; gap: 28px; }
.contact-card, .form-card { box-sizing: border-box; min-width: 0; }
.contact-row { align-items: flex-start; gap: 14px; }
.contact-row > div:last-child { min-width: 0; overflow-wrap: anywhere; }
footer { position: relative; clear: both; }
.back-to-top { z-index: 1000; }
@media (max-width: 700px) {
  html { scroll-padding-top: 76px; }
  section[id], .section-anchor { scroll-margin-top: 76px; }
  .hero { min-height: 660px; }
  .hero .slide { align-items: center; }
  .hero-copy { padding: 44px 0 112px; }
  .hero h1 { font-size: clamp(2.2rem, 9.5vw, 3.2rem); line-height: 1.06; }
  .hero p { font-size: 1rem; margin-bottom: 20px; }
  .actions .btn { max-width: 100%; white-space: normal; }
  .slider-nav { left: 4%; right: 4%; bottom: 14px; }
  .section { padding-block: 38px; }
  .contact-card, .form-card { padding: 20px; }
  .contact-row { padding: 15px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}


/* Keep the complete original logo visible in the footer. */
.footer-brand .brand {
    min-width: 0;
    max-width: 100%;
    overflow: visible;
}
.footer-brand .brand img {
    object-fit: contain;
}


/* =========================================================
   SANCTUARIO WEBSITE 1.2 — FINAL CONSISTENCY & NAVIGATION
========================================================= */
:root {
    --dark: #2e5129;
    --green: #2f4f35;
    --g2: #365a3c;
    --gradient-start: #527b42;
    --gradient-end: #6b8e5a;
    --lime: #6b8e5a;
    --yellow: #edd966;
    --cream: #fffdf4;
    --soft: #eef7e4;
    --text: #2f4f35;
    --muted: #68786d;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: "Poppins", sans-serif;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, button, input, select, textarea {
    font-family: "Poppins", sans-serif;
}

header {
    position: sticky;
    top: 0;
    z-index: 100;
}

section[id], .section-anchor {
    scroll-margin-top: 100px;
}

/* Keep the home slideshow prominent without taking over the whole page. */
.hero {
    min-height: clamp(430px, 58vh, 610px);
    height: auto;
}
.hero .slide {
    min-height: inherit;
}
.hero-copy {
    padding: clamp(36px, 5vh, 58px) 0 90px;
}
.hero h1 {
    font-size: clamp(2.2rem, 4.2vw, 3.8rem);
    line-height: 1.08;
}
.slider-nav {
    bottom: 14px;
}
.arrow {
    width: 38px;
    height: 38px;
    background: var(--dark);
    color: #fff;
    border: 2px solid var(--yellow);
}
.dot.active {
    background: var(--yellow);
}

/* Compact section spacing while keeping clear separation between page areas. */
.section {
    padding-block: clamp(30px, 4vw, 48px);
}
.pagehero.section-anchor {
    padding-block: 24px;
}
.section-head {
    align-items: center;
}
.section-head h2,
.about h2,
.partner h2,
.welcome h2 {
    font-family: "Poppins", sans-serif;
}

/* Navigation links scroll to the exact single-page section. */
.navlinks {
    align-items: center;
}
.navlinks a {
    white-space: nowrap;
}
.navlinks .login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 18px;
    border-radius: 999px;
    color: var(--dark);
    background: var(--yellow);
    font-weight: 800;
    line-height: 1.3;
    border: 2px solid var(--yellow);
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.navlinks .login-btn::after {
    display: none;
}
.navlinks .login-btn:hover {
    background: #fff3a3;
    color: var(--dark);
    transform: translateY(-1px);
}
.navlinks .login-btn.active {
    color: var(--dark);
}

/* Product category tabs show one manageable group at a time. */
.product-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 20px;
}
.filter-btn {
    border: 1px solid #d2dfc9;
    border-radius: 999px;
    padding: 9px 17px;
    background: #fff;
    color: var(--green);
    font: inherit;
    font-size: .9rem;
    font-weight: 700;
    cursor: pointer;
    transition: .2s ease;
}
.filter-btn:hover,
.filter-btn.active {
    background: var(--green);
    color: #fff;
    border-color: var(--green);
}
.product[hidden] {
    display: none !important;
}
.products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
}
.product img {
    height: 130px;
    object-fit: cover;
}
.product h3 {
    margin: 5px 0;
    font-size: 1rem;
    line-height: 1.35;
}
.product p {
    font-size: .86rem;
    line-height: 1.55;
}
.product .price {
    font-size: .82rem;
}
.product-inquiry {
    flex-shrink: 0;
}

/* Center mission and vision content; match each icon circle to its card color. */
.box {
    text-align: center;
}
.box h3 {
    text-align: center;
    margin: 8px 0;
}
.box .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    border: 0;
    border-radius: 50%;
    background: var(--yellow);
    color: #fff;
}
.box.yellow .icon {
    background: var(--dark);
    color: var(--yellow);
}

/* Contact cards have matching dimensions and a green message panel. */
.contact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 22px;
}
.contact-card,
.form-card {
    min-width: 0;
    height: 100%;
    border-radius: 18px;
    padding: clamp(20px, 2.5vw, 28px);
}
.contact-card {
    background: #fff;
    border: 1px solid #dce9d6;
    color: var(--text);
}
.form-card {
    background: var(--green);
    border: 1px solid var(--green);
    color: #fff;
}
.form-card .kicker,
.form-card h2,
.form-card label {
    color: #fff;
}
.form-card .note {
    color: #e3eadf;
}
.form-card .form-group input,
.form-card .form-group select,
.form-card .form-group textarea {
    background: #fff;
    color: var(--text);
    border-color: #d6e2d0;
}
.form-card .btn {
    background: var(--yellow);
    color: var(--dark);
}
.contact-row a {
    text-decoration: underline;
    text-decoration-color: #b8cbb1;
    text-underline-offset: 3px;
}
.contact-row a:hover {
    color: var(--dark);
}

/* FAQ stays compact and expands cleanly when clicked. */
.faq-item.open .faq-a {
    max-height: 260px;
}
.faq-q {
    gap: 16px;
    align-items: center;
}
.faq-q span {
    flex: 0 0 auto;
}

/* The footer appears once, at the end of the one-page site. */
footer {
    margin-top: 0;
    padding: 30px 0 14px;
}

@media (max-width: 1100px) {
    .navlinks { gap: 13px; font-size: .84rem; }
    .brand img { width: 78px; }
    .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
    html { scroll-padding-top: 78px; }
    section[id], .section-anchor { scroll-margin-top: 78px; }
    .hero { min-height: 540px; }
    .hero-copy { padding: 38px 0 90px; }
    .hero h1 { font-size: clamp(2.1rem, 10vw, 3rem); }
    .section { padding-block: 32px; }
    .section-head { align-items: flex-start; }
    .product-inquiry { margin-top: 12px; }
    .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .product img { height: 112px; }
    .contact { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .contact-card, .form-card { height: auto; padding: 20px; }
    .nav { position: relative; }
    .navlinks {
        align-items: stretch;
        top: 100%;
        max-height: calc(100vh - 78px);
        overflow-y: auto;
        z-index: 110;
        border-top: 1px solid #ffffff20;
        box-shadow: 0 12px 24px #173c2533;
    }
    .navlinks .login-btn {
        align-self: flex-start;
        margin: 8px 0 10px;
        padding: 10px 20px;
    }
    .navlinks a { white-space: normal; }
    .product-filters { gap: 8px; }
    .filter-btn { padding: 8px 13px; font-size: .84rem; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 430px) {
    .products { grid-template-columns: minmax(0, 1fr); }
    .footer-grid { grid-template-columns: minmax(0, 1fr); }
    .welcome h2 { font-size: 1.35rem; line-height: 1.35; }
}



/* =========================================================
   SANCTUARIO WEBSITE 2.2 — REFINED ONE-PAGE SECTION COVERS
========================================================= */

/* Use understated cover-photo banners instead of flat, repetitive blocks. */
.pagehero.cover-banner {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 138px;
    padding: 30px 0;
    background-color: var(--dark);
    background-position: center 48%;
    background-size: cover;
    border-block: 1px solid rgba(237, 217, 102, .25);
}

.pagehero.cover-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        105deg,
        rgba(30, 58, 32, .88),
        rgba(46, 81, 41, .70) 58%,
        rgba(46, 81, 41, .40)
    );
}

.pagehero.cover-banner .container {
    position: relative;
    z-index: 1;
}

.pagehero.cover-banner .kicker {
    color: var(--yellow);
    letter-spacing: .12em;
}

.pagehero.cover-banner h2 {
    margin: 4px 0 0;
    color: #fff;
    font-size: clamp(1.8rem, 3.4vw, 2.65rem);
    line-height: 1.15;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .18);
}

#farm-info.cover-banner {
    background-image: url('../images/farm1.jpg');
}

#products.cover-banner {
    background-image: url('../images/fruits.jpg');
}

#engage.cover-banner {
    background-image: url('../images/farm2.jpg');
}

#contact.cover-banner {
    background-image: url('../images/farm3.jpg');
}

/* Keep anchor targets visible just below the sticky navigation. */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}

.section-anchor {
    scroll-margin-top: 88px;
}

/* Real Google Maps embed fills the map panel without the decorative fake roads. */
.map-embed {
    padding: 0;
    min-height: 360px;
    background: #e7efdf;
}

.map-embed::before,
.map-embed::after,
.map-embed .road,
.map-embed .pin,
.map-embed .map-label {
    display: none;
}

.map-embed iframe {
    position: relative;
    z-index: 3;
    border: 0;
    width: 100%;
    height: 100%;
    min-height: 360px;
    display: block;
    border-radius: 16px;
}

.location span a {
    color: var(--green);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.location span a:hover,
.location span a:focus-visible {
    color: var(--dark);
}

/* Avoid cramped section covers and map overflow on small screens. */
@media (max-width: 700px) {
    .pagehero.cover-banner {
        min-height: 118px;
        padding: 24px 0;
        background-position: center;
    }

    .pagehero.cover-banner h2 {
        font-size: clamp(1.7rem, 7vw, 2.2rem);
    }

    .map-embed,
    .map-embed iframe {
        min-height: 320px;
    }
}


/* Contact-page social links; retained independently of the footer. */
.contact-follow {
    margin-top: 22px;
    padding-top: 15px;
    border-top: 1px solid #dce9d6;
}

.contact-follow h3 {
    margin-bottom: 9px;
    color: var(--dark);
    font-size: 1.5rem;
}

.contact-social {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    flex-wrap: wrap;
}

.contact-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    background: #fff;
    color: var(--dark);
    border: 1px solid #dce9d6;
    border-radius: 50%;
    text-decoration: none;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.contact-social a:hover,
.contact-social a:focus-visible {
    background: var(--yellow);
    color: var(--dark);
    transform: translateY(-2px);
}

.contact-social svg {
    display: block;
    width: 23px;
    height: 23px;
    fill: currentColor;
}

/* =========================================================
   FOOTER — COMPACT, RESPONSIVE, THREE-COLUMN LAYOUT
========================================================= */
footer {
    margin-top: 0;
    padding: 16px 0 8px;
    background: var(--dark);
    color: #fff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 140px 190px 140px;
    grid-template-areas: "explore brand contact";
    align-items: center;
    justify-content: center;
    column-gap: 16px;
    min-height: 72px;
}

.footer-explore {
    grid-area: explore;
    justify-self: end;
    min-width: 0;
    text-align: left;
}

.footer-brand {
    grid-area: brand;
    justify-self: center;
    align-self: center;
    min-width: 0;
    width: auto;
    text-align: center;
    transform: none;
}

.footer-connect {
    grid-area: contact;
    justify-self: start;
    min-width: 0;
    text-align: left;
}

.footer-brand .footer-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-decoration: none;
}

.footer-brand .footer-logo img {
    display: block;
    width: 190px;
    max-width: 100%;
    max-height: 72px;
    height: auto;
    object-fit: contain;
    border-radius: 0;
}

footer h3 {
    margin: 0 0 7px;
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.3;
}

.footer-links {
    display: grid;
    gap: 3px;
    color: #d1e0d5;
    font-size: .82rem;
    line-height: 1.4;
}

.footer-links a {
    color: inherit;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.footer-links a:hover,
.footer-links a:focus-visible {
    color: var(--yellow);
}

.copyright {
    margin-top: 8px;
    padding-top: 7px;
    border-top: 1px solid #ffffff22;
    color: #9eb4a4;
    font-size: .72rem;
    line-height: 1.4;
    text-align: center;
}

/* Keep the same three-part footer on phones without overlapping. */
@media (max-width: 700px) {
    footer {
        padding: 10px 0 6px;
    }

    .footer-grid {
        grid-template-columns: minmax(0, 140px) 190px minmax(0, 140px);
        column-gap: 30px;
        grid-template-areas: "explore brand connect";
        gap: 8px;
        min-height: 58px;
        padding: 0;
    }

    .footer-explore {
        justify-self: start;
    }

    .footer-brand {
        width: auto;
    }

    .footer-brand .footer-logo img {
        width: clamp(72px, 22vw, 115px);
        max-height: 58px;
    }

    .footer-connect {
        justify-self: end;
        text-align: right;
    }

    footer h3 {
        margin-bottom: 4px;
        font-size: .76rem;
    }

    .footer-links {
        gap: 2px;
        font-size: .65rem;
        line-height: 1.35;
    }

    .copyright {
        margin-top: 5px;
        padding-top: 4px;
        font-size: .65rem;
    }
}

@media (max-width: 360px) {
    .footer-grid {
        gap: 5px;
        grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr);
    }

    .footer-brand .footer-logo img {
        width: 72px;
    }

    footer h3 {
        font-size: .7rem;
    }

    .footer-links {
        font-size: .61rem;
    }
}

/* FOOTER SPACING FIX */
.footer-grid {
    display: grid !important;
    grid-template-columns: 1fr 240px 1fr !important;
    width: min(1100px, 96%) !important;
    margin: 0 auto !important;
    column-gap: 55px !important;
    align-items: center !important;
}

.footer-explore {
    justify-self: center !important;
    text-align: left !important;
}

.footer-brand {
    justify-self: center !important;
    text-align: center !important;
    transform: none !important;
}

.footer-connect {
    justify-self: center !important;
    text-align: left !important;
}

.footer h3,
.footer-links h3 {
    color: white !important;
}

/* MOBILE */
@media (max-width: 700px) {
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        text-align: center !important;
    }

    .footer-explore,
    .footer-brand,
    .footer-connect {
        justify-self: center !important;
        text-align: center !important;
    }
}

/* Product cards, customer-view details, mobile layout, and brand icons */
.product-filters { display:flex; flex-wrap:wrap; gap:10px; margin:0 0 22px; }
.product[hidden] { display:none !important; }
.products { grid-template-columns:repeat(3,minmax(0,1fr)); align-items:stretch; }
.product { display:flex; flex-direction:column; min-width:0; height:100%; }
.product-image { height:180px; display:flex; align-items:center; justify-content:center; padding:12px; background:#fff; overflow:hidden; }
.product-image img { display:block; width:100%; height:100%; object-fit:contain; background:#fff; }
.product-body { display:flex; flex:1; flex-direction:column; align-items:flex-start; gap:8px; }
.product-body h3 { margin:2px 0 0; }
.product-body p { margin:0; }
.product-contact { margin-top:auto; color:var(--green); font-weight:700; text-decoration:underline; text-underline-offset:3px; }
.product-details { margin-top:3px; padding:9px 15px; font-size:.9rem; cursor:pointer; }
.product-interest { margin-top:26px; padding:22px 24px; border-radius:18px; background:var(--green); color:#fff; display:flex; align-items:center; justify-content:space-between; gap:16px; }
.product-interest p { margin:0; font-size:1.25rem; font-weight:800; }
.product-interest .btn { background:var(--yellow); color:var(--dark); }
.arrow:disabled { opacity:.35; cursor:not-allowed; pointer-events:none; }
.arrow:not(:disabled):hover { background:var(--green); }
.product-modal { position:fixed; inset:0; z-index:9999; display:none; align-items:center; justify-content:center; padding:18px; background:rgba(15,35,20,.62); overflow-y:auto; }
.product-modal.open { display:flex; }
.product-modal-dialog { position:relative; width:min(100%,460px); max-height:calc(100dvh - 36px); overflow-y:auto; padding:26px; border-radius:20px; background:#fff; color:var(--dark); box-shadow:0 18px 60px #0003; }
.product-modal-close { position:absolute; top:10px; right:12px; width:36px; height:36px; border:0; border-radius:50%; background:#eef4eb; color:var(--dark); font-size:1.65rem; line-height:1; cursor:pointer; }
.product-modal-image { height:180px; margin:0 0 16px; display:flex; align-items:center; justify-content:center; background:#fff; }
.product-modal-image img { max-width:100%; max-height:100%; object-fit:contain; }
.product-modal-dialog h2 { margin:8px 38px 8px 0; font-size:1.6rem; }
.product-modal-dialog p { line-height:1.55; }
.product-detail-list { margin:18px 0; border-top:1px solid #e2eadf; }
.product-detail-list div { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:12px 0; border-bottom:1px solid #e2eadf; }
.product-detail-list dt { color:var(--muted); }
.product-detail-list dd { margin:0; font-weight:800; text-align:right; }
.product-modal-note { color:var(--muted); font-size:.85rem; }
.product-modal-close-action { width:100%; margin-top:5px; cursor:pointer; }
body.modal-open { overflow:hidden; }
.contact-social a[title="Facebook"] { background:#1877f2; color:#fff; border-color:#1877f2; }
.contact-social a[title="Facebook"] svg { fill:#fff; width:35px; height:35px; }
.contact-social a[title="Email Sanctuario"] { background:#fff; border-color:#dce9d6; }
.contact-social a[title="Email Sanctuario"] svg { width:40px; height:40px; fill:currentColor; }
.contact-social a:hover, .contact-social a:focus-visible { transform:translateY(-2px); }
@media (max-width:900px) { .products { grid-template-columns:repeat(2,minmax(0,1fr)); } .product-image { height:160px; } }
@media (max-width:600px) {
 .products { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
 .product-image { height:125px; padding:8px; }
 .product-body { padding:11px; gap:7px; }
 .product-body h3 { font-size:1rem; line-height:1.3; }
 .product-body p { font-size:.84rem; line-height:1.4; }
 .product-contact { font-size:.82rem; }
 .product-details { width:100%; padding:9px 8px; font-size:.84rem; }
 .product-interest { align-items:flex-start; flex-direction:column; padding:18px; }
 .product-modal-dialog { padding:22px 18px; }
 .product-modal-image { height:145px; }
}
@media (max-width:360px) { .products { grid-template-columns:minmax(0,1fr); } .product-image { height:175px; } }
/* Align only the View Details button to the right */
.product-inquiry {
    text-align: right;
}

.product-inquiry > a,
.product-inquiry > button {
    display: inline-block;
    width: fit-content;
    margin-left: auto;
    margin-right: 0;
}
/* Move only the View Details button to the right */
.product-details {
    display: block !important;
    width: fit-content !important;
    margin-left: auto !important;
    margin-right: 0 !important;
}