/* ===================================================
   CSS RESET & BASE STYLES
   =================================================== */
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 {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}
body {
  background: #f9f8f6;
  font-family: 'Roboto', Arial, sans-serif;
  color: #2d2d2d;
  line-height: 1.6;
  font-size: 1rem;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
}
a {
  color: #22577A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #80B29A;
  text-decoration: underline;
}
ul, ol {
  margin-bottom: 1.2em;
  padding-left: 1.3em;
}
li {
  margin-bottom: 0.5em;
}
strong, b {
  font-weight: bold;
  color: #22577A;
}
h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #22577A;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.16;
}
h2 {
  font-size: 2rem;
  margin-top: 32px;
}
h3 {
  font-size: 1.35rem;
  font-weight: 600;
}
h4 {
  font-size: 1.15rem;
  font-weight: 500;
}
p {
  margin-bottom: 1em;
}

/* ===================================================
   CONTAINER & LAYOUT UTILS
   =================================================== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.content-wrapper {
  width: 100%;
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.text-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5em;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 3px 28px rgba(34,87,122,0.03), 0 1.5px 8px rgba(34,87,122,0.07);
}

/* ---------------------------------------------------
   FLEXBOX CARD & GRID UTILS (NO CSS GRID)
   --------------------------------------------------- */
.features-grid,
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}

.feature,
.service {
  flex: 1 1 270px;
  min-width: 250px;
  background: #f5f3f0;
  border-radius: 20px;
  padding: 28px 22px;
  margin-bottom: 20px;
  box-shadow: 0 6px 24px 0 rgba(128, 178, 154, 0.05);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: transform 0.16s, box-shadow 0.18s;
}
.feature:hover,
.service:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 32px 0 rgba(128, 178, 154, 0.14);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 12px 0 rgba(34,87,122,0.08);
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 26px;
  margin-bottom: 20px;
  background: #fff;
  border-left: 7px solid #22577A;
  border-radius: 20px;
  box-shadow: 0 3px 16px rgba(128, 178, 154, 0.07);
  transition: box-shadow 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 28px rgba(128, 178, 154, 0.17);
}
.testimonial-card p {
  font-size: 1.11rem;
  color: #2d2d2d;
  font-style: italic;
  margin-bottom: 0.5em;
}
.testimonial-meta {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #80B29A;
  font-weight: 600;
  font-size: 1rem;
}

/* ===================================================
   HEADER & NAVIGATION
   =================================================== */
header {
  background: #fff;
  box-shadow: 0 1px 8px rgba(34,87,122,0.04);
  padding: 0;
  position: relative;
  z-index: 1020;
}
header .container {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  padding-bottom: 8px;
  gap: 16px;
}
.logo img {
  height: 52px;
  width: auto;
  border-radius: 10px;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #22577A;
  padding: 7px 10px;
  border-radius: 10px;
  letter-spacing: 0.02em;
  transition: background 0.16s, color 0.16s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #80b29a17;
  color: #80B29A;
}
.main-nav .cta-button {
  background: #22577A;
  color: #fff !important;
  padding: 10px 24px;
  border-radius: 16px;
  font-weight: bold;
  box-shadow: 0 2px 10px 0 rgba(34,87,122,0.07);
  transition: background 0.14s, color 0.14s, box-shadow 0.16s;
}
.main-nav .cta-button:hover,
.main-nav .cta-button:focus {
  background: #80B29A;
  color: #22577A !important;
  box-shadow: 0 6px 18px rgba(128,178,154,.16);
}
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  background: none;
  border: none;
  color: #22577A;
  cursor: pointer;
  padding: 8px;
  border-radius: 12px;
  transition: background 0.18s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #f5f3f084;
}

/* ===================================================
   MOBILE NAVIGATION
   =================================================== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 340px;
  max-width: 92vw;
  height: 100vh;
  background: #fff;
  box-shadow: -6px 0 32px rgba(34,87,122,0.13);
  z-index: 2000;
  transform: translateX(100%);
  display: flex;
  flex-direction: column;
  transition: transform 0.33s cubic-bezier(.71,-0.10, .40, 1.40);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.1rem;
  margin: 20px 22px 0 0;
  background: none;
  border: none;
  color: #22577A;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 10px;
  transition: background 0.16s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #f5f3f0;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 32px 0 0 0;
  padding: 0 30px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #22577A;
  padding: 13px 8px;
  border-radius: 14px;
  background: none;
  transition: background 0.15s, color 0.12s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #80b29a18;
  color: #80B29A;
}
@media (max-width: 1024px) {
  .container {
    max-width: 95vw;
    padding: 0 10px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 12px;
  }
}
@media (max-width: 860px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* Overlay when mobile menu is open */
.mobile-menu.active-bg {
  background: #fff url('data:image/svg+xml;utf8,<svg width="100%25" height="100%25" fill="none" xmlns="http://www.w3.org/2000/svg"><rect width="100%25" height="100%25" fill="%23F5F3F0" fill-opacity="0.9"/></svg>') repeat;
}

