/* ===============================
   CSS RESET & BASE NORMALIZATION
   =============================== */
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, hr, button, input, select, textarea {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #F7F4EE;
  color: #254336;
  font-family: 'Open Sans', Georgia, 'Times New Roman', Times, serif;
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
a {
  color: #254336;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #E0A100;
  outline: none;
}
img {
  max-width: 100%;
  display: block;
}
ul, ol {
  margin-left: 1.25em;
  margin-bottom: 16px;
}
li {
  padding-bottom: 4px;
}
strong, b {
  font-weight: 700;
}

/* ===============================
   TYPOGRAPHY SCALE & HEADINGS
   =============================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Georgia, Times, serif;
  color: #254336;
  font-weight: 600;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;  /* 40px */
  margin-bottom: 20px;
  line-height: 1.13;
}
h2 {
  font-size: 2rem;    /* 32px */
  margin-bottom: 16px;
  line-height: 1.2;
}
h3 {
  font-size: 1.5rem;  /* 24px */
  margin-bottom: 12px;
  line-height: 1.2;
}
h4 {
  font-size: 1.25rem; /* 20px */
  margin-bottom: 8px;
}
p {
  font-size: 1.1rem;
  margin-bottom: 12px;
}
.section p {
  margin-bottom: 18px;
}

/* ===============================
   CONTAINER & LAYOUT
   =============================== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

/*
Mandatory 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;
*/

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(37,67,54,0.06);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(37,67,54,0.07);
  margin-bottom: 20px;
  position: relative;
  padding: 24px;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  width: 100%;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.testimonial-card {
  background: #F7F4EE;
  color: #254336;
  border-left: 5px solid #E0A100;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(37,67,54,0.05);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  min-width: 0;
  font-style: italic;
  transition: box-shadow 0.2s;
}
.testimonial-card strong {
  font-weight: 700;
  margin-left: 20px;
  font-size: 1rem;
  font-style: normal;
}
.testimonial-card:focus-within, .testimonial-card:hover {
  box-shadow: 0 4px 14px rgba(37,67,54,0.13);
}

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

.text-section {
  margin-bottom: 24px;
}

/* ===============================
   HEADER, NAV & LOGO
   =============================== */
header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 20px 24px 20px;
  position: sticky;
  top: 0;
  z-index: 20;
}
header img {
  height: 44px;
  width: auto;
  margin-right: 32px;
}
header nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', serif;
  font-size: 1rem;
  color: #254336;
  text-decoration: none;
  padding: 8px 0 6px 0;
  border-bottom: 2px solid transparent;
  transition: border 0.2s, color 0.2s;
  font-weight: 500;
}
header nav a:hover, header nav a:focus {
  color: #E0A100;
  border-bottom: 2px solid #E0A100;
}

/* Burger icon – hidden on desktop, visible on mobile */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 2rem;
  padding: 6px 12px;
  margin-left: 20px;
  color: #254336;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #F7F4EE;
  color: #E0A100;
  outline: none;
}


/* ===============================
   MOBILE NAV OVERLAY
   =============================== */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  background: #fff;
  box-shadow: 0 0 24px rgba(37,67,54,0.13);
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 100;
  padding: 32px 24px 24px 24px;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(.44,.13,.48,.87);
  visibility: hidden;
  opacity: 0.98;
}
.mobile-menu.active {
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #254336;
  font-size: 2rem;
  cursor: pointer;
  margin-bottom: 14px;
  border-radius: 8px;
  padding: 2px 8px 2px 8px;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F7F4EE;
  color: #E0A100;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.18rem;
  font-family: 'Montserrat', serif;
  color: #254336;
  text-decoration: none;
  font-weight: 500;
  padding: 12px 0 10px 0;
  border-bottom: 1px solid #F7F4EE;
  transition: color 0.16s;
  border-radius: 4px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #E0A100;
  background: #F7F4EE;
}

