/* 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;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  background: #FBFAF7;
  min-height: 100vh;
  color: #23304a;
}
ul, ol {
  padding-left: 24px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: none;
}
a {
  color: #5892C7;
  text-decoration: none;
  transition: color 0.22s;
}
a:hover, a:focus {
  color: #1D2A44;
  text-decoration: underline;
}
button, input[type="button"], input[type="submit"] {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  cursor: pointer;
}
strong {
  font-weight: 600;
}

/* BRAND FONTS */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

:root {
  --brand-primary: #1D2A44;
  --brand-secondary: #5892C7;
  --brand-accent: #F8EFD4;
  --pastel-pink: #FCD4DF;
  --pastel-mint: #D9F8EE;
  --pastel-blue: #E3EEFB;
  --pastel-yellow: #FFF8D9;
  --text-main: #23304a;
  --text-muted: #67708d;
  --white: #fff;
  --shadow: 0 2px 12px 0 rgba(89, 146, 199, 0.07);
  --radius: 18px;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

body {
  font-family: var(--font-body);
  background: linear-gradient(120deg, var(--pastel-blue) 0%, var(--pastel-mint) 100%);
  color: var(--text-main);
  font-size: 16px;
  letter-spacing: 0.02em;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--brand-primary);
  font-weight: 700;
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  font-weight: 600;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}
p, li {
  color: var(--text-main);
  font-size: 1rem;
  line-height: 1.75;
}

/* CONTAINER & SECTIONS */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  align-items: center;
  text-align: center;
  gap: 16px;
}

/* FLEXBOX LAYOUTS */
.card-container, .feature-grid, .content-grid, .team-bio-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}
.card, .feature-item, .team-bio {
  background: var(--pastel-blue);
  margin-bottom: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 20px;
  min-width: 240px;
  flex: 1 1 300px;
}
.card {
  position: relative;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background-color: var(--pastel-mint);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 16px 0;
}

/* ICONS IN FEATURES */
.feature-grid > div > img, .feature-item > img {
  width: 48px;
  height: 48px;
  background: var(--pastel-yellow);
  border-radius: 50%;
  object-fit: contain;
  box-shadow: 0 1px 8px 0 rgba(252,212,223,0.13);
  margin-bottom: 10px;
}

