/* RESET & BASE ----------------------------------------- */
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,
main, 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 {
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    background: #F9F7F3;
    color: #234063;
    min-height: 100vh;
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    background-image: url('assets/organic-bg-texture.svg');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
body::-webkit-scrollbar {
  width: 10px;
  background: #e7e2d8;
}
body::-webkit-scrollbar-thumb {
  background: #b5a996;
  border-radius: 6px;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, main, menu, nav, section { display: block; }
ol, ul { list-style: none; }
a { color: #234063; text-decoration: none; transition: color .15s; }
a:hover, a:focus { color: #386e33; }
img { max-width: 100%; display: block; border: 0; }
strong { font-weight: 600; }
hr { border: none; border-top: 1px solid #dfdbd3; margin: 32px 0; }

/* TYPOGRAPHY --------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    color: #234063;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 16px;
}
h1 {
    font-size: 2.4rem;
    margin-bottom: 20px;
}
h2 {
    font-size: 1.75rem;
    margin-bottom: 16px;
}
h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}
h4, h5, h6 {
    font-size: 1rem;
    margin-bottom: 10px;
}
p, ul, blockquote, li {
    font-size: 1rem;
    color: #234063;
    margin-bottom: 12px;
}
ul, ol { padding-left: 24px; }
ul li:not(:last-child) { margin-bottom: 8px; }
blockquote {
    font-style: italic;
    color: #346b3b;
    background: #edf7ee;
    border-left: 4px solid #76b852;
    padding: 16px 20px;
    margin: 0 0 12px 0;
    border-radius: 7px 25px 25px 7px;
}

/* CONTAINER & LAYOUTS ------------------------------------ */
.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.section {
    margin-bottom: 60px;
    padding: 40px 20px;
    background: #fff;
    border-radius: 32px 60px 20px 40px;
    box-shadow: 0 4px 24px rgba(84,110,55,0.04), 0 1.5px 7px rgba(52,107,59,0.05);
    transition: box-shadow 0.18s;
}
.content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 28px;
    width: 100%;
}

/* HERO SECTION (index/services/contact) ------------------ */
.hero-section {
  background: #e9f6ec url('assets/organic-hero-bg.svg') center/cover no-repeat;
  margin-bottom: 60px;
  border-radius: 0 0 64px 64px;
  box-shadow: 0 4px 32px rgba(35,64,99,.10);
  padding: 0;
}
.hero-section .container {
  min-height: 360px;
  justify-content: center;
}
.hero-section .content-wrapper {
  align-items: flex-start;
  justify-content: center;
  padding: 60px 0 40px 0;
}
@media (max-width: 900px) {
  .hero-section .container { min-height: 240px; }
  .hero-section .content-wrapper { padding: 40px 0 24px 0; }
}
@media (max-width: 600px) {
  .hero-section { border-radius: 0 0 32px 32px; }
}

/* FLEXBOX LAYOUTS (MANDATORY) ---------------------------- */
.features-grid, .card-container, .services-grid, .articles-preview, .content-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: flex-start;
    margin-bottom: 8px;
}
.content-grid { gap: 20px; justify-content: space-between; }
.card-container { gap: 24px; margin-bottom: 24px; }
.card { margin-bottom: 20px; position: relative; background: #fff; border-radius: 18px 24px 20px 20px; box-shadow: 0 2px 8px rgba(52,107,59,0.08); overflow: hidden; }
.text-image-section { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.testimonial-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 24px 12px 28px 20px;
    background: #f6f9f6;
    box-shadow: 0 2px 12px rgba(52,107,59,.08);
    border: 1px solid #d0e6cf;
    transition: box-shadow .18s;
}
.testimonial-card:hover {
    box-shadow: 0 6px 24px rgba(118,184,82,.12);
}
.testimonial-meta {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    color: #234063;
    font-size: 1rem;
    font-weight: 500;
    margin-left: 8px;
    opacity: 0.85;
}
.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

/* FEATURES/ADVANTAGES ------------------------------------ */
.features-grid {
    gap: 28px;
}
.feature {
    background: #e6ede5;
    border-radius: 25px 32px 18px 20px;
    box-shadow: 0 2px 8px rgba(176,199,164,0.09);
    padding: 24px 20px;
    flex: 1 1 220px;
    min-width: 220px;
    max-width: 345px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
    transition: box-shadow .18s, transform .15s;
    border: 1px solid #d2e5d0;
}
.feature img {
    width: 46px;
    height: 46px;
    margin-bottom: 10px;
    border-radius: 18px;
    background: #cbe8be;
    box-shadow: 0 2px 12px rgba(52,107,59,0.07);
    padding: 6px;
}
.feature:hover {
    box-shadow: 0 6px 32px rgba(52,107,59,0.14);
    transform: translateY(-3px);
}
.feature h3 {
    color: #346b3b;
    margin: 8px 0 4px 0;
    font-size: 1.15rem;
}

/* SERVICES ----------------------------------------------- */
.services-grid {
    gap: 28px;
}
.service-card {
    padding: 28px 22px 16px 22px;
    background: #fffefb;
    border-radius: 18px 28px 20px 16px;
    box-shadow: 0 2px 13px rgba(52,107,59,.09);
    min-width: 220px;
    flex: 1 1 260px;
    max-width: 360px;
    margin-bottom: 20px;
    border: 1px solid #e2e6df;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
    transition: box-shadow .18s, border-color .14s;
}
.service-card h3 { color: #234063; font-size: 1.08rem; margin-bottom: 10px; }
.service-card .price {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #386e33;
    background: #e9f6ec;
    font-family: 'Montserrat', Arial;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 18px;
    font-size: .95rem;
}
.service-card:hover {
    box-shadow: 0 8px 32px rgba(118,184,82,.13);
    border-color: #cbe8be;
    z-index: 2;
}

/* ARTICLES, FAQ, ETC ------------------------------------- */
.articles-preview {
    gap: 24px;
}
.articles-preview article {
    background: #e6ede5;
    border-radius: 19px 36px 24px 17px;
    box-shadow: 0 2px 7px rgba(52,107,59,0.07);
    padding: 24px 20px 16px 26px;
    flex: 1 1 220px;
    min-width: 220px;
    max-width: 345px;
    margin-bottom: 20px;
    transition: box-shadow .15s;
}
.articles-preview article h2 { font-size: 1.13rem; }
.articles-preview article:hover {
    box-shadow: 0 7px 22px rgba(118,184,82,.15);
}
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
}
.faq-item {
    background: #f7fff4;
    border-radius: 22px 12px 28px 18px;
    box-shadow: 0 2px 8px rgba(176,199,164,0.05);
    padding: 18px 20px 12px 24px;
    border: 1px solid #e1efe0;
}
.faq-item h2 {
    font-size: 1.07rem;
    color: #346b3b;
}

/* SECTION SPACING ---------------------------------------- */
main section,
.section,
.confirmation-section,
.contact-section,
.contact-info-section {
    margin-bottom: 60px;
    padding: 40px 20px;
}
main section:last-child, .section:last-child {
    margin-bottom: 0;
}
.text-section {
    margin-bottom: 12px;
}

/* BUTTONS ------------------------------------------------ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 1.09rem;
    border: none;
    border-radius: 22px 32px 20px 14px;
    padding: 12px 32px;
    margin-top: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    font-weight: 600;
    text-align: center;
    background: #234063;
    color: #fff;
    box-shadow: 0 3px 13px rgba(35,64,99,.12);
    transition: background .17s, box-shadow .13s, color .14s;
}
.btn-primary {
    background: #346b3b;
    color: #fff;
}
.btn-secondary {
    background: #F1C40F;
    color: #234063;
}
.btn:hover, .btn:focus {
    box-shadow: 0 6px 30px rgba(52,107,59,0.18);
    background: #204e2c;
    color: #fff;
}
.btn-secondary:hover, .btn-secondary:focus {
    background: #e9be32;
    color: #234063;
}

/* NAVIGATION --------------------------------------------- */
header {
    background: #f8fbfa;
    border-bottom: 1px solid #e0e7e4;
    box-shadow: 0 2px 8px rgba(35,64,99,.04);
    padding: 0;
}
header .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
}
.logo img {
    height: 46px;
    width: auto;
    border-radius: 18px;
    margin-right: 12px;
}
.main-nav {
    display: flex;
    gap: 24px;
    align-items: center;
}
.main-nav a {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 1.01rem;
    color: #234063;
    padding: 6px 2px;
    position: relative;
    transition: color .16s;
}
.main-nav a:after {
    content: '';
    display: block;
    width: 0%;
    height: 2px;
    background: #346b3b;
    transition: width .22s;
    position: absolute;
    left: 0;
    bottom: -2px;
    border-radius: 1px;
}
.main-nav a:hover:after, .main-nav a:focus:after {
    width: 100%;
}
.main-nav a:hover, .main-nav a:focus { color: #346b3b; }

/* Responsive Header & Burger  ---------------------------- */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 17px;
    right: 18px;
    z-index: 1201;
    width: 42px;
    height: 42px;
    background: #F1C40F;
    color: #234063;
    border: none;
    border-radius: 50%;
    font-size: 2rem;
    box-shadow: 0 2px 10px rgba(52,107,59,0.12);
    transition: background .1s;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
    background: #e1bc32;
    color: #fff;
}

@media (max-width: 900px) {
    .main-nav {
        display: none;
    }
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* MOBILE MENU OVERLAY ----------------------------------- */
.mobile-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(233,246,236,0.99);
    z-index: 1200;
    pointer-events: none;
    opacity: 0;
    transform: translateX(-100vw);
    transition: opacity .25s, transform .30s cubic-bezier(.26,1,.35,1.11);
}
.mobile-menu.open {
    pointer-events: auto;
    opacity: 1;
    transform: translateX(0);
}
.mobile-menu-close {
    position: absolute;
    top: 22px;
    right: 24px;
    background: #86ce76;
    color: #234063;
    border: none;
    font-size: 2.2rem;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s;
    display: flex;
    z-index: 1202;
    box-shadow: 0 2px 10px rgba(52,107,59,0.09);
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
    background: #cbe8be;
    color: #346b3b;
}
.mobile-nav {
    margin-top: 90px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: center;
    justify-content: flex-start;
}
.mobile-nav a {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 1.17rem;
    color: #204e2c;
    padding: 16px 0;
    width: 100vw;
    text-align: center;
    letter-spacing: 0.04em;
    transition: color .11s, background .13s;
    border-bottom: 1px solid #d2e5d0;
    background: transparent;
    font-weight: 600;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:active,
.mobile-nav a:focus,
.mobile-nav a:hover {
    color: #234063;
    background: #e6ede5;
}

@media (max-width: 500px) {
  .mobile-nav a { font-size: 1rem; }
}

/* FOOTER ------------------------------------------------ */
footer {
    background: #234063;
    color: #fff;
    padding: 0;
    border-radius: 60px 60px 0 0/16px 16px 0 0;
    box-shadow: 0 -1px 16px rgba(35,64,99,0.08);
    position: relative;
    z-index: 10;
}
footer .container {
    padding: 40px 0 24px 0;
    flex-direction: column;
    gap: 18px;
}
.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-bottom: 12px;
}
.footer-nav a {
    color: #e1e2e6;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 1rem;
    transition: color .13s;
    opacity: .94;
    font-weight: 400;
}
.footer-nav a:hover, .footer-nav a:focus {
    color: #F1C40F;
}
.footer-brand {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    justify-content: center;
    font-size: .98rem;
    color: #fff;
}
.footer-brand img {
    height: 32px;
    border-radius: 10px;
}

/* FORMS ------------------------------------------------- */
input, textarea, select {
    border: 1.5px solid #c9d5cd;
    border-radius: 14px 30px 12px 18px;
    padding: 9px 14px;
    font-size: 1rem;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    margin-bottom: 14px;
    background: #f7fff4;
    color: #234063;
    outline: 0;
    transition: border-color .14s, box-shadow .13s;
}
input:focus, textarea:focus, select:focus {
    border-color: #86ce76;
    box-shadow: 0 0 6px 1px #e6ede5;
}
label { margin-bottom: 7px; display: inline-block; color: #234063; font-weight: 700; }

/* COOKIE CONSENT BANNER ================================= */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    background: #f6f9f6;
    color: #234063;
    box-shadow: 0 -2px 16px rgba(52,107,59,0.05);
    z-index: 1250;
    border-radius: 18px 18px 0 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 22px 16px 18px 16px;
    font-size: 1rem;
    opacity: 1;
    transform: translateY(0);
    transition: transform .32s cubic-bezier(.26,.65,.77,1.02), opacity .22s;
}
.cookie-banner.hide {
    opacity: 0;
    pointer-events: none;
    transform: translateY(120px);
}
.cookie-banner p {
    margin: 0 12px 0 0;
    color: #234063;
    font-size: 0.97rem;
    flex: 1 1 260px;
}
.cookie-banner .btn {
    margin: 0 8px 0 0;
    padding: 8px 19px;
    font-size: 1rem;
    border-radius: 17px 25px 22px 11px;
}
.cookie-banner .btn-primary {
    background: #346b3b;
    color: #fff;
}
.cookie-banner .btn-secondary {
    background: #F1C40F;
    color: #234063;
}
.cookie-banner .btn-settings {
    background: #e6ede5;
    color: #234063;
    border: 1px solid #d1e1c8;
}
.cookie-banner .btn:hover, .cookie-banner .btn:focus {
    background: #234063;
    color: #fff;
    box-shadow: 0 3px 14px rgba(35,64,99,0.12);
}

/* COOKIE PREFERENCES MODAL =============================== */
#cookie-modal {
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%) scale(1);
    z-index: 1350;
    background: #fff;
    border-radius: 30px 40px 26px 22px;
    box-shadow: 0 6px 44px rgba(52,107,59,0.11), 0 0.5px 10px #cbe8be;
    padding: 44px 32px 32px 32px;
    width: 95vw;
    max-width: 410px;
    font-size: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity .28s, transform .24s cubic-bezier(.2,.9,.4,1.06);
}
#cookie-modal.open {
    display: block;
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%,-50%) scale(1.03);
}
#cookie-modal h3 {
    font-size: 1.28rem;
    color: #234063;
    margin-bottom: 14px;
}
#cookie-modal label {
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    color: #346b3b;
    margin-bottom: 10px;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
}
#cookie-modal .cookie-category {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f6f9f6;
    padding: 10px 14px;
    border-radius: 16px;
    margin-bottom: 12px;
    font-size: 1rem;
}
#cookie-modal .switch {
    position: relative;
    width: 44px;
    height: 22px;
    display: inline-flex;
}
#cookie-modal .switch input { display: none; }
#cookie-modal .slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0;
    width: 44px; height: 22px;
    background: #d8e6d1;
    border-radius: 22px;
    transition: background .14s;
}
#cookie-modal .switch input:checked + .slider {
    background: #346b3b;
}
#cookie-modal .slider:before {
    content: '';
    position: absolute;
    height: 18px;
    width: 18px;
    left: 2px; bottom: 2px;
    background: #fff;
    border-radius: 50%;
    transition: transform .19s cubic-bezier(.70,.3,.45,.95);
}
#cookie-modal .switch input:checked + .slider:before {
    transform: translateX(22px);
}
#cookie-modal .modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    justify-content: flex-end;
}
#cookie-modal .btn {
    padding: 9px 17px;
    font-size: .98rem;
}
#cookie-modal .btn-primary { background: #346b3b; color: #fff; }
#cookie-modal .btn-secondary { background: #F1C40F; color: #234063; }
#cookie-modal .btn:hover, #cookie-modal .btn:focus {
    background: #234063;
    color: #fff;
}

