/* RESET & BASE ---------------------------------------------------- */
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 {
  box-sizing: border-box;
  scroll-behavior: smooth;
  background: #F7F6FA;
}
*, *:before, *:after {
  box-sizing: inherit;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #F7F6FA;
  color: #26234b;
  min-height: 100vh;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}
a {
  color: #7F8CC2;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #1A1A28;
  text-decoration: underline;
  outline: none;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}

/* TYPOGRAPHY ---------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: #26234b;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}
h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
}
h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}
p {
  color: #59456E;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 16px;
}
strong { font-weight: 700; }
em, i { font-style: italic; }

/* LAYOUT & CONTAINERS -------------------------------------- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff8f4;
  border-radius: 24px;
  box-shadow: 0 4px 16px 0 rgba(80,40,120,0.06);
}

.text-section {
  background: rgba(243,242,252,0.75);
  border-radius: 22px;
  padding: 32px 24px;
  margin-bottom: 32px;
}

/* FLEX GRIDS ----------------------------------------------- */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 24px;
  margin-bottom: 28px;
}
.feature {
  background: #f3e8ff;
  border-radius: 18px;
  box-shadow: 0 2px 10px 0 rgba(195,174,232,0.12);
  padding: 28px 22px;
  flex: 1 1 230px;
  min-width: 210px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  text-align: center;
  transition: box-shadow .18s, transform .18s;
}
.feature:hover {
  box-shadow: 0 6px 20px 0 rgba(130, 85, 160, .13);
  transform: translateY(-2px) scale(1.03);
}
.feature img {
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
  filter: drop-shadow(0 1px 3px rgba(100, 81, 150,0.09));
}
.feature h3 {
  color: #7967AC;
  margin-bottom: 4px;
}

.testimonials-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 32px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px 0 rgba(135,120,190,.09);
  min-width: 250px;
  max-width: 340px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  transition: box-shadow .22s, border-color .12s;
  border: 2px solid #ecebfd;
}
.testimonial-card:hover {
  box-shadow: 0 6px 28px 0 rgba(105,60,160,0.16);
  border-color: #e5c77b;
}
.testimonial-card p {
  color: #312956;
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 4px;
  font-family: 'Playfair Display', serif;
}
.testimonial-card span {
  color: #8f7d63;
  font-size: .97rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 600;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fef3f9;
  border-radius: 20px;
  box-shadow: 0 2px 10px 0 rgba(200,160,190,.09);
  margin-bottom: 20px;
  position: relative;
  padding: 20px 18px;
}

.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;
}

/* Blog Specific --------------------------------------------- */
.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 36px;
}
.blog-list article {
  background: #f3f8fd;
  border-radius: 18px;
  box-shadow: 0 1px 8px 0 rgba(175,180,220,0.08);
  padding: 22px 18px;
  flex: 1 1 260px;
  min-width: 210px;
  transition: box-shadow .16s, transform .16s;
}
.blog-list article:hover {
  box-shadow: 0 3px 16px 0 rgba(145, 160, 220, .13);
  transform: scale(1.02);
}
.featured-post {
  background: #fffbe8;
  border-left: 6px solid #e5c77b;
  border-radius: 14px;
  padding: 16px 20px;
  margin-top: 18px;
  font-family: 'Playfair Display', serif;
}

.blog-categories {
  margin: 18px 0 18px 0;
  font-size: 1.05rem;
}
.blog-categories ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 8px;
  padding-left: 0;
}
.blog-categories li {
  background: #e8ebfa;
  color: #44386a;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: .95rem;
  margin-bottom: 0;
  list-style: none;
}

