/* --------------------
   CSS 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, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  background: #F6FAF7;
  color: #163D2D;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
ul, li { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
table { border-collapse: collapse; width: 100%; }


/* ---------------
   BRAND VARIABLES
--------------- */
:root {
  --color-primary: #163D2D;
  --color-secondary: #B6D697;
  --color-accent: #E9F3EE;
  --color-pastel-lavender: #EEE3F6;
  --color-pastel-blue: #D4EBF5;
  --color-pastel-pink: #FDE8E4;
  --color-pastel-yellow: #FFF9DB;
  --color-shadow: 0 4px 20px 0 rgba(22,61,45,0.06);
  --radius-xl: 28px;
  --radius-lg: 18px;
  --radius: 12px;
  --shadow-card: 0 4px 20px 0 rgba(22,61,45,0.08);
  --transition: 0.2s cubic-bezier(.22,.61,.36,1);
}


/* ---------------
   TYPOGRAPHY
--------------- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600|Roboto:400,700&display=swap');

body {
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--color-primary);
  font-size: 16px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-primary);
  letter-spacing: 0.03em;
  font-weight: 700;
}
h1 {
  font-size: 2.2rem;
  margin-bottom: 16px;
  line-height: 1.15;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  margin-top: 0;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  margin-top: 0;
  font-weight: 600;
}
p, ul, ol {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 14px;
}
p.subheadline {
  color: var(--color-secondary);
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}
strong, b { font-weight: 700; }


/* -----------------
   LAYOUT CONTAINERS
----------------- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Spacing requirement */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* Card container & grid patterns */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 24px;
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card:hover {
  box-shadow: 0 8px 28px 0 rgba(22,61,45,0.12);
  transform: translateY(-4px) scale(1.02);
}
.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;
  background: var(--color-pastel-blue);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.testimonial-card blockquote {
  font-size: 1.13rem;
  font-style: italic;
  color: var(--color-primary);
  margin: 0 0 0 0;
}
.testimonial-card p {
  font-size: 1rem;
  color: var(--color-primary);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Feature grid for various sections */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 8px;
}
.feature-grid > div {
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 300px;
  background: var(--color-pastel-yellow);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  transition: box-shadow var(--transition), transform var(--transition), background var(--transition);
}
.feature-grid > div:hover {
  background: var(--color-pastel-pink);
  box-shadow: 0 8px 28px 0 rgba(22,61,45,0.13);
  transform: translateY(-3px) scale(1.01);
}
.feature-grid img, .feature-grid svg {
  width: 36px;
  height: 36px;
  margin-bottom: 5px;
}

/* Text Section Styling */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--color-pastel-lavender);
  border-radius: var(--radius);
  padding: 20px 16px;
}
.text-section ul {
  margin-left: 18px;
  margin-bottom: 7px;
  list-style: disc inside;
}
.text-section li {
  margin-bottom: 6px;
}


/* -------------
   HERO SECTION
------------- */
.hero {
  background: linear-gradient(135deg, #fdf6e9 0%, #e9f3ee 70%);
  padding: 56px 0 40px 0;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  box-shadow: 0 6px 38px -12px rgba(121,180,127,0.09);
}
.hero h1 {
  color: var(--color-primary);
  font-size: 2.8rem;
  margin-bottom: 16px;
}
.hero .subheadline {
  font-family: 'Roboto', sans-serif;
  color: var(--color-secondary);
  font-size: 1.18rem;
  margin-bottom: 26px;
}
.hero .cta-primary {
  margin-top: 14px;
}


/* -------------------
   BUTTONS & LINKS
------------------- */
.cta-primary {
  display: inline-block;
  background: var(--color-secondary);
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 10px 0 rgba(22,61,45,0.06);
  font-size: 1.10rem;
  letter-spacing: 0.02em;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
  border: none;
  cursor: pointer;
  margin-top: 8px;
  margin-bottom: 8px;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--color-primary);
  color: #F8FAF7;
  box-shadow: 0 6px 26px 0 rgba(22,61,45,0.11);
  transform: scale(1.03);
}
nav a {
  padding: 11px 17px;
  font-weight: 600;
  border-radius: 8px;
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  transition: background var(--transition), color var(--transition);
}
nav a:hover, nav a:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.mobile-nav a {
  font-size: 1.2rem;
  display: block;
  padding: 13px 0;
  margin-bottom: 6px;
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}


/* ----------------
   HEADER / NAVBAR
----------------- */
header {
  width: 100%;
  background: #FCFDF9;
  box-shadow: 0 2px 16px 0 rgba(22,61,45,0.035);
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 99;
  display: flex;
  align-items: center;
  flex-direction: column;
}
header .container, header > div {
  flex-direction: row;
  align-items: center;
}
.logo img {
  height: 54px;
  display: block;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 7px;
  align-items: center;
  margin-left: 20px;
}
header .cta-primary {
  margin-left: auto;
  margin-right: 18px;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--color-primary);
  padding: 7px 13px;
  margin-left: 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--color-secondary);
  color: var(--color-primary);
}

