/* ===============================
   CSS Reset & Base Styles
=============================== */
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;
}
html {
  scroll-behavior: smooth;
  box-sizing: border-box;
}
body {
  min-height: 100vh;
  background: #F4EDEA;
  color: #24264C;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
  border: none;
}
a {
  color: #24264C;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #D3B97C;
  outline: none;
}
ul, ol {
  margin-left: 1.7em;
  margin-bottom: 24px;
}
li {
  margin-bottom: 10px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  color: #24264C;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.18;
  margin-bottom: 20px;
}
h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.5rem;
}
h4 {
  font-size: 1.15rem;
}
p {
  margin-bottom: 18px;
}
blockquote {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  background: #fff;
  border-left: 4px solid #D3B97C;
  color: #24264C;
  padding: 18px 22px 18px 18px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(36,38,76,0.06);
}
cite {
  display: block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1em;
  color: #A3978B;
  margin-top: 2px;
  margin-bottom: 8px;
}
strong, b {
  font-weight: 700;
}

/* ===============================
   Layout Containers
=============================== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 0; /* Let inner wrappers handle spacing */
}

.content-wrapper {
  margin: 0 auto;
  padding: 0;
  max-width: 850px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

main {
  flex: 1 0 auto;
  width: 100%;
}

/* ===============================
   Section Patterns & Spacing
=============================== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  width: 100%;
  position: relative;
}
@media (max-width: 768px) {
  section {
    padding: 28px 8px;
    margin-bottom: 38px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border: 1px solid #e8e3de;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(36,38,76,0.10);
  position: relative;
  padding: 28px 22px 24px;
  display: flex;
  flex-direction: column;
  min-width: 260px;
  flex: 1 1 300px;
  transition: box-shadow 0.2s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 24px rgba(211,185,124,0.15), 0 2px 14px rgba(36,38,76,0.15);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  width: 100%;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border: 1px solid #E7DFD9;
  border-radius: 16px;
  box-shadow: 0 2px 14px rgba(36,38,76,0.07);
  margin-bottom: 20px;
  flex: 1 1 340px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.testimonial-card:hover {
  border-color: #D3B97C;
  box-shadow: 0 6px 26px rgba(211,185,124,0.23), 0 2px 14px rgba(36,38,76,0.13);
}
.testimonial-card blockquote {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
}
.testimonial-card cite {
  color: #9b907e;
  margin-top: 0;
  margin-bottom: 0;
}

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

/* ===============================
   Header & Main Navigation
=============================== */
header {
  background: #fff;
  border-bottom: 1px solid #e8e3de;
  box-shadow: 0 2px 8px rgba(36,38,76,0.04);
  position: relative;
  width: 100%;
  z-index: 900;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 70px;
  padding: 0 28px;
}
header nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.01em;
  font-size: 1rem;
  padding: 6px 2px;
  color: #24264C;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.18s;
  position: relative;
}
header nav a:hover, header nav a:focus {
  color: #D3B97C;
  border-bottom: 2px solid #D3B97C;
}
header a.cta-btn {
  margin-left: 36px;
  min-width: 140px;
  text-align: center;
}
header img {
  height: 44px;
  width: auto;
}

@media (max-width: 990px) {
  header .container {
    padding: 0 12px;
    gap: 14px;
  }
  header nav {
    gap: 10px;
  }
  header a.cta-btn {
    margin-left: 18px;
    min-width: unset;
  }
  header img {height: 36px;}
}

@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    align-items: center;
    gap: 6px;
    min-height: 56px;
    padding: 6px 8px 6px;
  }
  header nav {
    display: none;
  }
  header a.cta-btn {
    display: none;
  }
}

/* ================================
   CTA Button Styles
================================ */
.cta-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: #D3B97C;
  color: #24264C;
  border: none;
  border-radius: 32px;
  padding: 12px 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.10rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 10px rgba(48,43,32,0.05);
  transition: background 0.21s, color 0.18s, box-shadow 0.20s;
  cursor: pointer;
}
.cta-btn:hover, .cta-btn:focus {
  background: #24264C;
  color: #FFDFAF;
  box-shadow: 0 8px 24px rgba(211,185,124,0.21);
  outline: none;
}

