/* ---- 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 {
  font-size: 16px;
}
body {
  line-height: 1.5;
  background: #ffffff;
  color: #222938;
  font-family: 'Open Sans', Arial, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #A06D35;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #B98853;
  text-decoration: underline;
}
ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
button {
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', serif;
  color: #222938;
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 16px;
}
h1 { font-size: 2.8rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.35rem; font-weight: 700; margin-bottom: 14px; }
h4 { font-size: 1.1rem; font-weight: 600; }
p, li {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #293146;
  margin-bottom: 12px;
}
strong {
  font-weight: 700;
  color: #222938;
}
.subheadline {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #293146;
  letter-spacing: 0.5px;
}

/* ---- CONTAINER & LAYOUT ---- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.section,
.hero-section,
.features-section,
.about-section,
.team-section,
.diff-section,
.apartment-list-section,
.cta-section,
.benefits-section,
.services-section,
.contact-info-section,
.faq-section,
.map-section,
.thank-you-section,
.legal-section,
.apartments-preview-section,
.testimonials-section,
.contact-cta-section,
.about-preview-section,
.benefit-section,
.testimonial-preview-section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 2px 16px 0 rgba(34,41,56,0.07);
}

@media (max-width:768px) {
  .section,
  .hero-section,
  .features-section,
  .about-section,
  .team-section,
  .diff-section,
  .apartment-list-section,
  .cta-section,
  .benefits-section,
  .services-section,
  .contact-info-section,
  .faq-section,
  .map-section,
  .thank-you-section,
  .legal-section,
  .apartments-preview-section,
  .testimonials-section,
  .contact-cta-section,
  .about-preview-section,
  .benefit-section,
  .testimonial-preview-section {
    padding: 24px 8px;
    border-radius: 16px;
  }
  .container { padding-left: 8px; padding-right: 8px; }
}

.card-container, .apartment-grid, .feature-grid, .benefit-grid, .testimonial-slider, .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card, .apartment-item, .feature-item, .benefit-item, .testimonial-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px rgba(34,41,56,0.09);
  margin-bottom: 20px;
  position: relative;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 235px;
}
@media (max-width:900px) {
  .card-container, .apartment-grid, .feature-grid, .benefit-grid, .testimonial-slider, .testimonial-list {
    gap: 16px;
  }
  .card, .apartment-item, .feature-item, .benefit-item, .testimonial-card { padding: 20px 12px; min-width:unset; }
}

.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;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 18px; }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #F7F7F8;
  border-left: 6px solid #A06D35;
  min-width: 220px;
  max-width: 440px;
  margin-bottom: 20px;
  box-shadow: 0 2px 14px 0 rgba(34,41,56,.08);
  color: #222938;
  font-size: 1rem;
  transition: box-shadow 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 24px 0 rgba(34,41,56,.16);
  border-left-color: #B98853;
}
.review-rating {
  font-family: 'Merriweather', serif;
  font-size: 1.3rem;
  color: #A06D35;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
  font-weight: 700;
}

.feature-item, .benefit-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #F7F5F3;
  border-radius: 12px;
  padding: 22px 16px;
  min-width: 220px;
}
.feature-item img, .benefit-item img {
  width: 44px; height: 44px;
  margin-bottom: 8px;
}
.feature-item h3, .benefit-item h3 {
  color: #222938;
  font-size: 1.1rem;
  font-weight: 800;
}

.apartment-item {
  background: #F7F7F8;
  border: 2px solid #E2DAD2;
  padding: 32px 20px;
  border-radius: 14px;
  margin-bottom: 20px;
  min-width: 240px;
  box-shadow: 0 1px 10px 0 rgba(34,41,56,0.06);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.apartment-item:hover {
  border-color: #B98853;
  box-shadow: 0 7px 18px 0 rgba(176, 141, 83, 0.15);
}

.apartment-list-preview ul,
.team-section ul,
.diff-section ul,
.faq-section ul,
.legal-section ul {
  padding-left: 1.2em;
}
.apartment-list-preview ul li, .team-section ul li, .diff-section ul li, .faq-section ul li, .legal-section ul li {
  list-style: disc inside;
  margin-bottom: 10px;
}
.text-section {
  margin-bottom: 12px;
}

/* ---- BUTTONS & CTA ---- */
.cta-primary, .cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Merriweather', serif;
  font-weight: bold;
  border-radius: 6px;
  padding: 14px 32px;
  min-width: 140px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, border 0.2s;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 2px 10px 0 rgba(34,41,56,0.05);
  margin-top: 10px;
  margin-bottom: 10px;
  border: solid 2px transparent;
}
.cta-primary {
  background: #A06D35;
  color: #fff;
  border-color: #A06D35;
}
.cta-primary:hover, .cta-primary:focus {
  background: #B98853;
  color: #fff;
  border-color: #B98853;
  box-shadow: 0 4px 18px rgba(160,109,53,0.14);
}
.cta-secondary {
  background: #fff;
  color: #A06D35;
  border: 2px solid #A06D35;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #A06D35;
  color: #fff;
  border: 2px solid #A06D35;
  box-shadow: 0 4px 14px rgba(160,109,53,0.10);
}

