/* CSS RESET & BASE TYPOGRAPHY -------------------------------------------------------- */
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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  color: #403246;
  background-color: #FFF;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
ul, ol {
  list-style: disc inside;
}
a {
  color: #403246;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #AF7195;
  text-decoration: underline;
}
img {
  max-width: 100%;
  display: block;
}

/* FONT IMPORTS -------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Roboto:wght@400;500;700&display=swap');

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', serif;
  color: #403246;
}
h1 { font-size: 2.7rem; margin-bottom: 24px; font-weight: 700; }
h2 { font-size: 2rem; margin-bottom: 20px; font-weight: 700; }
h3 { font-size: 1.35rem; margin-bottom: 15px; font-weight: 700; }
h4, h5 { font-size: 1.1rem; margin-bottom: 10px; }

.subtitle {
  color: #8C687A;
  font-size: 1.2rem;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 24px;
}
p, li {
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.7;
  color: #403246;
}
strong {
  font-weight: 700;
}

/* CONTAINER & MAIN LAYOUT ------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}
main {
  width: 100%;
  padding-bottom: 40px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* WARM-FRIENDLY STYLE FOUNDATION ------------------------------------------------- */
:root {
  --primary: #403246;
  --secondary: #BBA3C6;
  --accent: #F0E6EF;
  --error: #b55555;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #F8F5F8;
  border-radius: 22px;
  box-shadow: 0 3px 16px rgba(187,163,198,0.07);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(187,163,198,0.12);
  padding: 28px 20px;
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 320px;
  min-width: 260px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 6px 28px rgba(187,163,198,0.18);
  transform: translateY(-3px) scale(1.015);
}
.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: #F0E6EF;
  color: #403246;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(187,163,198,0.12);
  padding: 20px;
  margin-bottom: 24px;
  position: relative;
  flex: 1 1 320px;
  min-width: 260px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

blockquote {
  font-size: 1.16rem;
  font-style: italic;
  color: #6a4066;
}
.author {
  font-size: 0.98rem;
  font-weight: 500;
  color: #7a5573;
  margin-left: 4px;
}

/* HEADER, NAVIGATION, and CTA BUTTONS -------------------------------------------- */
header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(64, 50, 70, 0.045);
  position: relative;
  z-index: 1000;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  min-height: 64px;
  padding-top: 13px;
  padding-bottom: 13px;
}
header nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
header nav a {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.02rem;
  color: var(--primary);
  padding: 8px 8px;
  border-radius: 10px;
  transition: background 0.2s, color 0.2s;
}
header nav a:hover, header nav a:focus {
  background: var(--accent);
  color: #af7195;
  text-decoration: none;
}
header img {
  height: 48px;
  width: auto;
  border-radius: 13px;
}
.cta-btn {
  background: var(--secondary);
  color: var(--primary);
  font-family: 'Playfair Display', serif;
  font-size: 1.08rem;
  padding: 13px 36px;
  border-radius: 18px;
  border: none;
  box-shadow: 0 2px 10px rgba(187,163,198,0.09);
  cursor: pointer;
  transition: background 0.18s, color 0.16s, transform 0.17s;
  font-weight: 700;
  margin-left: 10px;
  display: inline-block;
  text-align: center;
}
.cta-btn:hover, .cta-btn:focus {
  background: #e8cae6;
  color: #7f506c;
  transform: translateY(-2px) scale(1.03);
  outline: none;
  text-decoration: none;
}

/* MOBILE MENU ------------------------------------------------------------------ */
.mobile-menu-toggle {
  display: none;
  background: var(--accent);
  border: none;
  font-size: 2.1rem;
  padding: 6px 17px;
  border-radius: 13px;
  color: var(--primary);
  box-shadow: 0 1px 6px rgba(187,163,198,0.14);
  cursor: pointer;
  margin-left: 8px;
  transition: background 0.17s, box-shadow 0.17s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #f8f0f8;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; height: 100vh; width: 100vw;
  background: rgba(255,255,255,0.97);
  box-shadow: 0 8px 40px rgba(187,163,198,0.20);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  transform: translateX(-100%);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  background: transparent;
  border: none;
  padding: 16px 20px 6px 20px;
  font-size: 2.2rem;
  color: #7f506c;
  cursor: pointer;
  margin-bottom: 8px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.9rem;
  padding-left: 32px;
  margin-top: 22px;
}
.mobile-nav a {
  font-size: 1.15rem;
  color: var(--primary);
  padding: 8px 4px 8px 0;
  border-radius: 12px;
  font-weight: 500;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #af7195;
  background: var(--accent);
  text-decoration: none;
}
@media (max-width: 1024px) {
  header nav {
    display: none;
  }
  .cta-btn {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none!important;
  }
  .mobile-menu-toggle {
    display: none!important;
  }
}

