/* ===================================================
   Verdure Roam - Scandinavian Clean CSS (Flex-Only)
======================================================
     DESIGN SYSTEM: Scandinavian Clean (light, soft, functional)
     BRAND PRIMARY: #164769 (blue)
     BRAND SECONDARY: #95B46A (olive)
     BRAND ACCENT: #F6F4EC (off-white)
     HEADLINE FONT: 'Montserrat', Arial, sans-serif
     BODY FONT: 'Open Sans', Arial, sans-serif
     FLEXBOX-ONLY!   NO CSS GRID/NO COLUMNS
====================================================== */

/* --------------------
   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;
  box-sizing: border-box;
  font-size: 100%;
  vertical-align: baseline;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #F6F4EC;
  color: #164769;
  line-height: 1.65;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 0.01em;
}
img { max-width: 100%; border: 0; }
ul, ol { list-style: none; }
a { color: #164769; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #95B46A; text-decoration: underline; }
:focus { outline-color: #164769; outline-width: 2px; }

/* --------------------
   TYPOGRAPHY
--------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #164769;
}
h1 { font-size: 2.7rem; margin-bottom: 20px; line-height: 1.13; }
h2 { font-size: 2rem; margin-bottom: 18px; line-height: 1.17; }
h3 { font-size: 1.24rem; margin-bottom: 16px; line-height: 1.22; }
h4, h5, h6 { font-size: 1rem; margin-bottom: 10px; }
p, li, .text-section p {
  font-size: 1.05rem; color: #243342; margin-bottom: 14px;
}
.subheadline {
  font-size: 1.14rem;
  color: #334A5F;
  margin-bottom: 20px;
  line-height: 1.45;
}
.quick-facts li, .fact-list li {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #2B3D4F;
  padding-left: 18px;
  position: relative;
}
.quick-facts li:before, .fact-list li:before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #95B46A;
  border-radius: 50%;
  margin-right: 10px;
  position: absolute;
  left: 0;
  top: 8px;
}

/* Typography for cookie/banner/modal */
.cookie-banner p, .cookie-modal p, .cookie-modal label { font-size: 1rem; color: #21527A; }

/* --------------------
   CONTAINER & LAYOUT
--------------------- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* ===============
   HEADER & NAV
================ */
header {
  background: #F6F4EC;
  border-bottom: 1px solid #e4e7ea;
  width: 100%;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 18px 20px;
  gap: 16px;
}
header img { height: 40px; width: auto; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #164769;
  padding: 7px 4px;
  border-radius: 4px;
  transition: background 0.16s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #E8F0E2;
  color: #95B46A;
}
.btn-primary {
  background: #164769;
  color: #F6F4EC;
  padding: 12px 32px;
  border-radius: 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 12px 0 rgba(22,71,105,0.09);
  transition: background 0.2s, transform 0.18s, box-shadow 0.23s;
  outline: none;
  display: inline-block;
  margin-left: 16px;
}
.btn-primary:hover,
.btn-primary:focus {
  background: #95B46A;
  color: #164769;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 4px 20px 0 rgba(22,71,105,0.14);
}
header .btn-primary { margin-left: auto; }
.mobile-menu-toggle {
  background: #E8F0E2;
  border: none;
  color: #164769;
  font-size: 2.2rem;
  padding: 6px 18px;
  border-radius: 6px;
  cursor: pointer;
  display: none;
  margin-left: 14px;
  transition: background 0.17s, color 0.15s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #D7E3CE;
  color: #21527A;
}

/* --------------------
   MOBILE MENU
--------------------- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #F6F4EC;
  z-index: 1010;
  transform: translateX(100%);
  transition: transform 0.31s cubic-bezier(0.77,0.1,0.19,0.94);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  box-shadow: -4px 0 40px 0 rgba(34,51,68,0.14);
  opacity: 1;
  pointer-events: none;
  visibility: hidden;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}
.mobile-menu-close {
  background: none;
  border: none;
  align-self: flex-end;
  color: #164769;
  font-size: 2rem;
  margin: 20px 32px 10px 0px;
  cursor: pointer;
  transition: color 0.15s;
  z-index: 2;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #95B46A;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 18px 38px 24px 38px;
}
.mobile-nav a {
  color: #21527A;
  font-size: 1.18rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 10px 0px;
  border-radius: 5px;
  transition: background 0.15s, color 0.19s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E8F0E2;
  color: #95B46A;
}

/* --------------------------
   RESPONSIVE HEADER & MENU
--------------------------- */
@media (max-width: 1019px) {
  .container {
    padding-left: 10px; padding-right: 10px;
  }
  header .container { padding-left: 10px; padding-right: 10px; gap: 6px; }
}
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  header .btn-primary { display: none; }
  .mobile-menu-toggle {
    display: block;
  }
}

