/* ========================================================
   CSS Reset & Normalize
   ======================================================== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  background: #F6F5F3;
  color: #22324C;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #22324C;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus { outline: 2px solid #A68C5B; outline-offset: 2px; }

ul, ol {
  list-style: none;
  margin-left: 0;
  margin-bottom: 16px;
}
ul li {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  font-size: 16px;
}
ul li img {
  margin-right: 12px;
  width: 24px;
  height: 24px;
}

/* ========================================================
   Typography
   ======================================================== */
h1, h2, h3, h4 {
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 700;
  color: #22324C;
  margin-bottom: 18px;
}
h1 {
  font-size: 2.2rem;
  margin-bottom: 22px;
  line-height: 1.15;
}
h2 {
  font-size: 1.6rem;
  margin-bottom: 18px;
  line-height: 1.22;
}
h3 {
  font-size: 1.22rem;
  margin-bottom: 12px;
  line-height: 1.2;
}
h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}
p {
  margin-bottom: 16px;
  font-size: 16px;
  color: #22324C;
  opacity: 0.94;
}
strong { font-weight: bold; }

blockquote {
  background: #fff;
  border-left: 4px solid #A68C5B;
  font-family: 'Merriweather', Georgia, serif;
  font-style: italic;
  padding: 20px 24px;
  color: #22324C;
  margin-bottom: 14px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(34,50,76,0.08);
  transition: box-shadow 0.25s;
}
blockquote:hover {
  box-shadow: 0 4px 20px rgba(166,140,91,0.05);
}

/* ========================================================
   Containers & Layout (FLEXBOX ONLY!)
   ======================================================== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px 0 rgba(34,50,76,0.08);
  transition: box-shadow 0.3s;
}
.section:last-child { margin-bottom: 0; }

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 18px 0 rgba(34,50,76,0.07);
  margin-bottom: 20px;
  padding: 28px 26px;
  position: relative;
  transition: box-shadow 0.24s, transform 0.18s;
  flex: 1 1 300px;
  min-width: 260px;
  max-width: 370px;
}
.card:hover {
  box-shadow: 0 6px 32px 0 rgba(166,140,91,0.16);
  transform: translateY(-3px) scale(1.01);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.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: #F6F5F3;
  border-radius: 12px;
  box-shadow: 0 2px 10px 0 rgba(166,140,91,0.10);
  margin-bottom: 20px;
  color: #22324C;
  font-size: 16px;
  flex-wrap: wrap;
}
.testimonial-card blockquote {
  background: none;
  border-left: 4px solid #A68C5B;
  margin: 0;
  font-size: 16px;
  box-shadow: none;
  padding: 0 12px;
}
.testimonial-card div {
  font-size: 15px;
  color: #887657;
  font-family: 'Open Sans', Arial, sans-serif;
  opacity: 0.85;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 18px 0;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cta-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  background: #22324C;
  color: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(166,140,91,0.14);
  padding: 36px 24px;
  text-align: center;
}
.cta-box h3 {
  color: #fff;
  font-size: 1.32rem;
}
.cta-box p { color: #ebe6d7; }

/* ========================================================
   Header & Navigation
   ======================================================== */
header {
  background: #fff;
  box-shadow: 0 2px 18px 0 rgba(166,140,91,0.07);
  position: sticky;
  top: 0;
  z-index: 30;
}
header nav {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-start;
  padding: 20px 0 16px 0;
}
header nav a {
  padding: 9px 16px;
  font-size: 16px;
  font-family: 'Open Sans', Arial, sans-serif;
  border-radius: 7px;
  transition: background 0.18s, color 0.18s;
  color: #22324C;
  font-weight: 500;
}
header nav a:hover, header nav a:focus {
  background: #F6F5F3;
  color: #A68C5B;
}
header nav a.btn-primary {
  background: #A68C5B;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 10px rgba(166,140,91,0.12);
  border: none;
}
header nav a.btn-primary:hover, header nav a.btn-primary:focus {
  background: #22324C;
  color: #fff;
}
header nav img {
  height: 36px;
  width: auto;
  margin-right: 14px;
  vertical-align: middle;
  border-radius: 4px;
}

/* ========================================================
   Mobile Navigation (Hamburger)
   ======================================================== */
.mobile-menu-toggle {
  display: none;
  background: #fff;
  border: none;
  font-size: 2.1rem;
  color: #A68C5B;
  margin-left: auto;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #A68C5B;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34,50,76,0.93);
  color: #fff;
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.59,.13,.58,1);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.2rem;
  background: none;
  border: none;
  color: #F6F5F3;
  padding: 24px 22px 12px 0;
  cursor: pointer;
  transition: color 0.12s;
  align-self: flex-end;
}
.mobile-menu-close:focus { outline: 2px solid #A68C5B; }

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  padding: 30px 20px 0 35px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.12rem;
  font-weight: 700;
  padding: 14px 0;
  border-radius: 0;
  transition: color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #A68C5B;
  background: none;
}

