/* ===== CSS Reset & Normalize ===== */
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 { scroll-behavior: smooth; }
body {
  background: #fff;
  color: #2B3748;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
img, picture, video {
  max-width: 100%;
  height: auto;
  display: block;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  color: #2B3748;
  font-weight: bold;
  line-height: 1.13;
  letter-spacing: -0.02em;
}
h1 { font-size: 2.4rem; margin-bottom: 18px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.25rem; margin-bottom: 10px; }
h4, h5, h6 { font-size: 1rem; }
p, ul, ol, blockquote { margin-bottom: 16px; }
ul, ol { padding-left: 24px; }
blockquote {
  padding: 18px 26px;
  background: #F3E9E2;
  border-left: 6px solid #8780A7;
  border-radius: 10px;
  font-style: italic;
  color: #2B3748;
  margin-bottom: 18px;
}
strong { font-weight: 600; }
a {
  color: #8780A7;
  text-decoration: underline;
  transition: color 0.18s;
}
a:hover,
a:focus {
  color: #2B3748;
  text-decoration: none;
}

/* ===== Layout & Containers ===== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
main > section:not(:last-child) {
  margin-bottom: 60px;
}

/* ===== Header & Navigation ===== */
header {
  background: #fff;
  box-shadow: 0 3px 18px 0 rgba(43,55,72,0.07);
  position: sticky;
  top: 0;
  z-index: 40;
}
header .container {
  padding-top: 14px;
  padding-bottom: 14px;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.brand-logo img {
  display: block;
  height: 38px;
  width: auto;
}
.main-nav {
  display: flex;
  gap: 22px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 6px 2px;
  font-weight: 500;
  color: #2B3748;
  border-bottom: 2px solid transparent;
  text-decoration: none;
  transition: color 0.2s, border-bottom 0.2s;
  letter-spacing: 0.03em;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #8780A7;
  border-bottom: 2px solid #8780A7;
}
.cta-button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  background: #2B3748;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  border: none;
  border-radius: 9px;
  padding: 12px 28px;
  margin-left: 12px;
  box-shadow: 0 2px 12px 0 rgba(43,55,72,0.07);
  cursor: pointer;
  letter-spacing: 0.09em;
  transition: background 0.2s, color 0.2s, box-shadow 0.18s;
  outline: none;
  text-decoration: none;
  display: inline-block;
}
.cta-button:hover,
.cta-button:focus {
  background: #8780A7;
  color: #fff;
  box-shadow: 0 4px 18px 0 rgba(43,55,72,0.14);
}
.mobile-menu-toggle {
  display: none;
  background: none;
  color: #2B3748;
  font-size: 2.1rem;
  border: none;
  cursor: pointer;
  margin-left: 25px;
  line-height: 1.1;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  transition: background 0.18s;
  z-index: 52;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #F3E9E2;
  color: #8780A7;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 6px 24px 0 rgba(43,55,72,0.15);
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.74,.01,.38,1);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 0;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  background: none;
  color: #8780A7;
  border: none;
  font-size: 2.6rem;
  align-self: flex-end;
  margin: 24px 28px 18px 0;
  cursor: pointer;
  transition: color 0.18s, background 0.18s;
  border-radius: 10px;
  width: 48px;
  height: 48px;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #F3E9E2;
  color: #2B3748;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  padding: 6px 34px;
}
.mobile-nav a {
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #2B3748;
  text-decoration: none;
  padding: 14px 0;
  border-radius: 0 15px 15px 0;
  width: 100%;
  display: block;
  transition: color 0.2s, background 0.2s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #F3E9E2;
  color: #8780A7;
}
@media (max-width: 1050px) {
  header .main-nav,
  header .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}

/* ===== Hero section & Section Headings ===== */
.hero {
  background: #F3E9E2;
  border-bottom: 8px solid #8780A7;
  padding: 56px 0 36px 0;
  position: relative;
  margin-bottom: 0;
}
.hero .container {
  align-items: center;
  text-align: center;
}
.hero h1 {
  font-size: 2.5rem;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: #2B3748;
}
.hero p {
  font-size: 1.18rem;
  margin-bottom: 17px;
}
.hero .cta-button {
  font-size: 1.08rem;
  margin-top: 12px;
  margin-left: 0;
}

