/* --- 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;
  background: #F5F7FA;
  color: #181818;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: #1A2836;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #000;
  text-decoration: underline;
}
ul, ol {
  margin-left: 24px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- TYPOGRAPHY ---------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', 'Times New Roman', serif;
  font-weight: 600;
  color: #111;
}
h1 {
  font-size: 2.2rem;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 16px;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 10px;
}
p, li {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #181818;
}
.subheadline {
  font-family: 'Playfair Display', 'Times New Roman', serif;
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}
strong {
  font-weight: 600;
  color: #111;
}

/* --- LAYOUT CONTAINERS -------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
/* Main section/spacing pattern */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

/* --- HEADER ------------------------------------------------------------- */
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(24, 28, 32, 0.04);
  position: sticky;
  top: 0;
  z-index: 1002;
}
header .container {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}
.logo img {
  height: 42px;
  width: auto;
  display: block;
}
nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
nav a {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #1A2836;
  padding: 2px 8px;
  border-radius: 4px;
  position: relative;
  transition: background 0.2s, color 0.2s;
}
nav a:hover, nav a:focus {
  background: #8BA2B2;
  color: #fff;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1A2836;
  color: #fff;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 24px;
  padding: 12px 32px;
  margin-left: 12px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(24, 28, 32, 0.06);
  transition: background 0.18s, color 0.18s, transform 0.15s;
  text-decoration: none;
  letter-spacing: 0.03em;
}
.cta-btn:hover, .cta-btn:focus {
  background: #111;
  color: #F5F7FA;
  transform: translateY(-1px) scale(1.018);
  box-shadow: 0 8px 32px rgba(24,24,30,0.14);
}
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #1A2836;
  padding: 8px 12px;
  border-radius: 8px;
  margin-left: 10px;
  transition: background 0.18s;
  cursor: pointer;
  z-index: 1100;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #8BA2B2;
  color: #fff;
}

/* --- MOBILE NAVIGATION -------------------------------------------------- */
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(30,36,48, 0.94);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  z-index: 3000;
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(.77,0,.18,1);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  padding: 16px 16px 0 16px;
  align-self: flex-end;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 3200;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #8BA2B2;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 36px 32px 0 32px;
  width: 100%;
  margin-top: 32px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.18rem;
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  padding: 14px 0;
  transition: color 0.18s, background 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #8BA2B2;
  background: rgba(245,247,250,0.04);
}

