/* =====================
   CSS RESET & NORMALIZE
   ===================== */
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, article, aside,
canvas, details, embed, figure, figcaption,
footer, header, hgroup, menu, nav, output,
ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body {
  line-height: 1.5;
  font-size: 16px;
  background: #F8F8F8;
  color: #234047;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img {
  max-width: 100%;
  display: block;
}
input, button, select, textarea {
  font-family: inherit;
  font-size: inherit;
}
a {
  color: #17628a;
  text-decoration: none;
  transition: color .18s;
}
a:hover, a:focus {
  color: #21613D;
  outline: none;
}

/* =============================
   VARIABLES (WITH FALLBACKS)
   ============================= */
:root {
  --primary: #21613D;
  --secondary: #F8F8F8;
  --accent: #17628a;
  --gray-900: #234047;
  --gray-700: #50636a;
  --gray-500: #a4b0b7;
  --gray-300: #e5ecf1;
  --white: #fff;
  --shadow: 0 2px 16px rgba(33, 97, 61, 0.07), 0 1.5px 4px rgba(23,98,138,.05);
}

/* =====================
   TYPOGRAPHY
   ===================== */
h1, h2, h3, h4, h5, h6 {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  color: var(--primary);
  font-weight: 700;
  line-height: 1.15;
}
h1 {
  font-size: 2.3rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
h4, h5, h6 { font-size: 1rem; }
p, ul, ol {
  font-size: 1rem;
  margin-bottom: 12px;
  color: var(--gray-900);
}
strong { font-weight: 600; }
ul, ol {
  padding-left: 24px;
  margin-bottom: 20px;
}
ul li, ol li { margin-bottom: 10px; }
blockquote {
  border-left: 3.5px solid var(--accent);
  padding-left: 18px;
  font-style: italic;
  color: var(--gray-700);
  margin: 20px 0;
  font-size: 1.13rem;
  background: var(--secondary);
}
.text-section {
  margin-bottom: 18px;
  color: var(--gray-900);
}

/* =====================
   GENERIC CONTAINERS
   ===================== */
.container {
  width: 100%;
  max-width: 1240px;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

/* =====================
   HEADER/NAVIGATION
   ===================== */
header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-300);
  position: relative;
  z-index: 103;
  box-shadow: 0 1px 4px rgba(23, 98, 138, 0.04);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 12px;
  padding-bottom: 12px;
}
header img {
  height: 48px;
  width: auto;
}
nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}
nav a {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--primary);
  transition: color .18s;
  padding: 4px 2px;
}
nav a:hover, nav a:focus {
  color: var(--accent);
}
.cta-btn {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 6px;
  padding: 11px 30px;
  margin-left: 16px;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: background .15s, transform .18s, box-shadow .18s;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 4px 18px rgba(23,98,138,0.10);
}
.mobile-menu-toggle {
  margin-left: 24px;
  padding: 9px 14px;
  background: none;
  border: none;
  font-size: 1.9rem;
  color: var(--primary);
  cursor: pointer;
  display: none;
  border-radius: 6px;
  transition: background .18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--gray-300);
}

/* =====================
   MOBILE MENU OVERLAY
   ===================== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(23, 98, 138, 0.97);
  backdrop-filter: blur(2.5px);
  z-index: 110;
  transform: translateX(-100vw);
  pointer-events: none;
  opacity: 0;
  transition: transform 0.36s cubic-bezier(.77,0,.18,1), opacity 0.2s;
  display: flex;
  flex-direction: column;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
  opacity: 1;
}
.mobile-menu-close {
  position: absolute;
  top: 22px;
  right: 26px;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--white);
  cursor: pointer;
  z-index: 112;
  padding: 4px 8px;
  border-radius:4px;
  transition: background .20s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: rgba(33, 97, 61, 0.12);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 98px 32px 24px 32px;
  gap: 22px;
  width: 100%;
  height: 100%;
  position: relative;
}
.mobile-nav a {
  font-size: 1.28rem;
  color: var(--white);
  font-family: "Montserrat",Arial,Helvetica,sans-serif;
  font-weight: 600;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  width: 100%;
  display: block;
  transition: color .15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--accent);
}

/* =====================
   HERO SECTION
   ===================== */
