/* ============= CSS RESET & NORMALIZE ============= */
html {
  box-sizing: border-box;
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  line-height: 1.6;
  background: #FCFAF8;
  color: #21344A;
  font-family: 'Open Sans', Georgia, Times, serif;
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', serif;
  color: #1C2534;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.37rem; margin-bottom: 16px; }
p {
  margin-bottom: 16px;
  font-size: 1.06rem;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 0;
}
ul, ol {
  margin-bottom: 16px;
  padding-left: 20px;
}
ul li, ol li {
  margin-bottom: 8px;
}
a {
  color: #21344A;
  text-decoration: none;
  transition: color .18s;
}
a:hover, a:focus {
  color: #6B8B4E;
  outline: none;
}
button, .btn-primary, .btn-secondary {
  font-family: 'Montserrat', serif;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
  transition: all .22s cubic-bezier(.35,1.02,.57,.97);
}

/* ======== LAYOUT & CONTAINERS ======== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFF;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(33,52,74,0.04);
}

@media (max-width: 990px) {
  .container {
    padding: 0 8px;
  }
  .section {
    padding: 26px 8px;
  }
}

@media (max-width: 768px) {
  .section { margin-bottom: 40px; padding: 22px 0; }
}

/* ======= SPACING & FLEXBOX PATTERNS ======= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #FFF;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(33,52,74,0.06);
  margin-bottom: 20px;
  padding: 32px 28px;
  position: relative;
  flex: 1 1 340px;
  min-width: 260px;
  transition: box-shadow .2s;
}
.card:hover {
  box-shadow: 0 8px 28px rgba(33,52,74,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;
}
@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 34px 20px 34px;
  border-radius: 12px;
  background: #EFEFEF;
  color: #21344A;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(33,52,74,0.03);
  position: relative;
}
.testimonial-card blockquote {
  margin: 0;
  font-size: 1.15rem;
  font-style: italic;
  font-family: 'Open Sans', Georgia, Times, serif;
  color: #21344A;
}
.testimonial-card .client {
  font-size: 1rem;
  font-family: 'Montserrat', serif;
  color: #6B8B4E;
  margin-left: 24px;
}
@media (max-width: 600px) {
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    padding: 17px 12px 17px 12px;
  }
  .testimonial-card .client {
    margin-left: 0;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 16px;
}
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
}
.feature {
  background: #F4F6F7;
  border-radius: 14px;
  box-shadow: 0 2px 6px rgba(33,52,74,0.03);
  flex: 1 1 240px;
  min-width: 205px;
  padding: 30px 18px 28px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  transition: box-shadow .18s;
}
.feature:hover {
  box-shadow: 0 6px 18px rgba(33,52,74,0.08);
}
.feature h3 {
  font-size: 1.16rem;
  margin-bottom: 10px;
  color: #21344A;
  font-family: 'Montserrat', serif;
}
.feature img {
  margin-bottom: 12px;
  width: 42px;
  height: 42px;
}
@media (max-width: 750px) {
  .features-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature, .card {
    min-width: 0;
  }
}
.why-choose {
  background: #ECF1EA;
  border-radius: 12px;
  padding: 18px 22px;
  margin-top: 22px;
}
.guarantee {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  background: #FDFDF7;
  border-radius: 11px;
  padding: 11px 18px;
  color: #6B8B4E;
  font-size: 1.1rem;
}

/* ========== HEADER & NAVIGATION ========== */
header {
  background: #FFF;
  border-bottom: 1px solid #E4E7ED;
  box-shadow: 0 2px 12px rgba(33,52,74,0.05);
  position: sticky;
  top: 0;
  z-index: 149;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 14px;
  flex-wrap: wrap;
}
header img {
  height: 48px;
  width: auto;
}
.main-nav {
  display: flex;
  gap: 26px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 1rem;
  font-family: 'Montserrat', serif;
}
.main-nav a {
  color: #21344A;
  font-weight: 600;
  padding: 6px 0 6px 0;
  border-bottom: 2px solid transparent;
  transition: color .18s, border-bottom .21s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #6B8B4E;
  border-bottom: 2px solid #6B8B4E;
}
.btn-primary {
  background: #21344A;
  color: #FFF;
  border-radius: 6px;
  font-size: 1.12rem;
  padding: 12px 26px;
  margin-left: 32px;
  box-shadow: 0 2px 12px 0 rgba(33,52,74,.10);
  letter-spacing: .01em;
  transition: background .17s, color .17s, box-shadow .18s;
  display: inline-block;
}
.btn-primary:hover, .btn-primary:focus {
  background: #6B8B4E;
  color: #FFF;
  box-shadow: 0 4px 16px 0 rgba(107,139,78,.16);
}
.btn-secondary {
  background: #6B8B4E;
  color: #FFF;
  border-radius: 6px;
  font-size: 1.07rem;
  padding: 11px 22px;
  margin-top: 12px;
  box-shadow: 0 2px 10px 0 rgba(107,139,78,.08);
  letter-spacing: .01em;
  transition: background .15s, color .17s, box-shadow .13s;
  display: inline-block;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #21344A;
  color: #FFF;
}
@media (max-width: 990px) {
  .btn-primary {
    margin-left: 14px;
    padding: 10px 18px;
    font-size: 1rem;
  }
  header .container { min-height: 60px; }
}

/* =========== HERO ============ */
.hero {
  background: #EFEFEF;
  padding: 64px 0 52px 0;
  margin-bottom: 60px;
  border-radius: 0 0 18px 18px;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.hero h1 {
  color: #21344A;
  font-size: 2.35rem;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}
@media (max-width: 920px) {
  .hero {
    padding: 40px 0 32px 0;
    margin-bottom: 42px;
  }
  .hero h1 { font-size: 1.75rem; }
  .hero p { font-size: 1.03rem; }
}
@media (max-width: 700px) {
  .hero {
    padding: 23px 0 20px 0;
    margin-bottom: 30px;
  }
}

/* =========== FOOTER =========== */
footer {
  background: #21344A;
  color: #EFEFEF;
  padding: 38px 0 16px 0;
  font-size: 1rem;
  letter-spacing: .01em;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 8px;
}
.footer-nav a {
  color: #EFEFEF;
  opacity: .92;
  font-family: 'Montserrat', serif;
  font-weight: 600;
  border-bottom: 1.5px solid transparent;
  transition: border-color 0.17s, color 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #6B8B4E;
  border-color: #6B8B4E;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: #CCD3DA;
  font-size: .98rem;
}
@media (max-width: 650px) {
  footer .container { gap: 10px; }
  .footer-nav { gap: 12px; }
}

/* ========= TEXT BLOCKS / SECTIONS =========== */
.text-section {
  padding: 0 2px;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}
.text-section h2 {
  margin-top: 0;
  color: #21344A;
}
.text-section ul li {
  font-size: 1rem;
  margin-bottom: 7px;
  line-height: 1.5;
}
.text-section img {
  vertical-align: middle;
  margin-right: 8px;
  width: 26px;
  height: auto;
}
.trust-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 8px;
  font-size: 1.03rem;
  color: #6B8B4E;
  font-family: 'Montserrat', serif;
}
.trust-signals img {
  width: 21px;
  height: 21px;
  margin-right: 6px;
}

/* ======= FAQ STYLE ======= */
.faq-item {
  background: #F8F8F6;
  border-radius: 9px;
  box-shadow: 0 1px 5px rgba(33,52,74,0.06);
  padding: 19px 18px 15px 18px;
  margin-bottom: 20px;
}
.faq-item h3 {
  color: #21344A;
  font-size: 1.07rem;
  margin-bottom: 6px;
  letter-spacing: .01em;
}

/* === Cookie Banner & Modal === */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100%;
  background: #21344A;
  color: #EFEFEF;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px 20px 18px 20px;
  box-shadow: 0 0 30px rgba(33,52,74,.19);
  z-index: 9999;
  font-size: 1rem;
  align-items: center;
  animation: fadein-cookie .8s cubic-bezier(.22,.68,.46,1.01);
}
@keyframes fadein-cookie {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 0;
  justify-content: center;
}
.cookie-banner button {
  background: #6B8B4E;
  padding: 8px 23px;
  border-radius: 6px;
  color: #FFF;
  font-size: 1rem;
  font-family: 'Montserrat', serif;
  border: none;
  margin: 0 2px;
  transition: background .17s, box-shadow .13s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #1C2534;
}
.cookie-banner .cookie-settings {
  background: #EFEFEF;
  color: #21344A;
  border: 1.5px solid #6B8B4E;
}
.cookie-banner .cookie-settings:hover, .cookie-banner .cookie-settings:focus {
  background: #6B8B4E;
  color: #FFF;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(33,52,74,0.52);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadein-cmodal .38s cubic-bezier(.22,.68,.46,1.01);
}
@keyframes fadein-cmodal {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal-content {
  background: #FCFAF8;
  padding: 32px 24px 28px 24px;
  border-radius: 15px;
  box-shadow: 0 6px 36px rgba(33,52,74,0.30);
  min-width: 320px;
  max-width: 95vw;
  color: #21344A;
  font-size: 1rem;
  position: relative;
}
.cookie-modal-content h3 {
  font-size: 1.19rem;
  margin-bottom: 16px;
  color: #21344A;
}
.cookie-modal-content ul {
  margin-bottom: 18px;
}
.cookie-modal-content label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: 'Open Sans', serif;
  font-size: 1rem;
  margin-bottom: 7px;
}
.cookie-modal-content input[type="checkbox"] {
  accent-color: #6B8B4E;
  width: 16px;
  height: 16px;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 13px;
}
.cookie-modal-close {
  position: absolute;
  top: 9px; right: 12px;
  background: none;
  border: none;
  font-size: 1.35rem;
  color: #21344A;
  cursor: pointer;
  padding: 2px 6px;
}
.cookie-modal-close:focus { outline: 2px solid #6B8B4E; }

/* ========== MOBILE NAVIGATION ========== */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 20px; right: 22px;
  z-index: 450;
  width: 48px;
  height: 48px;
  background: #EFEFEF;
  color: #21344A;
  border: none;
  border-radius: 8px;
  font-size: 2rem;
  box-shadow: 0 4px 16px rgba(33,52,74,0.09);
  display: flex;
  align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .16s, color .16s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #6B8B4E;
}
@media (max-width: 940px) {
  .main-nav, header .btn-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex !important;
  }
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; height: 100vh; width: 100vw;
  background: #21344A;
  color: #EFEFEF;
  z-index: 999;
  transform: translateX(-100vw);
  transition: transform .49s cubic-bezier(.74,1.34,.29,.93);
  box-shadow: 0 4px 40px 0 rgba(33,52,74,.22);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 0px;
}
.mobile-menu.open {
  transform: none;
}
.mobile-menu-close {
  background: #EFEFEF;
  color: #21344A;
  border: none;
  border-radius: 8px;
  font-size: 2rem;
  margin: 22px 0 0 18px;
  width: 52px;
  height: 52px;
  align-self: flex-start;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .16s, color .16s;
}
.mobile-menu-close:focus {
  outline: 2px solid #6B8B4E;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 44px;
  width: 100%;
  align-items: flex-start;
  padding-left: 38px;
}
.mobile-nav a {
  font-family: 'Montserrat', serif;
  color: #EFEFEF;
  font-size: 1.15rem;
  font-weight: 600;
  border-bottom: 1.5px solid transparent;
  padding: 7px 9px;
  border-radius: 6px;
  transition: background .14s, color .13s;
  display: inline-block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #6B8B4E;
  color: #FFF;
}

