/* 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,
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;
}
body {
  line-height: 1.5;
  background: #F1F3EA;
  color: #313531;
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  min-height: 100vh;
  position: relative;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
button,
.button,
.cta {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
  border-radius: 24px;
  outline: none;
}
*, *:before, *:after {
  box-sizing: inherit;
}

:root {
  --primary: #313531;
  --secondary: #C58E54;
  --accent: #F1F3EA;
  --artistic1: #B25A38;
  --artistic2: #594CE6;
  --artistic3: #FFB440;
  --artistic4: #0FA3B1;
  --shadow: 0 4px 32px rgba(49,53,49,0.09), 0 1.5px 8px rgba(162, 140, 85, 0.10);
}

/* Container & Layout ----------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
}

/* Section Spacing - MANDATORY RULES ------------------- */
.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: 24px;
  box-shadow: var(--shadow);
  padding: 32px 28px;
}
.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: 24px;
  box-shadow: 0 1.5px 8px rgba(162, 140, 85, 0.07);
  margin-bottom: 20px;
  min-width: 280px;
  max-width: 400px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 0;
}
.features-list > div,
.features-list > article {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 3px 16px rgba(197, 142, 84, 0.09);
  padding: 26px 20px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  min-width: 240px;
  max-width: 350px;
  position: relative;
  z-index: 1;
}

/* Artistic/Decorative Unique Elements ----------------- */
.features-list > div:before, .features-list > article:before {
  content: '';
  display: block;
  width: 30px;
  height: 8px;
  background: var(--artistic2);
  border-radius: 4px;
  position: absolute;
  left: 20px;
  top: 18px;
  opacity: 0.13;
}
.features-list > div:nth-child(2):before, .features-list > article:nth-child(2):before {
  background: var(--artistic3);
}
.features-list > div:nth-child(3):before, .features-list > article:nth-child(3):before {
  background: var(--artistic4);
}

/* Typography ------------------------------------------ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: -.03em;
}
h1 {
  font-size: 2.8rem;
  margin-bottom: 18px;
  line-height: 1.13;
}
h2 {
  font-size: 2.1rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.33rem;
  margin-bottom: 10px;
}
h4 {
  font-size: 1.13rem;
  margin-bottom: 9px;
}
p, ul, ol, li {
  font-family: 'Lato', Arial, sans-serif;
  color: var(--primary);
  font-size: 1rem;
  line-height: 1.7;
}
strong {
  font-weight: bold;
}
small {
  font-size: .93rem;
  color: var(--secondary);
  opacity: 0.8;
}

ul, ol {
  margin-bottom: 14px;
  padding-left: 18px;
}
ul li, ol li {
  position: relative;
  margin-bottom: 7px;
  padding-left: 17px;
}
ul li:before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--artistic1);
  border-radius: 50%;
  position: absolute;
  left: 0px;
  top: 9px;
  opacity: 0.23;
}

/* Navigation/Header --------------------------------------- */
header {
  width: 100%;
  background: #FFF;
  box-shadow: 0 2px 18px rgba(49,53,49,0.08);
  position: relative;
  z-index: 88;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}
header img {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  margin-right: 13px;
  box-shadow: 0 2px 12px rgba(197,142,84,0.11);
}
header nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: var(--primary);
  font-size: 1.01rem;
  padding: 8px 12px;
  border-radius: 12px;
  transition: background 0.18s, color 0.18s;
  position: relative;
}
header nav a.active,
header nav a:hover {
  background: var(--artistic4);
  color: #fff;
}
header .cta.primary {
  margin-left: 25px;
  min-width: 130px;
}

