/* ========================== */
/*         CSS 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%;
  font: inherit;
  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: #FFFFFF;
  color: #165145;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
img, svg {
  max-width: 100%;
  display: block;
  height: auto;
}
button, input, select, textarea {
  font: inherit;
  background: none;
  border: none;
  outline: none;
}
/* Better overflow on mobile */
html {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}

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

/* ==========================
   VARIABLES (with fallback)
========================== */
:root {
  --pr-color-primary: #165145;
  --pr-color-secondary: #FFFFFF;
  --pr-color-accent: #ECB93E;
  --pr-color-bg: #FFFFFF;
  --pr-color-grey: #F5F7F6;
  --pr-color-grey-2: #E7EBE8;
  --pr-color-muted: #78847C;
  --pr-shadow: 0 2px 8px rgba(32,117,102,0.04);
  --pr-shadow-card: 0 4px 24px rgba(22,81,69,0.09);
  --pr-border-radius: 14px;
  --pr-font-display: 'Montserrat', Arial, sans-serif;
  --pr-font-body: 'Open Sans', Helvetica, Arial, sans-serif;
}

/* ======================================
   CONTAINERS, SECTION & LAYOUT BASICS
====================================== */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--pr-color-bg);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}

/* ======================================
          TYPOGRAPHY & HIERARCHY
====================================== */
body {
  font-family: var(--pr-font-body);
  font-size: 16px;
  color: var(--pr-color-primary);
  background: var(--pr-color-bg);
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--pr-font-display);
  color: var(--pr-color-primary);
  letter-spacing: -0.01em;
  font-weight: 700;
}
h1 {
  font-size: 2.75rem;
  line-height: 1.18;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  line-height: 1.24;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 6px;
  font-weight: 600;
}
h4 {
  font-size: 1.125rem;
}
p, ul, ol {
  font-size: 1rem;
  color: var(--pr-color-primary);
}
p {
  margin-bottom: 12px;
  line-height: 1.65;
}
ul {
  padding-left: 22px;
  margin-bottom: 12px;
}
ul li {
  list-style: disc inside;
  margin-bottom: 6px;
  color: var(--pr-color-primary);
}
strong, b {
  font-weight: 600;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 0;
  margin-bottom: 0;
}

/* ======================================
          NAVIGATION & HEADER
====================================== */
header {
  background: var(--pr-color-secondary);
  box-shadow: 0 1px 12px rgba(22,81,69,0.03);
  position: sticky;
  top: 0;
  z-index: 110;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 0;
}
.logo {
  display: flex;
  align-items: center;
  height: 48px;
  margin-right: 24px;
}
.logo img {
  height: 40px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: var(--pr-font-display);
  font-size: 1rem;
  color: var(--pr-color-primary);
  opacity: 0.89;
  padding: 5px 0;
  transition: color 0.15s, opacity 0.15s;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--pr-color-accent);
  opacity: 1;
  border-bottom: 2px solid var(--pr-color-accent);
}
.cta-primary {
  font-family: var(--pr-font-display);
  background: var(--pr-color-primary);
  color: var(--pr-color-secondary);
  border-radius: var(--pr-border-radius);
  padding: 10px 28px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: var(--pr-shadow);
  transition: background 0.16s, color 0.16s, box-shadow 0.18s, transform 0.14s;
  border: none;
  line-height: 1.2;
  cursor: pointer;
  outline: none;
  display: inline-block;
  margin-left: 24px;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--pr-color-accent);
  color: var(--pr-color-primary);
  box-shadow: 0 8px 32px rgba(236,185,62,0.2);
  transform: translateY(-2px) scale(1.02);
}

/* =============================
    MOBILE MENU (burger)
============================= */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  color: var(--pr-color-primary);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  transition: background 0.12s;
  cursor: pointer;
  margin-left: 18px;
  border: none;
  z-index: 115;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--pr-color-secondary);
  color: var(--pr-color-accent);
}
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 6px 36px rgba(22,81,69,0.12);
  z-index: 2000;
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(.78,.06,.32,.89);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 24px;
  padding-left: 0;
  gap: 0;
  overflow-y: auto;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.2rem;
  background: none;
  color: var(--pr-color-primary);
  border: none;
  border-radius: 50%;
  margin-left: 24px;
  margin-bottom: 36px;
  align-self: flex-start;
  width: 44px;
  height: 44px;
  transition: background 0.12s, color 0.15s;
  cursor: pointer;
  z-index: 2050;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--pr-color-accent);
  background: var(--pr-color-grey-2);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-left: 36px;
}
.mobile-nav a {
  font-family: var(--pr-font-display);
  font-size: 1.2rem;
  color: var(--pr-color-primary);
  padding: 12px 0;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: color 0.14s, border-bottom 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--pr-color-accent);
  border-bottom: 2px solid var(--pr-color-accent);
}