/* ============================
   Footer
============================ */
footer {
  background: #24264C;
  color: #F4EDEA;
  padding: 0;
  font-size: 16px;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  gap: 40px;
  padding: 38px 24px 28px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  gap: 64px;
  justify-content: space-between;
  width: 100%;
}
footer img {
  height: 38px;
  margin-bottom: 16px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
footer nav a {
  color: #F4EDEA;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.98em;
  padding: 2px 0;
  line-height: 1.54;
  transition: color 0.18s;
}
footer nav a:hover, footer nav a:focus {
  color: #D3B97C;
  border-bottom: 1px solid #D3B97C;
}
footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  margin-bottom: 10px;
}
footer li {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  color: #F4EDEA;
  letter-spacing: 0.01em;
}
footer li img {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  filter: brightness(82%);
}
footer a {
  color: #F4EDEA;
  transition: color 0.18s, border-color 0.18s;
}
footer a:hover, footer a:focus {
  color: #D3B97C;
  outline: none;
}
footer p {
  color: #E8E3DE;
  font-family: 'Montserrat', Arial, sans-serif;
}
@media (max-width: 1020px) {
  footer .content-wrapper {
    gap: 24px;
  }
}
@media (max-width: 768px) {
  footer .container, footer .content-wrapper {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    padding: 22px 6px 16px;
  }
  footer img {margin-bottom: 6px;}
}

/* ===============================
   Responsive Typography
============================= */
@media (max-width: 1200px) {
  h1 {font-size: 2.1rem;}
  h2 {font-size: 1.5rem;}
  h3 {font-size: 1.1rem;}
}
@media (max-width: 768px) {
  h1 {font-size: 1.5rem;}
  h2 {font-size: 1.18rem;}
  h3 {font-size: 1.05rem;}
  body {font-size: 15px;}
}

/* ===============================
   Utilities
=============================== */
.text-center { text-align: center; }
.muted {
  color: #A3978B !important;
}
.capitalize {text-transform: capitalize;}
.uppercase {text-transform: uppercase;}

/* ===============================
   Icon Alignment
=============================== */
ul li img, span img {
  height: 20px;
  width: 20px;
  margin-right: 10px;
  vertical-align: middle;
  display: inline;
}

/* ===============================
   Mobile Navigation
=============================== */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 16px;
  right: 18px;
  z-index: 1200;
  background: #fff;
  border: 1px solid #D3B97C;
  color: #24264C;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  font-size: 2rem;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border 0.18s;
  box-shadow: 0 2px 10px rgba(36,38,76,0.06);
}
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
    right: 15px;
    top: 13px;
  }
}

.mobile-menu {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: #F4EDEA;
  box-shadow: 0 2px 24px rgba(36,38,76,0.15);
  z-index: 2100;
  transform: translateX(-100vw);
  transition: transform 0.33s cubic-bezier(.75,.04,.31,1.21);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 36px;
  gap: 0;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  position: absolute;
  top: 16px; right: 20px;
  font-size: 2.1rem;
  width: 44px; height: 44px;
  background: none;
  border: none;
  color: #24264C;
  cursor: pointer;
  transition: color 0.18s;
  border-radius: 50%;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #D3B97C;
  background: #f9f6f2;
  outline: none;
}

