/* ========================================================
   Luminous Immo Safari - Scandinavian Clean CSS
   Mobile-first, Flexbox-only, Brand & Accessibility Focused
==========================================================*/
/*------------------------
   CSS RESET & BASELINES
-------------------------*/
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;
  background: #F7F2E9;
  color: #19344C;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  min-height: 100vh;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  border: 0;
  display: block;
}
a {
  color: #19344C;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus, a:hover {
  color: #60A6A6;
  outline: none;
}
ul, ol {
  list-style-position: outside;
  margin-left: 20px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 16px;
  font-weight: 700;
}
h1 {
  font-size: 2.25rem;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: 16px;
  margin-bottom: 12px;
}
p {
  margin-bottom: 16px;
  font-size: 1rem;
  color: #1A2533;
}
strong {
  font-weight: 600;
}
.container {
  width: 100%;
  max-width: 1140px;
  padding: 0 20px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/*-------------------
    HEADER & NAV
--------------------*/
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(25,52,76,0.04);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.main-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 18px;
}
.main-navigation > a img {
  height: 48px;
  width: auto;
}
.main-navigation ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
.main-navigation li {
  list-style: none;
}
.main-navigation ul li a {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  padding: 6px 8px;
  border-radius: 8px;
  color: #19344C;
  letter-spacing: 0.01em;
  transition: background .18s, color .18s;
}
.main-navigation ul li a:hover,
.main-navigation ul li a:focus {
  background: #F7F2E9;
  color: #60A6A6;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #19344C;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 28px;
  padding: 10px 26px;
  margin-left: 18px;
  box-shadow: 0 2px 12px rgba(25,52,76,0.06);
  transition: background 0.2s, box-shadow 0.18s, color 0.2s;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}
.cta-btn.primary {
  background: #60A6A6;
  color: #19344C;
}
.cta-btn:hover,
.cta-btn:focus {
  background: #19344C;
  color: #fff;
  box-shadow: 0 6px 24px rgba(25,52,76,0.09);
}
.cta-btn.primary:hover,
.cta-btn.primary:focus {
  background: #1A2533;
  color: #fff;
}

/* ----------------------------------------------------
      MOBILE MENU
-----------------------------------------------------*/
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 28px;
  top: 18px;
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1.1;
  color: #19344C;
  cursor: pointer;
  z-index: 1400;
  transition: color .18s;
  padding: 6px 10px;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: #60A6A6;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(25,52,76, 0.94);
  color: #fff;
  transform: translateX(-100vw);
  transition: transform 0.3s cubic-bezier(.33,.85,.57,1.03);
  z-index: 1999;
  display: flex;
  flex-direction: column;
  padding: 0;
  justify-content: flex-start;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.1rem;
  padding: 16px 22px 10px 10px;
  align-self: flex-end;
  cursor: pointer;
  margin-top: 8px;
  transition: color .2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #60A6A6;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 28px 36px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  color: #fff;
  padding: 12px 0 12px 6px;
  border-radius: 10px;
  transition: background .16s, color .17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #60A6A6;
  color: #19344C;
}

@media (max-width: 1200px) {
  .container { max-width: 1000px; }
}
@media (max-width: 980px) {
  .container { max-width: 92vw; }
  .main-navigation ul { gap: 14px; }
}
@media (max-width: 850px) {
  .main-navigation ul { display: none; }
  .main-navigation .cta-btn { display: none; }
  .mobile-menu-toggle { display: block; }
}

/*-----------------------------
 MAIN & SECTION LAYOUT
------------------------------*/
main {
  flex: 1 1 auto;
  background: transparent;
  width: 100%;
}
section {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 32px rgba(25,52,76,0.06);
  margin-bottom: 60px;
  padding: 40px 20px;
  transition: box-shadow 0.22s;
  display: flex;
  flex-direction: column;
}
.section { /* For explicit .section as well */
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 32px rgba(25,52,76,0.05);
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.features-list, .service-list, .usp-list, .benefit-list, .districts-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  flex-direction: column;
  margin-top: 12px;
}
.features-list li, .service-list li, .usp-list li, .benefit-list li, .districts-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 14px 14px 0;
  border-radius: 10px;
  font-size: 1rem;
  background: #F7F2E9;
  color: #19344C;
  transition: background 0.18s;
}
.features-list li img, .districts-list li img, .service-list li img, .step-list li img {
  width: 32px;
  height: 32px;
  min-width: 32px;
  object-fit: contain;
}
.features-list li:hover, .service-list li:hover, .districts-list li:hover {
  background: #E5E9E5;
}

