/* ------------------------------------
   CSS RESET & BASE STYLES
------------------------------------ */
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 for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #fff;
  color: #22313F;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, select, textarea {
  font: inherit;
  background: none;
  border: none;
  outline: none;
  color: inherit;
}
html {
  font-size: 100%;
  scroll-behavior: smooth;
}

/* ------------------------------------
   TYPOGRAPHY
------------------------------------ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Roboto:wght@400;500;700&display=swap');

body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #22313F;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: #141414;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.8rem;
  line-height: 1.1;
  margin-bottom: 24px;
  font-weight: 700;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  font-weight: 700;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
  font-weight: 600;
}
h4, h5, h6 {
  font-size: 1.125rem;
  font-weight: 600;
}
p, li, .subheadline {
  font-size: 1rem;
  line-height: 1.7;
}
.subheadline {
  color: #444;
  margin-bottom: 20px;
  font-family: 'Roboto', sans-serif;
  font-size: 1.125rem;
}
strong {
  font-weight: 700;
  color: #141414;
}

/* Typography Scaling */
@media (min-width: 768px) {
  h1 { font-size: 3.5rem; }
  h2 { font-size: 2.2rem; }
  h3 { font-size: 1.35rem; }
}

/* ------------------------------------
   BRAND COLORS
------------------------------------ */
:root {
  --color-primary: #22313F;
  --color-dark: #141414;
  --color-light: #F5F6FA;
  --color-accent: #B29D74;
  --color-white: #fff;
  --color-gray1: #eeeeee;
  --color-gray2: #dddddd;
  --color-gray3: #c4c4c4;
  --color-gray4: #444;
}

/* ------------------------------------
   CONTAINER & SECTION LAYOUT
------------------------------------ */
.container {
  width: 100%;
  max-width: 1250px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-white);
  border-radius: 24px;
  box-shadow: 0 2px 24px 0 rgba(34, 49, 63, 0.04);
}
main > section:not(:last-child) {
  margin-bottom: 60px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
/* Make space between stacked content sections */
section + section {
  margin-top: 40px;
}

@media (max-width: 768px) {
  .section {
    padding: 24px 8px;
    margin-bottom: 36px;
  }
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* ------------------------------------
   HEADER / NAVIGATION
------------------------------------ */
header {
  background: var(--color-white);
  box-shadow: 0 2px 12px 0 rgba(34,49,63,0.06);
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 80px;
}
header img {
  height: 46px;
  width: auto;
}
header nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
av a {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  color: var(--color-dark);
  letter-spacing: 0.02em;
  padding: 7px 2px;
  border-radius: 3px;
  position: relative;
  transition: color 0.22s cubic-bezier(.4,.01,.165,1), background 0.22s cubic-bezier(.4,.01,.165,1);
}
nav a:hover, nav a:focus {
  color: var(--color-accent);
  background: rgba(178,157,116,0.07);
}
header .cta-btn {
  margin-left: 14px;
}

/* ------------------------------------
   CTA BUTTONS
------------------------------------ */
.cta-btn {
  display: inline-flex;
  align-items: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.125rem;
  font-weight: 700;
  background: var(--color-white);
  color: var(--color-primary);
  border-radius: 25px;
  padding: 10px 32px;
  border: 2px solid var(--color-primary);
  box-shadow: 0 2px 8px 0 rgba(34,49,63,.07);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s, box-shadow 0.22s;
}
.cta-btn.primary {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}
.cta-btn.primary:hover, .cta-btn.primary:focus {
  background: var(--color-accent);
  color: var(--color-primary);
  border-color: var(--color-accent);
  box-shadow: 0 4px 18px 0 rgba(34,49,63,0.12);
}
.cta-btn.secondary {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.cta-btn.secondary:hover, .cta-btn.secondary:focus {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}
.cta-btn.accent {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}
.cta-btn.accent:hover, .cta-btn.accent:focus {
  background: var(--color-dark);
  color: var(--color-accent);
}
.cta-btn:active {
  filter: brightness(0.97);
}

/* ------------------------------------
   FLEX UTILITY & LAYOUTS
------------------------------------ */
.feature-grid, .service-highlights, .property-reviews-grid, .trend-grid, .insight-teasers {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: stretch;
  margin-bottom: 12px;
}
.feature-grid > div, .service-highlights > div, .property-reviews-grid > div, .trend-grid > li, .insight-teasers > li {
  background: var(--color-light);
  border-radius: 18px;
  box-shadow: 0 1px 8px 0 rgba(34,49,63,0.08);
  padding: 28px 22px;
  min-width: 250px;
  flex: 1 1 275px;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
  border: 1px solid var(--color-gray2);
  transition: box-shadow 0.22s, border-color 0.22s;
}
.feature-grid > div:hover, .service-highlights > div:hover, .property-reviews-grid > div:hover, .trend-grid > li:hover, .insight-teasers > li:hover {
  box-shadow: 0 4px 24px 0 rgba(34,49,63,0.13);
  border-color: var(--color-accent);
  z-index: 1;
}
.insight-teasers {
  flex-direction: column;
  gap: 20px;
}
.insight-teasers > li a {
  color: var(--color-primary);
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  letter-spacing: 0.01em;
  font-size: 1.08rem;
  transition: color 0.22s;
}
.insight-teasers > li a:hover, .insight-teasers > li a:focus {
  color: var(--color-accent);
  text-decoration: underline;
}

@media (max-width: 900px) {
  .feature-grid, .service-highlights, .property-reviews-grid, .trend-grid {
    gap: 18px;
  }
  .feature-grid > div, .service-highlights > div, .property-reviews-grid > div, .trend-grid > li {
    min-width: 95%;
    flex: 1 1 100%;
    padding: 22px 14px;
  }
}
@media (max-width: 768px) {
  .feature-grid, .service-highlights, .property-reviews-grid, .trend-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 15px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-light);
  border-radius: 18px;
  box-shadow: 0 1px 8px 0 rgba(34,49,63,0.08);
  padding: 32px 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border: 1px solid var(--color-gray2);
  transition: box-shadow 0.22s, border-color 0.22s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(34,49,63,0.14);
}

.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;
    gap: 16px;
  }
  .card {
    padding: 20px 10px;
  }
}

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