.mobile-nav {
  width: 100%;
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
.mobile-nav a {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.24rem;
  color: #24264C;
  padding: 10px 32px 10px 26px;
  border-radius: 12px;
  transition: background 0.18s, color 0.18s;
  width: 100%;
  display: block;
  margin-bottom: 4px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #EDE5E1;
  color: #D3B97C;
  outline: none;
}

@media (max-width: 480px) {
  .mobile-nav a {
    font-size: 1.10rem;
    padding-left: 18px;
    padding-right: 12px;
  }
  .mobile-menu-close {right: 10px; top: 10px;}
}

/* ===============================
    Cookie Consent Banner
=============================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 2300;
  background: #fffdf8;
  color: #24264C;
  box-shadow: 0 -3px 16px rgba(36,38,76,0.09);
  border-top: 2px solid #D3B97C;
  padding: 18px 12px 20px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  transition: opacity 0.25s, visibility 0.2s;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-banner.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.cookie-banner-message {
  flex: 1 1 60%;
  font-size: 1em;
  color: #24264C;
}
.cookie-banner-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
  flex: none;
}
.cookie-btn, .cookie-btn-secondary {
  padding: 8px 22px;
  border: none;
  border-radius: 26px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1em;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(211,185,124,0.05);
  transition: background 0.18s, color 0.16s;
}
.cookie-btn {
  background: #D3B97C;
  color: #24264C;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #24264C;
  color: #FFDFAF;
  outline: none;
}
.cookie-btn-secondary {
  background: none;
  color: #24264C;
  border: 1.5px solid #D3B97C;
}
.cookie-btn-secondary:hover {
  background: #FFF8ED;
  color: #D3B97C;
}

@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    gap: 10px;
    padding: 13px 5px 13px;
    font-size: 14px;
  }
  .cookie-banner-actions {
    gap: 6px;
  }
}

/* ================================
   Cookie Preferences Modal Popup
================================ */
.cookie-modal-overlay {
  position: fixed;
  z-index: 3000;
  left: 0; top: 0; width:100vw; height:100vh;
  background: rgba(36,38,76,0.18);
  pointer-events: auto;
  opacity: 1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  transition: opacity 0.16s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  color: #24264C;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 6px 32px rgba(36,38,76,0.17);
  padding: 34px 26px 26px;
  width: 98vw;
  max-width: 390px;
  min-height: 310px;
  position: relative;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modalSlideIn 0.33s cubic-bezier(.63,-0.3,.34,1.35) both;
}
@keyframes modalSlideIn {
  from {transform: translateY(60px); opacity: 0;}
  to {transform: translateY(0); opacity: 1;}
}
.cookie-modal-close {
  position: absolute;
  top: 11px; right: 12px;
  background: none;
  border: none;
  color: #24264C;
  font-size: 2rem;
  cursor: pointer;
  border-radius: 0.75em;
  width: 34px; height: 34px;
  transition: background 0.16s, color 0.15s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #F4EDEA;
  color: #D3B97C;
}
.cookie-modal h2 {
  margin-bottom: 8px; font-size: 1.2rem;
}
.cookie-modal-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 7px 0;
  font-size: 1em;
}
.cookie-toggle {
  margin-left: auto;
  accent-color: #D3B97C;
  width: 22px; height: 22px;
  border: 1px solid #D3B97C;
  border-radius: 7px;
}
.cookie-toggle[disabled], .cookie-toggle.disabled {
  opacity: 0.5;
  pointer-events: none;
}

.cookie-modal .cookie-btn {
  width: 100%;
  margin-top: 16px;
}

@media (max-width: 600px) {
  .cookie-modal {
    padding: 18px 3vw 16px;
    max-width: 99vw;
    min-width: 0;
  }
}

/* ================================
   Micro-Interactions & Transitions
================================ */
button, [type="button"], [type="submit"] {
  transition: background 0.18s, color 0.15s, box-shadow 0.15s;
}

section, .card, .testimonial-card {
  transition: box-shadow 0.20s, border-color 0.15s, background 0.15s, transform 0.2s;
}

.card:active, .testimonial-card:active {
  transform: scale(.98);
}

/* ================================
   Miscellaneous
================================ */
::-webkit-input-placeholder {color:#A3978B;opacity:1;}
::-moz-placeholder          {color:#A3978B;opacity:1;}
:-ms-input-placeholder      {color:#A3978B;opacity:1;}
::placeholder               {color:#A3978B;opacity:1;}

hr {
  border: none;
  border-bottom: 1.5px solid #E7DFD9;
  margin: 32px 0 24px;
}

/* ================================
   Accessibility
================================ */
:focus-visible {
  outline: 2px solid #D3B97C;
  outline-offset: 2px;
}

/* ================================
   Print
================================ */
@media print {
  header, nav, .mobile-menu, .cookie-banner, .cookie-modal-overlay, footer {display: none !important;}
  section, main {background: #fff !important; color: #111 !important;}
  body {background: #fff; color: #111;}
}

/* ================================
   Classic/Elegant Details
================================ */
/* Elegant dropcaps for some first paragraphs (if class is used) */
.dropcap::first-letter {
  font-family: 'Playfair Display', Georgia, serif;
  float: left;
  font-size: 2.7em;
  line-height: 1;
  padding-right: 6px;
  color: #D3B97C;
  font-weight: 700;
  margin-top: 2px;
}

/* Subtle card shadow for depth */
.card, .testimonial-card {
  box-shadow: 0 2px 11px rgba(36,38,76,0.08);
}

/* Responsive padding for .container in mobile */
@media (max-width: 450px) {
  .container { padding-left: 2.5vw; padding-right: 2.5vw; }
}

/* Elegant horizontal line */
.hr-elegant {
  border: none;
  border-bottom: 1.5px solid #D3B97C;
  width: 40vw;
  max-width: 150px;
  margin: 32px auto 32px auto;
}


/* ===============================
   END OF CSS
=============================== */