/* ========= Responsive Alignment & Typography =========== */
@media (max-width: 650px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.13rem; }
  .footer-contact { font-size: .93rem; }
}

/* ========= Visual/Accessibility Small Touches ========== */
::-webkit-input-placeholder { color: #9DA7B8; }
::-moz-placeholder       { color: #9DA7B8; }
:-ms-input-placeholder   { color: #9DA7B8; }
::placeholder           { color: #9DA7B8; }

/* Scrollbar Styling for Elegance */
body::-webkit-scrollbar {
  width: 12px;
}
body::-webkit-scrollbar-thumb {
  background: #EFEFEF;
  border-radius: 8px;
}

/* ========== UTILITY CLASSES FOR PAGES ========== */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.text-center { text-align: center !important; }
.d-flex { display: flex !important; }
.flex-wrap { flex-wrap: wrap !important; }

/* Important - Prevent overflows */
section, .section, .card, .feature, .testimonial-card, .faq-item, .content-wrapper, .card-container, .features-grid { box-sizing: border-box; min-width: 0; }

/* No Absolute Position on Content Elements! (Except Decorative if any) */

/* ========== ANIMATIONS & MICRO-INTERACTIONS ========== */
.card, .feature, .testimonial-card, .faq-item {
  transition: box-shadow .18s, transform .13s;
}
.card:hover, .feature:hover {
  box-shadow: 0 8px 22px 0 rgba(33,52,74,0.13);
  transform: translateY(-3px) scale(1.02);
}
.testimonial-card:hover {
  box-shadow: 0 8px 28px rgba(107,139,78,0.10);
}
.btn-primary, .btn-secondary, .cookie-banner button {
  transition: background .16s, color .13s, box-shadow .13s, transform .15s;
}
.btn-primary:active, .btn-secondary:active, .cookie-banner button:active {
  transform: scale(0.96);
}

/* ========== END ========== */