/* Main CTA Buttons ------------------------ */
.cta.primary {
  background: linear-gradient(90deg, var(--secondary), var(--artistic3), var(--artistic1));
  color: #fff;
  padding: 12px 36px;
  font-size: 1.08rem;
  box-shadow: 0 4px 24px rgba(197, 142, 84, 0.11);
  border-radius: 36px;
  letter-spacing: .05em;
  outline: none;
  border: none;
  position: relative;
  overflow: hidden;
}
.cta.primary:hover, .cta.primary:focus {
  background: var(--artistic1);
  color: #fff;
  box-shadow: 0 1.5px 8px var(--secondary);
  transform: translateY(-2px) scale(1.04) rotate(-1deg);
}
.cta.secondary {
  background: #FFF;
  color: var(--artistic1);
  border: 2px solid var(--artistic1);
  padding: 12px 32px;
  border-radius: 34px;
  font-size: 1.07rem;
  font-weight: 600;
  letter-spacing: .04em;
  transition: border .18s, box-shadow .16s, background 0.2s, color .2s;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: var(--artistic1);
  color: #fff;
  box-shadow: 0 4px 18px rgba(178, 90, 56, 0.10);
}

/* Main, Sections, Hero ------------------------------- */
main > section {
  margin-bottom: 60px;
  padding: 40px 0 10px 0;
}
main .container {
  padding-top: 0;
  padding-bottom: 0;
}
.hero, .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 0px;
}

/* Feature Grids & Cards/Articles --------------------- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 22px;
  margin-bottom: 12px;
}
.feature-grid > div {
  flex: 1 1 200px;
  min-width: 180px;
  max-width: 340px;
  background: #FFF;
  border-radius: 16px;
  box-shadow: 0 1.5px 8px rgba(49,53,49,.07);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
}
.feature-grid > div img {
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
}
.feature-grid > div:before {
  content: '';
  display: block;
  width: 32px;
  height: 6px;
  background: var(--artistic2);
  border-radius: 5px;
  opacity: 0.14;
  position: absolute;
  left: 12px;
  top: 13px;
}
.feature-grid > div:nth-child(2):before { background: var(--artistic3); }
.feature-grid > div:nth-child(3):before { background: var(--artistic4); }


/* Testimonial Slider --------------------------------- */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
  justify-content: flex-start;
  margin-top: 28px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  min-width: 240px;
  max-width: 400px;
  background: #FFF;
  border-radius: 24px;
  box-shadow: 0 3px 12px rgba(49,53,49,0.08);
  margin-bottom: 20px;
  border-left: 7px solid var(--artistic2);
  padding: 26px 22px 22px 22px;
  position: relative;
}
.testimonial-card strong {
  font-family: 'Montserrat',Arial,sans-serif;
  color: var(--artistic1);
  font-weight: 700;
  font-size: 1rem;
}
.testimonial-card p {
  color: #212421;
  font-style: italic;
}
.testimonial-card:after {
  content: '“';
  color: var(--artistic3);
  font-size: 3rem;
  font-family: 'Montserrat',cursive,serif;
  position: absolute;
  left: 8px;
  top: 0px;
  opacity: 0.08;
}

/* Footer -------------------------------------------- */
footer {
  background: #FFF;
  border-top: 1.5px solid rgba(49,53,49,0.10);
  padding: 24px 0 15px 0;
  margin-top: 40px;
}
footer nav {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
  justify-content: center;
}
footer nav a {
  font-size: 1rem;
  color: #929293;
  padding: 6px 9px;
  border-radius: 8px;
  transition: color 0.16s, background 0.16s;
}
footer nav a:hover {
  color: var(--artistic2);
  background: #f4f6f9;
}
footer div {
  text-align: center;
}
footer small {
  color: #72767A;
  letter-spacing: 0.04em;
  font-size: .96rem;
}

