/* ===== CSS RESET & NORMALIZATION ===== */
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.5;
  background: #F9F7F2;
  color: #23221E;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  border: none;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
button {
  background: none;
  border: none;
  outline: none;
}
:focus {
  outline: 2px solid #535288;
  outline-offset: 2px;
}

/* ===== TYPOGRAPHY ===== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

body {
  font-family: 'Roboto', Georgia, serif;
  font-size: 16px;
  font-weight: 400;
  background: #F9F7F2;
  color: #23221E;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Georgia, serif;
  color: #23221E;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
}
h1 {
  font-size: 2.5rem;
  letter-spacing: -0.01em;
}
h2 {
  font-size: 2rem;
  letter-spacing: -0.01em;
}
h3 {
  font-size: 1.4rem;
}
p, ul li, ol li {
  font-size: 1rem;
  margin-bottom: 16px;
  color: #3A3932;
}
strong {
  font-family: 'Montserrat', serif;
  font-weight: 700;
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* ===== HEADER ===== */
header {
  background: #fff;
  border-bottom: 1px solid #ece2d0;
  position: sticky;
  z-index: 990;
  top: 0;
  box-shadow: 0 2px 10px rgba(85,80,68,0.04);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  margin-right: 24px;
}
nav {
  display: flex;
  gap: 32px;
  align-items: center;
  flex: 1;
}
nav a {
  font-family: 'Montserrat', serif;
  font-weight: 600;
  font-size: 1rem;
  color: #535288;
  position: relative;
  padding: 4px 0 4px 0;
  transition: color 0.2s;
}
nav a:hover, nav a:focus {
  color: #b0966e;
}
.cta-primary {
  font-family: 'Montserrat', serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background-color: #535288;
  padding: 11px 30px;
  margin-left: 16px;
  border-radius: 28px;
  box-shadow: 0 4px 14px rgba(83,82,136,0.07);
  border: none;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, box-shadow 0.25s;
  letter-spacing: 0.005em;
  display: inline-block;
  line-height: 1.05;
  position: relative;
  z-index: 2;
}
.cta-primary:hover, .cta-primary:focus {
  background-color: #6b68a9;
  color: #fff;
  box-shadow: 0 6px 24px rgba(83,82,136,0.15);
}

/* ===== MOBILE MENU ===== */
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  color: #535288;
  background: transparent;
  border: none;
  padding: 7px 16px;
  margin-left: 14px;
  cursor: pointer;
  border-radius: 8px;
  box-shadow: none;
  transition: background 0.18s;
  z-index: 1001;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #f3eee7;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: -2px 0 12px rgba(83,82,136,0.12);
  z-index: 2000;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.67,.19,.29,.89);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  will-change: transform;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  font-size: 2.4rem;
  background: none;
  color: #535288;
  align-self: flex-end;
  margin: 24px 26px 0 0;
  cursor: pointer;
  border-radius: 8px;
  padding: 5px 12px;
  border: none;
  transition: background 0.15s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #f3eee7;
}
.mobile-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 34px auto 0 40px;
  width: calc(100vw - 90px);
  max-width: 420px;
}
.mobile-nav a {
  font-family: 'Montserrat', serif;
  font-weight: 600;
  font-size: 1.4rem;
  color: #535288;
  padding: 11px 0;
  border-radius: 5px;
  transition: background 0.12s, color 0.12s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #f3eee7;
  color: #b0966e;
}

@media (max-width: 992px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (min-width: 993px) {
  .mobile-menu {
    display: none!important;
  }
}

/* ===== MAIN LAYOUT & SECTIONS ===== */
main {
  min-height: 50vh;
  background: #F9F7F2;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  max-width: 900px;
  margin: 0 auto;
}
.text-section {
  max-width: 700px;
  margin: 0 auto;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 12px rgba(83,82,136,.08);
  padding: 30px 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 270px;
}
.card:last-child {
  margin-bottom: 0;
}

/* For specific content grid layouts */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  width: 100%;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 16px 0 rgba(83,82,136,0.12);
  padding: 20px 32px 20px 32px;
  margin-bottom: 20px;
  font-style: italic;
  border-left: 5px solid #DDC092;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  border-left: 5px solid #535288;
  box-shadow: 0 8px 24px rgba(83,82,136,.18);
}
.testimonial-card p {
  color: #23221E;
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.testimonial-card span {
  font-family: 'Montserrat', serif;
  font-weight: 600;
  font-size: 1rem;
  color: #535288;
  font-style: normal;
}
.star-rating {
  color: #DDC092;
  font-family: 'Montserrat', serif;
  font-size: 1.12rem;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  min-width: 200px;
  box-shadow: 0 2px 12px rgba(83,82,136,0.07);
}
.value-list ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.value-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: 12px;
  padding: 21px 24px;
  min-width: 220px;
  box-shadow: 0 2px 8px rgba(83,82,136,0.07);
  margin-bottom: 20px;
  font-size: 1rem;
}
.value-list li img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.service-price {
  font-family: 'Montserrat', serif;
  font-weight: 600;
  color: #535288;
  margin-left: 12px;
  font-size: 1.04em;
}

.inspiration-articles ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ===== FOOTER ===== */
footer {
  background: #fff;
  border-top: 1px solid #ece2d0;
  padding: 50px 0 24px 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}
