/* -------------------- 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, 
main, 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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #22203A;
  background: #F9F7F3;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  word-break: break-word;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
img, picture {
  max-width: 100%;
  display: block;
}
*, *::before, *::after {
  box-sizing: inherit;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  color: #3C3161;
}

/* Typography Scale */
h1 {
  font-size: 2.8rem;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.3rem;
  line-height: 1.3;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.1rem;
}
p, ul li, ol li, blockquote {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 16px;
  color: #231E3A;
}
strong {
  font-weight: 700;
}
blockquote {
  background: #F9F7F3;
  border-left: 4px solid #B7AFA3;
  padding: 20px 24px;
  font-size: 1.12rem;
  font-style: italic;
  margin-bottom: 14px;
  color: #3C3161;
}
.subheadline {
  font-size: 1.25rem;
  color: #3C3161;
  font-weight: 500;
  margin-bottom: 1.7em;
}
/* -------------------- LAYOUT STRUCTURE -------------- */
.container {
  width: 100%;
  max-width: 1050px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.section, section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
}
@media (max-width: 980px) {
  .container {
    max-width: 92vw;
    padding: 0 12px;
  }
}
@media (max-width: 768px) {
  .section, section {
    margin-bottom: 36px;
    padding: 28px 0;
  }
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}
.text-section {
  max-width: 740px;
  margin: 0 auto;
  width: 100%;
}

/* -------------------- NAVIGATION --------------------- */
header {
  background: #F9F7F3;
  border-bottom: 2px solid #E1DDCD;
  box-shadow: 0 2px 8px 0 rgba(60,49,97,0.07);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
}
.nav-container .button-primary{
  color:#F9F7F3;
}
.logo-link img {
  height: 44px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #3C3161;
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
}
.main-nav a:not(.button-primary):hover {
  color: #B7AFA3;
}
.button-primary,
.button-secondary {
  font-family: inherit;
  font-weight: bold;
  font-size: 1rem;
  line-height: 1.15;
  letter-spacing: 0.04em;
  padding: 12px 32px;
  border-radius: 32px;
  border: none;
  cursor: pointer;
  transition: background 0.22s, color 0.22s, border-color 0.22s, box-shadow 0.18s;
  outline: none;
  margin-left: 12px;
  box-shadow: 0 2px 16px 0 rgba(60,49,97,0.07);
  text-align: center;
}
.button-primary {
  background: #3C3161;
  color: #fff;
  border: 2px solid #3C3161;
  text-transform: uppercase;
}
.button-primary:hover, .button-primary:focus {
  background: #F9F7F3;
  color: #3C3161;
  border-color: #3C3161;
  box-shadow: 0 4px 18px -5px #3C316144;
}
.button-secondary {
  background: #fff;
  color: #3C3161;
  border: 2px solid #B7AFA3;
  text-transform: none;
}
.button-secondary:hover, .button-secondary:focus {
  background: #B7AFA3;
  color: #fff;
  border-color: #B7AFA3;
  box-shadow: 0 4px 18px -5px #B7AFA388;
}
@media (max-width: 980px) {
  .main-nav {
    gap: 13px;
  }
  .nav-container {
    padding: 0 5px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 8px;
  }
  .button-primary, .button-secondary {
    padding: 10px 16px;
    font-size: 0.95rem;
  }
}
/* Hide navigation/menu on mobile and show burger */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #3C3161;
  cursor: pointer;
  padding: 6px 12px;
  margin-left: 10px;
  z-index: 120;
}
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
/* -------------------- MOBILE MENU ------------------- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #FFF;
  z-index: 1600;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 32px 22px;
  box-shadow: 0 0 80px 0 rgba(60,49,97,0.16);
  transform: translateX(-100vw);
  transition: transform 0.34s cubic-bezier(.76,.21,.33,1.07);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  font-size: 2.1rem;
  background: none;
  border: none;
  color: #3C3161;
  padding: 4px 10px 6px 0;
  cursor: pointer;
  align-self: flex-end;
  margin-bottom: 30px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  margin-top: 14px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #3C3161;
  padding: 12px 0 12px 4px;
  border-radius: 6px;
  transition: background 0.18s, color 0.24s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #EDE8DD;
  color: #B7AFA3;
}
@media (min-width: 901px) {
  .mobile-menu {
    display: none;
  }
}

/* Overlay background for mobile menu (if needed):
.mobile-menu-overlay { ... } 
can be added for .mobile-menu:before if desired. */

/* --------------- MAIN & BG/SECTION MODIFIERS ----------------- */
main {
  min-height: 50vh;
  width: 100%;
}
section {
  width: 100%;
}

/* BG geometric accent example */
@media (min-width: 900px) {
  section:first-child {
    position: relative;
    overflow: visible;
  }
  section:first-child::before {
    content: "";
    display: block;
    position: absolute;
    top: -70px;
    right: -130px;
    width: 260px;
    height: 210px;
    background: #B7AFA3;
    opacity: 0.19;
    border-radius: 80px 80px 0 0;
    z-index: 2;
  }
}