/* --- HERO SECTIONS ------------------------------------------------------ */
.hero {
  background: linear-gradient(120deg, #fff 82%, #E7E9EB 100%);
  box-shadow: 0 4px 20px rgba(26,40,54,0.045);
  margin-bottom: 48px;
}
.hero .container {
  display: flex;
  align-items: center;
  min-height: 37vh;
}
.hero h1 {
  font-size: 2.4rem;
  color: #1A2836;
  margin-bottom: 10px;
}
.hero .subheadline {
  font-size: 1.20rem;
  color: #444;
  margin-bottom: 32px;
}

/* --- FEATURE GRIDS & CARDS ---------------------------------------------- */
.feature-grid, .city-grid, .featured-properties {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 28px 0 0 0;
  justify-content: flex-start;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(26,40,54,0.08);
  padding: 32px 28px 28px 28px;
  flex: 1 1 270px;
  min-width: 240px;
  max-width: 340px;
  margin-bottom: 20px;
  transition: box-shadow 0.23s, transform 0.23s;
  border: 1.5px solid #E7E9EB;
  position: relative;
}
.feature-item img {
  height: 38px;
  margin-bottom: 6px;
}
.feature-item h3 {
  font-size: 1.16rem;
  color: #1A2836;
}
.feature-item p, .feature-item ul {
  font-size: 1rem;
  color: #222;
}
.feature-item .badge {
  font-size: 0.88rem;
  color: #fff;
  background: #1A2836;
  border-radius: 9px;
  padding: 3px 10px 3px 10px;
  font-weight: 600;
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  box-shadow: 0 2px 12px rgba(26,40,54,0.17);
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 10px 36px rgba(26,40,54,0.15);
  transform: translateY(-3px) scale(1.013);
  border: 1.5px solid #8BA2B2;
}

/* --- LAYOUT GRIDS ------------------------------------------------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(26,40,54,0.08);
  margin-bottom: 20px;
  padding: 32px 28px;
  position: relative;
}
.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;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.map-snippet {
  background: #eee;
  border-radius: 8px;
  padding: 16px 20px;
  color: #222;
  font-size: 1rem;
  margin: 12px 0;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}
.opening-hours {
  font-size: 0.98rem;
  color: #444;
}

/* --- TESTIMONIALS ------------------------------------------------------- */
.testimonials {
  background: #F5F7FA;
}
.testimonials h2 {
  color: #1A2836;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 28px 28px 20px 28px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(26,40,54,0.10);
  min-width: 285px;
  max-width: 380px;
  margin-bottom: 20px;
  border: 1.5px solid #E7E9EB;
  transition: box-shadow 0.19s, border 0.18s;
}
.testimonial-card p {
  color: #181818;
  font-size: 1.03rem;
  font-style: italic;
  margin-bottom: 8px;
  text-align: center;
}
.testimonial-card span {
  color: #444;
  font-size: 0.99rem;
  font-weight: 500;
  font-family: 'Roboto', Arial;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 6px 32px rgba(26,40,54,0.13);
  border: 1.5px solid #8BA2B2;
}

/* --- BUTTONS ------------------------------------------------------------ */
button, .cta-btn {
  transition: background 0.2s, color 0.2s, box-shadow 0.18s, transform 0.15s;
}
button:focus, .cta-btn:focus {
  outline: 2px solid #8BA2B2;
  outline-offset: 3px;
}

/* --- FILTERS ------------------------------------------------------------ */
.filters {
  background: #fff;
  border-radius: 11px;
  padding: 20px 24px;
  box-shadow: 0 1px 10px rgba(26,40,54,0.06);
  margin-bottom: 32px;
}
.filters strong {
  color: #1A2836;
}

/* --- FOOTER ------------------------------------------------------------- */
footer {
  background: #111;
  color: #F5F7FA;
  padding: 36px 0 24px 0;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 22px;
  justify-content: flex-start;
  align-items: center;
}
.footer-logo img {
  height: 42px;
  width: auto;
  margin-bottom: 10px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #F5F7FA;
  align-items: center;
  font-size: 1rem;
}
footer nav a {
  color: #F5F7FA;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  transition: color 0.15s;
}
footer nav a:hover, footer nav a:focus {
  color: #8BA2B2;
}
.footer-contact {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 0.98rem;
  color: #C6D0D8;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.footer-contact a {
  color: #8BA2B2;
  text-decoration: underline;
  font-weight: 500;
}

/* --- COOKIE CONSENT BANNER ---------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4000;
  background: #fff;
  color: #181818;
  padding: 22px 24px 18px 24px;
  box-shadow: 0 -1px 18px rgba(26,40,54,0.12);
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  border-top: 2px solid #E7E9EB;
  animation: cookieSlideIn 0.4s cubic-bezier(.77,0,.18,1);
}
@keyframes cookieSlideIn {
  from { transform: translateY(90px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  font-size: 0.98rem;
  color: #222;
  text-align: center;
}
.cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.cookie-btn, .cookie-settings-btn {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 0.97rem;
  border-radius: 16px;
  padding: 8px 28px;
  border: 1.5px solid #1A2836;
  cursor: pointer;
  background: #1A2836;
  color: #fff;
  transition: background 0.17s, color 0.17s, box-shadow 0.17s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #444;
  color: #fff;
  box-shadow: 0 4px 18px rgba(26,40,54,0.13);
}
.cookie-btn.secondary {
  background: #8BA2B2;
  color: #181818;
  border-color: #8BA2B2;
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: #E7E9EB;
  color: #1A2836;
}
.cookie-settings-btn {
  background: #fff;
  color: #1A2836;
  border-color: #1A2836;
  margin-left: 6px;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #E7E9EB;
  color: #181818;
}

/* --- COOKIE CONSENT MODAL ----------------------------------------------- */
.cookie-modal-overlay {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(26,40,54,0.75);
  z-index: 4100;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInModal 0.48s cubic-bezier(.77,0,.18,1);
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 14px;
  max-width: 385px;
  width: 92vw;
  box-shadow: 0 8px 36px rgba(26,40,54,0.18);
  padding: 32px 26px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: modalPopIn 0.2s cubic-bezier(.6,-0.4,.33,1.4);
}
@keyframes modalPopIn {
  from { transform: scale(0.94); opacity: 0.64; }
  to   { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.25rem;
  color: #1A2836;
  margin-bottom: 4px;
}
.cookie-modal-close {
  position: absolute;
  right: 21px;
  top: 10px;
  background: none;
  border: none;
  color: #1A2836;
  font-size: 1.55rem;
  cursor: pointer;
  transition: color 0.19s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #8BA2B2;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 10px 0;
}
.cookie-category .cookie-toggle {
  width: 44px;
  height: 28px;
  background: #E7E9EB;
  border-radius: 16px;
  position: relative;
  border: 0;
  cursor: pointer;
  transition: background 0.16s;
}
.cookie-category .cookie-toggle.on {
  background: #8BA2B2;
}
.cookie-category .cookie-slider {
  position: absolute;
  top: 3px;
  left: 6px;
  width: 22px;
  height: 22px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.19s, background 0.13s;
  box-shadow: 0 1px 3px rgba(26,40,54,0.14);
}
.cookie-category .cookie-toggle.on .cookie-slider {
  background: #1A2836;
  left: 18px;
}
.cookie-category label {
  font-size: 1rem;
  color: #181818;
  font-weight: 500;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}
.cookie-category .category-desc {
  font-size: 0.96rem;
  color: #444;
}

/* --- UTILITIES & MICRO ANIMATIONS ---------------------------------------- */
::-webkit-scrollbar {
  width: 10px;
  background: #F5F7FA;
}
::-webkit-scrollbar-thumb {
  background: #E7E9EB;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: #8BA2B2;
}

/* --- MEDIA QUERIES / RESPONSIVE ----------------------------------------- */
@media (max-width: 1200px) {
  .container {
    max-width: 980px;
  }
}
@media (max-width: 992px) {
  .container {
    max-width: 820px;
  }
  .feature-item {
    min-width: 180px;
    padding: 24px 14px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 15px;
    padding-bottom: 15px;
  }
  nav {
    display: none;
  }
  .cta-btn {
    margin-left: 6px;
    padding: 10px 18px;
    font-size: 0.99rem;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .feature-grid, .city-grid, .featured-properties, .testimonial-slider, .card-container, .content-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .feature-item, .card, .testimonial-card {
    max-width: 100%;
    min-width: unset;
    padding: 22px 12px;
  }
  .hero .container {
    min-height: 22vh;
    padding: 28px 0;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .footer-contact {
    flex-direction: column;
    gap: 7px;
    text-align: left;
  }
  footer .container {
    gap: 18px;
  }
}
@media (max-width: 520px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .section {
    padding: 26px 6px;
    margin-bottom: 32px;
  }
  .hero h1 {
    font-size: 1.39rem;
    margin-bottom: 10px;
  }
  .hero .subheadline {
    font-size: 1rem;
    margin-bottom: 18px;
  }
}

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