/* HERO SECTIONS --------------------------------------------------------------- */
.hero {
  margin-bottom: 60px;
  padding: 60px 0 52px 0;
  background: var(--accent);
  border-radius: 0 0 34px 34px;
}
.hero .container {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 24px;
}
.hero h1 {
  font-size: 2.5rem;
  line-height: 1.1;
  color: var(--primary);
}
.hero .subtitle {
  font-size: 1.22rem;
  color: #7a5573;
}
.hero .cta-btn {
  margin-top: 25px;
}

/* SECTION-SPECIFIC STYLES ------------------------------------------------------ */
.features {
  margin-bottom: 60px;
  padding: 40px 0;
}
.features ul {
  margin-left: 24px;
}
.features li {
  margin-bottom: 15px;
}
.services {
  background: #fdf8fc;
  border-radius: 22px;
  box-shadow: 0 2px 18px rgba(187,163,198,0.06);
  margin-bottom: 60px;
  padding: 40px 20px;
}
.services ul {
  margin-left: 24px;
}
.services li {
  margin-bottom: 22px;
}
.testimonials {
  background: var(--accent);
  border-radius: 22px;
  margin-bottom: 60px;
  padding: 40px 20px;
}
.testimonials .content-wrapper {
  gap: 20px;
}
.about {
  background: #f8f0f8;
  border-radius: 22px;
  margin-bottom: 60px;
  padding: 40px 20px;
}
.contact {
  background: #fdf8fc;
  border-radius: 22px;
  margin-bottom: 60px;
  padding: 40px 20px;
}
.contact-info {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(187,163,198,0.12);
  padding: 15px 20px;
  margin-bottom: 24px;
}
.category-filters {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.99rem;
  color: #77578A;
}
.category-filters span {
  background: #efdfed;
  padding: 6px 13px;
  border-radius: 14px;
  margin-right: 3px;
  font-family: 'Roboto', Arial, sans-serif;
}

/* FOOTER ---------------------------------------------------------------------- */
footer {
  background: var(--accent);
  padding: 30px 0 18px 0;
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
  box-shadow: 0 -2px 16px rgba(187,163,198,0.07);
  font-size: 1rem;
}
footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
footer nav {
  display: flex;
  gap: 20px;
}
footer a {
  color: #7a5573;
  font-weight: 500;
  border-radius: 8px;
  transition: background 0.16s, color 0.13s;
  padding: 4px 10px;
}
footer a:hover, footer a:focus {
  background: #efdfed;
  color: #af7195;
}
footer span {
  color: #9a7ca6;
  font-size: 0.99rem;
}

