/* =========================================================
   SparkleVeil Rente Nature Organic CSS Theme
   Modern flexbox-based responsive design, no CSS grid/columns
   ========================================================= */
/* ------------- 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,
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;
}
html {
    box-sizing: border-box;
    scroll-behavior: smooth;
}
*, *:before, *:after { box-sizing: inherit; }
body {
    line-height: 1.5;
    background: #f8f8f5;
    color: #274A60;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    font-size: 16px;
}
ol, ul { list-style: none; }
a { color: inherit; text-decoration: none; font-weight: 500; }
img { max-width: 100%; display: block; height: auto; border: none; }
button { background: none; border: none; font-family: inherit; cursor: pointer; }
:focus { outline: 2px solid #7FB77E; outline-offset: 2px; }

/* ------------- CUSTOM PROPERTIES (EARTH TONES & ORGANIC) ------------- */
:root {
    --clr-primary: #274A60; /* Night forest blue */
    --clr-secondary: #7FB77E; /* Mossy green */
    --clr-accent: #FFFFFF;
    --clr-earth: #A9856E; /* Earthy brown */
    --clr-sand: #F3EDE2;
    --clr-dark: #20353A; /* deeper base */
    --clr-bg-section: #F6F6F3;
    --clr-leaf: #B7D2B1;
    --clr-text: #274A60;
    --clr-text-light: #466876;
    --clr-muted: #7B8C92;
    --clr-success: #50B074;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 30px;
    --shadow-soft: 0 2px 8px 0 rgba(39,74,96,0.08);
    --shadow-card: 0 4px 18px 0 rgba(39,74,96,0.10);
    --shadow-hover: 0 4px 25px 0 rgba(94,131,104,0.16);
    --transition: 0.25s cubic-bezier(.41,.32,.43,1.13);
    --spacer-8: 8px;
    --spacer-16: 16px;
    --spacer-20: 20px;
    --spacer-24: 24px;
    --spacer-32: 32px;
    --spacer-40: 40px;
    --spacer-60: 60px;
    --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
    --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

/* ------------- TYPOGRAPHY ------------- */
h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--clr-primary);
}
h1 { font-size: 2.5rem; line-height: 1.11; margin-bottom: var(--spacer-24); letter-spacing: -1px; }
h2 { font-size: 2rem; margin-bottom: var(--spacer-16); }
h3 { font-size: 1.5rem; margin-bottom: var(--spacer-12,12px); }
h4 { font-size: 1.125rem; margin-bottom: var(--spacer-8); }
p, li, address { font-size: 1rem; color: var(--clr-text-light); }
strong { font-weight: 700; }
blockquote {
    font-size: 1.125rem; font-style: italic; color: var(--clr-dark);
    margin-bottom: var(--spacer-8); line-height: 1.4;
}

@media (max-width: 768px) {
    h1 { font-size: 1.7rem; }
    h2 { font-size: 1.29rem; }
    h3 { font-size: 1.12rem; }
}

/* ------------- LAYOUT CONTAINERS & SPACING (FLEX ONLY!) ------------- */
.container {
    max-width: 1150px;
    margin: 0 auto;
    padding-left: var(--spacer-20);
    padding-right: var(--spacer-20);
    width: 100%;
}
.content-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacer-24);
}
.section {
    margin-bottom: var(--spacer-60);
    padding: var(--spacer-40) var(--spacer-20);
    background: var(--clr-bg-section);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    position: relative;
}
.text-section {
    display: flex;
    flex-direction: column;
    gap: var(--spacer-16);
    align-items: flex-start;
}
.text-image-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .container { padding-left: var(--spacer-8); padding-right: var(--spacer-8); }
    .content-wrapper, .text-section, .section { padding: var(--spacer-24) var(--spacer-8); }
    .text-image-section { flex-direction: column; align-items: flex-start; gap: var(--spacer-16); }
}

