/* SkyNest Realty SCANDINAVIAN CLEAN STYLE CSS  */
/* ======================= CSS RESET ======================= */
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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background-color: #FAF9F6;
  color: #264653;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
a {
  color: #264653;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F4A261;
  outline: none;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  display: block;
}
ul, ol {
  list-style: none;
}
strong {
  font-weight: 600;
}

/* ======================= TYPOGRAPHY ======================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  color: #264653;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.5rem; margin-bottom: 12px; }
h4 { font-size: 1.2rem; margin-bottom: 10px; font-weight: 600; }
h5, h6 { font-size: 1rem; margin-bottom: 8px; font-weight: 600; }
p, li {
  font-size: 1rem;
  color: #345063;
  margin-bottom: 12px;
  line-height: 1.7;
}

/* Adjust typography for smaller screens */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.2rem; }
}

/* ======================= LAYOUT CONTAINERS ======================= */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (min-width: 800px) {
  .content-wrapper {
    gap: 32px;
  }
}

/* Section style (spacing, scandinavian clean) */
section {
  background: #FFFFFF;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(39, 62, 71, 0.07);
  margin-bottom: 60px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s;
}
@media (max-width: 600px) {
  section {
    padding: 24px 10px;
    margin-bottom: 32px;
    border-radius: 12px;
  }
}

/* ======================= MAIN NAVIGATION ======================= */
header {
  background: #fff;
  border-bottom: 1px solid #ececec;
  box-shadow: 0 2px 8px rgba(39, 62, 71, 0.07);
  position: relative;
  z-index: 20;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1080px;
  margin: 0 auto;
  padding: 18px 20px;
  position: relative;
  z-index: 2;
}
.main-nav img {
  height: 44px;
}
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav li {
  margin: 0;
}
.main-nav a {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 6px 0;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.main-nav ul a:hover,
.main-nav ul a:focus {
  background: #F4A261;
  color: #264653;
}
.cta-btn {
  background: #264653;
  color: #FFF;
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  border-radius: 8px;
  padding: 10px 26px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  margin-left: 24px;
  transition: background 0.18s, box-shadow 0.22s, color 0.18s;
  box-shadow: 0 2px 12px rgba(244, 162, 97, 0.10);
}
.cta-btn:hover, .cta-btn:focus {
  background: #F4A261;
  color: #264653;
  box-shadow: 0 4px 20px rgba(39, 62, 71, 0.13);
}

/* Hide mobile nav button by default */
.mobile-menu-toggle {
  display: none;
}

/* ======================= BURGER MOBILE MENU ======================= */
@media (max-width: 992px) {
  .main-nav ul,
  .main-nav .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    right: 20px;
    top: 22px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #264653;
    cursor: pointer;
    z-index: 3;
    transition: background 0.2s;
    padding: 6px 10px;
    border-radius: 6px;
  }
  .mobile-menu-toggle:focus {
    background: #E9C46A;
  }
}
/* ----- Mobile Menu Overlay ------ */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  box-shadow: 2px 0 18px rgba(38, 70, 83, 0.08);
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.75,.09,.32,1.36);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0 0 0;
  width: 100vw;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.3rem;
  color: #264653;
  position: absolute;
  top: 16px;
  right: 22px;
  cursor: pointer;
  z-index: 1002;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.15s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: #F4A261;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 68px;
  padding: 0 28px;
  gap: 16px;
}
.mobile-nav a {
  color: #264653;
  font-size: 1.15rem;
  padding: 12px 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  border-radius: 8px;
  width: 100%;
  display: block;
  transition: background 0.16s, color 0.18s;
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  background: #F4A261;
  color: #fff;
}

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

/* ======================= FOOTER ======================= */
footer {
  background: #FCFCFB;
  border-top: 1px solid #eeeeee;
  box-shadow: 0 -2px 8px rgba(38, 70, 83, 0.06);
  padding: 34px 0 22px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 15px;
  color: #345063;
}
.footer-nav {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin-bottom: 8px;
}
.footer-nav a {
  color: #264653;
  font-weight: 500;
  font-family: 'Montserrat', Arial, sans-serif;
  margin: 0 4px;
  transition: color 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #F4A261;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 6px;
  text-align: center;
  gap: 4px;
}
footer p {
  margin-top: 6px;
  margin-bottom: 0;
  font-size: 0.97rem;
  color: #264653;
  opacity: 0.8;
}

/* ======================= BUTTONS & FORMS ======================= */
button, .cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  transition: background 0.16s, color 0.16s, box-shadow 0.19s;
}
button:not(.mobile-menu-toggle):not(.mobile-menu-close),
.cta-btn {
  border: none;
  border-radius: 8px;
  padding: 10px 26px;
  font-size: 1.1rem;
  min-width: 130px;
  background: #264653;
  color: #FFF;
}
button:not(.mobile-menu-toggle):not(.mobile-menu-close):hover,
.cta-btn:hover,
button:not(.mobile-menu-toggle):not(.mobile-menu-close):focus,
.cta-btn:focus {
  background: #F4A261;
  color: #264653;
  box-shadow: 0 4px 16px rgba(244, 162, 97, 0.17);
}
button:active,
.cta-btn:active {
  background: #E9C46A;
  color: #264653;
}