/* Hide main nav on mobile */
@media (max-width: 992px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
  }
}
@media (min-width: 993px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ===============================
   CTA BUTTONS & FORMS
   =============================== */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', serif;
  background: #254336;
  color: #fff;
  border: none;
  padding: 14px 36px;
  font-size: 1.18rem;
  border-radius: 32px;
  box-shadow: 0 2px 8px rgba(37,67,54,0.07);
  outline: none;
  cursor: pointer;
  margin-top: 12px;
  margin-bottom: 8px;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: background 0.18s, color 0.18s, box-shadow 0.25s, transform 0.12s;
}
.cta.primary, .card .cta.primary {
  background: #E0A100;
  color: #254336;
}
.cta:hover, .cta:focus {
  background: #E0A100;
  color: #254336;
  box-shadow: 0 4px 18px rgba(224,161,0,0.09);
  transform: translateY(-2px) scale(1.04);
  outline: none;
}
.cta.primary:hover, .cta.primary:focus {
  background: #254336;
  color: #fff;
}
button {
  font-family: inherit;
  border: none;
  outline: none;
  background: #E0A100;
  color: #254336;
  font-size: 1rem;
  padding: 9px 26px;
  border-radius: 20px;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  cursor: pointer;
}
button:hover, button:focus {
  background: #254336;
  color: #fff;
}
input[type="text"], select, input[type="search"] {
  font-size: 1rem;
  padding: 10px 16px;
  border: 1px solid #CCC;
  border-radius: 5px;
  font-family: inherit;
  background: #fff;
  color: #254336;
  margin-bottom: 16px;
  margin-right: 8px;
  width: 100%;
  max-width: 340px;
  transition: border 0.2s, box-shadow 0.2s;
}
input[type="text"]:focus, input[type="search"]:focus, select:focus {
  border: 1.5px solid #E0A100;
  box-shadow: 0 2px 6px rgba(224,161,0,0.08);
  outline: none;
}
label {
  font-size: 1rem;
  font-weight: 500;
  color: #254336;
}

/* ===============================
   LISTS & FAQ STYLES
   =============================== */
ul {
  list-style-type: disc;
  margin-left: 28px;
}
ol {
  list-style-type: decimal;
  margin-left: 28px;
}
ul li, ol li {
  padding-left: 3px;
  margin-bottom: 8px;
  font-family: 'Open Sans', serif;
}

/* ===============================
   FOOTER
   =============================== */
footer {
  width: 100%;
  background: #254336;
  color: #fff;
  padding: 28px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
footer nav {
  display: flex;
  gap: 20px;
  margin-bottom: 10px;
}
footer nav a {
  color: #E0A100;
  font-family: 'Montserrat', serif;
  font-size: 1rem;
  text-decoration: underline;
  transition: color 0.16s, text-decoration 0.18s;
}
footer nav a:hover, footer nav a:focus {
  color: #fff;
  text-decoration: none;
}
footer p {
  font-size: 1rem;
  opacity: 0.96;
}

/* ===============================
   RESPONSIVE FLEXBOX
   =============================== */
@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
  header {
    flex-direction: row;
    align-items: center;
    padding: 16px 8px 16px 8px;
    gap: 0;
  }
  .section {
    padding: 28px 8px;
    margin-bottom: 42px;
  }
  .content-wrapper {
    gap: 16px;
  }
  .content-grid {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    padding: 15px;
    font-size: 1rem;
  }
  footer nav {
    flex-direction: column;
    gap: 14px;
    align-items: center;
  }
  .feature-item {
    gap: 8px;
  }
}
@media (max-width: 576px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.15rem; }
  .container { padding: 0 2px; }
  .section { padding: 15px 2px; }
  .cta, button { font-size: 1rem; padding: 11px 18px; }
}

/* ===============================
   CARD & GRID STYLES FOR SERVICES
   =============================== */
.card {
  padding: 24px;
  transition: box-shadow 0.19s, transform 0.16s;
  border: 1px solid #F7F4EE;
}
.card:hover, .card:focus-within {
  box-shadow: 0 4px 24px rgba(37,67,54,0.11);
  transform: translateY(-2px) scale(1.01);
}

/* ===============================
   MICRO-INTERACTIONS & EFFECTS
   =============================== */
