/* ---------------------------------------------------------------
   CSS RESET & NORMALIZATION
--------------------------------------------------------------- */
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 {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  background: #F7F6F0;
  color: #264653;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol { padding-left: 1.5em; }
a {
  color: #264653;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus, a:hover {
  color: #8AB17D;
  outline: none;
}
button, input, textarea, select {
  font: inherit;
  border: none;
  background: none;
  outline: none;
}
button {
  cursor: pointer;
  background: none;
  border: none;
}

/* ---------------------------------------------------------------
   TYPOGRAPHY & BRAND FONTS
--------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;600;500&family=Roboto:wght@400;500;700&display=swap');
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: #264653;
  line-height: 1.15;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #264653;
  line-height: 1.2;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 16px;
  color: #264653;
  line-height: 1.25;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #264653;
  font-weight: 500;
}
p, ul, ol, li, blockquote, cite, span {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #264653;
  line-height: 1.7;
}
blockquote {
  font-style: italic;
  border-left: 4px solid #8AB17D;
  padding-left: 16px;
  margin-bottom: 12px;
  color: #264653;
}
cite, .testimonial-meta {
  display: block;
  font-size: 1rem;
  margin-top: 8px;
  color: #264653;
  font-style: normal;
}
strong { font-weight: 700; }

/* ---------------------------------------------------------------
   CONTAINER & SECTIONS
--------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ---------------------------------------------------------------
   HEADER & NAVIGATION (DESKTOP & MOBILE)
--------------------------------------------------------------- */
header {
  background: #fff;
  border-bottom: 1px solid #E5E7EB;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 999;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 82px;
  gap: 32px;
}
header img {
  height: 50px;
  width: auto;
  margin-right: 18px;
}
header nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #264653;
  padding: 6px 4px;
  border-radius: 4px;
  transition: background 0.16s, color 0.16s;
}
header nav a:hover, header nav a:focus {
  background: #F7F6F0;
  color: #8AB17D;
}
.btn-primary {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  background: #264653;
  color: #fff;
  padding: 12px 32px;
  border-radius: 29px;
  font-weight: 600;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 8px rgba(33, 52, 62, 0.06);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.13s;
}
.btn-primary:hover, .btn-primary:focus {
  background: #8AB17D;
  color: #264653;
  box-shadow: 0 4px 16px rgba(33, 52, 62, 0.12);
  transform: translateY(-2px) scale(1.025);
}
.btn-secondary {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  background: #8AB17D;
  color: #264653;
  padding: 12px 28px;
  border-radius: 29px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 2px solid #8AB17D;
  transition: background 0.16s, color 0.16s, border-color 0.18s, transform 0.13s;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #264653;
  color: #fff;
  border-color: #264653;
  transform: translateY(-2px) scale(1.02);
}

/* --- Burger menu button --- */
.mobile-menu-toggle {
  display: none;
  background: none;
  font-size: 2.1rem;
  color: #264653;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.14s, color 0.13s;
  margin-left: 14px;
  z-index: 1101;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #E7EFF7;
  color: #8AB17D;
}
/* --- Mobile menu overlay --- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 1200;
  transform: translateX(-100vw);
  transition: transform 0.38s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 24px 24px 32px;
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: 0 2px 16px rgba(33,52,62,0.13);
}
.mobile-menu-close {
  font-size: 2.3rem;
  color: #264653;
  background: none;
  border: none;
  align-self: flex-end;
  margin-bottom: 22px;
  padding: 6px 13px;
  border-radius: 5px;
  transition: background 0.16s, color 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #E7EFF7;
  color: #8AB17D;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: #264653;
  padding: 10px 0;
  border-bottom: 1px solid #E5E7EB;
  border-radius: 0;
  transition: background 0.13s, color 0.13s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F7F6F0;
  color: #8AB17D;
}

/* ---------------------------------------------------------------
   HERO SECTION & CTAs
--------------------------------------------------------------- */
.hero-section {
  background: #E7EFF7;
  padding: 64px 0 64px 0;
  border-bottom: 1px solid #dde8ef;
}
.hero-section .content-wrapper {
  align-items: flex-start;
  gap: 28px;
  max-width: 800px;
  margin: 0 auto;
}
.hero-subheadline {
  font-size: 1.2rem;
  margin-bottom: 18px;
  color: #3A4C59;
}
.cta-section, .cta-embedded-section, .submit-testimonial-section, .thankyou-section {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 16px rgba(38,70,83,0.07);
  text-align: center;
  margin-bottom: 60px;
  padding: 48px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cta-section h2, .cta-embedded-section h2 { margin-bottom: 12px; }
.cta-section p, .cta-embedded-section p { margin-bottom: 28px; }

/* ---------------------------------------------------------------
   FEATURE, SERVICE & TIP GRIDS (FLEX ONLY)
--------------------------------------------------------------- */
.feature-grid, .service-grid, .team-grid, .tips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.feature-item, .service-item, .team-member, .tip-item {
  background: #fff;
  box-shadow: 0 2px 14px 0 rgba(38,70,83,0.10);
  border-radius: 18px;
  padding: 28px 22px;
  flex: 1 1 250px;
  min-width: 230px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.19s, transform 0.14s;
  position: relative;
  margin-bottom: 20px;
}
.feature-item:hover, .service-item:hover, .tip-item:hover, .team-member:hover {
  box-shadow: 0 4px 22px rgba(38,70,83,0.14);
  transform: translateY(-4px) scale(1.02);
}
.feature-item img, .service-item img, .tip-item img {
  height: 54px;
  width: 54px;
  margin-bottom: 8px;
}
.team-member h3 {
  font-size: 1.23rem;
  margin-bottom: 2px;
}

/* ---------------------------------------------------------------
   CARD/LIST & FLEX CONTENT LAYOUT
--------------------------------------------------------------- */
.card-container, .content-grid, .faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 260px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 8px rgba(38,70,83,0.09);
  padding: 20px;
}
.faq-list {
  flex-direction: column;
  gap: 18px;
  margin-top: 18px;
}
.faq-list li {
  background: #E7EFF7;
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 6px;
  color: #264653;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.faq-list li strong {
  color: #264653;
  font-weight: 600;
}