/* ------------- NAVIGATION ------------- */
header {
    background: #fff;
    box-shadow: 0 2px 18px 0 rgba(39,74,96,0.08);
    padding-top: var(--spacer-16); padding-bottom: var(--spacer-16);
    position: relative;
    z-index: 10;
}
.main-nav {
    display: flex;
    align-items: center;
    gap: var(--spacer-24);
    justify-content: space-between;
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 var(--spacer-20);
}
.main-nav ul {
    display: flex;
    flex-direction: row;
    gap: var(--spacer-20);
    flex-wrap: wrap;
    align-items: center;
    margin: 0;
}
.main-nav li {
    margin-bottom: 0;
}
.main-nav a {
    color: var(--clr-primary);
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1rem;
    transition: color var(--transition);
    border-radius: var(--radius-sm);
    padding: 6px 10px;
}
.main-nav a:hover,
.main-nav a:focus {
    color: var(--clr-secondary);
    background: var(--clr-leaf);
}
.cta-primary {
    background: var(--clr-secondary);
    color: #fff;
    padding: 10px 28px;
    border-radius: 999px;
    font-size: 1.08rem;
    font-family: var(--font-display);
    font-weight: 600;
    box-shadow: 0 2px 12px rgba(127,183,126,0.11);
    border: none;
    transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
    letter-spacing: 0.02em;
    margin-left: var(--spacer-8);
}
.cta-primary:hover, .cta-primary:focus {
    background: var(--clr-primary);
    color: #fff;
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px) scale(1.04);
}

/* --------- MOBILE MENU ----------- */
.mobile-menu-toggle {
    display: none;
    position: absolute; right: var(--spacer-20); top: var(--spacer-16);
    width: 44px; height: 44px;
    background: var(--clr-secondary);
    color: #fff;
    border-radius: 50%;
    font-size: 2rem;
    align-items: center;
    justify-content: center;
    z-index: 3001;
    transition: background var(--transition);
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
    background: var(--clr-primary);
}
.mobile-menu {
    position: fixed;
    left: 0; top: 0; right: 0; bottom: 0;
    background: rgba(39,74,96, 0.97);
    color: #fff;
    z-index: 3000;
    transform: translateX(100%);
    transition: transform 0.37s cubic-bezier(.7,.01,.38,1.11);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding-top: 76px;
    padding-left: 0; padding-right: 0;
    width: 100vw; height: 100vh;
}
.mobile-menu.open {
    transform: translateX(0%);
}
.mobile-menu-close {
    position: absolute; right: 22px; top: 22px;
    width: 40px; height: 40px;
    font-size: 2rem;
    background: var(--clr-primary);
    color: #fff;
    border-radius: 50%;
    z-index: 3005;
    display: flex; align-items: center; justify-content: center;
    transition: background var(--transition);
}
.mobile-menu-close:hover, .mobile-menu-close:focus { background: var(--clr-secondary); }
.mobile-nav {
    width: 100vw;
    display: flex;
    flex-direction: column;
    gap: var(--spacer-16);
    align-items: flex-start;
    padding-left: var(--spacer-32);
}
.mobile-nav a {
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.32rem;
    padding: 16px 0;
    width: 100%;
    border-radius: var(--radius-sm);
    transition: background var(--transition), color var(--transition);
}
.mobile-nav a:hover, .mobile-nav a:focus {
    background: var(--clr-secondary);
    color: #fff;
}

@media (max-width: 1024px) {
    .main-nav ul {
        display: none;
    }
    .main-nav .cta-primary { display: none; }
    .mobile-menu-toggle { display: flex; }
}
@media (min-width: 1025px) {
    .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* ------------- HERO & GENERIC BUTTONS ------------- */
button, .cta-primary {
    cursor: pointer;
    font-family: var(--font-display);
    border: none;
    outline: none;
    box-sizing: border-box;
}

/* ------------- FLEXBOX CARD/GRID ARRANGEMENTS ------------- */
.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacer-24);
}
.card {
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    padding: var(--spacer-20);
    margin-bottom: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--spacer-16);
    min-width: 280px;
}
.card-content {
    display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: var(--spacer-16); width: 100%;
}
.content-grid {
    display: flex;
    flex-wrap: wrap; 
    gap: var(--spacer-20);
    justify-content: space-between;
    align-items: stretch;
}
@media (max-width: 900px) {
    .content-grid { flex-direction: column; gap: var(--spacer-16); }
    .card-container { flex-direction: column; gap: var(--spacer-16); }
    .card { min-width: 100%; }
}