.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
  flex-direction: column;
}
.service-grid li {
  background: #F7F2E9;
  border-radius: 12px;
  padding: 20px 22px 18px 22px;
  min-width: 200px;
  flex: 1 1 230px;
  margin-bottom: 20px;
  font-size: 1rem;
  box-shadow: 0 2px 10px rgba(25,52,76,0.06);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: flex-start;
}
.service-grid li span {
  color: #60A6A6;
  font-size: 1rem;
  font-weight: 600;
}
@media (min-width: 700px) {
  .service-grid {
    flex-direction: row;
    justify-content: flex-start;
    gap: 24px;
  }
  .service-grid li {
    flex: 1 1 210px;
    margin-bottom: 0;
  }
}

.step-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  flex-direction: column;
  counter-reset: step;
  margin-top: 10px;
}
.step-list li {
  align-items: flex-start;
  gap: 18px;
  background: #F7F2E9;
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 8px;
  position: relative;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(25,52,76,0.04);
}
/* Remove last mb */
.step-list li:last-child { margin-bottom: 0; }

@media (min-width: 700px) {
  .step-list {
    flex-direction: row;
  }
  .step-list li {
    flex: 1 1 180px;
    min-width: 170px;
    margin-bottom: 0;
  }
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 24px 0;
}
.faq-accordion > div {
  background: #F7F2E9;
  border-radius: 10px;
  box-shadow: 0 1px 6px rgba(25,52,76,0.04);
  padding: 18px 24px 18px 18px;
  transition: box-shadow .18s;
}
.faq-accordion > div h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #19344C;
  font-size: 1.08rem;
  margin-bottom: 8px;
  margin-top: 0;
}
.faq-accordion > div p {
  font-size: 1rem;
  margin: 0;
  color: #23425F;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card { 
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 3px 16px rgba(25,52,76,0.06);
  padding: 26px 22px 18px 22px;
  flex: 1 1 260px;
  transition: box-shadow .17s, transform .17s;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 30px rgba(25,52,76,0.11);
  transform: translateY(-2px) scale(1.03);
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(25,52,76,0.08);
  margin-bottom: 20px;
  color: #19344C;
  position: relative;
  min-width: 0;
  max-width: 720px;
  transition: box-shadow 0.18s, background 0.16s;
  font-size: 1rem;
}
.testimonial-card p {
  color: #1A2533;
  font-style: italic;
  font-size: 1rem;
  flex: 1 1 auto;
  margin: 0 0 0 0;
}
.testimonial-card span {
  font-size: 1rem;
  color: #60A6A6;
  font-weight: 600;
  margin-left: 8px;
}
.testimonial-card:hover {
  box-shadow: 0 6px 36px rgba(25,52,76,0.11);
  background: #F7F2E9;
}

/*-------------------------------------------
  SPACING AND FLEX LAYOUTS FOR ALL VIEWS
--------------------------------------------*/
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 850px) {
  .section, section {
    padding: 60px 48px;
  }
}

