/* ===== CSS RESET & FOUNDATION ===== */
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: #F4F6F8;
  color: #162133;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
}
ol, ul {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
input, button, textarea, select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}
/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
  --color-primary: #21405B;
  --color-secondary: #6FB39B;
  --color-accent: #F4F6F8;
  --color-electric: #3AF0C1;
  --color-energy: #F9236B;
  --color-yellow: #F8E71C;
  --color-link: #0057FA;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
  --radius-md: 14px;
  --radius-sm: 8px;
  --shadow-card: 0 3px 18px 0 rgba(33,64,91,0.075), 0 2px 6px 0 rgba(0,0,0,0.035);
  --shadow-btn: 0 2px 8px 0 rgba(241,35,107,0.08);
  --shadow-hero: 0 6px 38px 0 rgba(33,64,91,0.2);
  --duration-fast: .15s;
  --duration-normal: .32s;
}

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

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, .btn, nav, .feature-grid h3,
.confirmation h1 { 
  font-family: var(--font-display);
  font-weight: 700;
}
h1 {
  font-size: 2.5rem;
  color: var(--color-primary);
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  color: var(--color-energy); /* Vibrant headline color */
  letter-spacing: -0.5px;
}
h3 {
  font-size: 1.25rem;
  color: var(--color-primary);
  letter-spacing: 0;
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.5rem;
  }
}

p, ul, li, span, strong, .confirmation p {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: #212A38;
  font-weight: 400;
  line-height: 1.7;
}
strong {
  color: var(--color-secondary);
  font-weight: 600;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--color-electric);
  color: #1b212d;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  min-width: 120px;
  margin: 8px 0;
  box-shadow: var(--shadow-btn);
  border: none;
  cursor: pointer;
  transition: background var(--duration-normal), box-shadow var(--duration-normal), color var(--duration-normal), transform var(--duration-fast);
}
.btn:focus,
.btn:hover {
  background: var(--color-energy);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 28px 0 rgba(249,35,107,0.15);
}
.btn-primary {
  background: var(--color-primary);
  color: #fff;
}
.btn-primary:focus,
.btn-primary:hover {
  background: var(--color-secondary);
  color: #0a202c;
}

/* ===== HEADER/NAVIGATION ===== */
header {
  background: #fff;
  box-shadow: 0 2px 16px 0 rgba(33,64,91,0.04);
  position: sticky;
  top: 0;
  z-index: 40;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 18px;
}
.logo {
  display: flex;
  align-items: center;
  height: 48px;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -0.5px;
  color: var(--color-primary);
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: border-color .2s, color .2s;
}
nav a:hover, nav a.active {
  color: var(--color-energy);
  border-bottom: 2px solid var(--color-energy);
}
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: var(--color-electric);
  color: #111;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: background var(--duration-fast);
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--color-energy);
}

@media (max-width: 992px) {
  nav {
    gap: 16px;
  }
}
@media (max-width: 800px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .btn-primary {
    display: none;
  }
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(33,64,91,0.98);
  z-index: 120;
  transform: translateX(-100vw);
  transition: transform var(--duration-normal) cubic-bezier(.68,-0.55,.27,1.55);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 32px;
  gap: 20px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--color-energy);
  color: #fff;
  font-size: 2rem;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  margin-bottom: 12px;
  align-self: flex-end;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: background .14s;
}
.mobile-menu-close:hover {background: var(--color-electric); color: #222;}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  margin-top: 18px;
}
.mobile-nav a {
  font-size: 1.3rem;
  font-family: var(--font-display);
  font-weight: 700;
  padding: 18px 8px;
  border-radius: var(--radius-md);
  color: #fff;
  transition: background .18s, color .21s;
}
.mobile-nav a:focus,.mobile-nav a:hover {
  background: var(--color-secondary);
  color: #10141c;
}

@media (max-width: 600px) {
  .mobile-menu {
    padding: 18px 8px 18px 14px;
  }
  .mobile-nav a {
    font-size: 1.1rem;
    padding: 13px 4px;
  }
}