/* ======================= HERO / MAIN SECTION / UTILITY FLEX CLASSES ======================= */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(38, 70, 83, 0.07);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 220px;
  flex: 1 1 260px;
  transition: box-shadow 0.22s, transform 0.22s;
}
.card:hover {
  box-shadow: 0 8px 28px rgba(244, 162, 97, 0.13);
  transform: translateY(-2px) scale(1.012);
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 28px;
  background: #FFF;
  border-radius: 14px;
  box-shadow: 0 2px 18px rgba(38, 70, 83, 0.10);
  margin-bottom: 20px;
  margin-top: 8px;
  border-left: 6px solid #F4A261;
  transition: box-shadow 0.18s;
}
.testimonial-card p {
  margin-bottom: 0;
  color: #314455;
  font-size: 1.1rem;
}
.testimonial-card strong {
  color: #264653;
  font-weight: 700;
}
.testimonial-card:hover {
  box-shadow: 0 6px 28px rgba(233, 196, 106, 0.16);
}

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

/* Utility spacing classes */
.mb-20 { margin-bottom: 20px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-60 { margin-bottom: 60px; }

/* ======================= UL / LI LISTS (Styled) ======================= */
ul, ol {
  margin-bottom: 12px;
  padding-left: 0;
}
ul li {
  padding-left: 32px;
  position: relative;
  margin-bottom: 14px;
  color: #345063;
  font-size: 1.01rem;
  line-height: 1.7;
}
ul li img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  margin-right: 9px;
  position: absolute;
  left: 0;
  top: 2px;
}

/* Remove left padding for lists with icons only */
ul li:has(img) {
  padding-left: 36px;
}

@media (max-width: 600px) {
  ul li, ol li {
    padding-left: 22px;
    font-size: 0.98rem;
  }
  ul li img {
    width: 17px;
    height: 17px;
    left: 0;
    top: 3px;
  }
}

/* ======================= RESPONSIVE FLEXBOX BREAKPOINTS ======================= */
@media (max-width: 768px) {
  .content-wrapper,
  .content-grid,
  .card-container,
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
  .footer-contact {
    font-size: 0.97rem;
  }
}

/* ======================= VISUAL SCANDINAVIAN EFFECTS ======================= */
section, .card, .testimonial-card {
  box-shadow: 0 2px 10px rgba(38, 70, 83, 0.08);
}
section, .card, .testimonial-card, .cta-btn {
  border-radius: 18px;
}
@media (max-width: 620px) {
  section, .card, .testimonial-card, .cta-btn {
    border-radius: 10px;
  }
}

/* Button animation */
.cta-btn, button:not(.mobile-menu-toggle):not(.mobile-menu-close) {
  transition: background 0.16s, color 0.16s, box-shadow 0.22s, transform 0.17s;
}
.cta-btn:active, button:active {
  transform: scale(0.97);
}

/* =============== COOKIE CONSENT BANNER RULES =============== */
.cookie-banner {
  position: fixed;
  z-index: 1050;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fffbe6;
  color: #264653;
  box-shadow: 0 -2px 22px rgba(38, 70, 83, 0.08);
  padding: 22px 20px 30px 20px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 32px;
  border-top: 2px solid #E9C46A;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.35s, transform 0.45s cubic-bezier(.64,1.54,.51,1.04);
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(110%);
}
.cookie-banner__text {
  font-size: 1rem;
  flex: 1 1 300px;
}
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.cookie-btn {
  border-radius: 8px;
  border: none;
  padding: 10px 20px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  margin-left: 0;
  margin-right: 0;
  cursor: pointer;
  transition: background 0.16s, color 0.18s;
  background: #E9C46A;
  color: #264653;
}
.cookie-btn.accept {
  background: #264653;
  color: #fff;
}
.cookie-btn.reject {
  background: #F4A261;
  color: #264653;
}
.cookie-btn.settings {
  background: #fff;
  color: #264653;
  border: 1px solid #E9C46A;
}
.cookie-btn:hover,
.cookie-btn:focus {
  background: #F4A261;
  color: #264653;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #345063;
  color: #fff;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 18px 8px 22px 8px;
  }
}

/* ========== COOKIE PREFERENCES MODAL ========== */
.cookie-modal {
  position: fixed;
  z-index: 1100;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(38, 70, 83, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.35s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal__content {
  background: #fff;
  border-radius: 18px;
  padding: 36px 24px;
  min-width: 320px;
  max-width: 95vw;
  box-shadow: 0 8px 32px rgba(38, 70, 83, 0.14);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal__close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  color: #264653;
  font-size: 2rem;
  cursor: pointer;
}
.cookie-modal__header {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: #264653;
  margin-bottom: 7px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 1rem;
  margin-bottom: 12px;
}
.cookie-category label {
  font-weight: 600;
  color: #264653;
}
.cookie-toggle {
  appearance: none;
  width: 36px;
  height: 20px;
  border-radius: 14px;
  background: #E9C46A;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.14s;
}
.cookie-toggle:checked {
  background: #264653;
}
.cookie-toggle::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  top: 1px;
  left: 1px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.13s;
  box-shadow: 0 1px 2px rgba(38, 70, 83, 0.05);
}
.cookie-toggle:checked::before {
  transform: translateX(16px);
}
.cookie-category[aria-disabled='true'] .cookie-toggle {
  background: #E9C46A !important;
  opacity: 0.7;
  pointer-events: none;
}
.cookie-category[aria-disabled='true'] label {
  opacity: 0.7;
}
@media(max-width: 500px){
  .cookie-modal__content {
    min-width: 94vw;
    padding: 22px 8px;
    border-radius: 9px;
  }
}

/* ======================= MISC/UTILITIES ======================= */
::-webkit-scrollbar {
  width: 9px;
  background: #f1edea;
}
::-webkit-scrollbar-thumb {
  background: #E9C46A;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: #F4A261;
}

@media (max-width: 500px) {
  .container { padding: 0 5px; }
  .footer-contact { font-size: 0.93rem; }
}

/* =============== END OF STYLE =============== */