@media (max-width: 1024px) {
  header nav {
    gap: 8px;
    padding-left: 8px; padding-right: 8px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 97vw;
  }
  .section { padding: 30px 8px; }
}
@media (max-width: 850px) {
  header nav {
    gap: 3px;
    font-size: 15px;
  }
}
@media (max-width: 750px) {
  .content-wrapper { gap: 20px; }
}
@media (max-width: 768px) {
  body { font-size: 15px; }
  h1 { font-size: 1.32rem; }
  h2 { font-size: 1.02rem; }
  .section { margin-bottom: 44px; padding: 28px 6px; }
  .testimonials { gap: 14px; }
  .text-image-section { flex-direction: column; gap: 18px; }
  .content-grid { flex-direction: column; gap: 18px; }
  .card-container { flex-direction: column; gap: 16px; }
  .card { min-width: 0; max-width: 100%; }
  .cta-box { padding: 28px 10px; }
  .testimonial-card { flex-direction: column; gap: 10px; padding: 15px; }

  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    z-index: 1001;
    margin-right: 10px;
  }
}

@media (min-width: 769px) {
  .mobile-menu-toggle { display: none !important; }
  .mobile-menu { display: none !important; }
}

/* ========================================================
   Buttons
   ======================================================== */
.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 12px 28px;
  font-size: 1rem;
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 700;
  border-radius: 30px;
  border: none;
  outline: none;
  cursor: pointer;
  text-align: center;
  min-width: 180px;
  transition: background 0.21s, color 0.18s, box-shadow 0.19s;
  margin-top: 7px;
  box-shadow: 0 1px 8px 0 rgba(166,140,91,0.10);
  letter-spacing: 0.02em;
}
.btn-primary {
  background: #A68C5B;
  color: #fff;
}
.btn-primary:hover, .btn-primary:focus {
  background: #fff;
  color: #A68C5B;
  box-shadow: 0 4px 24px 0 rgba(166,140,91,0.18);
}
.btn-secondary {
  background: #22324C;
  color: #fff;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #A68C5B;
  color: #fff;
  box-shadow: 0 3px 14px rgba(34,50,76,0.09);
}

/* ========================================================
   Footer
   ======================================================== */
footer {
  background: #22324C;
  color: #fff;
  padding: 0 0 0 0;
  margin-top: 60px;
  position: relative;
  z-index: 20;
}
footer .container { padding-top: 35px; padding-bottom: 32px; }
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 38px;
  align-items: flex-start;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px; margin-top: 8px;
}
footer nav a {
  color: #fff;
  opacity: 0.88;
  font-size: 15px;
  padding: 3px 0;
  font-weight: 500; border-radius: 4px;
  transition: color 0.19s, background 0.19s;
}
footer nav a:hover, footer nav a:focus {
  color: #A68C5B;
  background: none;
}
footer img {
  max-height: 32px;
  border-radius: 4px;
}
footer address {
  font-style: normal;
  color: #fff;
  line-height: 1.7;
  opacity: 0.93;
  font-size: 15px;
}
footer address img {
  height: 18px;
  width: 18px;
  margin-right: 7px;
  margin-bottom: -4px;
  vertical-align: middle;
}

@media (max-width: 1024px) {
  footer .container { padding-top: 20px; padding-bottom: 20px; }
  footer .content-wrapper { flex-direction: column; gap: 20px; align-items: flex-start; }
}

/* ========================================================
   Cookie Consent Banner & Modal
   ======================================================== */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0;
  width: 100vw;
  background: #22324C;
  color: #fff;
  z-index: 1500;
  box-shadow: 0 -5px 24px 0 rgba(34,50,76,0.09);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 30px;
  animation: bannerAppear 0.45s cubic-bezier(.90,.16,.44,1) both;
}
@keyframes bannerAppear {
  from { transform: translateY(120%); opacity:0; }
  to   { transform: translateY(0); opacity:1; }
}
.cookie-banner .cookie-text {
  font-size: 15px;
  font-weight: 500;
  max-width: 500px;
  opacity: 0.97;
}
.cookie-banner .cookie-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-banner button {
  padding: 11px 21px;
  font-size: 15px;
  border-radius: 22px;
  border: none;
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 600;
  margin-right: 7px;
  cursor: pointer;
  transition: background 0.17s, color 0.15s;
}
.cookie-banner .btn-accept {
  background: #A68C5B;
  color: #fff;
}
.cookie-banner .btn-accept:hover, .cookie-banner .btn-accept:focus {
  background: #fff;
  color: #A68C5B;
}
.cookie-banner .btn-reject {
  background: #fff;
  color: #22324C;
  border: 1px solid #A68C5B;
}
.cookie-banner .btn-reject:hover, .cookie-banner .btn-reject:focus {
  background: #A68C5B;
  color: #fff;
}
.cookie-banner .btn-settings {
  background: transparent;
  color: #fff;
  border: 1px solid #A68C5B;
}
.cookie-banner .btn-settings:hover, .cookie-banner .btn-settings:focus {
  background: #A68C5B;
  color: #fff;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 8px;
    gap: 10px;
  }
}