@media (max-width: 580px) {
  .mobile-nav { padding-left: 22px; padding-right: 22px; }
  .mobile-menu-close { margin-right: 10px; font-size: 1.7rem; }
}

/* --------------------
   SECTIONS LAYOUT
--------------------- */
section {
  background: none;
  width: 100%;
  margin-bottom: 60px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border-radius: 18px;
}
section.cta-banner {
  background: #164769;
  color: #F6F4EC;
  margin-bottom: 0;
  box-shadow: 0 4px 32px 0 rgba(22,71,105,0.11);
}
.cta-banner h2 {
  color: #F6F4EC;
}
.cta-banner p {
  color: #F6F4EC;
}
.cta-banner .btn-primary {
  background: #95B46A;
  color: #164769;
  margin-left: 0;
}
.cta-banner .btn-primary:hover,
.cta-banner .btn-primary:focus {
  background: #F6F4EC;
  color: #164769;
  box-shadow: 0 4px 22px 0 rgba(149,180,106,0.14);
}

/* ===============
   HERO STYLES
================ */
.hero {
  background: #E8F0E2;
  border-radius: 0 0 32px 32px;
  padding-top: 60px;
  padding-bottom: 60px;
  margin-bottom: 50px;
  box-shadow: 0 8px 44px 0 rgba(34,62,89,0.10);
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 20px;
}
.hero h1 {
  color: #164769;
}
.hero .btn-primary {
  background: #164769;
  color: #F6F4EC;
  margin-left: 0;
}

/* =====================
   FLEXBOX CARD SYSTEMS
======================= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 14px 0 rgba(22,71,105,0.10);
  margin-bottom: 20px;
  position: relative;
  padding: 26px 22px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 220px;
  flex: 1 1 230px;
}

/* Features grid & service cards on homepage */
.feature-grid, .service-cards, .service-list, .info-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
  margin-top: 20px;
  margin-bottom: 10px;
}
.feature-grid > div, .service-card, .infographic-card {
  flex: 1 1 215px;
  min-width: 210px;
  max-width: 310px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 14px 0 rgba(22,71,105,0.07);
  padding: 26px 22px 20px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  gap: 10px;
  position: relative;
  transition: box-shadow 0.19s, transform 0.18s;
}
.feature-grid > div:hover, .service-card:hover, .infographic-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 8px 32px 0 rgba(22,71,105,0.16);
  cursor: pointer;
}
.feature-grid img, .service-card img, .infographic-card img {
  width: 46px;
  height: 46px;
  margin-bottom: 7px;
}
.service-card .price, .service-list .price {
  font-size: 1.13rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #95B46A;
  margin-top: 10px;
}
.service-card h3, .infographic-card h3 {
  margin-bottom: 7px;
  color: #164769;
}

/************ FAQ STYLES **************/
.faq-items {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 25px;
  justify-content: flex-start;
}
.faq-items > div {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 9px 0 rgba(22,71,105,0.10);
  padding: 22px 18px 16px 18px;
  flex: 1 1 255px;
  max-width: 98vw;
}
.faq-items h3 {
  color: #164769;
  font-size: 1.09rem;
  margin-bottom: 8px;
}
.faq-items p {
  color: #243342;
  margin-bottom: 0;
}

/* ---------
FACT LISTS
---------- */
.fact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 16px;
}

/* --------------
INFOGRAPHIC CARDS
----------------- */
.info-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.infographic-card {
  min-width: 210px;
  max-width: 310px;
  flex: 1 1 250px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 14px 0 rgba(22,71,105,0.07);
  padding: 26px 22px 20px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.16s;
}
.infographic-card:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 8px 32px 0 rgba(22,71,105,0.14);
}

