/* =======================================================
   CSS Reset & Normalize
======================================================= */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}
body {
    line-height: 1.5;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    background-color: #FBFAF6;
    color: #2A2C1F;
    min-height: 100vh;
}
img {
    max-width: 100%;
    display: block;
}
a {
    color: #22476B;
    text-decoration: none;
    transition: color 0.2s;
}
a:hover, a:focus {
    color: #1F5D36;
    outline: none;
}
ul, ol {
    list-style: none;
    padding-left: 0;
}
strong {
    font-weight: bold;
}

/* =======================================================
   Typography
======================================================= */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    color: #1F3726;
    letter-spacing: 0.01em;
    margin-bottom: 16px;
    font-weight: 700;
}
h1 {
    font-size: 2.25rem;
    line-height: 1.1;
    margin-bottom: 20px;
}
h2 {
    font-size: 1.5rem;
    margin-bottom: 18px;
}
h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
}
p {
    font-size: 1rem;
    margin-bottom: 12px;
    color: #274032;
}
address {
    font-style: normal;
    color: #31554B;
    font-size: 0.98rem;
}

/* Typography scale for responsive */
@media (min-width: 600px) {
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.25rem; }
    p, li, address { font-size: 1.08rem; }
}

/* =======================================================
   Nature Organic Brand Palette & Variables
======================================================= */
:root {
    --c-primary: #22476B;
    --c-secondary: #F3B23E;
    --c-accent: #E5E5E5;
    --c-green: #1F5D36;
    --c-brown: #C3AC81;
    --c-bg-main: #FBFAF6;
    --c-bg-card: #FFFBF4;
    --c-bg-section: #F5F3EA;
    --c-text-dark: #1F3726;
    --c-text: #2A2C1F;
    --c-muted: #627460;
    --c-section-border: #E1DBC6;
}

/* Font Fallbacks */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,700&display=swap');