/* ---------------
  MOBILE NAV MENU
--------------- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(248,252,247,0.98);
  z-index: 199;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
  transform: translateX(-100%);
  transition: transform 0.30s cubic-bezier(.45,1.55,.33,1);
  box-shadow: 0 0 60px 0 rgba(181,215,151,0.18);
  min-width: 0;
  width: 100vw;
  min-height: 100vh;
}
.mobile-menu.active {
  transform: translateX(0);
  box-shadow: 0 4px 80px 0 rgba(121,180,127,0.14);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: var(--color-primary);
  align-self: flex-end;
  padding: 18px 24px;
  cursor: pointer;
  margin-bottom: 12px;
  margin-top: 10px;
}
.mobile-menu .mobile-nav {
  display: flex !important;
  flex-direction: column;
  gap: 4px;
  padding: 14px 28px;
  width: 100%;
  align-items: flex-start;
}

/* -------------
   FOOTER
------------- */
footer {
  width: 100%;
  background: var(--color-accent);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  box-shadow: 0 -2px 18px 0 rgba(121,180,127,0.07);
  padding: 36px 0 20px 0;
  margin-top: 45px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: center;
}
footer > div {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}
footer img {
  height: 42px;
  margin-right: 10px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
footer nav a {
  color: var(--color-primary);
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  padding: 4px 9px;
  border-radius: 6px;
}
footer nav a:hover, footer nav a:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}


/* -------------
   TABLES
------------- */
table {
  width: 100%;
  background: var(--color-pastel-blue);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  margin: 16px 0;
  font-size: 0.98rem;
}
thead {
  background: var(--color-secondary);
}
th, td {
  text-align: left;
  padding: 12px 13px;
}
th {
  font-weight: 700;
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.03rem;
}
td {
  color: var(--color-primary);
}
tr:nth-child(even) {
  background: var(--color-accent);
}
caption {
  caption-side: top;
  font-size: 1.1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 6px;
}


/* -------------
    FORMS
------------- */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  background: #fff;
  border: 1.5px solid var(--color-secondary);
  border-radius: var(--radius);
  padding: 11px 14px;
  margin-bottom: 17px;
  font-size: 1rem;
  color: var(--color-primary);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
  box-sizing: border-box;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 2px 12px 0 rgba(121,180,127,0.07);
}
button, .btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  padding: 10px 23px;
  border-radius: var(--radius-lg);
  border: none;
  background: var(--color-primary);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
}
button:hover, .btn:hover {
  background: var(--color-secondary);
  color: var(--color-primary);
  transform: scale(1.04);
  box-shadow: 0 6px 21px 0 rgba(22,61,45,0.10);
}


/* -------------
   CONTACT PREVIEW & DETAILS
------------- */
.contact-preview, .contact-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}
.contact-preview img, .contact-details img {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  display: inline-block;
  vertical-align: middle;
}
.contact-preview p, .contact-details p {
  display: flex;
  align-items: center;
  font-size: 1rem;
  color: var(--color-primary);
}
.map-location {
  margin-top: 18px;
  background: var(--color-accent);
  border-radius: var(--radius);
  padding: 18px 13px;
}