/* Hide main nav & show hamburger button on mobile */
@media (max-width: 1050px) {
  .main-nav {
    display: none;
  }
  .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1051px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ===============================
      HERO, FEATURES, GRIDS
================================ */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 10px;
}
.feature-item {
  background: var(--pr-color-secondary);
  border-radius: var(--pr-border-radius);
  box-shadow: var(--pr-shadow-card);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 28px 22px 22px 22px;
  min-width: 242px;
  min-height: 180px;
  flex: 1 1 270px;
  transition: box-shadow 0.18s, transform 0.14s;
  margin-bottom: 20px;
}
.feature-item img {
  width: 38px;
  height: 38px;
  margin-bottom: 6px;
  opacity: 0.93;
  filter: grayscale(12%);
}
.feature-item h3 {
  font-size: 1.13rem;
  color: var(--pr-color-primary);
}
.feature-item p {
  color: var(--pr-color-muted);
  font-size: 0.98rem;
  margin-bottom: 0;
}
.feature-item:hover {
  box-shadow: 0 10px 36px rgba(32,117,102,0.11);
  transform: translateY(-3px) scale(1.015);
}
.service-price, .feature-item .service-price {
  font-family: var(--pr-font-display);
  color: var(--pr-color-accent);
  font-size: 1rem;
  font-weight: 700;
  margin: 8px 0;
  letter-spacing: 0.01em;
  display: block;
}

/* ===============================
     TESTIMONIALS (card list)
================================ */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  background: #fff;
  box-shadow: var(--pr-shadow-card);
  border-radius: var(--pr-border-radius);
  padding: 20px 23px 18px 23px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.14s;
}
.testimonial-card p {
  color: #165145;
  font-size: 1.08rem;
  font-style: italic;
  margin-bottom: 0;
  line-height: 1.5;
}
.testimonial-card span {
  font-family: var(--pr-font-display);
  color: var(--pr-color-muted);
  font-size: 0.97rem;
  margin-top: 3px;
}
.testimonial-card:hover {
  box-shadow: 0 14px 36px rgba(32,117,102,0.13);
  transform: translateY(-2px) scale(1.01);
}

/* ===============================
       FOOTER
================================ */
footer {
  background: var(--pr-color-grey);
  border-top: 1px solid #e0ebe4;
  padding: 42px 0 16px 0;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.footer-logo {
  margin-bottom: 12px;
}
.footer-logo img {
  width: 36px;
  height: auto;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
  margin-bottom: 2px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: var(--pr-color-primary);
  font-family: var(--pr-font-display);
  opacity: 0.8;
  font-size: 1.02rem;
  transition: color 0.16s, opacity 0.16s;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--pr-color-accent);
  opacity: 1;
  border-bottom: 1px solid var(--pr-color-accent);
}
.footer-contact p, .footer-contact a {
  color: var(--pr-color-muted);
  font-size: 0.97rem;
  line-height: 1.5;
}
.footer-contact a {
  transition: color 0.14s;
}
.footer-contact a:hover, .footer-contact a:focus {
  color: var(--pr-color-accent);
}

/* ===============================
     MISC ELEMENTS
================================ */
.map-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pr-color-grey-2);
  border-radius: 10px;
  min-height: 160px;
  margin-top: 18px;
  margin-bottom: 12px;
  color: var(--pr-color-muted);
  font-style: italic;
  font-size: 1.01rem;
  padding: 24px 14px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--pr-color-secondary);
  border-radius: var(--pr-border-radius);
  box-shadow: var(--pr-shadow-card);
  margin-bottom: 20px;
  position: relative;
  padding: 20px;
  min-width: 260px;
  min-height: 130px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.17s, transform 0.15s;
}
.card:hover {
  box-shadow: 0 12px 28px rgba(22,81,69,0.13);
}
.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;
}
/* Avoid overlap with enough gap in card lists */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

