/* =====================================================
   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, 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 {
  height: 100%;
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  line-height: 1.5;
  font-family: 'Roboto', Arial, sans-serif;
  background: #F8F9F9;
  color: #2C3531;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}
button, a.btn-primary, a.btn-secondary {
  cursor: pointer;
}

/* ===============================
   BRAND VARIABLES (fallbacks included)
=============================== */
:root {
  --color-primary: #2C3531;
  --color-secondary: #116466;
  --color-accent: #D9B08C;
  --color-bg: #F8F9F9;
  --color-white: #fff;
  --color-shadow: rgba(44, 53, 49, 0.04);
  --color-grey-100: #F3F5F6;
  --color-grey-200: #E1E3E2;
  --color-grey-800: #555;

  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* ===============================
   LAYOUT & CONTAINER CLASSES
=============================== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-white);
  border-radius: 18px;
  box-shadow: 0 2px 10px var(--color-shadow);
  transition: box-shadow 0.23s;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card {  /* For possible future use */
  margin-bottom: 20px;
  border-radius: 14px;
  background: var(--color-white);
  box-shadow: 0 1px 6px var(--color-shadow);
  position: relative;
  transition: box-shadow 0.24s;
}
.card:hover {
  box-shadow: 0 4px 24px var(--color-shadow);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.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: 20px;
  padding: 20px;
  background: var(--color-grey-100);
  border-radius: 14px;
  box-shadow: 0 2px 10px var(--color-shadow);
  margin-bottom: 20px;
  transition: box-shadow 0.23s, background 0.2s;
}
.testimonial-card p {
  color: #2C3531;
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 0;
}
.testimonial-card span {
  color: var(--color-secondary);
  font-weight: 700;
  font-size: 16px;
}
.testimonial-card:hover {
  box-shadow: 0 4px 32px var(--color-shadow);
  background: #fff;
}

/* =============
   HEADER + NAV
=============== */
header {
  width: 100%;
  padding: 24px 0;
  background: var(--color-bg);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 100;
}
header a img {
  height: 40px;
  margin-right: 28px;
}
header nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
header nav a {
  color: var(--color-primary);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  padding: 8px 6px;
  transition: color 0.18s;
  border-radius: 7px;
}
header nav a:hover, header nav a:focus {
  color: var(--color-secondary);
  background: var(--color-grey-100);
}
.btn-primary {
  font-family: var(--font-display);
  background: var(--color-secondary);
  color: #fff !important;
  border-radius: 8px;
  padding: 12px 28px;
  font-size: 17px;
  font-weight: 700;
  margin-left: 30px;
  box-shadow: 0 1px 3px var(--color-shadow);
  border: none;
  transition: background 0.22s, box-shadow 0.22s, transform 0.23s;
  display: inline-block;
  letter-spacing: 0.02em;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 16px var(--color-shadow);
  transform: translateY(-2px) scale(1.02);
}

/* ============
   MOBILE NAV
============= */
.mobile-menu-toggle {
  display: none;
  font-size: 32px;
  color: var(--color-secondary);
  background: var(--color-white);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 24px;
  right: 28px;
  z-index: 210;
  box-shadow: 0 2px 10px var(--color-shadow);
  border: 1px solid var(--color-grey-200);
  transition: background 0.19s, box-shadow 0.2s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: var(--color-grey-100);
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  right: 0;
  width: 92vw;
  max-width: 360px;
  height: 100vh;
  background: var(--color-white);
  box-shadow: -6px 0 36px var(--color-shadow);
  z-index: 300;
  padding: 0 0 48px 0;
  transform: translateX(105%);
  transition: transform 0.36s cubic-bezier(.7,.24,.21,.84);
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  border: none;
  background: none;
  font-size: 32px;
  color: var(--color-primary);
  margin: 22px 0 18px 22px;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 24px;
}
.mobile-nav a {
  font-size: 18px;
  font-family: var(--font-body);
  padding: 10px 0;
  border-bottom: 1px solid var(--color-grey-200);
  color: var(--color-primary);
  transition: color 0.15s, background 0.18s;
  border-radius: 7px 7px 0 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-grey-100);
  color: var(--color-secondary);
}

