/* --- CSS RESET & BASE NORMALIZATION --- */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 400;
  background: #F7F8FA;
  color: #38415A;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-size: 1rem;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #38415A;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
a:hover,
a:focus {
  color: #F5D77B;
  text-decoration: underline;
}
ol, ul {
  list-style: none;
  padding-left: 0;
  margin: 0 0 20px 0;
}
strong {
  font-weight: 700;
}

/* --- TYPOGRAPHY SCALE --- */
h1, .h1 {
  font-family: 'Merriweather', serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: #38415A;
  letter-spacing: -1px;
  margin-bottom: 24px;
  line-height: 1.2;
}
h2, .h2 {
  font-family: 'Merriweather', serif;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: #38415A;
  letter-spacing: -0.5px;
  line-height: 1.22;
}
h3, .h3 {
  font-family: 'Merriweather', serif;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #38415A;
  line-height: 1.25;
}
p {
  margin-bottom: 20px;
  font-size: 1rem;
}

/* --- CONTAINER & STRUCTURE --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 32px 0 rgba(56, 65, 90, 0.09);
  padding: 32px 28px;
  margin-bottom: 32px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* --- FLEXBOX LAYOUTS AS REQUIRED --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 2px 16px 0 rgba(56, 65, 90, 0.07);
  transition: box-shadow 0.18s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 260px;
  max-width: 100%;
}
.card:hover {
  box-shadow: 0 4px 32px 0 rgba(245, 215, 123, 0.15);
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  color: #38415A;
  padding: 20px 28px;
  margin-bottom: 24px;
  border-radius: 16px;
  box-shadow: 0 2px 24px 0 rgba(56,65,90,0.11);
  border-left: 8px solid #F5D77B;
  transition: box-shadow 0.20s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 36px 0 rgba(168,191,211,0.13);
}
.testimonial-card strong {
  font-size: 1.1rem;
  color: #38415A;
  font-weight: bold;
  letter-spacing: 0.01em;
}
.testimonial-card span {
  font-size: 26px;
  color: #F5D77B;
  font-weight: bold;
  letter-spacing: 2px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- HEADER + NAVIGATION --- */
header {
  background: #38415A;
  color: #fff;
  position: relative;
  padding-top: 0;
  box-shadow: 0 4px 32px 0 rgba(56, 65, 90, 0.11);
  z-index: 500;
}
header nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: flex-start;
  min-height: 72px;
  padding: 0 20px;
}
header nav img {
  height: 46px;
  width: auto;
  margin-right: 8px;
  filter: none;
}
header nav a {
  color: #fff;
  font-family: 'Merriweather', serif;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 12px 8px;
  border-radius: 7px;
  transition: background 0.13s, color 0.13s;
}
header nav a:hover,
header nav a:focus {
  background: #F5D77B;
  color: #38415A;
}

/* --- MAIN CTA BUTTON --- */
.cta {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  font-family: 'Merriweather', serif;
  font-size: 1.12rem;
  font-weight: bold;
  border: none;
  border-radius: 100px;
  background: #F5D77B;
  color: #38415A;
  box-shadow: 0 2px 24px 0 rgba(245, 215, 123, 0.13);
  letter-spacing: 0.02em;
  cursor: pointer;
  margin-top: 8px;
  margin-bottom: 6px;
  transition: filter 0.13s, box-shadow 0.2s;
}
.cta:hover,
.cta:focus {
  filter: brightness(1.08) contrast(1.3);
  box-shadow: 0 6px 32px 0 rgba(168, 191, 211, 0.10);
  color: #38415A;
}

/* --- FOOTER --- */
footer {
  background: #38415A;
  color: #fff;
  padding: 40px 0 32px 0;
  position: relative;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
}
footer nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 15px;
}
footer nav a {
  color: #F5D77B;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.14s;
}
footer nav a:hover,
footer nav a:focus {
  color: #fff;
}
footer .text-section {
  color: #A8BFD3;
  font-size: 0.98rem;
  line-height: 1.6;
}

/* --- ICONS IN LISTS --- */
ul li, ol li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 1rem;
}
ul li img, ol li img {
  height: 24px;
  width: 24px;
}