/* ------------- FEATURE LISTS & SERVICE LISTS ------------- */
.feature-list, .service-list, .workshop-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacer-20);
    align-items: stretch;
}
.feature-list li, .service-list li, .workshop-list li {
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    padding: var(--spacer-20) var(--spacer-16);
    margin-bottom: var(--spacer-20);
    flex: 1 1 260px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacer-15,15px);
    transition: box-shadow var(--transition), transform var(--transition);
    border-left: 5px solid var(--clr-secondary);
}
.feature-list li:hover, .service-list li:hover, .workshop-list li:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-1px) scale(1.02);
    border-left-color: var(--clr-primary);
}
.feature-list img, .service-list img, .workshop-list img {
    width: 32px; height: 32px; margin-bottom: var(--spacer-8);
}

.service-cards {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacer-24);
    align-items: stretch;
    margin-bottom: var(--spacer-24);
}
.service-item {
    background: #fff;
    border-radius: var(--radius-md);
    padding: var(--spacer-20);
    box-shadow: var(--shadow-card);
    margin-bottom: 20px;
    flex: 1 1 240px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacer-15,15px);
    border-left: 5px solid var(--clr-leaf);
    transition: box-shadow var(--transition), border-color var(--transition);
}
.service-item strong { font-size: 1.08rem; color: var(--clr-primary); }
.service-item span { color: var(--clr-secondary); font-weight: 700; margin-bottom: 4px; }
.service-item:hover {
    border-left-color: var(--clr-secondary);
    box-shadow: var(--shadow-hover);
    transform: translateY(-1px) scale(1.025);
}

@media (max-width: 900px) {
    .feature-list, .service-list, .workshop-list, .service-cards {
        flex-direction: column;
        gap: var(--spacer-12,12px);
    }
    .feature-list li, .service-list li, .workshop-list li, .service-item {
        min-width: 100%;
    }
}

/* ------------- PRICING TABLES & STEPPERS ------------- */
.service-pricing {
    width: 100%;
    background: #fff;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-soft);
    margin: var(--spacer-16) 0 var(--spacer-24) 0;
    border-collapse: collapse;
    overflow: hidden;
    font-size: 1rem;
}
.service-pricing th, .service-pricing td {
    padding: 12px 14px;
    text-align: left;
}
.service-pricing th {
    background: var(--clr-leaf);
    color: var(--clr-text);
    font-family: var(--font-display);
}
.service-pricing tbody tr {
    border-bottom: 1px solid var(--clr-sand);
}
.service-pricing td {
    background: #fff;
    color: var(--clr-dark);
}
@media (max-width: 500px) {
    .service-pricing td, .service-pricing th { padding: 8px; }
}

.stepper-timeline {
    display: flex;
    flex-direction: column;
    gap: var(--spacer-16); /* Consistent vertical spacing */
    counter-reset: stepn;
    margin-left: 0;
    margin-bottom: var(--spacer-24);
}
.stepper-timeline li {
    position: relative;
    padding-left: var(--spacer-32);
    color: var(--clr-text);
}
.stepper-timeline li:before {
    counter-increment: stepn;
    content: counter(stepn) ".";
    position: absolute; left: 0; top: 1px;
    background: var(--clr-secondary);
    color: #fff;
    border-radius: 999px;
    width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(127,183,126,0.07);
}

/* ------------- ICON ROWS/GRIDS ------------- */
.benefit-icons, .process-icons, .benefits-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacer-20);
    align-items: center;
    margin: var(--spacer-16) 0 0 0;
}
.benefit-icons img, .process-icons img {
    width: 44px; height: 44px; background: var(--clr-leaf); border-radius: 50%; padding: 7px;
    box-shadow: 0 2px 5px 0 rgba(127,183,126,0.1);
}
.benefits-grid {
    gap: 18px;
    flex-wrap: wrap;
}
.benefits-grid > div {
    display: flex; align-items: center; gap: 12px; background: #fff; padding: 10px 18px; border-radius: var(--radius-sm); box-shadow: var(--shadow-soft);
    margin-bottom: 12px;
    font-size: 1rem;
    font-family: var(--font-body);
}
.benefits-grid img { width: 28px; height: 28px; }