/* ===== Features and Cards ===== */
.features,
.services,
.about,
.cta,
.legal,
.contact {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 20px 0 rgba(43,55,72,0.04);
}
.features .content-wrapper,
.services .content-wrapper,
.about .content-wrapper,
.cta .content-wrapper,
.legal .content-wrapper,
.contact .content-wrapper {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 28px 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.feature-grid {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
  margin-bottom: 0;
}
.feature-grid li {
  background: #F3E9E2;
  border-radius: 16px;
  box-shadow: 0 3px 14px 0 rgba(135,128,167,0.07);
  padding: 28px 20px 22px 20px;
  flex: 1 1 200px;
  min-width: 210px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  border: 2.5px solid #eee;
  transition: box-shadow 0.19s, border 0.17s;
  margin-bottom: 20px;
  position: relative;
}
.feature-grid li:hover,
.feature-grid li:focus-within {
  box-shadow: 0 6px 30px 7px rgba(135,128,167,0.12);
  border-color: #8780A7;
}
.feature-grid img {
  width: 38px;
  height: 38px;
  margin-bottom: 2px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 7px 0 rgba(135,128,167,0.13);
}
.feature-grid h3 {
  font-size: 1.19rem;
  font-family: 'Playfair Display', serif;
  margin-bottom: 5px;
  margin-top: 0;
}
.feature-grid p {
  font-size: 1rem;
  color: #2B3748;
}
.service-list {
  margin-top: 13px;
  margin-bottom: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
}
.service-list li {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 9px 0 rgba(135,128,167,0.07);
  flex: 1 1 260px;
  min-width: 230px;
  max-width: 390px;
  padding: 26px 20px 20px 20px;
  margin-bottom: 20px;
  border: 1.5px solid #eee;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.14s, border 0.15s;
}
.service-list li:hover,
.service-list li:focus-within {
  border-color: #8780A7;
  box-shadow: 0 4px 18px 0 rgba(135,128,167,0.12);
}
.price-info {
  background: #F3E9E2;
  color: #2B3748;
  border-radius: 6px;
  display: inline-block;
  padding: 8px 16px;
  font-weight: bold;
  font-size: 1rem;
  margin-top: 14px;
  letter-spacing: 0.04em;
}

/* ===== Testimonials (Professional Card with Contrast) ===== */
.testimonials {
  background: #F3E9E2;
  border-radius: 26px;
  box-shadow: 0 7px 30px 0 rgba(43,55,72,0.04);
  margin-bottom: 60px;
  padding: 40px 20px 30px 20px;
}
.testimonials h2 {
  color: #2B3748;
}
.testimonial-card {
  background: #fff;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 3px 18px 0 rgba(135,128,167,0.10);
  padding: 20px 28px 20px 24px;
  border-radius: 17px;
  margin-bottom: 20px;
  flex-direction: row;
  border-left: 8px solid #8780A7;
  min-width: 0;
  position: relative;
}
.testimonial-card:last-child { margin-bottom: 0; }
.testimonial-card blockquote {
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  color: #2B3748;
  font-size: 1.08rem;
  font-style: italic;
}
.testimonial-author {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #8780A7;
  font-size: 1rem;
  font-weight: 600;
  margin-left: 18px;
  white-space: nowrap;
}

/* ===== Call To Action ===== */
.cta {
  background: #8780A7;
  color: #fff;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(2,2,16,0.07);
}
.cta h2,
.cta p {
  color: #fff;
}
.cta .cta-button {
  background: #fff;
  color: #8780A7;
  margin-top: 16px;
  box-shadow: 0 3px 13px 0 rgba(43,55,72,0.08);
}
.cta .cta-button:hover,
.cta .cta-button:focus {
  background: #2B3748;
  color: #fff;
}

/* ===== Legal & Contact Pages ===== */
.legal .content-wrapper,
.legal .text-section,
.contact .content-wrapper,
.contact .text-section {
  gap: 12px;
}
.legal ul, .contact ul { margin-bottom: 12px; }

/* ===== Footer ===== */
footer {
  background: #F3E9E2;
  padding: 28px 0 15px 0;
  border-top: 5px solid #8780A7;
}
footer .container {
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #8780A7;
  font-size: 1rem;
  margin-top: 8px;
}
.footer-brand img {
  height: 36px;
  width: auto;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-bottom: 0;
}
.footer-links a {
  color: #2B3748;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 8px;
  padding: 4px 10px;
  transition: background 0.16s, color 0.16s;
}
.footer-links a:hover,
.footer-links a:focus {
  color: #fff;
  background: #8780A7;
}

/* ===== Utility Flex Classes (MANDATORY PATTERNS) ===== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ===== Text Section Styles ===== */
.text-section {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.text-section h2 {
  color: #2B3748;
  font-size: 1.33rem;
  font-family: 'Playfair Display', serif;
  margin-bottom: 5px;
}

/* ===== Responsive Design (MOBILE FIRST) ===== */
@media (max-width: 1050px) {
  .feature-grid,
  .service-list,
  .footer-links {
    flex-wrap: wrap;
    gap: 16px;
    justify-content: flex-start;
  }
}
@media (max-width: 900px) {
  .feature-grid li, .service-list li {
    min-width: 48%;
    max-width: none;
  }
  .hero h1 { font-size: 2rem; }
}
@media (max-width: 768px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .main-nav {
    display: none;
  }
  .hero h1 { font-size: 1.27rem; }
  .hero .container { padding-top: 30px; padding-bottom: 20px; }
  .section {
    padding: 32px 6px;
    margin-bottom: 36px;
  }
  .feature-grid, .service-list {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid li, .service-list li {
    min-width: 100%;
    max-width: 100%;
    padding: 18px 10px 14px 10px;
    font-size: 1rem;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    padding: 16px 10px 16px 10px;
    border-left: 5px solid #8780A7;
  }
  .testimonial-author { margin-left: 0; }
  .footer-links { gap: 10px; }
  .footer-brand { gap: 9px; font-size: 0.99rem; }
  .about .content-wrapper, .contact .content-wrapper, .cta .content-wrapper, .legal .content-wrapper { padding: 14px 0; }
  .text-image-section {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 18px;
  }
  header .container {
    flex-direction: row;
    gap: 6px;
  }
}
/* Typography scale for geometric_structured look */
@media (max-width: 600px) {
  h1 { font-size: 1.40rem; }
  h2 { font-size: 1.12rem; }
  .cta-button { padding: 10px 16px; font-size: 0.97rem; }
  .brand-logo img { height: 29px; }
  .footer-brand img { height: 24px; }
}

/* ====== Cookie Consent Banner ====== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -3px 22px 0 rgba(43,55,72,0.11);
  padding: 18px 14px 18px 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  z-index: 300;
  gap: 16px;
  justify-content: space-between;
  font-size: 1rem;
  border-top: 3px solid #8780A7;
  transition: transform 0.32s cubic-bezier(.86,.01,.38,1), opacity 0.19s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-message {
  flex: 2;
  color: #2B3748;
  font-size: 1rem;
  margin-right: 16px;
}
.cookie-banner .cookie-actions {
  flex: 1;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  border-radius: 11px;
  padding: 9px 20px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  background: #8780A7;
  color: #fff;
  margin-left: 0;
  margin-right: 0;
  transition: background 0.19s, color 0.19s, box-shadow 0.15s;
}
.cookie-banner button:hover,
.cookie-banner button:focus {
  background: #2B3748;
  color: #fff;
}
.cookie-banner .cookie-settings-btn {
  background: #F3E9E2;
  color: #2B3748;
  border: 1.5px solid #8780A7;
  transition: background 0.16s, color 0.16s, border 0.16s;
}
.cookie-banner .cookie-settings-btn:hover,
.cookie-banner .cookie-settings-btn:focus {
  background: #fff;
  color: #8780A7;
  border: 2px solid #8780A7;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    padding: 14px 8px 14px 12px;
    font-size: 0.96rem;
  }
  .cookie-banner .cookie-actions {
    width: 100%;
    flex-direction: row;
    gap: 10px;
    justify-content: flex-end;
  }
}

/* ====== Cookie Modal ====== */
.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(43,55,72,0.32);
  z-index: 400;
  opacity: 1;
  transition: opacity 0.24s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal {
  background: #fff;
  border-radius: 19px;
  box-shadow: 0 15px 64px 0 rgba(43,55,72,0.19);
  width: 97vw;
  max-width: 420px;
  padding: 32px 30px 16px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  color: #8780A7;
  border: none;
  font-size: 2.3rem;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.16s, color 0.16s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  background: #F3E9E2;
  color: #2B3748;
}
.cookie-modal h2 {
  font-size: 1.3rem;
  margin-bottom: 16px;
  color: #2B3748;
  font-family: 'Playfair Display', serif;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid #F3E9E2;
  font-size: 1rem;
}
.cookie-category:last-child { border-bottom: none; }
.cookie-category .cookie-toggle {
  margin-left: 9px;
}
.cookie-category .toggle-switch {
  width: 46px;
  height: 24px;
  background: #eee;
  border-radius: 14px;
  position: relative;
  display: inline-block;
  vertical-align: middle;
  cursor: pointer;
  transition: background 0.18s;
}
.cookie-category .toggle-switch[aria-checked="true"] {
  background: #8780A7;
}
.cookie-category .toggle-thumb {
  position: absolute;
  left: 3px;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(43,55,72,0.13);
  transition: transform 0.18s;
}
.cookie-category .toggle-switch[aria-checked="true"] .toggle-thumb {
  transform: translateX(22px);
}
.cookie-modal-actions {
  display: flex;
  gap: 19px;
  margin-top: 22px;
  justify-content: flex-end;
}
.cookie-modal-actions button {
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  border-radius: 12px;
  padding: 10px 22px;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  background: #8780A7;
  cursor: pointer;
  transition: background 0.18s, color 0.19s;
}
.cookie-modal-actions button:hover,
.cookie-modal-actions button:focus {
  background: #2B3748;
}

/* ===== Animations & States ===== */
.cta-button, .cookie-banner button, .cookie-modal-actions button {
  transition: background 0.19s, color 0.19s, box-shadow 0.2s, border 0.19s;
}
@media (hover: hover) {
  .cta-button:hover, .cta-button:focus,
  .cookie-banner button:hover, .cookie-banner button:focus,
  .cookie-modal-actions button:hover, .cookie-modal-actions button:focus {
    box-shadow: 0 6px 22px 0 rgba(135,128,167,0.17);
  }
}

/* ===== Geometric-Structured Shapes (accents) ===== */
.feature-grid li, .service-list li, .testimonial-card {
  clip-path: polygon(0 0, 97% 0, 100% 16%, 100% 100%, 3% 100%, 0 85%);
  /* geometric angular accent */
}
.cta, .cta .cta-button {
  clip-path: polygon(6% 0,94% 0,100% 23%,100% 100%,0 100%,0 24%);
}
.section, .about, .contact {
  /* touch of angular, but keep it readable and light */
  border-radius: 22px 22px 20px 20px;
  box-shadow: 0 4px 30px 0 rgba(135,128,167,0.04);
}

/* ===== Hide visually, re-use for accessibility ===== */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  border: 0 !important;
}

/* ===== Custom Scrollbar (for desktop) ===== */
@media (min-width: 800px) {
  ::-webkit-scrollbar { width: 11px; height: 11px; }
  ::-webkit-scrollbar-thumb { background: #F3E9E2; border-radius: 6px; }
  ::-webkit-scrollbar-thumb:hover { background: #e7dfd6; }
}

/* =============== END OF STYLE.CSS =============== */