/* ==== CSS RESET & BASE 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,
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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { font-size: 100%; }
body { line-height: 1; }
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
ol, ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; border: 0; }
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  padding: 0;
  margin: 0;
  border-radius: 0;
}

/* ==== ROOT & BRAND COLORS ==== */
:root {
  --primary: #194867;
  --secondary: #F5F5F7;
  --accent: #EFC872;
  --white: #fff;
  --gray-100: #F9F9FA;
  --gray-200: #E0E5EA;
  --shadow: rgba(25, 72, 103, 0.10);
  --black: #121417;
}

body {
  background: var(--gray-100);
  color: var(--primary);
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  min-height: 100vh;
}

/* ==== TYPOGRAPHY (creative artistic style) ==== */
h1, .h1 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 2.75rem;
  line-height: 1.1;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 24px;
  letter-spacing: -1px;
  text-shadow: 1px 2px 0 var(--accent);
}
h2, .h2 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--primary);
  letter-spacing: -0.5px;
  text-shadow: 0.5px 1px 0 var(--accent);
}
h3, .h3 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.3rem;
  line-height: 1.25;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0;
}
h4, .h4 {
  font-size: 1.1rem;
  font-weight: 500;
}
p, ul, ol, li, span {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: var(--primary);
  line-height: 1.7;
}
strong, b {
  font-weight: 600;
}

/* Decorative artistic font-play for headers */
h1, h2, h3 {
  font-variant-ligatures: common-ligatures discretionary-ligatures;
}

/* ==== CONTAINER STYLES ==== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==== SECTIONS & SPACING ====*/
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--white);
  border-radius: 24px;
  box-shadow: 0 6px 26px var(--shadow);
  position: relative;
  overflow: visible;
}
main > section:last-child, section:last-child { margin-bottom: 0; }

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.text-section {
  text-align: left;
  align-items: flex-start;
  gap: 20px;
}

/* ===== HEADER NAVIGATION ==== */
header {
  background: var(--primary);
  color: var(--white);
  width: 100%;
  box-shadow: 0 2px 8px rgba(25,72,103,0.05);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
}
.logo img {
  height: 46px;
  display: block;
}
.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--white);
  font-size: 1rem;
  padding: 6px 8px;
  border-radius: 6px;
  transition: background 0.3s;
  letter-spacing: 0.01em;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--accent);
  color: var(--primary);
}
/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: var(--accent);
  color: var(--primary);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s;
  margin-left: 12px;
  border: none;
  outline: none;
  z-index: 1050;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: var(--primary);
  color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent);
}

/* ==== BUTTONS ==== */
.btn-primary, .btn-secondary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.13rem;
  font-weight: 600;
  padding: 14px 36px;
  border-radius: 28px;
  display: inline-block;
  text-align: center;
  letter-spacing: 0.05em;
  box-shadow: 0 6px 20px var(--shadow),0 0 0 1px var(--accent);
  cursor: pointer;
  transition: all 0.23s cubic-bezier(.4,0,.2,1);
}
.btn-primary {
  background: var(--accent);
  color: var(--primary);
  border: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--primary);
  color: var(--accent);
  box-shadow: 0 8px 32px rgba(25,72,103,0.14);
}
.btn-secondary {
  background: var(--primary);
  color: var(--white);
  border: 1.5px solid var(--accent);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--accent);
  color: var(--primary);
}

/* ==== FEATURES & FLEXBOX GAP PATTERNS ==== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--secondary);
  border-radius: 20px;
  padding: 24px;
  min-width: 210px;
  flex: 1 1 200px;
  box-shadow: 0 2px 12px rgba(239,200,114,0.08);
  margin-bottom: 20px;
  transition: box-shadow 0.3s, transform 0.29s;
}
.feature-item img {
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 2px 2px var(--accent));
}
.feature-item:hover {
  box-shadow: 0 8px 32px 0 rgba(25,72,103,0.13);
  transform: translateY(-3px) scale(1.03);
}

/* ==== CARD & FLEX LAYOUTS ==== */
.card-container, .card-grid, .property-grid, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: stretch;
}
.card, .property-card, .testimonial-card {
  margin-bottom: 20px;
  position: relative;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 2px 14px var(--shadow);
  padding: 28px 24px 20px 24px;
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.22s, transform 0.19s;
  border: 1.5px solid var(--accent);
  min-width: 220px;
  max-width: 390px;
}
.card:hover, .property-card:hover, .testimonial-card:hover {
  box-shadow: 0 6px 32px 0 rgba(25,72,103,0.13);
  transform: translateY(-3px);
  border-color: var(--primary);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

/* ==== TEXT & IMAGE SECTIONS ==== */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.text-image-section .text-section,
.text-image-section .image-section {
  flex: 1 1 340px;
  min-width: 250px;
}

/* ==== TESTIMONIALS SECTION ==== */
.testimonial-slider, .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: var(--secondary);
  border: 1.5px solid var(--primary);
  color: var(--primary);
  font-style: italic;
}
.testimonial-card p {
  font-size: 1.13rem;
  color: var(--black);
}
.testimonial-footer span {
  font-size: 1.02rem;
  font-style: normal;
  color: var(--primary);
}
.average-rating {
  margin-top: 18px;
  padding: 10px 20px;
  background: var(--accent);
  text-align: left;
  border-radius: 12px;
  color: var(--primary);
  display: inline-block;
}

