/* =========================================================
   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,
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;
}
/* HTML5 display-role reset */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #fff;
  color: #23282F;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  overflow-x: hidden;
  min-height: 100vh;
}
ol, ul {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
img, svg {
  vertical-align: middle;
  max-width: 100%;
  height: auto;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  appearance: none;
}
strong {
  font-weight: 600;
}

/* =========================================================
   BRAND VARIABLE ROOTS
========================================================= */
:root {
  --color-primary: #23282F;
  --color-secondary: #A78B65;
  --color-accent: #F5F2F0;
  --color-white: #fff;
  --color-text: #23282F;
  --color-muted: #828282;
  --shadow: 0 2px 16px rgba(35, 40, 47, 0.07);
  --radius: 12px;
  --transition: 0.2s cubic-bezier(.48,.22,.34,1);
}

/* =========================================================
   TYPOGRAPHY
========================================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', 'Georgia', serif;
  color: var(--color-primary);
  margin-bottom: 12px;
  line-height: 1.2;
}
h1 {
  font-size: 2.5rem; /* 40px */
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
h2 {
  font-size: 2rem; /* 32px */
  margin-bottom: 18px;
}
h3 {
  font-size: 1.5rem; /* 24px */
  margin-bottom: 14px;
}
h4 {
  font-size: 1.25rem;
}

p, li, span, label {
  font-size: 1rem; /* 16px */
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-text);
  font-weight: 400;
  margin-bottom: 10px;
}
.subheadline {
  font-size: 1.25rem;
  color: var(--color-muted);
  margin-bottom: 22px;
}

.authors-note em {
  color: var(--color-secondary);
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.15rem; }
}

/* =========================================================
   GLOBAL LAYOUT CLASSES
========================================================= */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  background: transparent;
  /* for breathing room in cards only, not global */
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: var(--color-accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  min-width: 270px;
  flex: 1 1 320px;
  padding: 28px 24px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: 0 8px 32px rgba(35,40,47,0.12);
  transform: translateY(-6px) scale(1.01);
}

.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) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 28px;
  border-radius: var(--radius);
  background: var(--color-accent);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  min-width: 220px;
  max-width: 400px;
  position: relative;
  font-size: 1.08rem;
  color: var(--color-text);
  transition: box-shadow var(--transition), transform var(--transition);
}
.testimonial-card.highlighted {
  background: var(--color-white);
  border: 1.5px solid var(--color-secondary);
  box-shadow: 0 4px 32px rgba(167,139,101,0.09);
  z-index: 2;
}
.testimonial-card:hover,
.testimonial-card:focus {
  box-shadow: 0 8px 32px rgba(35, 40, 47, 0.12);
  transform: translateY(-4px) scale(1.015);
}

.testimonial-slider, .testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
  justify-content: flex-start;
}

.star-overview {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--color-secondary);
  font-size: 1.1rem;
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 10px;
  justify-content: flex-start;
}
.features-grid > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  flex: 1 1 220px;
  min-width: 210px;
  background: var(--color-accent);
  border-radius: var(--radius);
  padding: 24px 18px 20px 18px;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), transform var(--transition);
}
.features-grid > div:hover {
  box-shadow: 0 8px 32px rgba(35, 40, 47, 0.11);
  transform: translateY(-5px);
}
.features-grid img {
  width: 38px;
  height: 38px;
  margin-bottom: 6px;
}

