/* ===================================================================
  CSS RESET & BASE STYLES
=================================================================== */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #215156;
  background: linear-gradient(135deg, #faf7f0 50%, #a3c6b0 100%);
  min-height: 100vh;
  line-height: 1.6;
  font-size: 1rem;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #215156;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #a3c6b0;
  outline-offset: 2px;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 0.5em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  color: #215156;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
  line-height: 1.2;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.75rem;
}
h3 {
  font-size: 1.25rem;
}
.subheadline {
  font-size: 1.25rem;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #215156;
  margin-bottom: 24px;
}
p {
  margin-bottom: 16px;
}
strong {
  font-weight: 700;
}
span.price {
  font-weight: bold;
  color: #215156;
}

/* ===================================================================
  CONTAINER & SPACING
=================================================================== */
.container {
  max-width: 1152px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  background: none;
  border-radius: 18px;
}

/* ===================================================================
  HEADER & NAVIGATION
=================================================================== */
header {
  background: #faf7f0;
  border-bottom: 1px solid #e1e1dc;
  z-index: 20;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 80px;
}
header a img {
  height: 40px;
  width: auto;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  padding: 3px 0;
  color: #215156;
  opacity: 0.92;
  position: relative;
  transition: color 0.2s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #a3c6b0;
}
.btn-primary {
  border: none;
  background: linear-gradient(85deg, #215156 60%, #a3c6b0 100%);
  color: #faf7f0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 30px;
  padding: 12px 30px;
  line-height: 1.2;
  box-shadow: 0 2px 12px 0 rgba(33,81,86,0.08);
  margin-left: 8px;
  cursor: pointer;
  transition: transform 0.16s cubic-bezier(.64,0,.35,1), box-shadow 0.2s, background 0.2s;
  outline: none;
}
.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(85deg, #19504f 70%, #87b69d 100%);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 24px 0 rgba(33,81,86,0.14);
}
.btn-secondary {
  border: 2px solid #215156;
  background: #faf7f0;
  color: #215156;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  border-radius: 30px;
  padding: 10px 24px;
  font-size: 1rem;
  margin-right: 12px;
  transition: background 0.18s, color 0.18s, border 0.18s;
  cursor: pointer;
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: #a3c6b0;
  color: #215156;
  border-color: #a3c6b0;
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #215156;
  font-size: 2rem;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.2s color 0.2s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #a3c6b0;
  color: #faf7f0;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(33, 81, 86, 0.98);
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.75,0,.21,1);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
  opacity: 1;
}
.mobile-menu-close {
  display: block;
  margin: 24px 24px 12px 0;
  background: none;
  border: none;
  color: #faf7f0;
  font-size: 2.2rem;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: #a3c6b0;
  color: #215156;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-end;
  margin-right: 28px;
  margin-top: 12vh;
  width: 80vw;
  max-width: 320px;
}
.mobile-nav a {
  color: #faf7f0;
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 12px 0;
  border-radius: 5px;
  background: none;
  transition: background 0.19s, color 0.19s;
  width: 100%;
  text-align: right;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #a3c6b0;
  color: #215156;
}
@media (max-width: 1024px) {
  header .main-nav,
  header .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ===================================================================
  SECTION LAYOUTS & FLEX SPACING
=================================================================== */
.features-grid, .services-list, .card-container, .card-grid, .content-grid, .testimonials-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
  width: 100%;
  margin-bottom: 20px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  width: 100%;
}
@media (max-width: 768px) {
  .features-grid, .services-list, .card-container, .card-grid, .content-grid, .testimonials-list {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 20px 0 rgba(33,81,86,0.09);
  padding: 28px 24px;
  margin-bottom: 20px;
  position: relative;
  min-width: 270px;
  flex: 1 1 260px;
  transition: box-shadow 0.22s, transform 0.16s;
  display: flex;
  flex-direction: column;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 8px 36px 0 rgba(33,81,86,0.15);
  transform: translateY(-4px) scale(1.02);
  z-index: 1;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.features-grid > div,
.services-list > div {
  background: linear-gradient(125deg, #faf7f0 70%, #a3c6b0 100%);
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(163,198,176,0.13);
  padding: 28px 20px;
  flex: 1 1 230px;
  min-width: 230px;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  transition: box-shadow 0.18s, background 0.14s;
}
.features-grid > div:hover,
.services-list > div:hover {
  box-shadow: 0 8px 26px 0 rgba(33,81,86,0.09);
  background: linear-gradient(115deg, #a3c6b0 40%, #faf7f0 100%);
}
.features-grid img {
  width: 45px;
  height: 45px;
  margin-bottom: 10px;
}

/* FEATURE ITEM PATTERN */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* .testimonial-card */
.testimonials-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  background: #fff;
  color: #215156;
  border-radius: 20px;
  box-shadow: 0 4px 30px 0 rgba(33,81,86,0.12);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  min-width: 270px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.13s;
}
.testimonial-card:hover {
  box-shadow: 0 12px 36px 0 rgba(33,81,86,0.15);
  transform: translateY(-2px) scale(1.01);
}
.testimonial-card p {
  color: #215156;
  font-style: italic;
  font-size: 1rem;
  margin-bottom: 8px;
}
.testimonial-card strong {
  font-size: 1rem;
  color: #215156;
}

/* Lists and steps */
.faq-list, .text-section, .commitment, .info-panel, .consulting-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.commitment, .info-panel {
  background: #faf7f0;
  border-left: 5px solid #a3c6b0;
  border-radius: 10px;
  padding: 18px 22px;
  margin-top: 10px;
}
.commitment h3, .info-panel h3 {
  margin-bottom: 0.5em;
}

/* ===================================================================
  PRICING TABLE & CTA
=================================================================== */
.pricing-table {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 400px;
  margin: 16px 0 24px 0;
}
.pricing-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: #a3c6b0;
  color: #215156;
  border-radius: 14px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
}
.cta {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
}

/* ===================================================================
  FOOTER
=================================================================== */
footer {
  background: #215156;
  color: #faf7f0;
  padding: 38px 0 24px 0;
  border-top: 1px solid #eaeae0;
  margin-top: 60px;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  gap: 36px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: flex-start;
}
.footer-nav a {
  color: #faf7f0;
  opacity: 0.86;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: opacity 0.18s, text-decoration 0.16s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  opacity: 1;
  text-decoration: underline;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 1rem;
}
.footer-contact a {
  color: #a3c6b0;
  text-decoration: underline;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .footer-nav {
    gap: 16px;
  }
}

/* ===================================================================
  RESPONSIVE ADJUSTMENTS (MOBILE FIRST)
=================================================================== */
@media (max-width: 768px) {
  h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1.2rem;
  }
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .card, .features-grid > div, .services-list > div, .testimonial-card {
    min-width: unset;
    width: 100%;
    padding: 18px 10px;
  }
}

/* ===================================================================
  MISC COMPONENTS & UTILITIES
=================================================================== */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.text-section img {
  width: 22px;
  height: 22px;
  margin-right: 8px;
  vertical-align: middle;
}

/* FAQ Styling */
.faq-list h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.03rem;
  color: #215156;
  margin-bottom: 2px;
  margin-top: 12px;
}
.faq-list p {
  margin-top: -7px;
  margin-bottom: 8px;
  color: #215156;
  font-size: 1rem;
}