.hero {
  background: linear-gradient(97deg,#F8F8F8 62%,#e5ecf1 100%);
  border-bottom: 1px solid var(--gray-300);
  margin-bottom: 60px;
  padding: 40px 20px 30px 20px;
}
.hero .container {
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  padding: 0;
  margin: 0 auto;
  gap: 12px;
  max-width: 600px;
  text-align: left;
}
.hero h1 {
  color: var(--primary);
  font-size: 2.5rem;
  margin-bottom: 12px;
}
.hero p {
  color: var(--gray-900);
  font-size: 1.17rem;
}

/* =====================
   SECTION BASE STYLES
   ===================== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
section:last-child {
  margin-bottom: 0;
}

/* =====================
   FEATURES SECTION
   ===================== */
.features .content-wrapper {
  gap: 18px;
}
.features ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 10px 0 20px 0;
}
.features li {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  font-size: 1.04rem;
  color: var(--gray-700);
  background: var(--secondary);
  padding: 13px 18px;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(33, 97, 61, 0.06);
  font-weight: 500;
}
.features li img {
  width: 28px;
  height: 28px;
}

/* =====================
   SERVICES/CARDS
   ===================== */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 18px 0 32px 0;
  width: 100%;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(23,98,138,0.08);
  flex: 1 1 240px;
  min-width: 220px;
  max-width: 310px;
  padding: 28px 22px 18px 22px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow .17s, border-color .17s, transform .12s;
  display: flex;
  flex-direction: column;
  gap: 11px;
  z-index: 1;
}
.service-card:hover, .service-card:focus-within {
  border-color: var(--accent);
  box-shadow: 0 7px 33px rgba(33,97,61,0.09);
  transform: translateY(-2px) scale(1.02);
}
.service-card h3 {
  color: var(--primary);
  font-size: 1.13rem;
  margin-bottom: 4px;
}
.service-card p { color: var(--gray-900); }

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 10px;
  box-shadow: var(--shadow);
}
.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;
}

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

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* =====================
   TESTIMONIALS
   ===================== */
.testimonials {
  background: var(--secondary);
  box-shadow: none;
}
.testimonials .container {
  align-items: flex-start;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: var(--white);
  border: 1.5px solid var(--gray-300);
  border-radius: 13px;
  box-shadow: 0 3px 16px 0 rgba(23,98,138,0.07);
  margin-right: 0;
  min-width: 230px;
  max-width: 360px;
  transition: box-shadow .16s, border-color .17s;
}
.testimonial-card p {
  color: var(--gray-900);
  font-size: 1.08rem;
  line-height: 1.45;
  margin-bottom: 10px;
}
.testimonial-card span {
  color: var(--gray-700);
  font-size: 1rem;
}
.testimonial-card strong {
  font-weight: 600;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 7px 34px 0 rgba(33,97,61,0.14);
  border-color: var(--accent);
}

/* =====================
   CTA SECTION
   ===================== */
.cta {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 5px 22px rgba(33, 97, 61, 0.17);
  position: relative;
}
.cta .content-wrapper { align-items: center; text-align: center;}
.cta h2, .cta h1 { color: var(--white); }
.cta p { color: var(--gray-300); }
.cta .cta-btn {
  background: var(--accent);
  color: var(--white);
  margin-left: 0;
  margin-top: 8px;
}
.cta .cta-btn:hover, .cta .cta-btn:focus {
  background: var(--white);
  color: var(--primary);
}

