/* RESET & NORMALIZE ------------------------------- */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #fff;
  color: #253140;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  line-height: 1.5;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, video {
  max-width: 100%;
  display: block;
}
a {
  color: #253140;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #D0B97F;
  outline-offset: 2px;
}
ul, ol {
  list-style-position: inside;
}
button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
  padding: 0;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  color: #253140;
  line-height: 1.15;
}
h1 { font-size: 2.5rem; margin-bottom: 16px; letter-spacing: -0.02em; }
h2 { font-size: 2rem; margin-bottom: 14px; letter-spacing: -0.01em; }
h3 { font-size: 1.375rem; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1rem; margin-bottom: 10px; }
p, ul, ol, dl {
  margin-bottom: 16px;
}
strong, b {
  font-weight: 700;
  color: #253140;
}

/* BRAND COLORS -------------------------------------- */
:root {
  --clr-primary: #253140;
  --clr-secondary: #D0B97F;
  --clr-accent: #F4F4F4;
  --clr-dark: #13181D;
  --clr-white: #fff;
  --clr-error: #b3001b;
  --clr-success: #16955b;
}

/* TYPOGRAPHY (Scale, BOLD) -------------------------- */
.display,
h1 { font-family: 'Merriweather', serif; font-weight: 800; letter-spacing: -1.5px; }
h2 { font-family: 'Merriweather', serif; font-weight: 700; }
h3, h4, h5, h6 { font-family: 'Merriweather', serif; font-weight: 700; }
p, li, dd, dt, label, input, textarea {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 400;
}

/* LAYOUT --------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--clr-white);
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  width: 100%;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 12px;
  margin-bottom: 16px;
}
.contact-info div {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
}

/* Cards & Features ---------------------------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--clr-accent);
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 rgba(37,49,64,.07);
  padding: 32px 24px;
  flex: 1 1 320px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.25s, transform 0.22s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(37,49,64,0.18);
  transform: translateY(-3px) scale(1.017);
}

.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;
  padding: 20px;
  background: #F4F4F4;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(37,49,64,0.06);
  margin-bottom: 20px;
  max-width: 480px;
  width: 100%;
}
.testimonial-card blockquote {
  font-size: 1.125rem;
  font-weight: 600;
  color: #253140;
  line-height: 1.55;
  margin: 0;
  quotes: "\201C" "\201D";
}
.testimonial-meta {
  font-size: 0.96rem;
  color: #7A7A7A;
  font-weight: 600;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--clr-accent);
  border-radius: 14px;
  padding: 20px 24px;
}

ol, ul {
  padding-left: 0;
  margin-left: 0;
}
ul li, ol li {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 12px;
  font-size: 1.05rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  line-height: 1.7;
}
ul li:last-child, ol li:last-child { margin-bottom: 0; }


/* BUTTONS ------------------------------------------- */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Merriweather', serif;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 28px;
  padding: 14px 32px;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.20s;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(37,49,64,0.09);
  letter-spacing: 0.03em;
}
.btn-primary {
  background: var(--clr-secondary);
  color: var(--clr-primary);
  border: 2px solid var(--clr-secondary);
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--clr-primary);
  color: var(--clr-secondary);
  border-color: var(--clr-primary);
  transform: translateY(-2px) scale(1.02);
}

.btn-secondary {
  background: var(--clr-primary);
  color: var(--clr-secondary);
  border: 2px solid var(--clr-primary);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--clr-secondary);
  color: var(--clr-primary);
  border-color: var(--clr-secondary);
  transform: translateY(-2px) scale(1.02);
}

/* CTAs and Info ------------------------------------- */
.cta-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 22px;
  align-items: flex-start;
}

/* HEADER & NAVIGATION ------------------------------- */
header {
  background: var(--clr-white);
  border-bottom: 2px solid #ECECEC;
  width: 100%;
  z-index: 1002;
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  min-height: 72px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1 1 auto;
  margin-left: 32px;
}
.main-nav a {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  font-size: 1.04rem;
  color: var(--clr-primary);
  position: relative;
  padding: 8px 13px;
  transition: color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--clr-secondary);
}

header .btn-primary {
  margin-left: 24px;
  box-shadow: 0 1px 6px 0 rgba(208,185,127,0.11);
}

.mobile-menu-toggle {
  font-size: 2rem;
  color: var(--clr-primary);
  background: none;
  border: none;
  margin-left: auto;
  display: none;
  z-index: 1004;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background .18s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: var(--clr-secondary);
  color: var(--clr-primary);
  outline: 2px solid var(--clr-secondary);
}