/* ---------------------------------------------------------------
   TESTIMONIALS
--------------------------------------------------------------- */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #E7EFF7;
  border: 1px solid #b4bcc2;
  border-radius: 16px;
  padding: 20px 26px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px 0 rgba(38,70,83,0.08);
  max-width: 560px;
  color: #264653;
}
.testimonials-section .testimonial-card {
  background: #F7F6F0;
  border: 1px solid #d2d6da;
}
.testimonial-card blockquote {
  color: #264653;
  line-height: 1.6;
  font-size: 1.09rem;
}
.testimonial-meta {
  color: #324359;
  font-size: 1rem;
  font-style: normal;
  margin-top: 2px;
}

/* ---------------------------------------------------------------
   VALUE PROP & INFO CARDS
--------------------------------------------------------------- */
.value-prop {
  background: #E7EFF7;
  border-left: 4px solid #8AB17D;
  border-radius: 10px;
  padding: 18px 20px;
  margin-top: 18px;
  color: #264653;
  font-size: 1.1rem;
  box-shadow: 0 1px 6px 0 rgba(38,70,83,0.05);
}

/* ---------------------------------------------------------------
   LEGAL SECTION
--------------------------------------------------------------- */
.legal-section {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 14px 0 rgba(38,70,83,0.10);
  padding: 52px 16px 42px 16px;
}
.legal-section h1, .legal-section h2 {
  color: #264653;
}

