/* CSS RESET & BASE CORRECTIVES */
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 {
    height: 100%;
    scroll-behavior: smooth;
}
body {
    line-height: 1.5;
    min-height: 100vh;
    background: #F8FAF6;
    font-family: 'Roboto', Arial, sans-serif;
    color: #294733;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
ol, ul {
    list-style: none;
}
a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
img {
    max-width: 100%;
    height: auto;
}
table {
    border-collapse: collapse;
    width: 100%;
}
th, td {
    padding: 10px 12px;
    text-align: left;
}

/* BRAND COLORS (SOFT PASTEL PALETTE) */
:root {
    --primary: #22543D;
    --secondary: #F5F8FB;
    --accent: #BFAA60;
    --pastel-green: #A8DFC2;
    --pastel-rose: #FFE6E6;
    --pastel-lilac: #F3EAFE;
    --pastel-blue: #D6EBFF;
    --pastel-yellow: #FFF7DD;
    --white: #ffffff;
    --black: #1f231d;
    --text: #294733;
    --shadow: rgba(34,84,61,0.08);
}

/* TYPOGRAPHY */
h1, .h1 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    line-height: 1.14;
    color: var(--primary);
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}
h2, .h2 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 600;
    font-size: 2rem;
    line-height: 1.2;
    color: var(--primary);
    margin-bottom: 16px;
}
h3, .h3 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 500;
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 12px;
}
h4, .h4 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 500;
    font-size: 1.125rem;
    color: var(--primary);
}
p, li, table, td, th, blockquote, label {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 1rem;
    color: var(--text);
}
strong {
    font-weight: 600;
    color: var(--primary);
}
blockquote {
    font-style: italic;
    color: var(--primary);
    border-left: 4px solid var(--accent);
    margin: 16px 0;
    padding-left: 20px;
    background: var(--pastel-rose);
    border-radius: 8px;
}

/* GENERAL SECTION & CONTAINERS */
.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
}
.section {
    margin-bottom: 60px;
    padding: 40px 20px;
    background: var(--white);
    border-radius: 28px;
    box-shadow: 0 2px 24px 0 var(--shadow);
}
.content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

/* FLEXBOX LAYOUTS (MANDATORY) */
.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 24px;
}
.card {
    background: var(--pastel-blue);
    border-radius: 18px;
    box-shadow: 0 2px 12px 0 var(--shadow);
    margin-bottom: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 270px;
    padding: 24px 20px;
    transition: transform .14s, box-shadow .14s;
}
.card:hover {
    transform: translateY(-6px) scale(1.025);
    box-shadow: 0 4px 32px 0 var(--shadow);
}
.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;
}
.testimonial-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    margin-bottom: 20px;
    background: var(--pastel-lilac);
    border-radius: 18px;
    box-shadow: 0 1px 6px 0 var(--shadow);
    color: #222322;
    flex-wrap: wrap;
    transition: box-shadow .18s;
}
.testimonial-card:hover {
    box-shadow: 0 4px 16px 0 var(--shadow);
    background: var(--pastel-blue);
}
.testimonial-card p {
    font-size: 1.1rem;
    flex: 2;
}
.testimonial-card strong {
    display: block;
    font-size: 1rem;
    margin-left: auto;
    color: var(--primary);
}
.testimonial-card div {
    min-width: 80px;
    text-align: center;
    color: var(--accent);
    font-size: 1.15rem;
}
.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    background: var(--pastel-green);
    border-radius: 16px;
    padding: 18px 14px;
    margin-bottom: 20px;
    box-shadow: 0 1px 6px 0 var(--shadow);
}

