/* ======================== NORMALIZE & RESET ======================== */
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%;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F1F7ED;
  color: #122C34;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
img, video {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: #122C34;
  text-decoration: none;
  transition: color 0.18s cubic-bezier(0.4,0,0.2,1);
}
a:hover, a:focus {
  color: #76C893;
}
button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
  transition: background 0.18s cubic-bezier(0.4,0,0.2,1);
}

/* ======================== BRAND FONTS ======================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&family=Open+Sans:wght@400;600&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #122C34;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  line-height: 1.15;
  text-transform: uppercase;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  line-height: 1.16;
  text-transform: uppercase;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
.text-section h2,
.text-section h3 {
  margin-top: 24px;
  margin-bottom: 12px;
}

p, ul, li {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: #122C34;
  margin-bottom: 16px;
}
ul li,
ol li {
  line-height: 1.6;
  position: relative;
  padding-left: 36px;
}
ul li:before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  background: #76C893;
  mask: url('data:image/svg+xml;utf8,<svg fill="white" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 12"><circle cx="6" cy="6" r="6"/></svg>') center/contain no-repeat;
  position: absolute;
  left: 8px;
  top: 5px;
}

.text-section ul li:before {
  mask: url('data:image/svg+xml;utf8,<svg fill="white" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 12"><rect width="12" height="12" rx="2"/></svg>') center/contain no-repeat;
}

/* ======================== CONTAINER & STRUCTURE ======================== */
.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
  margin-bottom: 0;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 6px 30px 0 rgba(18,44,52,0.09);
  position: relative;
  z-index: 1;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 18px rgba(18,44,52,0.06);
  position: relative;
  flex: 1 1 275px;
  min-width: 275px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 24px;
  transition: box-shadow 0.28s cubic-bezier(0.2,0.7,0.4,1);
}
.card:hover {
  box-shadow: 0 4px 28px rgba(18,44,52,0.17);
  z-index: 2;
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #F1F7ED;
  border-left: 6px solid #76C893;
  box-shadow: 0 2px 18px 0 rgba(18,44,52,0.09);
  border-radius: 18px;
  margin-bottom: 24px;
  max-width: 600px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #F1F7ED;
  border-radius: 16px;
  padding: 22px 16px;
  box-shadow: 0 1px 9px 0 rgba(18,44,52,0.05);
}

.map-location {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 1rem;
  margin-top: 10px;
}
.map-location img {
  width: 24px;
  height: 24px;
}

/* ============= ICON LISTS ============= */
ul img[alt] {
  width: 26px;
  height: 26px;
  margin-right: 13px;
  vertical-align: middle;
  display: inline-block;
  position: relative;
  top: 7px;
}
ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-left: 0;
  margin-bottom: 14px;
  position: relative;
}
ul li img { flex-shrink: 0; }

/* ======================== HEADER & NAV ======================== */
header {
  background: #fff;
  border-bottom: 2px solid #E9ECEF;
  box-shadow: 0 1px 5px 0 rgba(18,44,52,0.03);
  position: sticky;
  top: 0;
  z-index: 1000;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  min-height: 82px;
}
header img {
  width: 160px;
  height: auto;
}
nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 7px;
  color: #122C34;
  transition: background 0.18s, color 0.18s;
}
nav a.active, nav a[aria-current="page"] {
  background: #F1F7ED;
  color: #76C893;
}
nav a:hover, nav a:focus {
  background: #76C893;
  color: #fff;
}

.btn-primary,
.btn-secondary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  padding: 13px 34px;
  border: none;
  outline: none;
  border-radius: 32px;
  cursor: pointer;
  transition: background 0.23s, color 0.18s, box-shadow 0.13s;
  box-shadow: 0 2px 8px rgba(76, 200, 147,0.11);
  margin-left: 20px;
}
.btn-primary {
  background: #76C893;
  color: #122C34;
}
.btn-primary:hover, .btn-primary:focus {
  background: #122C34;
  color: #fff;
}
.btn-secondary {
  background: #F1F7ED;
  color: #122C34;
  border: 2px solid #76C893;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #76C893;
  color: #fff;
}

/* ============ HERO SECTION ============= */
main section:first-of-type {
  background: #F1F7ED;
  border-radius: 0 0 40px 40px;
  box-shadow: 0 6px 35px 0 rgba(118,200,147,0.07);
  margin-bottom: 64px;
}

