/* === 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 {
 box-sizing: border-box; margin: 0; padding: 0; border: 0; font: inherit; vertical-align: baseline;
}
html { line-height: 1.5; }
body { background: #fff; color: #2C3A47; min-height: 100vh; font-family: 'Roboto', Arial, sans-serif; font-size: 16px; -webkit-font-smoothing: antialiased; }
img, picture, video, canvas, svg { display: inline-block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; }
button, input, select, textarea { font-family: inherit; font-size: inherit; background: none; border: none; outline: none; }
*, *::before, *::after { box-sizing: border-box; }

/* === BRAND FONTS === */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #2C3A47;
  background: #fff;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #2C3A47;
  letter-spacing: -0.5px;
}
h1 { font-size: 2.4rem; margin-bottom: 16px; }
h2 { font-size: 1.75rem; margin-bottom: 16px; }
h3 { font-size: 1.25rem; margin-bottom: 8px; }
h4, h5, h6 { font-size: 1rem; margin-bottom: 6px; }
p, ul, ol, li { color: #384350; font-size: 1rem; line-height: 1.7; }
p { margin-bottom: 10px; }
strong, b { font-weight: 600; }

/* === CONTAINERS === */
.container {
  width: 100%;
  max-width: 1130px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}

/* === FLEX LAYOUTS (MANDATORY PATTERNS) === */
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #F4EDEA;
  border-radius: 12px;
  box-shadow: 0 2px 16px 0 rgba(44,58,71,0.06);
  margin-bottom: 24px;
  min-width: 220px;
  flex: 1 1 320px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === GLOBAL SPACING === */
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.content-wrapper.text-center, .centered, .container.text-center {
  align-items: center;
  text-align: center;
}
ul, ol {
  margin-bottom: 18px;
  padding-left: 0;
}
ul li, ol li {
  margin-bottom: 8px;
  padding-left: 24px;
  position: relative;
}
ul li::before {
  content: "•";
  font-size: 1.2rem;
  color: #6D9886;
  position: absolute;
  left: 0;
  top: 0.1rem;
}

/* === HEADER / NAVIGATION === */
header {
  background: #fff;
  border-bottom: 1px solid #F4EDEA;
  box-shadow: 0 2px 8px 0 rgba(44,58,71,0.03);
  position: sticky;
  top: 0;
  z-index: 30;
}
.nav-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
  gap: 20px;
}
.main-nav, .footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.main-nav a {
  padding: 8px 12px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #2C3A47;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F4EDEA;
  color: #6D9886;
}

/* === CTA BUTTONS === */
.cta-button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 8px;
  padding: 13px 30px;
  cursor: pointer;
  margin-left: 16px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(44,58,71,0.04);
  border: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  display: inline-block;
}
.cta-button.primary {
  background: #2C3A47;
  color: #fff;
}
.cta-button.primary:hover, .cta-button.primary:focus {
  background: #6D9886;
  color: #2C3A47;
  box-shadow: 0 6px 18px 0 rgba(44,58,71,0.07);
}
.cta-button.secondary {
  background: #fff;
  color: #2C3A47;
  border: 1.5px solid #2C3A47;
}
.cta-button.secondary:hover, .cta-button.secondary:focus {
  background: #F4EDEA;
  color: #6D9886;
  border-color: #6D9886;
}

/* === HERO, FEATURES, CARDS === */
.features-grid, .values-grid, .services-list, .testimonial-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.features-grid > div, .values-grid > div, .services-list > div {
  background: #fff;
  padding: 28px 20px;
  border-radius: 12px;
  box-shadow: 0 2px 12px 0 rgba(44,58,71,0.04);
  flex: 1 1 220px;
  min-width: 210px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow 0.15s;
}
.features-grid > div:hover, .values-grid > div:hover, .services-list > div:hover {
  box-shadow: 0 6px 24px 0 rgba(44,58,71,0.10);
}
.features-grid img, .services-list img {
  height: 48px;
  width: 48px;
  margin-bottom: 8px;
}

