/* ===============================================================
   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, 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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F6F3F0;
  color: #2B223A;
  font-family: 'Montserrat', Arial, sans-serif;
  min-height: 100vh;
}
ol, ul {
  list-style: none;
}
a {
  background: transparent;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  border-style: none;
  max-width: 100%;
  display: block;
}
button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}


/* ===============================================================
   BRAND TYPOGRAPHY
   =============================================================== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Playfair+Display:700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: #2B223A;
  margin-bottom: 16px;
  line-height: 1.15;
}
h1 { font-size: 2.4rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }
p, li, span, blockquote, label, input, textarea {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
}
p, ul, ol { margin-bottom: 16px; }
strong, b {
  font-weight: 700;
}
blockquote {
  border-left: 4px solid #6C5B7B;
  background: #F6F3F0;
  margin: 0 0 24px 0;
  padding: 16px 32px;
  font-style: italic;
  color: #2B223A;
}
blockquote footer {
  margin-top: 8px;
  font-size: 0.9rem;
  color: #6C5B7B;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* ===============================================================
   LAYOUT CONTAINERS & SECTIONS (with FLEXBOX ONLY)
   =============================================================== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
.text-section {
  max-width: 740px;
  margin: 0 auto;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  width: 100%;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(44, 40, 60, 0.07);
  padding: 24px 20px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 260px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.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;
  background: #fff;
  box-shadow: 0 2px 14px rgba(44, 40, 60, 0.11);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  flex: 1 1 250px;
  min-width: 0;
}
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ========== LISTS INSIDE LAYOUTS =========== */
section ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 0;
}
section ul li {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 8px rgba(44,40,60,0.05);
  padding: 24px 18px;
  min-width: 220px;
  flex: 1 1 220px;
  color: #2B223A;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
section ul li img {
  width: 32px;
  height: 32px;
  margin-bottom: 6px;
}
section ul li span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.text-section ul,
.text-section ol {
  box-shadow: none;
  background: none;
  border-radius: 0;
  padding: 0;
  gap: 12px;
}
.text-section ul li,
.text-section ol li {
  background: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0 0 0 20px;
  min-width: unset;
  flex: none;
  position: relative;
  font-size: 1rem;
  color: #2B223A;
  margin-bottom: 6px;
}
.text-section ul li:before {
  content: '•';
  color: #6C5B7B;
  position: absolute;
  left: 0;
  font-size: 16px;
}

/* ===============================================================
   HEADER & NAVIGATION
   =============================================================== */
header {
  width: 100%;
  background: #fff;
  padding: 12px 0;
  box-shadow: 0 2px 10px rgba(41, 36, 60, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  top: 0;
  z-index: 1050;
}
header > a img {
  display: block;
  width: 140px;
  height: auto;
}
header nav {
  display: flex;
  gap: 32px;
  margin-left: 36px;
  margin-right: 36px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: #2B223A;
  padding: 7px 4px;
  border-radius: 4px;
  transition: background 0.17s, color 0.17s;
}
header nav a:hover, header nav a:focus {
  background: #F6F3F0;
  color: #6C5B7B;
}
.cta-button {
  background: #2B223A;
  color: #fff !important;
  border: none;
  border-radius: 24px;
  padding: 10px 34px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  margin-left: auto;
  margin-right: 18px;
  box-shadow: 0 2px 6px rgba(44,40,60,0.11);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  cursor: pointer;
  outline: none;
  text-align: center;
}
.cta-button:hover, .cta-button:focus {
  background: #6C5B7B;
  color: #fff;
  box-shadow: 0 4px 18px 0 rgba(44,40,60,0.16);
}
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: #2B223A;
  margin-left: 10px;
  background: none;
  border: none;
  transition: background 0.2s, color 0.2s;
  z-index: 1200;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #6C5B7B;
}

/* ===============================================================
   MOBILE MENU OVERLAY
   =============================================================== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(44, 40, 60, 0.96);
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.75,0,.25,1);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 24px 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2.3rem;
  margin: 16px 36px 0 0;
  border: none;
  align-self: flex-end;
  cursor: pointer;
  z-index: 2020;
  transition: color 0.2s;
}
.mobile-menu-close:hover {
  color: #B7AACA;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  margin: 48px 40px 0 40px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  color: #fff;
  font-weight: 500;
  padding: 12px 0;
  transition: color 0.18s, background 0.18s;
  border-radius: 6px;
  width: 100%;
  text-align: left;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #F6F3F0;
  background: rgba(108,91,123,0.15);
}

@media (max-width: 1080px) {
  .container {
    max-width: 97vw;
  }
  header nav {
    gap: 18px;
    margin-left: 18px;
    margin-right: 18px;
  }
}
@media (max-width: 900px) {
  header nav {
    display: none;
  }
  .cta-button {
    margin-right: 0;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 768px) {
  .section {
    padding: 26px 6vw;
    margin-bottom: 42px;
  }
  .content-wrapper {
    gap: 7px;
  }
  .container {
    padding: 0 3vw;
  }
  .testimonials {
    flex-direction: column;
  }
  section ul {
    flex-direction: column;
    gap: 16px;
    padding: 0;
  }
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .card {
    min-width: unset;
  }
}

@media (max-width: 540px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.21rem; }
  .section {
    padding: 20px 3vw;
  }
  .container {
    padding: 0 2vw;
  }
  .testimonial-card {
    padding: 14px 9px;
  }
}

/* ===============================================================
   FOOTER
   =============================================================== */
footer {
  background: #2B223A;
  color: #fff;
  width: 100%;
  font-size: 1rem;
  margin-top: 60px;
  padding: 0 0 0 0;
}
footer .container {
  padding: 0 14px;
}
footer .content-wrapper {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  padding: 22px 0;
}
footer nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
footer nav a {
  color: #fff;
  opacity: 0.9;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.97rem;
  transition: color 0.18s, opacity 0.15s;
}
footer nav a:hover, footer nav a:focus {
  color: #B7AACA;
  opacity: 1;
}
.footer-info {
  font-size: 0.96rem;
  line-height: 1.45;
  color: #ece6da;
}
@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  footer nav {
    gap: 10px;
  }
}