/* MOBILE MENU OVERLAY ------------------------------- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(37,49,64,0.97);
  color: var(--clr-secondary);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 24px 24px 24px;
  z-index: 2001;
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(.61,-0.01,.26,1.12);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  position: absolute;
  top: 22px;
  right: 24px;
  font-size: 2.2rem;
  color: var(--clr-secondary);
  background: none;
  border: none;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.14s;
  border-radius: 50%;
  z-index: 2002;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: rgba(208,185,127,0.12);
  color: #fff;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 48px;
  width: 100%;
}
.mobile-nav a {
  color: var(--clr-secondary);
  font-family: 'Merriweather', serif;
  font-weight: 700;
  font-size: 1.4rem;
  padding: 14px 0;
  border-radius: 8px;
  background: none;
  transition: background 0.16s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: rgba(255,255,255,0.09);
  color: #fff;
}

/* HERO SECTIONS -------------------------------------- */
section:first-of-type {
  background: var(--clr-accent);
  border-radius: 0 0 28px 28px;
  margin-bottom: 48px;
  overflow: hidden;
}
section:first-of-type h1 {
  color: var(--clr-primary);
  font-size: 2.7rem;
  font-weight: 800;
  margin-bottom: 8px;
}
section:first-of-type p {
  color: #394B63;
  font-size: 1.2rem;
}

/* FOOTER --------------------------------------------- */
footer {
  background: var(--clr-primary);
  color: var(--clr-secondary);
  padding: 54px 0 30px 0;
  margin-top: 56px;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.footer-logo-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 44px;
  margin-bottom: 8px;
}
.footer-logo-nav img {
  max-height: 56px;
  margin-right: 30px;
}
.footer-logo-nav nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-logo-nav nav a {
  color: var(--clr-secondary);
  font-family: 'Merriweather', serif;
  font-weight: 700;
  font-size: 1.00rem;
  opacity: 0.92;
  padding-bottom: 2px;
  transition: color 0.14s;
}
.footer-logo-nav nav a:hover {
  color: #fff;
}
.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
}
.contact-details div {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--clr-secondary);
  opacity: 0.80;
}


/* FAQ Section ---------------------------------------- */
dt {
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--clr-primary);
}
dd {
  margin: 0 0 20px 0;
  color: #3C4760;
  font-size: 1rem;
}
dt:not(:first-child) { margin-top: 10px; }

/* Cookie Consent Banner ------------------------------ */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #253140;
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 18px 24px;
  box-shadow: 0 -4px 30px rgba(37,49,64,0.14);
  z-index: 3005;
  transition: transform 0.18s;
  transform: translateY(0);
}
.cookie-banner.hide {
  transform: translateY(100%);
}
.cookie-banner-message {
  font-size: 1.07rem;
  max-width: 520px;
  color: #fff;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
.cookie-banner-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  flex-shrink: 0;
}
.cookie-btn {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 11px 20px;
  border-radius: 21px;
  border: 2px solid #D0B97F;
  color: #253140;
  background: #D0B97F;
  transition: background 0.16s, color 0.16s, border 0.2s;
}
.cookie-btn:hover {
  background: #fff;
  color: #253140;
  border-color: #fff;
}
.cookie-btn.reject {
  background: transparent;
  color: #D0B97F;
  border: 2px solid #D0B97F;
}
.cookie-btn.reject:hover {
  background: #D0B97F;
  color: #253140;
}
.cookie-btn.settings {
  background: #fff;
  color: #253140;
  border: 2px solid #D0B97F;
}
.cookie-btn.settings:hover {
  background: #D0B97F;
  color: #253140;
}

