/*--------------------------------------
  0. CSS Reset & Normalization
----------------------------------------*/
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: #171717;
  font-family: 'Open Sans', Arial, sans-serif;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  padding-left: 1.3em;
  margin-top: 8px;
  margin-bottom: 8px;
}
li {
  margin-bottom: 8px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #101010;
  font-weight: 700;
}

/*--------------------------------------
  1. Typography: Monochrome Sophisticated
----------------------------------------*/
h1 {
  font-size: 2.7rem;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: #101010;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: #232323;
}
h3 {
  font-size: 1.22rem;
  margin-bottom: 8px;
  color: #222;
  font-weight: 600;
}
.section-hero h1 {
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
p, .text-section li, .feature p, .testimonial-card p, .contact-details p, address {
  color: #222;
  font-size: 1.08rem;
  font-family: 'Open Sans', Arial, sans-serif;
}
blockquote {
  font-style: italic;
  opacity: 0.85;
  border-left: 3px solid #333;
  padding-left: 16px;
}
.testimonial-card p {
  color: #111;
  font-size: 1.09rem;
}
.testimonial-author {
  display: block;
  font-size: 0.97rem;
  color: #555;
  margin-top: 8px;
  letter-spacing: 0.04em;
}

/*-------------------------------
  2. Layout Basics & Containers
--------------------------------*/
.container {
  width: 100%;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 18px;
  padding-right: 18px;
}

.section,
section {
  padding: 40px 20px;
  background: none;
  border: none;
}
.section-hero {
  background: #101010;
  padding: 70px 0 60px 0;
  margin-bottom: 60px;
}
.section-hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.section-hero .content-wrapper {
  align-items: flex-start;
  max-width: 650px;
  color: #fff;
}
.section-hero p {
  color: #eee;
  font-size: 1.14rem;
  margin-bottom: 22px;
}

/*--------------------------------------
  3. Header & Navigation + CTA Button
----------------------------------------*/
header {
  background: #fff;
  border-bottom: 1px solid #ececec;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  min-height: 60px;
}
header a img {
  height: 42px;
  width: auto;
}
header nav {
  display: flex;
  gap: 20px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #141516;
  padding: 4px 0;
  position: relative;
}
header nav a:after {
  content: '';
  display: block;
  margin: 4px auto 0 auto;
  width: 0;
  height: 2px;
  background: #141516;
  transition: width 0.2s;
}
header nav a:hover:after,
header nav a:focus:after {
  width: 80%;
}
.cta-btn {
  background: #101010;
  color: #FEFEFE;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.06rem;
  font-weight: 600;
  padding: 10px 30px;
  border-radius: 26px;
  border: none;
  box-shadow: 0 2px 18px rgba(0,0,0,0.04);
  transition: background 0.18s, color 0.18s, box-shadow 0.23s;
  cursor: pointer;
  letter-spacing: 0.02em;
  text-align: center;
  display: inline-block;
  margin-left: 18px;
}
.cta-btn:hover,
.cta-btn:focus {
  background: #FCB900;
  color: #1e1e1e;
  box-shadow: 0 4px 30px rgba(21,21,21,0.08);
  outline: none;
}

/* Hamburger for mobile */
.mobile-menu-toggle {
  font-size: 2rem;
  background: none;
  border: none;
  color: #101010;
  display: none;
  margin-left: 16px;
  cursor: pointer;
  padding: 2px 10px;
  transition: background 0.15s;
  border-radius: 6px;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #efefef;
}

/*--------------------------------------
  4. Mobile Menu Overlay
----------------------------------------*/
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(12,13,15,0.99);
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.67,0,.42,1);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
}
.mobile-menu-close {
  font-size: 2.1rem;
  color: #fff;
  background: none;
  border: none;
  margin: 22px 0 12px 18px;
  cursor: pointer;
  transition: background 0.15s;
  border-radius: 6px;
  align-self: flex-start;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: #232323;
  color: #FCB900;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 18px;
  width: 100%;
  padding-left: 18px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  padding: 10px 0;
  border-bottom: 1px solid #272727;
  transition: color 0.17s;
  width: 100%;
  display: block;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #FCB900;
  outline: none;
}
@media (max-width: 1060px) {
  header nav,
  .cta-btn {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1061px) {
  .mobile-menu {
    display: none !important;
  }
}

/*--------------------------------------
  5. Features, Card, Grid, Flex Layouts
----------------------------------------*/
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
  margin-top: 14px;
}
.feature {
  background: #F7F7F7;
  box-shadow: 0 2px 12px rgba(0,0,0,0.03);
  border-radius: 16px;
  padding: 26px 20px 18px 20px;
  flex: 1 1 230px;
  min-width: 240px;
  max-width: 325px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, background 0.18s, transform 0.18s;
  border: 1px solid #E1E1E1;
}
.feature img {
  width: 36px;
  height: 36px;
  margin-bottom: 2px;
  filter: grayscale(1) contrast(1.04);
}
.feature:hover,
.feature:focus-within {
  background: #fff;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  transform: translateY(-3px) scale(1.01);
  border-color: #1356842a;
}

