/* 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, 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;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  background: #fff;
  color: #333333;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after { box-sizing: inherit; }
body {
  min-height: 100vh;
  background: #fff;
  color: #333333;
  font-size: 16px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 400;
}
:root {
  --primary: #5B2C6F;
  --secondary: #F6D9EA;
  --accent: #333333;
  --neutral: #F8F8FA;
  --heading: 'Playfair Display', serif;
  --body: 'Montserrat', Arial, sans-serif;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}
a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: var(--accent);
  text-decoration: underline;
}
strong {
  font-weight: 700;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}

/* TYPOGRAPHY HIERARCHY */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading);
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--primary);
  margin-bottom: 16px;
  line-height: 1.2;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 24px;
}
h3 {
  font-size: 1.375rem;
  margin-bottom: 16px;
}
h4 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}
h5, h6 {
  font-size: 1rem;
}
p, .text-section {
  color: var(--accent);
  font-size: 1.07rem;
  margin-bottom: 20px;
  font-family: var(--body);
}
.text-section ul, .text-section ol { margin-bottom: 20px; }
blockquote {
  font-style: italic;
  font-family: var(--heading);
  color: var(--primary);
  background: var(--secondary);
  padding: 18px 24px;
  border-left: 4px solid var(--primary);
  border-radius: 8px;
  margin-bottom: 12px;
}

/* LAYOUT & CONTAINERS */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 20px 2px rgba(91,44,111,0.088), 0 1.5px 6px rgba(91,44,111,0.10);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: box-shadow 0.14s, transform 0.14s;
}
.card:hover {
  box-shadow: 0 8px 30px 3px rgba(91,44,111,0.14), 0 2px 8px rgba(91,44,111,0.16);
  transform: translateY(-3px) scale(1.01);
}
.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: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px 1px rgba(45,7,50,0.13);
  margin-bottom: 20px;
  flex-direction: column;
  color: #222;
  min-width: 0;
  transition: box-shadow 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 17px 4px rgba(91,44,111,0.08), 0 2px 11px 1px rgba(45,7,50,0.17);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin-left: 0;
}
.features-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px;
  background: var(--secondary);
  color: var(--primary);
  font-weight: 600;
  border-radius: 8px;
  font-size: 1.03rem;
  min-width: 240px;
  box-shadow: 0 2px 6px 1px rgba(91,44,111,0.07);
}
.features-list img {
  width: 28px;
  height: 28px;
  border-radius: 0;
  margin-right: 4px;
}

/* HEADER & NAVIGATION */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 8px -1px rgba(91,44,111,0.08);
  position: sticky;
  z-index: 100;
  top: 0;
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 16px;
  width: 100%;
}
.header-container > a img {
  height: 44px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-family: var(--body);
  font-weight: 700;
  color: var(--accent);
  font-size: 1.08rem;
  padding: 6px 10px;
  border-radius: 4px;
  transition: background .13s, color .13s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--secondary);
  color: var(--primary);
}
.cta-btn {
  background: var(--primary);
  color: #fff;
  font-family: var(--body);
  font-weight: 700;
  border: none;
  border-radius: 6px;
  padding: 10px 24px;
  font-size: 1.08rem;
  box-shadow: 0 2px 8px 1px rgba(91,44,111,0.12);
  transition: background 0.18s, transform 0.16s, box-shadow 0.17s;
  text-decoration: none;
  letter-spacing: 0.04em;
  display: inline-block;
  margin-left: 18px;
  cursor: pointer;
}
.cta-btn:hover, .cta-btn:focus {
  background: #403264;
  color: #fff;
  transform: translateY(-2px) scale(.99);
  box-shadow: 0 4px 11px 2px rgba(91,44,111,0.15);
}

/* BURGER MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 6px;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  z-index: 150;
  margin-left: 12px;
  cursor: pointer;
  transition: background 0.21s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #403264;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  background: #fff;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  max-width: 350px;
  min-width: 65vw;
  z-index: 2000;
  transform: translateX(-105%);
  transition: transform 0.32s cubic-bezier(.77,.03,.25,1);
  box-shadow: 2px 0 32px 2px rgba(91,44,111,.17);
  padding: 30px 22px 22px 22px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 22px;
  margin-left: auto;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 12px;
}
.mobile-nav a {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.18rem;
  padding: 12px 0;
  border-radius: 5px;
  transition: background 0.15s, color 0.15s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--secondary);
  color: var(--accent);
}
/* Overlay when mobile menu open */
.mobile-menu.open::before {
  content: '';
  position: fixed;
  top: 0; left: 100%;
  width: 999vw; height: 100vh;
  background: rgba(51,16,67,0.13);
  z-index: 2010;
  pointer-events: auto;
}

