/* ===================
   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,
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 {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background: #FCF9F2;
  color: #292B3A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
}
img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  vertical-align: middle;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}
button {
  cursor: pointer;
}
:focus:not(:focus-visible) {
  outline: none;
}

/* ===================
   BRAND VARIABLES & BASE
   =================== */
:root {
  --color-primary: #292B3A;
  --color-secondary: #F0C752;
  --color-accent: #FCF9F2;
  --color-shadow: rgba(41,43,58,0.07);
  --color-dark: #181A23;
  --color-light: #F8F8F8;
  --color-white: #ffffff;
  --font-display: 'Playfair Display', 'Georgia', serif;
  --font-body: 'Montserrat', Arial, sans-serif;
}

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============= HEADER & NAV =============== */
header {
  background: var(--color-accent);
  border-bottom: 3px solid var(--color-secondary);
  position: sticky;
  top: 0;
  z-index: 1000;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}
header a img {
  height: 46px;
  width: auto;
  margin-right: 24px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 16px;
}
header nav a {
  font-family: var(--font-body);
  font-size: 16px;
  letter-spacing: 0.03em;
  color: var(--color-primary);
  font-weight: 500;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 7px;
  transition: background 0.2s, color 0.2s;
}
header nav a:hover {
  background: var(--color-secondary);
  color: var(--color-primary);
}
header .cta-button {
  background: var(--color-primary);
  color: var(--color-secondary) !important;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  border-radius: 12px;
  padding: 9px 26px;
  margin-left: 14px;
  box-shadow: 0 2px 10px 0 var(--color-shadow);
  border: 2px solid var(--color-secondary);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  position: relative;
  z-index: 1;
}
header .cta-button:hover,
header .cta-button:focus {
  background: var(--color-secondary);
  color: var(--color-primary) !important;
  border-color: var(--color-primary);
  box-shadow: 0 2px 18px 0 var(--color-shadow);
}
.mobile-menu-toggle {
  display: none;
  font-size: 30px;
  color: var(--color-primary);
  background: transparent;
  border: none;
  border-radius: 8px;
  padding: 8px 12px;
  margin-left: 24px;
  transition: background 0.18s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--color-secondary);
  color: var(--color-dark);
}

/* ============= MOBILE MENU =============== */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-primary);
  box-shadow: 0 0 60px 0 rgba(0,0,0,0.21);
  z-index: 2000;
  transform: translateX(-100vw);
  transition: transform 0.34s cubic-bezier(.68,-0.55,.23,1.41);
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  overflow-y: auto;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 32px;
  background: transparent;
  border: none;
  margin: 18px 26px 0 0;
  color: var(--color-secondary);
  padding: 8px 10px;
  border-radius: 8px;
  transition: background 0.18s;
  z-index: 2100;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 60px 32px 34px 34px;
  gap: 20px;
}
.mobile-nav a {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-secondary);
  padding: 13px 12px 10px 6px;
  border-left: 4px solid transparent;
  border-radius: 0 9px 9px 0;
  transition: background 0.18s, color 0.18s, border-left 0.19s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--color-accent);
  color: var(--color-primary);
  border-left: 4px solid var(--color-secondary);
}
.mobile-nav .cta-button {
  background: var(--color-secondary);
  color: var(--color-primary) !important;
  font-size: 16px;
  border-radius: 14px;
  text-align: center;
  width: 90%;
  margin: 18px auto 0 auto;
  display: block;
  border: 2px solid var(--color-primary);
}

/* ============= HERO/STYLED HEADINGS ================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1.125;
  letter-spacing: 0.01em;
  margin-bottom: 12px;
}
h1 {
  font-size: 2.7rem;
  margin: 16px 0 22px 0;
  letter-spacing: 0.05em;
  text-shadow: 0 1px 0 var(--color-secondary);
}
h2 {
  font-size: 2.1rem;
  margin: 8px 0 18px 0;
  letter-spacing: 0.025em;
}
h3 {
  font-size: 1.27rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.subheadline {
  font-family: var(--font-body);
  font-size: 1.22rem;
  color: var(--color-dark);
  font-weight: 400;
  margin-bottom: 14px;
}

/* ================= SECTIONS & CARDS =============== */
section {
  background: var(--color-accent);
  border-radius: 33px;
  box-shadow: 0 4px 28px 0 var(--color-shadow);
  margin-bottom: 60px;
  padding: 40px 20px;
  position: relative;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-white);
  border-radius: 24px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 3px 16px 0 var(--color-shadow);
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border: 2.5px solid var(--color-secondary);
  min-width: 260px;
  flex: 1 1 290px;
  transition: box-shadow 0.22s, border-color 0.18s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 9px 38px 0 rgba(41,43,58,0.13);
  border-color: var(--color-primary);
}