/* Properties search bar */
.property-search-bar {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
}
.property-search-bar input[type="text"] {
  flex: 1 1 140px;
  padding: 10px 16px;
  font-size: 1rem;
  border: 1px solid #d6d6d6;
  border-radius: 8px;
  background: #fafafa;
  font-family: 'Open Sans', Arial, sans-serif;
}
.property-search-bar button {
  background: #10101033;
  color: #232323;
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: not-allowed;
  opacity: 0.56;
}
.filter-options {
  font-size: 0.99rem;
  color: #474747;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
}
.filter-options img {
  width: 22px; height: 22px;
  filter: grayscale(1) contrast(0.8);
}

/* testimonial-card, testimonials */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
}
.testimonial-card {
  background: #fff;
  color: #141414;
  border: 1.5px solid #ededee;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 260px;
  max-width: 340px;
  transition: box-shadow 0.19s, border-color 0.13s;
}
.testimonial-card:hover,
.testimonial-card:focus-within {
  box-shadow: 0 5px 22px rgba(0,0,0,0.11);
  border-color: #13568422;
}

@media (max-width: 980px) {
  .features-grid,
  .testimonials {
    gap: 18px;
  }
  .feature,
  .testimonial-card {
    min-width: 98%;
    max-width: 100%;
  }
}
@media (max-width: 600px) {
  .features-grid,
  .testimonials {
    flex-direction: column;
    gap: 14px;
  }
  .feature,
  .testimonial-card {
    padding: 17px 12px;
  }
}