/* SEARCH BAR, FILTERS, CATEGORIES (Properties) */
.search-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 10px 18px;
  align-items: center;
}
.search-bar input {
  flex: 1 1 190px;
  border: none;
  font-size: 1rem;
  background: transparent;
  color: var(--brand-primary);
  outline: none;
}
.search-bar input:read-only {
  background: none;
  color: #aaa;
}
.search-bar button {
  background: var(--brand-secondary);
  color: var(--white);
  font-weight: 600;
  border-radius: 24px;
  padding: 8px 28px;
  transition: background 0.22s, color 0.22s;
  border: none;
  box-shadow: 0 2px 8px 0 rgba(88,146,199,0.11);
}
.search-bar button:hover {
  background: var(--brand-primary);
}
.filter-options ul, .property-categories ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: 10px 0 0 0;
  list-style: none;
}
.filter-options li, .property-categories li {
  padding: 7px 18px;
  background: var(--pastel-pink);
  border-radius: 18px;
  font-size: 0.99rem;
  color: var(--brand-primary);
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.filter-options li:hover, .property-categories li:hover {
  background: var(--brand-secondary);
  color: var(--white);
}

/* HEADER LAYOUT */
header {
  background: var(--accent, var(--brand-accent));
  box-shadow: 0 2px 10px 0 rgba(88,146,199,0.08);
  padding: 0 0 0 0;
}
header .container {
  padding-top: 14px;
  padding-bottom: 14px;
}
header .content-wrapper {
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: space-between;
  gap: 36px;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}
header nav a {
  color: var(--brand-primary);
  font-weight: 500;
  font-family: var(--font-display);
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 1rem;
  transition: background 0.2s, color 0.2s;
}
header nav a:hover, header nav a:focus {
  background: var(--pastel-yellow);
  color: var(--brand-secondary);
}

.cta-button {
  background: var(--brand-secondary);
  color: var(--white);
  padding: 10px 36px;
  border-radius: 28px;
  font-size: 1.13rem;
  font-family: var(--font-display);
  font-weight: 700;
  box-shadow: 0 5px 16px 0 rgba(88,146,199,0.13);
  transition: background 0.23s, color 0.23s, box-shadow 0.22s, transform 0.18s;
  border: none;
  margin-left: 16px;
  display: inline-block;
}
.cta-button:hover, .cta-button:focus {
  background: var(--brand-primary);
  color: var(--pastel-yellow);
  box-shadow: 0 8px 20px 0 rgba(88,146,199,0.18);
  transform: translateY(-2px) scale(1.04);
}

/* FOOTER */
footer {
  background: var(--brand-accent);
  padding: 30px 0 6px 0;
}
footer .content-wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
footer nav a {
  color: var(--brand-primary);
  font-size: 0.98rem;
  border-radius: 8px;
  padding: 7px 0;
  font-family: var(--font-display);
  font-weight: 500;
  transition: color 0.2s, background 0.2s;
}
footer nav a:hover {
  color: var(--white);
  background: var(--brand-secondary);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.98rem;
}
.footer-contact img {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin-right: 8px;
}

/* TESTIMONIALS */
.testimonial-card {
  background: var(--pastel-mint);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 1.06rem;
  border-left: 5px solid var(--brand-secondary);
  margin-top: 10px;
  transition: box-shadow 0.18s, background 0.18s;
}
.testimonial-card span {
  color: var(--brand-primary);
  opacity: 0.7;
  font-size: 0.97rem;
  font-family: var(--font-display);
}
.testimonial-card:hover {
  background: var(--pastel-yellow);
  box-shadow: 0 8px 22px 0 rgba(89, 146, 199, 0.13);
}

/* TEAM BIO */
.team-bio {
  background: var(--pastel-pink);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 20px 20px 15px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.team-bio h3 {
  margin-bottom: 6px;
}
.team-bio ul {
  margin-top: 2px;
}

/* UTILITY */
.text-center { text-align: center; }
.flex-center { justify-content: center; align-items: center; }

/* MOBILE MENU & BUTTONS */
.mobile-menu-toggle {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1030;
  background: var(--brand-secondary);
  color: var(--white);
  width: 48px;
  height: 48px;
  font-size: 2.1rem;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 16px 0 rgba(88,146,199,0.12);
  transition: background 0.18s, color 0.18s, box-shadow 0.22s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--brand-primary);
  color: var(--pastel-yellow);
  box-shadow: 0 8px 24px 0 rgba(27,42,68,0.22);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(253,249,243,0.93);
  box-shadow: 0 0 25px 0 rgba(88,146,199,0.11);
  z-index: 1050;
  transform: translateX(-105vw);
  transition: transform 0.35s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 18px 24px 0 0;
  background: var(--brand-secondary);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.55rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.22s, color 0.22s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: var(--brand-primary);
  color: var(--pastel-yellow);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 25px;
  align-items: center;
  margin-top: 60px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--brand-primary);
  padding: 13px 36px;
  border-radius: 25px;
  width: 90%;
  text-align: center;
  background: var(--pastel-blue);
  box-shadow: 0 3px 10px 0 rgba(89,146,199,0.11);
  transition: background 0.19s, color 0.18s, transform 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--brand-secondary);
  color: var(--pastel-yellow);
  transform: translateY(-2px) scale(1.04);
}

/* Hide nav on mobile, only hamburger shown */
@media (max-width: 900px) {
  header .content-wrapper nav,
  header .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 900px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* RESPONSIVE FLEXBOX & TEXT-IMAGE */
@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
  .content-wrapper {
    gap: 14px;
  }
  .section {
    margin-bottom: 36px;
    padding: 24px 7px;
  }
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column !important;
    gap: 16px;
  }
  header .content-wrapper {
    gap: 12px;
  }
  .card, .team-bio {
    min-width: 0;
    padding: 17px 10px;
  }
}

/* BUTTON STYLES */
button, .cta-button, .mobile-menu-toggle, .mobile-menu-close {
  outline: none;
}
button:focus-visible, .cta-button:focus-visible, .mobile-menu-toggle:focus-visible, .mobile-menu-close:focus-visible {
  box-shadow: 0 0 0 3px var(--pastel-yellow);
}

/* UL, OL STYLE */
ul li, ol li {
  margin-bottom: 7px;
}
ul li:last-child, ol li:last-child {
  margin-bottom: 0;
}

