/* --- 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, 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;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.6;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #212121;
  background: #fff;
  min-height: 100vh;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
a {
  color: #423356;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #000;
  text-decoration: underline;
}
ul, ol {
  padding-left: 1.2em;
}

/* --- TYPOGRAPHY --- */
h1, .h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #111;
  margin-bottom: 20px;
}
h2, .h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  font-weight: 600;
  color: #212121;
  letter-spacing: -0.013em;
  margin-bottom: 16px;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #423356;
  margin-bottom: 8px;
}
h4, .h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}
p, .cta-text, .subheadline {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #222;
}
.subheadline {
  color: #423356;
  font-size: 1.15rem;
  margin-bottom: 18px;
  font-weight: 500;
  line-height: 1.4;
}
.cta-text {
  color: #111;
  font-size: 1.08rem;
  margin-bottom: 22px;
}
strong {
  font-weight: 700;
  color: #212121;
}

/* --- GENERAL CONTAINER --- */
.container {
  width: 100%;
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.map-placeholder {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #faf9f8;
  padding: 14px 16px;
  border-radius: 12px;
  margin-top: 18px;
  border: 1px solid #e4e1e0;
}

/* --- HEADER & NAV --- */
header {
  width: 100%;
  background: #fff;
  border-bottom: 1.5px solid #dedede;
  padding: 0;
  z-index: 700;
  position: sticky;
  top: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 0;
}
.logo img {
  height: 38px;
  width: auto;
  margin-right: 16px;
}
nav.main-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
nav.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: #423356;
  font-size: 1rem;
  letter-spacing: .01em;
  position: relative;
  padding: 8px 0 6px;
  transition: color .2s;
}
nav.main-nav a:hover, nav.main-nav a:focus {
  color: #000;
  text-decoration: underline;
}

.cta.primary, .cta.secondary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 10px 26px;
  border-radius: 28px;
  transition: background .18s, color .18s, box-shadow .18s, border .18s;
  box-shadow: 0 2px 8px 0 rgba(66,51,86,0.07);
  border: none;
  cursor: pointer;
  line-height: 1.2;
  outline: none;
  display: inline-block;
  text-align: center;
  margin-left: 18px;
}
.cta.primary {
  background: #423356;
  color: #fff;
  border: 1.5px solid #423356;
}
.cta.primary:hover, .cta.primary:focus {
  background: #fff;
  color: #423356;
  border: 1.5px solid #423356;
  box-shadow: 0 4px 18px -6px #323;
}
.cta.secondary {
  background: #fff;
  color: #423356;
  border: 1.5px solid #423356;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #423356;
  color: #fff;
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #423356;
  cursor: pointer;
  margin-left: 18px;
  z-index: 1101;
  transition: color .2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: #000;
}
.mobile-menu {
  display: none;
}
.mobile-menu.active {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34,31,33,0.97);
  z-index: 1102;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  animation: mobileMenuIn .35s cubic-bezier(0.75,0,0.2,1);
}
@keyframes mobileMenuIn {
  from { transform: translateX(100%); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.1rem;
  margin: 24px 32px 10px 0;
  cursor: pointer;
  transition: color .2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #FFD96B;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 32px 0 32px;
  gap: 28px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.28rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  padding: 8px 0;
  transition: color .18s, background .18s;
  border-radius: 8px;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #FFD96B;
  background: #423356;
}

/* --- HERO SECTION --- */
.hero {
  width: 100%;
  background: #fafafb;
  border-bottom: 1.5px solid #ebe8e7;
  padding: 0;
}
.hero .container {
  min-height: 320px;
  justify-content: center;
  align-items: center;
  padding-top: 24px;
  padding-bottom: 24px;
}
.hero .content-wrapper {
  align-items: flex-start;
  max-width: 680px;
  margin: 0 auto;
  text-align: left;
  gap: 14px;
}

/* --- SECTION SPACING & ALIGNMENT --- */
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.features, .services, .about, .cta, .legal, .contact, .testimonials {
  width: 100%;
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
}
.features .container,
.services .container,
.cta .container,
.about .container,
.legal .container,
.contact .container,
.testimonials .container {
  gap: 0;
}
.card-container, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px 0 rgba(66,51,86,0.06);
  border: 1.5px solid #ebe8e7;
  overflow: hidden;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  gap: 12px;
}