/* ===================================================
   HERO SECTIONS
   =================================================== */
.hero {
  width: 100%;
  padding: 36px 0 32px 0;
  background: #f5f3f0;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
  box-shadow: 0 4px 28px rgba(128, 178, 154, 0.09);
  margin-bottom: 44px;
}
.hero h1 {
  color: #22577A;
  font-size: 2.3rem;
  margin-bottom: 14px;
}
.hero p {
  color: #2d2d2d;
  font-size: 1.18rem;
}
.hero .cta-button {
  margin-top: 30px;
}

/* ===================================================
   CTA BUTTONS, FORMS, MICRO-INTERACTIONS
   =================================================== */
.cta-button {
  display: inline-block;
  margin-top: 10px;
  font-family: 'Montserrat', Arial, sans-serif;
  background: #22577A;
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
  padding: 14px 30px;
  border-radius: 16px;
  border: none;
  box-shadow: 0 2px 16px 0 rgba(34,87,122,0.08);
  cursor: pointer;
  transition: background 0.18s, color 0.13s, box-shadow 0.15s, transform 0.13s;
}
.cta-button:hover,
.cta-button:focus {
  background: #80B29A;
  color: #22577A;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 28px 0 rgba(128,178,154,0.13);
  text-decoration: none;
}

/* ===================================================
   FORMS & CONTACT NOTE
   =================================================== */
.contact-note {
  background: #fdebd5;
  color: #22577A;
  font-size: 1.03rem;
  padding: 16px 18px;
  margin: 24px 0 0 0;
  border-radius: 12px;
  box-shadow: 0 1px 10px 0 rgba(245, 220, 195, 0.12);
}

/* ===================================================
   FOOTER
   =================================================== */
footer {
  background: #22577A;
  color: #fff;
  box-shadow: 0 -3px 18px rgba(34,87,122,0.07);
  padding-top: 32px;
  padding-bottom: 24px;
  border-top-left-radius: 38px;
  border-top-right-radius: 38px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 24px;
  justify-content: space-between;
}
.footer-logo img {
  height: 48px;
  width: auto;
  background: #f5f3f0;
  border-radius: 14px;
  padding: 5px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 22px;
}
.footer-nav a {
  color: #f5f3f0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  text-decoration: none;
  transition: color 0.15s;
  padding: 4px 2px;
  border-radius: 8px;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #ffe5bd;
  text-decoration: underline;
}
.footer-contact {
  font-size: 0.98rem;
  word-break: break-word;
  color: #ffefdf;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-contact a {
  color: #ffe5bd;
}

/* ===================================================
   COOKIE CONSENT BANNER 
   =================================================== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 3500;
  background: #fffde6;
  color: #22577A;
  box-shadow: 0 -6px 33px rgba(34,87,122,0.07);
  padding: 22px 12px 20px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  animation: cookie-slide-in 0.33s cubic-bezier(.71,-0.10, .40, 1.40);
}
@keyframes cookie-slide-in {
  0% {transform: translateY(110%);}
  100% {transform: translateY(0);}
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 7px;
}
.cookie-btn,
.cookie-settings-btn {
  padding: 10px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  border-radius: 14px;
  font-weight: 600;
  font-size: 1.08rem;
  cursor: pointer;
  transition: background 0.16s, color 0.11s, box-shadow 0.16s;
}
.cookie-btn.accept {
  background: #22577A;
  color: #fff;
}
.cookie-btn.accept:hover,
.cookie-btn.accept:focus {
  background: #80B29A;
  color: #22577A;
}
.cookie-btn.reject {
  background: #fff2df;
  color: #b56c00;
  border: 2px solid #fdebd5;
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus {
  background: #fdebd5;
}
.cookie-settings-btn {
  background: #80B29A;
  color: #fff;
}
.cookie-settings-btn:hover,
.cookie-settings-btn:focus {
  background: #22577A;
  color: #fffde6;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 3900;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(34,87,122,0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.27s;
}
@keyframes fadeIn {
  0% {opacity:0;}
  100% {opacity:1;}
}
.cookie-modal {
  background: #fff;
  padding: 34px 26px 24px 26px;
  border-radius: 22px;
  box-shadow: 0 9px 64px rgba(34,87,122,0.13);
  min-width: 320px;
  max-width: 96vw;
  color: #22577A;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal h2 {
  font-size: 1.32rem;
  margin-bottom: 8px;
  color: #22577A;
}
.cookie-modal .cookie-cats {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-cat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 8px 0;
  border-bottom: 1px dashed #80B29A33;
}
.cookie-cat-row:last-child {
  border-bottom: none;
}
.cookie-cat-desc {
  color: #22577A;
  font-size: 1.05rem;
}
.cookie-switch {
  background: #fdebd5;
  border-radius: 18px;
  width: 44px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 4px;
  cursor: pointer;
  position: relative;
  transition: background 0.18s;
}
.cookie-switch input {
  display: none;
}
.cookie-switch span {
  display: block;
  height: 18px;
  width: 18px;
  background: #80B29A;
  border-radius: 50%;
  transition: transform 0.18s, background 0.13s;
  position: absolute;
  left: 4px;
  top: 4px;
}
.cookie-switch.checked {
  background: #80B29A22;
}
.cookie-switch.checked span {
  transform: translateX(16px);
  background: #22577A;
}
.cookie-switch.disabled {
  background: #e0e4e7;
  opacity: 0.67;
  cursor: not-allowed;
}

/* Modal close btn */
.cookie-modal-close {
  position: absolute;
  right: 20px;
  top: 10px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #80B29A;
  cursor: pointer;
  transition: color 0.15s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  color: #22577A;
}