/* =======================================================
   Layout Containers & Spacing (Flex Only)
======================================================= */
.container {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.section {
    padding: 40px 20px;
    background: var(--c-bg-section);
    border-radius: 32px;
    box-shadow: 0 2px 10px rgba(31,93,54,0.03);
    border: 1px solid var(--c-section-border);
    transition: background 0.3s;
}

@media (max-width: 600px) {
    .section {
        padding: 28px 10px;
        margin-bottom: 35px;
    }
}

/* Content Card Containers */
.card-container            { display: flex; flex-wrap: wrap; gap: 24px; }
.card                      { background: var(--c-bg-card); margin-bottom: 20px; border-radius: 20px; box-shadow: 0 1px 7px rgba(31,93,54,0.07); padding: 24px; position: relative; display: flex; flex-direction: column; transition: box-shadow 0.24s, transform 0.2s; }
.card:hover, .card:focus   { box-shadow: 0 4px 32px rgba(43,125,68,0.12); transform: translateY(-2px); }
.content-grid              { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; }
.text-image-section        { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
@media (max-width: 768px) { .text-image-section { flex-direction: column; align-items: flex-start; gap: 16px; } }
.testimonial-card          { display: flex; align-items: center; gap: 20px; padding: 20px; background: #F7F6EE; border-radius: 24px; box-shadow: 0 4px 16px rgba(43,125,68,0.09); margin-bottom: 20px; border-left: 6px solid var(--c-green); flex-direction: column; transition: box-shadow 0.18s, border-color 0.18s; }
.testimonial-card:hover,
.testimonial-card:focus    { box-shadow: 0 6px 28px rgba(31,93,54,0.14); border-left: 6px solid var(--c-secondary); }
.feature-item              { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; padding: 18px 0 12px 0; }
.faq-accordion div         { background: var(--c-bg-card); border-radius: 18px; margin-bottom: 20px; padding: 22px; border: 1px solid #E7E4DD; box-shadow: 0 1px 8px rgba(31,93,54,0.03); }

/* Feature grid specialization */
.feature-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 20px;
}
.feature-grid > div {
    flex: 1 1 210px;
    min-width: 220px;
    background: #F9F8F3;
    border-radius: 18px;
    box-shadow: 0 2px 10px rgba(31,93,54,0.06);
    padding: 24px 22px 18px 22px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: box-shadow 0.21s, background 0.19s;
    position: relative;
}
.feature-grid > div:hover {
    box-shadow: 0 6px 28px rgba(43,125,68,0.1);
    background: #F5F3EA;
    z-index: 1;
}
.feature-grid img {
    width: 38px;
    margin-bottom: 16px;
}

@media (max-width: 900px) {
    .feature-grid > div {
        flex: 1 1 47%;
    }
}
@media (max-width: 600px) {
    .feature-grid {
        flex-direction: column;
        gap: 15px;
    }
    .feature-grid > div {
        min-width: 0;
        width: 100%;
    }
}

/* =======================================================
   Header & Navigation
======================================================= */
header {
    width: 100%;
    background: var(--c-bg-main);
    box-shadow: 0 1px 10px rgba(34,71,107,0.06);
    position: sticky;
    top: 0;
    z-index: 80;
}
header .container {
    min-height: 74px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0;
}
header img {
    height: 54px;
    width: auto;
    border-radius: 16px 32px 12px 26px / 18px 28px 38px 12px;
    background: #EAF4EA;
}
nav {
    display: flex;
    align-items: center;
    gap: 24px;
}
nav a {
    padding: 8px 12px;
    font-weight: 500;
    color: var(--c-primary);
    border-radius: 16px;
    font-family: 'Montserrat', Arial, sans-serif;
    letter-spacing: 0.01em;
    font-size: 1rem;
    background: transparent;
    transition: background 0.17s, color 0.17s;
    position: relative;
}
nav a.cta {
    background: var(--c-green);
    color: #fff;
    font-weight: 700;
    border-radius: 20px;
    box-shadow: 0 2px 12px rgba(31,93,54,0.08);
    padding: 9px 20px;
    margin-left: 16px;
    letter-spacing: 0.02em;
    transition: background 0.22s, color 0.19s, box-shadow 0.18s;
}
nav a.cta:hover, nav a.cta:focus {
    background: var(--c-secondary);
    color: var(--c-green);
    box-shadow: 0 2px 18px rgba(243,178,62,0.11);
}
nav a:hover, nav a:focus {
    background: #E5F4E5;
    color: var(--c-green);
}

/* Hide nav on mobile */
@media (max-width: 996px) {
    header nav {
        display: none;
    }
}

/* =======================================================
   Mobile Menu
======================================================= */
.mobile-menu-toggle {
    background: var(--c-green);
    color: #fff;
    font-size: 2.1rem;
    border: none;
    padding: 6px 14px;
    border-radius: 19px;
    margin-left: 16px;
    display: none;
    cursor: pointer;
    transition: background 0.2s;
    z-index: 101;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
    background: var(--c-secondary);
    color: var(--c-primary);
}
@media (max-width: 996px) {
    .mobile-menu-toggle {
        display: block;
    }
}

.mobile-menu {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(251, 250, 246, 0.98);
    z-index: 120;
    transform: translateX(100%);
    transition: transform 0.37s cubic-bezier(.64,.01,.39,1.05);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 36px 22px 22px 22px;
}
.mobile-menu.active {
    transform: translateX(0);
}
.mobile-menu-close {
    background: var(--c-secondary);
    color: #fff;
    border: none;
    font-size: 2rem;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    align-self: flex-end;
    margin-bottom: 26px;
    cursor: pointer;
    transition: background 0.15s;
    box-shadow: 0 0 6px rgba(243,178,62,0.10);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
    background: var(--c-green);
    color: #fff;
}
.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    margin-top: 16px;
}
.mobile-nav a {
    background: transparent;
    color: var(--c-primary);
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.15rem;
    padding: 14px 10px;
    border-radius: 16px;
    text-align: left;
    transition: background 0.18s;
    width: 100%;
    font-weight: 600;
}
.mobile-nav a:hover, .mobile-nav a:focus {
    background: #E5F4E5;
    color: var(--c-green);
}
.mobile-nav a.cta{
    background: var(--c-green);
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(31,93,54,0.07);
    border-radius: 20px;
    font-weight: 700;
}
@media (min-width: 997px) {
    .mobile-menu {
        display: none !important;
    }
}

/* Prevent body scroll when mobile menu open */
body.mobile-nav-open {
    overflow: hidden;
}

/* =======================================================
   Main & Section Spacing
======================================================= */
main {
    width: 100%;
    min-height: 80vh;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 0;
}
section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}
@media (max-width: 600px) {
    section { margin-bottom: 24px; }
}

/* =======================================================
   CTA Buttons
======================================================= */
.cta,
a.cta {
    background: var(--c-secondary);
    color: var(--c-primary);
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.07rem;
    font-weight: 700;
    border: none;
    border-radius: 30px;
    box-shadow: 0 2px 14px rgba(243,178,62,0.12);
    padding: 13px 32px 13px 32px;
    margin: 26px 0 14px 0;
    display: inline-block;
    cursor: pointer;
    letter-spacing: 0.02em;
    outline: none;
    transition: background 0.19s, color 0.16s, box-shadow 0.16s, transform 0.16s;
    text-align: center;
}
.cta:hover, .cta:focus, a.cta:hover, a.cta:focus {
    background: var(--c-green);
    color: #fff;
    box-shadow: 0 4px 26px rgba(31,93,54,0.18);
    transform: translateY(-1px) scale(1.025);
    text-decoration: none;
}

/* =======================================================
   Text & List Treatments
======================================================= */
ul, ol {
    margin-left: 1.35em;
    margin-bottom: 18px;
    color: #456548;
    line-height: 1.65;
}
ul li, ol li {
    margin-bottom: 9px;
    padding-left: 4px;
}
ul li:before {
    content: '•';
    color: var(--c-secondary);
    margin-right: 10px;
    font-size: 1.1em;
}

/* Remove bullets in special containers */
.feature-grid ul, .card-container ul, .faq-accordion ul {
    list-style: none;
    margin-left: 0;
}

/* For lists with icons */
.text-section ul li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding-left: 0;
    color: #305b3f;
}
.text-section ul li img {
    width: 26px;
    height: 26px;
    margin: 0;
}