/* =====================
   FAQ ACCORDION
   ===================== */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 25px;
}
.faq-item {
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--gray-300);
  box-shadow: 0 2px 12px rgba(23,98,138,0.07);
  padding: 18px 21px;
  transition: box-shadow .15s, border-color .1s;
}
.faq-item h3 {
  font-size: 1.10rem;
  margin-bottom: 8px;
  color: var(--primary);
}
.faq-item p { font-size: 1rem; color: var(--gray-900); }
.faq-item:hover, .faq-item:focus-within {
  box-shadow: 0 7px 20px rgba(33,97,61,0.14);
  border-color: var(--accent);
}

/* =====================
   FOOTER
   ===================== */
footer {
  background: var(--gray-900);
  color: var(--white);
  padding: 36px 0px 0px 0px;
  margin-top: 36px;
  box-shadow: 0 -3px 16px rgba(33, 97, 61, 0.05);
}
footer .container {
  flex-direction: row;
  gap: 30px;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 20px;
}
.footer-nav nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
}
.footer-nav nav a {
  color: var(--gray-300);
  font-size: 0.98rem;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-weight: 500;
  transition: color .14s;
  padding: 2px 0;
}
.footer-nav nav a:hover, .footer-nav nav a:focus {
  color: var(--accent);
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
}
.footer-brand img {
  width: 40px;
  height: 40px;
}
.footer-brand p {
  color: var(--gray-300);
  font-size: .97rem;
  margin-top: 6px;
  text-align: right;
}


/* =====================
   LEGAL SECTION
   ===================== */
.legal {
  background: var(--white);
  border-radius: 15px;
  box-shadow: 0 1.5px 15px rgba(23, 98, 138, 0.06);
  color: var(--gray-900);
}
.legal h1, .legal h2 {
  color: var(--primary);
}

/* =====================
   COOKIE CONSENT BANNER
   ===================== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 300;
  background: var(--primary);
  color: var(--white);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 -3px 18px rgba(23, 98, 138, 0.15);
  padding: 20px 28px;
  gap: 30px;
  animation: fadeInUp .7s ease;
}
@keyframes fadeInUp {
  0% { transform: translateY(60px); opacity: 0; }
 100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner__msg {
  font-size: 1rem;
  max-width: 380px;
  color: var(--white);
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 15px;
}
.cookie-btn,
.cookie-settings-btn {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  padding: 8px 22px;
  margin: 0;
  background: var(--accent);
  color: var(--white);
  cursor: pointer;
  transition: background .15s, color .13s;
  outline: none;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--white);
  color: var(--primary);
}
.cookie-reject-btn {
  background: var(--gray-700);
  color: var(--white);
  transition: background .15s, color .13s;
}
.cookie-reject-btn:hover, .cookie-reject-btn:focus {
  background: var(--gray-300);
  color: var(--primary);
}
.cookie-settings-btn {
  background: var(--secondary);
  color: var(--primary);
  border: 1px solid var(--accent);
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: var(--white);
  color: var(--primary);
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  z-index: 410;
  inset: 0;
  background: rgba(23,98,138,0.27);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal__dialog {
  background: var(--white);
  color: var(--gray-900);
  border-radius: 14px;
  box-shadow: 0 18px 48px rgba(23,98,138,0.27);
  padding: 32px 26px 28px 26px;
  max-width: 410px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: modalFadeIn .7s cubic-bezier(.77,0,.18,1);
}
@keyframes modalFadeIn {
  0% { opacity: 0; transform: scale(.98) translateY(40px); }
 100% { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal__header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.cookie-modal__header h3 {
  color: var(--primary);
  font-size: 1.19rem;
}
.cookie-modal__close {
  background: none;
  border: none;
  font-size: 1.51rem;
  color: var(--gray-700);
  cursor: pointer;
  border-radius: 4px;
  padding: 2px 8px;
  transition: background .15s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  background: var(--gray-300);
}
.cookie-category-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 18px 0 20px 0;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background: var(--gray-300);
  color: var(--gray-900);
  border-radius: 7px;
  padding: 12px 14px;
}
.cookie-category__desc { font-size: .97rem; }
.cookie-category-toggle {
  appearance: none;
  width: 38px;
  height: 21px;
  background: var(--gray-500);
  border-radius: 14px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background .14s;
}
.cookie-category-toggle:checked {
  background: var(--accent);
}
.cookie-category-toggle:before {
  content: '';
  position: absolute;
  top: 2.5px; left: 2.5px;
  width: 16px; height: 16px;
  background: var(--white);
  border-radius: 50%;
  transition: transform .14s;
}
.cookie-category-toggle:checked:before {
  transform: translateX(16px);
}
.cookie-category[data-essential="true"] .cookie-category-toggle {
  background: var(--gray-500) !important;
  cursor: not-allowed;
  opacity: 0.7;
}
.cookie-modal__actions {
  display: flex;
  flex-direction: row;
  gap: 11px;
  margin-top: 8px;
  align-items: center;
}

/* ===========================
   CUSTOM UTILITIES/SPACING
   =========================== */
