/* --- 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 { line-height: 1.15; -webkit-text-size-adjust: 100%; }
body { min-height:100vh; background-color: #FFF; }
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
  display: block;
}
ol, ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img, svg { display: inline-block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; outline: none; }
button { background: none; border: none; cursor: pointer; }

/* --- BRAND COLORS & FONTS (Modern Bold Aesthetic) --- */
:root {
  --primary: #5B3A70;
  --secondary: #D7B6DF;
  --accent: #F9F7EF;
  --black: #1F1626;
  --white: #FFF;
  --gray: #ECE7F6;
  --shadow: rgba(91,58,112,0.20);
  --success: #3EB67E;
  --danger: #D82D57;
  --brand-radius: 18px;
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  src: local('Playfair Display Bold'), local('PlayfairDisplay-Bold'),
    url('https://fonts.gstatic.com/s/playfairdisplay/v28/nuFvD-vYSZviVYUb_rj3ij__anPXDTg.woff2') format('woff2');
}
@import url('https://fonts.googleapis.com/css?family=Lato:400,700&display=swap');
body {
  font-family: 'Lato', Arial, sans-serif;
  color: var(--black);
  background: var(--accent);
  font-size: 16px;
  line-height: 1.5;
  min-height: 100vh;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.5px;
}
h1 { font-size: 2.7rem; line-height: 1.15; margin-bottom: 18px; }
h2 { font-size: 2rem; line-height: 1.2; margin-bottom: 16px; }
h3 { font-size: 1.2rem; line-height: 1.3; margin-bottom: 12px; }
h4, h5, h6 { font-family: 'Lato', Arial, sans-serif; font-weight: 700; }
p, ul, ol, address, blockquote { font-size: 1rem; margin-bottom: 16px; }
strong, b { font-weight: 700; }
em, i { font-style: italic; }
a { color: var(--primary); transition: color .2s; }
a:hover, a:focus {
  color: var(--danger);
  text-decoration: underline;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  position: relative;
}
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}

/* --- HEADER & NAVIGATION --- */
header {
  width: 100%;
  background: var(--white);
  border-bottom: 4px solid var(--primary);
  position: sticky;
  top: 0; left: 0;
  z-index: 60;
}
header nav {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 20px;
  position: relative;
}
header nav > a img {
  height: 46px;
}
header nav ul {
  display: flex;
  gap: 28px;
  align-items: center;
}
header nav ul li {
  margin: 0;
}
header nav ul li a {
  font-size: 1rem;
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.7px;
  color: var(--primary);
  padding: 8px 12px;
  border-radius: 8px;
  transition: background .18s, color .18s;
  position: relative;
  z-index:20;
}
header nav ul li a:hover, header nav ul li a:focus {
  color: var(--white);
  background: var(--secondary);
}
.cta-button {
  background: var(--primary);
  color: var(--white);
  border-radius: 12px;
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 700;
  padding: 12px 32px;
  font-size: 1.05rem;
  border: none;
  transition: background .20s, box-shadow .20s, color .20s;
  box-shadow: 0 3px 16px var(--shadow), 0 1.5px 0px #D7B6DF;
  letter-spacing: 0.5px;
  margin-left: 16px;
  cursor: pointer;
  outline: none;
  display:inline-block;
}
.cta-button:hover, .cta-button:focus {
  background: var(--danger);
  color: var(--white);
  box-shadow: 0 6px 24px var(--secondary);
}

.mobile-menu-toggle {
  display: none;
  z-index: 120;
  font-size: 2.15rem;
  background: var(--primary);
  color: var(--white);
  width: 48px;
  height: 48px;
  border-radius: 9px;
  border: none;
  align-items: center;
  justify-content: center;
  transition: background .16s;
  position: absolute;
  right: 20px; top: 16px;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--secondary);
  color: var(--primary);
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100vw;
  width: 88vw;
  max-width: 380px;
  height: 100vh;
  background: var(--white);
  box-shadow: -3px 0 20px var(--shadow);
  z-index: 1001;
  transition: right 0.35s cubic-bezier(0.82,0,0.32,0.97);
  display: flex;
  flex-direction: column;
  padding: 34px 28px 32px 24px;
  gap: 20px;
  will-change: right;
}
.mobile-menu.open {
  right: 0; /* slide in */
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: var(--primary);
  align-self: flex-end;
  background: var(--gray);
  border-radius: 8px;
  width: 44px;
  height: 44px;
  transition: background .19s, color .19s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--danger);
  color: var(--white);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 8px;
}
.mobile-nav a {
  font-size: 1.11rem;
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 700;
  color: var(--primary);
  padding: 10px 0 10px 8px;
  border-radius: 7px;
  transition: background .18s, color .18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: var(--white);
}
body.mobile-no-scroll {
  overflow: hidden !important;
}

