/* =====================
   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, menu, 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, 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, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  font-family: 'Open Sans', Georgia, Times, serif;
  background: #F3EAE3;
  color: #23272A;
  min-height: 100vh;
  font-size: 16px;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
  border-radius: 6px;
}
a {
  color: #6E36A7;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #23272A;
  text-decoration: underline;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Georgia, Times, serif;
  font-weight: 700;
  color: #23272A;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  line-height: 1.16;
}
h3 {
  font-size: 1.375rem;
  margin-bottom: 14px;
  font-weight: 600;
}
h4 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
}
p {
  margin-bottom: 16px;
  line-height: 1.7;
}
strong, b {
  font-weight: 600;
}

/* ================
   LAYOUT & SPACING
   ================ */
.container {
  width: 100%;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(255,255,255,0.7);
  border-radius: 16px;
  box-shadow: 0 4px 20px 0 rgba(110,54,167,0.06);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
/* Card container flex layouts */
.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; background: #fff; margin-bottom: 20px; border-radius: 12px; box-shadow: 0 2px 12px 0 rgba(35,39,42,0.06); color: #23272A; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }
.features-grid { display: flex; flex-wrap: wrap; gap: 24px; }
.feature-card {
  background: #fff;
  border-radius: 10px;
  padding: 28px 24px;
  flex: 1 1 220px;
  min-width: 220px;
  box-shadow: 0 2px 8px 0 rgba(110,54,167,0.06);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  transition: box-shadow 0.2s, transform 0.2s;
  border: 1px solid #ece6dc;
}
.feature-card:hover, .service-card:hover {
  box-shadow: 0 8px 24px 0 rgba(110,54,167,0.13);
  transform: translateY(-2px) scale(1.015);
}
.feature-card img, .service-card img {
  width: 42px;
  height: 42px;
  margin-bottom: 4px;
}
.feature-icons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  margin: 22px 0 15px 0;
  font-size: 1rem;
  color: #6E36A7;
}
.feature-icons img {
  width: 26px;
  height: 26px;
  vertical-align: middle;
  margin-right: 6px;
}

/* ================
   NAVIGATION
   ================ */
header {
  background: #fff;
  /* Subtle border & shadow */
  box-shadow: 0 2px 12px 0 rgba(35,39,42,0.04);
  position: relative;
  z-index: 1002;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: 'Montserrat', Georgia, Times, serif;
  padding: 18px 0 16px 0;
  justify-content: flex-start;
}
.main-nav > a {
  font-size: 1.1rem;
  color: #23272A;
  font-weight: 500;
  padding: 2px 2px 2px 2px;
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
  line-height: 1.2;
}
.main-nav > a:hover, .main-nav > a:focus:not(.cta-btn) {
  background: #F3EAE3;
  color: #6E36A7;
}
.main-nav > a img {
  width: 98px;
  height: auto;
  margin-right: 4px;
  vertical-align: middle;
}
.cta-btn {
  background: #6E36A7;
  color: #fff !important;
  border-radius: 30px;
  padding: 11px 28px;
  font-weight: 600;
  font-family: 'Montserrat', Georgia, Times, serif;
  font-size: 1.08rem;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px 0 rgba(110,54,167,0.10);
  border: none;
  outline: none;
  margin-left: 22px;
  cursor: pointer;
  transition: background 0.19s, transform 0.14s;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #4a236f;
  color: #fff;
  transform: scale(1.03);
}

/* ===============
   HERO SECTION
   =============== */
.hero {
  background: linear-gradient(130deg, #f3eae3 80%, #ede3dc 100%);
  padding-top: 60px;
  padding-bottom: 60px;
  margin-bottom: 34px;
  border-bottom: 1px solid #ece6dc;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 36px;
}
.hero h1 {
  font-size: 2.5rem;
  font-family: 'Montserrat', Georgia, Times, serif;
  color: #6E36A7;
  margin-bottom: 8px;
}
.hero p {
  font-size: 1.18rem;
  color: #23272A;
  opacity: 0.85;
  margin-bottom: 20px;
}

/* ================
   SERVICES SECTION
   ================ */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 22px;
}
.service-card {
  background: #fff;
  border-radius: 10px;
  padding: 26px 22px;
  flex: 1 1 220px;
  min-width: 220px;
  box-shadow: 0 2px 8px 0 rgba(110,54,167,0.06);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid #ece6dc;
  transition: box-shadow 0.2s, transform 0.2s;
  margin-bottom: 20px;
}
.service-card h3 span {
  font-size: 1rem;
  font-weight: 400;
  background: #eee7e0;
  color: #6E36A7;
  border-radius: 6px;
  padding: 2px 9px;
  margin-left: 6px;
}