/* Cookie Consent Banner ----------------------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(49,53,49,0.97);
  color: #fff;
  padding: 22px 18px;
  z-index: 190;
  box-shadow: 0 -2px 14px rgba(49,53,49,0.12);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  animation: bannerSlideUp 0.45s cubic-bezier(.55,1.35,.7,1.15);
}
@keyframes bannerSlideUp {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  font-size: 1.02rem;
  color: #fff;
  margin: 0;
  flex: 1 1 220px;
}
.cookie-banner .cookie-btn {
  padding: 9px 22px;
  margin: 0 7px;
  border-radius: 22px;
  font-weight: 600;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--artistic2);
  color: #FFF;
  transition: background 0.18s, color 0.18s;
  cursor: pointer;
}
.cookie-banner .cookie-btn.settings {
  background: #fff;
  color: var(--artistic2);
  border: 2px solid var(--artistic2);
}
.cookie-banner .cookie-btn.reject {
  background: var(--artistic1);
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: var(--artistic3);
  color: #222;
}

/* Cookie Modal -------------------------------------- */
.cookie-modal {
  display: none;
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 210;
  background: rgba(49,53,49,0.78);
  align-items: center;
  justify-content: center;
  animation: fadeCookieModalIn 0.35s;
}
.cookie-modal.open {
  display: flex !important;
}
@keyframes fadeCookieModalIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal-content {
  background: #FFF;
  border-radius: 18px;
  max-width: 420px;
  padding: 36px 32px 24px 32px;
  box-shadow: 0 6px 44px rgba(49,53,49,0.13);
  color: var(--primary);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  position: relative;
}
.cookie-modal-content h3 {
  color: var(--artistic1);
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 11px;
}
.cookie-category label {
  color: var(--primary);
}
.cookie-toggle {
  width: 28px;
  height: 16px;
  background: #eee;
  border-radius: 9px;
  position: relative;
  margin-right: 5px;
  cursor: pointer;
}
.cookie-toggle input {
  opacity: 0;
  width: 0; height: 0;
}
.cookie-toggle span {
  display: block;
  width: 12px;
  height: 12px;
  background: var(--artistic2);
  border-radius: 50%;
  position: absolute;
  left: 3px;
  top: 2px;
  transition: left 0.17s;
}
.cookie-toggle input:checked + span {
  left: 13px;
  background: var(--artistic3);
}
.cookie-modal-close {
  position: absolute;
  right: 12px;
  top: 8px;
  background: none;
  color: var(--artistic1);
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
}

/* Mobile Navigation ------------------------------ */
.mobile-menu-toggle {
  display: none;
  background: var(--artistic2);
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 10px;
  padding: 8px 14px;
  margin-left: 15px;
  z-index: 108;
  box-shadow: 0 2px 12px rgba(49,53,49,0.10);
  cursor: pointer;
  transition: background 0.18s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--secondary);
}
.mobile-menu {
  position: fixed;
  top: 0; right: 0; left: 0; bottom: 0;
  background: rgba(41,43,49,0.95);
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.37s cubic-bezier(.8,.25,.32,1.15);
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
  transition: transform 0.38s cubic-bezier(.76,.14,.19,.92), opacity 0.28s;
}
.mobile-menu-close {
  background: none;
  color: #FFF;
  border: none;
  font-size: 2.1rem;
  align-self: flex-end;
  margin-top: 22px;
  margin-right: 26px;
  cursor: pointer;
  transition: color 0.17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--artistic3);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 35px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.38rem;
  color: #FFF;
  padding: 12px 0;
  width: 100%;
  text-align: center;
  border-radius: 9px;
  transition: background 0.21s, color 0.21s;
}
.mobile-nav a:hover, .mobile-nav a.active {
  background: var(--artistic2);
  color: #FFF;
}

/* Artistic Headings, Accents for Style ------------------- */
h1, h2 {
  background: linear-gradient(90deg,
    var(--artistic2) 3%, var(--artistic1) 80%, var(--artistic3) 99%);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 1.5px 2.5px 0px rgba(197,142,84,0.07);
}
h1 {
  font-size: 2.6rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
}

h2 {
  font-size: 2.0rem;
  font-weight: 800;
}

h3 {
  color: var(--artistic1);
  font-weight: 700;
}

