/* ===============================
 * CSS RESET & BASELINE
 * =============================== */
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;
}

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  background: #F3F7FB;
  color: #23413a;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 400;
  letter-spacing: 0.01em;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #21405A;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; line-height: 1.1; }
h2 { font-size: 1.75rem; margin-bottom: 16px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }
h4 { font-size: 1.1rem; margin-bottom: 10px; }
h5, h6 { font-size: 1rem; }
p {
  margin-bottom: 18px;
}
a {
  color: #1C7430;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #BFA85D;
}
strong {
  font-weight: 700;
  color: #21405A;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 18px;
}
li {
  margin-bottom: 8px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
}

/* =====================
 * HEADER & NAVIGATION
 * ===================== */
header {
  background: #ffffff;
  border-bottom: 2px solid #e2e4dd;
  box-shadow: 0 4px 20px 0 rgba(28,41,25,0.04);
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding-top: 6px;
  padding-bottom: 6px;
  gap: 16px;
}
.logo img {
  height: 50px;
  width: auto;
  border-radius: 8px;
  transition: box-shadow 0.2s;
}
.logo:hover img {
  box-shadow: 0 2px 12px rgba(69, 122, 87, 0.14);
}

.main-nav {
  display: flex;
  flex-direction: row;
  gap: 26px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  font-weight: 600;
  color: #21405A;
  font-size: 16px;
  letter-spacing: 0.015em;
  padding: 8px 0;
  transition: color 0.17s;
  border: none;
  background: none;
  border-radius: 4px;
  outline: none;
}
.main-nav a:hover, .main-nav a:focus {
  color: #BFA85D;
}

.cta-btn {
  background: #1C7430;
  color: #fff;
  border: none;
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: 18px;
  border-radius: 24px 50px 24px 50px;
  padding: 10px 32px;
  box-shadow: 0 2px 18px 0 rgba(33,64,90,0.08);
  cursor: pointer;
  letter-spacing: 0.025em;
  transition: background 0.15s, box-shadow 0.15s, transform 0.12s;
  margin-left: 22px;
  outline: none;
  position: relative;
  z-index: 2;
}
.cta-btn:hover, .cta-btn:focus {
  background: #BFA85D;
  color: #21405A;
  box-shadow: 0 6px 24px 0 rgba(33,64,90,0.13);
  transform: translateY(-2px) scale(1.035);
}

.mobile-menu-toggle {
  display: none;
  background: #F3F7FB;
  color: #21405A;
  border: none;
  font-size: 28px;
  padding: 6px 20px;
  border-radius: 30px;
  margin-left: 10px;
  box-shadow: 0 2px 8px rgba(68,107,67,0.04);
  cursor: pointer;
  transition: background 0.18s;
  outline: none;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #BFA85D;
  color: #21405A;
}

/* ===============
 * MOBILE NAV MENU
 * =============== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(243,247,251, 0.97);
  box-shadow: 0px 8px 32px 2px rgba(33,64,90,0.09);
  z-index: 101;
  transform: translateX(-105vw);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.32s cubic-bezier(.42,.6,.41,1);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  background: #1C7430;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 30px;
  width: 50px;
  height: 50px;
  margin: 18px 18px 8px 12px;
  align-self: flex-end;
  transition: background 0.12s;
  cursor: pointer;
  z-index: 1002;
  outline: none;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #BFA85D;
  color: #21405A;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  padding-left: 34px;
  margin-top: 40px;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  font-size: 20px;
  color: #21405A;
  font-weight: 700;
  letter-spacing: 0.015em;
  padding: 12px 0;
  border-radius: 6px;
  background: none;
  border: none;
  transition: background 0.18s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #BFA85D;
  color: #fff;
}

/* =========
 * HERO
 * ========= */