/* ================
   FOOTER
   ================ */
footer {
  background: #fff;
  box-shadow: 0 -2px 10px 0 rgba(35,39,42,0.03);
  padding: 28px 0 16px 0;
  margin-top: 60px;
  font-size: 0.97rem;
}
.footer-nav {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 6px;
}
.footer-nav a {
  color: #23272A;
  font-family: 'Montserrat', Georgia, Times, serif;
  opacity: 0.80;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #6E36A7;
  opacity: 1;
}
footer p {
  text-align: center;
  color: #737373;
}

/* ================
   TESTIMONIALS
   ================ */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 20px;
  background: #fff !important;
  margin-bottom: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 18px 0 rgba(110,54,167,0.13);
  border: 1px solid #ded5cb;
  font-size: 1.05rem;
}
.testimonial-card p {
  color: #23272A;
  font-style: italic;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: #6E36A7;
  font-family: 'Montserrat', Georgia, Times, serif;
  font-weight: 600;
}

/* ==============
   LISTS
   ============== */
ul, ol {
  font-size: 1rem;
  margin-bottom: 16px;
  color: #23272A;
  list-style-type: disc;
}
ul li::marker, ol li::marker {
  color: #6E36A7;
}

/* ==============
   BUTTONS
   ============== */
button, .cta-btn {
  font-family: 'Montserrat', Georgia, Times, serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, color 0.13s, transform 0.13s;
}
button:focus, .cta-btn:focus {
  outline: 2px solid #6E36A7;
  outline-offset: 2px;
}