@media (max-width: 1020px) {
  header nav {
    gap: 12px;
  }
  header nav ul {
    gap: 12px;
  }
}
@media (max-width: 880px) {
  header nav ul { display: none; }
  .cta-button { display: none; }
  .mobile-menu-toggle { display: flex; }
}
@media (max-width: 480px) {
  header nav { height: 64px; }
  header nav > a img { height: 34px; }
  .mobile-menu-toggle {width:38px; height:38px;  right: 6px; top: 12px; font-size:1.5rem;}
}

/* --- HERO, SECTION, CARDS, LAYOUTS --- */
.hero {
  background: var(--secondary);
  border-radius: var(--brand-radius);
  margin: 32px 0 60px 0;
  box-shadow: 0 8px 24px var(--shadow);
  padding: 36px 24px 48px 24px;
  display: flex;
  align-items: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 22px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 24px 0 0 0;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--white);
  border-radius: var(--brand-radius);
  box-shadow: 0 4px 20px var(--shadow);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 230px;
  flex: 1 1 270px;
  transition: box-shadow .2s, transform .2s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 32px var(--secondary);
  transform: translateY(-4px) scale(1.014);
}

.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;
  padding: 20px;
  background: var(--accent);
  border-left: 8px solid var(--primary);
  border-radius: var(--brand-radius);
  box-shadow: 0 2px 10px var(--shadow);
  margin-bottom: 20px;
  color: var(--black);
  font-size: 1.1rem;
  max-width: 750px;
}
.testimonial-card p {
  color: var(--black);
  font-size: 1.07rem;
  margin:0;
}
.testimonial-card span {
  color: var(--primary);
  font-weight: 700;
  font-size: .99rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

ul, ol {
  padding-left: 22px;
}
ul > li:not(:last-child), ol > li:not(:last-child) {
  margin-bottom: 10px;
}

blockquote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.23rem;
  color: var(--primary);
  border-left: 6px solid var(--secondary);
  background: var(--accent);
  padding: 17px 32px;
  margin: 14px 0 14px 0;
  border-radius: 12px;
}
blockquote cite {
  display: block;
  font-size: .99rem;
  font-style: normal;
  color: var(--black);
  margin-top: 7px;
}
address {
  font-style: normal;
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 16px;
}

/* --- ABOUT, FOOTER, MAIN SECTIONS --- */
.about-short {
  background: var(--white);
  border-left: 11px solid var(--primary);
  border-radius: var(--brand-radius);
  box-shadow: 0 4px 18px var(--shadow);
}
.cta {
  background: var(--primary);
  color: var(--white);
  border-radius: var(--brand-radius);
  box-shadow: 0 6px 36px var(--shadow);
  text-align: left;
}
.cta h2, .cta h1 {
  color: var(--white);
}
.cta p {
  color: var(--accent);
}
footer {
  background: var(--secondary);
  color: var(--primary);
  margin-top: 48px;
  padding-top: 32px;
}
footer section {
  margin: 0; padding: 40px 20px 26px 20px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
}
footer .text-section {
  min-width: 190px;
  flex: 1 1 30%;
}
footer h3 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 8px;
}
footer ul li {
  margin-bottom: 8px;
  display: flex; align-items: center;
  gap: 8px;
  color: var(--primary);
}
footer img {
  height: 21px; width: 21px;
  margin-right: 6px;
  vertical-align: middle;
}
footer a {
  color: var(--primary);
  font-weight: 700;
  transition: color .15s;
}
footer a:hover,footer a:focus {
  color: var(--danger);
  text-decoration: underline;
}

/* --- BUTTONS, FORMS, INPUTS --- */
input[type="search"], select {
  padding: 10px 14px;
  border: 2px solid var(--primary);
  border-radius: 11px;
  background: var(--accent);
  color: var(--primary);
  font-size: 1rem;
  margin-right: 10px;
  margin-bottom: 10px;
  transition: border .2s;
  outline: none;
}
input[type="search"]:focus, select:focus {
  border-color: var(--danger);
}
label {
  font-weight: 700;
  color: var(--primary);
  margin-right: 7px;
  font-size: 1rem;
}

/* --- FAQ, OL/UL, SPECIAL ELEMENTS --- */
.faq ul {
  list-style: disc inside;
}
.faq li {
  margin-bottom: 18px;
  font-size: 1.07rem;
  color: var(--black);
}
.faq li strong {
  color: var(--primary);
  font-weight: bold;
}

/* --- UTILITIES --- */
.text-section {
  margin-bottom: 20px;
}
.bg-accent {
  background: var(--accent)!important;
}
.bg-secondary {
  background: var(--secondary)!important;
}
.bg-white {
  background: var(--white)!important;
}
.mt-32 { margin-top:32px; }
.mb-32 { margin-bottom:32px; }
.mb-20 { margin-bottom:20px; }
.mb-10 { margin-bottom:10px; }

