/* ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
   CSS RESET & NORMALIZE (modern minimal reset)
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: */
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, 
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 {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #FAF8F6;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  color: #23204A;
  background: #FAF8F6;
  line-height: 1.65;
  letter-spacing: 0.01em;
}
ul, ol {
  padding-left: 1.4em;
}
a {
  color: #625D95;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #23204A;
  text-decoration: underline;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button, input[type="submit"], .cta-button {
  font-family: inherit;
  border: none;
  outline: none;
  cursor: pointer;
  background: none;
}
button:focus, .cta-button:focus {
  outline: 2px solid #625D95;
  outline-offset: 2px;
}
strong { font-weight: 600; }
em { font-style: italic; }

/* ::::::::::::::::::
   TYPOGRAPHY
:::::::::::::::::::: */
h1, .h1 { font-family: 'Playfair Display', serif; font-size: 2.4rem; font-weight: 700; color: #23204A; margin-bottom: 16px; letter-spacing: 0.01em; }
h2, .h2 { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 600; color: #23204A; margin-bottom: 12px; }
h3, .h3 { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 600; color: #625D95; margin-bottom: 8px; }
h4, .h4 { font-size: 1.1rem; font-weight: 600; color: #23204A; }
p, li { font-size: 1rem; color: #23204A; margin-bottom: 12px; }
ul, ol { margin-bottom: 16px; }
.text-section ul, .text-section ol, .content-wrapper ul, .content-wrapper ol { margin-bottom: 20px; }
@media (min-width: 600px) {
  h1, .h1 { font-size: 3rem; }
  h2, .h2 { font-size: 2.2rem; }
  h3, .h3 { font-size: 1.4rem; }
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

/* ::::::::::::::::::
   PASTEL COLOR PALETTE
   Brand: primary #23204A, secondary #C9B38C, accent #E6DED5
   Extended soft pastel scheme:
     lilac: #E7E5F6 | blush: #F8EBF2 | mint: #E6F6EA | vanilla: #FDF6E5
:::::::::::::::::::: */
:root {
  --brand-primary: #23204A;
  --brand-secondary: #C9B38C;
  --brand-accent: #E6DED5;
  --pastel-lilac: #E7E5F6;
  --pastel-blush: #F8EBF2;
  --pastel-mint: #E6F6EA;
  --pastel-vanilla: #FDF6E5;
  --pastel-blue: #D7EAF7;
  --pastel-yellow: #FFF5D6;
  --neutral-bg: #FAF8F6;
  --neutral-white: #FFF;
  --text-dark: #23204A;
  --text-soft: #4D4A6A;
  --shadow-soft: 0 4px 20px 0 rgba(35,32,74,0.08), 0 1.5px 4px rgba(201,179,140,0.03);
  --radius-card: 18px;
  --radius-section: 26px;
  --transition: 0.18s cubic-bezier(.4,.32,0,1);
}

/* ::::::::::::::::::
   CONTAINER & LAYOUT
:::::::::::::::::::: */
.container {
  width: 100%;
  max-width: 1050px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
}
@media (min-width: 900px) {
  .container { padding: 0 32px; }
}

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

/* ::::::::::::::::::
   HEADER & NAVIGATION
:::::::::::::::::::: */
header {
  background: linear-gradient(180deg,var(--pastel-lilac),var(--neutral-bg) 90%);
  box-shadow: 0 2px 12px 0 rgba(35,32,74,0.07);
  position: relative;
  z-index: 30;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 12px;
  padding-bottom: 12px;
}
nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
nav a {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #4D4A6A;
  padding: 7px 2px;
  border-radius: 6px;
  transition: background var(--transition), color var(--transition);
}
nav a:hover, nav a:focus {
  background: var(--pastel-blush);
  color: var(--brand-primary);
}
header .cta-button {
  margin-left: 8px;
}
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-primary);
  color: #fff;
  font-size: 2rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  margin-left: 16px;
  transition: box-shadow var(--transition), background var(--transition);
  box-shadow: 0 2px 8px rgba(114,97,185,0.10);
  z-index: 105;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}
@media (min-width: 1000px) {
  .mobile-menu-toggle { display: none; }
}
/* Hide desktop nav on mobile */
@media (max-width: 1000px) {
  nav {
    display: none;
  }
  header .cta-button {
    display: none;
  }
}

/* ::::::::::::::::::
   MOBILE MENU
:::::::::::::::::::: */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(243,240,251,0.98);
  backdrop-filter: blur(1px);
  z-index: 200;
  transform: translateX(-100%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(.44,.1,.09,.89), opacity 0.25s;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 18px 24px 0 0;
  background: none;
  border: none;
  color: var(--brand-primary);
  font-size: 2.1rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 50%;
  width: 48px; height: 48px;
  display: flex; justify-content: center; align-items: center;
  transition: background var(--transition), color var(--transition);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--pastel-blush);
  color: var(--brand-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.8rem;
  padding: 32px 0 0 38px;
}
.mobile-nav a {
  font-size: 1.2rem;
  padding: 10px 0 10px 8px;
  color: var(--brand-primary);
  border-radius: 8px;
  margin-bottom: 6px;
  background: none;
  transition: background var(--transition), color var(--transition);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--brand-accent);
  color: var(--brand-secondary);
}
@media (min-width: 1000px) {
  .mobile-menu { display: none !important; }
}

/* Ensure mobile menu overlay covers all content */
@media (max-width: 999px) {
  .mobile-menu { display: flex; }
}

/* ::::::::::::::::::
   CTA BUTTONS
:::::::::::::::::::: */
.cta-button {
  background: linear-gradient(90deg, var(--pastel-blush) 10%, var(--pastel-lilac) 90%);
  color: var(--brand-primary);
  border-radius: 14px;
  padding: 11px 32px;
  font-size: 1.08rem;
  font-family: 'Playfair Display', serif;
  letter-spacing: 0.01em;
  font-weight: 600;
  margin-top: 10px;
  margin-bottom: 5px;
  transition: background var(--transition), box-shadow var(--transition), color var(--transition), transform 0.08s;
  box-shadow: 0 4px 15px 0 rgba(208,188,227,0.07);
  display: inline-block;
}
.cta-button:hover, .cta-button:focus {
  background: var(--brand-secondary);
  color: #fff;
  box-shadow: 0 7px 28px 0 rgba(142,113,185,0.11);
  transform: translateY(-1px) scale(1.03);
}

/* ::::::::::::::::::
   CARD, FEATURE, TESTIMONIAL LAYOUTS (FLEX)
:::::::::::::::::::: */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
  margin-bottom: 20px;
  justify-content: flex-start;
}
.feature-grid > div {
  background: var(--pastel-lilac);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  padding: 26px 20px 24px 20px;
  flex: 1 1 220px;
  min-width: 210px;
  max-width: 310px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow var(--transition), background var(--transition), transform 0.14s;
}
.feature-grid > div img { width: 44px; height: 44px; margin-bottom: 7px; }
.feature-grid > div:hover, .feature-grid > div:focus {
  background: var(--pastel-vanilla);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 30px 0 rgba(192,150,200,0.12);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--neutral-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  padding: 24px 22px;
  flex: 1 1 290px;
  min-width: 200px;
  transition: box-shadow var(--transition), transform 0.14s;
}
.card:hover, .card:focus {
  box-shadow: 0 10px 32px 0 rgba(176,160,203,.13);
  transform: scale(1.016);
}
.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) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

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

/* Testimonials */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 26px 18px 26px;
  margin-bottom: 20px;
  background: var(--pastel-mint);
  border-radius: var(--radius-card);
  box-shadow: 0 2.5px 18px 0 rgba(35,32,74,0.10);
  color: var(--text-dark);
  font-size: 1.08rem;
  position: relative;
  transition: box-shadow var(--transition), background var(--transition), transform 0.14s;
}
.testimonial-card:hover {
  background: var(--pastel-yellow);
  box-shadow: 0 9px 32px 0 rgba(120,110,170,0.09);
  transform: scale(1.02);
}
.testimonial-card p {
  color: var(--text-dark);
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  margin-bottom: 5px;
}
.testimonial-card div {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 0.98rem;
  color: var(--text-soft);
}

/* ::::::::::::::::::
   SPACING & HIERARCHY
:::::::::::::::::::: */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: var(--radius-section);
  background: var(--neutral-bg);
  box-shadow: none;
  transition: background var(--transition), box-shadow var(--transition);
}
section:not(:first-of-type) {
  box-shadow: var(--shadow-soft);
}
section:last-of-type {
  margin-bottom: 36px;
}
@media (min-width: 800px) {
  section {
    padding: 58px 38px;
  }
}