/* ===== HERO SECTION ===== */
.hero {
  background: linear-gradient(80deg, var(--color-accent) 62%, var(--color-electric) 100%), var(--color-accent);
  padding: 56px 0 46px 0;
  box-shadow: var(--shadow-hero);
  margin-bottom: 62px;
  min-height: 200px;
}
.hero .content-wrapper {
  gap: 24px;
  align-items: flex-start;
  text-align: left;
}
.hero h1 {
  color: var(--color-primary);
}
.hero p {
  color: var(--color-primary);
  font-family: var(--font-body);
  font-size: 1.18rem;
}
@media (max-width: 768px) {
  .hero {
    padding: 36px 0 30px 0;
    margin-bottom: 38px;
  }
  .hero .content-wrapper {
    gap: 18px;
    text-align: left;
    align-items: flex-start;
  }
}

/* ======= SECTION & SPACING ======= */
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background:inherit;
  border-radius: var(--radius-md);
}
section:last-child, .section:last-child { margin-bottom: 0;}
@media (max-width: 540px) {
  .section, section {padding: 22px 4px;}
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}

/* ===== CONTENT/FEATURE FLEXBOX GRIDS ===== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
  margin-bottom: 10px;
}
.feature-grid > div {
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-md);
  padding: 28px 20px 22px 20px;
  gap: 14px;
  min-width: 220px;
  min-height: 135px;
  transition: box-shadow .23s, background .18s, transform .13s;
  border: 2px solid transparent;
}
.feature-grid > div:hover {
  transform: translateY(-6px) scale(1.02);
  background: var(--color-electric);
  border-color: var(--color-secondary);
  box-shadow: 0 16px 64px 0 rgba(111,179,155,0.12);
}
.feature-grid img {
  width: 44px; height: 44px;
  margin-bottom: 5px;
  filter: drop-shadow(0 3px 8px rgba(33,64,91,0.10)) drop-shadow(0 1px 1px rgba(249,35,107,0.04));
}
.feature-grid h3 {
  color: var(--color-primary);
  font-size: 1.2rem;
  font-weight: 700;
}

@media (max-width: 850px) {
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
}

/* ====== APARTMENT CARD GRID ====== */
.apartment-listings-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.apartment-card {
  flex: 1 1 285px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fff;
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-md);
  padding: 24px 18px 20px 18px;
  border-left: 5px solid var(--color-energy);
  position: relative;
  transition: box-shadow .22s, transform .17s;
}
.apartment-card:hover {
  z-index: 2;
  box-shadow: 0 8px 38px 0 rgba(58,240,193,0.12);
  transform: scale(1.025);
}
.apartment-card h3 {
  font-size: 1.15rem;
  color: var(--color-primary);
  margin-bottom: 3px;
}
.apartment-card ul {
  margin-bottom: 6px;
}
.apartment-card ul li {
  font-size: 1rem;
  color: var(--color-secondary);
}

@media (max-width: 900px) {
  .apartment-listings-grid {
    flex-direction: column;
    gap: 18px;
  }
}

