/* RESET & BASE STYLES */
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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #F7EFE6;
  color: #2E3842;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #7E3587;
  text-decoration: none;
  transition: color 0.2s, box-shadow 0.2s;
}
a:hover, a:focus {
  color: #2E3842;
  box-shadow: 0 2px 0 #2E3842;
}
ul, ol {
  list-style: none;
}
button {
  font-family: inherit;
  cursor: pointer;
  background: none;
  border: none;
  outline: none;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: #2E3842;
  margin-bottom: 12px;
  line-height: 1.18;
}
h1 { font-size: 2.8rem; margin-bottom: 20px; letter-spacing: -1px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.2rem; margin-bottom: 12px; }
.subtitle {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: #7E3587;
  margin-bottom: 20px;
}
strong, b {
  font-weight: bold;
  color: #2E3842;
}
.text-section p,
.text-section ul,
.text-section li {
  color: #353535;
  font-size: 1rem;
  margin-bottom: 14px;
}
.text-section ul li {
  position: relative;
  padding-left: 25px;
}
.text-section ul li::before {
  content: ''; display: inline-block; width: 8px; height: 8px;
  border-radius: 50%; background: #7E3587; position: absolute;
  left: 0; top: 8px;
}

/* LAYOUT & CONTAINERS */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 32px 0 rgba(46,56,66,0.04);
  position: relative;
}
@media (max-width: 992px) {
  .section { padding: 28px 8px; }
}
@media (max-width: 768px) {
  .section { margin-bottom: 36px; padding: 18px 0; border-radius: 0; }
}

/* FLEX LAYOUTS */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 12px;
}
.feature-grid > li {
  flex: 1 1 240px;
  background: #F7EFE6;
  border-radius: 18px;
  box-shadow: 0 2px 24px 0 rgba(126,53,135,0.07);
  padding: 28px 16px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
  transition: box-shadow .18s, transform .14s;
}
.feature-grid > li:hover {
  box-shadow: 0 6px 26px 2px #e6dbd1;
  transform: translateY(-4px) scale(1.02);
}
@media (max-width: 992px) {
  .feature-grid { gap: 20px; }
  .feature-grid > li { padding: 20px 10px; }
}
@media (max-width: 768px) {
  .feature-grid { flex-direction: column; gap: 16px; }
  .feature-grid > li { width: 100%; }
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 15px;
}
.service-item {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 16px 0 rgba(126,53,135,0.08);
  padding: 24px 18px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  transition: box-shadow .18s, transform .12s;
}
.service-item:hover {
  box-shadow: 0 6px 28px 4px #e6dbd1;
  transform: translateY(-3px) scale(1.025);
}
@media (max-width: 900px) {
  .service-list { gap: 18px; }
}
@media (max-width: 768px) {
  .service-list { flex-direction: column; gap: 16px; }
  .service-item { width: 100%; }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 14px 0 rgba(46,56,66,0.08);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
}

.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; align-items: flex-start; gap: 16px; }
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 2px 16px 0 rgba(46,56,66,0.09);
  font-size: 1.18rem;
  color: #2E3842;
  transition: box-shadow .18s, transform .1s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 26px 3px #e6dbd1;
  transform: scale(1.012);
}
.testimonial-card blockquote {
  margin: 0;
  font-size: 1.05rem;
  color: #272f38;
}
.testimonial-card strong {
  display: block;
  font-size: 1rem;
  color: #7E3587;
  margin-top: 7px;
  font-weight: bold;
}
@media (max-width: 576px) {
  .testimonial-card { padding: 14px; font-size: 1rem; }
  .testimonial-card strong { font-size: .95rem; }
}

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

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-left: 0;
}
.contact-list li {
  display: flex;
  align-items: center;
  font-size: 1rem;
  gap: 8px;
  color: #353535;
  background: #F7EFE6;
  border-radius: 9px;
  padding: 7px 12px;
}
.contact-short {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 18px;
  background: #f7efe6;
  border-radius: 12px;
  padding: 10px 24px;
  font-weight: 600;
}
.contact-short img {
  width: 20px; height: 20px; margin-right: 4px;
}
@media (max-width: 500px) {
  .contact-short { padding: 8px 6px; gap: 7px; }
}