/* ------------------------------------
   TESTIMONIALS / CARDS
------------------------------------ */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: var(--color-light);
  border-left: 5px solid var(--color-accent);
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 2px 16px 0 rgba(34,49,63,0.10);
  color: var(--color-dark);
}
.testimonial-card p {
  font-style: italic;
  color: var(--color-dark);
  font-size: 1.13rem;
  margin-bottom: 6px;
}
.testimonial-card span {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  color: var(--color-accent);
  font-size: 1rem;
}
@media (max-width: 500px) {
  .testimonial-card {
    padding: 15px 10px;
  }
}

/* ------------------------------------
   NOTICE/ALERTS
------------------------------------ */
.notice {
  background: #fffbe6;
  color: #221a00;
  border-left: 4px solid #e0cf98;
  border-radius: 8px;
  padding: 16px 18px;
  margin: 18px 0;
  font-size: 0.96rem;
}

/* ------------------------------------
   FOOTER
------------------------------------ */
footer {
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 0.98rem;
  padding-top: 48px;
  padding-bottom: 36px;
  letter-spacing: 0.02em;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 8px 0;
}
footer nav a {
  color: var(--color-light);
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.2s;
  padding: 5px 1px;
}
footer nav a:hover, footer nav a:focus {
  color: var(--color-accent);
}
footer img {
  height: 34px;
  width: auto;
  margin-bottom: 5px;
}
footer div {
  line-height: 1.7;
  font-family: 'Roboto', sans-serif;
}
@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding-left: 10px;
    padding-right: 10px;
  }
  footer {
    padding-top: 32px;
    padding-bottom: 26px;
  }
}

/* ------------------------------------
   MOBILE BURGER MENU
------------------------------------ */
.mobile-menu-toggle {
  display: none;
  background: var(--color-white);
  color: var(--color-primary);
  font-size: 2rem;
  border-radius: 7px;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-gray2);
  box-shadow: 0 2px 10px 0 rgba(34,49,63,0.08);
  cursor: pointer;
  position: absolute;
  right: 14px;
  top: 16px;
  z-index: 50;
  transition: background 0.17s, box-shadow 0.17s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--color-gray1);
  box-shadow: 0 4px 18px 0 rgba(34,49,63,0.13);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  transform: translateX(-100%);
  width: 320px;
  max-width: 88vw;
  height: 100vh;
  background: var(--color-white);
  box-shadow: 10px 0 36px 0 rgba(34,49,63,.23);
  z-index: 1001;
  transition: transform .36s cubic-bezier(.23,1.24,.32,1), box-shadow .18s;
  padding: 24px 22px;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--color-dark);
  font-size: 2.1rem;
  padding: 4px 0 24px 0;
  cursor: pointer;
  align-self: flex-end;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.17rem;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.015em;
  padding: 10px 0 8px 2px;
  border-radius: 6px;
  transition: background 0.14s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-gray1);
  color: var(--color-accent);
}
@media (max-width: 1024px) {
  header nav, header .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1025px) {
  .mobile-menu,
  .mobile-menu-toggle { display: none !important; }
}

/* Mobile menu overlay (darkening background, optional) */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.25);
  z-index: 1000;
}
.mobile-menu.open + .mobile-menu-overlay {
  display: block;
}