/* ===== FILTER OPTIONS ===== */
.filter-options {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.filter-options button {
  font-size: 0.96rem;
  padding: 10px 18px;
  background: var(--color-energy);
  color: #fff;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 500;
  transition: background .19s, color .15s, transform .13s;
}
.filter-options button:hover {
  background: var(--color-secondary);
  color: #202430;
  transform: scale(1.033);
}

/* ===== CARD & LISTING CONTAINERS ===== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 28px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-md);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 18px 22px 18px;
  gap: 18px;
}

.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;
    gap: 24px;
    align-items: flex-start;
  }
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
}

/* ====== TESTIMONIAL CARDS ====== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 19px;
  padding: 25px 28px 20px 24px;
  background: #fff;
  border-left: 6px solid var(--color-secondary);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  box-shadow: var(--shadow-card);
  transition: border-color .19s, background .21s, box-shadow .18s, transform .14s;
}
.testimonial-card:hover {
  border-color: var(--color-energy);
  background: #FAFDFF;
  box-shadow: 0 8px 32px 0 rgba(58,240,193, 0.13);
  transform: scale(1.01) translateY(-4px);
}
.testimonial-card p {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: #181A22;
  line-height: 1.5;
}
.testimonial-card span {
  font-family: var(--font-display);
  margin-top: 6px;
  font-weight: 600;
  color: var(--color-primary);
}

/* ====== PROCESS & TIMELINE ====== */
.process-timeline {
  margin: 24px 0 0 0;
  color: var(--color-primary);
  font-family: var(--font-body);
  font-size: 1.17rem;
  font-weight: 500;
  background: var(--color-electric);
  border-radius: 12px;
  padding: 14px 20px;
  box-shadow: 0 2px 12px 0 rgba(58,240,193,0.08);
}

/* ====== FAQ ACCORDION ====== */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 26px;
  background: none;
  margin: 24px 0;
}
.faq-accordion > div {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 20px 20px 12px 22px;
  box-shadow: var(--shadow-card);
  border-left: 5px solid var(--color-energy);
  transition: box-shadow .17s, border-color .19s;
}
.faq-accordion > div:hover {
  border-color: var(--color-secondary);
  box-shadow: 0 6px 22px 0 rgba(249,35,107,0.08);
}
.faq-accordion h3 {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-size: 1.13rem;
  margin-bottom: 6px;
}
.faq-accordion p {
  font-family: var(--font-body);
  color: #23272b;
}

/* ===== CONTACT & CTA STYLES ===== */
.contact-snippet {
  display: flex;
  align-items: center;
  gap: 12px 24px;
  flex-wrap: wrap;
  margin: 24px 0 0 0;
  font-family: var(--font-body);
  font-size: 1.09rem;
  color: var(--color-primary);
}
.contact-snippet img {height: 20px;width: 20px; vertical-align: middle; margin-right: 4px;}
.contact-details {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 18px;
  font-size: 1.08rem;
  margin: 18px 0;
}
.contact-details img {
  width: 26px;height: 26px; margin-right: 6px;
}
@media (max-width: 650px) {
  .contact-details { flex-direction: column; align-items: flex-start; gap: 10px;}
}
.map-snippet {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 18px 22px;
  margin: 22px 0 0 0;
}
.opening-hours {
  margin: 18px 0 0 0;
  font-size: 1rem;
  color: var(--color-primary);
}

/* ===== UTILS & SIMPLE LAYOUTS ===== */
ul {margin-left: 18px; padding-left: 6px;}
ul li, ol li {margin-bottom: 8px;}
li:last-child {margin-bottom: 0;}
strong {font-weight: bold;}
.text-section {display: flex; flex-direction: column; gap: 20px;}

/* ===== FOOTER STYLES ===== */
footer {
  background: var(--color-primary);
  color: #fff;
  padding: 48px 0 18px 0;
  margin-top: 66px;
  width: 100%;
  box-shadow: 0 -3px 18px 0 rgba(33,64,91,0.08);
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.footer-nav a {
  color: var(--color-secondary);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  transition: color .18s, border-bottom .14s;
  border-bottom: 2px solid transparent;
}
.footer-nav a:focus, .footer-nav a:hover {
  color: var(--color-yellow);
  border-bottom: 2px solid var(--color-yellow);
}
.address-snippet, .legal-info {
  color: #dbe7f0;
  font-size: 0.96rem;
  font-family: var(--font-body);
  margin-bottom: 5px;
}
.social-links {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 2px;
}
.social-links img {
  width: 32px;height: 32px; background: #fff; border-radius: 50%;box-shadow: 0 2px 8px 0 rgba(33,64,91,0.09); padding: 5px;
  transition: transform .17s, box-shadow .22s;
  cursor: pointer;
}
.social-links img:hover {
  background: var(--color-secondary);
  transform: scale(1.08);
  box-shadow: 0 5px 18px 0 rgba(111,179,155,0.18);
}

/* ===== THANK YOU & CONFIRMATION PAGES ===== */
.confirmation {
  margin: 50px 0 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
}
.confirmation h1 {
  color: var(--color-energy);
}
.confirmation .btn-primary {
  margin-top: 28px;
}

/* ====== COOKIE CONSENT BANNER ====== */
#cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 2000;
  width: 100vw;
  background: #fff;
  color: #212a33;
  box-shadow: 0 -2px 22px 0 rgba(33,64,91,0.11);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 36px;
  font-size: 1rem;
  transition: transform .5s cubic-bezier(.62,0,.32,1);
}
#cookie-banner.hidden {
  transform: translateY(120%);
}
#cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
}
#cookie-banner button {
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: 9px 20px;
  border: none;
  cursor: pointer;
  transition: background .18s, color .18s;
}
#cookie-banner button:hover {
  background: var(--color-energy);
}
#cookie-banner .settings-btn {
  background: var(--color-electric);
  color: #184568;
}
#cookie-banner .settings-btn:hover {background: var(--color-secondary); color: #10402a;}
@media (max-width: 700px) {
  #cookie-banner {flex-direction: column;align-items: flex-start; gap: 12px 0; padding: 20px 12px;}
}