@media (max-width: 1000px) {
  .container {
    max-width: 98vw;
    padding: 0 10px;
  }
  .header-container {
    max-width: 99vw;
    padding: 16px 10px;
  }
}
@media (max-width: 850px) {
  .main-nav {
    gap: 12px;
  }
}
@media (max-width: 768px) {
  .header-container {
    flex-wrap: wrap;
    gap: 10px;
  }
  .main-nav {
    display: none;
  }
  .cta-btn {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .footer-wrapper {
    flex-direction: column;
    gap: 32px;
    align-items: flex-start !important;
  }
  h1 { font-size: 2.05rem; }
  h2 { font-size: 1.5rem; }
}

/* HERO SECTIONS */
.hero-section {
  background: var(--secondary);
  box-shadow: 0 2px 8px 1px rgba(91,44,111,0.09);
  padding: 58px 0 58px 0;
  border-radius: 0 0 30px 30px;
  margin-bottom: 60px;
}
.hero-section .container {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-section .content-wrapper {
  align-items: flex-start;
  max-width: 640px;
}
.hero-section h1 {
  font-size: 2.85rem;
  color: var(--primary);
  text-shadow: 1px 3px 0 #fff, 3px 3px 14px var(--primary, #5B2C6F, 0.12);
  margin-bottom: 16px;
  font-weight: 700;
}
.hero-section p {
  font-size: 1.16rem;
  color: var(--accent);
}
.hero-section .cta-btn {
  margin-top: 18px;
  font-size: 1.18rem;
  padding: 14px 36px;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 30px 0 40px 0;
    border-radius: 0 0 20px 20px;
    margin-bottom: 40px;
  }
  .hero-section h1 {
    font-size: 1.55rem;
  }
}

/* FOOTER */
footer {
  background: var(--primary);
  color: #fff;
  width: 100%;
  margin-top: 60px;
  position: relative;
}
.footer-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  padding: 42px 16px 32px 16px;
  gap: 40px;
}
.footer-branding {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: var(--heading);
  font-weight: 700;
  font-size: 1.13rem;
}
.footer-branding img {
  width: 42px;
  height: 42px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-nav a {
  color: #fff;
  font-weight: 600;
  font-size: 1.04rem;
  opacity: .95;
  transition: color .13s, opacity .13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--secondary);
  opacity: 1;
}
.footer-contact {
  font-size: 1rem;
  color: #fff;
  opacity: .92;
}
footer p, footer span {
  margin-bottom: 6px;
}
@media (max-width: 900px) {
  .footer-wrapper {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
    padding: 30px 10px 24px 10px;
  }
}

/* SERVICE, TEAM & GENERAL CARDS */
.service-list, .team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.service-item, .team-member {
  background: #fff;
  border-radius: 14px;
  flex: 1 1 270px;
  box-shadow: 0 2px 13px 1px rgba(91,44,111,0.09);
  padding: 26px 20px 22px 20px;
  min-width: 220px;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 2px solid var(--secondary);
  position: relative;
  margin-bottom: 20px;
  transition: box-shadow .14s, border .17s, transform .13s;
}
.service-item:hover, .team-member:hover {
  box-shadow: 0 8px 32px 2px rgba(91,44,111,0.16);
  border: 2px solid var(--primary);
  transform: translateY(-2px) scale(1.015);
}

/* FILTER OPTIONS */
.filter-options ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  border-radius: 8px;
  background: var(--neutral);
  padding: 16px 22px;
  margin: 18px 0 0 0;
  font-weight: 600;
  color: var(--primary);
}
.filter-options li {
  margin-bottom: 4px;
}

/* BUTTONS */
button, input[type="button"], input[type="submit"] {
  font-family: var(--body);
  font-size: 1.01rem;
  padding: 12px 24px;
  border-radius: 6px;
  border: none;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.17s, transform 0.13s, box-shadow 0.13s;
  box-shadow: 0 2.5px 14px 0 rgba(91,44,111,0.10);
  letter-spacing: 0.03em;
}
button:focus, button:hover {
  background: #403264;
  color: #fff !important;
  transform: translateY(-1px);
}

input, textarea, select {
  font-family: var(--body);
  font-size: 1rem;
  border: 1.4px solid var(--primary);
  padding: 10px 14px;
  border-radius: 5px;
  outline: none;
  transition: border 0.2s;
}
input:focus, textarea:focus, select:focus {
  border: 2px solid var(--primary);
}

/* MICRO-INTERACTIONS */
.card, .service-item, .cta-btn, button {
  transition: box-shadow 0.15s, border 0.18s, transform 0.15s, background 0.20s, color 0.16s;
}

/* TESTIMONIALS SPECIFIC */
.testimonials {
  background: var(--neutral);
  padding: 52px 0 52px 0;
  border-radius: 24px;
  margin-bottom: 60px;
}
.testimonials .content-wrapper {
  align-items: flex-start;
  gap: 32px;
}
.testimonials h2 {
  color: var(--primary);
}
.testimonial-card {
  background: #fff;
  color: #222;
  border: 2px solid #ededf8;
  min-width: 180px;
  max-width: 600px;
  margin-left: 0;
}
.testimonial-card blockquote {
  background: transparent;
  border-left: 4px solid var(--primary);
  font-size: 1.12rem;
  color: var(--primary);
}
.testimonial-card footer {
  color: var(--accent);
  opacity: .78;
  font-size: 0.97rem;
  font-weight: 500;
  text-align: right;
  width: 100%;
}

