/* ------------------ 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;
  outline: none;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #254263;
  background: #FCFCFC;
  line-height: 1.6;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
  border: 0;
}

a {
  color: #254263;
  text-decoration: none;
  transition: color 0.18s cubic-bezier(.81,-0.06,.63,1.47);
}

a:hover, a:focus {
  color: #F28B2B;
}

ul, li {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
  width: 100%;
}

.content-wrapper {
  width: 100%;
  margin: 0 auto;
}

hr {
  border: 0;
  border-top: 2px dashed #AAD2C2;
  margin: 24px 0;
}

/* ------------- TYPOGRAPHY ------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: .01em;
  color: #254263;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 24px;
  font-family: 'Montserrat', sans-serif;
  text-shadow: 0 2px 4px rgba(244,233,218,.15);
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  color: #254263;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
p, ul li, ol li {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 10px;
}

strong, b {
  font-weight: 700;
}

del, s {
  color: #F28B2B;
}

em, i {
  color: #368891;
}

/* Fun Fonts for Playful Dynamic */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Roboto:wght@400;500&display=swap');

/* ------------- BRAND COLORS ------------- */
:root {
  --primary: #254263;
  --secondary: #AAD2C2;
  --accent: #F4E9DA;
  --highlight: #F28B2B; /* popped orange for playful accents */
  --warning: #FFD247;
  --success: #9DDF6A;
  --text-dark: #254263;
  --text-light: #fff;
  --background: #FCFCFC;
  --shadow-1: 0 2px 12px 0 rgba(42,54,80,0.11);
  --shadow-2: 0 4px 20px 0 rgba(42,54,80,0.17);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
}

/* ------------- PLAYFUL DYNAMIC ANIMATION ------------- */
@keyframes bounce {
  0%   { transform: translateY(0); }
  35%  { transform: translateY(-6px); }
  60%  { transform: translateY(3px); }
  85%  { transform: translateY(-2px); }
  100% { transform: translateY(0); }
}

@keyframes fadeInUp {
  0%   {opacity: 0; transform: translateY(30px);}
  100% {opacity: 1; transform: translateY(0);}
}

@keyframes glitter {
  0%,100% { box-shadow: 0 2px 16px 0 #F28B2B80; }
  50% { box-shadow: 0 4px 24px 0 #AAD2C2BB; }
}

/* ------------- LAYOUT SPACING & FLEXBOX ------------- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}

.card {
  margin-bottom: 20px;
  position: relative;
  box-shadow: var(--shadow-1);
  border-radius: var(--radius-md);
  background: #fff;
  overflow: hidden;
  transition: box-shadow .2s cubic-bezier(.76, .12, .33, 1.13), transform .18s cubic-bezier(.7,-0.16,.7,1.19);
  display: flex;
  flex-direction: column;
}
.card:hover {
  box-shadow: var(--shadow-2);
  transform: translateY(-3px) scale(1.023);
  animation: bounce .5s;
  z-index: 2;
}

.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;
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--accent);
  box-shadow: var(--shadow-1);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 20px;
  transition: box-shadow .2s;
  color: #254263;
}
.testimonial-card:hover {
  background: #fffbe4;
  box-shadow: var(--shadow-2);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.feature-grid, .team-grid, .property-list, .faq-list, .article-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}

.feature-grid > div, .team-grid > div, .property-card, .faq-list > div, .article-list > li {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-1);
  padding: 24px 20px 20px 20px;
  flex: 1 1 230px;
  min-width: 220px;
  max-width: 325px;
  margin-bottom: 20px;
  transition: box-shadow .2s, transform .15s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.feature-grid > div:hover, .team-grid > div:hover, .property-card:hover, .faq-list > div:hover, .article-list > li:hover {
  box-shadow: var(--shadow-2);
  transform: translateY(-2px) scale(1.022);
}

.team-grid img {
  width: 56px;
  height: 56px;
  margin-bottom: 8px;
}

.property-list {
  margin-bottom: 18px;
}

.quick-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 9px 0 26px 0;
  font-size: 1rem;
}
.quick-filters span {
  font-weight: 500;
  background: var(--secondary);
  color: #254263;
  padding: 3px 14px;
  margin-right: 7px;
  border-radius: var(--radius-sm);
  display: inline-block;
  transition: background .16s;
}
.quick-filters span:hover {
  background: var(--highlight);
  color: #fff;
}

.contact-details, .contact-options, .company-info, .opening-hours {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 14px;
}
.contact-details img, .contact-options img {
  width: 22px;
  height: 22px;
  vertical-align: middle;
  margin-right: 8px;
}

.next-steps ul {
  margin: 10px 0 16px 24px;
  padding-left: 0;
}
.next-steps li {
  list-style-type: disc;
  margin-bottom: 7px;
  margin-left: 14px;
  color: #254263;
}

/* -------------------------------- HEADER & NAV ---------------------------------- */
header {
  background: var(--accent);
  width: 100%;
  box-shadow: var(--shadow-1);
  position: sticky;
  top: 0;
  z-index: 200;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 18px;
  position: relative;
  padding-top: .5rem;
  padding-bottom: .5rem;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.07rem;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--primary);
  padding: 5px 13px;
  border-radius: var(--radius-sm);
  transition: background .18s, color .18s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--secondary);
  color: var(--highlight);
  animation: bounce .6s;
}

