/* ==== CSS 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,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 { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body {
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    font-size: 16px;
    color: #155943;
    background: #F1F4F1;
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
a {
    color: #177659;
    text-decoration: none;
    transition: color 0.2s;
}
a:hover, a:focus {
    color: #FFA928;
    outline: none;
    text-decoration: underline;
}

/* ==== TYPOGRAPHY ==== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-weight: 700;
    color: #155943;
    line-height: 1.15;
}
h1 { font-size: 2.5rem; margin-bottom: 16px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.35rem; margin-bottom: 8px; }
h4 { font-size: 1.2rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.9rem; }
p, ul, ol, li {
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    font-size: 1rem;
    color: #155943;
    margin-bottom: 16px;
}
ul, ol { margin-left: 1.5em; margin-bottom: 16px; }
strong, b { font-weight: 700; }

/* ==== CONTAINER & LAYOUT ==== */
.container {
    width: 100%;
    max-width: 1150px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}
.content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.section {
    margin-bottom: 60px;
    padding: 40px 20px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 24px rgba(23,118,89,0.07);
    display: flex;
    flex-direction: column;
    gap: 24px;
}
/* ==== HEADER ==== */
header {
    background: #fff;
    box-shadow: 0 2px 12px rgba(23,118,89,0.08);
    position: sticky;
    top: 0; left: 0; right: 0;
    z-index: 1100;
}
header .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    padding-bottom: 14px;
}
.branding img {
    height: 46px;
    width: auto;
}
.main-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
}
.main-nav a {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 8px 0;
    color: #155943;
    letter-spacing: 0.015em;
    transition: color 0.2s;
    border-bottom: 2px solid transparent;
}
.main-nav a:hover {
    color: #FFA928;
    border-bottom: 2px solid #FFA928;
}
.cta-primary {
    background: #177659;
    color: #fff !important;
    border-radius: 24px;
    padding: 10px 32px;
    font-size: 1rem;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-weight: 700;
    margin-left: 16px;
    box-shadow: 0 3px 16px rgba(23,118,89,0.09);
    border: none;
    cursor: pointer;
    transition: background 0.18s, box-shadow 0.18s, color 0.18s;
    position: relative;
    z-index: 1;
}
.cta-primary:hover, .cta-primary:focus {
    background: #155943;
    color: #FFA928 !important;
    box-shadow: 0 6px 24px rgba(23,118,89,0.13);
    outline: none;
    text-decoration: none;
}

/* ==== MOBILE NAVIGATION ==== */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: #155943;
    cursor: pointer;
    margin-left: 20px;
    z-index: 1201;
}
.mobile-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(23,118,89,0.98);
    transform: translateX(-100%);
    transition: transform 0.32s cubic-bezier(0.67,0.03,0.29,0.95);
    z-index: 1200;
    pointer-events: none;
    opacity: 0;
}
.mobile-menu.open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: all;
}
.mobile-menu-close {
    align-self: flex-end;
    background: none;
    color: #fff;
    border: none;
    font-size: 2.2rem;
    margin: 32px 28px 0 0;
    cursor: pointer;
    transition: color 0.2s;
    z-index: 1202;
}
.mobile-menu-close:hover {
    color: #FFA928;
}
.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 28px;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}
.mobile-nav a {
    color: #fff;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 0.025em;
    padding: 10px 0;
    border-bottom: 2px solid transparent;
    transition: color 0.18s, border-bottom 0.15s;
    width: 100%;
    text-align: center;
    display: block;
}
.mobile-nav a:hover {
    color: #FFA928;
    border-bottom: 2px solid #FFA928;
}

/* ==== HERO SECTION ==== */
.hero-section {
    background: linear-gradient(90deg, #F1F4F1 70%, #E3EEDF 100%);
    padding: 40px 0 56px 0;
    display: flex;
    align-items: center;
    margin-bottom: 60px;
}
.hero-section .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}
.hero-section .content-wrapper {
    gap: 14px;
}
.hero-section h1 {
    color: #155943;
    font-size: 2.2rem;
    font-weight: 800;
}
.hero-section p {
    font-size: 1.18rem;
    color: #44766A;
    margin-bottom: 20px;
}

/* ==== FEATURES & CARDS ==== */
.features-section, .feature-grid {
    width: 100%;
}
.feature-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: flex-start;
}
.feature-item {
    background: #F1F4F1;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(23,118,89,0.04);
    padding: 28px 22px 22px 22px;
    flex: 1 1 235px;
    min-width: 235px;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}