/**************************************
SELECTIVE BLOCKS, MAPS & CONTACT INFO
***************************************/
.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 18px;
  align-items: flex-start;
}
.address-block img, .contact-details img {
  width: 20px; height: 20px; vertical-align: middle; margin-right: 5px;
}
.address-block, .contact-details {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 9px 0 rgba(22,71,105,0.07);
  padding: 18px 16px;
  margin-bottom: 10px;
  flex: 1 1 180px;
  color: #21527A;
}
.contact-details a {
  color: #164769;
  word-break: break-all;
}
.contact-details a:hover { color: #95B46A; }

/**************
MAP SECTION
**************/
.map-section {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 9px 0 rgba(22,71,105,0.07);
  padding: 18px 16px;
  margin-bottom: 10px;
}
.map-section img {
  width: 68px; height: 68px;
}

/************************
TESTIMONIAL SLIDER/CARDS
*************************/
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 15px 0 10px 0;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 23px;
  background: #fff;
  border-radius: 14px;
  min-width: 230px;
  box-shadow: 0 2px 18px 0 rgba(22,71,105,0.13);
  margin-bottom: 20px;
  transition: box-shadow 0.17s, transform 0.13s;
  border-left: 6px solid #95B46A;
  color: #174769;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px 0 rgba(22,71,105,0.14);
  transform: translateY(-5px) scale(1.02);
}
.testimonial-card p {
  font-size: 1.07rem;
  font-style: italic;
  color: #164769;
  margin-bottom: 7px;
}
.testimonial-card span {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #728096;
  font-size: 0.97rem;
  font-weight: 500;
}

/*********************************
   TEXT/IMAGE or FLEX SECTIONS
**********************************/
.text-image-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
}
.text-image-section > * {
  flex: 1 1 240px;
}

.text-section { margin-bottom: 12px; }

/**********************
   FOOTER STYLES
**********************/
footer {
  background: #E8F0E2;
  width: 100%;
  border-top: 1px solid #dae3d2;
  margin-top: 32px;
  padding-top: 24px;
  padding-bottom: 24px;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  gap: 42px;
}
.footer-logo {
  flex: 0 0 auto;
  margin-right: 18px;
}
.footer-logo img { height: 38px; width: auto; }
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-right: 30px;
}
.footer-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #21527A;
  transition: color 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #95B46A;
}
.footer-contact {
  font-size: 0.99rem;
  color: #243342;
}
.footer-contact a { color: #164769; text-decoration: underline; }
.footer-contact a:hover { color: #95B46A; }

/***********************************************************
   MOBILE RESPONSIVENESS (MOBILE FIRST)
************************************************************/
@media (max-width: 768px) {
  html { font-size: 95%; }
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.5rem; }
  .container { padding: 0 9px; }
  .content-wrapper { padding: 0; }

  .card-container, .feature-grid, .service-cards, .service-list, .info-cards, .testimonial-slider, .faq-items, .text-image-section, .quick-facts, .footer-nav {
    flex-direction: column !important;
    gap: 16px;
  }
  .feature-grid > div, .service-card, .infographic-card, .faq-items > div {
    min-width: 0;
    max-width: 100%;
  }
  .testimonial-slider { gap: 14px; }
  .footer-logo, .footer-nav { margin-right: 0; margin-bottom: 16px; }
  footer .container { flex-direction: column; align-items: flex-start; gap: 8px; }
  section {
    padding: 22px 4vw;
    margin-bottom: 35px;
    border-radius: 12px;
  }
  section.cta-banner { padding: 24px 2vw; border-radius: 12px; }
  .hero { padding-top: 35px; padding-bottom: 35px; margin-bottom: 30px; border-radius: 0 0 18px 18px; }
  .contact-info, .map-section{ gap: 18px; }
}
@media (max-width: 420px) {
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.09rem; }
  .btn-primary { font-size: 0.99rem; padding: 10px 19px; }
  .feature-grid img, .service-card img, .infographic-card img { width: 34px; height: 34px; }
}