/* HEADER */
header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--white);
    box-shadow: 0 2px 12px 0 var(--shadow);
    padding: 10px 0;
    position: sticky;
    top: 0; 
    z-index: 101;
}
header a img {
    height: 48px;
    transition: filter 0.25s;
}
header nav {
    display: flex;
    gap: 24px;
    align-items: center;
}
header nav a {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 500;
    font-size: 1rem;
    color: var(--primary);
    padding: 6px 10px;
    border-radius: 8px;
    transition: background 0.16s, color .16s;
}
header nav a:hover,
header nav a:focus {
    background: var(--pastel-green);
    color: var(--accent);
    outline: none;
}
.cta-primary {
    padding: 13px 26px;
    border-radius: 24px;
    background: linear-gradient(90deg, #A8DFC2 0%, #FFE6E6 100%);
    border: none;
    color: var(--primary);
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    margin-left: 18px;
    box-shadow: 0 2px 8px 0 var(--shadow);
    text-align: center;
    transition: background .12s, color .12s, transform .12s;
    cursor: pointer;
    outline: none;
}
.cta-primary:hover, .cta-primary:focus {
    background: linear-gradient(90deg, #FFE6E6 0%, #A8DFC2 100%);
    color: var(--accent);
    transform: scale(1.04);
}
.cta-secondary {
    padding: 11px 22px;
    border-radius: 22px;
    background: var(--pastel-lilac);
    border: 1px solid var(--accent);
    color: var(--primary);
    font-size: 1rem;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 500;
    box-shadow: 0 1px 6px 0 var(--shadow);
    transition: background .12s, color .12s;
    cursor: pointer;
    margin-top: 8px;
    margin-bottom: 8px;
}
.cta-secondary:hover, .cta-secondary:focus {
    background: var(--pastel-blue);
    color: var(--accent);
    border-color: var(--primary);
}
header .mobile-menu-toggle {
    display: none;
    font-size: 2rem;
    background: var(--pastel-green);
    color: var(--primary);
    border: none;
    padding: 6px 14px;
    border-radius: 50%;
    margin-left: 14px;
    cursor: pointer;
    transition: background .17s, color .17s;
    outline: none;
    z-index: 102;
}
header .mobile-menu-toggle:hover, header .mobile-menu-toggle:focus {
    background: var(--accent);
    color: var(--white);
}

/* MOBILE NAVIGATION */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(248,250,246, 0.98);
    z-index: 200;
    display: flex;
    flex-direction: column;
    transform: translateX(-100vw);
    transition: transform .37s cubic-bezier(.76,.12,.31,1), opacity .13s;
    opacity: 0;
    pointer-events: none;
}
.mobile-menu.open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}
.mobile-menu-close {
    background: var(--pastel-lilac);
    color: var(--primary);
    font-size: 2.2rem;
    border: none;
    align-self: flex-end;
    margin: 22px 30px 16px 0;
    cursor: pointer;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px 0 var(--shadow);
    transition: background .16s, color .16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
    background: var(--pastel-green);
    color: var(--accent);
}
.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 28px;
    margin-top: 32px;
}
.mobile-nav a {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 600;
    font-size: 1.25rem;
    padding: 14px 42px;
    border-radius: 14px;
    color: var(--primary);
    background: var(--white);
    box-shadow: 0 1px 4px 0 var(--shadow);
    transition: background .13s, color .13s;
    width: 80vw;
    text-align: center;
}
.mobile-nav a:hover, .mobile-nav a:focus {
    background: var(--pastel-green);
    color: var(--accent);
}

/* MAIN & SECTIONS */
main {
    margin-top: 32px;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    gap: 38px;
}
section {
    margin-bottom: 60px;
    padding: 40px 20px;
    background: var(--white);
    border-radius: 28px;
    box-shadow: 0 2px 24px 0 var(--shadow);
}
section:last-child {
    margin-bottom: 0;
}

/* LISTS, ICON-LISTS, TABLES */
ul {
    margin-left: 0;
    margin-bottom: 12px;
}
ul li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    background: var(--pastel-yellow);
    border-radius: 12px;
    padding: 11px 16px;
    margin-bottom: 10px;
    box-shadow: 0 1px 3px 0 var(--shadow);
}
ul li:last-child { margin-bottom: 0; }
ul li img {
    width: 24px;
    height: 24px;
}
table {
    width: 100%;
    background: var(--pastel-blue);
    border-radius: 18px;
    box-shadow: 0 1px 10px 0 var(--shadow);
    margin: 18px 0 22px 0;
}
thead {
    background: var(--pastel-rose);
}
tbody tr:hover {
    background: var(--pastel-green);
    transition: background .14s;
}
th {
    color: var(--primary);
    font-weight: 600;
}
td {
    color: var(--text);
}

/* FOOTER */
footer {
    padding: 44px 0 24px 0;
    background: #F3FAF5;
    border-top: 1px solid #E2F1EA;
}
footer .container {
    padding: 0 18px;
}
footer .content-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 36px 48px;
    justify-content: space-between;
    align-items: flex-start;
}
footer a img {
    height: 38px;
    filter: grayscale(15%);
    opacity: 0.92;
    transition: filter .16s, opacity .13s;
}
footer nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 12px;
}
footer nav a {
    color: var(--primary);
    font-size: 0.95rem;
    font-family: 'Montserrat', Arial, sans-serif;
    padding: 4px 2px;
    border-radius: 7px;
    transition: color .14s, background .13s;
}
footer nav a:hover, footer nav a:focus {
    background: var(--pastel-rose);
    color: var(--accent);
}
footer ul {
    margin: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
}
footer ul li {
    background: transparent;
    padding: 3px 0;
    box-shadow: none;
    color: var(--text);
    font-size: 0.95rem;
}
footer ul li img {
    width: 19px;
    height: 19px;
    margin-right: 7px;
}
.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 8px;
}
.footer-social a img {
    height: 27px;
    opacity: 0.82;
    filter: grayscale(45%);
    transition: opacity .16s, filter .12s;
}
.footer-social a:hover img, .footer-social a:focus img {
    opacity: 1;
    filter: grayscale(0%);
}