/* ---- HEADER & NAV ---- */
header {
  background: #222938;
  color: #fff;
  width: 100%;
  box-shadow: 0 4px 18px 0 rgba(34,41,56,0.07);
  padding-top: 0; /* sticky/fixed could be added as needed */
  position: relative;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  min-height: 80px;
  padding-top: 8px;
  padding-bottom: 8px;
}
header img {
  height: 46px;
  width: auto;
  margin-right: 28px;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
.main-nav a {
  color: #fff;
  font-family: 'Merriweather', serif;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 6px 14px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: #A06D35;
  color: #fff;
}
.main-nav .cta-primary {
  margin-left: 12px;
}
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: #fff;
  background: none;
  border: none;
  z-index: 101;
  margin-left: 16px;
  padding: 6px 12px;
  border-radius: 7px;
  transition: background .2s, color .2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #F7F7F8;
  color: #A06D35;
}
@media (max-width: 992px) {
  header .container { flex-direction: row; gap: 6px; }
  .main-nav { gap: 10px; }
}
@media (max-width:768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ---- MOBILE MENU ---- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #222938;
  color: #fff;
  width: 100vw;
  height: 100vh;
  transform: translateX(100%);
  opacity: 1;
  z-index: 1200;
  transition: transform 0.4s cubic-bezier(.62,.19,.32,.99);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 24px 28px 0 28px;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2.2rem;
  position: absolute;
  top: 28px;
  right: 28px;
  border: none;
  cursor: pointer;
  z-index: 10001;
  transition: color .2s, background .2s;
  border-radius: 50%;
  width: 42px; height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #A06D35;
  background: #fff2e3;
}

.mobile-nav {
  margin-top: 76px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
  align-items: flex-start;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.25rem;
  font-family: 'Merriweather', serif;
  font-weight: 700;
  text-transform: uppercase;
  padding: 12px 0;
  transition: color .2s;
  border-radius: 4px;
  width: 100%;
  letter-spacing: 1px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #A06D35;
  background: #fff2e3;
}

@media (min-width:769px) {
  .mobile-menu,
  .mobile-menu.open {
    display: none !important;
  }
}

/* ---- HERO & PAGE INTRO ---- */
.hero-section {
  background: #E2DAD2;
  border-radius: 0 0 50px 50px;
  margin-bottom: 60px;
  padding: 56px 20px 56px 20px;
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
}
.hero-section .content-wrapper {
  align-items: flex-start;
  gap: 18px;
}
@media (max-width:768px) {
  .hero-section {
    padding: 34px 8px;
    border-radius: 0 0 18px 18px;
    min-height: 160px;
  }
}

/* ---- CARDS, LISTS, GRIDS ---- */
.apartment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
@media (max-width: 768px) {
  .apartment-grid { flex-direction: column; gap: 12px; }
}
.apartment-list-preview {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.benefit-grid, .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  margin-top: 16px;
}
@media (max-width: 768px) {
  .feature-grid, .benefit-grid { flex-direction: column; gap: 12px; }
}

.testimonial-slider, .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 14px;
}
@media (max-width: 768px) {
  .testimonial-slider, .testimonial-list { flex-direction: column; gap: 16px; }
}

