/* 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;
}

html, body {
  height: 100%;
  width: 100%;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  background: #fff;
  color: #202225;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

*, *:before, *:after {
  box-sizing: inherit;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

ul, ol {
  padding-left: 1.5em;
}
a {
  color: #1B365D;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #111;
  text-decoration: none;
}
strong { font-weight: 600; }

/* BRAND TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #101010;
  margin-bottom: 0.7em;
}
h1 { font-size: 2.5rem; letter-spacing: -1px; line-height: 1.15; }
h2 { font-size: 2rem; letter-spacing: -0.5px; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }

p, ul, ol {
  color: #222;
  font-family: 'Open Sans', Arial, sans-serif;
  margin-bottom: 1.4em;
}
small { font-size: 0.92em; color: #888; }

/* GENERAL LAYOUT CONTAINERS */
.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  max-width: 1080px;
  display: flex;
  flex-direction: column;
  gap: 0px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  padding: 0;
  max-width: 900px;
}

/*==============================
  SECTION SPACING MANDATES
==============================*/
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background-color: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 32px rgba(18, 20, 28, 0.08);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: #fafbfc;
  border-radius: 14px;
  margin-bottom: 20px;
  padding: 28px 26px 24px 26px;
  box-shadow: 0 2px 12px rgba(30,32,36,0.09);
  transition: box-shadow 0.23s, transform 0.23s;
  position: relative;
  flex: 1 1 270px;
  min-width: 270px;
  max-width: 100%;
}
.card:hover {
  box-shadow: 0 6px 32px rgba(0,0,0,0.13);
  transform: translateY(-2px) scale(1.015);
}

.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 {
  background: #F8F8F9;
  border-radius: 12px;
  box-shadow: 0 1px 8px rgba(0,0,0,0.03);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  position: relative;
  color: #151517;
  font-size: 1.16rem;
}
.testimonial-card p {
  color: #19191a;
  font-style: italic;
  margin-bottom: 0.5em;
}
.testimonial-card span {
  color: #444;
  font-size: 0.96em;
}

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

.text-section {
  margin-bottom: 16px;
}

/*===========================================
= HEADERS & NAVIGATION (DESKTOP & MOBILE)   =
===========================================*/
header {
  background: #fff;
  border-bottom: 1px solid #E6EAF0;
  position: sticky;
  top: 0;
  z-index: 1090;
  transition: box-shadow 0.25s;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  max-width: 1180px;
}
header a img {
  height: 52px;
  width: auto;
}
nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  text-decoration: none;
  font-size: 1.04rem;
  font-weight: 500;
  color: #171717;
  letter-spacing: 0.08em;
  padding: 7px 0 5px;
  transition: color 0.18s;
  position: relative;
}
nav a::after {
  content: "";
  display: block;
  height: 2px;
  width: 0;
  background: #1B365D;
  transition: width 0.2s;
  margin-top: 2px;
}
nav a:hover, nav a:focus {
  color: #1B365D;
}
nav a:hover::after, nav a:focus::after {
  width: 100%;
}

.cta-button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: 0.02em;
  background: #222;
  color: #fff;
  border: none;
  border-radius: 11px;
  padding: 13px 34px;
  box-shadow: 0 1px 6px rgba(27,54,93,0.06);
  margin-left: 16px;
  cursor: pointer;
  transition: background 0.22s, color 0.19s, box-shadow 0.21s, transform 0.18s;
  text-decoration: none;
}
.cta-button:hover, .cta-button:focus {
  background: #1B365D;
  color: #fff;
  transform: scale(1.04);
  box-shadow: 0 4px 24px rgba(27,54,93,0.12);
}

/* Mobile Burger Menu Button */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.25rem;
  line-height: 1;
  color: #1B365D;
  cursor: pointer;
  z-index: 1200;
  margin-left: 16px;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background 0.2s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #E6EAF0;
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: #fcfcfc;
  z-index: 1201;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.37s cubic-bezier(.6,0,.3,1);
  box-shadow: 0 0 0 rgba(0,0,0,0.0);
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: auto;
  box-shadow: 0 8px 44px 0 rgba(21,22,35,0.16);
}
.mobile-menu-close {
  margin: 18px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #1B365D;
  align-self: flex-end;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 7px;
  transition: background 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #ECEDEE;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 0 38px;
  margin-top: 16px;
  gap: 8px;
}
.mobile-nav a {
  font-size: 1.26rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #24262e;
  text-decoration: none;
  padding: 16px 2px 14px 0;
  border-bottom: 1px solid #E6EAF0;
  transition: background 0.16s, color 0.17s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F3F7FB;
  color: #1B365D;
}