/* Header & NAV ------------------------------------------------- */
header {
  background: #fff;
  box-shadow: 0 4px 24px 0 rgba(87,62,134,0.06);
  position: sticky;
  top: 0;
  z-index: 60;
  width: 100%;
  min-height: 68px;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
}
.logo img {
  width: 142px;
  max-height: 48px;
  height: auto;
}
.main-nav {
  display: flex;
  gap: 24px;
  margin-left: 32px;
}
.main-nav a {
  color: #59456E;
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  font-family: 'Roboto', Arial, sans-serif;
  border-radius: 8px;
  padding: 6px 12px;
  transition: background .13s, color .13s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #f4eefb;
  color: #3d356a;
}
.cta-button {
  display: inline-block;
  background: linear-gradient(90deg, #e5c77b 10%, #f7d8d8 100%);
  color: #1a1a28;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  border: none;
  border-radius: 16px;
  padding: 12px 30px;
  margin-left: 26px;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 10px 0 rgba(230,210,139,0.13);
  cursor: pointer;
  transition: background .22s, color .15s, box-shadow .22s;
}
.cta-button:hover, .cta-button:focus {
  background: linear-gradient(90deg, #F7D8D8 10%, #e5c77b 100%);
  color: #7A5CB6;
  box-shadow: 0 6px 24px 0 rgba(224, 190, 120, 0.21);
  text-decoration: none;
}

/* Responsive Header ------------------------------------------- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  min-width: 48px;
  min-height: 48px;
  color: #6d60a0;
  margin-left: 18px;
  cursor: pointer;
  position: relative;
  z-index: 999;
  border-radius: 12px;
  transition: background .12s, color .14s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #e8e0fd;
  color: #40405f;
}

/* MOBILE MENU Overlay ---------------------------------------------- */
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(250, 244, 255, 0.96);
  box-shadow: 0 8px 32px 0 rgba(113,71,144,0.06);
  transform: translateX(-100vw);
  transition: transform .36s cubic-bezier(.68,-0.55,.27,1.55);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 28px 18px 18px 28px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #a58cc1;
  cursor: pointer;
  margin-bottom: 10px;
  padding: 4px;
  border-radius: 8px;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #f1e2fa;
  color: #7A5CB6;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.mobile-nav a {
  color: #5c4683;
  font-size: 1.2rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  padding: 10px 0 10px 8px;
  letter-spacing: 0.01em;
  border-radius: 10px;
  transition: background .13s, color .13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F7D8D8;
  color: #7A5CB6;
}

/* FOOTER ----------------------------------------------------- */
footer {
  background: #f8f7fd;
  padding: 48px 0 24px 0;
  margin-top: 80px;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -2px 16px 0 rgba(110,90,180,0.06);
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 16px;
  justify-content: center;
}
.footer-nav a {
  color: #7967AC;
  font-size: 1.01rem;
  padding: 2px 12px;
  border-radius: 10px;
  font-weight: 500;
  transition: background .14s, color .13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #f3e8ff;
  color: #4c2f73;
}
.footer-contact {
  color: #7a5cb6;
  text-align: center;
  font-size: .96rem;
  margin-bottom: 8px;
}
.footer-contact p { margin-bottom: 7px; }
.footer-brand {
  font-size: .95rem;
  color: #b7a6d1;
  margin-top: 6px;
  font-family: 'Roboto', Arial, sans-serif;
}

/* CONTACT DETAILS BLOCK ------------------------------------- */
.contact-details-block {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 10px;
}
.contact-details-block > div {
  background: #e8ebfa;
  border-radius: 14px;
  padding: 14px 24px;
  flex: 1 1 180px;
  min-width: 130px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.contact-details-block h3 {
  color: #7A5CB6;
  font-size: 1.07rem;
  font-weight: 600;
  margin-bottom: 6px;
}

/* BUTTONS --------------------------------------------------- */
button, .button, input[type="submit"], input[type="button"] {
  font-family: 'Roboto', Arial, sans-serif;
  border: none;
  padding: 12px 28px;
  border-radius: 13px;
  background: linear-gradient(90deg,#e5c77b 3%, #e8ebfa 100%);
  color: #432960;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(205,195,140,0.12);
  transition: background .16s, color .16s, box-shadow .19s;
}
button:hover, .button:hover, input[type="submit"]:hover, input[type="button"]:hover {
  background: linear-gradient(90deg,#f7d8d8 10%, #e5c77b 90%);
  color: #664BAC;
  box-shadow: 0 4px 18px 0 rgba(200,180,110,0.19);
}

/* MICRO-INTERACTIONS */
*:focus {
  outline: 2px solid #bda8e6;
  outline-offset: 2px;
}

/* FORMS (for contact, future-proof) ------------------------- */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.01rem;
  background: #f8f3fc;
  color: #3d2e5d;
  border: 1px solid #e7d3fc;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 20px;
  width: 100%;
  transition: border-color .13s;
}
input:focus, textarea:focus, select:focus {
  border-color: #a484e4;
}

/* COOKIE BANNER --------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #f3e8ff;
  color: #312956;
  box-shadow: 0 -4px 16px 0 rgba(140,110,180,.13);
  z-index: 9999;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 22px 32px 22px 18px;
  font-size: 1rem;
  border-radius: 24px 24px 0 0;
  min-height: 70px;
  transition: transform .4s cubic-bezier(.68,-0.55,.27,1.55);
  gap: 22px;
}
.cookie-banner.hide {
  transform: translateY(100%);
}
.cookie-banner-message {
  flex: 1 1 300px;
}
.cookie-banner-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}
.cookie-banner button, .cookie-banner .button {
  padding: 10px 20px;
  font-size: 1rem;
  border-radius: 12px;
  margin-left: 0;
  box-shadow: none;
}
.cookie-banner-accept { background: #e5c77b; color: #392960; }
.cookie-banner-accept:hover { background: #f7d8d8; color: #7a5cb6; }
.cookie-banner-reject {
  background: #fffbe8;
  color: #b68d52;
  border: 1px solid #e5c77b;
}
.cookie-banner-reject:hover {
  background: #fff5f5;
  color: #664BAC;
}
.cookie-banner-settings {
  background: #f8f8fd;
  color: #7a5cb6;
  border: 1px solid #bda8e6;
}
.cookie-banner-settings:hover {
  background: #e8ebfa;
  color: #4a3777;
}

/* COOKIE MODAL ---------------------------------------------- */
.cookie-modal-overlay {
  position: fixed;
  z-index: 11000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(60,20,100,0.12);
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInModalBg .22s;
}
@keyframes fadeInModalBg {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff8fa;
  padding: 36px 26px 26px 26px;
  max-width: 440px;
  border-radius: 30px;
  box-shadow: 0 8px 32px 0 rgba(120,100,180,.16);
  position: relative;
  z-index: 12000;
  animation: fadeInModal .32s cubic-bezier(.68,-0.55,.27,1.55);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@keyframes fadeInModal {
  from { opacity: 0; transform: translateY(60px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.9rem;
  color: #a58cc1;
  cursor: pointer;
  border-radius: 7px;
  transition: background .12s;
}
.cookie-modal-close:focus, .cookie-modal-close:hover {
  background: #f3e8ff;
  color: #7A5CB6;
}
.cookie-modal h2 {
  margin-bottom: 12px;
  font-size: 1.25rem;
  color: #7a5cb6;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
}
.cookie-modal .cookie-category label {
  font-size: 1rem;
  font-weight: 500;
  color: #473681;
}
.cookie-modal .cookie-switch {
  width: 42px;
  height: 24px;
  background: #ded9ee;
  border-radius: 13px;
  position: relative;
  cursor: pointer;
  transition: background .12s;
  margin-left: 4px;
}
.cookie-modal .cookie-switch input {
  display: none;
}
.cookie-modal .cookie-switch-slider {
  position: absolute;
  top: 3px; left: 4px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #bda8e6;
  transition: left .16s, background .16s;
}
.cookie-modal .cookie-switch input:checked + .cookie-switch-slider {
  left: 20px;
  background: #e5c77b;
}
.cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  margin-top: 18px;
  flex-wrap: wrap;
}

/* RESPONSIVE DESIGN (mobile-first) -------------------------- */
@media (max-width: 968px) {
  .container {
    max-width: 98vw;
  }
  .footer-nav {
    gap: 12px;
  }
}
@media (max-width: 800px) {
  .features-grid, .testimonials-list, .card-container, .blog-list, .contact-details-block, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .main-nav {
    gap: 10px;
    margin-left: 12px;
  }
  .cta-button { margin-left: 12px; }
}
@media (max-width: 768px) {
  .container, .content-wrapper {
    padding: 0 10px;
  }
  .section {
    margin-bottom: 35px;
    padding: 26px 8px;
  }
  header .container {
    padding: 8px 10px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: relative;
  }
  .cta-button {
    margin-left: auto;
    padding: 10px 18px;
    font-size: 1rem;
  }
  .contact-details-block {
    gap: 12px;
  }
}
/* Show Mobile Menu only on small devices */
@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
}
@media (max-width: 561px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.4rem;
  }
  h3 {
    font-size: 1.15rem;
  }
  .section {
    border-radius: 14px;
    padding: 16px 5px;
  }
  .contact-details-block > div {
    padding: 8px 8px;
    font-size: .98rem;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 8px 16px 8px;
  }
}

/* SOFT PASTEL BRAND COLORS - THEME SUPPORT ----------------- */
:root {
  --brand-dark: #1A1A28;
  --brand-gold: #e5c77b;
  --brand-white: #fff;
  --brand-accent: #f7d8d8;
  --soft-lavender: #f3e8ff;
  --soft-blue: #e8ebfa;
  --soft-peach: #fffbe8;
  --soft-pink: #fef3f9;
  --soft-grey: #f8f7fd;
  --soft-purple: #bda8e6;
}

/* Cards, Details, Spacings - visual breathing room ---------- */
.card, .feature, .testimonial-card, .blog-list article, .featured-post {
  margin-bottom: 20px;
}
.card-container, .features-grid, .testimonials-list, .content-grid, .contact-details-block {
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* Utility classes ------------------------------------------- */
.align-center { text-align: center; }
.mt-24 { margin-top: 24px !important; }
.mb-24 { margin-bottom: 24px !important; }
.mt-40 { margin-top: 40px !important; }
.mb-40 { margin-bottom: 40px !important; }

/* GENERAL ANIMATIONS --------------------------------------- */
[aria-busy="true"], .is-loading {
  opacity: 0.45;
  filter: blur(1px);
  pointer-events: none;
}
.fade-in {
  animation: fadeIn .6s cubic-bezier(.4,.07,.27,1.32);
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ACCESSIBILITY --------------------------------------------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 10000;
  color: #fff;
  background: #7A5CB6;
  padding: 12px 20px;
  border-radius: 6px;
}
.skip-link:focus {
  left: 10px;
  top: 10px;
  width: auto;
  height: auto;
  font-size: 1.05rem;
  outline: none;
  box-shadow: 0 2px 8px 0 rgba(130,70,180,0.19);
}