/* ===============================
    RESPONSIVE BREAKPOINTS
================================ */
@media (max-width: 900px) {
  .container {
    max-width: 96vw;
    padding: 0 10px;
  }
  .feature-grid {
    gap: 18px;
  }
}
@media (max-width: 820px) {
  h1 {
    font-size: 2.1rem;
  }
  h2 {
    font-size: 1.43rem;
  }
  .feature-grid {
    gap: 12px;
  }
}
@media (max-width: 768px) {
  .content-wrapper, .container {
    max-width: 98vw;
    padding-left: 5px;
    padding-right: 5px;
  }
  section {
    padding: 30px 6px;
    margin-bottom: 40px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 8px;
  }
  .feature-item {
    min-width: unset;
    width: 100%;
    padding: 18px 14px;
  }
  .testimonial-card {
    padding: 13px 12px 13px 12px;
  }
  .main-nav {
    display: none !important;
  }
  .cta-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .footer-nav {
    flex-wrap: wrap;
    gap: 9px;
  }
  .footer-contact {
    text-align: center;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
}
@media (max-width: 650px) {
  h1 {
    font-size: 1.41rem;
  }
  h2 {
    font-size: 1.08rem;
  }
}

/* ===============================
        BUTTONS & INTERACTIONS
================================ */
button, .cta-primary {
  cursor: pointer;
}
button:focus-visible, .cta-primary:focus-visible {
  outline: 2px solid var(--pr-color-accent);
  outline-offset: 2px;
}
b a, strong a {
  color: var(--pr-color-accent);
}
a {
  text-decoration-thickness: 1.5px;
  transition: color 0.13s;
}
a:hover, a:focus {
  color: var(--pr-color-accent);
}

/* ===============================
     COOKIE CONSENT BANNER & MODAL
================================ */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -3px 26px rgba(22,81,69,0.18);
  z-index: 9999;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 19px 16px;
  font-size: 1rem;
  color: var(--pr-color-primary);
  border-radius: 14px 14px 0 0;
  animation: fadeInUp 0.66s cubic-bezier(.52,.17,.65,.82);
}
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(100%); }
  70% { opacity: 0.8; }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 13px;
}
.cookie-banner button {
  font-family: var(--pr-font-display);
  padding: 8px 18px;
  font-size: 1rem;
  border-radius: 22px;
  border: none;
  background: var(--pr-color-secondary);
  color: var(--pr-color-primary);
  font-weight: 600;
  box-shadow: var(--pr-shadow);
  transition: background 0.13s, color 0.13s, box-shadow 0.13s, transform 0.1s;
}
.cookie-banner button.cookie-accept {
  background: var(--pr-color-primary);
  color: #fff;
}
.cookie-banner button.cookie-accept:hover, .cookie-banner button.cookie-accept:focus {
  background: var(--pr-color-accent);
  color: var(--pr-color-primary);
}
.cookie-banner button.cookie-reject {
  background: var(--pr-color-grey);
  color: var(--pr-color-primary);
}
.cookie-banner button.cookie-reject:hover, .cookie-banner button.cookie-reject:focus {
  background: var(--pr-color-accent);
  color: var(--pr-color-primary);
}
.cookie-banner button.cookie-settings {
  background: transparent;
  color: var(--pr-color-primary);
  border: 1.5px solid var(--pr-color-muted);
  box-shadow: none;
}
.cookie-banner button.cookie-settings:hover, .cookie-banner button.cookie-settings:focus {
  border-color: var(--pr-color-accent);
  color: var(--pr-color-accent);
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 12px 10px;
    font-size: 0.99rem;
  }
  .cookie-banner .cookie-buttons {
    gap: 7px;
  }
}

.cookie-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(30,85,75,0.09);
  z-index: 11000;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s, visibility 0.15s;
}
.cookie-modal.active {
  visibility: visible;
  opacity: 1;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 32px rgba(22,81,69,0.13);
  padding: 40px 24px 27px 24px;
  min-width: 340px;
  width: 98%;
  max-width: 377px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: fadeInPopup .4s cubic-bezier(.54,.3,.5,.85);
  position: relative;
}
@keyframes fadeInPopup {
  0% { opacity: 0; transform: translateY(-44px) scale(0.9); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal-content h3 {
  font-size: 1.23rem;
  margin-bottom: 5px;
  font-family: var(--pr-font-display);
}
.cookie-category-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
.cookie-category label {
  font-size: 1rem;
  color: var(--pr-color-primary);
}
.cookie-category input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: var(--pr-color-accent);
}
.cookie-category .cookie-essential {
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--pr-color-muted);
}
.cookie-modal-content .modal-actions {
  margin-top: 20px;
  display: flex;
  flex-direction: row;
  gap: 13px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 14px;
  font-size: 1.6rem;
  background: none;
  color: var(--pr-color-primary);
  border: none;
  cursor: pointer;
  transition: color 0.13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--pr-color-accent);
}

/* ===============================
  SMOOTH TRANSITIONS & EFFECTS
   - for all common elements
================================ */
*, *:before, *:after {
  box-sizing: inherit;
  transition: background 0.14s, color 0.14s, border 0.14s, box-shadow 0.12s, transform 0.12s;
}

/* ===============================
     ACCESSIBILITY, FOCUS & PRINT
================================ */
a:focus-visible, button:focus-visible, .cta-primary:focus-visible {
  outline: 2px solid var(--pr-color-accent);
  outline-offset: 2px;
  border-radius: 4px;
}
@media print {
  header, .main-nav, .cta-primary, footer, .cookie-banner, .mobile-menu { display: none !important; }
  section, .content-wrapper, .container { box-shadow: none!important; background: #fff !important; }
}

/* ===============================
      MINIMALIST WHITE SPACE
================================ */
section, .content-wrapper, .card, .testimonial-card, .feature-item {
  margin-top: 0;
  margin-bottom: 20px;
}
section:last-of-type,
.content-wrapper:last-child,
.card:last-child,
.testimonial-card:last-child {
  margin-bottom: 0;
}

/* ===============================
     VISUAL AND SPACING PATTERNS
================================ */
/*
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }
*/
