/* 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,
b, 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F2EDE3;
  color: #25313C;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  border: 0;
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #25313C;
  text-decoration: none;
  transition: color 0.15s cubic-bezier(.27,.25,.53,1.09);
}
a:hover, a:focus {
  color: #BCA66A;
}
ul, ol {
  list-style-position: inside;
  margin-left: 0;
}
strong, b {
  font-weight: bold;
}

/* MODERN BOLD: TYPOGRAPHY */
h1, .h1 {
  font-family: 'Merriweather', serif;
  font-weight: 800;
  font-size: 2.8rem;
  letter-spacing: -0.01em;
  color: #25313C;
  margin-bottom: 24px;
  line-height: 1.15;
}
@media (max-width: 768px) {
  h1, .h1 { font-size: 2rem; }
}
h2, .h2 {
  font-family: 'Merriweather', serif;
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: -0.005em;
  color: #25313C;
  margin-bottom: 20px;
  line-height: 1.15;
}
@media (max-width: 768px) {
  h2, .h2 { font-size: 1.4rem; }
}
h3, .h3 {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: #25313C;
  margin-bottom: 14px;
}
h4, .h4 {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  font-size: 1.1rem;
}
p, ul, ol, li {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  margin-bottom: 18px;
  font-weight: 400;
}
@media (max-width: 768px) {
  h3, .h3 { font-size: 1rem; }
  p, ul, ol, li { font-size: 0.97rem; }
}

/* MODERN BOLD: SPACING UTILITIES */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
@media (max-width: 768px) {
  .section, section { padding: 25px 10px; margin-bottom: 34px; }
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* NAVIGATION */
header {
  background: #25313C;
  color: #fff;
  width: 100%;
  box-shadow: 0 8px 24px rgba(37,49,60,.06);
  z-index: 20;
  position: relative;
}
header .container {
  min-height: 72px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
header a {
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
}
header nav a.cta {
  background: #BCA66A;
  color: #25313C;
  font-weight: 900;
  padding: 10px 24px;
  border-radius: 42px;
  margin-left: 12px;
  box-shadow: 0 2px 14px 0 rgba(188,166,106,0.11);
  transition: background 0.2s cubic-bezier(.45,.8,.44,1.25), color 0.2s cubic-bezier(.45,.8,.44,1.25), transform 0.15s cubic-bezier(.23,1.13,.29,.96);
  border: none;
  outline: none;
}
header nav a.cta:hover,
header nav a.cta:focus {
  background: #fff;
  color: #BCA66A;
  transform: scale(1.06);
}

/* HAMBURGER MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  color: #fff;
  font-size: 2.1rem;
  border: none;
  outline: none;
  cursor: pointer;
  transition: color .2s cubic-bezier(.25,.25,.54,1.29);
}
@media (max-width: 1024px) {
  header nav { display: none; }
  .mobile-menu-toggle {
    display: flex;
  }
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #25313C;
  color: #fff;
  z-index: 1001;
  justify-content: flex-start;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  transform: translateX(-100vw);
  transition: transform .37s cubic-bezier(.42,1.63,.43,1) 0s;
  display: flex;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  color: #fff;
  background: none;
  border: none;
  font-size: 2.2rem;
  padding: 24px 30px 14px 24px;
  cursor: pointer;
  align-self: flex-end;
  margin-bottom: 8px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  align-items: flex-start;
  padding: 16px 32px;
}
.mobile-nav a {
  font-size: 1.2rem;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.5;
  border-radius: 8px;
  padding: 8px 0 8px 6px;
  transition: background .15s, color .15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #BCA66A;
  color: #25313C;
}
@media (min-width: 1025px) {
  .mobile-menu { display: none; }
}

/* MAIN LAYOUT SPACING & FLEXBOX PATTERNS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(37,49,60,0.09);
  padding: 26px 22px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow .18s cubic-bezier(.3,.85,.43,1.09), transform .18s cubic-bezier(.28,.89,.47,.98);
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 28px 0 rgba(37,49,60,0.13);
  transform: translateY(-3px) scale(1.015);
}
.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;
}
@media (max-width: 768px) {
  .content-grid, .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px 0 rgba(37,49,60,0.12);
  margin-bottom: 20px;
}
.testimonial-card p {
  color: #25313C;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0;
}
.testimonial-card span {
  font-size: 0.98rem;
  font-weight: 700;
  color: #BCA66A;
  letter-spacing: 0.02em;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.text-section {
  margin-bottom: 20px;
  padding: 20px 0 0 0;
}

/* ICON LISTS */
ul > li, ol > li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-weight: 600;
}
ul > li img {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

/* BUTTONS AND CTA */
.cta, .button, button, .cookie-btn, .cookie-banner button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Merriweather', serif;
  font-weight: 900;
  font-size: 1.1rem;
  border-radius: 30px;
  border: none;
  outline: none;
  padding: 11px 28px;
  background: #BCA66A;
  color: #25313C;
  box-shadow: 0 3px 20px 0 rgba(37,49,60,0.10);
  transition: background 0.17s, color 0.17s, box-shadow 0.14s, transform 0.14s;
  cursor: pointer;
  letter-spacing: 0.01em;
}
.cta:hover, .cta:focus, .cookie-btn:hover, .cookie-btn:focus {
  background: #25313C;
  color: #fff;
  box-shadow: 0 6px 34px 0 rgba(39,40,41,0.16);
  transform: scale(1.06);
}
.button-secondary {
  background: #25313C;
  color: #fff;
}
.button-secondary:hover, .button-secondary:focus {
  background: #BCA66A;
  color: #25313C;
}
.button-outline {
  background: transparent;
  color: #25313C;
  border: 2px solid #BCA66A;
  font-family: 'Merriweather', serif;
}
.button-outline:hover, .button-outline:focus {
  background: #BCA66A;
  color: #25313C;
}

/* FORMS (if used) */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid #BCA66A;
  margin-bottom: 18px;
  outline: none;
  transition: border 0.13s;
  color: #25313C;
  background: #F2EDE3;
}
input:focus, textarea:focus, select:focus {
  border: 2px solid #25313C;
}

