/* ---- 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  min-height: 100vh;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  color: #18191c;
  background: #fff;
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
ol, ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: inline-block; vertical-align: middle; border: 0; }
button, input, select, textarea {
  font-family: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}
button:focus, input:focus, select:focus, textarea:focus { outline: 2px solid #25405B; }

/* ---- FLUID CONTAINER ---- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.content-wrapper {
  margin: 0 auto;
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #111;
}
h1 { font-size: 2.5rem; letter-spacing: -1px; line-height: 1.18; margin-bottom: 20px; }
h2 { font-size: 1.9rem; letter-spacing: -0.5px; line-height: 1.23; margin-bottom: 18px; }
h3 { font-size: 1.3rem; letter-spacing: -0.2px; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1.1rem; font-weight: 600; }

p, ul li, ol li, small {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 1rem;
  color: #222;
}
p { margin-bottom: 18px; }
strong { font-weight: 700; }
small { font-size: 0.97rem; color: #556; opacity: .75; }


/* ---- LINKS & INTERACTIVES ---- */
a { transition: color 0.18s linear; font-weight: 500; }
a:hover, a:focus { color: #25405B; text-decoration: underline; }


/* ---- HEADER AND NAVIGATION ---- */
header {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky; top: 0; left: 0; width: 100%;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 0;
}
.logo img {
  height: 38px;
  transition: opacity 0.2s;
}

.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
.main-nav a {
  color: #111;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  padding: 8px 0;
  position: relative;
  transition: color 0.18s;
}
.main-nav a::after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background: #25405B;
  margin: 4px auto 0;
  transition: width 0.22s;
}
.main-nav a:focus,
.main-nav a:hover {
  color: #25405B;
}
.main-nav a:hover::after { width: 100%; }