/* Overlay for mobile menu */
body.menu-open {
  overflow: hidden;
}

/* ==============
   HERO SECTIONS
============== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
section:nth-of-type(odd) {
  background: var(--color-bg);
}
section:nth-of-type(even) {
  background: var(--color-white);
}
h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--color-primary);
  margin-bottom: 10px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.16;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 7px;
}
p, li {
  color: var(--color-grey-800);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
}
strong {
  color: var(--color-primary);
  font-weight: 700;
}

/* Section content gap */
section .container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ===========================
   FEATURES / ICON LISTS
=========================== */
ul {
  padding: 0;
}
ul li {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
ul li img {
  width: 32px;
  min-width: 32px;
  height: 32px;
}
ol {
  margin-left: 32px;
  margin-bottom: 20px;
}
ol li {
  margin-bottom: 10px;
}

/* =====================
   CTA BUTTONS
===================== */
.btn-secondary {
  background: var(--color-accent);
  color: var(--color-primary) !important;
  border-radius: 8px;
  padding: 11px 24px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  box-shadow: 0 2px 8px var(--color-shadow);
  transition: background 0.2s, box-shadow 0.19s, color 0.19s, transform 0.2s;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #e6c2a6;
  color: var(--color-secondary) !important;
  box-shadow: 0 6px 24px var(--color-shadow);
  transform: translateY(-2px);
}

/* =========================
   FOOTER
========================= */
footer {
  background: var(--color-bg);
  padding: 30px 0 28px 0;
  border-top: 2px solid var(--color-grey-200);
  margin-top: 40px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin-bottom: 18px;
}
footer nav a {
  color: var(--color-secondary);
  font-size: 15px;
  font-family: var(--font-body);
  transition: color 0.19s;
  padding: 5px 9px;
  border-radius: 6px;
}
footer nav a:hover, footer nav a:focus {
  color: var(--color-primary);
  background: var(--color-grey-100);
}
footer .text-section p {
  font-size: 15px;
  color: var(--color-grey-800);
  line-height: 1.6;
}

/* =========================
   COOKIE CONSENT BANNER
========================= */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 16px 22px 16px;
  background: var(--color-white);
  box-shadow: 0 -2px 16px var(--color-shadow);
  border-top: 1px solid var(--color-grey-200);
  z-index: 9000;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  transition: transform 0.26s cubic-bezier(.8,.24,.16,.96);
  transform: translateY(0);
}
.cookie-banner.hide {
  transform: translateY(120%);
  pointer-events: none;
  opacity: 0;
}
.cookie-banner-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 5px;
}
.cookie-banner-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cookie-banner button, .cookie-banner .btn-primary, .cookie-banner .btn-secondary {
  font-size: 16px;
  padding: 10px 21px;
}
.cookie-banner .btn-tertiary {
  background: var(--color-white);
  color: var(--color-secondary);
  border-radius: 8px;
  border: 1.5px solid var(--color-secondary);
  font-weight: 600;
  transition: border 0.2s, background 0.17s, color 0.19s;
}
.cookie-banner .btn-tertiary:hover, .cookie-banner .btn-tertiary:focus {
  background: var(--color-grey-100);
  border-color: var(--color-primary);
}