.cta-button.primary, .cta-button.secondary {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: .01em;
  padding: 12px 26px;
  border-radius: var(--radius-md);
  display: inline-block;
  text-align: center;
  margin: 14px 0 0 15px;
  background: var(--primary);
  color: #fff;
  transition: background .22s, color .18s, transform .18s;
  box-shadow: var(--shadow-1);
  border: none;
  position: relative;
  z-index: 1;
}
.cta-button.primary {
  background: linear-gradient(90deg, #254263 75%, #F28B2B 100%);
}
.cta-button.secondary {
  background: var(--secondary);
  color: var(--primary);
  margin-left: 0;
  margin-top: 14px;
}
.cta-button.primary:hover, .cta-button.primary:focus {
  background: #F28B2B;
  color: #fff;
  transform: scale(1.06) rotate(-1deg);
  box-shadow: var(--shadow-2);
  animation: bounce .45s;
}
.cta-button.secondary:hover, .cta-button.secondary:focus {
  background: #F28B2B;
  color: #fff;
  transform: scale(1.04) rotate(1deg);
  box-shadow: var(--shadow-2);
  animation: bounce .32s;
}

/* -------------------- MOBILE MENU ------------------- */
.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  padding: 0 10px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-md);
  margin-left: auto;
  border: none;
  transition: background .18s, color .18s;
  z-index: 220;
  box-shadow: var(--shadow-1);
}
.mobile-menu-toggle:active {
  background: #F28B2B;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: var(--accent);
  z-index: 3000;
  transform: translateX(-110vw);
  transition: transform .38s cubic-bezier(.76,.08,.41,1.01);
  box-shadow: var(--shadow-2);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0vw);
  animation: fadeInUp .6s;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.2rem;
  padding: 14px 18px;
  margin: 8px 13px 0 0;
  color: var(--primary);
  background: none;
  border: none;
  border-radius: var(--radius-lg);
  transition: background .15s, color .15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F4E9DA;
  color: #F28B2B;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 19px;
  padding: 40px 24px 24px 32px;
  margin-top: 30px;
}
.mobile-nav a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--primary);
  background: #fff;
  padding: 13px 18px; 
  border-radius: var(--radius-md);
  margin-bottom: 5px;
  transition: background .2s, color .18s, transform .20s;
  box-shadow: var(--shadow-1);
  display: inline-block;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  color: #F28B2B;
  background: var(--secondary);
  transform: scale(1.04);
}

/* Hide desktop navigation on mobile, show burger */
@media (max-width: 900px) {
  .main-nav, .cta-button.primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block !important;
  }
}

/* Show desktop nav, hide mobile nav by default */
@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* -------------- MAIN LAYOUT & SECTIONS -------------- */
main {
  padding-top: 24px;
  padding-bottom: 30px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.service-list {
  margin-bottom: 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.service-list li {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 16px 16px 14px 16px;
  margin-bottom: 5px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  box-shadow: var(--shadow-1);
  min-width: 0;
}
.service-list li img {
  width: 32px;
  height: 32px;
  margin-right: 5px;
}
.service-list strong {
  margin-right: 4px;
}
.service-list span {
  margin-left: 8px;
  color: var(--highlight);
  font-weight: 600;
  background: var(--accent);
  border-radius: var(--radius-sm);
  padding: 2px 13px;
}
.service-list a {
  margin-left: auto;
  font-size: 1rem;
  font-family: 'Montserrat',sans-serif;
}

.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 16px 0 18px 0;
}
.faq-list > div {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-1);
  padding: 18px 18px 14px 18px;
  min-width: 220px;
  max-width: 465px;
  flex: 1 1 220px;
  transition: box-shadow .18s, transform .15s;
  margin-bottom: 20px;
}
.faq-list > div:hover {
  box-shadow: var(--shadow-2);
  transform: translateY(-3px) scale(1.024);
}
.faq-list h3 {
  font-size: 1.07rem;
  margin-bottom: 8px;
  color: #254263;
  font-family: 'Montserrat',sans-serif;
  font-weight: 700;
}