/* === TESTIMONIALS === */
.testimonials-preview, .testimonial-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.testimonial-meta, .testimonial-card span {
  color: #2C3A47;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  opacity: 0.84;
  margin-top: 8px;
}
.testimonial-card p {
  color: #2C3A47;
  font-size: 1.025rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* === TEXT SECTIONS & ACCORDION === */
.text-section, .content-wrapper.text-section {
  font-size: 1.05rem;
  color: #2C3A47;
  max-width: 780px;
  margin: 0 auto;
  padding-right: 12px;
  padding-left: 12px;
}
.faq-accordion > div {
  background: #F4EDEA;
  border-radius: 10px;
  margin-bottom: 18px;
  padding: 22px 22px 12px 22px;
  box-shadow: 0 4px 20px 0 rgba(44,58,71,0.06);
}
.faq-accordion h3 {
  font-size: 1.1rem;
  font-weight: 500;
  color: #2C3A47;
  cursor: pointer;
  margin-bottom: 4px;
}
.faq-accordion p {
  color: #384350;
}

/* === PROCESS & TIMELINE === */
.process-timeline ol {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.process-timeline li {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 14px 0 rgba(44,58,71,0.05);
  padding: 16px 18px;
}
.process-timeline img {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

/* === CONTACT PAGE === */
.contact-details p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.contact-details img {
  width: 20px;
  height: 20px;
}

/* === FOOTER === */
footer {
  background: #F4EDEA;
  color: #2C3A47;
  padding: 40px 0 0 0;
  margin-top: 80px;
  box-shadow: 0 -2px 10px 0 rgba(44,58,71,0.02);
}
.footer-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  border-bottom: 1px solid #eae7e4;
  padding-bottom: 20px;
  margin-bottom: 12px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 155px;
}
.footer-nav a {
  color: #2C3A47;
  font-size: 1rem;
  margin-bottom: 5px;
  transition: color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #6D9886;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-contact span img {
  vertical-align: middle;
  width: 18px; height: 18px;
  margin-right: 5px;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-social a img {
  width: 24px;
  height: 24px;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.footer-social a:hover img {
  opacity: 1;
}
footer small {
  color: #888;
}

/* === MOBILE MENU === */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  padding: 11px 17px;
  border-radius: 8px;
  background: #fff;
  color: #2C3A47;
  cursor: pointer;
  z-index: 21;
  border: 1.5px solid #efefef;
  margin-left: 9px;
  align-self: center;
  transition: box-shadow 0.2s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #6D9886;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; right: 0; left: 0; bottom: 0;
  background: #fff;
  padding: 32px 24px 24px 24px;
  z-index: 100;
  box-shadow: 0 8px 32px rgba(44,58,71,0.12);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.9,-0.01,.09,1.21), visibility 0.22s;
  visibility: hidden;
}
.mobile-menu.open {
  transform: translateX(0%);
  visibility: visible;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.2rem;
  background: none;
  color: #2C3A47;
  cursor: pointer;
  border-radius: 8px;
  margin-bottom: 24px;
  border: 1.5px solid #efefef;
  padding: 7px 14px 7px 9px;
  transition: box-shadow 0.2s;
}
.mobile-menu-close:focus {
  outline: 2px solid #6D9886;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  color: #2C3A47;
  padding: 16px 6px;
  border-radius: 8px;
  margin-right: 0;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F4EDEA;
  color: #6D9886;
}

/* Hide nav, show burger menu on mobile */
@media (max-width: 992px) {
  .main-nav,
  .cta-button.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .container.nav-flex {
    justify-content: space-between;
    gap: 10px 0;
  }
}
@media (min-width: 993px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 120;
  background: #fff;
  color: #2C3A47;
  box-shadow: 0 -6px 36px -6px rgba(44,58,71,0.12);
  border-top: 1.5px solid #eae7e4;
  padding: 24px 20px 24px 20px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
  transition: transform 0.25s cubic-bezier(.6,-0.01,.09,1.21);
}
.cookie-banner.hide {
  transform: translateY(110%);
}
.cookie-banner p {
  margin-bottom: 0;
  font-size: 1rem;
  color: #2C3A47;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-banner .cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: 6px;
  border: none;
  background: #F4EDEA;
  color: #2C3A47;
  margin: 0 2px;
  cursor: pointer;
  transition: background 0.16s, color 0.16s;
}
.cookie-banner .cookie-btn.accept {
  background: #2C3A47;
  color: #fff;
}
.cookie-banner .cookie-btn.accept:hover, .cookie-banner .cookie-btn.accept:focus {
  background: #6D9886;
  color: #2C3A47;
}
.cookie-banner .cookie-btn.reject {
  background: #fff;
  color: #2C3A47;
  border: 1.5px solid #2C3A47;
}
.cookie-banner .cookie-btn.reject:hover, .cookie-banner .cookie-btn.reject:focus {
  border-color: #6D9886;
  color: #6D9886;
  background: #F4EDEA;
}
.cookie-banner .cookie-btn.settings {
  background: #F4EDEA;
  color: #2C3A47;
  border: 1.5px solid #F4EDEA;
}
.cookie-banner .cookie-btn.settings:hover, .cookie-banner .cookie-btn.settings:focus {
  background: #fff;
  color: #6D9886;
}

/* === COOKIE PREFERENCES MODAL === */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(44,58,71,0.17);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s;
}
.cookie-modal.open {
  visibility: visible;
  opacity: 1;
}
.cookie-modal .cookie-modal-content {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 14px 48px 0 rgba(44,58,71,0.15);
  padding: 34px 30px 28px 30px;
  max-width: 400px;
  width: 90%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  animation: modal-appear 0.28s cubic-bezier(0.69,0,0.68,1.37);
}
@keyframes modal-appear {
  from { opacity:0; transform: scale(0.98) translateY(28px); } to { opacity:1; transform: scale(1) translateY(0); }
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 15px; right: 16px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #2C3A47;
  cursor: pointer;
}
.cookie-modal h3 {
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 10px;
  color: #2C3A47;
}
.cookie-modal .category-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal .category-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
.cookie-modal .cookie-toggle {
  appearance: none;
  width: 38px; height: 20px;
  border-radius: 10px;
  background: #e4e8eb;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.19s;
}
.cookie-modal .cookie-toggle:checked {
  background: #6D9886;
}
.cookie-modal .cookie-toggle:after {
  content: '';
  display: block;
  position: absolute;
  left: 2px; top: 2px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 0.5px 2px 0 rgba(44,58,71,0.07);
  transition: left 0.19s;
}
.cookie-modal .cookie-toggle:checked:after {
  left: 20px;
}
.cookie-modal .cookie-toggle[disabled] {
  background: #b7babc;
  cursor: not-allowed;
}
.cookie-modal .cookie-save-btn {
  margin-top: 18px;
  padding: 13px 0;
  width: 100%;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 7px;
  background: #2C3A47;
  color: #fff;
  border: none;
  cursor: pointer;
}
.cookie-modal .cookie-save-btn:hover, .cookie-modal .cookie-save-btn:focus {
  background: #6D9886;
  color: #2C3A47;
}

/* === ANIMATIONS === */
.cta-button, .main-nav a, .footer-nav a, .mobile-nav a, .cookie-btn {
  transition: background 0.17s, color 0.17s, box-shadow 0.15s;
}
section, .content-wrapper > * {
  transition: box-shadow 0.15s, transform 0.25s;
}
/* === RESPONSIVENESS: MOBILE FIRST === */
@media (max-width: 992px) {
  .features-grid, .values-grid, .services-list, .testimonial-cards, .testimonials-preview {
    flex-direction: column;
    gap: 24px;
  }
  .footer-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }
  .nav-flex { flex-direction: row; }
}
@media (max-width: 768px) {
  .container {
    padding-right: 12px;
    padding-left: 12px;
  }
  .section {
    padding: 30px 7px;
    margin-bottom: 38px;
  }
  .text-image-section, .content-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .footer-flex {
    gap: 17px;
    align-items: flex-start;
  }
  h1 {
    font-size: 1.50rem;
  }
  h2 {
    font-size: 1.12rem;
  }
  h3 {
    font-size: 1rem;
  }
  .cta-button {
    width: 100%;
    text-align: center;
    margin-left: 0;
    margin-bottom: 12px;
  }
  .features-grid > div, .values-grid > div, .services-list > div {
    min-width: 0;
  }
  .cookie-banner {
    padding: 17px 8px 22px 8px;
    gap: 15px;
  }
  .cookie-modal .cookie-modal-content {
    padding: 20px 11px 18px 11px;
    max-width: 98vw;
  }
}
@media (max-width: 540px) {
  .footer-contact span { font-size: 0.97rem; }
}

/* === UTILITIES & HELPERS === */
.text-center { text-align: center; align-items: center; }
.centered { justify-content: center; align-items: center; text-align: center; }
[hidden] { display: none !important; }

/* === ACCESSIBILITY & FOCUS === */
a:focus, button:focus, .cta-button:focus {
  outline: 2px solid #6D9886;
  outline-offset: 2px;
}

/* === HIGHLIGHTS/ACCENTS === */
mark { background: #F4EDEA; color: #2C3A47; padding: 2px 3px; border-radius: 4px; }

/* ==== END ==== */