/* Cookie modal overlay & dialog */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: rgba(44, 53, 49, 0.34);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.2s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: var(--color-white);
  border-radius: 18px;
  box-shadow: 0 4px 32px var(--color-shadow);
  width: 90vw;
  max-width: 370px;
  padding: 34px 28px 24px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  animation: fadeInUp 0.27s cubic-bezier(.71,.28,.27,.97);
}
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(64px); }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-modal-title {
  font-size: 21px;
  font-family: var(--font-display);
  font-weight: bold;
  color: var(--color-primary);
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 11px;
}
.cookie-category label {
  font-size: 16px;
  color: var(--color-primary);
  cursor: pointer;
  font-family: var(--font-body);
}
.cookie-category input[type="checkbox"] {
  width: 20px; 
  height: 20px; 
  accent-color: var(--color-secondary);
  border-radius: 4px;
  border: 1.5px solid var(--color-grey-200);
}
.cookie-category input[disabled] {
  accent-color: var(--color-secondary);
  opacity: 0.65;
}
.cookie-modal-actions {
  display: flex;
  gap: 10px;
}
.cookie-modal .btn-primary, .cookie-modal .btn-secondary {
  font-size: 16px;
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 28px;
  background: none;
  border: none;
  color: var(--color-grey-800);
  cursor: pointer;
}

/* ======================
   RESPONSIVE DESIGN
====================== */
@media (max-width: 1100px) {
  .container {
    max-width: 100%;
    padding: 0 3vw;
  }
}
@media (max-width: 900px) {
  header nav {
    gap: 14px;
  }
  .content-wrapper, .card-container, .content-grid {
    gap: 16px;
  }
  section {
    padding: 32px 8px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  section {
    padding: 32px 2vw;
    margin-bottom: 40px;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.4rem;
  }
  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 0;
    gap: 18px;
  }
  header nav {
    display: none;
  }
  .btn-primary {
    margin-left: 0;
    margin-top: 8px;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .testimonials {
    gap: 10px;
  }
  .testimonial-card {
    padding: 16px;
    font-size: 15px;
    gap: 12px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 480px) {
  .container {
    padding: 0 3vw;
  }
  section, .section {
    padding: 22px 0.5vw;
  }
  h1 {
    font-size: 1.35rem;
  }
}

/* =========================
   ANIMATIONS & MICROINTERACTIONS
======================== */
.btn-primary, .btn-secondary, .btn-tertiary,
header nav a, .mobile-nav a, .testimonial-card, .card {
  transition: background 0.18s, box-shadow 0.17s, color 0.14s, transform 0.15s;
}
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
  z-index: 2;
}

.card:active, .btn-primary:active, .btn-secondary:active,
header nav a:active, .mobile-nav a:active {
  transform: scale(0.98);
}

/* =========================
   SCROLLBAR (minimalist)
========================= */
::-webkit-scrollbar {
  width: 10px;
  background: var(--color-bg);
  border-radius: 8px;
}
::-webkit-scrollbar-thumb {
  background: var(--color-grey-200);
  border-radius: 8px;
}

/* =========================
   FORM ELEMENTS
========================= */
input, textarea, select {
  background: var(--color-white);
  border-radius: 7px;
  border: 1.5px solid var(--color-grey-200);
  padding: 10px 14px;
  font-size: 16px;
  transition: border 0.18s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-secondary);
}
label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  margin-bottom: 7px;
  color: var(--color-primary);
}

/* =======================
   Z-INDEX STACKING ORDER
======================= */
header    { z-index: 100; }
.mobile-menu { z-index: 300; }
.cookie-banner { z-index: 9000; }
.cookie-modal-overlay { z-index: 10001; }

/* =======================
   MISC
======================= */
.map {
  background: var(--color-grey-100);
  border-radius: 10px;
  padding: 14px;
  margin-top: 10px;
}

/* Ensure at least 20px margin between all main content cards and sections */
section + section {
  margin-top: 24px;
}
.card + .card, .testimonial-card + .testimonial-card {
  margin-top: 20px;
}
.container + .container {
  margin-top: 20px;
}

/* Typography hierarchy on content blocks */
.content-wrapper > h1,
.content-wrapper > h2,
.content-wrapper > h3,
.text-section > h1,
.text-section > h2,
.text-section > h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

/* Subtle hover for iconified lists */
ul li:hover {
  background: var(--color-grey-100);
  border-radius: 8px;
}

/* === END === */