.article-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.article-list li {
  flex: 1 1 220px;
  max-width: 330px;
  min-width: 205px;
  margin-bottom: 20px;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-1);
  padding: 21px 18px 18px 18px;
  display: flex;
  flex-direction: column;
}
.article-list li:hover {
  box-shadow: var(--shadow-2);
  transform: scale(1.016); 
  animation: bounce .36s;
}

.property-card {
  transition: box-shadow .19s, transform .19s;
  border-bottom: 4px solid var(--highlight);
  cursor: pointer;
}
.property-card:hover {
  box-shadow: var(--shadow-2);
  background: #fffbe4;
  transform: scale(1.022) translateY(-2px);
}

.contact-teaser {
  margin-top: 20px;
}
.contact-teaser a {
  color: #ffffff;
  background: #F28B2B;
  border-radius: var(--radius-sm);
  padding: 6px 18px;
  font-family: 'Montserrat',sans-serif;
  font-weight: 700;
  transition: background .15s, transform .18s;
  text-shadow: 0 2px 6px #25426322;
  box-shadow: var(--shadow-1);
}
.contact-teaser a:hover {
  background: var(--primary);
  color: #fff;
  transform: scale(1.06);
}

/* ---------------------- FOOTER ---------------------- */
footer {
  margin-top: 38px;
  padding: 34px 0 0 0;
  background: var(--primary);
  color: #fff;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  padding: 0 0 16px 0;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 15px;
  align-items: center;
}
footer nav a {
  font-size: 1.02rem;
  color: #fff;
  text-decoration: underline;
}
footer nav a:hover, footer nav a:focus {
  color: var(--highlight);
}
footer .company-info {
  font-size: 0.98rem;
  color: #fff;
  text-align: left;
  margin-top: 4px;
}