/* ------------------------------------
   COOKIE CONSENT BANNER
------------------------------------ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 3900;
  background: var(--color-light);
  box-shadow: 0 -2px 24px 0 rgba(34,49,63,0.14);
  border-top: 2px solid var(--color-gray2);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 32px;
  font-size: 1.05rem;
  color: var(--color-dark);
  animation: cookie-slide-in 0.64s cubic-bezier(.24,1.08,.49,1);
}
@keyframes cookie-slide-in {
  from { transform: translateY(120%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner-text {
  flex: 1 1 66%;
  max-width: 820px;
}
.cookie-banner-buttons {
  display: flex;
  gap: 12px;
}
.cookie-btn {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  border-radius: 20px;
  padding: 8px 22px;
  border: 2px solid var(--color-primary);
  font-size: 1rem;
  cursor: pointer;
  background: var(--color-white);
  color: var(--color-primary);
  transition: background 0.2s, color 0.2s, border-color 0.14s;
}
.cookie-btn.accept {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--color-accent);
  color: var(--color-primary);
}
.cookie-btn.reject {
  border-color: var(--color-gray3);
  background: var(--color-white);
  color: var(--color-dark);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: var(--color-gray1);
}
.cookie-btn.settings {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: var(--color-white);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--color-accent);
  color: var(--color-white);
}

@media (max-width: 600px) {
  .cookie-banner {
    padding: 10px 5px 20px 5px;
    flex-direction: column;
    gap: 20px;
    font-size: 0.95rem;
  }
  .cookie-banner-buttons {
    gap: 7px;
    flex-wrap: wrap;
    width: 100%;
    justify-content: flex-start;
  }
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 0; right: 0;
  top: 0; bottom: 0;
  z-index: 4000;
  background: rgba(34, 49, 63, 0.36);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modal-fade-in 0.33s cubic-bezier(.4,.01,.165,1);
}
@keyframes modal-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal-content {
  background: var(--color-white);
  border-radius: 20px;
  max-width: 440px;
  width: 96%;
  padding: 36px 22px 24px 22px;
  box-shadow: 0 8px 48px 0 rgba(34,49,63,0.16);
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: stretch;
  position: relative;
}
.cookie-modal-content h2 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.close-cookie-modal {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-dark);
  cursor: pointer;
  transition: color 0.14s;
}
.close-cookie-modal:hover {
  color: var(--color-accent);
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  background: var(--color-light);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 8px;
}
.cookie-category input[type="checkbox"] {
  width: 1.18em;
  height: 1.18em;
  accent-color: var(--color-accent);
  margin-right: 6px;
}
.cookie-category .always-on {
  opacity: 0.77;
  font-size: 0.95em;
  color: var(--color-gray4);
}

/* ------------------------------------
   GENERAL FORMS & ELEMENTS
------------------------------------ */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 16px;
}
ul, ol {
  margin-left: 18px;
  margin-bottom: 12px;
}
ul li, ol li {
  margin-bottom: 10px;
  padding-left: 0.3em;
  line-height: 1.6;
}
ul li:last-child, ol li:last-child {
  margin-bottom: 0;
}

/* Links in text */
p a, .text-section a {
  color: var(--color-accent);
  text-decoration: underline;
  transition: color 0.18s;
}
p a:hover, .text-section a:hover, p a:focus, .text-section a:focus {
  color: var(--color-primary);
}

/* ------------------------------------
   MEDIA QUERIES: SPACING+RESPONSIVENESS
------------------------------------ */
@media (max-width: 500px) {
  h1 {
    font-size: 2rem;
    margin-bottom: 12px;
  }
  h2 {
    font-size: 1.17rem;
    margin-bottom: 8px;
  }
  .section {
    margin-bottom: 22px;
    padding: 13px 3px;
  }
}

/* ------------------------------------
   MICRO-INTERACTIONS & EFFECTS
------------------------------------ */
button, .cta-btn, .cookie-btn {
  transition: box-shadow 0.17s, background 0.15s, color 0.14s;
}
a, nav a, .mobile-nav a {
  transition: color 0.18s, background 0.13s;
}
.card, .feature-grid > div, .service-highlights > div {
  transition: box-shadow 0.21s, border-color 0.13s;
}

/* ------------------------------------
   ACCESSIBILITY: OUTLINES
------------------------------------ */
a:focus, button:focus, .cta-btn:focus, .cookie-btn:focus, .mobile-menu-close:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  z-index: 3;
}

/* ------------------------------------
   SPECIALS: LOGO SVG COLOR HANDLING
------------------------------------ */
header img, footer img {
  filter: none !important;
  background: none;
}

/* ------------------------------------
   MISCELLANEOUS
------------------------------------ */
::-webkit-scrollbar { width: 9px; background: var(--color-light); }
::-webkit-scrollbar-thumb { background: var(--color-gray2); border-radius: 4px;}
::-webkit-scrollbar-thumb:hover { background: var(--color-gray3); }

/* ------------------------------------
   PRINT STYLES (for PDF/Export)
------------------------------------ */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
  .container,.section { max-width: 100%; padding-left:0; padding-right:0; margin: 0; }
  body { background: white; color: #111 !important; }
  a { color: #B29D74 !important; text-decoration: underline !important; }
}