/* =======================
   COOKIE CONSENT BANNER
======================= */
.cookie-banner {
  position: fixed;
  left: 15px;
  right: 15px;
  bottom: 22px;
  background: #F6F4EC;
  color: #164769;
  border-radius: 15px;
  box-shadow: 0 2px 22px rgba(30, 56, 79, 0.11);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  z-index: 2050;
  padding: 19px 26px;
  opacity: 1;
  transform: translateY(120%);
  transition: transform 0.39s cubic-bezier(0.65,0.32,0.22,1), opacity 0.23s;
}
.cookie-banner.visible {
  transform: translateY(0);
  opacity: 1;
}
.cookie-banner p {
  font-size: 1rem;
  flex: 1 1 auto;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.99rem;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 8px 20px;
  border-radius: 35px;
  margin: 0 0 0 0;
  background: #E8F0E2;
  color: #164769;
  font-weight: 600;
  transition: background 0.15s, color 0.16s, transform 0.11s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #95B46A;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
}
.cookie-banner .accept {
  background: #95B46A;
  color: #fff;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #164769;
  color: #fff;
}

@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 12px;
    font-size: 0.97rem;
    gap: 11px;
  }
  .cookie-banner .cookie-actions {
    gap: 6px;
  }
}

/* =========================
   COOKIE PREFERENCES MODAL
========================= */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right:0; top:0; bottom:0;
  background: rgba(34,49,72,0.32);
  z-index: 2060;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.26s cubic-bezier(0.18,0.68,0.3,1);
}
.cookie-modal-overlay.visible {
  pointer-events: auto;
  opacity: 1;
}
.cookie-modal {
  background: #fff;
  color: #164769;
  border-radius: 16px;
  box-shadow: 0 16px 64px 0 rgba(34,49,72,0.19);
  min-width: 310px;
  max-width: 99vw;
  padding: 30px 32px 22px 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: center;
  gap: 13px;
  position: relative;
  opacity: 1;
  transform: translateY(60px) scale(0.98);
  transition: transform 0.33s cubic-bezier(0.21,0.74,0.27,0.88), opacity 0.19s;
}
.cookie-modal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.cookie-modal h2 { font-size: 1.27rem; color: #164769; margin-bottom: 8px; }
.cookie-modal h3 { font-size: 1.02rem; color: #21527A; margin: 18px 0 5px 0; }
.cookie-modal label { font-size: 1.02rem; color: #21527A; cursor: pointer; }
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 17px;
}
.cookie-modal .category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 0;
}
.cookie-modal input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: #95B46A;
}
.cookie-modal .essential {
  font-weight: 600;
  color: #164769;
}
.cookie-modal .modal-actions {
  display: flex; gap: 12px; margin-top: 15px;
}
.cookie-modal button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.98rem;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 8px 22px;
  border-radius: 35px;
  background: #E8F0E2;
  color: #164769;
  font-weight: 600;
  transition: background 0.16s, color 0.14s, transform 0.11s;
}
.cookie-modal button:hover, .cookie-modal button:focus {
  background: #95B46A;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
}
.cookie-modal-close {
  position: absolute;
  top: 10px; right: 14px;
  background: none;
  border: none;
  font-size: 1.37rem;
  color: #21527A;
  cursor: pointer;
  z-index: 1;
}
.cookie-modal-close:hover, .cookie-modal-close:focus { color: #95B46A; }

@media (max-width: 540px) {
  .cookie-modal { min-width: 88vw; max-width: 97vw; padding: 16px 8px 11px 12px; }
}

/* =======================
 UTILITY FRONTEND CLASSES
========================= */
.text-center { text-align: center; }
.align-center { align-items: center; justify-content: center; }
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }
.mt-4 { margin-top: 32px; }
.mb-4 { margin-bottom: 32px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
@media (max-width: 500px) {
  .mt-2, .mb-2 { margin-top: 12px; margin-bottom: 12px; }
  .mt-4, .mb-4 { margin-top: 18px; margin-bottom: 18px; }
  .gap-2 { gap: 8px; }
  .gap-3 { gap: 14px; }
}

/* =========================
 SELECTOR OVERRIDES & MISC.
=========================== */
strong, b { font-weight: 700; }
::-webkit-input-placeholder { color: #b7c5d8; }
::-moz-placeholder { color: #b7c5d8; }
:-ms-input-placeholder { color: #b7c5d8; }
::placeholder { color: #b7c5d8; }

/* ---------------
 FOR PRINTING
---------------- */
@media print {
  header, footer, .btn-primary, .mobile-menu-toggle, .mobile-menu, .cookie-banner, .cookie-modal, .cookie-modal-overlay {
    display: none !important;
  }
  section {
    margin-bottom: 31px !important; padding: 5px 0 !important; border-radius: 0 !important; box-shadow: none !important; background: none !important;
  }
}