/* FAQ Accordion No Dots */
.faq-accordion {
    margin-top: 30px;
}
.faq-accordion h3 {
    font-size: 1.13rem;
    color: var(--c-green);
    margin-bottom: 10px;
    cursor: pointer;
    font-weight: bold;
}
.faq-accordion p {
    margin-bottom: 0;
}

/* =======================================================
   Testimonials
======================================================= */
.testimonial-card {
    background: #F7F6EE;
    color: #1F3726;
    border-left: 6px solid var(--c-green);
    box-shadow: 0 4px 16px rgba(43,125,68,0.09);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
    padding: 22px 24px;
    min-width: 0;
}
.testimonial-card p {
    margin-bottom: 6px;
    font-size: 1.02rem;
    color: #1F3726;
    font-family: 'Roboto', Arial, sans-serif;
}
.testimonial-card span {
    color: #446852;
    font-size: 0.965rem;
    letter-spacing: 0.01em;
}

/* =======================================================
   Footer
======================================================= */
footer {
    background: #ECE5D9;
    border-top: 1px solid #E1DBC6;
    padding: 34px 0 24px 0;
}
footer .container {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    max-width: 1150px;
}
footer nav {
    display: flex;
    gap: 18px;
    align-items: center;
    flex-wrap: wrap;
    color: var(--c-green);
    font-size: 1.07rem;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 500;
    margin-bottom: 6px;
}
footer nav a {
    color: var(--c-green);
    opacity: 0.88;
    background: transparent;
    border-radius: 8px;
    padding: 2px 8px;
    transition: background 0.17s, color 0.14s;
}
footer nav a:hover, footer nav a:focus {
    color: #fff;
    background: var(--c-green);
}
footer .text-section {
    text-align: center;
    margin-top: 8px;
}
footer p {
    font-size: 0.98rem;
    color: #415046;
}
footer address {
    font-size: 0.97rem;
    color: #5f8f6e;
    margin-top: 5px;
    font-style: normal;
    display: block;
}

