/* 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,
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,
main, 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;
  height: 100%;
}
body {
  min-height: 100vh;
  background: #F5F7FA;
  color: #22577A;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #22577A;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px dashed #24705C;
  outline-offset: 3px;
}

/* ======= Typography ======= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #22577A;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  line-height: 1.22;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
}
.section h2 {
  margin-bottom: 24px;
}
p, ul, ol, .text-section p {
  margin-bottom: 16px;
}
ul, ol {
  padding-left: 20px;
  margin-bottom: 22px;
}
li {
  margin-bottom: 8px;
}
strong {
  font-weight: bold;
  color: #22577A;
}

/* ======= Layout Containers ======= */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 1px 6px rgba(34,87,122,0.07);
}
.hero-section {
  background: #F5F7FA;
  display: flex;
  align-items: center;
  min-height: 330px;
  padding: 52px 0 44px 0;
}
.thank-you-section {
  display: flex;
  align-items: center;
  min-height: 340px;
  background: #F5F7FA;
  padding: 60px 0 60px 0;
}
.cta-section {
  margin-bottom: 60px;
  padding: 32px 20px;
  background: #e6edea;
  border-radius: 16px;
  box-shadow: 0 1px 5px rgba(34,87,122,0.04);
  display: flex;
  align-items: center;
}
.content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
}
.text-section {
  margin-bottom: 20px;
}

/* ********************** FLEXBOX CARDS & LISTS *********************** */
.services-list, .offers-list, .team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.service-item, .offer-card, .team-member {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(34,87,122,0.08);
  padding: 28px 22px 22px 22px;
  margin-bottom: 20px;
  flex: 1 1 250px;
  display: flex;
  flex-direction: column;
  min-width: 250px;
}
.offer-card ul {
  margin-bottom: 10px;
}

.search-bar {
  background: #f2f9f7;
  border: 1px solid #e2e5e9;
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  flex: 1 1 260px;
  gap: 10px;
  margin-bottom: 24px;
}
.search-bar label {
  font-size: 1rem;
  color: #22577A;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.search-bar input[type="text"] {
  padding: 9px 14px;
  border-radius: 7px;
  border: 1px solid #c8d5db;
  font-size: 1rem;
  background: #F5F7FA;
  color: #22577A;
  width: 100%;
}
.search-bar input[disabled] {
  background: #e8ecef;
  color: #b6c5d3;
  cursor: not-allowed;
}
.map-widget {
  background: #f2f9f7;
  border-radius: 12px;
  color: #67939b;
  padding: 24px;
  font-size: 1.1rem;
  border: 1px dashed #bfe6d5;
  flex: 1 1 300px;
  margin-bottom: 20px;
}

/* ======================== BUTTONS & CTAs =========================== */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #43AA8B;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: 32px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 14px -8px #24705C44;
  transition: background 0.23s, box-shadow 0.23s, color 0.2s;
  margin-top: 22px;
  margin-bottom: 8px;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: #24705C;
  color: #fff;
  box-shadow: 0 6px 24px -8px #22577A30;
  text-decoration: none;
}

/* ================= HEADER & NAVIGATION =============== */
header {
  background: #fff;
  box-shadow: 0 1px 10px 0 rgba(34,87,122,0.09);
  border-bottom: 1px solid #ecf0f3;
  position: relative;
  z-index: 101;
  min-height: 64px;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  min-height: 64px;
}
.brand img {
  height: 38px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  margin-left: 36px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #22577A;
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 8px 2px;
  border-radius: 6px;
  transition: background 0.15s, color 0.18s;
  margin-bottom: 0;
}
.main-nav a:hover, .main-nav a.active {
  background: #e9f7f6;
  color: #24705C;
}

/* Hide on mobile, show on desktop */
.main-nav, .cta-btn {
  display: flex;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #22577A;
  font-size: 2rem;
  padding: 8px 14px;
  margin-left: 20px;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.15s;
  z-index: 104;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #e5f6ef;
}

/* ========== MOBILE MENU OVERLAY ============= */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(35, 87, 122, .98);
  z-index: 2000;
  transform: translateX(-110vw);
  transition: transform 0.38s cubic-bezier(.55,.09,.33,1) 0s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 18px;
  padding-left: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.1rem;
  padding: 10px 16px 10px 10px;
  margin-left: 10px;
  margin-bottom: 20px;
  align-self: flex-end;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #22577A;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-left: 36px;
  width: 100vw;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
  padding: 7px 0;
  border-radius: 6px;
  transition: background 0.14s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #43AA8B;
  color: #fff;
}