/* ---- BURGER MENU (MOBILE) ---- */
.mobile-menu-toggle {
  display: none;
  background: none; border: none;
  font-size: 2rem; color: #25405B;
  padding: 7px 14px;
  border-radius: 8px;
  margin-left: 16px;
  cursor: pointer;
  transition: background 0.16s, color 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #f7f8fa;
  color: #111;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  z-index: 9999;
  top: 0; left: 0;
  width: 100%; height: 100vh;
  background: #fff;
  box-shadow: 0 0 38px rgba(0,0,0,0.24);
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.5,1.2,0.5,1), opacity 0.22s;
  opacity: 0;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  color: #25405B;
  font-size: 2rem;
  align-self: flex-end;
  margin: 22px 26px 0 0;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus { background: #e5e7eb; }

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin: 48px 0;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  color: #18191c;
  padding: 10px 18px;
  border-radius: 6px;
  transition: background 0.13s, color 0.16s;
}
.mobile-nav a:focus,
.mobile-nav a:hover { background: #e5e7eb; color: #25405B; }

@media (max-width: 1100px) {
  .container { max-width: 98vw; }
}
@media (max-width: 900px) {
  .main-nav { gap: 22px; }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
  header .container { gap: 8px; min-height: 62px; }
}

/* ---- SECTIONS & SPACING ---- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 1px 16px rgba(24,31,38,0.04);
}
section:last-child { margin-bottom: 0; }

@media (max-width: 768px) {
  section {
    margin-bottom: 38px;
    padding: 26px 8px;
    border-radius: 13px;
  }
  .container { padding: 0 6px; }
}


/* ---- FLEX LAYOUTS FOR CONTENT ---- */
.city-list ul, .mini-city-highlights ul, .key-highlights-list ul,
.content-grid, .service-teasers ul, .city-cards-grid, .property-cards-grid, .topic-cards-grid, .expert-tips-list ul, .faq-accordion ul, .team-bios ul, .contact-information, .footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.content-grid, .city-cards-grid, .property-cards-grid, .topic-cards-grid {
  justify-content: space-between; align-items: stretch;
}
.city-list ul li, .mini-city-highlights ul li, .key-highlights-list ul li,
.expert-tips-list ul li, .faq-accordion ul li, .team-bios ul li {
  margin-bottom: 0; /* gap managed by flex gap */
  display: flex; align-items: flex-start; gap: 12px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 20px 0 rgba(39,44,51,0.10);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow 0.18s;
}
.card:hover {
  box-shadow: 0 6px 32px 0 rgba(24,27,30,0.12);
}
.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; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

@media (max-width: 768px) {
  .content-grid,
  .city-cards-grid,
  .property-cards-grid,
  .topic-cards-grid { flex-direction: column; }
  .card-container { flex-direction: column; gap: 20px; }
  .text-image-section { flex-direction: column; gap: 18px; }
  .testimonial-card { flex-direction: column; gap: 12px; }
}

/* --- CARD-LIKE TEASERS --- */
.service-teasers ul, .city-cards-grid, .property-cards-grid, .topic-cards-grid {
  width: 100%;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.service-teasers ul li, .city-cards-grid > div, .property-cards-grid > div, .topic-cards-grid > div {
  flex: 1 1 260px;
  min-width: 200px;
  background: #F9F7F0;
  border-radius: 14px;
  box-shadow: 0 0 8px rgba(60,60,72,0.09);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 0;
  transition: box-shadow 0.14s, background 0.18s;
}
.service-teasers ul li:hover,
.city-cards-grid > div:hover,
.property-cards-grid > div:hover,
.topic-cards-grid > div:hover {
  background: #fff;
  box-shadow: 0 4px 36px 0 rgba(39,44,51,0.08), 0 0.5px 0.5px #aaa;
}

/* --- CTA BUTTONS --- */
.cta {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.09rem;
  padding: 12px 29px;
  color: #18191c;
  background: #fff;
  border: 1.5px solid #25405B;
  border-radius: 14px;
  box-shadow: 0 1px 7px rgba(60,60,72,0.08);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s, box-shadow 0.16s;
  margin-top: 4px;
  display: inline-block;
}
.cta.primary {
  background: #25405B;
  color: #fff;
  border-color: #25405B;
  box-shadow: 0 4px 30px rgba(24,32,38,0.19);
}
.cta:hover, .cta:focus {
  background: #657E94;
  color: #fff;
  border-color: #25405B;
  box-shadow: 0 6px 36px rgba(39,44,51,0.12);
}
.cta.primary:hover, .cta.primary:focus {
  background: #111;
  color: #fff;
  border-color: #111;
}

/* --- LIST DESIGN WITH ICONS --- */
ul li img {
  height: 23px;
  width: 23px;
  margin-right: 6px;
  vertical-align: middle;
}
.city-list ul, .mini-city-highlights ul, .key-highlights-list ul,
.expert-tips-list ul, .faq-accordion ul, .team-bios ul {
  flex-direction: column;
  gap: 15px;
  margin-bottom: 12px;
}

/* --- SEARCH AND FILTER BARS --- */
.city-search-filter, .property-filter-bar {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 18px;
  background: #f5f6f8;
  border-radius: 12px;
  padding: 15px 20px;
}
.city-search-filter label, .property-filter-bar label {
  font-weight: 600;
  font-size: 1rem;
  color: #222;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-right: 2px;
}
.city-search-filter input,
.property-filter-bar input, .property-filter-bar select {
  border-radius: 7px;
  border: 1px solid #dadada;
  padding: 7px 13px;
  font-size: 1rem;
  font-family: inherit;
  color: #222;
  background: #fff;
  margin-right: 0;
  min-width: 90px;
  box-shadow: none;
  transition: border-color 0.17s;
}
.property-filter-bar button.cta { margin-top: 0; }
.city-search-filter input:focus, .property-filter-bar input:focus, .property-filter-bar select:focus {
  border-color: #25405B;
}
@media (max-width: 575px) {
  .city-search-filter, .property-filter-bar { flex-direction: column; gap: 7px; padding: 12px 6px; }
}

/* ---- TESTIMONIALS ---- */
.testimonial-card {
  background: #F9F7F0;
  border-radius: 13px;
  box-shadow: 0 1px 16px rgba(39,44,51,0.05);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 20px;
  color: #18191c;
}
.testimonial-card img {
  height: 26px;
  width: 26px;
  opacity: 0.65;
  margin-right: 3px;
}
.testimonial-card p {
  color: #222;
  font-size: 1.14rem;
  font-style: italic;
}
.testimonial-card small {
  color: #25405B;
  font-weight: 700;
}


/* ---- FOOTER ---- */
footer {
  background: #18191c;
  color: #f9f9f9;
  padding: 32px 0 16px 0;
  font-size: 1rem;
  border-radius: 32px 32px 0 0;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  gap: 38px;
}
.footer-brand img { height: 42px; filter: grayscale(1) contrast(170%); }
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  color: #f9f7f0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  opacity: 0.91;
  margin-bottom: 1px;
  padding: 0; border: 0;
  transition: color 0.13s, opacity 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus { color: #fff; opacity: 1; }
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #e4e6e8;
}
.footer-contact img { height: 19px; width: 19px; margin-right: 5px; opacity: 0.75; vertical-align: middle; }
.footer-contact span {
  display: flex;
  align-items: center;
}
@media (max-width: 970px) {
  footer .container { flex-direction: column; align-items: flex-start; gap:22px; }
  .footer-brand { margin-bottom: 20px; }
}
@media (max-width: 580px) {
  footer { padding: 20px 0 10px 0; border-radius: 20px 20px 0 0; }
}

/* ---- MISC & UTILITY ---- */
::-webkit-input-placeholder {color: #b2b5b8;}
::-moz-placeholder {color: #b2b5b8;}
:-ms-input-placeholder {color: #b2b5b8;}
::placeholder {color: #b2b5b8;}

hr {
  border: none;
  border-top: 1.5px solid #e4e4e4;
  margin: 28px 0;
}

/* ---- COOKIES CONSENT BANNER ---- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  border-top: 2px solid #25405B;
  box-shadow: 0 -2px 16px 0 rgba(24,25,30,0.10);
  z-index: 99999;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 26px 18vw 22px 18vw;
  font-size: 1rem;
  animation: slideInUp 0.55s cubic-bezier(0.5,1.25,0.5,1);
}
@keyframes slideInUp {
  from { transform: translateY(60px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner__text {
  flex: 2 1 360px;
  color: #222;
  font-size: 1.02rem;
}
.cookie-banner__buttons {
  display: flex;
  flex-direction: row;
  gap: 18px;
}
.cookie-banner__btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border: 1.5px solid #25405B;
  border-radius: 9px;
  padding: 9px 20px;
  margin-top: 0;
  background: #f9f7f0;
  color: #18191c;
  transition: background 0.13s, color 0.16s, border 0.13s;
  cursor: pointer;
}
.cookie-banner__btn--primary {
  background: #25405B; color: #fff;
  border-color: #25405B;
}
.cookie-banner__btn:hover, .cookie-banner__btn:focus {
  background: #657E94; color: #fff;
  border-color: #25405B;
}
.cookie-banner__btn--primary:hover {
  background: #18191c; color: #fff; border-color: #18191c;
}
@media (max-width: 1024px) {
  .cookie-banner { padding-left: 6vw; padding-right: 6vw; }
}
@media (max-width: 660px) {
  .cookie-banner {
    flex-direction: column;
    padding: 19px 8px;
    gap: 14px;
    font-size: 0.98rem;
  }
  .cookie-banner__buttons { flex-direction: column; gap: 10px; width: 100%; }
  .cookie-banner__btn { width: 100%; }
}

/* ---- COOKIES MODAL ---- */
.cookie-modal-overlay {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 100000;
  width: 100vw; height: 100vh;
  background: rgba(24,25,30,0.43);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModalBg 0.4s;
}
@keyframes fadeInModalBg {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 36px rgba(12,12,20,0.18);
  padding: 34px 36px 30px 36px;
  max-width: 92vw;
  width: 415px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  animation: modalIn 0.27s cubic-bezier(0.7,1.2,0.3,1);
}
@keyframes modalIn {
  from { transform: translateY(48px) scale(1.12); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.32rem;
  margin-bottom: 14px;
  color: #18191c;
}
.cookie-modal__desc {
  font-size: 1rem;
  margin-bottom: 15px;
  color: #222;
}
.cookie-modal__options {
  display: flex; flex-direction: column; gap: 16px; width: 100%;
  margin-bottom: 15px;
}
.cookie-modal__option {
  display: flex; align-items: center; gap: 13px;
  font-size: 1rem;
}
.cookie-modal__option label {
  font-weight: 500;
  color: #18191c;
  cursor: pointer;
}
.cookie-modal__switch {
  width: 38px; height: 22px;
  background: #eceeef;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.12s;
  border: 1.2px solid #c1c2c7;
}
.cookie-modal__switch[data-state="on"] {
  background: #25405B;
  border-color: #25405B;
}
.cookie-modal__switch-dot {
  content: '';
  display: block;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  left: 2.5px; top: 2.5px;
  transition: left 0.14s;
  box-shadow: 0 1px 2px rgba(0,0,0,0.07);
}
.cookie-modal__switch[data-state="on"] .cookie-modal__switch-dot {
  left: 18px;
}
.cookie-modal__option[data-disabled=true] .cookie-modal__switch {
  background: #d1d1d1; border-color: #c1c2c7;
  opacity: 0.72;
  cursor: not-allowed;
}
.cookie-modal__option[data-disabled=true] label {
  color: #8c8c93;
  font-style: italic;
}
.cookie-modal__actions {
  display: flex; gap: 17px; width: 100%; justify-content: flex-end;
}
.cookie-modal__actions .cta,
.cookie-modal__actions .cookie-banner__btn {
  margin-top: 0; min-width: 92px;
}
@media (max-width: 600px) {
  .cookie-modal {
    padding: 16px 8px 14px 8px; width: 100vw; max-width: 99vw;
  }
}

/* ---- MONOCHROME SOPHISTICATED THEME OVERRIDES ---- */
body, section, .card, .service-teasers ul li, .city-cards-grid > div, .property-cards-grid > div, .topic-cards-grid > div {
  background: #fff;
}
section {
  box-shadow: 0 1px 16px rgba(31,32,39,0.06);
}
h1, h2, h3 { color: #111; }
.cta, .cta.primary, .cookie-banner__btn, .cookie-banner__btn--primary {
  border-radius: 14px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.card, .service-teasers ul li, .city-cards-grid > div, .property-cards-grid > div, .topic-cards-grid > div {
  border: 1px solid #ececec;
}

/* --- FOCUS STATES --- */
a:focus-visible, button:focus-visible, .cta:focus-visible {
  outline: 2px solid #657E94 !important;
  outline-offset: 2px;
}

/* ---- RESPONSIVE HEADINGS SCALE ---- */
@media (max-width: 900px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.48rem; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.44rem; }
  h2 { font-size: 1.13rem; }
}

/* ---- ACCESSIBILITY HINTS ---- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ---- MICRO-INTERACTIONS ---- */
.cta, .cta.primary, .cookie-banner__btn {
  transition: background 0.16s, color 0.16s, border-color 0.13s, box-shadow 0.13s;
}
.card, .service-teasers ul li, .city-cards-grid > div, .property-cards-grid > div, .topic-cards-grid > div {
  transition: box-shadow 0.17s, background 0.17s, border-color 0.13s;
}

/* ---- MOBILE ADJUSTMENTS ---- */
@media (max-width:420px) {
  .logo img { height: 30px; }
  h1 { font-size: 1.08rem; }
  .cta, .cta.primary { font-size: .93rem; padding: 10px 12px; }
  .mobile-menu-close { font-size: 1.4rem; width: 32px; height: 32px; }
}

/* ---- PRINT OVERRIDES ---- */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  section, .container, body { background: #fff !important; box-shadow: none !important; }
}
