/* === 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, 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;
  vertical-align: baseline;
  font-size: 100%;
  background: transparent;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  background: #F4EBD0;
  color: #253249;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
}
a {
  color: #77A176;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #253249;
}
ul, ol {
  margin-left: 1.3em;
}
strong, b {
  font-weight: 700;
}
button, .cta-btn {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  outline: none;
  border: none;
  cursor: pointer;
}

/* ============= BRAND TYPOGRAPHY ============= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #253249;
  font-weight: 700;
  letter-spacing: -.5px;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 8px;
}
p {
  margin-bottom: 16px;
}

@media (max-width: 480px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.2rem; }
  h3 { font-size: 1.05rem; }
}

.text-section {
  max-width: 650px;
  margin: 0 auto;
  text-align: center;
}
.text-section p {
  margin-bottom: 20px;
}

/* ========== CONTAINER SYSTEM ========== */
.container {
  width: 100%;
  max-width: 1164px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  margin: 0 auto;
  width: 100%;
}

/* ============ HEADER & NAV ============ */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 4px 12px rgba(37, 50, 73, 0.05);
  border-radius: 0 0 20px 20px;
  padding-top: 16px;
  padding-bottom: 16px;
  transition: box-shadow 0.2s;
  z-index: 1001;
  position: relative;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
}
header img {
  height: 48px;
  border-radius: 0;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #253249;
  padding: 7px 14px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 1rem;
  transition: background .2s, color .2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F4EBD0;
  color: #77A176;
}
.cta-btn {
  display: inline-block;
  background-color: #77A176;
  color: #fff;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 11px 28px;
  border-radius: 36px;
  box-shadow: 0 2px 12px rgba(119, 161, 118, 0.07);
  transition: background .22s, box-shadow .22s, transform .11s;
  border: 2px solid #77A176;
  text-align: center;
}
.cta-btn:hover, .cta-btn:focus {
  background: #253249;
  color: #F4EBD0;
  border: 2px solid #253249;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 22px rgba(37,50,73,0.13);
}

@media (max-width: 1080px) {
  .main-nav {
    gap: 14px;
  }
}

/* Hide normal nav & show burger on mobile */
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .cta-btn {
    display: none;
  }
}

/* ============ MOBILE MENU ============ */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 22px;
  right: 22px;
  width: 50px;
  height: 50px;
  background: #253249;
  color: #fff;
  border-radius: 50%;
  border: none;
  font-size: 2rem;
  z-index: 2001;
  box-shadow: 0 8px 22px rgba(37, 50, 73, 0.13);
  justify-content: center;
  align-items: center;
  transition: background 0.18s, box-shadow 0.18s, transform 0.12s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #77A176;
  outline: none;
  transform: scale(0.95);
}

@media (max-width: 900px) {
  .mobile-menu-toggle {
    display: flex;
  }
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #253249;
  color: #fff;
  z-index: 3000;
  transform: translateX(-100vw);
  transition: transform 0.34s cubic-bezier(.52,.07,.59,.99);
  box-shadow: 0 0 24px 0 rgba(37,50,73,0.28);
  display: flex;
  flex-direction: column;
  padding-top: 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu button.mobile-menu-close {
  position: absolute;
  top: 22px;
  right: 28px;
  color: #F4EBD0;
  background: none;
  border: none;
  font-size: 2.2rem;
  z-index: 4000;
  cursor: pointer;
  border-radius: 50%;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.17s;
}
.mobile-menu button.mobile-menu-close:focus, .mobile-menu button.mobile-menu-close:hover {
  background: rgba(119, 161, 118, 0.16);
}
.mobile-nav {
  padding-top: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100vw;
  text-align: center;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #F4EBD0;
  padding: 13px 32px;
  border-radius: 18px;
  display: block;
  transition: background .18s, color .16s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #77A176;
  color: #fff;
}
@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ============== MAIN LAYOUTS ============== */
main {
  min-height: 60vh;
  padding-bottom: 60px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 6px 28px rgba(119, 161, 118, 0.055), 0 2px 10px rgba(37, 50, 73, 0.08);
  transition: box-shadow .22s;
}
section:last-child {
  margin-bottom: 0;
}
@media (max-width: 650px) {
  section {
    padding: 22px 8px;
    border-radius: 16px;
    margin-bottom: 40px;
  }
}

/* ============= FLEXCARD CONTAINERS ============ */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(119, 161, 118, 0.082);
  padding: 28px 18px;
  position: relative;
  transition: box-shadow .14s, transform .14s;
  flex: 1 1 300px;
  min-width: 220px;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.card:hover, .card:focus {
  box-shadow: 0 10px 34px rgba(37,50,73,0.13);
  transform: translateY(-3px) scale(1.023);
}

.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) {
  .content-grid,
  .card-container,
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
}