.feature-item img {
    height: 49px;
    width: 49px;
    margin-bottom: 4px;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    list-style-type: disc;
    margin-left: 1.3em;
}
.services-list li span {
    color: #177659;
    font-weight: 600;
    margin-left: 10px;
}

.service-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.service-card {
    background: #F1F4F1;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(23,118,89,0.05);
    padding: 28px 22px 18px 22px;
    margin-bottom: 20px;
    flex: 1 1 235px;
    min-width: 235px;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 17px;
}
.service-card span {
    color: #177659;
    font-weight: 600;
}

/* ==== TESTIMONIALS ==== */
.testimonials-section {
    background: #F1F4F1;
    border-radius: 18px;
    box-shadow: 0 2px 24px rgba(23,118,89,0.08);
    padding: 40px 20px;
    margin-bottom: 60px;
}
.testimonials-section .content-wrapper {
    gap: 32px;
}
.testimonial-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 28px 16px 28px;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(23,118,89,0.08);
    margin-bottom: 20px;
    max-width: 570px;
}
.testimonial-card p {
    color: #155943;
    font-style: italic;
    font-size: 1.06rem;
}
.testimonial-card span {
    font-size: 0.98rem;
    color: #177659;
    font-weight: 700;
}

/* ==== CALL TO ACTION ==== */
.cta-section {
    background: #177659;
    color: #fff;
    padding: 40px 0;
    border-radius: 18px;
    box-shadow: 0 2px 24px rgba(23,118,89,0.11);
    margin-bottom: 60px;
    display: flex;
    align-items: center;
}
.cta-section .container {
    align-items: center;
}
.cta-section h2 {
    color: #fff;
}
.cta-section .cta-primary {
    background: #FFA928;
    color: #155943 !important;
    margin-top: 18px;
}
.cta-section .cta-primary:hover { background: #ffb948; color: #155943 !important; }

/* ==== LEGAL SECTION ==== */
.legal-section .container, .confirmation-section .container {
    max-width: 760px;
}
.legal-section h1, .legal-section h2 { color: #177659; }
.legal-section ul li {
    margin-bottom: 10px;
}

/* ==== CONTACT SECTION ==== */
.contact-section .container {
    gap: 24px;
}
.contact-details p {
    margin-bottom: 10px;
    color: #155943;
    font-size: 1rem;
}
.contact-info-cta { margin-top: 22px; }
.text-section {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* ==== FOOTER ==== */
footer {
    background: #155943;
    color: #fff;
    padding: 36px 0 0 0;
    position: relative;
}
footer .container {
    align-items: flex-start;
    padding-top: 0;
    padding-bottom: 0;
}
.footer-main {
    display: flex;
    flex-direction: row;
    gap: 30px;
    align-items: center;
    margin-bottom: 12px;
}
.footer-main img {
    height: 38px;
    width: auto;
}
.footer-nav {
    display: flex;
    flex-direction: row;
    gap: 20px;
}
.footer-nav a {
    color: #fff;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-weight: 600;
    font-size: 0.97rem;
    transition: color 0.2s;
}
.footer-nav a:hover {
    color: #FFA928;
    text-decoration: underline;
}
footer p {
    font-size: 0.97rem;
    color: #F1F4F1;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    margin-top: 6px;
    margin-bottom: 0;
}

/* ==== FLEXBOX CONTENT PATTERNS ==== */
.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.card { margin-bottom: 20px; position: relative; }
.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;
}
.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

/* ==== BUTTONS ==== */
button, .button {
    appearance: none;
    border: none;
    background: #177659;
    color: #fff;
    padding: 10px 28px;
    border-radius: 24px;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(23, 118, 89, 0.08);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    margin: 0 8px 8px 0;
}
button:hover, .button:hover, button:focus, .button:focus {
    background: #155943;
    color: #FFA928;
    outline: none;
    box-shadow: 0 4px 16px rgba(23,118,89,0.14);
}

/* ==== COOKIE CONSENT BANNER & MODAL ==== */
.cookie-banner {
    position: fixed;
    left: 0; bottom: 0; right: 0;
    background: #fff;
    box-shadow: 0 -2px 16px rgba(23,118,89,0.17);
    padding: 22px 10px 22px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    z-index: 2000;
    transition: transform 0.3s;
}
.cookie-banner.hidden {
    transform: translateY(100%);
    pointer-events: none;
    opacity: 0;
}
.cookie-banner .cookie-buttons {
    display: flex;
    flex-direction: row;
    gap: 14px;
    margin-top: 4px;
}
.cookie-banner button, .cookie-banner .button {
    background: #177659;
    color: #fff;
    border: none;
    border-radius: 21px;
    padding: 8px 22px;
    font-size: 1rem;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.16s;
    margin-right: 2px;
    box-shadow: none;
}
.cookie-banner button.cookie-decline {
    background: #F1F4F1;
    color: #155943;
    border: 1.5px solid #E3EEDF;
}
.cookie-banner button.cookie-settings {
    background: #FFA928;
    color: #155943;
}
.cookie-banner button:hover {
    background: #155943;
    color: #FFA928;
}
.cookie-banner button.cookie-decline:hover {
    background: #E3EEDF;
    color: #155943;
}
.cookie-banner button.cookie-settings:hover {
    background: #ffcb61;
    color: #155943;
}

/* Cookie Modal */
.cookie-modal {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    left: 0; top: 0;
    width: 100vw; height: 100vh;
    background: rgba(21,89,67,0.88);
    z-index: 2300;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.28s;
}
.cookie-modal.open {
    pointer-events: all;
    opacity: 1;
}
.cookie-modal-content {
    background: #fff;
    padding: 38px 18px 22px 28px;
    border-radius: 18px;
    max-width: 400px;
    min-width: 280px;
    box-shadow: 0 6px 32px rgba(14,36,23,0.12);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    position: relative;
}
.cookie-modal-close {
    position: absolute;
    right: 12px; top: 12px;
    background: none;
    border: none;
    font-size: 1.7rem;
    color: #155943;
    cursor: pointer;
}
.cookie-modal-close:hover { color: #FFA928; }
.cookie-modal label {
    font-size: 1rem;
    color: #155943;
    margin-right: 10px;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
.cookie-toggle {
    margin-left: 12px;
    vertical-align: middle;
    accent-color: #177659;
    width: 1.15em;
    height: 1.15em;
    cursor: pointer;
}
.cookie-modal .cookie-category {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.cookie-modal .cookie-category.essential label {
    font-weight: 600;
    color: #177659;
}
.cookie-modal .cookie-category.essential .cookie-toggle {
    pointer-events: none;
    opacity: 0.5;
}
.cookie-modal .cookie-modal-buttons {
    margin-top: 12px;
    display: flex;
    flex-direction: row;
    gap: 10px;
}

/* ==== ANIMATIONS ==== */
@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}
.section, .features-section, .about-section, .services-section, .testimonials-section, .cta-section, .confirmation-section, .legal-section, .cookie-banner, .cookie-modal-content {
    animation: fadeIn .6s cubic-bezier(0.55,0.09,0.68,0.53);
}

/* ==== MEDIA QUERIES / RESPONSIVENESS ==== */
@media (max-width: 1050px) {
    .feature-item, .service-card {
        min-width: 185px;
        max-width: 100%;
        flex: 1 1 185px;
    }
    .footer-main { flex-direction: column; align-items: flex-start; gap: 18px; }
}
@media (max-width: 900px) {
    .main-nav { gap: 14px; }
    .container { padding-left: 8px; padding-right: 8px; }
    .feature-item, .service-card { padding: 24px 12px; }
}
@media (max-width: 768px) {
    .main-nav { display: none; }
    .mobile-menu-toggle { display: block; }
    .container { padding-left: 8px; padding-right: 8px; }
    .hero-section h1 { font-size: 1.7rem; }
    .hero-section { padding: 30px 0 36px 0; }
    .footer-nav { flex-direction: column; align-items: flex-start; gap: 10px; }
    .section, .testimonials-section, .cta-section {
        padding: 24px 7px;
        border-radius: 10px;
    }
    .card-container, .service-cards, .feature-grid, .content-grid {
        flex-direction: column;
        gap: 20px;
    }
    .feature-item, .service-card {
        min-width: unset;
        width: 100%;
    }
    .testimonial-card {
        max-width: 100%;
        padding: 14px 8px;
    }
    .about-section, .features-section, .services-section, .contact-section, .legal-section, .confirmation-section {
        padding: 18px 0 !important;
    }
    .cta-section { padding: 24px 0; }
    .cta-section .container, .cta-section .content-wrapper {
        align-items: flex-start;
    }
    .text-image-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }
}
@media (max-width: 540px) {
    h1 { font-size: 1.27rem; }
    h2 { font-size: 1.13rem; }
    .mobile-nav a { font-size: 1.18rem; }
    .testimonials-section {
        padding: 15px 3px;
    }
}

/* ==== FORCED FLEXBOX NO GRID ==== */
/* No grid properties used anywhere
   Only flexbox for layouts as per spec. */