/* ========== SECTIONS, CARDS, ELEMENTS ============= */
.rating-summary {
  padding: 22px 20px 12px 20px;
  color: #22577A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-align: left;
}
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 14px;
}
.testimonial-card {
  background: #F5F7FA;
  color: #103c57;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 26px;
  border-radius: 13px;
  box-shadow: 0 1px 6px rgba(34,87,122,0.09);
  min-width: 220px;
  max-width: 340px;
  margin-bottom: 20px;
  border-left: 5px solid #43AA8B;
}
.testimonial-card p {
  margin-bottom: 5px;
  font-size: 1.06rem;
  line-height: 1.6;
}
.testimonial-card span {
  font-size: 0.98rem;
  font-family: 'Roboto', sans-serif;
  color: #24705C;
  font-style: italic;
}

.step-list {
  margin-left: 18px;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 1.05rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.technology-highlight, .user-trust-highlight, .dedicated-support-info, .long-stay-offers, .usability-highlights, .user-safety-highlights {
  background: #eaf6fa;
  border-radius: 10px;
  padding: 18px 18px 18px 24px;
  color: #22577A;
  box-shadow: 0 0.5px 3px -1px #22577A13;
  margin: 18px 0;
  font-size: 1.02rem;
}

/* ==================== FOOTER ===================== */
footer {
  background: #fff;
  border-top: 1px solid #e5ecf2;
  box-shadow: 0 -1px 7px 0 rgba(34,87,122,0.03);
  margin-top: 40px;
  padding-top: 24px;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 24px 20px 20px 20px;
}
.footer-brand img {
  height: 36px;
  width: auto;
  margin-bottom: 12px;
}
.footer-navigation, .footer-legal {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-navigation a, .footer-legal a {
  font-size: 1rem;
  color: #22577A;
  line-height: 1.8;
  letter-spacing: 0.01em;
  opacity: 0.92;
  transition: color 0.16s, opacity 0.15s;
}
.footer-navigation a:hover, .footer-legal a:hover {
  color: #43AA8B;
  opacity: 1;
}
.footer-contact {
  font-size: 0.99rem;
  color: #24705C;
}
.footer-contact a {
  color: #22577A;
  font-weight: 500;
}

/* ===================== COOKIE CONSENT BANNER ==================== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  z-index: 3000;
  background: #22577A;
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 22px 15px 18px 15px;
  font-size: 1.08rem;
  box-shadow: 0 -2px 12px -5px #22577A60;
  border-radius: 16px 16px 0 0;
  animation: cookie-slide-in 0.48s cubic-bezier(.53,.23,.55,1);
}
@keyframes cookie-slide-in {
  from { transform: translateY(110%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.cookie-banner p {
  margin: 0 0 0 0;
  flex: 1 1 auto;
  max-width: 420px;
  font-family: 'Roboto', Arial, sans-serif;
  color: #fff;
}
.cookie-banner .cookie-btn {
  background: #43AA8B;
  color: #fff;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 25px;
  padding: 11px 26px;
  margin-right: 10px;
  box-shadow: 0 2px 8px -4px #22577A25;
  margin-bottom: 0;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.17s, box-shadow 0.19s;
}
.cookie-banner .cookie-btn:last-child {
  margin-right: 0;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #24705C;
}
.cookie-banner .cookie-btn.reject {
  background: #fff;
  color: #22577A;
  border: 1px solid #eeecee;
}
.cookie-banner .cookie-btn.reject:hover, .cookie-banner .cookie-btn.reject:focus {
  color: #24705C; background: #f6faf7;
}
.cookie-banner .cookie-btn.settings {
  background: transparent;
  border: 1px solid #e8ecef;
  color: #fff;
  box-shadow: none;
}
.cookie-banner .cookie-btn.settings:hover {
  background: #e8ecef; color: #22577A;
}

/* ==== COOKIES MODAL ==== */
.cookie-modal {
  display: none;
  position: fixed;
  z-index: 3300;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(34,87,122,0.38);
  justify-content: center;
  align-items: center;
  animation: cookie-modal-fade 0.25s;
}
@keyframes cookie-modal-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal.open {
  display: flex;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 19px;
  padding: 42px 38px 30px 38px;
  box-shadow: 0 8px 28px -6px #22577A22;
  min-width: 320px;
  max-width: 500px;
  color: #22577A;
  font-family: 'Roboto', Arial, sans-serif;
  animation: cookie-modal-scale .29s;
}
@keyframes cookie-modal-scale {
  from { transform: scale(0.92); opacity: 0.2; }
  to   { transform: scale(1);    opacity: 1; }
}
.cookie-modal-content h2 {
  font-size: 1.48rem;
  color: #22577A;
  margin-bottom: 18px;
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 24px;
}
.cookie-toggle {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.08rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 8px;
}
.cookie-toggle input[type="checkbox"] {
  width: 22px; height: 22px;
  accent-color: #43AA8B;
  border-radius: 6px;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal-close {
  background: none;
  border: none;
  color: #22577A;
  font-size: 1.4rem;
  position: absolute;
  top: 17px; right: 22px;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.14s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #e6edea;
}

/* =============== UTILITY CLASSES ================ */
.mb-8 { margin-bottom: 8px !important; }
.mb-16 { margin-bottom: 16px !important; }
.mb-24 { margin-bottom: 24px !important; }
.mb-40 { margin-bottom: 40px !important; }
.gap-20 { gap: 20px !important; }
.gap-24 { gap: 24px !important; }
.align-center { align-items: center !important; }
.align-start { align-items: flex-start !important; }
.text-center { text-align: center !important; }

/* =============== RESPONSIVE =================== */
@media (max-width: 1150px) {
  .container {
    max-width: 98vw;
  }
  footer .container {
    gap: 22px;
  }
}
@media (max-width: 900px) {
  .hero-section, .thank-you-section {
    min-height: 200px;
    padding-bottom: 22px;
  }
  .container {
    max-width: 95vw;
  }
}
@media (max-width: 768px) {
  body { font-size: 0.98rem; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.25rem; }
  .main-nav, .cta-btn {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .container {
    padding: 0 10px;
    min-height: 54px;
  }
  .hero-section, .thank-you-section {
    padding-top: 32px;
    padding-bottom: 28px;
    min-height: 140px;
  }
  .section, .cta-section {
    padding: 28px 8px;
    border-radius: 10px;
  }
  .services-list, .offers-list, .team-list {
    flex-direction: column;
    gap: 18px;
  }
  .content-wrapper {
    flex-direction: column;
    gap: 20px;
  }
  .footer-brand img { height: 32px !important; }
  footer .container {
    flex-direction: column;
    gap: 18px;
    padding: 16px 10px 13px 10px;
  }
  .testimonials {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
  .testimonial-card {
    max-width: 100%;
  }
  .cookie-banner p {
    max-width: 220px;
    font-size: 0.99rem;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 1.37rem; }
  h2 { font-size: 1.07rem; }
  .offer-card, .service-item, .team-member {
    padding: 14px 9px 14px 13px;
    min-width: unset;
  }
  .search-bar, .map-widget {
    padding: 10px 8px;
  }
  .cookie-modal-content { padding: 25px 7vw 23px 7vw; }
}

/* Scandinavian Shadows & Minimal Elements */
.section, .hero-section, .service-item, .offer-card, .team-member, .testimonial-card, .cookie-modal-content {
  box-shadow: 0 2px 16px -4px rgba(34, 87, 122, 0.06), 0 0.5px 2px #bfe6d536;
}

/* ================= CUSTOM ELEMENT POLISHING ================ */
::-webkit-input-placeholder { color: #a9b7c8; opacity: 1; }
:-ms-input-placeholder { color: #a9b7c8; opacity: 1; }
::placeholder { color: #a9b7c8; opacity: 1; }
input, button, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  background: none;
  border: none;
}

/* Hide outline for mouse users but accessible for keyboard */
:focus:not(:focus-visible) {
  outline: none;
}

/* Scandinavian minimal scrollbars */
body {
  scrollbar-width: thin;
  scrollbar-color: #b5c9ce #f5f7fa;
}
body::-webkit-scrollbar {
  width: 10px;
  background: #f5f7fa;
  border-radius: 8px;
}
body::-webkit-scrollbar-thumb {
  background: #b5c9ce;
  border-radius: 8px;
}

/* End of CSS */
