/* =====================================================
   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 {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body {
  background: #F5F3EF;
  color: #2E3A44;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #2E3A44;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #A7B38E;
  outline: none;
  text-decoration: underline;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}

/* =====================================================
   FONTS
===================================================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&family=Roboto:wght@400;500&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #2E3A44;
  font-weight: 800;
  margin-bottom: 16px;
}
h1   { font-size: 2.5rem; margin-bottom: 20px; }
h2   { font-size: 2rem; margin-bottom: 18px; }
h3   { font-size: 1.4rem; margin-bottom: 12px; font-weight: 700; }
h4   { font-size: 1.2rem; }
.subheadline {
  font-size: 1.12rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #2E3A44;
  margin-bottom: 18px;
  font-weight: 400;
  opacity: 0.88;
}

/* =====================================================
   CONTAINER & GENERAL LAYOUTS (ALL FLEX!)
===================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 18px;
  margin-left: auto;
  margin-right: auto;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(46,58,68,0.06);
}
@media (max-width: 900px) {
  .section {
    padding: 28px 8px;
  }
  .container {
    padding: 0 8px;
  }
}

/* =====================================================
   HEADER & NAVIGATION
===================================================== */
header {
  width: 100%;
  background: #F5F3EF;
  border-bottom: 1px solid #E4E1DA;
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 18px 14px 18px;
}
header img {
  width: 160px;
  min-width: 110px;
  height: auto;
  margin-right: 20px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
header nav a {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 17px;
  color: #2E3A44;
  font-weight: 500;
  padding: 4px 0 4px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-bottom 0.2s;
}
header nav a:hover, header nav a:focus {
  color: #A7B38E;
  border-bottom: 2px solid #A7B38E;
}

/* Hide hamburger by default, show on mobile */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #2E3A44;
  padding: 2px 6px;
  cursor: pointer;
  z-index: 40;
  margin-left: 12px;
  transition: color 0.18s, background 0.18s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: #A7B38E;
  background: #ECE7DD;
  border-radius: 50%;
}
/* Mobile Menu Style */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: #F5F3EF;
  box-shadow: 0 2px 90px 10px rgba(46,58,68,0.22);
  transform: translateX(-110%);
  transition: transform 0.39s cubic-bezier(.7, .1, .13, 1.1);
  z-index: 100;
  opacity: 0.98;
  padding: 0 0;
}
.mobile-menu.active {
  transform: translateX(0%);
}
.mobile-menu-close {
  margin: 24px 0 0 24px;
  background: #fff;
  border: none;
  color: #2E3A44;
  font-size: 2.1rem;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
  padding: 2px 10px;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #A7B38E;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 60px 0 0 36px;
}
.mobile-nav a {
  font-size: 1.25rem;
  color: #2E3A44;
  margin-bottom: 2px;
  font-family: 'Montserrat', Arial, sans-serif;
  opacity: 0.97;
  padding: 8px 0 8px 0;
  border-radius: 4px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #ECE7DD;
  color: #A7B38E;
}
@media (max-width: 1050px) {
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px 0;
  }
  header img {
    width: 130px;
    min-width: 90px;
  }
  header nav {
    gap: 16px;
  }
  header nav a {
    font-size: 15.5px;
  }
}
@media (max-width: 870px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* Prevent scroll when menu open */
body.mobile-menu-open {
  overflow: hidden;
}

/* =====================================================
   SECTIONS & FLEXBOX TEMPLATES
===================================================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(46,58,68,0.07);
  flex: 1 1 300px;
  min-width: 260px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}
.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;
  margin-bottom: 16px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #ECEEE9;
  color: #2E3A44;
  border-radius: 16px;
  box-shadow: 0 2px 18px rgba(46,58,68,0.11);
  font-size: 1.13rem;
  margin-bottom: 20px;
  width: 100%;
  max-width: 600px;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: #56606B;
  font-style: italic;
  font-family: 'Roboto';
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.text-section {
  margin-bottom: 26px;
  line-height: 1.74;
  color: #2E3A44;
}
blockquote {
  font-style: italic;
  background: #F6F7F4;
  margin: 14px 0 8px 0;
  padding: 20px;
  border-left: 6px solid #A7B38E;
  border-radius: 12px;
  color: #31424a;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: 'Roboto';
}
blockquote span {
  align-self: flex-end;
  color: #7b857d;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .content-grid,
  .text-image-section,
  .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .card {
    min-width: 0;
    padding: 18px 8px;
  }
  .testimonial-card {
    font-size: 1.03rem;
    padding: 16px 10px;
    max-width: 100%;
  }
}

/* =====================================================
   BUTTONS & CALL TO ACTION
===================================================== */
.cta-primary {
  background: #2E3A44;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  border: none;
  padding: 14px 32px;
  border-radius: 26px;
  box-shadow: 0 2px 12px rgba(46,58,68,0.09);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.2s, transform 0.13s;
  display: inline-block;
  margin-top: 10px;
}
.cta-primary:hover, .cta-primary:focus {
  background: #A7B38E;
  color: #2E3A44;
  box-shadow: 0 6px 18px rgba(46,58,68,0.15);
  transform: translateY(-2px) scale(1.025);
}
button, input[type="submit"], .button {
  appearance: none;
  font-family: inherit;
}

/* =====================================================
   FOOTER
===================================================== */
footer {
  width: 100%;
  background: #ECEEE9;
  color: #2E3A44;
  font-size: 1rem;
  border-top: 1px solid #E4E1DA;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 26px 16px 26px 16px;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  font-family: 'Roboto', Arial, sans-serif;
  color: #506060;
  margin-bottom: 0;
}
footer nav a {
  color: #2E3A44;
  font-size: 1rem;
  opacity: 0.82;
}
footer nav a:hover, footer nav a:focus {
  color: #A7B38E;
}
footer .text-section {
  text-align: center;
  font-size: 0.96rem;
  margin-bottom: 0;
}

/* =====================================================
   FORMS (CONTACT, ETC.)
===================================================== */
input, textarea, select {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 18px;
  border-radius: 10px;
  border: 1px solid #D2D8CB;
  background: #F6F7F4;
  font-size: 1rem;
  resize: vertical;
  font-family: 'Roboto', Arial, sans-serif;
  transition: outline 0.18s, border-color 0.18s;
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid #A7B38E;
  border-color: #A7B38E;
}
label {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.02rem;
  font-weight: 500;
}

/* =====================================================
   COOKIES CONSENT BANNER & MODAL
===================================================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  z-index: 120;
  background: #2E3A44;
  color: #fff;
  font-size: 1.1rem;
  padding: 18px 22px 18px 18px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 -4px 18px rgba(46,58,68,0.08);
  gap: 18px;
  animation: cookie-slide 0.5s cubic-bezier(.45,1.7,.6,.84);
}
@keyframes cookie-slide {
  from { transform: translateY(100%); opacity:0 }
  to   { transform: translateY(0); opacity:1 }
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  font-size: 1rem;
  border-radius: 24px;
  padding: 10px 24px;
  cursor: pointer;
  margin-top: 0;
  box-shadow: 0 1px 6px rgba(46,58,68,0.07);
  transition: background 0.18s, color 0.18s, transform 0.13s;
}
.cookie-banner .accept {
  background: #A7B38E;
  color: #2E3A44;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #8d9c75;
}
.cookie-banner .reject {
  background: #fff;
  color: #2E3A44;
  border: 1px solid #D2D8CB;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #ECEEE9;
  color: #A7B38E;
  border: 1px solid #A7B38E;
}
.cookie-banner .settings {
  background: transparent;
  color: #A7B38E;
  border: 1px solid #A7B38E;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #A7B38E;
  color: #2E3A44;
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(46,58,68,0.31);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 130;
  opacity: 1;
  transition: opacity 0.19s;
}
.cookie-modal {
  background: #fff;
  color: #2E3A44;
  padding: 44px 28px 30px 28px;
  border-radius: 18px;
  min-width: 340px;
  max-width: 97vw;
  box-shadow: 0 8px 40px rgba(46,58,68,0.17);
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: modal-scale-in 0.33s cubic-bezier(.68,-0.2,.3,1.4);
}
@keyframes modal-scale-in {
  from { transform: scale(0.7); opacity: 0 }
  to { transform: scale(1); opacity: 1 }
}
.cookie-modal h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.17rem;
  margin-bottom: 13px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  font-size: 1.05rem;
}
.cookie-category label {
  flex: 1 1;
  font-size: 1rem;
  margin-bottom: 0;
}
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 48px; height: 25px;
}
.cookie-switch input { display: none; }
.cookie-slider {
  position: absolute;
  cursor: pointer;
  background-color: #ECEEE9;
  border-radius: 18px;
  top: 0; left: 0; right: 0; bottom: 0;
  transition: background 0.2s;
}
.cookie-switch input:checked + .cookie-slider {
  background-color: #A7B38E;
}
.cookie-slider:before {
  content: "";
  position: absolute;
  height: 19px;
  width: 19px;
  left: 3px;
  bottom: 3px;
  background-color: #fff;
  border-radius: 50%;
  transition: 0.2s;
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(23px);
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
  margin-top: 18px;
}
.cookie-modal-actions button {
  font-family: 'Montserrat';
  border-radius: 22px;
  padding: 8px 22px;
  font-size: 1rem;
  font-weight: 600;
}
.cookie-modal-actions .save {
  background: #A7B38E;
  color: #2E3A44;
  border: none;
}
.cookie-modal-actions .save:hover {
  background: #2E3A44;
  color: #fff;
}
.cookie-modal-actions .cancel {
  background: transparent;
  color: #2E3A44;
  border: 1px solid #A7B38E;
}
.cookie-modal-actions .cancel:hover {
  border-color: #2E3A44;
}
@media (max-width: 540px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    font-size: 0.97rem;
    padding: 16px 9px;
  }
  .cookie-banner .cookie-btns {
    gap: 6px;
  }
  .cookie-modal {
    min-width: 0;
    padding: 18px 6vw 13px 6vw;
  }
}

/* =====================================================
   EXTRA EFFECTS & MICRO-ANIMATIONS
===================================================== */
.card, .testimonial-card, .section {
  transition: box-shadow 0.22s, transform 0.18s;
}
.card:hover, .testimonial-card:hover, .section:focus-within {
  box-shadow: 0 8px 22px rgba(46,58,68,0.11);
  transform: translateY(-2px) scale(1.01);
}

/* Subtle focus effect for accessibility */
a:focus, button:focus, .cta-primary:focus {
  outline: 2px dashed #A7B38E;
  outline-offset: 1px;
}

/* =====================================================
   RESPONSIVE TYPOGRAPHY & SPACING
===================================================== */
@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  h3 { font-size: 1.08rem; }
  .cta-primary {
    font-size: 1rem;
    padding: 10px 18px;
  }
}

/* =====================================================
   GENERAL HELPERS & OVERRIDES
===================================================== */
strong {
  font-weight: 700;
  color: #2E3A44;
}
::-webkit-input-placeholder { color: #A4ADA2; }
::-moz-placeholder { color: #A4ADA2; }
:-ms-input-placeholder { color: #A4ADA2; }
::placeholder { color: #A4ADA2; }

hr {
  border: none;
  border-top: 1px solid #ECEEE9;
  margin: 40px 0;
}

/* =====================================================
   UTILITY CLASSES (GAP, MARGIN, FLEX PATTERNS)
===================================================== */
.gap-8  { gap: 8px  !important; }
.gap-16 { gap: 16px !important; }
.gap-20 { gap: 20px !important; }
.gap-24 { gap: 24px !important; }
.mb-20  { margin-bottom: 20px  !important; }
.mb-32  { margin-bottom: 32px  !important; }
.mb-60  { margin-bottom: 60px  !important; }
.mt-24  { margin-top: 24px !important; }

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