/* =============================
   CSS RESET & BASE
   ============================= */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: inherit; margin: 0; padding: 0; }
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #17384C;
  background: linear-gradient(135deg, #F7F7F2 0%, #e8f7e2 100%);
  min-height: 100vh;
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: #17384C; text-decoration: none; transition: color 0.2s; }
a:focus, a:hover { color: #74B350; }
ul, ol { list-style: none; }
strong { font-weight: bold; }

/* =============================
   BRAND TYPOGRAPHY
   ============================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  letter-spacing: 0.01em;
  color: #17384C;
  margin-bottom: 16px;
  font-weight: 700;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.3rem; margin-bottom: 12px; font-weight: 600; }
h4 { font-size: 1.1rem; margin-bottom: 8px; font-weight: 600; }
p, li { font-size: 1rem; color: #263e4a; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.1rem; }
  h4 { font-size: 1rem; }
}

/* =============================
   SPACING & LAYOUT
   ============================= */
.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.section {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 rgba(23, 56, 76, 0.05);
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 0;
}
/* Custom flex classes per requirements */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(23, 56, 76, 0.08);
  padding: 32px 24px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 6px 32px 0 rgba(116, 179, 80, 0.15);
  transform: translateY(-4px) scale(1.01);
  z-index: 2;
}
.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;
  background: #F7F7F2;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 2px 10px 0 rgba(23, 56, 76, 0.05);
  margin-bottom: 24px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px 0 rgba(23, 56, 76, 0.06);
  padding: 28px 20px;
  margin-bottom: 20px;
  transition: box-shadow .15s, transform .15s;
}
.feature-item:hover {
  box-shadow: 0 8px 24px 0 rgba(116,179,80, 0.13);
  transform: translateY(-2px);
}

/* --- Lists in content --- */
.content-wrapper ul, .content-wrapper ol {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-left: 0;
}
.content-wrapper li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

/* --- Facts/Stats Row --- */
.facts-row {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin: 18px 0 10px 0;
}
.facts-row > div {
  background: #F7F7F2;
  border-radius: 9px;
  padding: 12px 18px;
  font-weight: 600;
  font-size: 1.15rem;
  color: #17384C;
}

.guarantee-row {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #e8f7e2;
  border-radius: 9px;
  padding: 10px 18px;
  font-weight: 500;
  color: #74B350;
  margin: 10px 0 18px 0;
}

.trust-badges {
  display: flex;
  gap: 20px;
  margin-top: 14px;
}

.client-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 16px;
}

/* =============================
   HEADER NAVIGATION
   ============================= */
