/* === CSS RESET & BASE === */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: linear-gradient(120deg, #F5F4F1 0%, #E6E2DB 100%);
  color: #143F28;
  min-height: 100vh;
  line-height: 1.6;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: #143F28;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.2rem; margin-bottom: 10px; }
h4 { font-size: 1rem; margin-bottom: 8px; }
p, ul, ol { font-size: 1rem; margin-bottom: 16px; }
ul, ol { margin-left: 22px; }
strong { font-weight: bold; }
a { color: #143F28; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #E6A857; }
img { max-width: 100%; height: auto; display: block; border: none; }

/* === GLOBAL LAYOUT CONTAINERS === */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 32px;
  background: linear-gradient(90deg, #F8F6F3 70%, #ECE7DE 100%);
  box-shadow: 0 2px 24px 0 rgba(20, 63, 40, 0.04);
}
@media (max-width: 768px) {
  .section {
    padding: 28px 8px;
    margin-bottom: 36px;
  }
}

/* === HEADER & NAVIGATION === */
header {
  background: linear-gradient(90deg, #143F28 60%, #216849 100%);
  color: #fff;
  box-shadow: 0 2px 24px 0 rgba(20, 63, 40, 0.04);
  position: relative;
  z-index: 1002;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  gap: 20px;
}
.logo img, .logo-footer img {
  width: 100px;
  height: auto;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  color: #fff;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.15s, border-bottom 0.15s;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a:focus {
  color: #E6A857;
  border-bottom: 2px solid #E6A857;
}

.btn-primary {
  background: linear-gradient(90deg, #E6A857 60%, #dd881b 100%);
  color: #143F28;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 12px 32px;
  border-radius: 26px;
  border: none;
  box-shadow: 0 4px 18px 0 rgba(230, 168, 87, 0.18);
  cursor: pointer;
  transition: background 0.2s, color 0.15s, transform 0.13s;
  margin-left: 24px;
  outline: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg, #E5C088 0%, #E6A857 85%);
  color: #143F28;
  transform: translateY(-2px) scale(1.025);
}

@media (max-width: 1000px) {
  .main-nav {
    gap: 14px;
  }
  .header .container {
    gap: 8px;
  }
  .btn-primary {
    margin-left: 10px;
    padding: 10px 18px;
    font-size: 0.96rem;
  }
}

/* === MOBILE MENU === */
.mobile-menu-toggle {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.4rem;
  padding: 4px 14px;
  cursor: pointer;
  border-radius: 10px;
  display: none;
  z-index: 1102;
  transition: background 0.13s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: rgba(230,168,87,0.17);
  color: #E6A857;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(20,63,40,0.93);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 56px;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.55,.15,.33,1.02);
  z-index: 1101;
  overflow-y: auto;
}
.mobile-menu.is-active {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 22px; right: 26px;
  background: none;
  color: #E6A857;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 50%;
  transition: background 0.12s;
  z-index: 1102;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: rgba(230,168,87,0.10);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 30px;
  width: 100%;
  padding-left: 34px;
}
.mobile-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 1.3rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  padding: 12px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.18s, border-bottom 0.16s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: #E6A857;
  border-bottom: 2px solid #E6A857;
}

@media (max-width: 980px) {
  .main-nav, .btn-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .logo {
    order: 1;
  }
}
@media (min-width: 981px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* === MAIN & PAGE SECTIONS === */
main {
  margin-top: 0;
  padding-bottom: 60px;
}
section {
  margin-bottom: 60px;
}

.feature-grid, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: flex-start;
}
.feature-grid > div, .service-list > div {
  background: #fff;
  border-radius: 22px;
  padding: 32px 28px 32px 28px;
  flex: 1 1 280px;
  min-width: 230px;
  box-shadow: 0 2px 12px 0 rgba(20,63,40,0.11);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  border: 1px solid #ECE7DE;
  transition: box-shadow 0.15s, border 0.15s, transform 0.17s;
}
.feature-grid > div:hover, .service-list > div:hover {
  box-shadow: 0 6px 28px 0 rgba(230,168,87,0.13);
  border: 1.5px solid #E6A857;
  transform: translateY(-5px) scale(1.015);
}
.feature-grid img, .service-list img {
  width: 46px; height: 46px;
}
.feature-grid h3, .service-list h3 {
  margin-bottom: 8px; font-size: 1.18rem;
}

@media (max-width: 800px) {
  .feature-grid, .service-list {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid > div, .service-list > div {
    min-width: 0;
    width: 100%;
  }
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.text-section ul {
  gap: 6px;
  margin-bottom: 12px;
}
address {
  font-style: normal;
}
address ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
address img {
  width: 22px; height: 22px; margin-right: 8px; vertical-align: middle;
}
address li {
  display: flex; align-items: center; gap: 8px; font-size: 1rem; color: #143F28;
}

/* === LISTS === */
ul, ol {
  padding-left: 24px;
}
ul li, ol li {
  margin-bottom: 8px;
  font-size: 1rem;
  color: #143F28;
}

/* === ACCORDION (FAQ) === */
.faq-accordion {
  display: flex; flex-direction: column; gap: 28px; margin-top: 10px;
}
.faq-accordion > div {
  background: #fff7ee;
  border-radius: 18px;
  padding: 24px 20px;
  box-shadow: 0 3px 16px 0 rgba(230,168,87,0.07);
  border: 1px solid #ECD8B5;
  transition: box-shadow 0.15s, border 0.16s;
}
.faq-accordion > div:hover {
  box-shadow: 0 7px 30px 0 rgba(20,63,40,0.06);
  border: 1.5px solid #E6A857;
}
.faq-accordion h2 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}

/* === TESTIMONIAL CARDS === */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 20px 26px;
  background: linear-gradient(90deg, #fffde9 70%, #fff4db 100%);
  border-radius: 20px;
  margin-bottom: 20px;
  box-shadow: 0 3px 14px 0 rgba(20,63,40,0.07);
  border: 1px solid #ECE7DE;
}
.testimonial-card blockquote {
  color: #143F28;
  font-size: 1.08rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  margin-bottom: 6px;
  quotes: none;
}
.testimonial-card cite {
  color: #7C684E; font-size: 0.96rem; font-style: italic; margin-left: 2px;
}

/* === BUTTONS === */
button,
input[type="submit"],
.btn-primary {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  border: none;
  outline: none;
  cursor: pointer;
}

/* === STEPPER === */
.stepper ol {
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.stepper li {
  background: #FEF9F4;
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 0;
  color: #143F28;
  border: 1px solid #E6A857;
  font-size: 1rem;
  box-shadow: 0 2px 6px 0 rgba(230,168,87,0.06);
}

/* === FOOTER === */
footer {
  background: linear-gradient(90deg, #143F28 70%, #2b5742 100%);
  color: #fff;
  padding-bottom: 0;
  margin-top: 60px;
  box-shadow: 0 -2px 24px 0 rgba(20, 63, 40, 0.06);
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 0 16px 0;
  border-bottom: 1px solid #215e38;
}
.footer-bottom {
  font-size: 0.94rem;
  padding: 20px 0 16px 0;
  color: #d9e3de;
}
.footer-menu {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-menu a {
  color: #E6A857;
  font-size: 1rem;
  transition: color 0.17s, border-bottom 0.14s;
  border-bottom: 2px solid transparent;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #fff;
  border-bottom: 2px solid #E6A857;
}
.logo-footer img {
  width: 140px;
}

@media (max-width: 760px) {
  .footer-top { flex-direction: column; gap: 22px; align-items: flex-start; }
  .footer-menu { margin-top: 5px; }
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 16px; right: 16px; bottom: 18px;
  background: #fff7ee;
  border-radius: 18px;
  box-shadow: 0 6px 42px 0 rgba(230,168,87,0.19);
  border: 1px solid #E6A857;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 34px 18px 22px;
  z-index: 2200;
  justify-content: space-between;
  max-width: 700px;
  left: 50%; transform: translateX(-50%);
  font-size: 1rem;
  animation: fade_in_banner 0.7s cubic-bezier(.50,.23,.19,.98);
}
@keyframes fade_in_banner {
  from { opacity: 0; transform: translateY(100px) scale(0.98); }
  to { opacity:1; transform: translateY(0) scale(1); }
}
.cookie-banner p {
  color: #143F28;
  flex: 1;
  margin-right: 18px;
}
.cookie-banner .cookie-btn {
  background: #E6A857;
  color: #143F28;
  padding: 8px 20px;
  border-radius: 14px;
  margin-left: 8px;
  font-weight: bold;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  border: none;
  transition: background 0.13s, color 0.13s, transform 0.1s;
  cursor: pointer;
  outline: none;
  font-size: 1rem;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #143F28;
  color: #E6A857;
  transform: translateY(-2px) scale(1.04);
}
.cookie-banner .cookie-settings-btn {
  background: #fff;
  color: #E6A857;
  border: 1.5px solid #E6A857;
}
.cookie-banner .cookie-settings-btn:hover, .cookie-banner .cookie-settings-btn:focus {
  background: #fff1db;
}
@media (max-width: 640px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 12px 15px 12px;
    left: 50%; width: 95%; min-width: 0;
    transform: translateX(-50%);
  }
  .cookie-banner p {
    margin-bottom: 10px;
  }
}

/* === COOKIE CONSENT MODAL === */
.cookie-modal-backdrop {
  position: fixed; top:0; left:0; right:0; bottom:0;
  background: rgba(20,63,40,0.52);
  z-index: 2202;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fade_in_modal 0.5s;
}
@keyframes fade_in_modal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff7ee;
  border-radius: 20px;
  box-shadow: 0 10px 70px 0 rgba(230,168,87,0.22);
  border: 1.5px solid #E6A857;
  padding: 34px 34px 26px 34px;
  width: 92vw;
  max-width: 420px;
  color: #143F28;
  animation: slide_modal .45s cubic-bezier(.36,.68,.37,1);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
@keyframes slide_modal {
  from { opacity: 0; transform: translateY(80px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal h3 {
  font-size: 1.32rem;
  color: #143F28;
  margin-bottom: 8px;
}
.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-option {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  margin-bottom: 2px;
  padding: 2px 0;
}
.cookie-option label {
  font-weight: 500;
  color: #143F28;
}
.cookie-toggle {
  appearance: none;
  width: 48px;
  height: 26px;
  border-radius: 16px;
  background: #ECE7DE;
  outline: none;
  cursor: pointer;
  position: relative;
  transition: background .14s;
  box-shadow: 0 1px 3px rgba(20,63,40,.10);
}
.cookie-toggle:checked {
  background: #E6A857;
}
.cookie-toggle::after {
  content: "";
  position: absolute;
  top: 3px; left: 4px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(20,63,40,.13);
  transition: left 0.17s;
}
.cookie-toggle:checked::after {
  left: 24px;
  background: #fff7df;
}
.cookie-modal-btns {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}
.cookie-modal-close {
  position: absolute;
  right: 20px; top: 18px;
  background: none;
  border: none;
  color: #E6A857;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 3px 5px;
  border-radius: 40%;
  transition: background 0.1s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #E6A85722;
}
@media (max-width: 540px) {
  .cookie-modal {
    padding: 18px 10px 16px 12px; max-width: 99vw;
  }
  .cookie-modal h3 {
    font-size: 1.08rem;
  }
}

/* === CARDS (generic) === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 12px 0 rgba(20,63,40,0.09);
  border: 1px solid #ECE7DE;
  padding: 26px 18px;
  transition: box-shadow 0.18s, border 0.15s, transform 0.14s;
}
.card:hover {
  box-shadow: 0 7px 28px 0 rgba(230,168,87,0.12);
  border: 1.5px solid #E6A857;
  transform: translateY(-6px) scale(1.012);
}

/* === FLEX LAYOUTS FOR ALL REQUIRED CLASSES === */
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === RESPONSIVE SPACING & TYPOGRAPHY === */
@media (max-width: 600px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.18rem; }
  .btn-primary { font-size: 0.98rem; padding: 10px 16px; }
  .footer-top { flex-direction: column; gap: 18px; }
  .footer-menu { gap: 11px; }
  main { padding-bottom: 23px; }
}

/* === HELPER/UTILITY CLASSES === */
.hide { display: none !important; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-2 { margin-top: 18px; }
.mt-4 { margin-top: 34px; }

/* === MODERN MICRO-ANIMATIONS === */
.btn-primary, .cookie-btn, .cookie-toggle, .main-nav a, .footer-menu a, .mobile-menu-close {
  transition: background 0.18s, color 0.18s, border 0.18s, transform 0.14s;
}

/* === MODALS/BANNERS OVERRIDE Z-INDEX === */
.cookie-banner,
.cookie-modal-backdrop {
  z-index: 99999;
}

/* === VISUAL IMPROVEMENTS FOR ACCESSIBILITY === */
a:focus, button:focus {
  outline: 2px solid #E6A857;
  outline-offset: 2px;
}

/* === SCROLLBAR Styling for Modern Look === */
*::-webkit-scrollbar { width: 8px; background: #ECE7DE; }
*::-webkit-scrollbar-thumb { background: #E6A857; border-radius: 10px; }
* { scrollbar-width: thin; scrollbar-color: #E6A857 #ECE7DE; }

/* === END OF CSS === */