/*-------------------
      FOOTER
--------------------*/
footer {
  background: #fff;
  border-top: 2px solid #E3E9E4;
  padding: 0;
}
footer .container {
  padding: 0 20px 20px 20px;
  max-width: 1140px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 38px;
  margin-bottom: 0;
}
footer > .container > .content-wrapper > a img {
  height: 44px;
  width: auto;
  margin-bottom: 24px;
}
footer nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 8px;
}
footer nav ul li {
  list-style: none;
}
footer nav ul li a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 4px 8px;
  border-radius: 6px;
  color: #19344C;
  transition: background .17s, color .14s;
}
footer nav ul li a:hover, footer nav ul li a:focus {
  background: #F7F2E9;
  color: #60A6A6;
}
footer .text-section {
  font-size: 1rem;
  color: #19344C;
  margin: 0;
}
footer .legal-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: .97rem;
  opacity: 0.9;
}
footer h3 {
  font-size: 1.05rem;
  color: #23425F;
}
@media (min-width: 900px) {
  footer .content-wrapper {
    flex-direction: row;
    align-items: flex-start;
    gap: 34px;
  }
  footer > .container > .content-wrapper > a {
    flex-basis: 120px;
    align-self: flex-start;
    margin-top: 4px;
  }
  footer nav, footer .legal-nav {
    flex: 1 1 180px;
  }
  footer .text-section {
    flex: 1 2 280px;
    max-width: 320px;
  }
}

/*-------------------
    COOKIE BANNER
--------------------*/
.cookie-banner {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #19344C;
  color: #fff;
  font-size: 1rem;
  z-index: 3000;
  padding: 18px 24px 18px 24px;
  justify-content: center;
  box-shadow: 0 -2px 24px rgba(25,52,76,0.12);
  opacity: 0;
  pointer-events: none;
  transform: translateY(60px);
  transition: opacity .22s, transform .22s;
}
.cookie-banner.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cookie-banner p {
  color: #fff;
  margin: 0;
  font-size: 1rem;
  flex: 1 1 240px;
}
.cookie-banner .cookie-btn {
  padding: 8px 22px;
  border-radius: 22px;
  border: none;
  font-size: 1rem;
  background: #fff;
  color: #19344C;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  margin-left: 8px;
  margin-right: 0;
  cursor: pointer;
  transition: background .17s, color .16s, box-shadow .16s;
  box-shadow: 0 2px 10px rgba(25,52,76,0.09);
}
.cookie-banner .cookie-btn.settings {
  background: #F7F2E9;
  color: #19344C;
  margin-left: 8px;
}
.cookie-banner .cookie-btn.accept {
  background: #60A6A6;
  color: #19344C;
}
.cookie-banner .cookie-btn.reject {
  background: #fff;
  color: #19344C;
  border: 1px solid #E3E9E4;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #23425F;
  color: #fff;
}
.cookie-banner .cookie-btn.accept:hover {
  background: #19344C;
  color: #fff;
}
.cookie-banner .cookie-btn.settings:hover {
  background: #60A6A6;
  color: #19344C;
}
.cookie-banner .cookie-btn.reject:hover {
  background: #E9E9E9;
  color: #1A2533;
}

@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 20px 10px;
  }
  .cookie-banner p { margin-bottom: 6px; }
  .cookie-banner .cookie-btn { width: 100%; margin-left: 0; }
}