/* Content grid and text-image sections */
.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;
  margin-bottom: 32px;
}
@media (max-width: 768px) {
  .content-grid,
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/*--------------------------------------
  6. Main, Lists, Utilities
----------------------------------------*/
.text-section {
  display: flex;
  flex-direction: column;
  gap: 13px;
  line-height: 1.6;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}
address {
  font-style: normal;
  color: #353535;
  margin-bottom: 8px;
  font-size: 1rem;
}
.map {
  background: #F2F2F2;
  font-size: 0.96rem;
  color: #535353;
  border-radius: 10px;
  padding: 15px 10px;
  min-height: 60px;
  margin-top: 10px;
  display: flex;
  align-items: center;
}

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

/* List styles */
ul, ol {
  margin-top: 10px;
  margin-bottom: 12px;
}
ul li, ol li {
  line-height: 1.6;
  margin-bottom: 8px;
  color: #232323;
  font-size: 1.03rem;
}
ul li img, ol li img {
  vertical-align: middle;
  margin-right: 7px;
  width: 19px;
  height: 19px;
  filter: grayscale(1) contrast(0.85);
}

/*--------------------------------------
  7. Footer
----------------------------------------*/
footer {
  background: #101010;
  color: #e6e6e6;
  padding: 36px 0 16px 0;
  border-top: 2px solid #121212;
  margin-top: 60px;
}
.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 44px;
  justify-content: space-between;
  margin-bottom: 24px;
}
.footer-logo-contact {
  display: flex;
  flex-direction: column;
  gap: 11px;
  min-width: 215px;
  max-width: 270px;
}
.footer-logo-contact img {
  width: 30px;
  margin-bottom: 5px;
}
.footer-logo-contact address,
.footer-logo-contact span {
  color: #c1c1c1;
  font-size: 0.99rem;
}
.footer-logo-contact a {
  color: #c1c1c1;
  font-size: 1rem;
  margin-bottom: 3px;
  transition: color 0.18s;
}
.footer-logo-contact a:hover,
.footer-logo-contact a:focus {
  color: #FCB900;
}
.footer-menu,
.legal-menu {
  display: flex;
  flex-direction: column;
  gap: 11px;
  min-width: 135px;
}
.footer-menu a,
.legal-menu a {
  color: #e6e6e6;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.96rem;
  transition: color 0.17s;
}
.footer-menu a:hover,
.legal-menu a:hover,
.footer-menu a:focus,
.legal-menu a:focus {
  color: #FCB900;
}
.social-links {
  display: flex;
  gap: 20px;
  margin-bottom: 10px;
}
.social-links a {
  transition: filter 0.15s;
}
.social-links a:hover img,
.social-links a:focus img {
  filter: brightness(1.8) contrast(2) drop-shadow(0 1px 2px #fcb90099);
}
.social-links img {
  width: 30px;
}
.copyright {
  color: #bbbbbb;
  font-size: 0.98rem;
  margin-bottom: 8px;
}
@media (max-width: 820px) {
  .footer-columns {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

/*--------------------------------------
  8. Cookie Consent Banner & Modal
----------------------------------------*/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #191818;
  color: #fff;
  padding: 22px 12px 18px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 0 24px rgba(0,0,0,0.12);
  z-index: 11210;
  gap: 15px;
  font-size: 0.99rem;
  animation: cookie-slide 0.44s cubic-bezier(.42,0,.39,1);
}
@keyframes cookie-slide {
  from { transform: translateY(100%); opacity:0;} to { transform: none; opacity:1;}
}
.cookie-banner__buttons {
  display: flex;
  gap: 10px;
}
.cookie-btn {
  padding: 9px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 0.99rem;
  border-radius: 22px;
  border: none;
  cursor: pointer;
  margin: 0;
  background: #232323;
  color: #fff;
  transition: background 0.17s, color 0.16s, box-shadow 0.23s;
  margin-bottom: 0;
  box-shadow: 0 1px 4px rgba(12,13,15,0.04);
}
.cookie-btn.cookies-accept {
  background: #FCB900;
  color: #111;
}
.cookie-btn.cookies-settings {
  background: transparent;
  color: #fff;
  border: 1.5px solid #FFF;
}
.cookie-btn.cookies-reject {
  background: #232323;
  color: #fff;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #fff;
  color: #232323;
  box-shadow: 0 2px 11px 0 #fcba0063;
}
.cookie-btn.cookies-accept:hover, .cookie-btn.cookies-accept:focus {
  background: #232323;
  color: #FCB900;
}
/* Cookie Modal */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(13,13,13,0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 13000;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.26s;
}
.cookie-modal.open {
  visibility: visible;
  opacity: 1;
}
.cookie-modal__content {
  background: #fff;
  color: #212121;
  border-radius: 16px;
  max-width: 340px;
  padding: 32px 20px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 17px;
  box-shadow: 0 6px 44px rgba(0,0,0,0.23);
  position: relative;
  animation: cookie-modal-in 0.44s cubic-bezier(.42,0,.39,1);
}
@keyframes cookie-modal-in {
  from { transform: scale(0.87) translateY(40px); opacity:0;} to { transform: none; opacity:1; }
}
.cookie-modal__title {
  font-size: 1.21rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 5px;
}
.cookie-modal__category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  margin: 7px 0;
}
.cookie-modal__category input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #135684;
  border-radius: 6px;
  border: 1.5px solid #999;
}
.cookie-modal__close {
  position: absolute;
  top: 14px; right: 18px;
  background: none;
  border: none;
  font-size: 1.2rem;
  color: #232323;
  cursor: pointer;
}
.cookie-modal__buttons {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
/* Show/hide helpers (required by js) */
.cookie-banner.hidden,
.cookie-modal.hidden {
  display: none !important;
}

/*--------------------------------------
  9. Utilities, Spacing, Effects
----------------------------------------*/
hr {
  border: none;
  border-top: 1px solid #ececec;
  margin: 30px 0;
}
.section {
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #f7f7f7;
  border-radius: 16px;
  box-shadow: 0 2px 9px rgba(0,0,0,0.045);
  margin-bottom: 20px;
  position: relative;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  border: 1px solid #E3E3E3;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 11px;
}

/* Focus styles for accessibility */
a:focus, button:focus, .cta-btn:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus {
  outline: 2px solid #135684;
  outline-offset: 2px;
}

/*--------------------------------------
  10. Responsive Adjustments
----------------------------------------*/
@media (max-width: 820px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .section-hero {
    padding: 45px 0 27px 0;
  }
  .section {
    padding: 20px 6px;
  }
}
@media (max-width: 600px) {
  .section-hero h1 {
    font-size: 2rem;
  }
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.22rem; }
  .footer-logo-contact img { width: 85px; }
}
@media (max-width: 500px) {
  .copyright { font-size: 0.91rem; }
}

/*--------------------------------------
  11. Animations
----------------------------------------*/
.cta-btn, .cookie-btn {
  transition: background 0.19s, color 0.18s, box-shadow 0.21s, transform 0.15s;
}
.cta-btn:hover,
.cta-btn:focus,
.cookie-btn:focus,
.cookie-btn:hover {
  transform: translateY(-1px) scale(1.04);
}
.feature, .testimonial-card,
.card {
  transition: box-shadow 0.15s, background 0.16s, border-color 0.13s, transform 0.15s;
}
.feature:hover,
.card:hover,
.testimonial-card:hover {
  transform: translateY(-2px) scale(1.017);
}

/*--------------------------------------
  12. Custom Brand Pallete (Override monochrome)
----------------------------------------*/
.brand-primary { color: #135684; }
.brand-secondary { color: #F2F2F2; }
.brand-accent { color: #FCB900; }

/*--------------------------------------
  13. Hide on mobile helpers
----------------------------------------*/
@media (max-width: 900px) {
  header nav {
    display: none !important;
  }
  .cta-btn {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block !important;
  }
}


/*--------------------------------------
  END CSS
----------------------------------------*/
