/* ==== CSS RESET & BASE ==== */
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: #F8FAF9; /* warm off-white with slight green tint for organic feel */
  color: #355239; /* rich earthy green */
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}
a {
  color: #376553;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #1D3557;
}

/* ==== TYPOGRAPHY ==== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #234020;
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 24px;
  line-height: 1.2;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  line-height: 1.22;
}
h3 {
  font-size: 1.125rem;
  margin-bottom: 12px;
}
h4, h5, h6 { font-size: 1rem; margin-bottom: 8px; }
p, ul, ol {
  font-size: 1rem;
  margin-bottom: 14px;
  color: #355239;
}
ul, ol {
  padding-left: 22px;
  margin-bottom: 20px;
}
strong, b { color: #234020; font-weight: 700; }

/* ==== SPACING + LAYOUT ==== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
  box-sizing: border-box;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFFFFF;
  border-radius: 32px;
  box-shadow: 0 5px 24px rgba(52,87,66,0.06), 0 1.5px 4.5px rgba(68, 111, 82, 0.10);
  position: relative;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #F7FAF4;
  border-radius: 28px;
  margin-bottom: 20px;
  box-shadow: 0 3px 12px rgba(52,49,30,0.07);
  padding: 24px 20px 20px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 230px;
  flex: 1 1 275px;
  transition: box-shadow 0.22s;
}
.card:hover {
  box-shadow: 0 8px 28px rgba(34,64,32,0.15);
}
.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: #F1FAEE;
  border-radius: 28px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(30, 64, 37, 0.07);
  border-left: 4px solid #6FA15C;
  min-width: 270px;
  flex: 1 1 275px;
}
.testimonial-card p {
  font-size: 1.02rem;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #234020;
}
.testimonial-card span {
  font-size: 0.98rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #5C8663;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.city-tiles, .city-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.city-tiles li, .city-grid li {
  background: #F3F8EF;
  border-radius: 18px 32px 24px 12px / 25px 40px 20px 30px;
  padding: 18px 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #40753A;
  min-width: 90px;
  flex: 1 1 144px;
  text-align: center;
  box-shadow: 0 1.5px 6px rgba(68, 111, 82, 0.09);
}
.city-tiles li span {
  font-size: 1.12rem;
}
.property-listing-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.property-listing-grid li {
  background: #F7FAF4;
  border-radius: 22px 31px 18px 22px / 27px 38px 16px 30px;
  box-shadow: 0 2px 8px rgba(50,77,54, 0.09);
  padding: 22px 16px 17px 20px;
  min-width: 210px;
  flex: 1 1 250px;
  margin-bottom: 15px;
}
.property-listing-grid li h3 {
  color: #1D3557;
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.property-listing-grid li p {
  font-size: 0.98rem;
  color: #4A6146;
  margin-bottom: 0;
}
/* FAQ & Article highlights */
.faq-list, .article-highlights, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.faq-list li, .article-highlights li, .service-list li {
  background: #F7FAF4;
  border-radius: 20px 28px 15px 25px / 28px 34px 25px 30px;
  box-shadow: 0 1.5px 6px rgba(62, 92, 56, 0.09);
  padding: 18px 18px 16px 20px;
  min-width: 200px;
  flex: 1 1 270px;
}
.article-highlights li h3 {margin-bottom: 7px; font-size: 1.08rem; color: #2A3422;}
.faq-list li strong {color: #346920;}

.property-search-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 32px;
  align-items: center;
  background: #F3F5F1;
  border-radius: 16px;
  padding: 16px 16px 11px 16px;
}
.property-search-filters label {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #346920;
  font-weight: 600;
  margin-right: 8px;
}
.property-search-filters select {
  padding: 5px 14px 5px 10px;
  min-width: 110px;
  border-radius: 9px;
  background: #FFFFFF;
  border: 1px solid #D1E3C3;
  color: #27492B;
  font-family: inherit;
}

/* ==== BUTTONS ==== */
.cta-primary, .cta-secondary, button, .mobile-menu-toggle, .mobile-menu-close, .cookie-consent-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  border: none;
  outline: none;
  cursor: pointer;
  border-radius: 40px;
  transition: background 0.2s, color 0.2s, box-shadow 0.18s, transform 0.18s;
  font-size: 1.05rem;
  min-width: 132px;
  min-height: 44px;
  padding: 0 28px;
  margin-right: 14px;
  margin-top: 6px;
}
.cta-primary {
  background: #457B9D;
  color: #F1FAEE;
  box-shadow: 0 3px 18px rgba(69,123,157,0.09);
}
.cta-primary:hover, .cta-primary:focus {
  background: #1D3557;
  color: #F1FAEE;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px rgba(53,82,57,0.12);
}
.cta-secondary {
  background: #F1FAEE;
  color: #1D3557;
  border: 2px solid #A4BA93;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #B4DEB4;
  color: #234020;
  border-color: #78A583;
}
/* General button style for forms and cookie banner */
button, .cookie-consent-btn {
  min-width: 110px;
  padding: 0 20px;
  font-size: 1rem;
  border-radius: 36px;
  background: #6FA15C;
  color: #F7FAF4;
}
button:hover, .cookie-consent-btn:hover {
  background: #27492B;
  color: #F1FAEE;
  box-shadow: 0 2px 12px rgba(52, 87, 66, 0.10);
}