/* =======================================================
   Cookie Consent Banner & Modal
======================================================= */
.cookie-banner {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    background: #F9F7F3;
    color: var(--c-text-dark);
    border-top: 2px solid var(--c-brown);
    box-shadow: 0 -2px 12px rgba(49,85,75,0.09);
    z-index: 2000;
    padding: 20px 15px 22px 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 1rem;
    animation: cookie-slide-in 0.55s cubic-bezier(.46,.08,.31,1.11);
}
@keyframes cookie-slide-in {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-text {
    flex: 1 1 280px;
    min-width: 180px;
    font-size: 1.02rem;
    color: #273235;
}
.cookie-banner .cookie-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}
.cookie-btn {
    background: var(--c-green);
    color: #fff;
    border: none;
    border-radius: 18px;
    padding: 8px 20px;
    font-size: 1rem;
    font-family: 'Montserrat', Arial, sans-serif;
    cursor: pointer;
    font-weight: 600;
    letter-spacing: 0.01em;
    box-shadow: 0 2px 10px rgba(31,93,54,0.07);
    transition: background 0.18s, color 0.18s, transform 0.12s;
}
.cookie-btn:hover, .cookie-btn:focus {
    background: var(--c-secondary);
    color: var(--c-green);
    transform: scale(1.05);
}
.cookie-btn.cookie-settings {
    background: #fff;
    color: var(--c-green);
    border: 1.5px solid var(--c-green);
}
.cookie-btn.cookie-settings:hover {
    background: var(--c-green);
    color: #fff;
}

/* Cookie Modal Popup */
.cookie-modal {
    position: fixed;
    left: 0; top: 0; right: 0; bottom: 0;
    background: rgba(34,71,107,0.12);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: cookie-modal-in 0.33s cubic-bezier(.56,.17,.64,1);
}
@keyframes cookie-modal-in {
    from { opacity: 0; }
    to { opacity: 1; }
}
.cookie-modal-content {
    background: #F5F3EA;
    border-radius: 32px;
    padding: 38px 36px 30px 36px;
    box-shadow: 0 6px 40px rgba(34,71,107,0.10);
    min-width: 320px;
    max-width: 94vw;
    color: var(--c-text-dark);
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
}
.cookie-modal-content h2 {
    font-size: 1.45rem;
    margin-bottom: 15px;
    font-family: 'Montserrat', Arial, sans-serif;
    color: var(--c-green);
}
.cookie-modal-content .close-modal {
    position: absolute;
    top: 21px; right: 28px;
    background: var(--c-secondary);
    color: #fff;
    border: none;
    font-size: 1.6rem;
    border-radius: 50%;
    width: 38px; height: 38px;
    cursor: pointer;
    transition: background 0.13s;
}
.cookie-modal-content .close-modal:hover {
    background: var(--c-green);
    color: #fff;
}
.cookie-option {
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 15px;
}
.cookie-option label {
    font-size: 1rem;
    font-family: 'Roboto', Arial, sans-serif;
    color: var(--c-text-dark);
}
.cookie-toggle {
    position: relative;
    width: 36px; height: 20px;
    display: inline-block;
}
.cookie-toggle input[type="checkbox"] {
    opacity: 0; width: 0; height: 0;
}
.cookie-toggle .slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #ddd;
    border-radius: 20px;
    transition: background .2s;
}
.cookie-toggle input:checked + .slider {
    background: var(--c-green);
}
.cookie-toggle .slider:before {
    content: "";
    position: absolute;
    left: 2px; bottom: 2px;
    width: 16px; height: 16px;
    background: #fff;
    border-radius: 50%;
    transition: 0.2s;
    box-shadow: 0 1px 4px rgba(31,93,54,0.07);
}
.cookie-toggle input:checked + .slider:before {
    transform: translateX(16px);
}
.cookie-option .cookie-desc {
    color: #506a5b;
    font-size: 0.95rem;
}
.cookie-modal-actions {
    margin-top: 15px;
    display: flex;
    gap: 16px;
    width: 100%;
    justify-content: flex-end;
}