/* --- CARD & LIST/LISTING LAYOUTS --- */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

/* --- BLOG/LISTINGS --- */
.text-section ul li strong {
  font-weight: bold;
  color: #38415A;
  font-size: 1.05rem;
}
.text-section ul {
  margin-bottom: 20px;
}

/* --- HIERARCHY AND SHADOWS --- */
section {
  margin-bottom: 60px;
}
section:last-child {
  margin-bottom: 0;
}

/* --- MOBILE BURGER MENU --- */
.mobile-menu-toggle {
  display: none;
  background: #F5D77B;
  border: none;
  padding: 10px 15px;
  font-size: 2rem;
  color: #38415A;
  border-radius: 10px;
  position: absolute;
  right: 30px;
  top: 12px;
  z-index: 1201;
  cursor: pointer;
  transition: background 0.11s, color 0.11s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #A8BFD3;
  color: #38415A;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #38415A;
  color: #fff;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  padding: 0;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-100%);
  transition: opacity 0.23s, transform 0.34s cubic-bezier(0.4,0,0.2,1);
}
.mobile-menu.open {
  pointer-events: auto;
  opacity: 1;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #F5D77B;
  font-size: 2.3rem;
  padding: 22px 21px 8px 21px;
  align-self: flex-end;
  cursor: pointer;
  z-index: 1202;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #fff;
  background: #A8BFD3;
  border-radius: 8px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 0 32px;
  margin-top: 22px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.21rem;
  font-family: 'Merriweather', serif;
  font-weight: 800;
  letter-spacing: 0.01em;
  padding: 11px 0;
  border-radius: 15px;
  transition: background 0.17s, color 0.17s;
}
.mobile-nav a:active,
.mobile-nav a:hover {
  background-color: #F5D77B;
  color: #38415A;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #38415A;
  color: #fff;
  z-index: 3000;
  box-shadow: 0 -1px 24px 0 rgba(56,65,90,0.17);
  padding: 28px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  transition: transform 0.25s cubic-bezier(0.55,0,0.1,1), opacity 0.23s;
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(180%);
  pointer-events: none;
}
.cookie-banner p {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.5;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 15px;
}
.cookie-banner button {
  font-family: 'Merriweather', serif;
  font-weight: bold;
  font-size: 1.09rem;
  padding: 9px 26px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  margin: 0;
  transition: background 0.16s, color 0.1s;
}
.cookie-banner .accept {
  background: #F5D77B;
  color: #38415A;
}
.cookie-banner .accept:hover,
.cookie-banner .accept:focus {
  background: #A8BFD3;
  color: #38415A;
}
.cookie-banner .reject {
  background: #fff;
  color: #38415A;
}
.cookie-banner .reject:hover,
.cookie-banner .reject:focus {
  background: #F5D77B;
  color: #38415A;
}
.cookie-banner .settings {
  background: #A8BFD3;
  color: #38415A;
}
.cookie-banner .settings:hover,
.cookie-banner .settings:focus {
  background: #F5D77B;
  color: #38415A;
}