/* ===============================================================
   BUTTONS & INTERACTIONS
   =============================================================== */
button, .cta-button, .cookie-btn, .cookie-banner-btn {
  transition: background 0.17s, color 0.17s, box-shadow 0.2s, border 0.18s;
}
button:active, .cta-button:active {
  transform: scale(0.98);
}

/* ===============================================================
   TESTIMONIALS - HIGH CONTRAST CARDS
   =============================================================== */
.testimonial-card {
  background: #fff;
  color: #2B223A;
  box-shadow: 0 2px 14px rgba(44, 40, 60, 0.11);
}
.testimonial-card span {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #6C5B7B;
  font-size: 0.92rem;
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.testimonial-card img {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
}

/* ===============================================================
   SPECIAL FEATURE & INFO BOX
   =============================================================== */
.info-box, .feature-box {
  background: #fff;
  border-left: 5px solid #6C5B7B;
  padding: 20px 32px;
  border-radius: 12px;
  margin: 22px 0;
  box-shadow: 0 1px 8px rgba(44,40,60,0.06);
}

/* ===============================================================
   GLOBAL FORMS & INPUTS
   =============================================================== */
input, textarea {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border: 1px solid #B7AACA;
  border-radius: 6px;
  padding: 8px 12px;
  background: #F6F3F0;
  color: #2B223A;
  margin-bottom: 16px;
  outline: none;
  transition: border 0.17s, box-shadow 0.19s;
}
input:focus, textarea:focus {
  border-color: #6C5B7B;
  box-shadow: 0 0 0 3px #ece6da;
}

/* ===============================================================
   COOKIE CONSENT BANNER
   =============================================================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff;
  border-top: 1px solid #B7AACA;
  box-shadow: 0 -2px 22px 0 rgba(44,40,60,0.11);
  padding: 22px 4vw 18px 4vw;
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.99rem;
  animation: fadeInBanner 0.35s cubic-bezier(.55,0,.3,1);
}
@keyframes fadeInBanner {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-banner-text {
  color: #2B223A;
  max-width: 640px;
}
.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.cookie-banner-btn {
  background: #2B223A;
  color: #fff;
  border: none;
  border-radius: 24px;
  padding: 9px 27px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 1px 6px rgba(44,40,60,0.09);
  margin-right: 0;
  transition: background 0.19s, color 0.2s;
}
.cookie-banner-btn.rejected {
  background: #cdc7de;
  color: #2B223A;
}
.cookie-banner-btn.settings {
  background: #fff;
  border: 1.3px solid #6C5B7B;
  color: #6C5B7B;
  margin-left: 0;
}
.cookie-banner-btn:hover, .cookie-banner-btn:focus {
  background: #6C5B7B;
  color: #fff;
}
.cookie-banner-btn.settings:hover, .cookie-banner-btn.settings:focus {
  background: #6C5B7B;
  color: #fff;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    font-size: 0.94rem;
    padding: 14px 3vw 12px 3vw;
  }
}

/* ========= COOKIE SETTINGS MODAL ========= */
.cookie-modal-overlay {
  display: none;
  position: fixed; z-index: 4100;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(44, 40, 60, 0.72);
  align-items: center;
  justify-content: center;
  animation: fadeInBanner 0.25s cubic-bezier(.55,0,.3,1);
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  border-radius: 12px;
  max-width: 380px;
  width: 96vw;
  padding: 28px 24px 20px 24px;
  box-shadow: 0 2px 32px 0 rgba(44,40,60,0.17);
  position: relative;
  animation: modalAppear 0.32s cubic-bezier(.62,0,.35,1);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
@keyframes modalAppear {
  from { opacity: 0; transform: scale(0.90); }
  to   { opacity: 1; transform: scale(1); }
}
.cookie-modal-close {
  position: absolute;
  right: 18px;
  top: 12px;
  background: none;
  border: none;
  color: #2B223A;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 4150;
  transition: color 0.15s;
}
.cookie-modal-close:hover {
  color: #6C5B7B;
}
.cookie-modal h2 {
  margin-bottom: 9px;
  font-size: 1.21rem;
}
.cookie-pref-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-toggle {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 4px;
}
.cookie-toggle label {
  font-size: 1rem;
  color: #2B223A;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-toggle input[type='checkbox'] {
  width: 22px;
  height: 22px;
  accent-color: #6C5B7B;
}
.cookie-pref-essential {
  color: #6C5B7B;
  font-weight: bold;
}
.cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}
.cookie-modal-actions .cookie-banner-btn {
  font-size: 1rem;
  padding: 8px 22px;
}

/* ===============================================================
   ANIMATED MICRO-INTERACTIONS
   =============================================================== */
a, .cta-button, button, .cookie-banner-btn {
  transition: color 0.18s, background 0.19s, box-shadow 0.21s;
}
.card, .testimonial-card, .feature-item, section ul li {
  transition: box-shadow 0.21s, transform 0.14s;
}
.card:hover, .testimonial-card:hover, .feature-item:hover, section ul li:hover {
  box-shadow: 0 5px 20px 0 rgba(44,40,60,0.16);
  transform: translateY(-5px) scale(1.012);
}

/* ===============================================================
   MISCELLANEOUS & UTILITIES
   =============================================================== */
strong, b {
  color: #2B223A;
}
hr {
  border: none;
  border-top: 1.5px solid #B7AACA;
  margin: 24px 0;
}
.hide { display: none !important; }

/* ===============================================================
   MEDIA QUERIES FOR SPACING AND UI
   =============================================================== */
@media (max-width: 440px) {
  h1 { font-size: 1.08rem; }
  h2 { font-size: 0.95rem; }
  .testimonials, .card-container, .content-grid { gap: 9px; }
  .section { padding: 10px 2vw; }
}

/* ===============================================================
   SCROLLBAR (subtle)
   =============================================================== */
::-webkit-scrollbar {
  width: 8px;
  background: #F6F3F0;
}
::-webkit-scrollbar-thumb {
  background: #6C5B7B;
  border-radius: 30px;
}

/* ===============================================================
   PRINT STYLES
   =============================================================== */
@media print {
  .mobile-menu, .mobile-menu-toggle, .cookie-banner, .cookie-modal-overlay {
    display: none !important;
  }
}