a.cta, .button.cta {
  letter-spacing: 1.5px;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* Card Effects & Artistic Effects -------------------- */
.card,
.features-list > div,
.features-list > article,
.feature-grid > div {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 3px 16px rgba(197, 142, 84, 0.09);
  transition: box-shadow 0.22s, transform 0.16s;
}
.card:hover,
.features-list > div:hover,
.features-list > article:hover,
.feature-grid > div:hover {
  box-shadow: 0 10px 34px rgba(49,53,49,0.15);
  transform: translateY(-4px) scale(1.029) rotate(-2deg);
}

/* Micro Interactions on Icons ------------------------ */
.features-list img, .feature-grid img {
  transition: transform 0.16s;
}
.features-list img:hover, .feature-grid img:hover {
  transform: scale(1.12) rotate(7deg);
}

/* Spacing/Whitespace General ------------------------- */
main {
  margin-top: 0;
  margin-bottom: 0;
  width: 100%;
}

section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.features-list > *, .content-wrapper > *, .feature-grid > * {
  margin-bottom: 20px;
}
.features-list > *:last-child, .content-wrapper > *:last-child, .feature-grid > *:last-child {
  margin-bottom: 0;
}

/* Responsive Design (Mobile-First) ------------------- */
@media (max-width: 990px) {
  .container {
    max-width: 98vw;
    padding-left: 10px;
    padding-right: 10px;
  }
  .feature-grid, .features-list, .testimonial-slider {
    gap: 13px;
  }
  .card-container {
    gap: 12px;
  }
  header .container {
    min-height: 61px;
    gap: 10px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 99vw;
    padding-left: 7px;
    padding-right: 7px;
  }
  .feature-grid, .features-list, .testimonial-slider {
    flex-direction: column;
    gap: 17px;
  }
  .text-image-section, .content-grid {
    flex-direction: column;
    align-items: flex-start;
  }
  .features-list > div,
  .features-list > article,
  .feature-grid > div {
    min-width: 99vw;
    max-width: 99vw;
    width: 100%;
    padding: 18px 9px;
  }
  .feature-grid > div {
    text-align: left;
    align-items: flex-start;
  }
  section {
    padding: 23px 7px 32px 7px;
  }
  .testimonial-slider {
    gap: 9px;
  }
  .testimonial-card {
    min-width: 97vw;
    max-width: 100vw;
    border-radius: 18px;
    padding: 16px 13px 13px 13px;
  }
  header .container {
    flex-direction: row;
    align-items: center;
    gap: 1px;
  }
  header nav,
  header .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width:480px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.15rem; }
  .features-list > div, .content-wrapper, .card, .testimonial-card, .feature-grid > div {
    padding: 12px 5px;
    border-radius: 12px;
  }
}
/* Utility Classes ------------------------------------ */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 6px; }
.mb-2 { margin-bottom: 14px; }
.mb-3 { margin-bottom: 20px; }
.mt-1 { margin-top: 7px; }
.mt-2 { margin-top: 14px; }
.mt-3 { margin-top: 20px; }

/* Hide visually but keep accessible */
.sr-only,
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px,1px,1px,1px);
  white-space: nowrap;
}

/* Animations ----------------------------------------- */
@keyframes fadeInUp {
  to { opacity:1; transform:translateY(0); }
  from { opacity:0; transform:translateY(20px); }
}
@keyframes cardAppear {
  from { opacity:0; transform: scale(.97) translateY(25px); }
  to { opacity:1; transform: none; }
}
.card, .features-list > div, .features-list > article, .feature-grid > div, .testimonial-card {
  animation: cardAppear 0.7s cubic-bezier(0.6, 0.05, 0.2, 1) both;
}

/* FOCUS STATES --------------------------------------- */
a, .cta, .button, button, [tabindex] {
  outline: none;
}
a:focus, .cta:focus, button:focus, .button:focus {
  box-shadow: 0 0 0 2px var(--artistic2);
}

/* Remove grid/columns - Compliance Check ------------- */
/* No 'display: grid', 'grid-*', 'column-*', 'columns', 'break-inside', or 'position:absolute' on content cards */

/* End CSS */