/* Z-INDEX LAYERING & ANIMATION FOR OVERLAYS ------------- */
.mobile-menu,
#cookie-modal,
.cookie-banner {
    will-change: transform, opacity;
}

/* RESPONSIVE & ADAPTIVE --------------------------------- */
@media (max-width: 1100px) {
  .container { max-width: 98vw; }
}
@media (max-width: 900px) {
  .container { max-width: 100vw; }
  .features-grid, .card-container, .services-grid, .articles-preview, .content-grid {
    gap: 20px;
  }
  .content-wrapper { gap: 16px; }
  .main-nav { gap: 16px; }
}
@media (max-width: 768px) {
    .container { padding: 0 8px; }
    .section,
    main section,
    .confirmation-section,
    .contact-section,
    .contact-info-section {
        padding: 25px 6px 29px 6px;
        margin-bottom: 38px;
        border-radius: 16px 32px 10px 18px;
    }
    .features-grid, .services-grid, .content-grid, .articles-preview, .card-container { flex-direction: column; }
    .features-grid > *, .services-grid > *, .articles-preview > *, .card-container > *, .content-grid > * {
        min-width: 0;
        max-width: 100%;
        width: 100%;
    }
    .text-image-section {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    .footer-nav {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
    .footer-brand {
        flex-direction: column;
        gap: 5px;
    }
    .testimonial-card { padding: 14px; }
}
@media (max-width: 480px) {
    h1 { font-size: 1.34rem; }
    h2 { font-size: 1.1rem; }
    .hero-section .content-wrapper { align-items: flex-start; padding: 24px 0 18px 0; }
    .logo img { height: 32px; }
    .btn { padding: 8px 16px; font-size: 0.98rem; }
    #cookie-modal { padding: 28px 10px 17px 10px; }
}

/* SCROLL ANIMATION, HOVER STATES, INTERACTIONS ----------- */
.btn, .feature, .service-card, .articles-preview article, .faq-item, .testimonial-card {
    transition: box-shadow .18s, background .13s, color .13s, border-color .13s, transform .16s;
}
.btn:active {
    transform: scale(0.97);
}

/* DARK TEXT FOR TESTIMONIALS/REVIEWS -------------------- */
.testimonial-card, .testimonial-card blockquote {
    color: #234063 !important;
    background: #f6f9f6;
}

/* MINIMUM SPACING, SHADOWS, RADIUS, VISUAL HIERARCHY ----- */
.card, .feature, .service-card, .testimonial-card, .faq-item, .articles-preview article {
    box-shadow: 0 1.5px 6px rgba(35,64,99,0.03), 0 2.5px 18px rgba(52,107,59,0.06);
    border-radius: 20px;
}
.card, .feature, .service-card, .testimonial-card {
    margin-bottom: 20px;
}

/* Hide visually but accessible for skip links if needed -- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  background: #e6ede5;
  color: #234063;
}
.skip-link:focus {
  left: 10px;
  top: 10px;
  width: auto;
  height: auto;
  z-index: 9999;
  padding: 12px 18px;
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(76,175,80,0.22);
}