/* -------------------- FLEXBOX & CARD LAYOUTS ------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 3px 24px 0 rgba(60,49,97,0.085);
  margin-bottom: 20px;
  padding: 26px 28px 24px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 260px;
  transition: transform 0.18s, box-shadow 0.22s;
}
.card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 8px 32px 0 rgba(60,49,97,0.13);
}
.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) {
  .card-container, .content-grid, .text-image-section {
    flex-direction: column !important;
    gap: 18px;
  }
}

/* Feature Grid / Features */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  justify-content: space-between;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 210px;
  background: #FFF;
  border-radius: 19px;
  box-shadow: 0 2px 16px 0 rgba(183,175,163,0.08);
  padding: 24px 24px 18px 24px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s;
}
.feature-item img {
  width: 36px; height: 36px; margin-bottom: 8px;
}
.feature-item h3 {
  font-size: 1.12rem;
  margin-bottom: 6px;
}
.feature-item p {
  font-weight: 500;
  color: #3C3161;
  margin-bottom: 2px;
}
.feature-item:hover {
  box-shadow: 0 4px 26px 0 rgba(183,175,163,0.16);
}
@media (max-width: 900px) {
  .feature-grid {
    flex-direction: column;
    gap: 14px;
  }
}
/* Testimonial Cards */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 3px 22px 0 rgba(60,49,97,0.085);
  margin-bottom: 20px;
  padding: 24px 30px 22px 26px;
  color: #22203A;
  flex-wrap: wrap;
  position: relative;
  transition: box-shadow 0.17s, transform 0.13s;
  min-width: 260px;
  max-width: 700px;
}
.testimonial-card:hover {
  box-shadow: 0 8px 36px 0 rgba(60,49,97,0.16);
  transform: translateY(-2px) scale(1.01);
}
.testimonial-stars {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-right: 6px;
}
.testimonial-stars img {
  width: 22px;
  height: 22px;
}
.testimonial-author {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #3C3161;
  font-weight: bold;
  font-size: 1.02rem;
  margin-top: 4px;
}
@media (max-width: 768px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    max-width: 94vw;
    padding: 20px 16px;
    gap: 11px;
  }
  .testimonial-stars img {
    width: 19px; height: 19px;
  }
}
/* --------------- LISTS & TEXT ----------------------- */
ul, ol {
  margin-bottom: 14px;
  padding-left: 0;
}
ul li, ol li {
  font-size: 1rem;
  margin-bottom: 8px;
  position: relative;
  padding-left: 24px;
  font-family: 'Montserrat', Arial, sans-serif;
}
ul li:before {
  content: '';
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 3px;
  background: #B7AFA3;
  position: absolute;
  left: 0; top: 9px;
}
ol li:before {
  display: none;
}
ol {
  counter-reset: sectionList;
}
ol li {
  counter-increment: sectionList;
  font-weight: 600;
  color: #3C3161;
}
ol li::before {
  content: counter(sectionList) '.';
  position: absolute;
  left: 0; top: 0;
  font-weight: 700;
  font-size: 1.08em;
  color: #B7AFA3;
}
/* --------------- FOOTER -------------------- */
footer {
  background: #3C3161;
  color: #fff;
  padding: 38px 0 30px 0;
}
.footer-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 1050px;
  margin: 0 auto;
  padding: 0 20px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.footer-links a {
  color: #fff;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  margin-bottom: 3px;
  transition: color 0.17s;
}
.footer-links a:hover {
  color: #B7AFA3;
}
.footer-contact {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #E1DDCD;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-contact img {
  width: 18px;
  height: 18px;
  margin-right: 5px;
  vertical-align: middle;
  position: relative;
  top: -2px;
}
.footer-branding {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.97rem;
}
.footer-branding img {
  height: 36px;
  width: auto;
  margin-bottom: 7px;
}
@media (max-width: 850px) {
  .footer-wrapper {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .footer-links { flex-direction: row; gap: 18px; } 
}
@media (max-width: 600px) {
  footer {
    padding: 26px 0 18px 0;
  }
  .footer-wrapper {
    padding: 0 8px;
    gap: 15px;
  }
}
/* --------------- BUTTONS ------------------- */
.button-primary, .button-secondary {
  box-shadow: 0 2px 12px 0 rgba(60,49,97,0.08);
  border-radius: 32px;
  margin-top: 10px;
  font-size: 1.11rem;
}
.button-secondary {
  border: 2px solid #3C3161;
}
.button-primary:active, .button-secondary:active {
  transform: scale(0.98);
}
.button-primary:focus, .button-secondary:focus {
  outline: 2px solid #B7AFA3;
  outline-offset: 2px;
}
@media (max-width: 768px) {
  .button-primary, .button-secondary {
    width: 100%;
    min-width: 0;
    font-size: 1rem;
    padding: 13px 0;
  }
}
/* ----------------- COOKIE CONSENT BANNER ----------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  color: #3C3161;
  border-top: 2px solid #B7AFA3;
  box-shadow: 0 -4px 22px 0 rgba(60,49,97,0.10);
  padding: 24px 32px;
  z-index: 2500;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 34px;
  justify-content: space-between;
  animation: cookiebannerfadein 0.45s both cubic-bezier(.7,.14,.52,1.01);
}
@keyframes cookiebannerfadein {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner__text {
  font-size: 1rem;
  color: #3C3161;
  line-height: 1.7;
  max-width: 540px;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-right: 10px;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 11px;
}
.cookie-btn {
  min-width: 135px;
  border-radius: 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  font-size: 1.05rem;
  padding: 10px 26px;
  cursor: pointer;
  border: none;
  outline: none;
  margin: 0 2px;
  background: #F9F7F3;
  color: #3C3161;
  border: 2px solid #B7AFA3;
  transition: background 0.17s, color 0.24s, border 0.18s;
}
.cookie-btn.accept {
  background: #3C3161;
  color: #fff;
  border-color: #3C3161;
}
.cookie-btn.accept:hover,
.cookie-btn.accept:focus {
  background: #B7AFA3;
  color: #fff;
  border-color: #B7AFA3;
}
.cookie-btn.reject {
  background: #fff;
  color: #3C3161;
  border-color: #B7AFA3;
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus {
  background: #F9F7F3;
  color: #B7AFA3;
  border-color: #B7AFA3;
}
.cookie-btn.settings {
  background: #B7AFA3;
  color: #fff;
  border-color: #B7AFA3;
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: #3C3161;
  color: #fff;
  border-color: #3C3161;
}

@media (max-width: 640px) {
  .cookie-banner {
    flex-direction: column;
    padding: 18px 10px 70px 10px;
    gap: 18px;
    align-items: flex-start;
  }
  .cookie-banner__actions {
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }
  .cookie-btn {
    width: 100%;
    min-width: 0;
  }
}
/* ---------------- COOKIE PREFERENCES MODAL ----------------- */
.cookie-modal-overlay {
  position: fixed;
  z-index: 3000;
  background: rgba(60,49,97,0.29);
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookie-fadein-bg 0.3s both cubic-bezier(.58,.1,.6,1);
}
@keyframes cookie-fadein-bg {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 20px;
  max-width: 440px;
  width: 95vw;
  box-shadow: 0 10px 44px 0 rgba(60,49,97,0.21);
  padding: 28px 28px 18px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  animation: cookie-modal-slidein 0.32s both cubic-bezier(.63,.05,.44,1.11);
}
@keyframes cookie-modal-slidein {
  from { transform: translateY(60px) scale(.96); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.32rem;
  margin-bottom: 16px;
  color: #3C3161;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  width: 100%;
}
.cookie-category input[type=checkbox] {
  accent-color: #3C3161;
  width: 19px;
  height: 19px;
}
.cookie-category label {
  font-size: 1.07rem;
  color: #3C3161;
  font-weight: bold;
  font-family: 'Montserrat', Arial, sans-serif;
  width: 220px;
}
.cookie-modal .cookie-btn {
  margin-top: 12px;
  width: 100%;
  margin-bottom: 6px;
}
.cookie-modal-close {
  position: absolute;
  top: 12px; right: 12px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #3C3161;
  cursor: pointer;
}
.cookie-modal-desc {
  font-size: 0.98rem;
  color: #3C3161;
  margin-bottom: 17px;
}
/* -------------------- RESPONSIVE ---- MOBILE FIRST ---------- */
@media (max-width: 650px) {
  h1 { font-size: 1.78rem; }
  h2 { font-size: 1.22rem; }
  h3 { font-size: 1rem; }
  .container { padding: 0 4px; }
  .footer-branding span { font-size: 0.9rem; }
}
@media (max-width: 500px) {
  .footer-contact { font-size: 0.91rem; }
}
/* --------------- UTILITY & MICROINTERACTIONS -------------- */
::-webkit-scrollbar {
  width: 12px;
}
::-webkit-scrollbar-thumb {
  background: #B7AFA3;
  border-radius: 8px;
}
::-webkit-scrollbar-track {
  background: #F9F7F3;
}

/* Geometric accent shapes (optional for background) */
.shape-accent {
  position: absolute;
  right: -45px; top: 16px;
  width: 110px;
  height: 120px;
  background: #B7AFA3;
  opacity: 0.21;
  border-radius: 43px 19px 52px 61px/39px 56px 38px 84px;
  z-index: 1;
  filter: blur(8px);
  pointer-events: none;
}
/* Shadow card micro hover effect */
.card, .feature-item, .testimonial-card {
  will-change: transform, box-shadow;
  transition: box-shadow 0.19s, transform 0.13s;
}
/* Focus styles for accessibility */
:focus-visible {
  outline: 3px solid #B7AFA3;
  outline-offset: 2px;
}

/* --------------- VISUAL HIERARCHY -------------------------- */
section > .container > .content-wrapper > h1, section > .container > .content-wrapper > h2 {
  border-bottom: 3px solid #B7AFA3;
  padding-bottom: 7px;
  margin-bottom: 26px;
}
@media (max-width: 768px) {
  section > .container > .content-wrapper > h1, section > .container > .content-wrapper > h2 {
    margin-bottom: 16px;
    padding-bottom: 4px;
  }
}

/* ----------------------------------------------- */
/* ------------ END MODERN_BOLD STYLING ---------- */