/* =========== TESTIMONIALS ============ */
.testimonial-card {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #fff;
  color: #122C34;
  border-left: 7px solid #76C893;
  margin-bottom: 32px;
  box-shadow: 0 7px 32px rgba(23,44,52,0.055);
  border-radius: 18px;
  max-width: 525px;
  font-size: 1.13rem;
  line-height: 1.65;
  transition: box-shadow 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 18px 38px rgba(34, 70, 60, 0.07);
}
.testimonial-card q {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  color: #122C34;
  font-style: italic;
  line-height: 1.5;
  display: block;
  margin-bottom: 13px;
}
.testimonial-card b {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #122C34;
  font-weight: 700;
}

/* ============ FOOTER ================== */
footer {
  background: #122C34;
  padding: 46px 0 0 0;
  color: #fff;
  border-top: 3px solid #76C893;
  margin-top: 60px;
}
footer .container {
  align-items: flex-start;
  gap: 16px;
}
footer nav {
  gap: 8px;
  flex-wrap: wrap;
}
footer nav a {
  color: #76C893;
  background: transparent;
  padding: 0 3px;
  border-radius: 3px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.03em;
}
footer nav a:hover, footer nav a:focus {
  color: #F1F7ED;
  background: #76C893;
  outline: none;
}
.footer-info p, .footer-info a {
  color: #fff;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  line-height: 1.6;
}
.footer-info a:hover { color: #76C893; }

/* ===================================
  BURGER / MOBILE NAVIGATION
==================================== */
.mobile-menu-toggle {
  display: none;
  background: #76C893;
  color: #122C34;
  font-size: 2rem;
  padding: 10px 12px;
  border-radius: 10px;
  margin-left: 24px;
  z-index: 1501;
  border: 2px solid #76C893;
  transition: background 0.17s, color 0.17s;
}
.mobile-menu-toggle:focus { outline: 2px solid #122C34; }
.mobile-menu-toggle:hover {
  background: #E9ECEF;
  color: #122C34;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #122C34;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  z-index: 2000;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(.75,.01,.26,.89), opacity 0.22s;
  opacity: 0;
}
.mobile-menu.open {
  display: flex;
  opacity: 1;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #76C893;
  font-size: 2.1rem;
  margin: 28px 0 16px 22px;
  align-self: flex-start;
  z-index: 2010;
  border-radius: 8px;
  padding: 2px 9px;
  transition: background 0.16s, color 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #243B45;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-left: 35px;
  margin-top: 12px;
}
.mobile-nav a {
  color: #F1F7ED;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 9px 0;
  border-radius: 7px;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #76C893;
  color: #122C34;
}

@media (max-width: 1024px) {
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px 0;
  }
  nav {
    gap: 9px;
  }
}

@media (max-width: 900px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }
  header img {
    width: 120px;
  }
}

@media (max-width: 768px) {
  header nav,
  header .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
  .container {
    padding-left: 6vw;
    padding-right: 6vw;
  }
  .section {
    padding: 28px 6vw;
    margin-bottom: 32px;
  }
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.11rem; }
  .content-wrapper, .text-section {
    gap: 21px;
  }
  .testimonial-card,
  .card {
    padding: 15px 12px;
    max-width: 100%;
  }
  .content-grid, .card-container,
  .text-image-section {
    flex-direction: column !important;
    gap: 19px;
  }
}

@media (max-width: 575px) {
  .container, .section {
    padding-left: 2vw;
    padding-right: 2vw;
  }
}