/* Hide nav/cta on mobile, show burger */
@media (max-width: 990px) {
  header .container nav, header .container .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 991px) {
  .mobile-menu { display: none !important; }
}

/* HERO & INTRO */
section:first-of-type {
  background: #1B365D linear-gradient(80deg, #22242c 0%, #434343 100%);
  color: #fff;
  border-radius: 0 0 34px 34px;
  box-shadow: 0 6px 36px 0 rgba(27,54,93,0.06);
  margin-bottom: 60px;
}
section:first-of-type h1, section:first-of-type h2, section:first-of-type p {
  color: #fff;
}
section:first-of-type .cta-button {
  background: #fff;
  color: #15191F;
  box-shadow: 0 1px 10px rgba(27,54,93,0.10);
}
section:first-of-type .cta-button:hover, section:first-of-type .cta-button:focus {
  background: #E6EAF0;
  color: #1B365D;
}

/* LISTS IN SERVICES, PROPERTIES, ETC */
ul, ol {
  margin-bottom: 1.2em;
}
ul li, ol li {
  margin-bottom: 0.65em;
  padding-left: 0.3em;
  font-size: 1.07em;
}
ul li strong, ol li strong {
  color: #1B365D;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
ul li span {
  color: #797E85;
  font-size: 0.97em;
}

/* CARDS & CARD CONTAINERS (PROPERTIES, SERVICES) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  min-width: 270px;
  background: #FAFAFA;
  margin-bottom: 20px;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(30, 32, 36, 0.09);
  padding: 28px 24px 21px 24px;
  transition: box-shadow 0.21s, transform 0.17s;
}
.card:hover {
  transform: translateY(-3px) scale(1.018);
  box-shadow: 0 7px 32px rgba(30, 32, 36, 0.14);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* CONTENT GRID */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

/* TEXT + IMAGE FLEX SECTION */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 22px;
  }
}

/* TESTIMONIALS */
.testimonial-card {
  background: #fff;
  box-shadow: 0 1px 8px rgba(32,32,32,0.04);
  color: #141413;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  font-size: 1.1rem;
}
.testimonial-card p {
  color: #232323;
  margin-bottom: 0.6em;
  font-style: italic;
}
.testimonial-card span {
  color: #424448;
  font-size: 0.97em;
}

/* FEATURE ITEMS */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* FOOTER */
footer {
  background: #161616;
  color: #E6EAF0;
  font-size: 0.97rem;
  padding: 30px 0 0 0;
  border-radius: 30px 30px 0 0;
  margin-top: 64px;
}
footer .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  max-width: 1150px;
  padding: 18px 20px;
}
footer nav {
  display: flex;
  gap: 20px;
}
footer nav a {
  color: #D9DEE5;
  text-decoration: none;
  font-size: 1em;
  letter-spacing: 0.02em;
  transition: color 0.16s;
}
footer nav a:hover,footer nav a:focus {
  text-decoration: underline;
  color: #fff;
}
footer div {
  color: #ccc;
  font-size: 1em;
}