/* BLOG ENTRIES */
.blog-entry {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(46,56,66,0.08);
  padding: 22px 16px;
  margin-bottom: 24px;
  transition: box-shadow .18s, transform .13s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.blog-entry:hover {
  box-shadow: 0 7px 20px 4px #e6dbd1;
  transform: scale(1.012);
}
.blog-entry a {
  color: #7E3587;
  font-weight: bold;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-top: 8px;
  transition: color .15s, box-shadow .18s;
}
.blog-entry a:hover {
  color: #2E3842;
  box-shadow: 0 2px 0 #2E3842;
}

/* BUTTONS (primary, secondary, cookie) */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #7E3587;
  color: #fff;
  padding: 14px 38px;
  font-size: 1.12rem;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  border-radius: 26px;
  border: none;
  cursor: pointer;
  letter-spacing: .06em;
  box-shadow: 0 3px 14px 1px #e3d2eb;
  margin-top: 22px;
  margin-bottom: 22px;
  text-shadow: 0 2px 4px rgba(126,53,135,0.07);
  transition: box-shadow .18s, background .15s, transform .10s;
  text-decoration: none !important;
}
.btn-primary:hover, .btn-primary:focus {
  background: #a847b2;
  box-shadow: 0 8px 28px 3px #e1cbe6;
  transform: translateY(-2px) scale(1.03);
  color: #fff;
}
.btn-secondary {
  background: #F7EFE6;
  color: #7E3587;
  border: 2px solid #7E3587;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 22px;
  font-size: 1rem;
  margin: 12px 8px 12px 0;
  transition: background 0.15s, color 0.15s, border .13s;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #7E3587;
  color: #fff;
  border: 2px solid #a847b2;
}
.btn-cookie {
  font-size: 1rem;
  padding: 10px 20px;
  border-radius: 17px;
  background: #2E3842;
  color: #fff;
  border: none;
  margin: 8px 10px 8px 0;
  font-weight: 700;
  transition: background .12s, color .14s;
}
.btn-cookie.cookie-settings {
  background: #7E3587;
}
.btn-cookie:hover, .btn-cookie:focus {
  background: #a847b2;
  color: #fff;
}
.btn-cookie.cookie-settings:hover, .btn-cookie.cookie-settings:focus {
  background: #2E3842;
}

/* HEADER & NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 5px 28px 0 rgba(126,53,135,0.08);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  padding: 18px 0;
  font-weight: 700;
}
.main-nav img {
  height: 48px;
  width: auto;
  margin-right: 28px;
}
.main-nav a {
  color: #2E3842;
  text-transform: uppercase;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 8px 10px;
  border-radius: 8px;
  transition: background .13s, color .13s;
}
.main-nav a.btn-primary {
  margin-left: auto;
  box-shadow: none;
  border-radius: 20px;
  letter-spacing: .06em;
  font-size: 1.02rem;
}
.main-nav a:not(.btn-primary):hover, .main-nav a:not(.btn-primary):focus {
  background: #F7EFE6;
  color: #7E3587;
}
@media (max-width: 1100px) {
  .main-nav { gap: 11px; }
  .main-nav img { margin-right: 15px; }
}
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .main-nav img {
    display: none;
  }
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 32px;
  top: 24px;
  background: #7E3587;
  color: #fff;
  border-radius: 48px;
  font-size: 2.1rem;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  z-index: 1102;
  border: none;
  cursor: pointer;
  box-shadow: 0 3px 12px 0 #c6c1c7;
  transition: background 0.16s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #2E3842;
}
@media (max-width: 900px) {
  .mobile-menu-toggle {
    display: flex;
  }
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 6px 40px 10px rgba(46,56,66,.20);
  z-index: 1101;
  transform: translateX(-100vw);
  transition: transform 0.29s cubic-bezier(.86,0,.07,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 14px;
  right: 22px;
  background: #2E3842;
  color: #fff;
  border-radius: 50%;
  font-size: 2.2rem;
  width: 46px;
  height: 46px;
  border: none;
  z-index: 1110;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.16s;
  cursor: pointer;
  box-shadow: 0 3px 12px 0 #dbd2e5;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #7E3587;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 90px 32px 32px 32px;
  width: 100vw;
  height: 100vh;
  align-items: flex-start;
  overflow-y: auto;
}
.mobile-nav a {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.17rem;
  color: #7E3587;
  text-transform: uppercase;
  padding: 12px 0;
  font-weight: 700;
  border-radius: 10px;
  transition: background 0.12s, color 0.13s;
  min-width: 70vw;
  text-align: left;
  margin-left: 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F7EFE6;
  color: #2E3842;
}
@media (min-width: 901px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* FOOTER */
footer {
  background: #fff;
  border-top: 4px solid #7E3587;
  box-shadow: 0 -2px 18px 0 rgba(126,53,135,0.05);
  padding: 32px 0;
  margin-top: 32px;
}
footer .container {
  padding: 0 16px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 48px;
  justify-content: flex-start;
  flex-wrap: wrap;
}
footer img {
  width: 58px;
  height: auto;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-right: 36px;
}
.footer-nav a {
  color: #7E3587;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: color .13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #2E3842;
}
.footer-contact {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #353535;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
@media (max-width: 900px) {
  footer .content-wrapper { flex-direction: column; gap: 24px; align-items: flex-start; }
  .footer-nav { margin: 0; flex-direction: row; gap: 17px; flex-wrap: wrap; }
}
@media (max-width: 576px) {
  footer { padding: 16px 0;}
  .footer-contact { font-size: .93rem; }
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #2E3842;
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  z-index: 9999;
  padding: 22px 14vw 22px 22px;
  box-shadow: 0 -4px 16px 2px rgba(46,56,66,0.16);
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  transition: transform 0.3s cubic-bezier(0.6,0,0.2,1);
}
.cookie-banner.hide {
  transform: translateY(125%);
}
.cookie-banner strong {
  color: #F7EFE6;
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 7px;
}
@media (max-width: 992px) {
  .cookie-banner { padding: 13px 2vw 13px 11px; font-size: .97rem; }
}
@media (max-width: 640px) {
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 13px; padding: 12px 6px; font-size: .92rem; }
}