/* ==============
   MOBILE NAVIGATION
   ============== */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 18px;
  top: 15px;
  background: #fff;
  border: 1px solid #ece6dc;
  border-radius: 8px;
  color: #6E36A7;
  font-size: 2.3rem;
  padding: 6px 14px;
  z-index: 1201;
  transition: background 0.14s, color 0.13s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #f3eae3;
  color: #4a236f;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(243,234,227,.98);
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.68,-0.55,.27,1.55);
  z-index: 1200;
  box-shadow: 0 6px 22px 0 rgba(35,39,42,0.08);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 32px;
  padding-left: 0;
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 16px;
  right: 22px;
  background: #fff;
  color: #6E36A7;
  font-size: 2.1rem;
  border: 1px solid #ece6dc;
  border-radius: 8px;
  padding: 4px 13px;
  cursor: pointer;
  transition: background 0.16s;
  z-index: 1210;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F3EAE3;
  color: #4a236f;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 60px 36px 0 36px;
  width: 100vw;
  height: 80vh;
  overflow-y: auto;
}
.mobile-nav a {
  color: #23272A;
  font-size: 1.25rem;
  font-family: 'Montserrat', Georgia, Times, serif;
  padding: 14px 0 12px 0;
  border-bottom: 1px solid #ede3dc;
  outline: none;
  transition: color 0.15s, background 0.19s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #6E36A7;
  background: #f3eae3;
  border-radius: 5px;
}
/* ================
   COOKIE CONSENT BANNER
   ================ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  color: #23272A;
  border-top: 1px solid #ece6dc;
  box-shadow: 0 -4px 24px 0 rgba(110,54,167,0.08);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  z-index: 1250;
  font-size: 1.02rem;
  gap: 20px;
  animation: slideInBanner 0.5s cubic-bezier(.32,1.99,.57,.99);
}
@keyframes slideInBanner {
  from { transform: translateY(70px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  margin-bottom: 0;
  margin-right: 10px;
}
.cookie-actions {
  display: flex;
  gap: 15px;
}
.cookie-btn {
  display: inline-block;
  font-family: 'Montserrat', Georgia, Times, serif;
  padding: 9px 22px;
  margin: 0 2px;
  border-radius: 22px;
  border: none;
  cursor: pointer;
  font-size: 1.08rem;
  font-weight: 600;
  background: #F3EAE3;
  color: #23272A;
  transition: background 0.18s, color 0.13s, transform 0.13s;
}
.cookie-btn.accept {
  background: #6E36A7;
  color: #fff;
  box-shadow: 0 2px 6px rgba(110,54,167,0.11);
}
.cookie-btn.accept:hover { background: #4a236f; }
.cookie-btn.reject { background: #ede3dc; color: #23272A; }
.cookie-btn.reject:hover { background: #d7c2af; }
.cookie-btn.settings { background: #fff; border: 1px solid #6E36A7; color: #6E36A7; }
.cookie-btn.settings:hover { background: #f3eae3; }

/* COOKIE PREFS MODAL */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 93vw;
  max-width: 430px;
  min-width: 240px;
  background: #fff;
  box-shadow: 0 8px 40px rgba(110,54,167,0.22);
  color: #23272A;
  border-radius: 18px;
  transform: translate(-50%, -50%) scale(0.96);
  z-index: 9999;
  padding: 36px 28px 18px 28px;
  display: none;
  flex-direction: column;
  gap: 16px;
  animation: fadeModalIn 0.29s cubic-bezier(.82, -0.01, .43, .99);
}
@keyframes fadeModalIn {
  from { opacity: 0; transform: translate(-50%,-56%) scale(0.92); }
  to { opacity: 1; transform: translate(-50%,-50%) scale(0.98); }
}
.cookie-modal.open {
  display: flex;
}
.cookie-modal h2 {
  color: #6E36A7;
  font-size: 1.4rem;
}
.cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 11px;
  font-size: 1.05rem;
}
.cookie-category label {
  font-weight: 600;
}
.cookie-toggle {
  display: inline-block;
  width: 36px;
  height: 19px;
  background: #ede3dc;
  border-radius: 11px;
  position: relative;
  cursor: pointer;
  transition: background 0.15s;
  margin-left: 11px;
  vertical-align: middle;
}
.cookie-toggle input { display: none; }
.cookie-toggle .slider {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 15px;
  height: 15px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.22s;
  box-shadow: 0 1px 4px rgba(110,54,167,0.09);
}
.cookie-toggle input:checked + .slider {
  left: 19px;
  background: #6E36A7;
}
.cookie-category.essential label,
.cookie-category.essential .cookie-toggle {
  opacity: 0.55;
  cursor: not-allowed;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 19px;
  right: 22px;
  background: #fff;
  border-radius: 12px;
  color: #6E36A7;
  font-size: 1.6rem;
  border: none;
  padding: 2px 10px;
  cursor: pointer;
  z-index: 11002;
  transition: background 0.16s;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus { background: #f3eae3; color: #4a236f; }

.cookie-modal .modal-actions {
  display: flex;
  gap: 13px;
  margin-top: 12px;
  justify-content: flex-end;
}

/* ===============
   RESPONSIVE DESIGN
   =============== */
@media (max-width: 1150px) { .container { max-width: 96vw; } }
@media (max-width: 1000px) { .main-nav { gap: 18px; } }
@media (max-width: 900px) {
  .main-nav {
    gap: 10px;
    font-size: 1rem;
  }
  .container {
    padding-left: 5vw;
    padding-right: 5vw;
  }
  .feature-icons { gap: 14px; font-size: 0.95rem; }
}
@media (max-width: 770px) {
  .main-nav > a { font-size: 0.99rem; }
  .container { padding-left: 8px; padding-right: 8px; }
}
@media (max-width: 800px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
}
@media (max-width: 700px) {
  .footer-nav { flex-wrap: wrap; gap: 10px; font-size: 0.92rem; }
  .feature-card, .service-card { min-width: 170px !important; padding: 18px 10px; }
  .features-grid, .service-list { gap: 15px; }
}
@media (max-width: 600px) {
  .hero { padding-top: 32px; padding-bottom: 32px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.44rem; }
  h3 { font-size: 1.18rem; }
  .testimonial-card { font-size: 1.01rem; }
  .section { padding: 18px 5px; margin-bottom: 32px; border-radius: 8px; }
}
@media (max-width: 500px) {
  .testimonial-card, .feature-card, .service-card { padding: 10px 5px; }
  .container { padding-left: 3px; padding-right: 3px; }
}
@media (max-width: 768px) {
  .content-grid, .features-grid, .service-list { flex-direction: column; gap: 20px; }
  .text-image-section { flex-direction: column; gap: 16px; }
  .main-nav { display: none !important; }
  .hero .container { align-items: flex-start; }
}
@media (max-width: 750px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 15px 10px;
    font-size: 0.99rem;
  }
}

/* =============
   FORM ELEMENTS
   ============= */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  padding: 9px 12px;
  border-radius: 6px;
  border: 1px solid #ece6dc;
  background: #fff;
  color: #23272A;
  margin-bottom: 12px;
  width: 100%;
}
input:focus, textarea:focus, select:focus {
  box-shadow: 0 2px 8px 0 rgba(110,54,167,0.10);
  outline: none;
  border-color: #6E36A7;
}
label { display: block; font-weight: 600; margin-bottom: 6px; }