/* ---------------------------------------------------------------
   CONTACT SECTION
--------------------------------------------------------------- */
.contact-section .company-details {
  margin: 18px 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.company-details img {
  height: 19px;
  width: 19px;
  vertical-align: middle;
  margin-right: 7px;
}
.map {
  margin: 14px 0 18px 0;
  background: #E7EFF7;
  border: 1px solid #c7dbe7;
  border-radius: 11px;
  padding: 17px;
  font-size: 1rem;
  color: #264653;
}

/* ---------------------------------------------------------------
   FOOTER STYLES
--------------------------------------------------------------- */
footer {
  background: #264653;
  color: #F7F6F0;
  padding: 38px 0 22px 0;
}
footer span {
  color: white;
}
footer .container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
footer nav a {
  color: #F7F6F0;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  opacity: 0.96;
  transition: color 0.16s;
}
footer nav a:hover, footer nav a:focus {
  color: #8AB17D;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 1rem;
  margin-bottom: 14px;
}
.footer-contact img {
  height: 18px;
  width: 18px;
  margin-right: 7px;
  vertical-align: middle;
}
.footer-meta {
  font-size: 0.95rem;
  color: #b1c1ca;
  margin-top: 16px;
}

/* ---------------------------------------------------------------
   COOKIE CONSENT BANNER & MODAL
--------------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #264653;
  color: #F7F6F0;
  padding: 18px 16px 18px 16px;
  box-shadow: 0 -2px 18px rgba(38,70,83,0.13);
  z-index: 2000;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 1rem;
  transition: transform 0.38s cubic-bezier(.68,.01,.18,1);
  transform: translateY(0);
}
.cookie-banner span {color: white;}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-left: 18px;
}
.cookie-btn {
  padding: 8px 22px;
  border-radius: 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  border: 2px solid #8AB17D;
  background: #fff;
  color: #264653;
  transition: background 0.15s, color 0.15s, border 0.15s;
  margin-right: 8px;
}
.cookie-btn:last-child { margin-right: 0; }
.cookie-btn.accept {
  background: #8AB17D;
  color: #264653;
  border-color: #8AB17D;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #264653;
  color: #fff;
  border-color: #264653;
}
.cookie-btn.reject {
  background: #fff;
  color: #264653;
  border-color: #b4bcc2;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #e5e7eb;
  color: #324359;
  border-color: #8AB17D;
}
.cookie-btn.settings {
  background: transparent;
  color: #8AB17D;
  border-color: #8AB17D;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #8AB17D;
  color: #264653;
}
/* --- Cookie modal popup --- */
.cookie-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  min-width: 320px;
  max-width: 95vw;
  background: #fff;
  color: #264653;
  border-radius: 18px;
  box-shadow: 0 4px 48px rgba(38,70,83,0.25);
  z-index: 3000;
  padding: 32px 24px;
  transform: translate(-50%,-50%) scale(1);
  visibility: visible;
  opacity: 1;
  transition: opacity 0.25s, visibility 0.25s, transform 0.2s;
}
.cookie-modal.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%,-48%) scale(0.97);
}
.cookie-modal .modal-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.41rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.cookie-modal .category-list {
  margin: 12px 0 16px 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-modal .category-list label {
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  color: #264653;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-modal .category-list input[type='checkbox'] {
  appearance: none;
  width: 24px;
  height: 24px;
  border: 2px solid #8AB17D;
  border-radius: 6px;
  margin: 0 8px 0 0;
  position: relative;
}
.cookie-modal .category-list input[type='checkbox']:checked {
  background: #8AB17D;
  border-color: #8AB17D;
}
.cookie-modal .category-list input[type='checkbox']:checked:after {
  content: '';
  display: block;
  position: absolute;
  left: 7px;
  top: 3px;
  width: 6px;
  height: 12px;
  border: solid #fff;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}
.cookie-modal .cookie-btn {
  margin-right: 0;
  min-width: 120px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 16px;
  right: 19px;
  font-size: 2rem;
  color: #264653;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px 12px;
  border-radius: 5px;
  transition: background 0.15s, color 0.13s;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  background: #E7EFF7;
  color: #8AB17D;
}

/* ---------------------------------------------------------------
   MEDIA QUERIES – MOBILE FIRST
--------------------------------------------------------------- */
@media (max-width: 1120px) {
  .container { max-width: 980px; }
}
@media (max-width: 900px) {
  .container { max-width: 800px; }
  header .container { gap: 14px; }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  .container {
    max-width: 100vw;
    padding: 0 8px;
  }
  header .container {
    flex-direction: row;
    height: 66px;
    gap: 5px;
  }
  header nav {
    display: none;
  }
  .btn-primary {
    padding: 10px 17px;
    font-size: 1rem;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero-section, .cta-section, .cta-embedded-section, .about-preview-section, .thankyou-section, .legal-section {
    padding: 32px 4px;
  }
  .feature-grid, .service-grid, .team-grid, .tips-grid  {
    flex-direction: column;
    gap: 18px;
  }
  .feature-item, .service-item, .team-member, .tip-item {
    min-width: 0;
    max-width: 100%;
    padding: 20px 13px;
  }
  .card-container, .content-grid, .faq-list {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    max-width: 100%;
    padding: 18px 11px;
  }
  .cta-section, .cta-embedded-section, .thankyou-section, .submit-testimonial-section {
    padding: 34px 8px;
  }
  .section, section {
    margin-bottom: 36px;
    padding: 28px 8px;
  }
  .footer-contact {
    font-size: 0.98rem;
  }
  footer .container {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
}
@media (max-width: 540px) {
  h1, .h1 { font-size: 1.6rem; }
  h2, .h2 { font-size: 1.15rem; }
  .feature-item img, .service-item img, .tip-item img { height: 40px; width: 40px; }
  .cookie-modal { padding: 19px 8px; min-width: 0; }
}

/* ---------------------------------------------------------------
   UTILITY CLASSES & ACCESSIBILITY
--------------------------------------------------------------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
}

/* ---------------------------------------------------------------
   SPACING & FLEX ALIGNMENT (MANDATORY PATTERNS - DO NOT REMOVE)
--------------------------------------------------------------- */
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}