/* TEXT SECTIONS */
.text-section {
  margin-bottom: 16px;
  font-size: 1.07rem;
}
.text-section ul, .text-section ol {
  margin-bottom: 10px;
  padding-left: 22px;
}
.text-section li {
  margin-bottom: 6px;
}

/* MODAL & COOKIE CONSENT BANNER */
.cookie-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: #fff;
  color: var(--accent);
  border-top: 2px solid var(--primary);
  box-shadow: 0 -2px 13px 0 rgba(91,44,111,0.07);
  z-index: 3000;
  padding: 20px 36px 20px 24px;
  font-size: 1.02rem;
  animation: cookieIn 0.44s cubic-bezier(.64,.01,.45,1.18);
}
@keyframes cookieIn {
  0% {transform: translateY(100%);opacity:.7;}
  70%{transform: translateY(-14px);}
  100% {transform: translateY(0);opacity:1;}
}
.cookie-banner .cookie-btn {
  font-size: 1rem;
  padding: 10px 20px;
  margin-right: 8px;
  border-radius: 5px;
  border: none;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s, color 0.13s;
}
.cookie-banner .cookie-btn.secondary {
  background: #fff;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.cookie-banner .cookie-btn.secondary:hover, .cookie-banner .cookie-btn.secondary:focus {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #403264;
  color: #fff;
}
.cookie-banner .cookie-settings {
  background: var(--secondary);
  color: var(--primary);
}
/* Cookie Modal */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(45,7,50,0.36);
  z-index: 3100;
  align-items: center;
  justify-content: center;
  transition: opacity 0.24s;
}
.cookie-modal-overlay.open {
  display: flex;
  animation: fadeIn .21s;
}
@keyframes fadeIn {
  0% {opacity:0;}
  100% {opacity:1;}
}
.cookie-modal {
  background: #fff;
  border-radius: 20px;
  max-width: 460px;
  width: 98vw;
  box-shadow: 0 9px 32px 3px rgba(91,44,111,0.18);
  padding: 34px 36px 26px 36px;
  position: relative;
  z-index: 3110;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: modalIn 0.29s cubic-bezier(.32,.94,.61,1.19);
}
@keyframes modalIn {
  0% {transform: scale(0.90) translateY(65px); opacity:0;}
  100% {transform: scale(1) translateY(0); opacity:1;}
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--primary);
}
.cookie-modal-close {
  position: absolute;
  right: 26px;
  top: 18px;
  font-size: 1.7rem;
  color: var(--primary);
  background: none;
  border: none;
  cursor: pointer;
}
.cookie-modal label.switch {
  display: flex;
  align-items: center;
  cursor: pointer;
  gap: 4px;
}
.switch input[type="checkbox"] {
  appearance: none;
  width: 34px;
  height: 20px;
  border-radius: 10px;
  background: #e2bae0;
  outline: none;
  transition: background 0.18s;
  position: relative;
  margin-right: 8px;
}
.switch input[type="checkbox"]:checked {
  background: var(--primary);
}
.switch input[type="checkbox"]:before {
  content: '';
  position: absolute;
  left: 2px; top: 2px;
  background: #fff;
  width: 16px; height: 16px;
  border-radius: 50%;
  transition: left 0.18s;
}
.switch input[type="checkbox"]:checked:before {
  left: 16px;
}
.cookie-modal .btns {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}
@media (max-width: 540px) {
  .cookie-modal {
    padding: 22px 10px 16px 10px;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 10px;
    padding: 20px 10px 20px 10px;
    font-size: 0.97rem;
  }
}

/* RESPONSIVE FLEX LAYOUTS */
@media (max-width: 900px) {
  .service-list, .team-list, .features-list {
    flex-direction: column;
    gap: 18px;
  }
  .service-item, .team-member {
    min-width: unset;
    max-width: unset;
    width: 100%;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .content-wrapper {
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}

/* MISCELLANEOUS */
::-webkit-scrollbar { width: 10px; background: #f2f2f2; }
::-webkit-scrollbar-thumb { background: var(--secondary); border-radius: 7px; }
::-webkit-scrollbar-thumb:hover { background: #e3c2da; }

input[type="checkbox"], input[type="radio"] {
  accent-color: var(--primary);
}

hr {
  border: none;
  border-top: 1.5px solid #eaeaea;
  margin: 24px 0;
}

/* GEOMETRIC DECORATIVE SHAPES (optional for extra boldness) */
.decoblock {
  display: inline-block;
  height: 12px;
  width: 44px;
  background: var(--primary);
  border-radius: 6px;
  margin-bottom: 4px;
}

/* FOCUS STATES FOR BETTER ACCESSIBILITY */
a:focus, button:focus, input:focus, .cta-btn:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* PRINT STYLES */
@media print {
  .header-container, .main-nav, .mobile-menu, .footer-wrapper, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  body { background: #fff !important; color: #111 !important; }
}