.footer-brand img {
  width: 52px;
  height: auto;
  display: block;
  margin-bottom: 10px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
footer nav a {
  color: #535288;
  font-family: 'Montserrat', serif;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0;
  position: relative;
  padding: 2px 0;
}
footer nav a:hover, footer nav a:focus {
  color: #b0966e;
}
.footer-contact p {
  font-size: 0.98rem;
  color: #3A3932;
  margin-bottom: 6px;
}
.footer-contact a {
  color: #535288;
  border-bottom: 1px dashed #DDC092;
  transition: color 0.2s;
}
.footer-contact a:hover, .footer-contact a:focus {
  color: #b0966e;
}

/* ===== BUTTONS ETC. ===== */
button, .cta-primary {
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, border 0.18s;
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #fff7ed;
  border-top: 2px solid #DDC092;
  box-shadow: 0 -6px 20px rgba(83,82,136,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  z-index: 3000;
  padding: 26px 12px 24px 12px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(60px);
  transition: opacity 0.25s, transform 0.25s;
}
.cookie-banner.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.cookie-banner .cookie-message {
  max-width: 500px;
  font-family: 'Roboto', Georgia, serif;
  color: #3A3932;
  font-size: 1rem;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 18px;
}
.cookie-btn {
  font-family: 'Montserrat', serif;
  font-weight: 600;
  border-radius: 25px;
  padding: 9px 24px;
  background: #535288;
  color: #fff;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  box-shadow: 0 1px 4px rgba(83,82,136,0.10);
  transition: background 0.17s, color 0.17s;
}
.cookie-btn.settings {
  background: #fff;
  color: #535288;
  border: 1px solid #DDC092;
}
.cookie-btn.reject {
  background: #ECE2D0;
  color: #23221E;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #6b68a9;
  color: #fff;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #f3eee7;
  color: #535288;
  border-color: #b0966e;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #DDC092;
  color: #23221E;
}

/* Cookie modal (for settings) */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 3010;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(53,52,49,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.cookie-modal-backdrop.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(83,82,136,.21);
  padding: 34px 38px 28px 38px;
  max-width: 428px;
  min-width: 320px;
  margin: 24px;
  color: #23221E;
  position: relative;
  z-index: 3020;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: modal-appear 0.3s cubic-bezier(.49,.23,.46,.77);
}
@keyframes modal-appear {
  0% {transform: translateY(60px); opacity: 0;}
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  margin-bottom: 8px;
  font-size: 1.5rem;
}
.cookie-modal-list {
  margin-top: 9px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-modal-list .cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Roboto', serif;
  font-size: 1rem;
}
.cookie-category .toggle {
  display: flex;
  align-items: center;
}
.cookie-category input[type=checkbox] {
  width: 34px;
  height: 20px;
  margin-left: 14px;
  accent-color: #535288;
}
.cookie-modal-footer {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 7px;
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: #535288;
  font-size: 1.75rem;
  cursor: pointer;
  line-height: 1;
  border-radius: 6px;
  transition: background 0.16s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #f3eee7;
}

/* ===== GENERAL ELEMENTS ===== */
::-webkit-scrollbar {
  width: 7px;
  background: #ece2d0;
}
::-webkit-scrollbar-thumb {
  background: #DDC092;
  border-radius: 6px;
}

hr {
  margin: 40px auto;
  border: none;
  border-top: 1px solid #ece2d0;
  width: 80%;
}

a, button, .cta-primary, .cookie-btn {
  transition: color 0.17s, background 0.22s, box-shadow 0.22s, border-color 0.22s;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .container {
    padding: 0 9px;
  }
  .content-wrapper {
    padding: 6px 0 0 0;
    gap: 18px;
  }
  main, section {
    padding: 18px 0;
    margin-bottom: 38px;
  }
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.3rem; }
  .cta-primary {
    padding: 9px 20px;
    font-size: 1rem;
  }
  .text-section {
    max-width: 95vw;
    padding-left: 2vw;
    padding-right: 2vw;
  }
  .card-container, .value-list ul {
    flex-direction: column;
    gap: 16px;
  }
  .card {
    min-width: 0;
    padding: 20px 12px;
  }
  .testimonial-card {
    padding: 16px 13px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
  }
  .feature-item, .value-list li {
    min-width: 0;
    width: 100%;
    padding: 18px 13px;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 0 10px;
  }
  .footer-contact { padding-bottom: 19px; }
  .mobile-nav {
    margin-left: 26px;
    width: 90vw;
    min-width: 0;
  }
}

@media (max-width: 420px) {
  h1 { font-size: 1.22rem; }
  h2 { font-size: 1.05rem; }
  .cta-primary { font-size: 0.93rem; }
}

/* ===== HOVER & MICRORANSACTIONS ===== */
.card:hover, .feature-item:hover, .value-list li:hover, .card:focus-within, .feature-item:focus-within, .value-list li:focus-within {
  box-shadow: 0 12px 32px 0 rgba(83,82,136,0.13);
}
.cta-primary:active, .cookie-btn:active {
  box-shadow: 0 0 0 0 rgba(83,82,136,0.06);
}

/* ===== Z-INDEX LAYERS ===== */
header { z-index: 990; }
.mobile-menu { z-index: 2000; }
.cookie-banner { z-index: 3000; }
.cookie-modal-backdrop { z-index: 3010; }

/* ===== UTILITY & GENERICS ===== */
.mb-0 { margin-bottom: 0 !important; }
.text-center { text-align: center; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.justify-center { justify-content: center; }
.align-center { align-items: center; }
.gap-20 { gap: 20px; }

/* ===== ACCESSIBILITY ===== */
.sr-only {
  position: absolute;
  left: -99999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ===== BRAND COLOR CLASSES (for manual use) ===== */
.bg-primary { background: #535288 !important; color: #fff !important; }
.bg-secondary { background: #DDC092 !important; color: #23221E !important; }
.bg-accent { background: #F9F7F2 !important; }
.text-primary { color: #535288 !important; }
.text-secondary { color: #DDC092 !important; }
.text-accent { color: #F9F7F2 !important; }

/* ===== END OF CSS ===== */