/*======================================
   COOKIE CONSENT BANNER & MODAL
======================================*/
.cookie-banner {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 26px;
  position: fixed;
  z-index: 1202;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #232325;
  color: #fff;
  padding: 28px 18px 24px 18px;
  box-shadow: 0 -3px 44px rgba(21,23,23,0.19);
  font-size: 1.07rem;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  animation: cookieSlideUp 0.33s cubic-bezier(.6,0,.4,1);
}
@keyframes cookieSlideUp {
  from { transform: translateY(70px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner__message {
  flex: 1 1 60%;
  color: #F7F7F7;
  font-size: 1.03em;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 8px 18px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.16s, color 0.13s;
  font-size: 1em;
  margin-bottom: 0px;
}
.cookie-banner__accept {
  background: #1B365D;
  color: #fff;
}
.cookie-banner__accept:hover, .cookie-banner__accept:focus {
  background: #232325;
  color: #F5AB1A;
}
.cookie-banner__reject {
  background: #4b4b4e;
  color: #fff;
}
.cookie-banner__reject:hover, .cookie-banner__reject:focus {
  background: #111;
  color: #fff3;
}
.cookie-banner__settings {
  background: #E6EAF0;
  color: #232325;
}
.cookie-banner__settings:hover, .cookie-banner__settings:focus {
  background: #C7CCD3;
  color: #38383d;
}

/* Cookie Preferences Modal */
.cookie-modal__backdrop {
  position: fixed;
  z-index: 1250;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(30,32,32,0.57);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modalFadeIn 0.22s cubic-bezier(.7,0,.5,1);
}
@keyframes modalFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #111;
  border-radius: 17px;
  padding: 36px 26px 30px 26px;
  box-shadow: 0 7px 64px 0 rgba(20,26,31,0.17);
  max-width: 400px;
  width: 92vw;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  animation: modalSlideIn 0.27s cubic-bezier(.76,.03,.34,1.12);
}
@keyframes modalSlideIn {
  from { transform: translateY(60px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-modal__header {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.4em;
  margin-bottom: 9px;
}
.cookie-modal__close {
  position: absolute;
  top: 16px; right: 16px;
  background: #E6EAF0;
  color: #222;
  border: none;
  border-radius: 7px;
  font-size: 1.19em;
  cursor: pointer;
  padding: 5px 11px;
  transition: background 0.15s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  background: #C7CCD3;
}
.cookie-modal__category {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 17px;
}
.cookie-modal__category-info {
  flex: 1 1 auto;
}
.cookie-modal__category-toggle {
  min-width: 36px;
  margin-top: 2.5px;
}
.cookie-modal__category input[type="checkbox"] {
  width: 21px;
  height: 21px;
  accent-color: #1B365D;
  margin-left: 8px;
}
.cookie-modal__category input[type="checkbox"][disabled] {
  accent-color: #bcbcbc;
}
/* Cookie modal save/reject buttons */
.cookie-modal__actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 12px;
}
.cookie-modal__actions button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1em;
  border-radius: 10px;
  border: none;
  padding: 8px 18px;
  cursor: pointer;
  transition: background 0.17s;
}
.cookie-modal__accept {
  background: #1B365D;
  color: #fff;
}
.cookie-modal__accept:hover, .cookie-modal__accept:focus {
  background: #232325;
}
.cookie-modal__reject {
  background: #E6EAF0;
  color: #1B365D;
}
.cookie-modal__reject:hover, .cookie-modal__reject:focus {
  background: #C7CCD3;
}

/*============================
   RESPONSIVE BREAKPOINTS
=============================*/
@media (max-width: 1080px) {
  .container {
    max-width: 98vw;
    padding: 0 12px;
  }
  .content-wrapper {
    max-width: 95vw;
    padding: 0 5px;
  }
  header .container {
    padding: 14px 14px;
  }
}
@media (max-width: 850px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.48rem; }
  section {
    padding: 28px 7px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
  section {
    padding: 22px 3px 22px 3px;
    margin-bottom: 40px;
  }
  .card-container {
    gap: 12px;
  }
  .testimonial-card {
    padding: 11px 8px;
    font-size: 1em;
  }
  .feature-item {
    gap: 9px;
    margin-bottom: 11px;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    padding: 12px 10px;
  }
}
@media (max-width: 670px) {
  h1 { font-size: 1.46rem; }
  h2 { font-size: 1.22rem; }
  nav a { font-size: 0.98rem; }
  .cta-button {
    padding: 10px 16px;
    font-size: 1em;
  }
}
@media (max-width: 500px) {
  .section {
    padding: 12px 2px;
    margin-bottom: 30px;
    border-radius: 8px;
  }
  .card {
    padding: 10px 5px 8px 5px;
    min-width: 180px;
    border-radius: 8px;
  }
  .testimonial-card {
    padding: 6px 3px;
    border-radius: 7px;
  }
  .content-wrapper {
    padding: 0 1px;
  }
}

/*=======================
   MONOCHROME EFFECTS
========================*/
/* Global elegant monochrome tweaks */
body {
  background: #F6F7F9;
  color: #161616;
}
section, .section {
  background: #fff;
}
.card, .testimonial-card {
  background: #fafafa;
  border: 1px solid #EEE;
}
.card {
  border-left: 5px solid #222;
}
.card:hover {
  border-left: 5px solid #1B365D;
}
.cta-button,
.cookie-banner__accept,
.cookie-modal__accept {
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
}

/* Micro-interactions for links & buttons */
a, .cta-button, button {
  outline: none;
  transition: box-shadow 0.18s, color 0.16s, background 0.21s;
}
a:active, .cta-button:active, button:active {
  outline: none;
  box-shadow: 0 2px 12px rgba(1,30,60,0.07) !important;
}

/*--------------------------------------------
  PRINT VISIBILITY: hide nav/footer cookie on print
--------------------------------------------*/
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal__backdrop { display: none !important; }
}