.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(34,50,76,0.54);
  z-index: 1550;
  animation: fadeInBackdrop 0.23s both;
}
@keyframes fadeInBackdrop {
  from { opacity: 0; } to { opacity: 1; }
}

.cookie-modal {
  position: fixed;
  bottom: 50%; left: 50%;
  transform: translate(-50%,50%) scale(0.98);
  width: 94vw;
  max-width: 430px;
  background: #fff;
  color: #22324C;
  border-radius: 18px;
  box-shadow: 0 7px 56px 0 rgba(34,50,76,0.15);
  z-index: 1600;
  padding: 38px 30px 24px 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: popupDrop 0.45s cubic-bezier(.55,0,.55,1.15) both;
}
@keyframes popupDrop {
  from { opacity: 0; transform: translate(-50%,80%) scale(0.97); }
  to   { opacity: 1; transform: translate(-50%,50%) scale(1); }
}
.cookie-modal h4 {
  font-family: 'Merriweather', Georgia, serif;
  color: #22324C;
  font-size: 1.07rem;
  margin-bottom: 7px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 15px;
  color: #22324C;
}
.cookie-modal .cookie-cat-toggle {
  accent-color: #A68C5B;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 12px;
}
.cookie-modal .btn-modal-save {
  background: #A68C5B;
  color: #fff;
  padding: 8px 16px;
  border-radius: 22px;
  border: none;
  font-family: 'Merriweather', Georgia, serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.14s, color 0.13s;
}
.cookie-modal .btn-modal-cancel {
  background: #fff;
  color: #A68C5B;
  border: 1px solid #A68C5B;
  padding: 8px 16px;
  border-radius: 22px;
  font-family: 'Merriweather', Georgia, serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.13s, color 0.14s;
}
.cookie-modal .btn-modal-save:hover, .cookie-modal .btn-modal-save:focus {
  background: #22324C;
  color: #fff;
}
.cookie-modal .btn-modal-cancel:hover, .cookie-modal .btn-modal-cancel:focus {
  background: #A68C5B;
  color: #fff;
}

@media (max-width:500px) {
  .cookie-modal { padding: 22px 7px 16px 7px; }
}

/* ========================================================
   Animations & Micro-interactions
   ======================================================== */
.btn-primary, .btn-secondary, .cookie-banner button, .cookie-modal button {
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.17s;
}
.btn-primary:active, .btn-secondary:active, .cookie-banner button:active, .cookie-modal button:active {
  transform: scale(0.97);
}
.header nav a.btn-primary:active {
  box-shadow: 0 1px 3px 0 rgba(166,140,91,0.13);
}
.card:active { transform: scale(0.98); }

/* Tabs, Accordions, Inputs (Extend as Needed) */
input, textarea, select {
  font-family: inherit;
  font-size: 16px;
  border: 1px solid #e7e3da;
  border-radius: 6px;
  padding: 9px 12px;
  margin-bottom: 16px;
  background: #fff;
  color: #22324C;
  transition: border 0.14s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #A68C5B;
  outline: none;
}

/* Error/Info/Success messages (example use) */
.status-msg {
  background: #F6F5E3;
  color: #887657;
  border-left: 4px solid #A68C5B;
  padding: 12px 18px;
  border-radius: 6px;
  margin-bottom: 18px;
}

/* ========================================================
   Accessibility: Reduced Motion
   ======================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ========================================================
   Misc & Utility
   ======================================================== */
::-webkit-input-placeholder { color: #9c9591; opacity: 1; }
::-moz-placeholder { color: #9c9591; opacity: 1; }
:-ms-input-placeholder { color: #9c9591; opacity: 1; }
::placeholder { color: #9c9591; opacity: 1; }

hr {
  border: 0;
  border-top: 1px solid #e5e2d6;
  margin: 40px 0 36px 0;
}

/* No grid or multi-col properties used anywhere: FLEX ONLY */
