/* ========== CSS RESET & NORMALIZATION ========== */
html { box-sizing: border-box; font-size: 16px; -webkit-text-size-adjust: 100%; }
*, *:before, *:after { box-sizing: inherit; margin: 0; padding: 0; border: 0; font: inherit; }
body { font-family: 'Open Sans', Arial, sans-serif; background: #F6F9F8; color: #252A34; line-height: 1.6; min-height: 100vh; }
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', Arial, sans-serif;
    color: #252A34;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}
h1 { font-size: 2rem; margin-bottom: 20px; }
h2 { font-size: 1.5rem; margin-bottom: 18px; }
h3 { font-size: 1.18rem; margin-bottom: 12px; }
p, ul, ol, blockquote { margin-bottom: 16px; }
ul, ol { padding-left: 20px; }
a { color: #08A6A6; text-decoration: none; transition: color 0.18s; }
a:hover, a:focus { color: #252A34; }
img { max-width: 100%; display: block; }
:focus { outline: 2px solid #08A6A6; outline-offset: 2px; }

/* ========== CORE LAYOUT ========== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(37,42,52,.04);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}

/* ========== HEADER & NAVIGATION ========== */
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(37,42,52,.06);
  position: sticky;
  top: 0;
  z-index: 100;
}
header nav {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px 0;
  flex-wrap: wrap;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #252A34;
  font-weight: 500;
  letter-spacing: .02em;
  padding: 8px 8px;
  border-radius: 5px;
  transition: background .18s, color .18s;
}
header nav .cta {
  background: #08A6A6;
  color: #fff;
  padding: 8px 18px;
  border-radius: 24px;
  font-weight: 700;
  margin-left: 10px;
  box-shadow: 0 2px 10px rgba(37,42,52,0.08);
  transition: background .15s, box-shadow .18s;
}
header nav .cta:hover, header nav .cta:focus {
  background: #252A34;
  color: #fff;
  box-shadow: 0 4px 14px rgba(8,166,166,0.09);
}
header nav a:hover, header nav a:focus { background: #f0f2f3; color: #08A6A6; }
header nav a img { height: 38px; display: inline-block; vertical-align: middle; margin-right: 10px; }

.mobile-menu-toggle {
  display: none;
  background: none;
  color: #252A34;
  font-size: 2.1rem;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: 18px;
  z-index: 102;
  transition: background .15s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus { background: #F6F9F8; }

/* ===== MOBILE MENU OVERLAY ===== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(37,42,52,0.87);
  z-index: 999;
  transform: translateX(100%);
  transition: transform .36s cubic-bezier(.85,0,.15,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  padding: 0 0 0 0;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-close {
  font-size: 2.1rem;
  background: none;
  color: #fff;
  border: none;
  padding: 18px 20px 12px 20px;
  cursor: pointer;
  align-self: flex-end;
  transition: color .15s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus { color: #08A6A6; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  margin-top: 24px;
  padding: 0 38px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.35rem;
  padding: 14px 12px;
  border-radius: 8px;
  font-weight: 600;
  background: transparent;
  transition: background .16s, color .16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #08A6A6;
  color: #fff;
}

@media (max-width: 1100px) {
  .container { padding: 0 12px; }
}
@media (max-width: 920px) {
  header nav { gap: 12px; }
}
@media (max-width: 820px) {
  header nav { gap: 4px; }
  header nav a { font-size: 0.96rem; padding: 8px 4px; }
}
@media (max-width: 768px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 769px) {
  .mobile-menu { display: none !important; }
}

/* ========== HERO & SECTION SPACING ========== */
main section {
  margin-bottom: 60px;
  padding: 40px 0;
  background: none;
  border-radius: 0;
  box-shadow: none;
}

main .container > .content-wrapper {
  padding: 0;
}

/* ========== FEATURE & SERVICE GRIDS ========== */
.feature-grid,
.feature-list,
.service-list,
.step-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin: 0 0 0 0;
  padding: 0;
}
.feature-grid li,
.feature-list li,
.service-list li,
.step-list li {
  background: #fff;
  box-shadow: 0 1.5px 7px rgba(37,42,52,0.06);
  border-radius: 12px;
  padding: 24px 22px 20px 22px;
  flex: 1 1 230px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 20px;
  min-width: 220px;
  max-width: 310px;
  transition: box-shadow .14s, background .14s, transform .19s;
  border: 1px solid #F2F5F7;
}
.feature-grid li:hover,
.feature-list li:hover,
.service-list li:hover,
.step-list li:hover {
  box-shadow: 0 4px 16px rgba(8,166,166,0.08);
  background: #F6F9F8;
  transform: translateY(-2px) scale(1.01);
}
.feature-grid li img,
.feature-list li img,
.service-list li img,
.step-list li img {
  height: 38px;
  margin-bottom: 6px;
  border-radius: 5px;
}
@media (max-width: 900px) {
  .feature-grid li, .service-list li, .feature-list li { min-width: 170px; }
}
@media (max-width: 700px) {
  .feature-grid,
  .feature-list,
  .service-list,
  .step-list {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid li,
  .feature-list li,
  .service-list li,
  .step-list li {
    min-width: 0;
    width: 100%;
    max-width: unset;
    align-items: flex-start;
  }
}

.step-list li strong {
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 6px;
  color: #252A34;
  font-size: 1.1em;
}

/* ========== BUTTONS & CTA ========== */
.cta, .btn, button, input[type=submit] {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fff;
  background: #08A6A6;
  border: none;
  padding: 12px 30px;
  border-radius: 28px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 2px 14px rgba(8,166,166,0.11);
  transition: background .18s, color .16s, box-shadow .18s, transform .14s;
  display: inline-block;
  letter-spacing: 0.03em;
  margin-top: 14px;
}
.cta:hover,
.cta:focus,
.btn:hover,
.btn:focus,
button:hover,
button:focus {
  background: #252A34;
  color: #fff;
  box-shadow: 0 5px 25px rgba(37,42,52,0.13);
  transform: translateY(-1px) scale(1.03);
}

/* ========== CARDS ========== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1.5px 8px rgba(37,42,52,0.07);
  padding: 22px 18px;
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 220px;
  min-width: 190px;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  transition: box-shadow .17s, background .16s, transform .12s;
}
.card:hover {
  box-shadow: 0 4px 22px rgba(8,166,166,0.09);
  background: #F6F9F8;
  transform: scale(1.01);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

/* ========== TESTIMONIAL CARDS ========== */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 11px rgba(37,42,52,0.06);
  margin-bottom: 20px;
  border-left: 5px solid #08A6A6;
}
.testimonial-card blockquote {
  font-size: 1.13rem;
  color: #252A34;
  font-style: italic;
  margin: 0;
}
.testimonial-meta {
  font-size: 0.96rem;
  color: #08A6A6;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}

@media (max-width: 700px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 12px;
  }
}

/* ========== FLEXBOX LAYOUT SECTIONS ========== */
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 20px; }
  .content-grid { flex-direction: column; gap: 20px; }
}

/* ========== FORMS, INPUTS ========== */
input, textarea, select {
  padding: 9px 13px;
  font-family: 'Open Sans', Arial, sans-serif;
  border: 1px solid #CED4DA;
  border-radius: 8px;
  background: #F6F9F8;
  width: 100%;
  font-size: 1rem;
  transition: border .13s, box-shadow .13s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #08A6A6;
  box-shadow: 0 1.5px 8px rgba(8,166,166,0.07);
}

/* ========== FOOTER ========== */
footer {
  background: #242a34;
  color: #F6F9F8;
  padding: 40px 0 12px 0;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  margin-top: 60px;
}
footer .container { flex-direction: column; align-items: center; gap: 15px; }
footer nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 12px;
  justify-content: center;
}
footer nav a {
  color: #F6F9F8;
  font-size: 0.99rem;
  padding: 6px 12px;
  border-radius: 6px;
  opacity: 0.9;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: background .16s, color .16s;
}
footer nav a:hover,
footer nav a:focus {
  background: #08A6A6;
  color: #fff;
  opacity: 1;
}
.footer-info {
  font-size: 0.98rem;
  color: #F6F9F8;
  opacity: 0.84;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

/* ========== MAP EMBED ========== */
.map-embed {
  background: #F6F9F8;
  padding: 1rem;
  border-radius: 4px;
  font-size: 1rem;
  color: #252A34;
}

/* ========== COOKIE CONSENT BANNER ========== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100%;
  background: #252A34;
  color: #fff;
  box-shadow: 0 -2px 18px rgba(37,42,52,0.16);
  padding: 26px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s;
}
.cookie-banner.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner-text {
  max-width: 680px;
  font-size: 1.08rem;
  line-height: 1.6;
  color: #fff;
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.cookie-banner button,
.cookie-banner .btn-cookie {
  background: #08A6A6;
  color: #fff;
  border-radius: 22px;
  padding: 10px 26px;
  font-size: 0.99rem;
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: background .14s, color .14s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #fff;
  color: #08A6A6;
}
.cookie-banner .btn-cookie-settings { background: #fff; color: #252A34; border: 1.1px solid #08A6A6; }
.cookie-banner .btn-cookie-settings:hover, .cookie-banner .btn-cookie-settings:focus {
  background: #08A6A6; color: #fff;
}

/* --- Cookie Modal --- */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(37,42,52,0.68);
  z-index: 2050;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  color: #252A34;
  padding: 34px 26px 28px 26px;
  border-radius: 18px;
  box-shadow: 0 4px 32px rgba(8,166,166,0.14);
  min-width: 312px;
  max-width: 95vw;
  max-width: 490px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: cookieModalAppear .36s cubic-bezier(.66,.27,.3,1);
}
@keyframes cookieModalAppear {
  0% { transform: translateY(50px) scale(0.96); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
  color: #08A6A6;
}
.cookie-modal .cookie-cat {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 14px;
  font-size: 1.02rem;
}
.cookie-modal .switch {
  position: relative;
  width: 34px; height: 21px;
  display: inline-block;
}
.cookie-modal .switch input { display: none; }
.cookie-modal .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background: #F2F5F7;
  border-radius: 12px;
  transition: .2s;
}
.cookie-modal .slider:before {
  position: absolute;
  content: '';
  height: 15px; width: 15px;
  left: 3px; bottom: 3px;
  background: #08A6A6;
  transition: .2s;
  border-radius: 50%;
}
.cookie-modal .switch input:checked + .slider {
  background: #C7F3F3;
}
.cookie-modal .switch input:checked + .slider:before {
  transform: translateX(13px);
  background: #08A6A6;
}
.cookie-modal .switch input:disabled + .slider {
  background: #CED4DA;
}
.cookie-modal .switch input:disabled + .slider:before {
  background: #CACACA;
}

.cookie-modal .cookie-modal-actions {
  margin-top: 6px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-modal .cookie-modal-actions button {
  background: #08A6A6;
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 8px 22px;
  font-size: 0.99rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  transition: background .14s, color .14s;
}
.cookie-modal .cookie-modal-actions button:hover, .cookie-modal .cookie-modal-actions button:focus {
  background: #252A34; color: #fff;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  right: 14px;
  top: 14px;
  background: none;
  border: none;
  color: #08A6A6;
  font-size: 1.3rem;
  cursor: pointer;
  padding: 3px 4px;
}
.cookie-modal .cookie-modal-close:hover,
.cookie-modal .cookie-modal-close:focus {
  color: #252A34;
}

/* ========== TYPOGRAPHY SCALE ========== */
h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.18rem; }
p, li, ul, ol { font-size: 1rem; }
blockquote { font-size: 1.13rem; }
@media (min-width: 650px) {
  h1 { font-size: 2.4rem; }
  h2 { font-size: 1.73rem; }
  h3 { font-size: 1.22rem; }
  blockquote { font-size: 1.17rem; }
}
@media (min-width: 980px) {
  h1 { font-size: 2.9rem; }
  h2 { font-size: 2.18rem; }
  h3 { font-size: 1.4rem; }
}

/* ========== GENERAL SPACING ========== */
.section, main section, .card, .testimonial-card, .feature-grid li, .service-list li, .step-list li, .feature-list li {
  margin-bottom: 20px;
}
.card-container, .feature-grid, .service-list, .feature-list, .step-list,
.content-grid, .text-image-section, .testimonial-card, .feature-item {
  gap: 20px;
}
.text-section { gap: 18px; }

/* ========== SELECTION COLOR ========== */
::selection { background: #C7F3F3; color: #252A34; }

/* ========== MICRO-INTERACTIONS ========== */
.card, .feature-grid li, .service-list li, .testimonial-card {
  transition: box-shadow .14s, background .15s, transform .12s;
}
.card:active, .feature-grid li:active, .service-list li:active {
  transform: scale(0.99);
}
.cta:active, button:active { transform: scale(0.98); }

/* ========== SCANDINAVIAN CLEAN VISUALS ========== */
.section, .card, .testimonial-card, .feature-grid li, .service-list li, .feature-list li {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(37,42,52,0.04);
}
h1, h2, h3, strong { color: #252A34; }

/* ========== ACCESSIBILITY ENHANCEMENTS ========== */
@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after { transition: none !important; animation: none !important; }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 650px) {
  .container { padding: 0 8px; }
  .section, main section, .card, .testimonial-card, .feature-grid li, .service-list li { padding: 20px 7px; }
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.12rem; }
  p, li, blockquote { font-size: 0.97rem; }
}

/* ========== PRINT OPTIMIZATION ========== */
@media print {
  header, .mobile-menu, .cookie-banner, .cookie-modal-overlay, footer { display: none !important; }
  body { background: #fff; margin: 16px; }
}

/* ========== UTILITIES ========== */
.hide { display: none !important; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.pt-0 { padding-top: 0 !important; }
.pb-0 { padding-bottom: 0 !important; }

/* ========== END OF CSS ========== */