/* =================== BLOG POST GRID ================= */
.blog-post-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.blog-post-grid article {
  background: var(--color-accent);
  border-radius: 20px;
  box-shadow: 0 2px 8px 0 var(--color-shadow);
  padding: 30px 22px 22px 22px;
  flex: 1 1 340px;
  min-width: 235px;
  border: 2.3px solid var(--color-secondary);
  transition: box-shadow 0.2s, border-color 0.2s;
  margin-bottom: 20px;
}
.blog-post-grid article h3 {
  font-family: var(--font-display);
  font-size: 1.33rem;
  color: var(--color-primary);
  margin-bottom: 8px;
}
.blog-post-grid article p {
  font-family: var(--font-body);
  color: var(--color-primary);
  font-size: 1rem;
  margin-bottom: 12px;
}
.blog-post-grid article a {
  display: inline-block;
  color: var(--color-secondary);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  border-bottom: 2px solid var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.19s, border-bottom 0.18s;
}
.blog-post-grid article a:hover {
  color: var(--color-primary);
  border-bottom: 2px solid var(--color-secondary);
}

.categories-list {
  margin-top: 40px;
  font-family: var(--font-body);
  color: var(--color-primary);
  font-size: 1rem;
}
.categories-list ul {
  display: flex;
  flex-direction: row;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.categories-list li {
  background: var(--color-secondary);
  color: var(--color-primary);
  font-weight: 600;
  border-radius: 16px;
  padding: 7px 18px;
  margin-bottom: 6px;
}

/* =========== BUTTONS ================ */
.cta-button,
button.cta-button {
  display: inline-block;
  background: var(--color-secondary);
  color: var(--color-primary);
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
  border-radius: 14px;
  padding: 13px 30px;
  border: 2.2px solid var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-top: 12px;
  box-shadow: 0 3px 8px 0 var(--color-shadow);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, border-color 0.18s;
  cursor: pointer;
  outline: none;
  position: relative;
  z-index: 1;
}
.cta-button:hover,
.cta-button:focus {
  background: var(--color-primary);
  color: var(--color-secondary);
  border-color: var(--color-secondary);
  box-shadow: 0 6px 19px 0 var(--color-shadow);
}

/* ======== TESTIMONIALS =============== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: var(--color-white);
  color: var(--color-primary);
  padding: 20px;
  border-radius: 20px;
  margin-bottom: 20px;
  box-shadow: 0 3px 14px 0 var(--color-shadow);
  border-left: 8px solid var(--color-secondary);
  border-top: 2px solid var(--color-secondary);
  min-width: 210px;
  width: 100%;
}
.testimonial-card p {
  font-size: 1.08rem;
  color: var(--color-dark);
  margin-bottom: 4px;
  font-family: var(--font-body);
}
.testimonial-card strong {
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  color: var(--color-primary);
  font-size: 1.07rem;
}

/* ===== FAQs Accordion ========= */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
}
.faq-accordion > div {
  background: var(--color-accent);
  border: 2px solid var(--color-secondary);
  border-radius: 15px;
  box-shadow: 0 2px 6px 0 var(--color-shadow);
  padding: 18px 22px;
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-accordion > div h3 {
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.06rem;
  margin-bottom: 7px;
}
.faq-accordion > div > div {
  font-family: var(--font-body);
  color: var(--color-primary);
  font-size: 1rem;
}
.faq-accordion > div:hover {
  border-color: var(--color-primary);
  box-shadow: 0 6px 14px 0 var(--color-shadow);
}

/* ============ FEATURE/LIST SECTIONS =========== */
ul {
  padding-left: 12px;
}
ul > li {
  padding-left: 0;
  margin-bottom: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 12px;
}
ul > li strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--color-primary);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ============ GENERIC FLEX UTILS =========== */
.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;
}