/* ===================================================
   SPACING, ALIGNMENT, HELPER CLASSES SPECIFIC
   =================================================== */
.next-steps {
  margin-top: 18px;
  margin-bottom: 16px;
  background: #f5f3f0;
  padding: 28px 18px;
  border-radius: 16px;
  color: #22577A;
  font-size: 1.05rem;
  box-shadow: 0 2px 16px 0 rgba(128,178,154,0.07);
}
.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;
}

/* ===================================================
   RESPONSIVENESS – MOBILE FIRST
   =================================================== */
@media (max-width: 1160px) {
  .features-grid, .service-list, .content-grid { gap: 18px; }
}
@media (max-width: 860px) {
  .footer-nav { flex-direction: row; gap: 18px; margin: 0; flex-wrap: wrap; }
  .footer-logo, .footer-contact { flex: 1 1 100%; }
  .container { padding: 0 10px; }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.45rem; }
  .hero { padding: 26px 0 20px 0; border-bottom-left-radius: 18px; border-bottom-right-radius: 18px; }
  .features-grid, .service-list, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .feature, .service {
    min-width: 0;
    width: 100%;
    padding: 22px 14px;
  }
  .footer-nav { margin: 0; gap: 13px; flex-wrap: wrap; }
  footer .container { gap: 14px; }
  .testimonial-card { padding: 18px 12px; }
  .section { padding: 30px 6px; margin-bottom: 36px; }
  .next-steps { padding: 18px 8px; }
}
@media (max-width: 500px) {
  .container { max-width: 100vw; padding: 0 3vw; }
  .hero { padding: 16px 0; font-size: 0.96rem; }
  h1 { font-size: 1.22rem; }
}

@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 20px; }
}

/* ===================================================
   SCROLLBAR – SOFT
   =================================================== */
html {
  scrollbar-color: #80B29A #f5f3f0;
  scrollbar-width: thin;
}
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #f5f3f0;
  border-radius: 20px;
}
::-webkit-scrollbar-thumb {
  background: #d5ede3;
  border-radius: 20px;
}
::-webkit-scrollbar-thumb:hover {
  background: #80B29A;
}

/* ===================================================
   SHADOWS & MICRO-INTERACTIONS
   =================================================== */
.feature, .service, .testimonial-card, .card {
  transition: box-shadow 0.19s, transform 0.15s;
}
.feature:active, .service:active, .testimonial-card:active {
  transform: scale(0.99);
  box-shadow: 0 2px 5px rgba(128,178,154,0.08);
}

.cta-button:active { transform: scale(0.98); }

/* ===================================================
   MISC & TYPOGRAPHY IMPROVEMENTS
   =================================================== */
input, button, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  border-radius: 10px;
  border: 1px solid #e7e6e1;
  padding: 10px;
  outline: none;
  transition: border 0.15s;
}
input:focus, button:focus, select:focus, textarea:focus {
  border-color: #80B29A;
}
table { border-collapse: collapse; width: 100%; }
th, td { padding: 8px 12px; border-bottom: 1px solid #eee; }

hr {
  border: none;
  border-bottom: 1.5px dashed #e7e6e1;
  margin: 32px 0;
}

/* ===================================================
   PRINT OVERRIDE
   =================================================== */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  body { background: #fff; color: #222; }
}