/* ====== COOKIE MODAL ====== */
#cookie-modal {
  display: none;
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(13,23,55,0.54);
  z-index: 3000;
  justify-content: center;
  align-items: center;
}
#cookie-modal.open {
  display: flex;
  animation: fadeIn .22s;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  border-radius: var(--radius-md);
  min-width: 310px;
  box-shadow: 0 8px 38px 0 rgba(33,64,91,0.18);
  padding: 30px 36px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: slideInModal .27s;
}
@keyframes slideInModal {
  from {transform: translateY(80px); opacity: 0;}
  to   {transform: none; opacity: 1;}
}
.cookie-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cookie-modal-header h2 {
  font-size: 1.4rem;
  color: var(--color-primary);
}
.cookie-modal-close {
  background: var(--color-energy);
  color: #fff;
  border: none;
  font-size: 1.4rem;
  border-radius: 8px;
  width: 36px;height: 36px;
  cursor: pointer;
  transition: background .16s;
}
.cookie-modal-close:hover {background: var(--color-primary);}
.cookie-categories {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-toggle {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-toggle label {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-primary);
  cursor: pointer;
}
.cookie-toggle input[type="checkbox"] {
  width: 22px; height: 22px;
  accent-color: var(--color-secondary);
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}
.cookie-modal-actions button {
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 700;
  border: none;
  background: var(--color-primary);
  color: #fff;
  cursor: pointer;
  transition: background .18s;
}
.cookie-modal-actions button:hover {
  background: var(--color-energy);
  color: #fff;
}

/* ===== MEDIA QUERIES: LAYOUT RESPONSIVENESS ===== */
@media (max-width: 1050px) {
  .container { max-width: 940px;}
}
@media (max-width: 800px) {
  .container { max-width: 97vw;}
}
@media (max-width: 600px) {
  .container {max-width: 99vw; padding: 0 6px;}
}
@media (max-width: 540px) {
  .btn,.btn-primary { width: 100%; min-width: unset;}
}
@media (max-width: 600px) {
  footer { padding: 34px 0 14px 0; font-size: 0.93rem;}
  .footer-nav, .social-links {gap: 12px;}
  .footer-nav {flex-direction: column; align-items: flex-start;}
  .address-snippet, .legal-info {font-size: 0.88rem;}
}

/* ===== MICRO-INTERACTIONS/TRANSITIONS ===== */
a, .btn, .btn-primary, nav a, .footer-nav a, .mobile-nav a, .apartment-card, .feature-grid > div {
  transition:all .21s cubic-bezier(.47,1.64,.41,.8);
}
.btn:active, .btn-primary:active {
  transform: scale(.97);
}

/* ===== UTILITIES ===== */
.text-center {text-align: center;}
.text-left   {text-align: left;}
.text-right  {text-align: right;}
.hidden      {display:none!important;}

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