input[type="text"]:hover, select:hover {
  border-color: #E0A100;
}
.card, .testimonial-card, .cta, .card .cta {
  transition: box-shadow 0.2s, transform 0.16s, background 0.19s, color 0.19s;
}

input::placeholder {
  color: #A8A8A8;
  opacity: 1;
  font-style: italic;
}

/* ===============================
   COOKIES BANNER & COOKIE MODAL
   =============================== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 120;
  background: #fff;
  border-top: 2px solid #E0A100;
  box-shadow: 0 -2px 24px rgba(37,67,54,0.11);
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  gap: 26px;
  justify-content: space-between;
  padding: 24px 20px;
  font-size: 1rem;
  color: #254336;
  animation: bannerFadeIn 0.7s ease;
}
@keyframes bannerFadeIn {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);   opacity: 1; }
}
.cookie-banner p {
  flex: 3;
  font-size: 1.07rem;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
  align-items: center;
}
.cookie-banner button {
  font-family: 'Montserrat', serif;
  border-radius: 22px;
  padding: 10px 23px;
  font-size: 1em;
  border: none;
  transition: background 0.2s, color 0.2s;
  background: #E0A100;
  color: #254336;
  font-weight: 500;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #254336;
  color: #fff;
}
.cookie-banner .cookie-settings-btn {
  background: #F7F4EE;
  color: #254336;
  border: 1px solid #E0A100;
}
.cookie-banner .cookie-settings-btn:hover, .cookie-banner .cookie-settings-btn:focus {
  background: #E0A100;
  color: #254336;
}

@media (max-width: 650px){
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 7px 15px 7px;
    font-size: 0.97rem;
  }
}

/* Cookie Modal Popup */
.cookie-modal-overlay {
  position: fixed;
  left:0; right:0; top:0; bottom:0;
  background: rgba(37,67,54,0.46);
  z-index: 250;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s, visibility 0.3s;
}
.cookie-modal-overlay.active {
  visibility: visible;
  opacity: 1;
}
.cookie-modal {
  background: #fff;
  border-radius: 14px;
  max-width: 375px;
  min-width: 240px;
  width: 90vw;
  padding: 40px 26px 30px 26px;
  box-shadow: 0 12px 42px rgba(37,67,54,0.17);
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: modalSlideIn .55s cubic-bezier(.44,.13,.48,.87);
}
@keyframes modalSlideIn {
  from { transform: translateY(70px) scale(.99); opacity: 0; }
  to   { transform: translateY(0) scale(1);   opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.26rem;
  margin-bottom: 10px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.03rem;
}
.cookie-category input[type="checkbox"][disabled] {
  accent-color: #E0A100;
}
.cookie-category label {
  font-weight: 600;
  color: #254336;
  cursor: pointer;
}
.cookie-category small {
  color: #5C7260;
  font-size: 0.89em;
  font-style: italic;
}
.cookie-modal-buttons {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 10px;
  justify-content: flex-end;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 14px; right: 16px;
  font-size: 1.4rem;
  background: none;
  border: none;
  color: #254336;
  cursor: pointer;
  border-radius: 8px;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  background: #F7F4EE;
  color: #E0A100;
}
@media (max-width: 500px) {
  .cookie-modal {
    padding: 22px 5px 18px 5px;
    min-width: 0;
  }
  .cookie-modal h2 { font-size: 1.1rem; }
}

/* ========================
   SPECIAL ELEMENTS & UTILS
   ======================== */
::-webkit-scrollbar {
  width: 8px;
  background: #F7F4EE;
}
::-webkit-scrollbar-thumb {
  background: #E0A100;
  border-radius: 16px;
}

/* .visually-hidden is used for a11y */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important; margin: -1px !important; overflow: hidden !important;
  clip: rect(0,0,0,0); border: 0 !important;
}

/* ===============================
   MISCELLANEOUS IMPROVEMENTS
   =============================== */
:focus {
  outline: 2px dotted #E0A100;
  outline-offset: 2px;
}
.dropdown, .dropdown select {
  min-width: 105px;
}

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