/**** ENSURE CONSISTENT FLEXBOX WITH SPACING PATTERNS ****/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}
.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;
}

/* ===================================================================
  COOKIE CONSENT BANNER & MODAL
=================================================================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #215156;
  color: #faf7f0;
  font-size: 1rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 24px 16px 24px 32px;
  z-index: 999;
  box-shadow: 0 -2px 24px 0 rgba(33,81,86,0.09);
  gap: 24px;
  transition: transform 0.36s cubic-bezier(.79,0,.18,1);
}
.cookie-banner.hide {
  transform: translateY(110%);
}
.cookie-banner strong {
  color: #a3c6b0;
}
.cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-banner button {
  border: none;
  border-radius: 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 9px 22px;
  margin: 0 3px;
  cursor: pointer;
  transition: background 0.18s, color 0.16s, box-shadow 0.18s;
}
.btn-cookie-accept {
  background: #a3c6b0;
  color: #215156;
}
.btn-cookie-accept:hover,
.btn-cookie-accept:focus {
  background: #faf7f0;
  color: #215156;
  box-shadow: 0 2px 16px 0 rgba(163,198,176,0.1);
}
.btn-cookie-reject {
  background: none;
  border: 2px solid #a3c6b0;
  color: #a3c6b0;
}
.btn-cookie-reject:hover,
.btn-cookie-reject:focus {
  background: #a3c6b0;
  color: #215156;
}
.btn-cookie-settings {
  background: #215156;
  border: 2px solid #a3c6b0;
  color: #a3c6b0;
}
.btn-cookie-settings:hover,
.btn-cookie-settings:focus {
  background: #a3c6b0;
  color: #215156;
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(33,81,86,0.95);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s cubic-bezier(.68,0,.35,1);
}
.cookie-modal.open {
  pointer-events: all;
  opacity: 1;
}
.cookie-modal-content {
  background: #faf7f0;
  color: #215156;
  border-radius: 22px;
  box-shadow: 0 6px 28px 0 rgba(33,81,86,0.15);
  padding: 38px 28px 18px 28px;
  max-width: 390px;
  width: 90vw;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  top: 17px; right: 19px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #215156;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.18s, color 0.18s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  background: #a3c6b0;
  color: #faf7f0;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 17px;
  justify-content: space-between;
}
.cookie-category label {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #215156;
  font-weight: 500;
}
.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background-color: #a3c6b0;
  transition: .2s;
  border-radius: 26px;
}
.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: #faf7f0;
  transition: .2s;
  border-radius: 50%;
}
.switch input:checked + .slider {
  background-color: #215156;
}
.switch input:checked + .slider:before {
  transform: translateX(20px);
}

/* Essential cookies hint */
.cookie-category.essential label {
  opacity: 0.7;
  font-style: italic;
}
.cookie-category.essential .switch {
  pointer-events: none;
  opacity: 0.5;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 10px;
  justify-content: flex-end;
}
@media (max-width:650px) {
  .cookie-modal-content {
    padding: 18px 6vw 12px 6vw;
  }
}

/* ===================================================================
  UTILITY CLASSES 
=================================================================== */
.d-none { display: none !important; }
.text-center { text-align: center; }
.mt-24 { margin-top: 24px; }
.mb-20 { margin-bottom: 20px; }

/* Button base utility for links that are styled as buttons */
a.btn-primary, a.btn-secondary {
  display: inline-block;
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); } 
  to   { opacity: 1; transform: translateY(0); }
}
.section, .content-wrapper, .card, .testimonial-card, .features-grid > div, .services-list > div {
  animation: fadeInUp 0.7s cubic-bezier(.62,0,.21,1) 0.02s;
}

/* Hide scrollbars for mobile-menu & cookie-modal on mobile */
.mobile-menu, .cookie-modal {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.mobile-menu::-webkit-scrollbar,
.cookie-modal::-webkit-scrollbar {
  display: none;
}

/* ===================================================================
  END OF STYLE.CSS
=================================================================== */