/* --- FEATURES & SERVICES LISTS --- */
.features ul,
.services ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.features ul li,
.services ul li {
  display: flex;
  align-items: center;
  gap: 17px;
  font-size: 1.08rem;
  color: #222;
  background: #f7f7f8;
  border-radius: 12px;
  padding: 12px 18px;
  min-height: 48px;
  box-shadow: 0 3px 10px 0 rgba(195, 178, 172, 0.07);
  border: 1px solid #ecebeb;
  transition: box-shadow .17s, background .17s;
}
.features ul li img, .services ul li img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}
.features ul li:hover, .services ul li:hover {
  background: #ececeb;
  box-shadow: 0 5px 24px 0 rgba(66,51,86,0.07), 0 1px 5px rgba(66,51,86,0.04);
}

/* --- TESTIMONIALS --- */
.testimonials .container {
  flex-direction: column;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  background: #fff;
  color: #212121;
  border-left: 5px solid #423356;
  border-radius: 12px;
  padding: 20px 26px;
  box-shadow: 0 4px 15px 0 rgba(66,51,86,0.06);
  margin-bottom: 20px;
  min-width: 0;
  transition: border-color .18s, box-shadow .18s;
}
.testimonial-card p {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  line-height: 1.45;
  color: #212121;
  margin-bottom: 0;
  font-style: italic;
  flex: 1 1 auto;
}
.testimonial-card span {
  font-style: normal;
  font-weight: 500;
  font-size: 1rem;
  color: #423356;
  white-space: nowrap;
}
.testimonial-card:hover, .testimonial-card:focus {
  border-left: 5px solid #FFD96B;
  box-shadow: 0 6px 30px 0 rgba(66,51,86,0.11);
}