/* ---------------- RESPONSIVENESS ------------------- */
@media (max-width: 1050px) {
  .content-grid, .feature-grid, .team-grid, .property-list, .article-list, .faq-list {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .footer .content-wrapper {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start !important;
  }
}
@media (max-width: 800px) {
  .container {
    padding: 0 7px;
  }
  .content-grid, .feature-grid, .team-grid, .property-list, .article-list, .faq-list {
    flex-direction: column;
    gap: 13px;
  }
  .section, section {
    padding: 25px 4vw;
    margin-bottom: 37px;
  }
  .content-wrapper {
    padding-left: 0;
    padding-right: 0;
  }
}
@media (max-width: 768px) {
  .content-grid, .feature-grid, .team-grid, .property-list, .article-list, .faq-list {
    flex-direction: column;
    gap: 10px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
  }
  .footer .content-wrapper {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
}
@media (max-width: 480px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.25rem; }
  .section, section { padding: 18px 2vw; }
  .card, .property-card, .article-list li, .faq-list > div, .feature-grid > div, .team-grid > div {
    padding: 14px 7px 9px 10px;
    min-width: 0;
    font-size: .98rem;
  }
  .cta-button.primary, .cta-button.secondary {
    font-size: 1.03rem;
    padding: 11px 12px;
  }
}

/* ------------------- INTERACTIVES ------------------- */
::-webkit-input-placeholder { color: #959fa7; }
::-moz-placeholder          { color: #959fa7; }
:-ms-input-placeholder      { color: #959fa7; }
::placeholder              { color: #959fa7; }

blockquote {
  border-left: 5px solid var(--secondary);
  background: var(--accent);
  padding: 13px 22px 13px 25px;
  color: #254263;
  font-style: italic;
  margin-bottom: 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-1);
}

/* ----------- COOKIE CONSENT BANNER & MODAL ---------- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: var(--secondary);
  color: var(--primary);
  box-shadow: 0 -2px 16px 0 #25426329;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 22px 12px;
  z-index: 5550;
  animation: fadeInUp .68s;
  font-size: 1.01rem;
}
.cookie-banner-content {
  max-width: 990px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 13px;
  margin-left: 10px;
}
.cookie-btn {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-md);
  padding: 8px 16px;
  background: #fff;
  color: var(--primary);
  border: none;
  margin: 0;
  cursor: pointer;
  transition: background .13s, color .13s, transform .16s;
  box-shadow: var(--shadow-1);
}
.cookie-btn.accept-all {
  background: var(--primary);
  color: #fff;
}
.cookie-btn.accept-all:hover {
  background: #F28B2B;
}
.cookie-btn.reject-all {
  background: #fffbe4;
  color: #254263;
}
.cookie-btn.reject-all:hover {
  background: #F28B2B;
  color: #fff;
}
.cookie-btn.settings {
  background: var(--secondary);
  color: #254263;
  border: 2px solid #2542632a;
}
.cookie-btn.settings:hover {
  background: #fff;
}
@media (max-width: 600px) {
  .cookie-banner-content {
    flex-direction: column;
    gap: 10px;
  }
  .cookie-banner {
    padding: 18px 5px;
    font-size: .97rem;
  }
}

.cookie-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(37,66,99, 0.65);
  z-index: 6660;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInUp .3s;
}
.cookie-modal {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2);
  padding: 38px 32px 32px 32px;
  max-width: 370px;
  min-width: 0;
  width: 90vw;
  position: relative;
  animation: fadeInUp .35s;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-modal h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--primary);
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
}
.cookie-toggle {
  accent-color: var(--highlight);
  width: 18px;
  height: 18px;
}
.cookie-modal-close {
  position: absolute;
  top: 17px;
  right: 17px;
  background: #fff;
  color: #254263;
  border: none;
  font-size: 1.5rem;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background .13s;
  z-index: 1;
}
.cookie-modal-close:hover {
  background: #FFD247;
}
.cookie-modal-actions {
  margin-top: 14px;
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}

/* Accessible focus styles */
a:focus, button:focus {
  outline: 2px dashed var(--highlight);
  outline-offset: 2px;
}

/* -------------- MICRO-INTERACTIONS --------------- */
.cta-button, .main-nav a, .service-list li, .cookie-btn, .property-card {
  transition-property: color, background, box-shadow, transform;
  transition-duration: .18s, .18s, .21s, .19s;
  transition-timing-function: cubic-bezier(.82,-0.14,.62,1.18);
}

.testimonial-card:hover img, .team-grid > div:hover img {
  animation: bounce .81s;
}

input[type='checkbox'] {
  width: 1.1em;
  height: 1.1em;
  accent-color: var(--primary);
}

/* --------- MISC CLASSES FROM HTML STRUCTURE --------- */
.next-steps {
  margin-bottom: 21px;
}

.map-snippet {
  background: #AAD2C210;
  border-left: 6px solid #AAD2C2;
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  margin: 15px 0px 20px 0px;
  color: #254263;
}
.opening-hours {
  font-size: .98rem;
  color: #25426399;
  font-family: 'Roboto',sans-serif;
  margin-top: 0;
}

.contact-info {
  margin-top: 14px;
  color: #fff;
  background: var(--primary);
  border-radius: var(--radius-md);
  font-size: 1.02rem;
  padding: 7px 18px;
  box-shadow: var(--shadow-1);
  font-family: inherit;
}

/* ------------- ACCESSIBILITY AND PRINT ------------- */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay {
    display: none !important;
  }
  body {
    color: #000;
    background: #fff;
  }
}

/* ------------ MISC: ENSURE NO OVERLAPS ------------- */
.card, .testimonials-card, .property-card, .team-grid > div, .faq-list > div, .article-list li {
  margin-bottom: 20px;
}

/* ------------ VISUAL HIERARCHY EXTRAS ------------- */
h2:before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 8px;
  background: var(--highlight);
  margin-right: 10px;
  border-radius: 9px;
  opacity: .66;
  margin-bottom: 3px;
}
h2 {
  position: relative;
}
h2:after {
  content: '';
  display: inline-block;
  height: 6px;
  width: 18px;
  background: var(--secondary);
  opacity: .5;
  border-radius: 12px;
  margin-left: 9px;
  margin-bottom: 2px;
}

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