/* ========================================================================
   CSS RESET & NORMALIZE (No grid/columns, full flexbox layouts only)
   ======================================================================== */
html, body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  height: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  background: #F6F5F5;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #22223B;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  background-color: #F6F5F5 !important;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: none;
}
a {
  color: #197278;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #388178;
  outline: none;
}
ul, ol {
  margin: 0 0 20px 0;
  padding: 0 0 0 20px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #22223B;
  margin: 0 0 16px 0;
  line-height: 1.15;
}
h1 { font-size: 2.75rem; font-weight: 700; }
h2 { font-size: 2rem; font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 500; }
h4, h5, h6 { font-size: 1.1rem; font-weight: 500; }
p {
  margin: 0 0 16px 0;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border-radius: 4px;
  border: none;
  outline: none;
  background: unset;
}
button:focus, input:focus, textarea:focus {
  outline: 2px solid #197278;
  outline-offset: 1px;
}
input[type="search"] {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #AFB8A6;
  border-radius: 24px;
  background: #f9f8f7;
  margin-bottom: 16px;
  font-size: 1rem;
  transition: border 0.2s;
}
input[type="search"]:focus {
  border: 1.5px solid #197278;
}

/* ========================================================================
   COLORS (nature_organic palette, earth tones + brand colors)
   ======================================================================== */
:root {
  --color-primary: #197278;
  --color-primary-hover: #155f63;
  --color-secondary: #22223B;
  --color-accent: #F6F5F5;
  --color-earth: #D9D9C4;
  --color-leaf: #46A36A;
  --color-bark: #795548;
  --color-sand: #ECE4D9;
  --color-moss: #A7C957;
  --color-shadow: rgba(34,34,59,0.07);
  --color-shadow-strong: rgba(34,34,59,0.14);
  --color-contrast: #FFFFFF;
}


/* ========================================================================
   BASIC LAYOUT & CONTAINER
   ======================================================================== */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* ========================================================================
   HEADER & MAIN NAVIGATION
   ======================================================================== */
header {
  background: #F6F5F5;
  box-shadow: 0 2px 8px var(--color-shadow);
  position: relative;
  z-index: 100;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  padding: 12px 0;
  justify-content: flex-start;
}
.main-nav > a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 16px;
  padding: 8px 14px;
  color: #197278;
  border-radius: 18px;
  transition: background 0.2s, color 0.2s;
}
.main-nav > a img {
  height: 38px;
  width: auto;
  margin-right: 6px;
}
.main-nav > a:hover:not(.btn-primary),
.main-nav > a:focus:not(.btn-primary) {
  background: #D9D9C4;
  color: #22223B;
}