.mt-8 { margin-top: 8px !important; }
.mt-16 { margin-top: 16px !important; }
.mb-16 { margin-bottom: 16px !important; }
.mb-32 { margin-bottom: 32px !important; }
.pb-0 { padding-bottom: 0 !important; }

/* ===========================
   RESPONSIVE DESIGN
   =========================== */
@media (max-width: 1240px) {
  .container { max-width: 96vw; }
}
@media (max-width: 1020px) {
  header .container, footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .footer-brand { align-items: flex-start; text-align: left; }
}
@media (max-width: 850px) {
  .service-list, .testimonial-slider {
    justify-content: flex-start;
    gap: 18px;
  }
  .footer-nav nav { flex-direction: column; gap: 8px; }
  .container { padding-left: 8px; padding-right: 8px; }
  .content-wrapper { gap: 16px; }
}
@media (max-width: 780px) {
  .service-list, .testimonial-slider {
    flex-direction: column;
    gap: 20px;
  }
  .service-card, .testimonial-card {
    max-width: 100%;
    min-width: 0;
  }
  section {
    padding: 28px 8px;
    margin-bottom: 36px;
  }
  .hero, .cta { padding: 28px 8px; }
  .footer-brand img { width: 32px; height: 32px; }
}
@media (max-width: 680px) {
  header .container {
    flex-direction: row;
    padding-top: 6px;
    padding-bottom: 6px;
    gap: 6px;
  }
  nav, .footer-nav nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .cta h1, .cta h2, .hero h1, .hero h2 {
    font-size: 1.45rem;
  }
  .features ul,
  .testimonial-slider,
  .service-list {
    flex-direction: column;
    gap: 16px;
  }
  .footer-brand p {
    font-size: .91rem;
    text-align: left;
  }
  .legal, section, .cta, .hero {
    border-radius: 10px;
    box-shadow: 0 0.8px 7px rgba(23,98,138,0.06);
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 14px 12px;
  }
  .cookie-banner__msg {
    font-size: .97rem;
    max-width: 95vw;
  }
  .cookie-banner__actions {
    flex-direction: column;
    gap: 9px;
    width: 100%;
  }
}
@media (max-width: 480px) {
  h1 { font-size: 1.2rem; }
  h2 { font-size: 1.03rem; }
  .cta-btn, .cookie-btn, .cookie-settings-btn {
    font-size: .95rem;
    padding: 9px 14px;
  }
  .content-wrapper {gap: 10px;}
  .mobile-nav { padding: 74px 8px 14px 18px; }
  .cookie-modal__dialog { padding: 18px 7px 14px 7px; }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .footer-nav nav {
    flex-direction: column;
    gap: 7px;
  }
}

/* =====================
   ACCESSIBILITY
   ===================== */
:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
[tabindex]:focus-visible {
  outline: 2px solid var(--accent);
}

/* End of style.css */