/* ============= FOOTER ===================== */
footer {
  background: var(--color-primary);
  color: var(--color-secondary);
  border-top: 4.5px solid var(--color-secondary);
  padding: 36px 0 0 0;
}
footer .container {
  padding-top: 0;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
footer nav a {
  color: var(--color-secondary);
  font-family: var(--font-body);
  font-size: 15px;
  letter-spacing: 0.03em;
  margin-bottom: 4px;
  transition: color 0.19s;
}
footer nav a:hover {
  color: var(--color-accent);
}
footer address {
  font-family: var(--font-body);
  color: var(--color-accent);
  font-size: 14.2px;
  margin-bottom: 12px;
  line-height: 1.7;
}
footer strong {
  font-family: var(--font-display);
  color: var(--color-secondary);
  font-size: 1rem;
  font-weight: 700;
}
footer img {
  display: inline-block;
  margin-right: 8px;
  vertical-align: middle;
  height: 18px;
  width: auto;
}
.footer-bottom {
  width: 100%;
  background: var(--color-primary);
  text-align: center;
  font-size: 13px;
  color: var(--color-secondary);
  padding: 11px 0 14px 0;
}
.social-links {
  display: flex;
  align-items: center;
  gap: 22px;
}
.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--color-secondary);
  height: 38px;
  width: 38px;
  transition: background 0.16s;
}
.social-links a img {
  filter: grayscale(1) contrast(1.1);
  height: 21px;
}
.social-links a:hover {
  background: var(--color-accent);
}

/* ================= COOKIE CONSENT BANNER ================= */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: var(--color-primary);
  color: var(--color-accent);
  box-shadow: 0 -2px 28px 0 var(--color-shadow);
  padding: 28px 24px 20px 24px;
  border-top: 6px solid var(--color-secondary);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 3000;
  opacity: 1;
  transition: opacity 0.22s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 18px;
}
.cookie-banner .cookie-button {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  border-radius: 12px;
  padding: 10px 22px;
  border: 2px solid var(--color-secondary);
  background: var(--color-secondary);
  color: var(--color-primary);
  margin: 0;
  transition: background 0.19s, color 0.19s, border 0.17s;
}
.cookie-banner .cookie-button.accept {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.cookie-banner .cookie-button.reject {
  background: var(--color-white);
  color: var(--color-secondary);
  border: 2px solid var(--color-secondary);
}
.cookie-banner .cookie-button.settings {
  background: var(--color-accent);
  color: var(--color-primary);
  border: 2px solid var(--color-secondary);
}
.cookie-banner .cookie-button:hover, .cookie-banner .cookie-button:focus {
  background: var(--color-primary);
  color: var(--color-secondary);
}

/* COOKIE PREFERENCES MODAL =================== */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(41,43,58,0.80);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.23s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: var(--color-accent);
  color: var(--color-primary);
  border-radius: 22px;
  box-shadow: 0 8px 40px 0 var(--color-shadow);
  padding: 40px 32px 32px 32px;
  max-width: 360px;
  width: 94vw;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cookie-modal h2 {
  font-size: 1.45rem;
  font-family: var(--font-display);
  color: var(--color-primary);
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal .cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-body);
  font-size: 1rem;
  border-bottom: 1px solid var(--color-secondary);
  padding-bottom: 9px;
}
.cookie-category .cookie-switch {
  appearance: none;
  background: var(--color-secondary);
  width: 40px;
  height: 22px;
  border-radius: 19px;
  position: relative;
  outline: none;
  transition: background 0.16s;
  cursor: pointer;
}
.cookie-category .cookie-switch:checked {
  background: var(--color-primary);
}
.cookie-category .cookie-switch::before {
  content: '';
  display: block;
  position: absolute;
  left: 4px; top: 4px;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--color-primary);
  transition: transform 0.17s, background 0.14s;
}
.cookie-category .cookie-switch:checked::before {
  transform: translateX(17px);
  background: var(--color-secondary);
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 15px;
  margin-top: 16px;
}
.cookie-modal .cookie-modal-actions .cookie-button {
  width: 100%;
}