ul.post-list {
  margin: 0 0 20px 0;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.newsletter-signup {
  background: var(--color-accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 20px;
  margin-top: 24px;
}

.map-placeholder {
  width: 100%;
  min-height: 180px;
  background: var(--color-accent);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  box-shadow: var(--shadow);
}

.contact-details > p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.contact-details a {
  color: var(--color-secondary);
  text-decoration: underline;
}
.contact-details a:hover {
  color: var(--color-primary);
}

/* =========================================================
   HEADER & NAVIGATION
========================================================= */
header {
  background: var(--color-white);
  box-shadow: 0 2px 20px rgba(35, 40, 47, 0.05);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 20px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: var(--color-primary);
  position: relative;
  padding: 0 3px;
  transition: color var(--transition);
}
header nav a:hover, header nav a:focus {
  color: var(--color-secondary);
}
header .cta {
  margin-left: 36px;
}
header img {
  height: 46px;
  width: auto;
}
.mobile-menu-toggle {
  display: none;
  margin-left: 12px;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--color-primary);
  cursor: pointer;
  padding: 4px 10px;
}

@media (max-width: 990px) {
  header nav {
    gap: 14px;
  }
  .header .cta {
    margin-left: 20px;
  }
}

/* ========== MOBILE MENU ========= */
.mobile-menu {
  position: fixed;
  z-index: 2000;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(35,40,47,0.79);
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.69,.01,.32,1);
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  padding-top: 32px;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
  transition: transform 0.38s cubic-bezier(.77,.03,.25,1);
}
.mobile-menu-close {
  margin-left: auto;
  margin-right: 18px;
  background: var(--color-white);
  color: var(--color-primary);
  font-size: 2rem;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  width: 45px;
  height: 45px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.mobile-menu-close:hover {
  background: var(--color-accent);
}
.mobile-nav {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 92vw;
  max-width: 360px;
  margin-left: 24px;
}
.mobile-nav a {
  font-size: 1.25rem;
  color: var(--color-white);
  padding: 14px 0 14px 0;
  letter-spacing: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 6px;
  transition: background 0.13s, color 0.13s;
  display: block;
}
.mobile-nav a:hover {
  background: var(--color-accent);
  color: var(--color-primary);
}

@media (max-width: 1024px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* =========================================================
   CTA BUTTONS
========================================================= */
.cta {
  display: inline-flex;
  align-items: center;
  background: var(--color-secondary);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 14px 32px;
  border-radius: 30px;
  letter-spacing: 0.01em;
  box-shadow: var(--shadow);
  border: none;
  outline: none;
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition), color var(--transition), transform var(--transition);
}
.cta:hover, .cta:focus {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 32px rgba(35, 40, 47, 0.19);
}

/* Cookie Banner Buttons (see below as well) */
.cookie-banner .cta,
.cookie-banner .cookie-settings-btn {
  padding: 10px 28px;
  margin-right: 8px;
  font-size: 1rem;
  min-width: 110px;
}

/* =========================================================
   SECTIONS, CARDS, GRIDS, FLEX LAYOUTS
========================================================= */
section {
  margin-bottom: 60px;
  padding-top: 20px;
  padding-bottom: 20px;
}
@media (max-width: 900px) {
  .features-grid {
    flex-direction: column;
  }
  .content-grid {
    flex-direction: column;
    gap: 26px;
  }
  .testimonial-slider, .testimonial-grid {
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 8px;
  }
  .card {
    padding: 18px 8px;
  }
  section, .section {
    padding: 24px 6px;
    margin-bottom: 36px;
  }
}

/* For each .feature-item (if used elsewhere) */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Custom lists */
ul, ol {
  margin-left: 0px;
  margin-bottom: 14px;
  padding-left: 22px;
}
ul li, ol li {
  margin-bottom: 7px;
  color: var(--color-text);
  line-height: 1.6;
}

/* =========================================================
   FOOTER STYLES
========================================================= */
footer {
  background: var(--color-accent);
  border-top: 1.5px solid #edeae7;
  padding: 36px 0 16px 0;
  margin-top: 30px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  align-items: flex-start;
}
footer nav {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.96rem;
}
footer nav a {
  color: var(--color-primary);
  margin: 0 3px;
  transition: color 0.15s;
}
footer nav a:hover {
  color: var(--color-secondary);
  text-decoration: underline;
}
footer .contact-info {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  flex-direction: column;
  font-size: 0.98rem;
  color: var(--color-text);
  margin-bottom: 6px;
}
footer .contact-info img {
  width: 20px;
  height: 20px;
  margin-right: 4px;
}
footer .contact-info span {
  color: var(--color-muted);
  font-size: 0.94rem;
}
footer .social-links {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 4px;
}
footer .social-links a {
  background: #fff;
  border-radius: 50%;
  box-shadow: var(--shadow);
  padding: 7px;
  transition: background 0.13s;
}
footer .social-links a:hover {
  background: var(--color-secondary);
}
footer .social-links a img {
  width: 26px;
  height: 26px;
}

@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 18px;
  }
}