/* =============
   TABLES
   ============= */
table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 24px;
}
th, td {
  border: 1px solid #ece6dc;
  padding: 12px 7px;
  text-align: left;
  font-size: 1rem;
}
th {
  background: #f3eae3;
  color: #23272A;
}

tbody tr:nth-child(odd) { background: #faf7f2; }
tbody tr:nth-child(even) { background: #fff; }

/* =============
   MICRO INTERACTIONS
   ============= */
.card, .feature-card, .testimonial-card, .service-card {
  transition: box-shadow 0.21s cubic-bezier(.23,1.18,.37,1.07), transform 0.18s;
}
.card:hover, .feature-card:hover, .service-card:hover {
  box-shadow: 0 8px 28px 0 rgba(110,54,167,0.18);
  transform: scale(1.012);
}

/* =============
   ACCENT BORDERS, ELEMENTS
   ============= */
hr {
  border: none;
  border-top: 1px solid #ece6dc;
  margin: 30px 0;
}

/* =============
   SCROLLBAR ELEGANCE
   ============= */
::-webkit-scrollbar { width: 8px; background: #F3EAE3; }
::-webkit-scrollbar-thumb { background: #ded5cb; border-radius: 12px; }

/*
===========================================
Elegant Classic Design: Muted Colors & Serif
===========================================
*/
body, p, ul, ol, input, textarea, select {
  font-family: 'Open Sans', Georgia, Times, serif;
  color: #23272A;
  font-size: 1rem;
}
h1,h2,h3,h4,h5,h6, .cta-btn {
  font-family: 'Montserrat', Georgia, Times, serif;
}
blockquote {
  border-left: 4px solid #6E36A7;
  margin: 24px 0;
  padding: 8px 20px;
  font-style: italic;
  background-color: #f3eae3;
  border-radius: 7px;
  color: #23272A;
}
/* Decorative lines for classic feel */
.section > .container > h2:after, .section > .container > .text-section > h2:after {
  content: '';
  display: block;
  width: 38px;
  height: 2px;
  background: #c1aacb;
  margin-top: 8px;
  opacity: 0.5;
  border-radius: 2px;
}
.section > .container > h2, .section > .container > .text-section > h2 {
  position: relative;
}

/* Hide main nav on mobile, show burger */
@media (max-width: 800px) {
  .main-nav { display: none !important; }
  .mobile-menu-toggle { display: block; }
}
@media (min-width: 801px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
  .main-nav { display: flex !important; }
}

/* Accessibility: visually hidden text helper */
.visually-hidden {
  position: absolute !important;
  left: -10000px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

/*
=========================
Z-INDEX LAYER CONTROL
=========================
*/
header { z-index: 1002; position: relative; }
.main-nav, .cta-btn { z-index: 1003; }
.mobile-menu, .mobile-menu-close { z-index: 1200; }
.cookie-banner, .cookie-modal { z-index: 1250; }

/*
=========================
UTILITY CLASSES
=========================
*/
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.centered { text-align: center; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-col { display: flex; flex-direction: column; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

/*
=========================
NO CSS GRID/NO COLUMNS: Flexbox Only
=========================
(see all .card-container, .content-grid, .features-grid, etc.)
*/

/*
=========================
NO absolute positioning for content cards, only for decorative/close buttons as above
=========================
*/