/* ==== SERVICES & STEP LISTS ==== */
.services-list,
.core-values-list,
.selection-criteria-list,
.rental-advantages-list,
.process-steps-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-left: 20px;
}
.services-list li, .core-values-list li,
.selection-criteria-list li, .rental-advantages-list li,
.process-steps-list li {
  position: relative;
  padding-left: 22px;
  font-size: 1.09rem;
  color: var(--primary);
}
.services-list li:before,
.core-values-list li:before,
.selection-criteria-list li:before,
.rental-advantages-list li:before,
.process-steps-list li:before {
  content: '\2022';
  color: var(--accent);
  font-size: 1.5rem;
  position: absolute;
  left: 0; top: 1px;
}
.services-list li img {
  display: inline-block;
  vertical-align: middle;
  width: 28px;
  height: 28px;
  margin-right: 8px;
}

/* === FILTER BAR === */
.filter-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  background: var(--gray-200);
  padding: 10px 18px;
  border-radius: 10px;
  margin-bottom: 18px;
  margin-top: 8px;
  font-size: 0.97rem;
  color: var(--primary);
}
.filter-label {
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--primary);
}
.result-count {
  font-weight: 600;
  color: var(--accent);
}

/* ==== FOOTER ==== */
footer {
  background: var(--primary);
  color: var(--white);
  padding: 44px 0 20px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.footer-links a {
  color: var(--white);
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.01em;
}
.footer-links a:hover {
  color: var(--accent);
  text-decoration: underline;
}
.footer-info {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 0.98rem;
  align-items: flex-start;
}
.footer-info span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.footer-social {
  margin-top: 8px;
  display: flex;
  gap: 22px;
}
.footer-social a img {
  height: 27px;
  width: 27px;
  filter: drop-shadow(1px 2px 0 var(--accent));
  transition: filter 0.19s;
}
.footer-social a:hover img {
  filter: drop-shadow(1px 2px 0 var(--white));
}

/* ==== CONTACT DETAIL STYLES ==== */
.contact-details ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-details li {
  font-size: 1.06rem;
}

/* ==== RESPONSIVE STYLES ==== */
@media (max-width: 1100px) {
  .container { max-width: 97vw; }
}
@media (max-width:900px) {
  .container { max-width: 97vw; }
  .feature-grid, .property-grid, .testimonial-slider, .testimonial-list, .footer-info {
    flex-wrap: wrap;
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .container { padding: 0 10px; }
  section, .section { padding: 24px 8px; margin-bottom: 36px; }
  h1, .h1 { font-size: 2.1rem; margin-bottom: 15px; }
  h2, .h2 { font-size: 1.5rem; }
  .main-nav { display: none; }
  .btn-primary, .btn-secondary { font-size: 1rem; padding: 12px 18px; }
  .mobile-menu-toggle { display: flex; }
  .text-image-section { flex-direction: column; gap: 18px; }
  .feature-grid, .property-grid, .testimonial-slider, .testimonial-list, .footer-info {
    flex-direction: column;
    gap: 14px;
  }
  .footer-links { flex-direction: column; gap: 8px; }
}
@media (max-width: 530px) {
  h1, .h1 { font-size: 1.37rem; }
  h2, .h2 { font-size: 1.11rem; }
  .feature-item, .property-card, .testimonial-card {
    min-width: 99px;
    padding: 16px;
  }
}

/* ==== MOBILE MENU ==== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  z-index: 1200;
  background: rgba(25,72,103,0.98);
  transform: translateX(100%);
  display: flex; flex-direction: column; align-items: flex-start;
  transition: transform 0.33s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  font-size: 2rem;
  color: var(--accent);
  background: var(--primary);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  display: flex;
  position: absolute; top: 24px; right: 14px;
  border: none;
  z-index: 1250;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(194,194,194,0.08);
  transition: background 0.2s,color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--accent);
  color: var(--primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  margin-top: 80px;
  align-items: flex-start;
  padding-left: 32px;
}
.mobile-nav a {
  font-size: 1.23rem;
  font-family: 'Montserrat',Arial,sans-serif;
  color: var(--accent);
  padding: 10px 0;
  border-radius: 8px;
  transition: color 0.25s, background 0.23s;
  min-width: 220px;
  margin-right: 22px;
  font-weight: 600;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent);
  color: var(--primary);
}

/* ==== COOKIE CONSENT BANNER ==== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 -2px 20px rgba(25,72,103,0.10);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  z-index: 3001;
  padding: 22px 16px 22px 18px;
  gap: 24px;
  font-size: 1rem;
  border-radius: 16px 16px 0 0;
  animation: banner-show 0.6s cubic-bezier(.55,.09,.68,.53);
}
@media (max-width: 630px) {
  .cookie-banner { flex-direction: column; gap: 16px; font-size: 0.97rem; }
}
@keyframes banner-show {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.cookie-banner button {
  font-size: 1rem;
  border-radius: 8px;
  padding: 10px 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background 0.16s, color 0.16s;
  margin-right: 6px;
}
.cookie-banner .accept {
  background: var(--accent);
  color: var(--primary);
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: var(--white);
  color: var(--primary);
}
.cookie-banner .reject {
  background: var(--white);
  color: var(--primary);
  border: 1px solid var(--accent);
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: var(--accent);
  color: var(--white);
}
.cookie-banner .settings {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: var(--accent);
  color: var(--primary);
}

/* ==== COOKIE SETTINGS MODAL ==== */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(25,72,103,0.50);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  animation: fadeInModal 0.32s;
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal .cookie-modal-content {
  background: var(--white);
  border-radius: 18px;
  padding: 40px 24px 32px 24px;
  max-width: 380px;
  width: 98vw;
  box-shadow: 0 12px 40px rgba(25,72,103,0.17);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  animation: modal-content-show 0.33s cubic-bezier(.4,0,.2,1);
}
@keyframes modal-content-show {
  from { transform: scale(0.78) translateY(40px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal .cookie-modal-close {
  position: absolute; top: 16px; right: 20px;
  font-size: 1.5rem;
  color: var(--primary);
  background: var(--accent);
  border-radius: 50%;
  width: 34px; height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
}
.cookie-modal .cookie-modal-close:hover {
  background: var(--primary);
  color: var(--accent);
}
.cookie-modal h3 { font-size: 1.13rem; margin-bottom: 10px; }
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}
.cookie-category label {
  flex: 1;
}
.cookie-toggle {
  width: 45px; height: 27px;
  background: var(--gray-200);
  border-radius: 20px;
  position: relative;
  transition: background 0.16s;
  cursor: pointer;
}
.cookie-toggle input {
  display: none;
}
.cookie-toggle .toggle-slider {
  position: absolute;
  left: 2px; top: 2px;
  width: 22px; height: 22px;
  background: var(--primary);
  border-radius: 50%;
  transition: 0.18s;
}
.cookie-toggle input:checked + .toggle-slider {
  background: var(--accent);
  left: 21px;
}
.cookie-category .category-desc {
  font-size: 0.92rem;
  color: var(--primary);
  font-family: 'Roboto', Arial, sans-serif;
}

/* ==== ANIMATIONS ==== */
@media (prefers-reduced-motion: no-preference) {
  .btn-primary, .btn-secondary, .feature-item, .card, .property-card, .testimonial-card {
    transition: box-shadow 0.19s, background 0.14s, color 0.13s, transform 0.19s;
  }
  .btn-primary:hover, .btn-secondary:hover, .main-nav a:hover, .footer-links a:hover {
    transition: background 0.18s, color 0.13s;
  }
  .mobile-menu, .cookie-banner {
    transition: transform 0.33s, opacity 0.19s;
  }
  .cookie-modal .cookie-modal-content {
    transition: box-shadow 0.23s, transform 0.15s;
  }
}

/* ==== UTILITARY CLASSES ==== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-20 { margin-top: 20px !important; }
.mb-24 { margin-bottom: 24px !important; }

/* ==== OVERLAP PREVENTION ==== */
.card, .property-card, .testimonial-card, .feature-item, section, .section {
  margin-bottom: 20px;
}

/* Ensure text-image sections and content grids have gap > 20px */
.text-image-section, .content-grid {
  gap: 30px;
}

/* ==== REMOVE ABSOLUTE POSITIONING FOR CONTENT ELEMENTS ==== */
/* Only decorative: mobile-menu-close, cookie-modal-close OK */

/* ==== END ==== */