/* COOKIE CONSENT BANNER */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  width: 95vw;
  max-width: 450px;
  background: var(--white);
  box-shadow: 0 8px 30px 0 rgba(89,146,199,0.14);
  border-radius: 20px 20px 0 0;
  padding: 22px 20px 18px 20px;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  gap: 14px;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.34s cubic-bezier(.64,.13,.48,.95), opacity 0.34s;
}
.cookie-consent-banner.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cookie-consent-text {
  font-size: 1rem;
  color: var(--text-main);
  font-family: var(--font-body);
  margin-bottom: 5px;
}
.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}
.cookie-btn {
  background: var(--brand-secondary);
  color: var(--white);
  font-size: 1rem;
  padding: 8px 22px;
  border-radius: 22px;
  font-family: var(--font-display);
  font-weight: 600;
  border: none;
  margin-right: 5px;
  transition: background 0.18s, color 0.18s, transform 0.15s;
}
.cookie-btn.reject {
  background: var(--pastel-pink);
  color: var(--brand-primary);
}
.cookie-btn.settings {
  background: var(--brand-accent);
  color: var(--brand-primary);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--brand-primary);
  color: var(--pastel-yellow);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #ffd7e8;
  color: var(--brand-secondary);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--brand-secondary);
  color: var(--white);
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(29,42,68,0.19);
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s;
}
.cookie-modal-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: var(--white);
  border-radius: 22px;
  box-shadow: 0 10px 32px 0 rgba(88,146,199,0.14);
  width: 94vw;
  max-width: 400px;
  padding: 28px 22px 20px 22px;
  z-index: 1310;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: modal-bounce-in 0.33s cubic-bezier(.66,.05,.36,1.04);
}
@keyframes modal-bounce-in {
  0% { transform: translateY(40px) scale(0.98); opacity: 0.1; }
  80% { transform: translateY(-6px) scale(1.02); }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.33rem;
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  font-size: 1rem;
}
.cookie-toggle {
  width: 40px;
  height: 24px;
  background: var(--pastel-pink);
  border-radius: 17px;
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin-left: 8px;
  cursor: pointer;
  transition: background 0.22s;
}
.cookie-toggle.enabled {
  background: var(--brand-secondary);
}
.cookie-toggle input {
  opacity: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0; top: 0;
  margin: 0;
  cursor: pointer;
}
.cookie-toggle-bar {
  position: absolute;
  top: 3px; left: 4px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 2px 6px 0 rgba(88,146,199,0.14);
  transition: left 0.23s cubic-bezier(.56,.17,.57,1.23);
}
.cookie-toggle.enabled .cookie-toggle-bar {
  left: 19px;
  background: var(--white);
}
/* Essentials always enabled */
.cookie-category .cookie-toggle[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.48;
  background: var(--pastel-mint);
}
.cookie-modal-actions {
  display: flex;
  gap: 11px;
  margin-top: 8px;
  justify-content: flex-end;
}
.cookie-modal-actions .cookie-btn {
  min-width: 90px;
}

/* MISC SPACING */
section + section {
  margin-top: 0;
}
.section:last-child {
  margin-bottom: 24px;
}

/* ADD SOFT SHADOWS, BORDERS, ROUNDED */
.card, .feature-item, .team-bio, .testimonial-card {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
/* DREAMY PASTEL HIGHLIGHTS */
.card, .feature-item, .team-bio {
  background: linear-gradient(120deg, var(--pastel-blue) 40%, var(--pastel-mint) 100%);
}
/* SUBTLE ANIMATIONS */
.card, .feature-item, .testimonial-card, .cookie-consent-banner {
  transition: box-shadow 0.2s, background 0.17s, transform 0.18s;
}
.card:hover, .feature-item:hover, .team-bio:hover {
  box-shadow: 0 9px 28px 0 rgba(88,146,199,0.15);
  transform: translateY(-2px) scale(1.01);
}

/* TYPOGRAPHY HIERARCHY */
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }
p, li { font-size: 1rem; }

@media (max-width: 540px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.27rem; }
  h3 { font-size: 1.07rem; }
  h4 { font-size: 1rem; }
  p, li { font-size: 0.99rem; }
}

/* Z-INDEX LAYERING */
header { z-index: 100; position: relative; }
.mobile-menu { z-index: 1050; }
.cookie-consent-banner { z-index: 1200; }
.cookie-modal-overlay { z-index: 1300; }

/* ACCESSIBILITY */
a:focus, button:focus, .cta-button:focus {
  outline: 2px dashed var(--brand-secondary);
  outline-offset: 3px;
}

/* HIDE/SHOW CLASSES (UTILITY FOR JS) */
.hide { display: none !important; }

/* END OF STYLE.CSS */