/* --- FOOTER --- */
footer {
  background: #232123;
  border-top: 1.5px solid #e5e2e4;
  color: #fff;
  width: 100%;
  padding: 0;
  font-size: 1rem;
  margin-top: 64px;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  padding: 40px 18px 20px 18px;
  gap: 30px;
}
.footer-brand img {
  height: 40px;
  width: auto;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a {
  color: #fff;
  opacity: .88;
  font-weight: 500;
  font-size: 1rem;
  transition: color .18s, opacity .18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #FFD96B;
  opacity: 1;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: .98rem;
  opacity: .85;
}
.footer-social {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
.footer-social a img {
  width: 30px;
  height: 30px;
  filter: grayscale(1) brightness(1.25);
  transition: filter .2s;
}
.footer-social a:hover img {
  filter: grayscale(0) brightness(1) drop-shadow(0 2px 4px #FFD96B66);
}
.footer-legal {
  width: 100%;
  text-align: center;
  font-size: .96rem;
  color: #eee;
  opacity: .76;
  margin-top: 20px;
}

/* --- BUTTONS & MICRO-INTERACTIONS --- */
button, .cta {
  transition: background .17s, color .17s, box-shadow .17s, border .17s, opacity .15s;
}
button:active, .cta:active {
  opacity: .82;
}

/* --- QUICK LINKS --- */
.quick-links {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.quick-links a {
  color: #423356;
  font-size: 1rem;
  font-weight: 500;
}
.quick-links a:hover, .quick-links a:focus {
  color: #FFD96B;
}

/* --- LEGAL PAGE STYLES --- */
.legal .content-wrapper {
  align-items: flex-start;
  gap: 18px;
}
.legal .text-section ul {
  list-style: disc;
  padding-left: 1.3em;
  margin-top: 8px;
  gap: 10px;
}

/* --- RESPONSIVE DESIGN (MOBILE-FIRST) --- */
@media (max-width: 1199px) {
  .container { max-width: 980px; }
}
@media (max-width: 1024px) {
  .container { max-width: 92vw; }
  nav.main-nav { gap: 16px; }
  footer .container { gap: 20px; }
}
@media (max-width: 900px) {
  .container { max-width: 100vw; padding: 0 8px; }
  .content-wrapper { gap: 14px; }
  footer .container { flex-wrap: wrap; gap: 16px; padding: 32px 8px 18px 8px; }
}
@media (max-width: 768px) {
  h1, .h1 { font-size: 1.7rem; }
  h2, .h2 { font-size: 1.22rem; }
  .hero .container { min-height: 220px; padding-bottom: 11px; padding-top: 11px; }
  nav.main-nav, .cta.primary, .cta.secondary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .footer-brand img { height: 33px; }
  .footer-nav, .footer-contact, .footer-social {
    margin-bottom: 7px;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    padding: 20px 8px 12px 8px;
  }
  .section, section { margin-bottom: 40px; padding: 30px 8px; }
  .features, .services, .about, .cta, .legal, .contact, .testimonials {
    margin-bottom: 40px;
    padding: 20px 0 20px 0;
  }
  .features ul li, .services ul li {
    font-size: .96rem;
    padding: 9px 10px;
    min-height: 35px;
  }
  .card-container, .card-grid, .content-grid {
    flex-direction: column;
    gap: 16px;
    justify-content: flex-start;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    padding: 14px 11px;
    font-size: .99rem;
  }
  .quick-links {
    gap: 6px;
    font-size: .98rem;
  }
  .text-image-section {
    flex-direction: column;
    gap: 13px;
  }
}
@media (max-width: 480px) {
  .container { padding: 0 2px; }
  h1, .h1 { font-size: 1.29rem; }
  h2, .h2 { font-size: 1.07rem; }
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100vw;
  z-index: 1400;
  background: #212021;
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  box-shadow: 0 -2px 24px rgba(66,51,86,0.13);
  font-size: 1rem;
  gap: 22px;
  transition: transform .3s cubic-bezier(.77,0,.18,1), opacity .15s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner .cookie-text {
  flex: 1 1 auto;
  margin-right: 18px;
  color: #fff;
  font-size: 1rem;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  border-radius: 22px;
  padding: 8px 18px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  color: #423356;
  background: #fff;
  margin: 0;
  transition: background .14s, color .14s, box-shadow .14s;
}
.cookie-btn.accept {
  background: #FFD96B;
  color: #111;
}
.cookie-btn.cookie-settings {
  background: #fff;
  color: #423356;
  border: 1.2px solid #423356;
}
.cookie-btn.reject {
  background: #fff;
  color: #aaa;
  border: 1.2px solid #bbb;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #423356;
  color: #fff;
  border-color: #423356;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #423356;
  color: #FFD96B;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 8px;
    font-size: .97rem;
  }
  .cookie-banner .cookie-actions {
    gap: 11px;
  }
  .cookie-banner .cookie-text {
    margin-right: 0;
  }
}

/* --- COOKIE PREFERENCES MODAL --- */
.cookie-modal {
  display: none;
  position: fixed;
  z-index: 1600;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34, 31, 33, 0.93);
  justify-content: center;
  align-items: center;
}
.cookie-modal.active {
  display: flex;
  animation: fadeIn .22s cubic-bezier(.55,.06,.26,1.17);
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  color: #222;
  border-radius: 18px;
  padding: 36px 22px 24px 22px;
  min-width: 320px;
  max-width: 96vw;
  box-shadow: 0 8px 54px -10px #42335644, 0 1.5px 10px #42335612;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-modal-content h3 {
  color: #423356;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.cookie-category-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 22px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  padding: 10px 0;
}
.cookie-category label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #222;
}
.cookie-toggle {
  width: 40px;
  height: 21px;
  background: #ebebeb;
  border-radius: 12px;
  position: relative;
  margin-right: 7px;
  transition: background .18s;
  cursor: pointer;
  border: 1px solid #d4d2d2;
}
.cookie-toggle[aria-checked="true"] {
  background: #423356;
  border-color: #423356;
}
.cookie-toggle[aria-checked="true"]:before {
  left: 19px;
}
.cookie-toggle:before {
  content: '';
  display: block;
  position: absolute;
  top: 2.5px;
  left: 2.5px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: left .17s cubic-bezier(.37,.21,.35,.92);
  box-shadow: 0 1px 5px rgba(66,51,86,0.08);
}
.cookie-modal-content .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-modal-close {
  position: absolute;
  top: 8px; right: 14px;
  border: none;
  background: none;
  color: #423356;
  font-size: 2rem;
  cursor: pointer;
  transition: color .18s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #FFD96B;
}
@media (max-width: 420px) {
  .cookie-modal-content {
    min-width: 0;
    width: 98vw;
    padding: 18px 3vw 14px 3vw;
  }
}

/* --- Z-INDEX SAFETY --- */
header, .mobile-menu, .cookie-banner, .cookie-modal { z-index: 1000; }

/* --- MISC & UTILITY --- */
::-webkit-scrollbar { width: 8px; background: #eceaea; }
::-webkit-scrollbar-thumb { background: #e2e2e2; border-radius: 8px; }
::-webkit-selection { background: #FFD96B; color: #222; }
::selection { background: #FFD96B; color: #222; }

/* --- FORM ELEMENTS (for possible future use) --- */
input, textarea, select {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 8px 12px;
  border-radius: 7px;
  border: 1px solid #dad6d6;
  background: #fafafb;
  color: #222;
  transition: border .15s, box-shadow .15s;
}
input:focus, textarea:focus, select:focus {
  border-color: #423356;
  outline: 2px solid #FFD96B;
}

/* --- SPECIAL --- */
html.monochrome_sophisticated,
body.monochrome_sophisticated {
  background: #fcfcfb;
  color: #222;
}

/****--- END CSS ---****/