/* FOOTER */
footer {
  background: #25313C;
  color: #fff;
  width: 100%;
  padding: 40px 0 8px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
}
footer .footer-brand {
  flex: 0 0 auto;
  margin-bottom: 10px;
}
footer .footer-contact {
  min-width: 210px;
  font-size: 1rem;
  margin-bottom: 10px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
footer nav a {
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  opacity: 0.93;
  padding: 2px 0;
  transition: color .14s, opacity .15s;
}
footer nav a:hover, footer nav a:focus {
  color: #BCA66A;
  opacity: 1;
}
footer .footer-legal {
  margin-top: 16px;
}
@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff;
  color: #25313C;
  border-top: 3px solid #BCA66A;
  box-shadow: 0 -2px 16px 0 rgba(37,49,60,0.08);
  z-index: 2000;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 26px 36px 20px 24px;
  font-size: 1rem;
  transition: transform .3s cubic-bezier(.37,1.42,.3,.97), opacity .22s;
}
.cookie-banner.hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-banner-text {
  flex: 1 1 360px;
  margin-right: 24px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
}
.cookie-btn {
  min-width: 115px;
  font-size: 1rem;
  padding: 10px 22px;
  font-weight: 800;
  border-radius: 38px;
}
.cookie-btn.settings {
  background: #fff;
  border: 2px solid #BCA66A;
  color: #BCA66A;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #BCA66A;
  color: #fff;
}
/* Responsive cookie banner */
@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; gap: 12px; align-items: flex-start; padding: 20px 12px 20px 12px; }
  .cookie-banner .cookie-banner-text { margin: 0 0 8px 0; }
}

/* COOKIE PREFERENCE MODAL */
.cookie-modal {
  display: none;
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(37,49,60,0.55);
  z-index: 2100;
  align-items: center;
  justify-content: center;
}
.cookie-modal.active {
  display: flex;
}
.cookie-modal-dialog {
  background: #fff;
  max-width: 420px;
  width: 94vw;
  border-radius: 24px;
  box-shadow: 0 8px 32px 0 rgba(37,49,60,0.17);
  padding: 32px 28px 26px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: modalIn .34s cubic-bezier(.53,1.41,.46,.99);
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 23px;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: #25313C;
  cursor: pointer;
  padding: 0;
  font-weight: bold;
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 12px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  font-weight: 600;
  color: #25313C;
}
.cookie-toggle {
  width: 44px;
  height: 24px;
  border-radius: 24px;
  background: #eee;
  position: relative;
  cursor: pointer;
  transition: background 0.17s;
}
.cookie-toggle[data-enabled="true"] {
  background: #BCA66A;
}
.cookie-toggle-thumb {
  position: absolute;
  left: 2px; top: 2px;
  width: 20px; height: 20px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(37,49,60,0.15);
  transition: left 0.14s;
}
.cookie-toggle[data-enabled="true"] .cookie-toggle-thumb {
  left: 22px;
}
.cookie-category.disabled { opacity: 0.67; }

/* ACCESSIBILITY OUTLINES */
a:focus, button:focus, .cta:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus {
  outline: 2px solid #BCA66A !important;
  outline-offset: 1px;
}

/* GEOMETRIC & MODERN ACCENTS */
section {
  position: relative;
  overflow: visible;
}
section::after {
  content: '';
  display: block;
  position: absolute;
  right: 0;
  top: 20px;
  width: 90px;
  height: 90px;
  z-index: 0;
  border-radius: 26px;
  background: rgba(188,166,106,0.17);
  pointer-events: none;
}
@media (max-width: 900px) {
  section::after { display: none; }
}

/* VISUAL HIERARCHY & SHADOWS */
.card, .testimonial-card {
  box-shadow: 0 2px 14px 0 rgba(188,166,106,0.08);
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 8px 30px 0 rgba(188,166,106,0.16);
}

/* SCROLLBAR STYLING */
::-webkit-scrollbar {
  width: 9px; background: #F2EDE3;
}
::-webkit-scrollbar-thumb {
  background: #BCA66A; border-radius: 5px;
}

/* RESPONSIVE TWEAKS */
@media (max-width: 600px) {
  h1 { font-size: 1.33rem; }
  h2 { font-size: 1.08rem; }
  .container { padding: 0 9px; }
  .cookie-modal-dialog { padding: 22px 7px 22px 13px; }
}

/* MISC */
hr {
  border: none;
  border-bottom: 2.5px solid #BCA66A;
  margin: 34px 0 24px 0;
}

/* VISUALLY HIDE (for a11y) */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; border: 0; overflow: hidden; clip: rect(0 0 0 0); }

/* Z-INDEX FIXES */
header, .mobile-menu { z-index: 1001; }
footer { z-index: 1; }

/* MINIMUMS FOR SECTION SPACING */
main section, .section, .testimonial-card, .card { margin-bottom: 20px; }

/* PRINT STYLES */
@media print {
  .cookie-banner, .cookie-modal, .mobile-menu, .mobile-menu-toggle { display: none !important; }
}