/* ---- FOOTER ---- */
footer {
  background: #293146;
  color: #fff;
  border-radius: 36px 36px 0 0;
  margin-top: 40px;
  font-size: 1rem;
  letter-spacing: 0.1px;
  padding-bottom: 24px;
}
footer .container {
  padding-top: 38px;
  padding-bottom: 8px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
footer img {
  height: 40px;
  width: auto;
  margin-bottom: 12px;
}
footer .footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
footer .footer-nav a {
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.97rem;
  transition: color 0.18s;
  padding: 6px;
  border-radius: 3px;
}
footer .footer-nav a:hover, footer .footer-nav a:focus {
  color: #A06D35;
  background: #fff2e3;
}
footer .contact-detail {
  font-size: 0.98rem;
  color: #E2DAD2;
}

/* ---- FAQ SECTION ---- */
.faq-section ul {
  margin-top: 12px;
  margin-left: 0;
  padding-left: 1.25em;
}
.faq-section li {
  list-style: disc inside;
  margin-bottom: 14px;
  font-family: 'Open Sans', Arial, sans-serif;
}

/* ---- MAP PLACEHOLDER ---- */
.map-placeholder {
  width: 100%;
  max-width: 320px;
  min-height: 110px;
  background: #E2DAD2;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---- GEOMETRIC DECORATIVE SHAPES ---- */
.section:before, .hero-section:after {
  display: none; /* Add SVG or pseudo geometric background/focus elements if wanted (not required) */
}

/* ---- UTILITIES ---- */
.text-center {
  text-align: center !important;
}
.w-100 {
  width: 100%!important;
}

/* ---- Animations ---- */
.cta-primary, .cta-secondary, .mobile-menu, .mobile-menu-toggle, .card, .apartment-item, .testimonial-card {
  transition: box-shadow .25s, border-color .16s, color .16s, background .18s, transform .18s, opacity .13s;
}

/* ---- Cookie Consent Banner ---- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #293146;
  color: #fff;
  width: 100vw;
  padding: 22px 8px 22px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  z-index: 9999;
  box-shadow: 0 -3px 20px 0 rgba(34,41,56,0.14);
  font-size: 1rem;
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.35s;
  border-radius: 18px 18px 0 0;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(110%);
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-banner button {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 10px 22px;
  border-radius: 6px;
  border: 2px solid transparent;
  margin-right: 4px;
  cursor: pointer;
}
.cookie-banner .cookie-accept {
  background: #A06D35;
  color: #fff;
  border-color: #A06D35;
}
.cookie-banner .cookie-accept:hover, .cookie-banner .cookie-accept:focus {
  background: #B98853;
  border-color: #B98853;
  color: #fff;
}
.cookie-banner .cookie-reject {
  background: #fff;
  color: #A06D35;
  border: 2px solid #A06D35;
}
.cookie-banner .cookie-reject:hover, .cookie-banner .cookie-reject:focus {
  background: #A06D35;
  color: #fff;
}
.cookie-banner .cookie-settings {
  background: none;
  color: #fff;
  border: 2px solid #fff;
}
.cookie-banner .cookie-settings:hover, .cookie-banner .cookie-settings:focus {
  background: #fff2e3;
  color: #A06D35;
  border-color: #A06D35;
}

/* ---- Cookie Modal ---- */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(34,41,56,0.82);
  justify-content: center;
  align-items: center;
  animation: fadeInCookieBg 0.4s;
}
.cookie-modal-overlay.open {
  display: flex;
}
@keyframes fadeInCookieBg {
  0% { opacity: 0; }  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #222938;
  border-radius: 16px;
  max-width: 425px;
  width: 94vw;
  box-shadow: 0 6px 44px 0 rgba(34,41,56,0.18);
  padding: 32px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: popInCookie .32s;
}
@keyframes popInCookie {
  0% { opacity:0; transform: scale(0.85) translateY(28px);} 
  100% { opacity:1; transform: scale(1) translateY(0);}
}
.cookie-modal h2 {
  font-size: 1.34rem; font-family:'Merriweather',serif; font-weight:700; margin-bottom: 2px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #F7F5F3;
  border-radius: 7px;
  padding: 10px 12px;
}
.cookie-category label {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
}
.cookie-category input[type=checkbox] {
  accent-color: #A06D35;
  width: 20px; height: 20px;
  border-radius: 4px;
}
.cookie-category .always-enabled {
  color: #A06D35; font-size: 14px; font-weight: 700; margin-left: 4px;
}
.cookie-modal .cookie-modal-buttons {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
}
.cookie-modal .cookie-modal-buttons button {
  font-family: 'Merriweather', serif;
  font-weight: bold;
  padding: 9px 22px;
  border-radius: 5px;
  border: 2px solid transparent;
  background: #A06D35;
  color: #fff;
  cursor: pointer;
}
.cookie-modal .cookie-modal-buttons .cookie-cancel {
  background: #fff;
  color: #A06D35;
  border: 2px solid #A06D35;
}
.cookie-modal .cookie-modal-buttons .cookie-cancel:hover, .cookie-modal .cookie-modal-buttons .cookie-cancel:focus {
  background: #A06D35;
  color: #fff;
}
.cookie-modal .cookie-modal-buttons .cookie-save:hover, .cookie-modal .cookie-modal-buttons .cookie-save:focus {
  background: #B98853;
  color: #fff;
}

@media (max-width:490px) {
  .cookie-modal { padding: 14px 7px 14px 7px; max-width: 95vw; overflow: auto; }
  .cookie-modal .cookie-modal-buttons { gap: 5px; flex-direction: column; align-items: flex-stretch; }
}

/* ---- Responsive Utilities ---- */
@media (max-width: 768px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.4rem; }
  .container { max-width: 100vw; }
}
@media (max-width: 400px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.08rem; }
  .cta-primary, .cta-secondary { font-size: 0.92rem; padding: 10px 12px; }
}

/* ---- Misc ---- */
::-webkit-scrollbar { width: 7px; background: #E2DAD2; }
::-webkit-scrollbar-thumb { background: #A06D35; border-radius: 3px; }

input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
}

/* ---- Selection Styles ---- */
::selection { background: #B98853; color: #fff; }

/* ---- Bold/Geometric Modern Flair ---- */
.section, .hero-section, .feature-item, .apartment-item, .benefit-item, .testimonial-card {
  box-shadow: 0 4px 16px 0 rgba(34,41,56,0.10);
}
.feature-item, .benefit-item {
  border-left: 6px solid #A06D35;
  transition: border-color .2s;
}
.feature-item:hover, .benefit-item:hover {
  border-left-color: #B98853;
  background: #fff2e3;
}

/**** NO GRID, COLUMNS or CLAMP anywhere ****/