.hero {
  background: linear-gradient(98deg,#CEE5CE 0%, #F4E9DF 100%);
  border-radius: 0 0 56px 56px;
  margin-bottom: 44px;
  min-height: 220px;
  padding-top: 36px;
  padding-bottom: 36px;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
  max-width: 640px;
}

/* ==============
 * SECTIONS
 * ============== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 32px;
  background: #ffffff;
  box-shadow: 0 2px 16px 0 rgba(53,68,31,0.04);
}
section:last-child {
  margin-bottom: 0;
}
.content-wrapper {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.text-section {
  padding-top: 14px;
  padding-bottom: 8px;
}
.text-section ul {
  margin-bottom: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ===============
 * FLEXBOX GRIDS
 * =============== */
.features-grid, .team-profiles-grid, .service-cards-grid, .quarter-grid, .card-container, .card-grid, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
  justify-content: flex-start;
}
.card-container {
  gap: 24px;
}
.card {
  background: #F4E9DF;
  border-radius: 24px 24px 40px 16px;
  box-shadow: 0 2px 9px 0 rgba(33,64,90,0.08);
  padding: 30px 22px;
  margin-bottom: 20px;
  position: relative;
  min-width: 230px;
}
.content-grid {
  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;
  background: #F3F7FB;
  border-radius: 20px 42px 18px 24px;
  box-shadow: 0 2px 12px 0 rgba(34,64,30,0.09);
  padding: 20px;
  margin-bottom: 22px;
  min-width: 220px;
  color: #223422;
  font-size: 1.1rem;
}
.testimonial-card p {
  color: #223422;
  margin-bottom: 0;
}
.feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #CEE5CE;
  border-radius: 24px 36px 22px 32px;
  padding: 30px 20px 22px 20px;
  box-shadow: 0 2px 10px 0 rgba(43,78,49,0.07);
  flex: 1 1 230px;
  min-width: 220px;
  margin-bottom: 18px;
  transition: box-shadow 0.2s, transform 0.15s;
}
.feature img {
  width: 44px;
  height: 44px;
  margin-bottom: 6px;
}
.feature:hover {
  box-shadow: 0 6px 26px 0 rgba(33,90,74,0.1);
  transform: translateY(-4px) scale(1.034);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.service-card {
  background: #F4E9DF;
  border-radius: 22px 32px 26px 18px;
  box-shadow: 0 2px 9px 0 rgba(33,64,90,0.06);
  padding: 27px 22px 20px 22px;
  margin-bottom: 20px;
  min-width: 230px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.2s, transform 0.15s;
}
.service-card:hover {
  box-shadow: 0 8px 22px 0 rgba(191,168,93,0.11);
  transform: translateY(-3px) scale(1.023);
}

.team-profiles-grid {
  gap: 32px;
  margin-bottom: 34px;
}
.team-member {
  background: #FBFAF4;
  border-radius: 18px 32px 14px 26px;
  padding: 23px 18px;
  min-width: 200px;
  box-shadow: 0 1px 5px 0 rgba(68,107,67,0.05);
}
.team-member strong {
  color: #1C7430;
}
.location-info {
  margin-top: 38px;
  background: #CEE5CE;
  border-radius: 0 18px 18px 60px;
  padding: 18px 26px;
  color: #21405A;
}

.city-quicklinks {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 26px;
  margin-top: 14px;
}
.city-quicklinks a {
  background: #EAE1D1;
  color: #1C7430;
  border-radius: 16px;
  padding: 7px 20px;
  font-weight: bold;
  transition: background 0.14s, color 0.13s;
  font-size: 15px;
}
.city-quicklinks a:hover, .city-quicklinks a:focus {
  background: #BFA85D;
  color: #fff;
}

.quarter-grid {
  display: flex;
  flex-direction: column;
  background: #F3F7FB;
  border-radius: 20px 40px 12px 19px;
  box-shadow: 0 1px 8px 0 rgba(33,90,74,0.07);
  padding: 22px 22px 22px 26px;
  margin-bottom: 20px;
  min-width: 230px;
  gap: 7px;
}

.property-overview-list li,
.advice-list li,
.services-list li {
  margin-bottom: 13px;
}
.property-overview-list {
  margin-bottom: 18px;
}

/* ===============
 * FOOTER
 * =============== */
footer {
  background: #23413a;
  color: #FCFFF6;
  padding: 36px 0 14px 0;
  margin-top: 48px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-bottom: 18px;
  justify-content: center;
  font-size: 15px;
}
.footer-nav a {
  color: #FCFFF6;
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  font-weight: 500;
  transition: color 0.19s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #BFA85D;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
  margin-bottom: 6px;
}
.footer-brand img {
  width: 39px;
  border-radius: 8px;
}
.footer-brand span {
  font-size: 15px;
  color: #F5EAD3;
  font-style: italic;
}

/* ===============
 * COOKIE CONSENT
 * =============== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #BFA85D;
  color: #21405A;
  box-shadow: 0 -2px 18px 0 rgba(191,168,93,0.17);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 18px 18px 0 0;
  padding: 28px 30px;
  z-index: 1005;
  font-size: 1rem;
  animation: cookie-slidein 0.7s cubic-bezier(.46,.38,.57,.87);
  gap: 24px;
}
@keyframes cookie-slidein {
  from { transform: translateY(50vh); opacity: 0.5; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner__text {
  flex: 1 1 220px;
  margin-right: 22px;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-btn {
  background: #21405A;
  color: #fff;
  border: none;
  border-radius: 24px;
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 9px 22px;
  margin: 0 1px;
  cursor: pointer;
  transition: background 0.18s, color 0.17s, box-shadow 0.17s;
  outline: none;
}
.cookie-btn:focus, .cookie-btn:hover {
  background: #1C7430;
  color: #fff;
  box-shadow: 0 2px 16px 0 rgba(28,116,48,0.13);
}
.cookie-btn--secondary {
  background: #F3F7FB;
  color: #21405A;
}
.cookie-btn--secondary:hover, .cookie-btn--secondary:focus {
  background: #CEE5CE;
  color: #1C7430;
}

/* Cookie Settings Modal */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(41,64,90,0.30);
  z-index: 1100;
  pointer-events: auto;
  opacity: 1;
  animation: cookie-modal-fade .4s cubic-bezier(.46,.38,.57,.87);
}
@keyframes cookie-modal-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal__window {
  background: #FBFAF4;
  border-radius: 24px 42px 20px 18px;
  box-shadow: 0 10px 36px 0 rgba(54,80,44,0.17);
  max-width: 450px;
  width: 95vw;
  padding: 32px 26px 28px 26px;
  color: #23413a;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: modal-slideup 0.42s cubic-bezier(.39,.64,.41,1) 0s;
}
@keyframes modal-slideup {
  from { transform: translateY(60px); opacity: 0.6; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-modal__close {
  position: absolute;
  top: 22px;
  right: 19px;
  background: #BFA85D;
  color: #fff;
  border-radius: 18px;
  border: none;
  width: 36px;
  height: 36px;
  font-size: 22px;
  cursor: pointer;
  transition: background 0.14s, color 0.13s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  background: #1C7430;
  color: #fff;
}
.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 10px;
}
.cookie-options label {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1rem;
}
.cookie-toggle {
  width: 38px;
  height: 22px;
  appearance: none;
  background: #CEE5CE;
  border-radius: 12px;
  position: relative;
  outline: none;
  transition: background 0.17s;
}
.cookie-toggle:checked {
  background: #1C7430;
}
.cookie-toggle:before {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.13s, background 0.18s;
}
.cookie-toggle:checked:before {
  left: 20px;
  background: #CEE5CE;
}
.cookie-category-desc {
  font-size: 0.97rem;
  color: #23413a;
  margin-left: 6px;
  font-style: italic;
  opacity: 0.87;
}

/* ===========
 * RESPONSIVE
 * =========== */
@media (max-width: 1120px) {
  .container { max-width: 98vw; }
}
@media (max-width: 992px) {
  .container { max-width: 97vw; }
  .features-grid, .team-profiles-grid, .service-cards-grid {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 16px;
    font-size: 15px;
  }
}
@media (max-width: 860px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .cta-btn {
    margin-left: 0;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  h3 { font-size: 1.07rem; }
  .container { padding-left: 6px; padding-right: 6px; }
  .footer-nav {
    font-size: 14px;
    gap: 15px;
  }
  .footer-brand span { font-size: 13px; }
  section, .section {
    padding: 28px 5px;
    border-radius: 20px;
    margin-bottom: 42px;
  }
  .content-wrapper, .text-section {
    gap: 16px;
    padding: 0;
  }
  .features-grid, .team-profiles-grid, .service-cards-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .card, .service-card, .feature, .quarter-grid {
    min-width: 0;
    width: 100%;
    padding: 21px 11px;
    border-radius: 16px 22px 16px 20px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 9px;
    border-radius: 16px 24px 13px 16px;
  }
  .team-member {
    padding: 15px 11px;
    border-radius: 12px 16px 8px 13px;
  }
  .location-info {
    padding: 10px 8px;
    border-radius: 0 11px 11px 30px;
  }
  .hero {
    padding-top: 24px;
    padding-bottom: 20px;
    min-height: 120px;
    border-radius: 0 0 30px 30px;
    margin-bottom: 14px;
  }
  .hero .content-wrapper { gap: 8px; }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
  .city-quicklinks {
    gap: 10px;
    font-size: 14px;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 10px;
    padding: 14px 7px;
    font-size: 0.99rem;
    border-radius: 10px 10px 0 0;
  }
}
@media (max-width: 540px) {
  h1 { font-size: 1.32rem; }
  h2 { font-size: 1.06rem; }
  .footer-brand img { width: 28px; }
  .section, section { padding: 10px 0px; border-radius: 0; }
  .cookie-modal__window { padding: 18px 2px 14px 8px; border-radius: 12px 19px 8px 6px; }
}

/* =====================
 * INTERACTIVE FOCUS
 * ===================== */
a, button, .cta-btn, input, .cookie-btn, .mobile-menu-close, .mobile-menu-toggle {
  outline: none;
  box-shadow: none;
}
a:focus, button:focus, .cta-btn:focus, .cookie-btn:focus {
  outline: 2px solid #1C7430;
  outline-offset: 2px;
}

/* ===============================
 * END
 =============================== */