/* =========== RESPONSIVE BREAKPOINTS =========== */
@media (max-width: 1100px) {
  .container {
    max-width: 98vw;
    padding: 0 14px;
  }
  .content-wrapper {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .blog-post-grid,
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .blog-post-grid article,
  .card {
    min-width: 85vw;
    flex: 1 1 100%;
  }
  .footer .content-wrapper,
  footer .content-wrapper {
    flex-direction: column;
    gap: 24px !important;
  }
}
@media (max-width: 768px) {
  ... /* mobile menu */
  header .container {
    flex-direction: row;
    height: auto;
    align-items: flex-start;
    gap: 0;
  }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    margin-left: auto;
  }
  .content-wrapper {
    gap: 12px;
    padding: 0;
  }
  section {
    padding: 32px 6px;
    margin-bottom: 38px;
    border-radius: 0 0 17px 17px;
  }
  h1 { font-size: 2.05rem; margin: 7px 0 17px 0; }
  h2 { font-size: 1.47rem; margin: 5px 0 13px 0; }
  h3 { font-size: 1.13rem; }
  .cta-button, button.cta-button {
    font-size: 1.01rem;
    padding: 11px 18px;
    margin-top: 7px;
  }
  .blog-post-grid,
  .card-container,
  .content-grid,
  .testimonial-list {
    flex-direction: column !important;
    gap: 15px !important;
  }
  .testimonial-card {
    padding: 16px;
    border-radius: 14px;
  }
  .categories-list ul {
    gap: 9px;
  }
}
@media (max-width: 530px) {
  header .container {
    padding: 0 5px;
    height: auto;
  }
  section {
    border-radius: 0;
    margin-bottom: 30px;
  }
  h1 { font-size: 1.39rem; }
  h2 { font-size: 1.08rem; }
  .cta-button, button.cta-button {
    font-size: 0.95rem;
    padding: 8px 13px;
  }
}

/* ============= GEOMETRIC STRUCTURED DECORATIVE ELEMENTS ============== */
section::before, .card::before {
  content: '';
  display: block;
  position: absolute;
  right: -26px;
  top: -26px;
  width: 68px;
  height: 68px;
  background: rgba(240, 199, 82, 0.05);
  clip-path: polygon(0 0,100% 0,70% 100%,0 70%);
  border-radius: 8px;
  z-index: 0;
  pointer-events: none;
}
.card::before {
  right: -13px; top: -13px;
  width: 34px; height: 34px;
  background: rgba(240, 199, 82, 0.13);
  clip-path: polygon(50% 0,100% 100%,0 100%);
}

/* ============ FORMS (Contact or Newsletter) =========== */
input, textarea, select {
  display: block;
  width: 100%;
  padding: 11px 12px;
  border-radius: 9px;
  border: 2px solid var(--color-primary);
  background: var(--color-accent);
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--color-primary);
  box-shadow: 0 2px 6px 0 var(--color-shadow);
  transition: border 0.17s, box-shadow 0.18s;
}
input:focus, textarea:focus, select:focus {
  border: 2px solid var(--color-secondary);
  box-shadow: 0 3px 13px 0 var(--color-shadow);
}
label {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 4px;
  display: block;
}

/* ============ MICRO-INTERACTIONS =========== */
a, .cta-button, button, .card, .testimonial-card, .blog-post-grid article, .faq-accordion > div, .cookie-banner .cookie-button { transition: box-shadow 0.19s, background 0.19s, color 0.18s, border-color 0.18s, border-left 0.18s, transform 0.18s; }
.card:hover, .testimonial-card:hover, .faq-accordion > div:hover, .blog-post-grid article:hover, .cta-button:hover, .cookie-banner .cookie-button:hover {
  transform: translateY(-3px) scale(1.009);
  box-shadow: 0 10px 34px 0 rgba(41,43,58,0.18);
}

/*
  =============== UTILITIES (Spacing, Layout, Alignment) ================
  All MANDATORY spacing/flex layouts patterns included below
*/
.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; }

/* ===== END ========= */