/* ==== HEADER & MAIN NAV ==== */
header {
  width: 100%;
  background: #F3F8F4;
  box-shadow: 0 1.5px 8px rgba(30,40,32,0.03);
  z-index: 60;
  position: relative;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 18px 18px 18px;
  min-height: 70px;
}
header a img {
  height: 38px;
  width: auto;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #3B6739;
  font-weight: 600;
  font-size: 1rem;
  padding: 7px 13px;
  border-radius: 12px;
  transition: background 0.19s, color 0.18s;
}
header nav a:hover, header nav a.active {
  background: #E2F3E1;
  color: #234020;
}
header .cta-primary {
  margin-left: 14px;
  font-size: 1.03rem;
}
.mobile-menu-toggle {
  font-size: 2.2rem;
  background: #F1FAEE;
  color: #4A8760;
  border: none;
  border-radius: 46px;
  padding: 3px 15px 0 15px;
  margin-left: 12px;
  display: none;
  z-index: 120;
  min-width: 50px;
  min-height: 48px;
}
/* ==== FOOTER ==== */
footer {
  width: 100%;
  background: #1D3557;
  color: #E9F3E1;
  padding: 32px 0 0 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 16px;
}
.footer-links, .footer-contact, .footer-legal {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-links a, .footer-legal a {
  color: #B5E0A5;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.99rem;
  transition: color 0.18s;
}
.footer-links a:hover, .footer-legal a:hover {
  color: #91BC81;
}
.footer-contact p, .footer-contact a {
  color: #E9F3E1;
  font-size: 0.98rem;
  line-height: 1.7;
}
.footer-contact a:hover { color: #C6E2C6; }
footer .footer-legal { margin-top: 12px; }

/* ==== RESPONSIVE: FLEXBOX & LAYOUT ==== */
@media (max-width: 1020px) {
  .container { max-width: 96vw; }
  .footer-contact { flex: 1 1 220px; }
}
@media (max-width: 850px) {
  footer .container { flex-direction: column; gap: 27px; align-items: flex-start; }
}
@media (max-width: 768px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.25rem;} 
  .container { padding: 0 8px; }
  .content-wrapper, .content-grid, .card-container, .feature-grid, .service-list, .city-tiles, .city-grid, .property-listing-grid, .testimonial-slider, .faq-list, .article-highlights {
    flex-direction: column !important;
    gap: 16px;
    align-items: stretch;
  }
  section { margin-bottom: 34px; padding: 17px 6px; border-radius: 18px; }
  .property-search-filters { flex-direction: column; gap: 10px; border-radius: 10px; }
  .text-image-section { flex-direction: column !important; gap: 15px; }
  header .container {
    flex-direction: row;
    gap: 4px;
    padding: 12px 8px 10px 8px;
    min-height: 56px;
  }
  .testimonial-card, .property-listing-grid li, .card {
    min-width: 100px;
    padding: 16px 8px 12px 10px;
    border-radius: 15px 18px 14px 17px / 15px 22px 15px 20px;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 1.15rem; }
  h2 { font-size: 1rem; }
}

/* ==== MOBILE MENU ==== */
.mobile-menu-toggle {
  display: none;
}
@media (max-width: 900px) {
  .mobile-menu-toggle { display: inline-flex !important; }
  header nav, header .cta-primary { display: none; }
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(36,54,31, 0.93);
  z-index: 2000;
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(.6, -.28, .74, .05);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  background: #B4DEB4;
  color: #1D3557;
  font-size: 2rem;
  border-radius: 50%;
  border: none;
  padding: 8px 20px;
  margin: 16px 0 0 15px;
  align-self: flex-start;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px;
  width: 100%;
  font-size: 1.25rem;
  margin-top: 16px;
}
.mobile-nav a {
  color: #F1FAEE;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 14px 12px;
  border-radius: 13px;
  background: transparent;
  transition: background 0.18s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #4D7D64;
  color: #B4DEB4;
}
.mobile-menu.open .mobile-nav a {
  animation: fadeinlink 0.5s cubic-bezier(.6, -.28, .74, .05) both;
}
@keyframes fadeinlink {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==== VISUAL/DECORATIVE ORGANIC SHAPES ==== */
section, .card, .testimonial-card, .property-listing-grid li, .city-tiles li, .faq-list li, .service-list li, .article-highlights li {
  box-shadow: 0 3px 16px rgba(53,82,57,0.07), 0 1.5px 5px rgba(68, 111, 82, 0.07);
  border-radius: 28px 42px 22px 36px/40px 30px 26px 36px;
  background-clip: padding-box;
}

/* ==== SHADOWS, HOVER, MICRO-INTERACTIONS ==== */
.card:hover, .testimonial-card:hover, .property-listing-grid li:hover, .feature-grid li:hover {
  box-shadow: 0 12px 32px rgba(68, 111, 82, 0.15), 0 2px 10px rgba(68, 111, 82, 0.1);
  transform: translateY(-3px) scale(1.018);
  transition: box-shadow 0.19s, transform 0.19s;
}
section:hover {
  box-shadow: 0 12px 27px rgba(53,82,57,0.08), 0 2.5px 9px rgba(68, 111, 82, 0.11);
  transition: box-shadow 0.2s;
}

/* ==== ORGANIC DETAILS ==== */
section {
  border: 1.5px solid #D7E7CC;
  /* light subtle border for organic, soft frame */
  background: #FFFFFF url('../assets/organic-texture.png') repeat;
  background-size: 400px 300px;
}

/* ==== COOKIE CONSENT ==== */
.cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: #356721;
  color: #F1FAEE;
  box-shadow: 0 -2px 12px rgba(29,53,87,0.18);
  padding: 22px 18px;
  z-index: 5000;
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  animation: cookieSlideIn 0.72s cubic-bezier(.5, -.13, .57, 1.11);
}
@keyframes cookieSlideIn {
  from { transform: translateY(120%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-consent-text {
  flex: 1 1 320px;
  font-size: 1rem;
  color: #F1FAEE;
}
.cookie-consent-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-consent-btn {
  background: #B4DEB4;
  color: #234020;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 0 22px;
  min-height: 38px;
  box-shadow: 0 1.5px 8px rgba(53,82,57,0.07);
  margin: 0 2px;
}
.cookie-consent-btn.accept {
  background: #6FA15C;
  color: #F7FAF4;
}
.cookie-consent-btn.reject {
  background: #E37F3E;
  color: #F7FAF4;
}
.cookie-consent-btn.settings {
  background: #F1FAEE;
  color: #1D3557;
}
.cookie-consent-btn:hover, .cookie-consent-btn:focus {
  filter: brightness(0.95) contrast(1.13);
  box-shadow: 0 2px 9px rgba(29,53,87,0.11);
  transform: translateY(-2px) scale(1.04);
}

/* ==== COOKIE MODAL ==== */
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -54%) scale(0.97);
  background: #FCFFF8;
  border-radius: 27px 42px 28px 34px/39px 31px 25px 38px;
  box-shadow: 0 10px 40px rgba(53,82,57,0.19), 0 3px 16px rgba(54,86,33,0.11);
  z-index: 6000;
  padding: 30px 26px 28px 26px;
  max-width: 98vw;
  width: 400px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modalpop .32s cubic-bezier(.57,1.61,.62,.71);
}
@keyframes modalpop {
  from { opacity: 0; transform: translate(-50%, -40%) scale(0.90); }
  to   { opacity: 1; transform: translate(-50%, -54%) scale(0.97); }
}
.cookie-modal h2 {
  font-size: 1.2rem;
  color: #346920;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 13px;
}
.cookie-category input[type=checkbox] {
  accent-color: #6FA15C;
  width: 20px;
  height: 20px;
}
.cookie-category label {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #27492B;
  font-size: 0.99rem;
}
.cookie-modal .cookie-btn-row {
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin-top: 12px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 13px; right: 21px;
  background: transparent;
  font-size: 1.4rem;
  color: #2A3320;
  border: none;
  cursor: pointer;
}

@media (max-width: 650px) {
  .cookie-modal { width: 98vw; padding: 15px 7px 15px 7px; }
}
@media (max-width: 530px) {
  .cookie-consent-banner { flex-direction: column; gap: 9px; align-items: flex-start; padding: 14px 9px; }
  .cookie-consent-actions { flex-direction: column; gap: 7px; }
}

/* ===== ORGANIC ICONS ETC. ===== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-grid li {
  background: #EEF7E3;
  border-radius: 24px 40px 24px 36px;
  padding: 18px 20px 11px 19px;
  min-width: 150px;
  flex: 1 1 220px;
  box-shadow: 0 1.5px 6px rgba(68, 111, 82, 0.09);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.02rem;
  color: #40753A;
  transition: box-shadow 0.14s;
}
.feature-grid li img {
  width: 36px;
  height: 36px;
  margin-bottom: 6px;
  border-radius: 13px;
  background: #F1FAEE;
  border: 1px solid #C7E1B1;
  padding: 3px;
}

/* ==== MISC & ACCESSIBILITY ==== */
:focus {
  outline: 2px solid #6FA15C;
  outline-offset: 2px;
}
::-webkit-input-placeholder { color: #8DA697; }
::-moz-placeholder          { color: #8DA697; }
:-ms-input-placeholder      { color: #8DA697; }
::placeholder              { color: #8DA697; }

/* ===== SCROLLBAR (for organic accent) ===== */
::-webkit-scrollbar {
  width: 12px;
  background: #E2F3E1;
}
::-webkit-scrollbar-thumb {
  background: #B4DEB4;
  border-radius: 24px;
}

/* ==== CUSTOM FONT LOADING (Montserrat & Open Sans) ==== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Open+Sans:wght@400;600;700&display=swap');

/* ==== PRINT VISIBILITY ==== */
@media print {
  header, footer, .cookie-consent-banner, .mobile-menu { display: none !important; }
  section, .container, .card, .property-listing-grid li { box-shadow: none !important; background: #fff !important; }
}

/* ==== UTILITIES ==== */
.mt-0 { margin-top: 0!important; }
.mb-0 { margin-bottom: 0!important; }
.mt-24 { margin-top: 24px!important; }
.mb-24 { margin-bottom: 24px!important; }
.gap-16 { gap: 16px!important; }

/* ==== END OF STYLE.CSS ==== */