/* COOKIE CONSENT BANNER & MODAL */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    background: var(--pastel-rose);
    color: var(--text);
    padding: 20px 13px 16px 13px;
    box-shadow: 0 -2px 18px var(--shadow);
    z-index: 5000;
    border-top-left-radius: 22px;
    border-top-right-radius: 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    animation: cookieSlideUp .56s cubic-bezier(.16,.63,.53,1);
}
@keyframes cookieSlideUp {
    from { transform: translateY(120%); }
    to { transform: translateY(0); }
}
.cookie-buttons {
    display: flex;
    flex-direction: row;
    gap: 14px;
    margin-top: 6px;
    flex-wrap: wrap;
}
.cookie-btn {
    padding: 10px 22px;
    border-radius: 16px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1rem;
    border: none;
    margin: 0;
    cursor: pointer;
    background: var(--pastel-green);
    color: var(--primary);
    box-shadow: 0 1px 6px 0 var(--shadow);
    transition: background .14s, color .14s;
    outline: none;
}
.cookie-btn.accept {
    background: var(--primary);
    color: var(--white);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
    background: var(--accent);
    color: var(--primary);
}
.cookie-btn.reject {
    background: var(--pastel-rose);
    color: var(--primary);
    border: 1px solid var(--pastel-lilac);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
    background: var(--pastel-lilac);
    color: var(--accent);
}
.cookie-btn.settings {
    background: var(--pastel-blue);
    color: var(--primary);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
    background: var(--pastel-green);
    color: var(--accent);
}

.cookie-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(34,64,55, 0.24);
    z-index: 5001;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: cookieFadeIn .22s cubic-bezier(.13,.5,.77,1);
}
@keyframes cookieFadeIn {
    from {opacity: 0;} to {opacity: 1; }
}
.cookie-modal {
    background: var(--white);
    padding: 30px 24px 22px 24px;
    border-radius: 20px;
    max-width: 400px;
    width: 95vw;
    box-shadow: 0 4px 32px 0 var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-family: 'Roboto', Arial, sans-serif;
}
.cookie-modal h2 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 6px;
    font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-category {
    display: flex;
    align-items: center;
    gap: 13px;
    background: var(--pastel-yellow);
    border-radius: 12px;
    padding: 11px 18px;
    margin-bottom: 7px;
}
.cookie-category input[type="checkbox"] {
    width: 18px;
    height: 18px;
}
.cookie-modal-actions {
    display: flex;
    flex-direction: row;
    gap: 13px;
    margin-top: 6px;
    align-self: flex-end
}

/* ANIMATIONS */
a, button, .cta-primary, .cta-secondary {
    transition: background .15s, color .15s, border-color .13s, box-shadow .16s;
}

/* RESPONSIVE (MOBILE FIRST) */
@media (max-width: 900px) {
    h1, .h1 { font-size: 2.1rem; }
    h2, .h2 { font-size: 1.35rem; }
}
@media (max-width: 768px) {
    .container {
        padding: 0 8px;
    }
    .section, section {
        padding: 28px 8px;
        margin-bottom: 36px;
    }
    .content-wrapper {
        gap: 16px;
    }
    main {
        gap: 18px;
        margin-top: 14px;
    }
    header nav {
        display: none;
    }
    header .cta-primary {
        display: none;
    }
    header .mobile-menu-toggle {
        display: block;
    }
    .footer-social a img {
        height: 23px;
    }
    .card-container, .content-grid {
        flex-direction: column;
        gap: 13px;
    }
    .testimonial-card, .feature-item {
        flex-direction: column;
        gap: 12px;
        padding: 16px 11px;
    }
    .text-image-section {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
    footer .content-wrapper {
        flex-direction: column;
        gap: 21px;
        align-items: flex-start;
    }
}
@media (max-width: 480px) {
    h1, .h1 { font-size: 1.45rem; }
    h2, .h2 { font-size: 1.12rem; }
    .container { padding: 0 2px; }
    .section, section {
        padding: 16px 2px;
        margin-bottom: 23px;
    }
    .card {
        padding: 17px 8px;
    }
}

/* ACCESSIBILITY & FOCUS */
a:focus, button:focus, .cta-primary:focus, .cta-secondary:focus, .mobile-menu-close:focus, .mobile-menu-toggle:focus, .cookie-btn:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    z-index: 10;
}

/* UTILITY: CLEAR SPACING BETWEEN CARDS/SECTIONS */
section + section,
.section + .section,
.card + .card,
.feature-item + .feature-item,
.testimonial-card + .testimonial-card {
    margin-top: 24px;
}

/* SPECIAL OVERRIDES FOR STRONG CONTRAST IN TESTIMONIALS */
.testimonial-card {
    color: #323533;
    background: var(--pastel-lilac);
    border-left: 6px solid var(--pastel-green);
}
.testimonial-card strong {
    color: var(--primary);
}
.testimonial-card p {
    color: #333931;
}
.testimonial-card div {
    color: var(--accent);
}

/* HIDE SCROLL ON BODY WHEN MOBILE MENU OR MODAL OPEN (JS should add body.menu-open or .modal-open) */
body.menu-open,
body.cookie-modal-open {
    overflow: hidden;
}