/* =========================================================
   COOKIE CONSENT BANNER & POPUP
========================================================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff;
  color: var(--color-primary);
  box-shadow: 0 -2px 18px rgba(35,40,47,0.09);
  padding: 22px 16px 24px 16px;
  z-index: 4000;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.34s;
  font-size: 1rem;
}
.cookie-banner [class^="cookie-btn"],
.cookie-banner .cta,
.cookie-banner .cookie-settings-btn {
  margin-left: 8px;
}
.cookie-banner .cta {
  background: var(--color-secondary);
}
.cookie-banner .cookie-settings-btn {
  background: var(--color-accent);
  color: var(--color-primary);
  border-radius: 30px;
  box-shadow: var(--shadow);
  transition: background var(--transition), color var(--transition);
  cursor: pointer;
}
.cookie-banner .cookie-settings-btn:hover {
  background: var(--color-secondary);
  color: #fff;
}
.cookie-banner .cookie-reject-btn {
  background: var(--color-accent);
  color: var(--color-primary);
  border-radius: 30px;
  box-shadow: var(--shadow);
  border: none;
  padding: 10px 28px;
  transition: background var(--transition), color var(--transition);
  font-size: 1rem;
  min-width: 110px;
  cursor: pointer;
}
.cookie-banner .cookie-reject-btn:hover {
  background: var(--color-primary);
  color: #fff;
}

.cookie-banner.hide {
  transform: translateY(120%);
  pointer-events: none;
  opacity: 0;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(35,40,47,0.68);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4100;
  opacity: 1;
  transition: opacity 0.3s;
  pointer-events: auto;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-content {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 6px 32px rgba(35, 40, 47, 0.22);
  max-width: 380px;
  min-width: 300px;
  padding: 36px 26px 34px 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.44rem;
  margin-bottom: 4px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
  gap: 13px;
}
.cookie-modal .category-label {
  font-size: 1.07rem;
}
.cookie-modal .toggle-switch {
  width: 42px;
  height: 22px;
  background: var(--color-accent);
  border-radius: 20px;
  position: relative;
  cursor: pointer;
  transition: background var(--transition);
}
.cookie-modal .toggle-switch input {
  display: none;
}
.cookie-modal .toggle-slider {
  position: absolute;
  left: 2px; top: 2px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--color-secondary);
  box-shadow: 0 2px 8px rgba(167, 139, 101, 0.13);
  transition: left 0.2s, background var(--transition);
}
.cookie-modal .toggle-switch input:checked + .toggle-slider {
  left: 22px;
  background: var(--color-primary);
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}
.cookie-modal .close-modal-btn {
  position: absolute;
  top: 10px; right: 15px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: var(--color-muted);
  cursor: pointer;
}
.cookie-modal .close-modal-btn:hover {
  color: var(--color-primary);
}

@media (max-width: 600px) {
  .cookie-modal-content {
    max-width: 96vw;
    padding: 22px 8px 22px 8px;
  }
}

/* =========================================================
   SMALL INTERACTIONS & MICRO-ANIMATIONS
========================================================= */
.card, .testimonial-card, .features-grid > div {
  transition: box-shadow var(--transition), transform var(--transition);
}
.cta, .cookie-banner .cta, .cookie-banner .cookie-settings-btn, .cookie-banner .cookie-reject-btn, .mobile-menu-close {
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
}
nav a, .mobile-nav a {
  transition: color var(--transition), background var(--transition);
}
input, textarea {
  transition: border-color var(--transition), box-shadow var(--transition);
}

/* =========================================================
   SPECIAL: THANK YOU / SUCCESS PAGE
========================================================= */
.thank-you-message {
  background: var(--color-accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px 22px;
  text-align: center;
  margin-top: 50px;
}

/* =========================================================
   ACCESSIBILITY / UTILITIES
========================================================= */
.visually-hidden {
  position: absolute;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* =========================================================
   PRINT STYLES
========================================================= */
@media print {
  header, footer, .cookie-banner, .mobile-menu {
    display: none !important;
  }
  body, main, section, .container {
    box-shadow: none !important;
    background: #fff !important;
    color: #111 !important;
  }
  a {
    color: #23282F !important;
    text-decoration: underline;
  }
}