/* --- COOKIE MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(56,65,90,0.75);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.25s;
  pointer-events: auto;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  color: #38415A;
  border-radius: 20px;
  box-shadow: 0 4px 60px 0 rgba(56,65,90,0.25);
  padding: 36px 32px 30px 32px;
  width: 96vw;
  max-width: 430px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  position: relative;
}
.cookie-modal h3 {
  font-family: 'Merriweather', serif;
  font-size: 1.18rem;
  margin-bottom: 10px;
  font-weight: bold;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 14px;
  right: 20px;
  background: none;
  border: none;
  color: #38415A;
  font-size: 2rem;
  cursor: pointer;
  border-radius: 7px;
  transition: background 0.1s;
}
.cookie-modal .close-modal:hover,
.cookie-modal .close-modal:focus {
  background: #A8BFD3;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.04rem;
  margin-bottom: 16px;
  font-weight: 600;
  cursor: pointer;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #F5D77B;
  width: 18px;
  height: 18px;
  border-radius: 5px;
}
.cookie-modal .cookie-options {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-modal .modal-btns {
  display: flex;
  gap: 13px;
}
.cookie-modal .modal-btns button {
  font-family: 'Merriweather', serif;
  font-weight: bold;
  font-size: 1rem;
  padding: 9px 22px;
  border-radius: 100px;
  border: none;
  background: #F5D77B;
  color: #38415A;
  cursor: pointer;
  transition: background 0.15s;
}
.cookie-modal .modal-btns button.secondary {
  background: #A8BFD3;
  color: #38415A;
}
.cookie-modal .modal-btns button:active,
.cookie-modal .modal-btns button:hover,
.cookie-modal .modal-btns button:focus {
  background: #38415A;
  color: #fff;
}

/* --- MEDIA QUERIES: RESPONSIVE DESIGN --- */
@media (max-width: 1024px) {
  .container {
    max-width: 930px;
    padding-inline: 12px;
  }
  .content-wrapper {
    padding: 24px 16px;
    border-radius: 14px;
  }
}
@media (max-width: 900px) {
  .testimonial-card {
    padding: 18px 14px;
  }
}
@media (max-width: 768px) {
  h1, .h1 {font-size: 2rem;}
  h2, .h2 {font-size: 1.45rem;}
  .section {
    margin-bottom: 38px;
    padding: 24px 6px;
  }
  .content-wrapper {
    padding: 14px 7px;
    margin-bottom: 18px;
    border-radius: 8px;
  }
  .testimonial-card {
    border-radius: 10px;
    padding: 13px 8px;
    font-size: 0.97rem;
    box-shadow: 0 2px 13px 0 rgba(168,191,211,.11);
  }
  .container {
    max-width: 97vw;
    padding-inline: 4px;
  }
  header nav {
    gap: 9px;
    padding: 0 4px;
    min-height: 58px;
  }
  footer .container {
    gap: 17px;
    padding-inline: 4px;
  }
  .card {
    border-radius: 8px;
    min-width: 92vw;
  }
  /* LAYOUT CONTAINERS */
  .content-grid,
  .card-container {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .feature-item {
    gap: 7px;
    font-size: 0.98rem;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header nav {
    display: none;
  }
}
@media (max-width: 480px) {
  h1, .h1 {font-size: 1.34rem;}
  h2, .h2 {font-size: 1.09rem;}
  section, .section {margin-bottom: 23px;}
  .cta {
    font-size: 0.99rem;
    padding: 10px 13px;
  }
  .testimonial-card {
    font-size: 0.95rem;
    padding: 11px 5px;
  }
  .content-wrapper {
    padding: 8px 1px;
  }
  .cookie-modal {
    padding: 21px 2vw 17px 2vw;
    min-width: 78vw;
    width: 99vw;
    max-width: 99vw;
    border-radius: 9px;
  }
}

/* --- UTILITIES & EFFECTS --- */
.shadow-strong {
  box-shadow: 0 6px 32px 0 rgba(56, 65, 90, 0.26);
}
.geometric-bg {
  background: repeating-linear-gradient(135deg, #A8BFD3 0px, #A8BFD3 8px, #fff 8px, #fff 24px);
}
.rounded-xl {
  border-radius: 20px;
}
.gap-lg {
  gap: 40px;
}

/* --- FOCUS & ACCESSIBILITY --- */
:focus-visible {
  outline: 2px solid #F5D77B;
  outline-offset: 2px;
}

/* --- MODERN BOLD DESIGN EXTRAS --- */
::selection {
  background: #F5D77B;
  color: #38415A;
}

/* --- HIGH CONTRAST FOR TESTIMONIALS --- */
.testimonial-card,
.testimonial-card p,
.testimonial-card strong {
  color: #38415A !important;
  background: #fff !important;
}

/* --- BUTTONS GENERAL --- */
button {
  font-family: 'Merriweather', serif;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  border: none;
  background: #A8BFD3;
  color: #38415A;
  border-radius: 8px;
  padding: 10px 24px;
  transition: background 0.16s, color 0.13s;
}
button:hover, button:focus {
  background: #F5D77B;
  color: #38415A;
}

/* --- SPACING RULES MANDATORY --- */
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.content-grid {
  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;
}

/* --- NO GRID PROPERTIES USED --- */
/* All layouts are FLEXBOX ONLY as required. */