@media (max-width:480px) {
    .cookie-modal-content {
        padding: 22px 10px 20px 12px;
        min-width: 0;
        width: 98vw;
    }
}

/* =======================================================
   Organic/Nature Visual Details & Animations
======================================================= */
section, .card, .feature-grid > div {
    border-radius: 32px 16px 18px 39px/20px 38px 24px 29px;
}

/* Subtle paper texture (SVG) overlay for cards */
.card, .feature-grid > div {
    background-image: url('data:image/svg+xml;utf8,<svg width="100%25" height="100%25" xmlns="http://www.w3.org/2000/svg"><rect fill="%23fffbf4" width="100%25" height="100%25"/><path fill="%23f5f3ea" opacity=".12" d="M0 37 Q144 100 320 44 T600 38 V600 H0 Z"/></svg>');
    background-size: cover;
}

/* Organic shape overlay for hero (pseudo before for h1) */
h1::before {
    content: '';
    display: inline-block;
    width: 54px;
    height: 19px;
    background: var(--c-secondary);
    border-radius: 24px 18px 24px 37px;
    vertical-align: middle;
    margin-right: 16px;
    opacity: 0.35;
}

@media (max-width:600px) {
    h1::before {
        width: 36px;
        height: 13px;
        margin-right: 10px;
    }
}

/* Subtle organic hover for feature-item/card */
.card, .feature-grid > div {
    transition: box-shadow 0.17s, transform 0.12s, background 0.18s;
}
.card:hover, .feature-grid > div:hover {
    transform: translateY(-0.5px) scale(1.014);
    background: #F5F3EA;
}
.card:active, .feature-grid > div:active { transform: scale(0.995); }

/* Subtle Shadow for hover */
.card:hover, .feature-grid > div:hover {
    box-shadow: 0 6px 24px rgba(34,71,107,0.13);
}

/* =======================================================
   Responsive Layouts & Spacing
======================================================= */
@media (max-width: 768px) {
    .container {
        padding: 0 8px;
    }
    .feature-grid, .card-container, .content-grid {
        flex-direction: column;
        gap: 18px;
    }
    footer nav {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width:520px) {
    h1 { font-size: 1.28rem; }
    h2 { font-size: 1.02rem; }
    .feature-grid > div {
        padding: 14px 10px 11px 12px;
    }
    .card {
        padding: 17px 8px;
    }
}

/* Prevent card and section overlap, ensure spacing */
.card, .feature-grid > div, .section, .testimonial-card, .faq-accordion div {
    margin-bottom: 20px;
}
.content-wrapper > *:not(:last-child) {
    margin-bottom: 18px;
}

/* =======================================================
   Utility Classes
======================================================= */
.text-section {
    margin-top: 8px;
    margin-bottom: 12px;
    color: #414531;
}
.text-center { text-align: center; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0 !important; }
.mb-20 { margin-bottom: 20px !important; }
.mt-20 { margin-top: 20px !important; }
.px-0 { padding-left: 0 !important; padding-right: 0 !important; }
.pt-0 { padding-top: 0 !important; }

/* =======================================================
   Forms (for potential future forms)
======================================================= */
input, textarea, select {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 1rem;
    border-radius: 10px;
    border: 1.5px solid #C3AC81;
    padding: 11px 14px;
    background: #F5F3EA;
    margin-bottom: 18px;
    width: 100%;
    box-shadow: 0 1px 6px rgba(31,93,54,0.03);
    transition: border 0.19s, box-shadow 0.13s;
}
input:focus, textarea:focus, select:focus {
    border-color: var(--c-green);
    box-shadow: 0 2px 20px rgba(31,93,54,0.10);
    outline: none;
}

/* =======================================================
   Miscellaneous
======================================================= */
::-webkit-scrollbar {
    width: 10px;
    background: #EAE7DD;
}
::-webkit-scrollbar-thumb {
    background: var(--c-brown);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--c-green);
}

::selection {
    background: var(--c-secondary);
    color: #fff;
}

/* Hide outline for mouse, show for keyboard */
:focus:not(:focus-visible) {
    outline: none;
}

/* =========== END OF STYLE.CSS =========== */