/* ------------- TESTIMONIALS ------------- */
.testimonial-card {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: var(--spacer-20);
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    padding: var(--spacer-20);
    margin-bottom: 20px;
    max-width: 550px;
    margin-left: 0;
}
.testimonial-card blockquote {
    color: var(--clr-primary);
    font-size: 1.18rem;
    font-style: italic;
    font-family: var(--font-display);
    margin-bottom: var(--spacer-8);
    line-height: 1.5;
}
.testimonial-card p {
    color: var(--clr-muted);
    font-size: 1rem;
    font-family: var(--font-body);
    font-weight: 500;
}
.testimonial-card strong {
    color: var(--clr-secondary);
}

@media (max-width: 900px) {
    .testimonial-card { max-width: 100%; }
}

/* ------------- FOOTER ------------- */
footer {
    background: var(--clr-primary);
    padding: var(--spacer-40) 0 0 0;
    color: #fff;
    font-family: var(--font-body);
    margin-top: var(--spacer-60);
}
.footer-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacer-32);
    align-items: flex-start;
    justify-content: center;
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 var(--spacer-20) var(--spacer-24) var(--spacer-20);
}
.footer-wrapper img {
    width: 70px; border-radius: var(--radius-lg); background: var(--clr-bg-section); padding: 7px;
}
.footer-nav {
    display: flex; flex-direction: column; gap: 12px; min-width: 175px; }
.footer-nav a {
    color: #E6FFE9;
    font-size: 1rem;
    transition: color var(--transition);
}
.footer-nav a:hover, .footer-nav a:focus { color: var(--clr-leaf); text-decoration: underline; }
.footer-contact p, .footer-brand span { color: #E6FFE9; font-size: 0.97rem; }
.footer-brand { margin-top: 20px; font-size: 1.04em; font-weight: 600; letter-spacing: 0.01em; color: var(--clr-leaf); }

@media (max-width: 850px) {
    .footer-wrapper { flex-direction: column; align-items: flex-start; gap: var(--spacer-16); }
}

/* ------------- PLACEHOLDER SECTIONS ------------- */
.team-placeholder, .map-placeholder {
    background: var(--clr-sand);
    border-radius: var(--radius-lg);
    min-height: 120px;
    display: flex;
    align-items: center; justify-content: flex-start; gap: 22px;
    padding: var(--spacer-16) var(--spacer-24);
    box-shadow: 0 2px 12px 0 rgba(192,182,155,0.09);
    margin-top: var(--spacer-12,12px);
}
.team-placeholder img, .map-placeholder img { width: 70px; height: 70px; }
.map-placeholder p { margin-left: 8px; color: var(--clr-primary); }

/* ------------- FORMS & ADDRESS ------------- */
address {
    font-style: normal; color: var(--clr-text-light); line-height: 1.7; margin-bottom: var(--spacer-12,12px);
}

/* ------------- COOKIE CONSENT BANNER ------------- */
.cookie-banner {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    background: var(--clr-bg-section);
    color: var(--clr-primary);
    box-shadow: 0 -2px 18px rgba(39,74,96,0.10);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--spacer-16);
    justify-content: space-between;
    padding: 18px var(--spacer-20);
    z-index: 5000;
    animation: cookieBannerAppear .45s cubic-bezier(.45,.78,.43,1);
    font-size: 1rem;
}
@keyframes cookieBannerAppear {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-actions {
    display: flex; flex-direction: row; gap: var(--spacer-12, 12px); align-items: center;
}
.cookie-banner button {
    font-family: var(--font-display);
    font-weight: 600;
    padding: 9px 18px;
    border-radius: 999px;
    border: none;
    background: var(--clr-secondary);
    color: #fff;
    transition: background var(--transition), transform var(--transition);
}
.cookie-banner button.cookie-reject {
    background: #fff;
    color: var(--clr-primary);
    border: 1.5px solid var(--clr-secondary);
}
.cookie-banner button.cookie-settings {
    background: var(--clr-earth);
    color: #fff;
    border: none;
}
.cookie-banner button:hover, .cookie-banner button:focus {
    background: var(--clr-primary);
    color: #fff;
    transform: scale(1.04);
}

@media (max-width: 600px) {
    .cookie-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacer-12,12px);
        padding: 16px 8px;
        font-size: 0.97rem;
    }
    .cookie-banner .cookie-actions { flex-direction: column; gap: 8px; width: 100%; justify-content: flex-start; }
}