/* COOKIE MODAL */
.cookie-modal {
  display: none;
  position: fixed;
  left: 50%;
  top: 14vh;
  transform: translateX(-50%);
  min-width: 320px;
  max-width: 92vw;
  background: #fff;
  color: #2E3842;
  border-radius: 18px;
  box-shadow: 0 4px 40px 0 rgba(46,56,66,0.18);
  padding: 32px 28px 24px 28px;
  z-index: 10010;
  flex-direction: column;
  gap: 28px;
  font-family: 'Open Sans', Arial, sans-serif;
}
.cookie-modal.open { display: flex; animation: cookieIn .26s 1 cubic-bezier(.72,0,.25,1); }
@keyframes cookieIn {
  from { opacity:0; transform: translateX(-50%) scale(0.9);}
  to   { opacity:1; transform: translateX(-50%) scale(1.0);}
}
.cookie-modal h2 {
  font-size: 1.54rem;
  color: #7E3587;
  margin-bottom: 16px;
  font-family: 'Playfair Display', serif;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 1.04rem;
  font-weight: 600;
}
.cookie-category .cookie-toggle {
  appearance: none;
  width: 46px; height: 26px;
  background: #e7dff0;
  border: 2px solid #7E3587;
  border-radius: 13px;
  position: relative;
  transition: background .13s, box-shadow .1s;
  outline: none;
  cursor: pointer;
  vertical-align: middle;
}
.cookie-category .cookie-toggle:checked {
  background: #7E3587;
}
.cookie-category .cookie-toggle:before {
  content: '';
  display: block;
  position: absolute;
  top: 2px; left: 2px;
  width: 20px; height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: left .16s cubic-bezier(.44,0,.12,1);
  box-shadow: 0 2px 7px 0 #7E358799;
}
.cookie-category .cookie-toggle:checked:before {
  left: 22px;
}
.cookie-modal .btn-cookie {
  margin-top: 12px;
}
.cookie-modal .cookie-essential {
  opacity: .5;
  pointer-events: none;
}

/* MODERN BOLD DECORATIVE GEOMETRY */
.section:before {
  content: '';
  display: block;
  position: absolute;
  top: 12px; right: -18px;
  width: 64px; height: 64px;
  background: #7E3587;
  opacity: .06;
  border-radius: 22px 0 46px 30px;
  z-index: 1;
}
.section:after {
  content: '';
  display: block;
  position: absolute;
  bottom: 9px; left: -18px;
  width: 44px; height: 44px;
  background: #2E3842;
  opacity: .06;
  border-radius: 30px 32px 24px 0;
  z-index: 1;
}
@media (max-width: 576px) {
  .section:before, .section:after { display: none; }
}

/* MEDIA QUERIES: Responsive adjustments */
@media (max-width: 1200px) {
  .container { max-width: 97vw; }
}
@media (max-width: 900px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.4rem; }
}
@media (max-width: 576px) {
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1rem; }
  .container { padding-left: 4px; padding-right: 4px; }
}

/* Z-INDEX: layer stacking for navigation & cookie */
header, .main-nav, .mobile-menu, .mobile-menu-toggle {
  z-index: 1000;
}
.cookie-banner, .cookie-modal { z-index: 2000; }

/* UTILITIES & MISC */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-20 { margin-bottom: 20px !important; }
.mb-32 { margin-bottom: 32px !important; }
.pt-20 { padding-top: 20px !important; }

/* TRANSITIONS & MICRO-INTERACTIONS */
.card, .service-item, .feature-grid > li, .blog-entry {
  transition: box-shadow .14s, transform .13s;
}
.section, .testimonial-card {
  transition: box-shadow .15s, transform .11s, background .18s;
}

/* SCROLLBAR STYLES */
::-webkit-scrollbar { width: 8px; background: #f6edf3; }
::-webkit-scrollbar-thumb { background: #d5aedc; border-radius: 6px; }

/* FOCUS VISIBLE */
:focus {
  outline: 2px solid #7E3587 !important;
  outline-offset: 2px;
}

/* NO OVERLAP ENSURED */
section, .card, .service-item, .feature-grid > li, .testimonial-card, .blog-entry, .footer-contact, .contact-list li {
  margin-bottom: 20px;
}

/* END OF CSS */