/*-----------------------------
   COOKIE MODAL/PREFERENCES
------------------------------*/
.cookie-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(25,52,76,.72);
  z-index: 4000;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity .22s;
}
.cookie-modal.open {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-dialog {
  background: #fff;
  color: #19344C;
  border-radius: 18px;
  padding: 38px 22px 22px 28px;
  min-width: 310px;
  max-width: 96vw;
  box-shadow: 0 8px 70px rgba(25,52,76,0.21);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 1rem;
  animation: fadeInUp .4s cubic-bezier(.48,.81,.46,1.15);
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 22px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #19344C;
  cursor: pointer;
  padding: 4px;
  transition: color .17s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  color: #60A6A6;
}
.cookie-modal h2 {
  font-size: 1.24rem;
  margin-bottom: 10px;
}
.cookie-modal ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: disc inside;
  margin: 10px 0 6px 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  background: #F7F2E9;
  border-radius: 10px;
  padding: 10px 16px;
  color: #1A2533;
}
.cookie-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: 40px;
  height: 26px;
  border-radius: 14px;
  background: #E3E9E4;
  position: relative;
  cursor: pointer;
  transition: background .15s;
}
.cookie-toggle input[type="checkbox"] {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.cookie-toggle-slider {
  position: absolute;
  left: 3px; top: 3px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: left .16s, background .13s;
  box-shadow: 0 1px 3px rgba(25,52,76,0.08);
}
.cookie-toggle input:checked + .cookie-toggle-slider {
  left: 17px;
  background: #60A6A6;
}
.cookie-category.essential .cookie-toggle {
  opacity: 0.55;
  pointer-events: none;
}
.cookie-modal-footer {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.cookie-modal-footer .cookie-btn {
  background: #60A6A6;
  color: #19344C;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 1rem;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  transition: background .17s, color .17s;
  cursor: pointer;
}
.cookie-modal-footer .cookie-btn.secondary {
  background: #E3E9E4;
  color: #19344C;
}
.cookie-modal-footer .cookie-btn:hover {
  background: #19344C;
  color: #fff;
}
.cookie-modal-footer .cookie-btn.secondary:hover {
  background: #F7F2E9;
  color: #19344C;
}

@media (max-width: 500px) {
  .cookie-modal-dialog {
    min-width: 88vw;
    padding: 38px 8px 18px 12px;
  }
}

/*------------------------------------
    RESPONSIVE, MOBILE FIRST FLEX
-------------------------------------*/
@media (max-width: 700px) {
  .content-grid, .card-container, .features-list, .step-list, .service-grid, .testimonial-card, .footer .content-wrapper {
    flex-direction: column !important;
    gap: 20px !important;
  }
  .testimonial-card { min-width: 0; width: 100%; max-width: 100%; }
  section, .section { padding: 26px 8px; }
  .card, .service-grid li {
    min-width: 0;
    width: 100%;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start !important;
  }
  .faq-accordion > div {
    padding: 14px 8px 14px 13px;
  }
}

/*----------------------
   FORMS (If needed)
-----------------------*/
input, textarea, select, button {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  outline: none;
  border-radius: 8px;
}
input[type="text"], input[type="email"], input[type="password"], textarea {
  padding: 9px 12px;
  border: 1px solid #E3E9E4;
  background: #fff;
  margin-bottom: 16px;
  width: 100%;
  transition: border-color .16s;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus {
  border-color: #60A6A6;
}
label { font-size: 1rem; font-weight: 500; color: #23425F; margin-bottom: 5px; }
button, input[type="submit"] {
  cursor: pointer;
}

/*------------------------
Accessibility helper
------------------------*/
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/*-------------------------
 ANIMATIONS & MICRO-UX
--------------------------*/
.cta-btn, .cookie-btn, .main-navigation ul li a, .mobile-menu-toggle, .mobile-menu-close {
  transition: background .17s, box-shadow .16s, color .14s, transform .14s;
}
.cta-btn:active, .cookie-btn:active {
  transform: scale(0.97);
}
.card:active, .testimonial-card:active {
  transform: scale(0.98);
}

/*-------------------------
SCROLLBAR (Modern look)
--------------------------*/
::-webkit-scrollbar { width: 9px; background: #E3E9E4; }
::-webkit-scrollbar-thumb { background: #C2CED3; border-radius: 16px; }

/*-------------------------
   MISC: GENERAL
--------------------------*/
hr {
  border: 0;
  border-top: 1px solid #E3E9E4;
  margin: 30px 0;
}

/*-----------------------------------
  TYPOGRAPHY SCALE & HIERARCHY
------------------------------------*/
@media (max-width: 500px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.1rem; }
  h3 { font-size: 1rem; }
  p, li { font-size: .99rem; }
}

/*-----------------------------------
   COLOR THEME UTILITIES
-------------------------------------*/
.bg-primary { background: #19344C!important; color: #fff!important; }
.bg-secondary { background: #60A6A6!important; color: #19344C!important; }
.bg-accent { background: #F7F2E9!important; }
.text-primary { color: #19344C!important; }
.text-secondary { color: #60A6A6!important; }
.text-accent { color: #F7F2E9!important; }

/*-----------------------------------
   PRINT UTILITIES
-------------------------------------*/
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  body, main, section, .section { color: #000!important; background: #fff!important; box-shadow: none!important; }
}

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