/* ::::::::::::::::::
   FOOTER
:::::::::::::::::::: */
footer {
  background: linear-gradient(90deg,var(--pastel-lilac) 60%,var(--pastel-blush) 100%);
  padding: 32px 0 16px 0;
  font-size: 1rem;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.footer-links {
  display: flex;
  gap: 18px;
  align-items: center;
  color: #4D4A6A;
  margin-bottom: 5px;
}
.footer-links a {
  color: var(--brand-primary);
  font-size: 0.99rem;
  transition: color var(--transition);
  padding: 0 3px;
}
.footer-links a:hover {
  color: var(--brand-secondary);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #75748B;
  font-size: 0.99rem;
}
.footer-brand img {
  height: 29px;
  width: auto;
  opacity: 0.90;
}

/* ::::::::::::::::::
   FORM ELEMENTS (for contact forms)
:::::::::::::::::::: */
input, textarea {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  border-radius: 10px;
  border: 1px solid #d8d5ea;
  font-size: 1rem;
  padding: 0.75em;
  margin-bottom: 18px;
  width: 100%;
  background: var(--neutral-white);
  transition: border var(--transition), box-shadow var(--transition);
}
input:focus, textarea:focus {
  border-color: var(--brand-secondary);
  box-shadow: 0 0 0 2px var(--pastel-lilac);
  outline: none;
}
label {
  font-weight: 500;
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 4px;
}

/* ::::::::::::::::::
   COOKIE CONSENT BANNER/BUTTONS
:::::::::::::::::::: */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 400;
  background: var(--pastel-blush);
  border-top: 2px solid var(--brand-secondary);
  box-shadow: 0 -2px 22px 0 rgba(130,110,146,0.10);
  padding: 24px 18px 16px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  animation: cookieFadeIn 0.67s ease;
}
@keyframes cookieFadeIn { from { opacity: 0; transform: translateY(25px);} to {opacity:1; transform: none;} }
.cookie-banner p {
  color: var(--brand-primary);
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 1rem;
  text-align: center;
  margin-bottom: 0;
}
.cookie-buttons {
  display: flex;
  gap: 16px;
}
.cookie-btn {
  background: var(--brand-secondary);
  color: #fff;
  border-radius: 10px;
  padding: 9px 20px;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0px;
  border: none;
  box-shadow: 0 2px 10px 0 rgba(196,170,166,0.08);
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--brand-primary);
  color: #fff;
  box-shadow: 0 7px 24px 0 rgba(114,97,185,0.10);
}
.cookie-btn.settings {
  background: var(--pastel-lilac);
  color: var(--brand-primary);
  border: 1px solid var(--brand-secondary);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--pastel-vanilla);
  color: var(--brand-secondary);
}