/* --- COOKIE CONSENT BANNER & MODAL --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  padding: 20px 18px;
  z-index: 2000;
  box-shadow: 0 -4px 28px var(--shadow);
  font-size: 1.05rem;
  animation: banner-fade-in .5s;
  gap: 26px;
}
@keyframes banner-fade-in { from { opacity:0; bottom:-50px;} to {opacity:1; bottom:0;} }
.cookie-banner .banner-buttons {
  display: flex;
  gap: 16px;
  align-items: center;
}
.cookie-btn {
  border-radius: 9px;
  font-weight: 700;
  padding: 10px 20px;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: background .18s, color .18s;
  color: var(--white);
}
.cookie-btn.accept {
  background: var(--success);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #48d693;
}
.cookie-btn.reject {
  background: var(--danger);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #f85f7c;
}
.cookie-btn.settings {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--accent);
  color: var(--primary);
}
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(91,58,112,0.44);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fade-in-bg .35s;
}
@keyframes fade-in-bg {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: var(--white);
  border-radius: 16px;
  max-width: 410px;
  width: 90vw;
  box-shadow: 0 12px 40px var(--shadow);
  padding: 32px 28px 24px 28px;
  color: var(--primary);
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: modal-slide-in .51s cubic-bezier(.88,1.0,.19,.92);
  position: relative;
}
@keyframes modal-slide-in {
  from { transform: translateY(96px) scale(0.98); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal-title {
  font-family: 'Playfair Display', serif;
  font-weight: bold;
  font-size: 1.23rem;
  color: var(--primary);
  margin-bottom: 4px;
}
.cookie-modal .category {
  margin-bottom: 18px;
  background: var(--accent);
  border-radius: 9px;
  padding: 12px 16px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
}
.cookie-modal label {
  font-size: .98rem;
  color: var(--primary);
  margin: 0 0 0 2px;
}
.cookie-modal input[type="checkbox"] {
  height: 19px; width: 19px;
  accent-color: var(--primary);
}
.cookie-modal .cookie-modal-close {
  position: absolute; right: 16px; top: 12px;
  background: none; border: none;
  font-size: 1.7rem;
  color: var(--primary);
  cursor: pointer;
  transition: color .14s;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus {
  color: var(--danger);
}

/* --- RESPONSIVE DESIGN (Mobile-First) --- */
@media (max-width: 940px) {
  .container { max-width: 98vw; }
  .content-wrapper, .footer .content-wrapper {
    gap: 12px;
  }
  .hero { flex-direction: column; align-items: flex-start; padding: 28px 12px; }
  .about-short, .cta, section { padding: 30px 10px; }
}
@media (max-width: 768px) {
  section { padding: 30px 6px; }
  .content-wrapper { gap: 10px; }
  .section { margin-bottom: 40px; padding: 28px 8px; }
  .card-container, .content-grid, .footer .content-wrapper {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-card { flex-direction: column; gap: 10px; }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
@media (max-width: 600px) {
  .hero { padding: 18px 6px 26px 6px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.38rem; }
}
@media (max-width: 480px) {
  .container { padding: 0 3px; }
  .cookie-modal { padding:20px 7px 14px 7px; }
}

/* --- MICRO-INTERACTIONS, HOVER & FOCUS --- */
input, select, button, .cta-button, a {
  transition: background-color .17s, box-shadow .18s, color .16s;
}
.cta-button:active { transform: scale(.98); }
.card:active { transform: scale(.98); }

/* --- GEOMETRIC MODERN BOLD DECORATION (EXAMPLES) --- */
.hero:before {
  content: '';
  display: block;
  position: absolute;
  top: -32px; right: -40px;
  width: 130px; height: 130px;
  background: var(--secondary);
  opacity: 0.6;
  border-radius: 40px;
  box-shadow: 0 8px 36px var(--secondary);
  z-index: 1;
  pointer-events: none;
}
.hero .container, .hero .content-wrapper { position: relative; z-index: 2; }
.about-short:before {
  content: '';
  display: block;
  position: absolute;
  bottom: -30px; left: -30px;
  width: 70px; height: 70px;
  background: var(--primary);
  opacity: 0.10;
  border-radius: 28px;
  z-index: 1;
}

/* Remove outlines but keep for accessibility */
:focus:not(:focus-visible) { outline: none; }
:focus-visible { outline:2px solid var(--danger); outline-offset:2px; }

/* --- Z-INDEX SAFE & NO OVERLAP --- */
section, .hero, .about-short, .cta, .card, .testimonial-card, .cookie-banner, .mobile-menu, .cookie-modal { z-index:0; }

/* --- Avoid ABSOLUTE for content (Only used for minor deco) --- */

/* --- ENSURE MINIMUM GAPS --- */
section + section, .section + .section {
  margin-top: 40px;
}
.card + .card, .testimonial-card + .testimonial-card {
  margin-top: 20px;
}

/* --- HIDE/SHOW MOB NAV/HEADER --- */
@media (max-width: 880px) {
  header nav ul, header nav .cta-button {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex !important;
  }
}

/* --- PRINT --- */
@media print {
  .mobile-menu,.cookie-banner,.cookie-modal-overlay,.cta-button,header,footer {display:none!important;}
  section,.container,.content-wrapper {padding:0!important;margin:0!important;}
}