/* -------- COOKIE PREFERENCES MODAL -------- */
.cookie-modal-overlay {
    display: none;
    position: fixed;
    left: 0; top: 0; width: 100vw; height: 100vh;
    background: rgba(39,74,96,0.50);
    z-index: 5100;
    align-items: center;
    justify-content: center;
}
.cookie-modal-overlay.open {
    display: flex;
    animation: fadeIn .3s;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.cookie-modal {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 6px 40px 0 rgba(127,183,126,0.20);
    max-width: 400px; width: 95vw;
    padding: var(--spacer-32);
    display: flex;
    flex-direction: column;
    gap: var(--spacer-24);
    animation: popIn .33s cubic-bezier(.69,.12,.43,1.09);
    position: relative;
}
@keyframes popIn {
    from { transform: scale(.92); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
    font-size: 1.25rem;
    color: var(--clr-primary);
    margin-bottom: var(--spacer-12,12px);
}
.cookie-categories {
    display: flex;
    flex-direction: column; gap: var(--spacer-16);
}
.cookie-category {
    display: flex; flex-direction: row; align-items: center; justify-content: space-between;
    padding: var(--spacer-8) 0;
    border-bottom: 1px solid var(--clr-sand);
    font-size: 1rem;
}
.cookie-modal .cookie-modal-actions {
    display: flex; flex-direction: row; gap: var(--spacer-16); justify-content: flex-end;
}
.cookie-modal .cookie-modal-close {
    position: absolute; top: 22px; right: 18px;
    background: var(--clr-leaf); color: var(--clr-primary);
    border-radius: 50%; width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3em; border: none;
}
.cookie-toggle {
    appearance: none;
    width: 38px; height: 22px;
    border-radius: 12px;
    background: var(--clr-leaf);
    position: relative;
    outline: none; cursor: pointer;
    margin-left: 10px;
    transition: background .23s;
}
.cookie-toggle:checked {
    background: var(--clr-secondary);
}
.cookie-toggle:before {
    content: '';
    width: 18px; height: 18px;
    border-radius: 50%;
    background: #fff;
    position: absolute;
    left: 2px; top: 2px;
    box-shadow: 0 2px 4px rgba(127,183,126,0.08);
    transition: left 0.2s;
}
.cookie-toggle:checked:before { left: 18px; }
.cookie-category.label-disabled { opacity: 0.7; }

@media (max-width: 420px) {
    .cookie-modal { padding: var(--spacer-20); }
}

/* =========== UTILITY =========== */
.spacer { height: var(--spacer-20); }
.text-center { text-align: center; }
.mt-24 { margin-top: var(--spacer-24); }
.mb-40 { margin-bottom: var(--spacer-40); }
.w-100 { width: 100%; }
.hide { display: none !important; }

/* Organic shape accents */
.section:after {
    content: '';
    display: block;
    position: absolute; right: -38px; bottom: -38px;
    width: 100px; height: 70px;
    background: var(--clr-leaf);
    opacity: 0.17;
    border-top-left-radius: 60% 80%;
    border-top-right-radius: 70% 70%;
    border-bottom-right-radius: 55% 90%;
    border-bottom-left-radius: 80% 60%;
    z-index: 0;
    pointer-events: none;
}
@media (max-width: 768px) {
    .section:after { display: none; }
}

/* ------------- ANIMATIONS & TRANSITIONS ------------- */
.section, .feature-list li, .service-item, .testimonial-card, .card, .benefits-grid > div {
    transition: box-shadow var(--transition), transform var(--transition), background var(--transition);
}
button, .cta-primary, .main-nav a { transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition); }

/* ------------- GENERAL MEDIA QUERIES ------------- */
@media (max-width: 600px) {
    h1, h2, h3, h4 { text-align: left; }
    .footer-wrapper { padding-left: var(--spacer-8); padding-right: var(--spacer-8); }
}

/* Fix z-index stacking for banners/menus */
.mobile-menu, .mobile-menu-toggle, .cookie-banner, .cookie-modal-overlay { z-index: 3000 !important; }

/* ------------- END OF STYLE.CSS ------------- */