.cookie-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(50,40,90,0.23);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieOverlayFadeIn 0.40s;
}
@keyframes cookieOverlayFadeIn { from { opacity: 0; } to { opacity: 1; } }
.cookie-modal {
  background: var(--neutral-white);
  border-radius: 22px;
  box-shadow: 0 5px 44px 0 rgba(100,84,143,0.17);
  max-width: 380px;
  width: 90vw;
  padding: 32px 20px 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  animation: cookieDialogPop 0.44s cubic-bezier(.44,.05,.14,.98);
}
@keyframes cookieDialogPop { from {transform: scale(0.89); opacity:0;} to {transform: none; opacity:1;} }
.cookie-modal h2 {
  font-size: 1.25rem; color: var(--brand-primary);
  margin-bottom: 4px;
  font-family: 'Playfair Display', serif;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex; align-items: center; gap: 12px;
  font-size: 1rem; color: var(--text-dark);
}
.cookie-category label {
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 0;
}
.cookie-category input[type="checkbox"] {
  width: 19px; height: 19px;
  accent-color: var(--brand-secondary);
}
.cookie-modal .cookie-buttons {
  width: 100%;
  justify-content: flex-end;
  gap: 10px;
}

/* ::::::::::::::::::
   UTILITIES
:::::::::::::::::::: */
.flex-row { display: flex; flex-direction: row; gap: 20px; }
.flex-col { display: flex; flex-direction: column; gap: 20px; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-20 { gap: 20px; }
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }

/* ::::::::::::::::::
   RESPONSIVE
:::::::::::::::::::: */
@media (max-width: 900px) {
  .feature-grid { gap: 16px; }
  .card-container, .content-grid { gap: 12px; }
}
@media (max-width: 700px) {
  .container { padding: 0 7px; }
  .feature-grid > div {
    min-width: 150px;
    max-width: 100%;
    padding: 19px 12px 18px 12px;
  }
  .testimonial-card {
    padding: 13px 10px 12px 14px;
  }
  section {
    padding: 24px 5px;
  }
}
@media (max-width: 550px) {
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 12px;
  }
  .footer-links {
    flex-direction: column;
    gap: 5px;
  }
  .footer-brand { flex-direction: column; gap: 5px; }
}

/* ::::::::::::::::::
   PASTEL DECORATIVE EFFECTS
:::::::::::::::::::: */
section {
  position: relative;
  overflow: hidden;
}
section::after {
  content: '';
  display: block;
  position: absolute;
  z-index: 1;
  top: 4%; right: -7%; height: 80px; width: 140px;
  background: var(--pastel-blush);
  opacity: .13;
  border-radius: 55px 150px 105px 60px;
  filter: blur(8px);
}
section:nth-of-type(even)::after {
  background: var(--pastel-lilac);
  top: 18%; left: -11%; right: auto;
  width: 110px; height: 110px;
  border-radius: 130px 90px 95px 100px;
  opacity: .11;
}
@media (max-width: 650px) {
  section::after {
    display: none;
  }
}

/* ::::::::::::::::::
   MICRO-INTERACTIONS & TRANSITIONS
:::::::::::::::::::: */
.cta-button, .feature-grid > div, .testimonial-card, .card {
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform 0.14s;
}

/* ::::::::::::::::::
   MISCELLANEOUS
:::::::::::::::::::: */
::-webkit-scrollbar { width: 9px; background: #ece6fd; }
::-webkit-scrollbar-thumb { background: #ded2f6; border-radius: 8px; }

/* ::::::::::::::::::
   PRINT OPTIMIZATION
:::::::::::::::::::: */
@media print {
  header, .mobile-menu, .cta-button, .cookie-banner, footer { display: none !important; }
  section, main, .container, .text-section, .content-wrapper { background: #fff !important; color: #222; box-shadow: none !important; }
}