/* --- Misc -- */
.section:not(:last-child) { border-bottom: 1px solid #ebf0ec; }


/* ---------------
   COOKIE BANNER
---------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 500;
  background: rgb(252, 250, 248, 0.98);
  box-shadow: 0 -2px 30px 0 rgba(181,215,151,0.16);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 23px 24px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  font-size: 1rem;
  transition: transform 0.38s ease;
}
.cookie-banner.hidden { transform: translateY(120%); pointer-events: none; opacity: 0; }
.cookie-banner-message { color: var(--color-primary); max-width: 530px; }
.cookie-banner-actions {
  display: flex; flex-direction: row; gap: 14px;
}
.cookie-btn {
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-lg);
  border: none;
  padding: 9px 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
.cookie-btn.secondary, .cookie-btn.settings {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.cookie-btn:focus, .cookie-btn:hover {
  background: var(--color-secondary);
  color: var(--color-primary);
  box-shadow: 0 4px 16px 0 rgba(22,61,45,0.09);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--color-primary);
  color: #fff;
}


/* ---------------------
   COOKIE SETTINGS MODAL
--------------------- */
.cookie-modal-backdrop {
  position: fixed; top: 0; bottom: 0; left: 0; right: 0;
  z-index: 999;
  background: rgba(22,61,45, 0.15);
  display: flex; align-items: center; justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.28s ease;
}
.cookie-modal-backdrop.hidden { opacity: 0; pointer-events: none; }
.cookie-modal {
  background: #fffef9;
  border-radius: var(--radius-xl);
  box-shadow: 0 10px 38px 6px rgba(22,61,45,0.08);
  max-width: 420px; width: 100%;
  padding: 38px 30px 24px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: modal-pop 0.35s cubic-bezier(.22,.8,.25,1.04);
  position: relative;
}
@keyframes modal-pop {
  0% { transform: scale(0.92) translateY(10px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.25rem;
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal .modal-close-btn {
  position: absolute;
  right: 18px;
  top: 14px;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: var(--color-primary);
  cursor: pointer;
  border-radius: 6px;
  transition: background var(--transition);
}
.cookie-modal .modal-close-btn:hover, .cookie-modal .modal-close-btn:focus {
  background: var(--color-accent);
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 8px 0 18px 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1rem;
}
.cookie-category-label {
  font-weight: 600;
  color: var(--color-primary);
}
.cookie-category-toggle {
  margin-left: auto;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 10px;
  justify-content: flex-end;
}

.switch {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 21px;
}
.switch input { display: none; }
.switch-slider {
  position: absolute;
  cursor: pointer;
  background: var(--color-secondary);
  border-radius: 21px;
  top: 0; left: 0; right: 0; bottom: 0;
  transition: background .2s;
}
.switch-slider:before {
  content: '';
  position: absolute;
  height: 16px;
  width: 16px;
  left: 2.5px;
  bottom: 2.5px;
  background: #fff;
  border-radius: 50%;
  transition: transform .2s;
  box-shadow: 0 1px 4px 0 rgba(22,61,45,0.07);
}
.switch input:checked + .switch-slider {
  background: var(--color-primary);
}
.switch input:checked + .switch-slider:before {
  transform: translateX(16px);
}


/* -------------
   UTILITY/HELPERS
------------- */
.mt-0 {
  margin-top: 0 !important;
}
.mb-0 {
  margin-bottom: 0 !important;
}
.mt-24 {
  margin-top: 24px !important;
}
.mb-24 {
  margin-bottom: 24px !important;
}
.gap-20 {
  gap: 20px !important;
}


/* ---------------------------------
   RESPONSIVE DESIGN (MOBILE-FIRST)
--------------------------------- */
@media (max-width: 1190px) {
  .container { max-width: 1000px; }
}
@media (max-width: 900px) {
  .container { max-width: 750px; }
  .feature-grid > div, .card {
    min-width: 170px;
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  /* Nav transform to mobile menu */
  header nav, header .cta-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  /* Hero section and content scale */
  .hero {
    padding: 38px 0 26px 0;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  }
  .hero h1 {
    font-size: 2rem;
  }
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid > div {
    min-width: 0;
    width: 100%;
  }
  .container {
    padding: 0 8px;
    max-width: 98vw;
  }
  .footer > div, .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }
  .section {
    margin-bottom: 38px;
    padding: 29px 8px;
  }
  .card-container { gap: 12px; }
  .testimonial-card {
    flex-direction: column;
    gap: 11px;
    padding: 13px;
  }
  .content-grid, .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .mobile-menu {
    width: 100vw;
    min-width: 0;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 17px 9px;
    gap: 12px;
    font-size: 0.93rem;
  }
}
@media (max-width: 530px) {
  .hero h1 { font-size: 1.35rem; }
}

/* ------------------------------------------
   SOFT-PASTEL SPECIFIC EFFECTS & HIERARCHY
------------------------------------------ */
.card, .feature-grid > div, .testimonial-card, .text-section {
  box-shadow: var(--shadow-card);
  border: none;
}
.card, .testimonial-card, .text-section {
  background: var(--color-accent);
}
/* Soft dreamy effect */
.card, .feature-grid > div, .testimonial-card {
  background-color: #fffefb;
  /* Pastel overlay */
  background: linear-gradient(135deg, #fff9db 0%, #e9f3ee 90%);
}
.text-section {
  background: linear-gradient(110deg, #e9f3ee 35%, #fdf6e9 100%);
  /* mild dreamy layering */
}

/* Section headers Soft Pastel */
h2 {
  color: var(--color-primary);
  background: linear-gradient(135deg, #e4f3ee 35%, #fbeff6 89%);
  padding-left: 9px; padding-right: 9px;
  border-radius: var(--radius);
  display: inline-block;
  font-weight: 700;
}

/* Micro-interactions */
.cta-primary:active {
  transform: scale(0.97);
}
button:focus-visible, .cta-primary:focus-visible, .cookie-btn:focus-visible {
  outline: 2.5px solid var(--color-secondary);
  outline-offset: 2px;
}

/* Clear accessible focus for nav & links */
a:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

/* Hide scrollbars for modal/mobile-menu when needed */
.mobile-menu, .cookie-modal {
  scrollbar-width: thin;
  scrollbar-color: var(--color-secondary) #f7faff;
}
.mobile-menu::-webkit-scrollbar, .cookie-modal::-webkit-scrollbar {
  width: 7px;
  background: #ECF9F1;
}
.mobile-menu::-webkit-scrollbar-thumb, .cookie-modal::-webkit-scrollbar-thumb {
  background: var(--color-secondary);
  border-radius: 9px;
}


/* ------
   END
------ */