/* Cookie Modal -------------------------------------- */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(37,49,64,0.82);
  z-index: 3007;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.24s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  color: #253140;
  border-radius: 16px;
  min-width: 320px;
  max-width: 90vw;
  padding: 34px 30px;
  box-shadow: 0 8px 40px rgba(37,49,64,.22);
  z-index: 3008;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: cookie-modal-in 0.48s cubic-bezier(.71,-0.02,.07,1.3);
}
@keyframes cookie-modal-in {
  0% { opacity: 0; transform: scale(0.8) translateY(60px); }
  80% { opacity: 1; transform: scale(1.03) translateY(-3px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal h2 {
  font-size: 1.34rem;
  color: var(--clr-primary);
  margin-bottom: 8px;
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  padding: 16px 0 10px 0;
  border-bottom: 1px solid #ececec;
}
.cookie-modal-category:last-child {
  border-bottom: none;
}
.cookie-toggle {
  width: 48px;
  height: 26px;
  border-radius: 12px;
  background: #DFDFDF;
  position: relative;
  cursor: pointer;
  transition: background 0.19s;
}
.cookie-toggle input {
  display: none;
}
.cookie-toggle .slider {
  position: absolute;
  left: 2px; top: 2px;
  width: 22px;
  height: 22px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(37,49,64,0.08);
  transition: left 0.18s, background 0.17s;
}
.cookie-toggle.enabled {
  background: #D0B97F;
}
.cookie-toggle.enabled .slider {
  left: 24px;
}
.cookie-modal-category label {
  cursor: pointer;
  font-weight: 600;
  color: #253140;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
.cookie-modal .close-cookie-modal {
  position: absolute;
  top: 10px;
  right: 16px;
  font-size: 1.7rem;
  color: #253140;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  transition: background 0.17s;
  cursor: pointer;
}
.cookie-modal .close-cookie-modal:hover, .cookie-modal .close-cookie-modal:focus {
  background: #D0B97F;
  color: #fff;
}
.cookie-modal-footer {
  display: flex;
  flex-direction: row;
  gap: 15px;
  margin-top: 10px;
  justify-content: flex-end;
}
.cookie-modal-footer .cookie-btn {
  min-width: 110px;
}

/* RESPONSIVE: MOBILE-FIRST -------------------------- */
@media (max-width: 1020px) {
  .container { max-width: 96vw; }
  .footer-logo-nav { gap: 32px; }
}
@media (max-width: 920px) {
  .main-nav {
    gap: 10px;
    margin-left: 10px;
  }
  .footer-logo-nav nav { gap: 7px; }
}
@media (max-width: 820px) {
  .footer-logo-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
  .section { padding: 32px 10px; }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.45rem; margin-bottom: 10px; }
  h3 { font-size: 1.13rem; }
  .main-nav, header .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .container {
    max-width: 100vw;
    padding-left: 8px;
    padding-right: 8px;
  }
  .section { padding: 22px 4px; margin-bottom: 40px; }
  .content-wrapper, .content-grid {
    gap: 15px;
    flex-direction: column;
  }
  .text-section { gap: 10px; }
  .card-container { gap: 8px; }
  .card { padding: 17px 10px; min-width: 0; }
  .testimonial-card { max-width: 98vw; }
  .footer-logo-nav img { margin-right: 0; max-height: 38px; }
  .footer-logo-nav { gap: 12px; }
}
@media (max-width: 600px) {
  .footer-logo-nav,
  .contact-details { flex-direction: column; gap: 11px; }
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 12px; padding: 14px 8px; }
  .cookie-banner-message { max-width: 99vw; }
  .cookie-banner-actions { width: 100%; justify-content: flex-end; gap: 10px; }
  .cookie-modal { padding: 19px 7vw; min-width: unset; }
}

/* MISC COMPONENTS ----------------------------------- */
blockquote {
  font-style: italic;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  padding-left: 0;
}
hr { border: none; border-top: 1px solid #ddd; margin: 32px 0; }

/* Spacing utilities for geometric look -------------- */
.mb-20 { margin-bottom: 20px !important; }
.mb-24 { margin-bottom: 24px !important; }
.mt-16 { margin-top: 16px !important; }
.p-16 { padding: 16px !important; }

/* Geometric shapes for BOLD Modern feeling ---------- */
.card::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 32px;
  width: 48px;
  height: 12px;
  border-radius: 8px;
  background: var(--clr-secondary);
  opacity: 0.2;
  z-index: 0;
}

/* Micro-interactions (Buttons, Cards, Testimonials) -- */
.btn-primary, .btn-secondary, .cookie-btn {
  transition: background 0.15s, color 0.15s, box-shadow 0.18s, transform 0.16s;
}
.testimonial-card {
  transition: box-shadow 0.2s, transform 0.15s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 28px 0 rgba(37,49,64,0.17);
  transform: translateY(-3px) scale(1.018);
}

section {
  transition: box-shadow 0.13s;
}
section:hover {
  box-shadow: 0 2px 16px rgba(37,49,64,.07);
}

/* Visual hierarchy and SHADOW effects --------------- */
.section {
  box-shadow: 0 8px 32px rgba(37,49,64,0.05);
  border-radius: 24px;
}

/* High contrast for testimonial/review sections ----- */
.testimonial-card, .testimonial-card blockquote,
.testimonial-meta {
  background: #F4F4F4;
  color: #253140;
}

/* OVERLAPPING PREVENTION & FLEXBOX ONLY ------------- */
/* (All layout containers already use display: flex)  */

/* Hide grid and column properties if set ------------ */
[style*="display: grid"], [style*="columns"], [style*="column-"], [style*="grid-"] {
  display: flex !important;
}

/* END OF CSS */