.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 18px;
  background: #fff;
  border-bottom: 3px solid #e8f7e2;
  padding: 18px 24px 14px 24px;
}
.main-nav > a {
  color: #17384C;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 12px;
  transition: color 0.18s, background 0.18s, border-radius 0.18s;
  border-radius: 7px;
}
.main-nav a.cta-primary {
  background: linear-gradient(90deg, #74B350 0%, #17384C 100%);
  color: #fff !important;
  font-weight: 700;
  border-radius: 9px;
  padding: 10px 22px;
  margin-left: 12px;
  box-shadow: 0 2px 6px rgba(23,56,76,.07);
  transition: transform 0.15s, box-shadow 0.16s;
}
.main-nav a.cta-primary:hover,
.main-nav a.cta-primary:focus {
  background: linear-gradient(90deg, #17384C 0%, #74B350 100%);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 18px rgba(23, 56, 76, 0.10);
}
.main-nav > a:hover, .main-nav > a:focus {
  background: #e8f7e2;
  color: #74B350;
  border-radius: 8px;
}
.main-nav > a img {
  height: 34px;
  margin-right: 7px;
  vertical-align: middle;
  display: inline-block;
}

/* --- Hamburger Mobile Menu --- */
.mobile-menu-toggle {
  display: none;
  background: #fff;
  border: none;
  font-size: 2rem;
  padding: 6px 18px;
  color: #17384C;
  border-radius: 8px;
  cursor: pointer;
  margin-left: auto;
  z-index: 31;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #74B350;
  background: #e8f7e2;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(23,56,76,.98);
  color: #fff;
  z-index: 40;
  transform: translateX(-105%);
  transition: transform 0.33s cubic-bezier(.76,0,.24,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 42px;
  padding-left: 24px;
  width: 100vw;
  height: 100vh;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 24px;
  background: #fff;
  border: none;
  color: #17384C;
  font-size: 2rem;
  border-radius: 50%;
  width: 40px; height: 40px;
  cursor: pointer;
  transition: background .18s, color .18s;
  z-index: 41;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #e8f7e2;
  color: #74B350;
  outline: 2px solid #74B350;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
  width: 90%;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.35rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 14px 0 14px 8px;
  border-radius: 7px;
  transition: background 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: rgba(116, 179, 80, 0.13);
  color: #74B350;
}

/* =============================
   HERO / CTA STYLES
   ============================= */
.cta-primary {
  display: inline-block;
  background: linear-gradient(90deg, #74B350 0%, #17384C 100%);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  padding: 14px 32px;
  font-size: 1.1rem;
  margin-top: 14px;
  box-shadow: 0 2px 7px rgba(23,56,76,.07);
  cursor: pointer;
  transition: background 0.18s, transform 0.15s, box-shadow 0.16s;
}
.cta-primary:hover, .cta-primary:focus {
  background: linear-gradient(90deg, #17384C 0%, #74B350 100%);
  color: #fff;
  transform: scale(1.03) translateY(-2px);
  box-shadow: 0 8px 22px rgba(23,56,76,.13);
  outline: none;
}


/* =============================
   FOOTER
   ============================= */
footer {
  background: linear-gradient(90deg, #17384C 0%, #74B350 100%);
  color: #fff;
  margin-top: 72px;
  border-top-left-radius: 36px;
  border-top-right-radius: 36px;
  box-shadow: 0 -3px 36px 0 rgba(23,56,76,0.12);
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 20px 20px 20px;
}
.footer-branding {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  min-width: 220px;
  flex: 1 1 270px;
}
.footer-branding img {
  width: 120px;
  margin-bottom: 2px;
  filter: drop-shadow(0 2px 12px #263e4a16);
}
.footer-branding span { font-size: 1rem; line-height: 1.35; color: #e8f7e2; }
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: #e8f7e2;
  font-size: 1rem;
}
.footer-contact img { height: 20px; margin-right: 8px; vertical-align: middle; }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  flex: 2 1 340px;
  min-width: 250px;
}
.footer-nav a {
  color: #fff;
  font-size: 1rem;
  padding: 6px 0;
  transition: color 0.16s;
  border-radius: 0;
  font-family: 'Montserrat', Arial, sans-serif;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #e8f7e2;
  border-bottom: 2px solid #74B350;
}
.footer-social {
  display: flex;
  gap: 20px;
  align-items: center;
}
.footer-social a img {
  height: 34px;
  width: 34px;
  filter: grayscale(1) brightness(2);
  transition: filter 0.2s;
  border-radius: 50%;
}
.footer-social a:hover img, .footer-social a:focus img {
  filter: grayscale(0) brightness(1.2) drop-shadow(0px 0px 6px #e8f7e2b1);
}
.footer-bottom {
  background: rgba(23, 56, 76, 0.92);
  text-align: center;
  padding: 15px 10px 12px 10px;
  font-size: .96rem;
  color: #fff;
  border-bottom-left-radius: 36px;
  border-bottom-right-radius: 36px;
}

/* =============================
   TESTIMONIALS
   ============================= */
.testimonial-card {
  background: #fff;
  border-left: 6px solid #74B350;
  color: #17384C;
  box-shadow: 0 4px 18px 0 rgba(116,179,80, 0.07);
  transition: box-shadow 0.16s, border-left 0.18s;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 8px 32px 0 rgba(116,179,80, 0.13);
  border-left: 6px solid #17384C;
}
.testimonial-card p {
  font-size: 1.1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-style: italic;
  color: #17384C;
}
.testimonial-card strong {
  font-size: .97rem;
  margin-left: 16px;
  font-family: 'Roboto', Arial, sans-serif;
  color: #263e4a;
}

/* =============================
   BUTTONS & MICRO-INTERACTIONS
   ============================= */
button,
input[type="submit"],
.cta-primary {
  outline: none;
  border: none;
  transition: background 0.18s, transform 0.13s, box-shadow 0.14s, color 0.13s;
}

/* =============================
   RESPONSIVE DESIGN
   ============================= */
@media (max-width: 1024px) {
  .container { max-width: 92vw; }
  .footer-top { flex-direction: column; gap: 30px; align-items: flex-start; }
  .footer-branding, .footer-nav, .footer-social { min-width: 0; flex: unset; }
}

@media (max-width: 768px) {
  .section { padding: 28px 5px; margin-bottom: 36px; border-radius: 8px; }
  .main-nav { display: none; }
  .mobile-menu-toggle {
    display: block;
    position: fixed;
    top: 16px; right: 16px;
    z-index: 35;
  }
  header { position: relative; min-height: 62px; }
  .content-wrapper, .card-container, .content-grid { flex-direction: column; gap: 18px; }
  .text-image-section { flex-direction: column; gap: 18px; }
  .facts-row { flex-direction: column; gap: 14px; }
  .client-logos, .testimonial-card { flex-direction: column; }
  .footer-top { padding: 38px 8px 12px 8px; gap: 22px; }
  .footer-social { margin-bottom: 12px; }
}
@media (max-width: 480px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.1rem; }
  .section, .container { padding-left: 2vw; padding-right: 2vw; }
  .footer-branding img { width: 95px; }
  .footer-social a img { height: 28px; width: 28px; }
}

/* =============================
   COOKIE CONSENT BANNER & MODAL
   ============================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  padding: 24px 20px 20px 20px;
  background: linear-gradient(90deg, #17384C 0%, #74B350 110%);
  color: #fff;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  z-index: 1000;
  font-size: 1rem;
  box-shadow: 0 -2px 24px 0 rgba(23,56,76,0.12);
  animation: banner-fade-in .8s;
}
.cookie-banner p { margin: 0; color: #fff; font-size: 1rem; }
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
}
.cookie-banner button {
  padding: 8px 16px;
  font-size: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(23,56,76,0.08);
  margin-left: 0;
}
.cookie-banner .cookie-accept { background: #74B350; color: #fff; font-weight: 700; }
.cookie-banner .cookie-accept:hover, .cookie-banner .cookie-accept:focus { background: #5fa535; }
.cookie-banner .cookie-reject { background: #fff; color: #17384C; font-weight: 500; }
.cookie-banner .cookie-reject:hover, .cookie-banner .cookie-reject:focus { background: #e8f7e2; color: #74B350; }
.cookie-banner .cookie-settings { background: none; color: #fff; border: 1.5px solid #fff; font-weight: 500; }
.cookie-banner .cookie-settings:hover, .cookie-banner .cookie-settings:focus {
  background: #17384C; color: #74B350; border-color: #74B350;
}

@keyframes banner-fade-in { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: translateY(0); } }

.cookie-modal-backdrop {
  position: fixed; top:0;left:0;right:0;bottom:0;
  background: rgba(23,56,76,0.52);
  z-index: 1200;
  display: flex; align-items: center; justify-content: center;
  animation: fadeInModalBg .27s;
}
@keyframes fadeInModalBg { from { opacity: 0; } to { opacity: 1; } }
.cookie-modal {
  background: #fff;
  color: #17384C;
  border-radius: 18px;
  max-width: 360px;
  width: 94vw;
  padding: 34px 22px 26px 22px;
  box-shadow: 0 8px 36px 0 rgba(23,56,76,0.17);
  z-index: 1201;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modal-fade-in .29s cubic-bezier(.87,0,.13,1);
  position: relative;
}
@keyframes modal-fade-in { from { opacity: 0; transform: scale(0.86); } to { opacity: 1; transform: scale(1); } }
.cookie-modal h2 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid #e8f7e2;
  font-size: 1rem;
}
.cookie-modal .cookie-toggle {
  min-width: 38px;
  min-height: 20px;
  appearance: none;
  border-radius: 6px;
  border: 1.3px solid #17384C;
  background: #e8f7e2;
  transition: background .17s, border .17s; position: relative;
  outline: none;
}
.cookie-modal .cookie-toggle:checked {
  background: #74B350;
  border-color: #74B350;
}
.cookie-modal .cookie-toggle:disabled {
  opacity: 0.5;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 10px;
  justify-content: flex-end;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 12px; right: 14px;
  border: none;
  background: none;
  color: #17384C;
  font-size: 1.5rem;
  font-family: inherit;
  line-height: 1;
  cursor: pointer;
  z-index: 1202;
  padding: 0 6px;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus {
  color: #74B350;
  background: #e8f7e2;
  border-radius: 50%;
}

/* =============================
   GENERIC UTILITY CLASSES
   ============================= */
.text-section { gap: 18px; }
.mb-2 { margin-bottom: 16px; }
.mt-2 { margin-top: 16px; }
.text-center { text-align: center; }

/* =============================
   VISUAL HIERARCHY & EFFECTS
   ============================= */
.section, .card, .testimonial-card, .feature-item, .cookie-modal {
  box-shadow: 0 2px 14px 0 rgba(23,56,76,0.04);
}
.feature-item img,
.card img,
.section img,
.content-wrapper img {
  max-width: 56px;
  margin-bottom: 6px;
}
.section a, .content-wrapper a {
  color: #17384C;
  font-weight: 500;
  text-decoration: underline;
  transition: color 0.16s;
}
.section a:hover, .section a:focus, .content-wrapper a:hover, .content-wrapper a:focus {
  color: #74B350;
  text-decoration: underline;
}

/* Unique gradient accent underline for some headers */
h2 {
  position: relative;
  padding-bottom: 8px;
}
h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 4px;
  border-radius: 6px;
  background: linear-gradient(90deg,#74B350 0%, #17384C 100%);
  margin-top: 5px;
}

/* =============================
   FORMS & NEWSLETTER (if any)
   ============================= */
input, textarea, select {
  border: 1px solid #e7eaea;
  border-radius: 6px;
  font-size: 1rem;
  padding: 11px 14px;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 16px;
  width: 100%; max-width: 400px;
  transition: border-color 0.12s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #74B350;
}

/* =============================
   MISC
   ============================= */
::-webkit-scrollbar { width: 11px; background: #e8f7e2; }
::-webkit-scrollbar-thumb { background: #b9d6a4; border-radius: 9px; }
::-webkit-scrollbar-thumb:hover { background: #74B350; }

/* Loading spinner for cookie modal -- optional */
.spinner { width:32px; height:32px; border:4px solid #e8f7e2; border-top:4px solid #74B350; border-radius:50%; animation:spin 1s linear infinite; margin:auto; }
@keyframes spin { to {transform: rotate(360deg);} }

/*
   END OF STYLE.CSS - All sections match classes used across all pages and apply a cohesive, unmistakably modern 'gradient_modern' look, using only flex layouts.
*/