/* ============= FEATURE & SERVICE GRIDS ============ */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  justify-content: space-between;
}
.feature-grid > div {
  background: #F4EBD0;
  border-radius: 18px;
  padding: 24px 18px;
  flex: 1 1 230px;
  min-width: 200px;
  max-width: 340px;
  box-shadow: 0 2px 6px rgba(119, 161, 118, 0.072);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow .13s, transform .11s;
  margin-bottom: 20px;
}
.feature-grid > div img {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  background: #fff;
  border-radius: 11px;
  box-shadow: 0 2px 6px rgba(37,50,73,0.07);
}
.feature-grid > div:hover, .feature-grid > div:focus {
  box-shadow: 0 6px 28px rgba(119, 161, 118, 0.18);
  transform: translateY(-3px) scale(1.01);
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: space-between;
  margin-bottom: 18px;
}
.service-list > div {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(37, 50, 73, 0.07);
  padding: 22px 16px;
  flex: 1 1 220px;
  min-width: 180px;
  max-width: 310px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  transition: box-shadow .16s, transform .16s;
}
.service-list > div:hover, .service-list > div:focus {
  box-shadow: 0 8px 26px rgba(119, 161, 118, 0.12);
  transform: translateY(-2px) scale(1.014);
}
.service-list a {
  color: #77A176;
  font-weight: 600;
  margin-top: 4px;
  font-size: 1rem;
  transition: color .13s;
}
.service-list a:hover, .service-list a:focus {
  color: #253249;
}

@media (max-width: 768px) {
  .feature-grid, .service-list {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .feature-grid > div, .service-list > div {
    max-width: 100%;
  }
}

.guide-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
}
.guide-list li {
  background: #F4EBD0;
  border-radius: 12px;
  padding: 22px 18px;
  box-shadow: 0 1px 4px rgba(119, 161, 118, 0.03);
  margin-bottom: 0;
  list-style: none;
}
.guide-list li a {
  display: inline-block;
  color: #77A176;
  font-weight: 600;
  font-size: 1rem;
  margin-top: 7px;
}
.guide-list li a:hover {
  color: #253249;
}

/* ============= TESTIMONIALS & CARDS ============ */
.testimonial-slider,
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 18px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(37,50,73,0.09), 0 6px 24px rgba(119,161,118,0.05);
  padding: 20px;
  border-radius: 16px;
  color: #253249;
  transition: box-shadow .16s, transform .14s;
  min-width: 230px;
  max-width: 380px;
  flex: 1 1 210px;
  margin-bottom: 0;
  font-size: 1.05rem;
}
.testimonial-card strong {
  margin-left: 0;
  display: block;
  margin-top: 6px;
  color: #77A176;
  font-weight: 600;
  font-size: 1rem;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 8px 32px rgba(119, 161, 118, 0.16);
  transform: scale(1.022);
}

@media (max-width: 900px) {
  .testimonial-slider, .testimonial-list {
    flex-direction: column;
    gap: 14px;
  }
}

blockquote {
  background: #fff;
  color: #253249;
  border-left: 5px solid #77A176;
  margin: 18px 0;
  padding: 20px 24px 20px 19px;
  border-radius: 16px;
  font-size: 1.13rem;
  box-shadow: 0 2px 12px rgba(119,161,118,0.07);
}