.btn-primary {
  background: linear-gradient(120deg, #197278 80%, #46A36A 100%);
  color: #fff;
  border: none;
  border-radius: 24px 12px 24px 12px;
  padding: 10px 28px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s, transform 0.2s;
  box-shadow: 0px 3px 12px var(--color-shadow);
  margin-left: 8px;
  display: inline-block;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(110deg, #155f63 80%, #32865c 100%);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0px 8px 24px var(--color-shadow-strong);
  color: #fff;
}

/* Hide mobile menu toggle initially */
.mobile-menu-toggle {
  display: none;
  background: var(--color-leaf);
  color: #fff;
  border: none;
  font-size: 2rem;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  margin-left: auto;
  cursor: pointer;
  transition: background 0.22s, transform 0.18s;
  box-shadow: 0 2px 8px var(--color-shadow);
  z-index: 105;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--color-primary);
  transform: scale(1.08);
}

/* ========================================================================
   MOBILE SLIDE MENU
   ======================================================================== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(25, 114, 120, 0.95);
  backdrop-filter: blur(3px);
  z-index: 2003;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 24px 0 0 0;
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(.63,.09,.6,1.17), opacity 0.26s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  font-size: 2rem;
  background: transparent;
  color: #fff;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  align-self: flex-end;
  margin-right: 24px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: background 0.14s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #197278;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 40px 32px 0 32px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.35rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 18px 12px 18px 12px;
  transition: background 0.18s, color 0.18s;
  margin-right: 0;
  display: block;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #A7C957;
  color: #22223B;
}

@media (max-width: 900px) {
  .main-nav {
    gap: 10px;
    padding: 8px 0;
    font-size: 15px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 8px; right: 20px;
  }
  header {
    min-height: 60px;
    padding-bottom: 4px;
  }
}
@media (max-width: 500px) {
  .mobile-menu {
    padding-top: 8px;
  }
  .mobile-nav {
    padding: 20px 12px 0 12px;
    gap: 10px;
  }
}

/* ========================================================================
   HERO SECTIONS
   ======================================================================== */
.hero {
  background: linear-gradient(120deg, #ECE4D9 58%, #A7C957 110%);
  border-bottom-left-radius: 120px 40px;
  border-bottom-right-radius: 36px 80px;
  box-shadow: 0 7px 64px var(--color-shadow);
  margin-bottom: 44px;
  padding: 0;
}
.hero .container {
  padding-top: 54px;
  padding-bottom: 54px;
}
.hero h1 {
  color: #197278;
  font-size: 2.5rem;
  margin-bottom: 16px;
}
.hero p {
  font-size: 1.25rem;
  color: #333;
}

/* ========================================================================
   SECTIONS & FLEX SPACING
   ======================================================================== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ========================================================================
   FLEXBOX CONTENT CONTAINERS
   ======================================================================== */
.feature-grid, .card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  width: 100%;
}
.content-grid {
  gap: 20px;
  justify-content: space-between;
}
.card-container {
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  padding: 28px 24px;
  border-radius: 24px 14px 20px 14px;
  background: #F6F5F5;
  box-shadow: 0 2px 16px var(--color-shadow);
  min-width: 280px;
  flex: 1 1 320px;
  transition: box-shadow 0.2s, transform 0.19s;
}
.card:hover {
  box-shadow: 0 7px 32px var(--color-shadow-strong);
  transform: translateY(-6px) scale(1.01);
  z-index: 2;
}

.feature {
  flex: 1 1 220px;
  padding: 20px 22px;
  border-radius: 24px 12px 24px 8px;
  background: var(--color-accent);
  box-shadow: 0 2px 12px var(--color-shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 210px;
  transition: box-shadow 0.17s, transform 0.17s;
}
.feature img {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #E4EEDD;
  padding: 6px;
  box-shadow: 0 2px 8px #cbdbbe50;
}
.feature:hover {
  background: #ECE4D9;
  box-shadow: 0 6px 20px var(--color-shadow-strong);
  transform: translateY(-3px) scale(1.03);
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 18px;
}
.service-item {
  background: #D9D9C4;
  border-radius: 20px 10px 20px 14px;
  padding: 18px 22px;
  box-shadow: 0 2px 12px var(--color-shadow);
  flex: 1 1 240px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  position: relative;
  transition: background 0.22s, box-shadow 0.20s, transform 0.18s;
}
.service-item:hover {
  background: #AFB8A6;
  box-shadow: 0 7px 24px var(--color-shadow-strong);
  transform: translateY(-4px) scale(1.03);
}
.service-price {
  font-size: 1.15rem;
  color: var(--color-primary);
  font-weight: 700;
  margin-top: 6px;
}
.service-cta {
  display: flex;
  justify-content: flex-end;
  margin-top: 32px;
}

/* Features for index/about - also for card usage */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.text-section {
  background: #fff;
  border-radius: 18px 6px 18px 8px;
  padding: 24px 22px;
  margin-bottom: 12px;
  box-shadow: 0 1px 7px var(--color-shadow);
  font-size: 1.06rem;
}
.text-section ul {
  margin-bottom: 10px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 900px) {
  .feature-grid,
  .service-list,
  .content-grid,
  .card-container {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .content-wrapper {
    gap: 20px;
  }
  .container {
    padding: 0 8px;
  }
  section, .section {
    padding: 26px 6px;
    margin-bottom: 32px;
  }
  .hero .container {
    padding-top: 30px;
    padding-bottom: 32px;
  }
  .feature-grid, .service-list, .card-container {
    flex-direction: column;
    gap: 14px;
  }
  .content-grid {
    flex-direction: column;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}

/* ========================================================================
   TESTIMONIALS
   ======================================================================== */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #fff;
  box-shadow: 0 2px 18px var(--color-shadow);
  border-radius: 24px 14px 20px 14px;
  font-size: 1.11rem;
  flex-wrap: wrap;
  transition: box-shadow 0.14s, border 0.16s;
  border-left: 6px solid #197278;
  color: #22223B;
}
.testimonial-card blockquote {
  margin: 0;
  font-style: italic;
  color: #22223B;
  font-size: 1.07rem;
}
.testimonial-card p {
  margin: 0;
  font-weight: 700;
  color: #197278;
  font-size: 1rem;
}
@media (max-width: 600px) {
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    padding: 14px 8px;
    font-size: 1rem;
  }
}

/* ========================================================================
   FOOTER
   ======================================================================== */
footer {
  background: #22223B;
  color: #F6F5F5;
  padding: 34px 0 18px;
  margin-top: 48px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 14px;
}
.footer-nav a {
  color: #F6F5F5;
  font-size: 1.02rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  letter-spacing: 0.01em;
  opacity: 0.95;
  border-radius: 12px;
  padding: 7px 14px;
  transition: background 0.16s, color 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #197278;
  color: #fff;
}
.footer-branding {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 12px;
}
.footer-branding img {
  height: 42px;
  width: auto;
}
.footer-branding p {
  color: #F6F5F5;
  opacity: .88;
  font-size: 1rem;
  margin: 0;
}
@media (max-width: 768px) {
  .footer-nav {
    gap: 10px;
    font-size: 0.97rem;
  }
  .footer-branding {
    flex-direction: column;
    
    align-items: flex-start;
    gap: 6px;
  }
}

/* ========================================================================
   ARTICLE LISTS & GUIDES
   ======================================================================== */
.article-list {
  list-style: none;
  padding: 0;
  margin: 0 0 12px 0;
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.article-list li {
  background: #ECE4D9;
  border-radius: 16px 8px 16px 6px;
  padding: 12px 13px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  transition: background 0.2s;
}
.article-list li:hover {
  background: #D9D9C4;
}
.article-list a {
  color: #197278;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.12rem;
  transition: color 0.17s;
}
.article-list a:hover {
  color: #46A36A;
}

/* ========================================================================
   FORM ELEMENTS
   ======================================================================== */
label, input, textarea, select {
  display: block;
}
input, textarea, select {
  width: 100%;
  padding: 11px 16px;
  border-radius: 8px;
  border: 1px solid #D9D9C4;
  background: #fff;
  margin-bottom: 12px;
  font-size: 1.02rem;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #197278;
  background: #EBFFF8;
}

/* ========================================================================
   COOKIE CONSENT BANNER
   ======================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: #ECE4D9;
  color: #22223B;
  padding: 24px 20px 20px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  box-shadow: 0px -4px 32px var(--color-shadow-strong);
  z-index: 3000;
  font-size: 1.04rem;
  border-top-left-radius: 32px 16px;
}
.cookie-banner p {
  flex: 1 1 275px;
  margin: 0;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  border-radius: 18px;
  border: none;
  padding: 9px 22px;
  margin-right: 8px;
  cursor: pointer;
  margin-bottom: 0;
  margin-top: 0;
  transition: background 0.15s, color 0.15s;
}
.cookie-btn.accept {
  background: #197278;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #155f63;
  color: #fff;
}
.cookie-btn.reject {
  background: #fff;
  color: #22223B;
  border: 1px solid #AFB8A6;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #D9D9C4;
  color: #197278;
}
.cookie-btn.settings {
  background: #A7C957;
  color: #22223B;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #46A36A;
  color: #fff;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 6px 14px 6px;
    gap: 10px;
    border-top-left-radius: 18px 9px;
  }
  .cookie-btn {
    width: 100%;
    margin-right: 0;
    margin-bottom: 6px;
  }
}

/* ========================================================================
   COOKIE SETTINGS MODAL
   ======================================================================== */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(41, 56, 53, 0.68);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.27s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #EFEFEC;
  border-radius: 28px 14px 24px 16px;
  box-shadow: 0 10px 44px var(--color-shadow-strong);
  padding: 32px 28px 32px 28px;
  max-width: 430px;
  width: 94vw;
  color: #22223B;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-size: 1.09rem;
  animation: pop-in 0.35s cubic-bezier(.63,.09,.6,1.17);
}
.cookie-modal h3 {
  color: #197278;
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.cookie-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.cookie-toggle-row label {
  font-size: 1rem;
}
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 24px;
}
.cookie-switch input {
  opacity: 0;
  width: 0; height: 0;
}
.cookie-slider {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #D9D9C4;
  border-radius: 24px;
  transition: background 0.24s;
}
.cookie-switch input:checked + .cookie-slider {
  background: #46A36A;
}
.cookie-slider:before {
  position: absolute;
  content: "";
  height: 18px; width: 18px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.22s;
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(18px);
}
.cookie-modal .cookie-btn {
  margin-top: 12px;
  margin-bottom: 0;
}
.cookie-modal-close {
  position: absolute;
  top: 12px; right: 20px;
  background: transparent;
  color: #22223B;
  font-size: 1.5rem;
  border: none;
  cursor: pointer;
  transition: color 0.19s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #197278;
}
@keyframes pop-in {
  0% { opacity: 0; transform: scale(0.92) translateY(26px); }
  70% { opacity: 1; transform: scale(1.07) translateY(-7px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
@media (max-width: 500px) {
  .cookie-modal {
    padding: 18px 7vw 18px 7vw;
    font-size: 0.98rem;
  }
}

/* ========================================================================
   GENERAL UTILITIES & MICRO-ANIMATION CLASSES
   ======================================================================== */
.shadow {
  box-shadow: 0 2px 10px var(--color-shadow);
}
.rounded {
  border-radius: 18px;
}
.flow > * + * {
  margin-top: 1.1em;
}

/* ========================================================================
   ACCESSIBILITY / FOCUS
   ======================================================================== */
:focus-visible {
  outline: 3px dashed #A7C957;
  outline-offset: 1px;
}

/* ========================================================================
   ORGANIC, NATURAL VISUALS – BUTTONS/CARDS/SECTIONS
   ======================================================================== */
/* --- Buttons with organic, slightly asymmetric shapes --- */
.btn-primary, .btn-primary:visited {
  box-shadow: 0px 3px 12px var(--color-shadow);
  border: none;
  border-radius: 24px 12px 24px 12px;
  background: linear-gradient(120deg, #197278 80%, #46A36A 100%);
  color: #fff;
}
.btn-primary:active {
  box-shadow: 0px 1px 5px var(--color-shadow);
  transform: scale(.97) translateY(1px);
}
button[disabled], .btn-primary[disabled] {
  opacity: .6;
  cursor: not-allowed;
}

/* --- Cards (to be used for info, testimonials, etc) --- */
.card {
  background: #FFF;
  border-radius: 24px 14px 20px 14px;
  box-shadow: 0 2px 18px var(--color-shadow);
}

/* --- Organic border for sections --- */
section, .section {
  border-radius: 42px 18px 38px 22px;
  box-shadow: 0 2px 16px var(--color-shadow);
}

/* --- Natural 'bark' accent line (optional for h2) --- */
h2::after {
  content: "";
  display: block;
  margin: 6px 0 0 0;
  width: 42px;
  height: 4px;
  background: #A7C957;
  border-radius: 3px 15px 4px 17px;
  opacity: .6;
}

/* ========================================================================
   RESPONSIVE TYPOGRAPHY
   ======================================================================== */
@media (max-width: 900px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.14rem; }
  .hero h1 { font-size: 2.07rem; }
}
@media (max-width: 570px) {
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.08rem; }
  .hero h1 { font-size:1.14rem; }
}

/* ========================================================================
   MAP PLACEHOLDER
   ======================================================================== */
.map-placeholder {
  background: #ECE4D9;
  padding: 18px 17px;
  border-radius: 16px 6px 16px 8px;
  color: #197278;
  font-style: italic;
  font-size: 0.98rem;
  box-shadow: 0 1px 9px var(--color-shadow);
}


/* ========================================================================
   FINE TUNING SPACING/MARGINS
   ======================================================================== */
section > .container > .content-wrapper > * + * {
  margin-top: 16px;
}
section:last-child, .section:last-child {
  margin-bottom: 0;
}

/* ========================================================================
   PRINT STYLES
   ======================================================================== */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay {
    display: none !important;
  }
  section, .section {
    box-shadow: none !important;
    background: #fff !important;
    color: #22223B !important;
  }
}

/* ========================================================================
   END STYLE CSS FILE
   ======================================================================== */