/* COOKIE CONSENT BANNER -------------------------------------------------------- */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  background: #fff6fc;
  color: #6a4066;
  width: 100vw;
  box-shadow: 0 -4px 26px rgba(187,163,198,0.19);
  padding: 28px 15px 16px 15px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  font-size: 1.07rem;
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  transition: transform 0.22s;
}
.cookie-consent-banner.hide {
  transform: translateY(160%);
  pointer-events: none;
  opacity: 0;
}
.cookie-buttons {
  display: flex;
  gap: 15px;
  margin-top: 8px;
}
.cookie-btn, .cookie-settings-btn {
  border: none;
  border-radius: 12px;
  padding: 9px 20px;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  background: #e8cae6;
  color: #403246;
  box-shadow: 0 2px 10px rgba(187,163,198,0.10);
  transition: background 0.17s, color 0.13s, transform 0.16s;
}
.cookie-btn.accept {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-btn.reject {
  background: #ffe3e3;
  color: #a45252;
}
.cookie-btn:hover, .cookie-btn:focus,
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #faeefd;
  color: #7f506c;
  transform: translateY(-2px) scale(1.04);
  outline: none;
}
/* COOKIE SETTINGS MODAL */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(240, 230, 239, 0.76);
  z-index: 3050;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.19s;
}
.cookie-modal-overlay.active{
  pointer-events: all;
  opacity: 1;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 35px rgba(187,163,198,0.22);
  padding: 32px 26px 22px 26px;
  max-width: 400px;
  width: 85vw;
  color: #403246;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: cookie-fade-in 0.43s cubic-bezier(0.38,0,.61,1.2);
}
@keyframes cookie-fade-in {
  0% { opacity: 0; transform: scale(0.87); }
  100% { opacity: 1; transform: scale(1); }
}
.cookie-modal-close {
  position: absolute;
  top: 13px; right: 13px;
  background: none;
  border: none;
  font-size: 1.65rem;
  color: #af7195;
  cursor: pointer;
  border-radius: 50%;
  padding: 4px 8px;
  transition: background 0.13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #f8f0f8;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 10px;
}
.cookie-category input[type="checkbox"] {
  accent-color: #bba3c6;
  width: 20px;
  height: 20px;
}
.cookie-category label {
  font-size: 1rem;
  color: #403246;
}
.cookie-category .cookie-required {
  color: #7d5370;
  font-size: 0.97rem;
  font-style: italic;
}
/* Responsive cookie banner */
@media (max-width: 600px) {
  .cookie-consent-banner {
    font-size: 0.97rem;
    padding: 22px 6px 13px 6px;
  }
  .cookie-modal {
    padding: 18px 8px 16px 8px;
  }
}

/* RESPONSIVENESS & FLEXBOX PATTERNS --------------------------------------------- */
@media (max-width: 1024px) {
  .container {
    max-width: 95vw;
    padding-left: 8px;
    padding-right: 8px;
  }
}
@media (max-width: 768px) {
  .section, .services, .testimonials, .about, .contact, .hero {
    padding: 26px 8px;
    margin-bottom: 36px;
    border-radius: 12px;
  }
  .hero {
    border-radius: 0 0 18px 18px;
    padding: 32px 0 26px 0;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.33rem; }
  .content-wrapper {
    gap: 10px;
  }
  .card-container, .content-grid, .text-image-section {
    flex-direction: column !important;
    gap: 18px !important;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    font-size: 0.99rem;
    min-width: 0;
  }
}
@media (max-width: 660px) {
  footer .container, header .container {
    flex-direction: column;
    gap: 10px;
    padding-top: 8px;
    padding-bottom: 8px;
  }
  footer nav {
    justify-content: center;
  }
  .cta-btn { font-size: 0.97rem; padding: 11px 16px; }
}

/* LIST / CARD PATTERNS -------------------------------------------------------- */
ul, ol {
  padding-left: 1.1em;
  margin-bottom: 10px;
}
ul li, ol li {
  margin-bottom: 10px;
  padding-left: 3px;
  line-height: 1.7;
}

/* MISC. UI MICRO-INTERACTIONS ------------------------------------------------- */
button:focus-visible, a:focus-visible {
  outline: 2.5px solid var(--secondary);
  outline-offset: 2px;
}
button:active, .cta-btn:active, .cookie-btn:active {
  transform: scale(0.98);
}
::-webkit-scrollbar {
  width: 10px;
  background: #f3ebf6;
  border-radius: 14px;
}
::-webkit-scrollbar-thumb {
  background: #e0cadf;
  border-radius: 14px;
}
::-webkit-scrollbar-thumb:hover {
  background: #c0a0c6;
}

/* CONTACT, SUCCESS & SYSTEM MESSAGES ------------------------------------------ */
.success-message, .error-message {
  border-radius: 13px;
  padding: 19px 18px;
  margin-bottom: 24px;
  font-size: 1.08rem;
  box-shadow: 0 2px 10px rgba(187,163,198,0.10);
}
.success-message {
  background: #f0fae6;
  color: #3a6640;
  border-left: 8px solid #8cc96b;
}
.error-message {
  background: #ffe3e3;
  color: #a45252;
  border-left: 8px solid #b55555;
}

/* HIDE/SHOW HELP CLASSES ------------------------------------- */
.hide, .hidden {
  display: none!important;
  opacity: 0!important;
  pointer-events: none!important;
}

/* PRINT (optional, for business) ----------------------------- */
@media print {
  header, footer, .cookie-consent-banner, .mobile-menu { display: none!important; }
  main { padding: 0; }
}

/* END OF CSS */