/* ================ FOOTER ================ */
footer {
  background: #253249;
  color: #F4EBD0;
  padding-top: 32px;
  padding-bottom: 22px;
  margin-top: 32px;
  border-radius: 22px 22px 0 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  justify-content: flex-start;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 6px;
}
.footer-nav a {
  color: #F4EBD0;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: color .14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #77A176;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  font-size: 1rem;
}
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 0;
}
.footer-contact img {
  width: 19px;
  height: 19px;
  margin-bottom: -2px;
  margin-right: 4px;
  border-radius: 0;
}
footer p {
  margin: 0;
  font-size: .98rem;
  color: #F4EBD0;
}
@media (max-width: 900px) {
  footer .container, .footer-contact, .footer-nav {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
}

/* ========== COOKIE BANNER & MODAL ========== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fffbea;
  color: #253249;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 5000;
  box-shadow: 0 -2px 22px rgba(37, 50, 73, 0.06);
  font-size: 1rem;
  border-radius: 16px 16px 0 0;
  animation: slideUpBanner .6s cubic-bezier(.73,.23,.37,.82) 1;
  gap: 18px;
}
.cookie-banner > p {
  margin-bottom: 0;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 5px;
}
.cookie-btn {
  background: #77A176;
  color: #fff;
  padding: 9px 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 40px;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  margin-right: 4px;
  transition: background .15s, color .13s, transform .12s;
  box-shadow: 0 2px 6px rgba(119,161,118,0.09);
}
.cookie-btn.settings {
  background: #F4EBD0;
  color: #77A176;
  border: 2px solid #77A176;
}
.cookie-btn.reject {
  background: #253249;
  color: #fff;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #253249;
  color: #F4EBD0;
  transform: translateY(-2px) scale(1.02);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #77A176;
  color: #fff;
}

@keyframes slideUpBanner {
  0% { transform: translateY(100%); opacity: 0; }
  92% { opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}

/* ----- COOKIE MODAL ----- */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(37, 50, 73, 0.45);
  z-index: 6000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  animation: fadeInModal .35s;
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 22px;
  padding: 32px 28px 28px 28px;
  box-shadow: 0 6px 40px rgba(37,50,73,0.18);
  color: #253249;
  min-width: 320px;
  max-width: 95vw;
  max-height: 90vh;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  animation: popInModal .33s cubic-bezier(.69,.14,.36,.93);
  gap: 19px;
}
@keyframes popInModal {
  0% { transform: scale(0.7); opacity:0; }
  100% { transform: scale(1); opacity:1; }
}
.cookie-modal h2 {
  font-size: 1.32rem;
  margin-bottom: 8px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
}
.cookie-checkbox {
  accent-color: #77A176;
  width: 22px; height: 22px;
  border-radius: 7px;
}
.cookie-checkbox[disabled] {
  filter: grayscale(0.7);
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 20px;
  color: #77A176;
  background: none;
  border: none;
  font-size: 2.2rem;
  cursor: pointer;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.17s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #F4EBD0;
}
@media (max-width: 520px) {
  .cookie-modal {
    padding: 18px 7px;
    min-width: unset;
    font-size: .98rem;
  }
}

/* ========== UTILITY CLASSES =========== */
.text-center {
  text-align: center;
}
.rounded {
  border-radius: 20px;
}
.shadow {
  box-shadow: 0 4px 24px rgba(37,50,73,0.15);
}
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mt-2 { margin-top: 16px; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.gap-4 { gap: 32px; }

/* ============= FORM (CONTACT PAGE) ============= */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.5;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1.5px solid #77A176;
  margin-bottom: 18px;
  background: #fff;
  color: #253249;
  box-shadow: 0 1.5px 7px rgba(119, 161, 118, 0.065);
  transition: border-color 0.16s, box-shadow 0.16s;
}
input:focus, textarea:focus, select:focus {
  border-color: #253249;
  outline: none;
  box-shadow: 0 2px 16px rgba(37,50,73,0.13);
}
label {
  display: block;
  margin-bottom: 7px;
  font-weight: 500;
  color: #253249;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}

/* ============= RESPONSIVENESS ============= */
@media (max-width: 650px) {
  .container {
    padding: 0 6px;
  }
  section {
    margin-bottom: 24px;
  }
  .feature-grid > div, .service-list > div {
    padding: 16px 7px;
  }
  .card {
    padding: 18px 8px;
    min-width: 75vw;
    box-shadow: 0 1.5px 6px rgba(119,161,118,0.062);
  }
}

@media (max-width: 410px) {
  .testimonial-card, .feature-grid > div, .service-list > div {
    padding: 11px 5px;
    min-width: unset;
    max-width: 99vw;
  }
  .cookie-modal {
    min-width: unset;
    padding: 9px 3px;
  }
}


/* ==== FOCUS & INTERACTIVE ENHANCEMENTS ==== */
a:focus, button:focus, .cta-btn:focus {
  outline: 2.5px solid #F4EBD0;
  outline-offset: 2.5px;
}

/* ==== Micro Animations for CTA and Card Hover ==== */
.cta-btn, .cookie-banner .cookie-btn, .card, .testimonial-card, .feature-grid > div, .service-list > div {
  transition-property: background, color, box-shadow, transform;
  transition-duration: .17s;
  transition-timing-function: cubic-bezier(.5,.11,.44,.95);
}

/* ========== OVERRIDE FOR DARK TEXT ON TESTIMONIALS ========== */
.testimonial-card, .testimonial-list, .testimonial-slider {
  color: #253249;
  background: #fff;
}

/* ========== MISC (GENERAL LAYOUT/CONSISTENCY) ========== */
::-webkit-input-placeholder { color: #b4b4b4; }
::-moz-placeholder { color: #b4b4b4; }
:-ms-input-placeholder { color: #b4b4b4; }
::placeholder { color: #b4b4b4; }

/* --- No grid or columns are used in this CSS. Flexbox only! --- */