/* ======================== COOKIE CONSENT BANNER ======================== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #122C34;
  color: #fff;
  z-index: 3000;
  padding: 24px 30px 24px 30px;
  box-shadow: 0 -2px 35px rgba(26,52,42,0.31);
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  gap: 16px;
  transition: transform 0.4s cubic-bezier(.65,.02,.5,1), opacity 0.17s;
  opacity: 1;
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}
.cookie-banner__text {
  flex: 1 1 auto;
  margin-right: 28px;
}
.cookie-banner__actions {
  display: flex;
  gap: 18px;
  flex-shrink: 0;
}
.cookie-btn {
  border-radius: 38px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 10px 22px;
  font-size: 1rem;
  border: none;
  outline: none;
  cursor: pointer;
  margin: 0 2px;
  transition: background 0.17s, color 0.17s;
}
.cookie-btn.accept {
  background: #76C893;
  color: #122C34;
}
.cookie-btn.accept:hover,
.cookie-btn.accept:focus {
  background: #fff;
  color: #76C893;
}
.cookie-btn.reject {
  background: #F1F7ED;
  color: #122C34;
  border: 2px solid #76C893;
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus {
  background: #76C893;
  color: #fff;
}
.cookie-btn.settings {
  background: transparent;
  color: #F1F7ED;
  border: 2px solid #F1F7ED;
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: #F1F7ED;
  color: #122C34;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 10px;
    font-size: 0.95rem;
    gap: 12px;
  }
  .cookie-banner__actions { gap: 10px; }
  .cookie-banner__text { margin-right: 0; }
}

/* =================== COOKIE PREFERENCES MODAL =================== */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(18,44,52,0.42);
  justify-content: center;
  align-items: center;
  z-index: 3100;
  opacity: 0;
  transition: opacity 0.31s;
}
.cookie-modal-overlay.active {
  display: flex;
  opacity: 1;
}
.cookie-modal {
  background: #fff;
  color: #122C34;
  border-radius: 28px;
  box-shadow: 0 8px 38px rgba(18,44,52,0.11);
  padding: 32px 38px;
  max-width: 440px;
  width: 90vw;
  font-family: 'Open Sans', Arial, sans-serif;
  display: flex;
  flex-direction: column;
  gap: 27px;
  position: relative;
  animation: fadeInModal 0.32s 1 cubic-bezier(0.47,2,0.31,0.97);
}
@keyframes fadeInModal {
  from { transform: translateY(38px) scale(0.97); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  color: #122C34;
  font-size: 1.6rem;
  border-radius: 8px;
  padding: 2px 8px;
  transition: background 0.13s, color 0.17s;
  border: none;
}
.cookie-modal-close:hover {
  background: #F1F7ED;
  color: #76C893;
}
.cookie-modal h2 {
  font-size: 1.3rem;
  margin-bottom: 0;
}
.cookie-modal-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cookie-modal-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 6px 0;
}
.cookie-modal-item label {
  flex: 1 1 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
}
.cookie-modal-item input[type="checkbox"] {
  accent-color: #76C893;
  width: 20px;
  height: 20px;
}
.cookie-modal-item.disabled label {
  color: #888;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 12px;
}
@media (max-width: 600px) {
  .cookie-modal {
    padding: 18px 6vw;
    max-width: 94vw;
  }
}

/* ======================== MICRO & HOVER EFFECTS ======================== */
.btn-primary, .btn-secondary, .cookie-btn {
  transition: background 0.21s cubic-bezier(.52,.45,.19,1), color 0.15s, box-shadow 0.15s;
}
a, nav a, .mobile-nav a {
  transition: color 0.18s, background 0.18s;
}
.card, .feature-item, .testimonial-card {
  transition: box-shadow 0.19s cubic-bezier(.44,1.05,.34,1);
}
.card:hover, .feature-item:hover {
  box-shadow: 0 10px 34px rgba(23,80,62,0.12);
  z-index: 2;
}

/* =========== GEOMETRIC SHAPES (ANGULAR THEME DECORATION) =========== */
.section:before {
  content: '';
  display: block;
  position: absolute;
  width: 96px;
  height: 96px;
  background: #76C893;
  opacity: 0.13;
  border-radius: 18% 82% 51% 49% / 72% 22% 78% 28%;
  top: -28px; left: -32px;
  z-index: 0;
}
.section:after {
  content: '';
  display: block;
  position: absolute;
  width: 74px;
  height: 74px;
  background: #122C34;
  opacity: 0.08;
  border-radius: 49% 51% 70% 30% / 26% 53% 47% 74%;
  bottom: -24px; right: -27px;
  z-index: 0;
}
.section > * { position: relative; z-index: 1; }

/* ============== Z-INDEX CRUCIAL ELEMENTS =============== */
.mobile-menu,
.cookie-banner,
.cookie-modal-overlay { z-index: 3000; }
.mobile-menu-toggle { z-index: 3001; }

/* ========================== FORMS (not used currently) ========================== */
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  padding: 11px 14px;
  border: 1.5px solid #76C893;
  border-radius: 7px;
  font-size: 1rem;
  background: #fff;
  margin-bottom: 14px;
  box-sizing: border-box;
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid #122C34;
}

/* ============ Success/Thank You Cards ============ */
.text-section .btn-primary {
  margin-top: 20px;
}

/* Spacing between cards and section blocks */
.card, .testimonial-card, .feature-item, .section {
  margin-bottom: 24px;
}

/* =========================== UTILITIES ============================== */
.mt-8 { margin-top: 8px; }
.mb-8 { margin-bottom: 8px; }
.mt-16 { margin-top: 16px; }
.mb-16 { margin-bottom: 16px; }
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }

/* Remove outline for mouse users, show for keyboard users */
:focus:not(:focus-visible) { outline: none; }
:focus-visible {
  outline: 2.5px dashed #76C893;
  outline-offset: 3px;
}

/* ======================= PRINT ========================= */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  .section,
  .container,
  .card,
  .testimonial-card {
    background: none;
    box-shadow: none;
    border: none;
    padding: 0;
    margin: 0;
  }
}
