/* RESET & BASE STYLES */
html { box-sizing: border-box; font-size: 16px; }
*,*::before,*::after { box-sizing: inherit; margin: 0; padding: 0; }
body {
  background: #F5F5F5;
  color: #1D3557;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #1D3557; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #F39C12; outline: none; }
ul, ol { padding-left: 1.25em; margin-bottom: 16px; }
li { margin-bottom: 10px; }
table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; padding: 12px 8px; }
th { background: #e9ecef; font-size: 1.1em; }
tr:nth-child(even) { background: #f8f8f8; }
strong { font-weight: bold; }
address { font-style: normal; color: #555; margin-bottom: 16px; }

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  color: #1D3557;
  margin-bottom: 20px;
}
h1 { font-size: 2.3rem; margin-top: 0; margin-bottom: 28px; }
h2 { font-size: 1.7rem; margin-bottom: 24px; }
h3 { font-size: 1.3rem; margin-bottom: 18px; }
h4, h5, h6 { font-size: 1rem; margin-bottom: 12px; font-weight: 600; }
p { margin-bottom: 16px; }
blockquote {
  border-left: 4px solid #1D3557;
  padding-left: 18px;
  margin: 32px 0;
  font-weight: 500;
  color: #222b37;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: #F5F5F5;
}
blockquote footer {
  font-size: 1rem;
  font-weight: 400;
  color: #888;
}

/* LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 18px rgba(29,53,87,0.06);
}

/* Spacing & scandinavian whitespace */
.section + .section { margin-top: 0; }
.content-wrapper > *:not(:last-child) { margin-bottom: 24px; }

/* HEADER */
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(29,53,87,0.05);
  position: relative;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  gap: 24px;
  position: relative;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #1D3557;
  padding: 8px 6px;
  transition: color 0.2s;
  border-radius: 4px;
}
header nav a:hover, header nav a:focus {
  color: #F39C12;
  background: #F5F5F5;
}
.cta-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff !important;
  background: #1D3557;
  padding: 12px 28px;
  border-radius: 28px;
  border: none;
  cursor: pointer;
  margin-left: 12px;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  box-shadow: 0 1px 10px rgba(29,53,87,0.06);
  display: inline-block;
  letter-spacing: 0.03em;
  outline: none;
}
.cta-btn:hover, .cta-btn:active {
  background: #F39C12;
  color: #1D3557 !important;
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #1D3557;
  cursor: pointer;
  margin-left: 16px;
  padding: 8px 8px;
  border-radius: 4px;
  transition: background 0.2s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #e5e5e5;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.27,0.82,0.43,0.99);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 28px 24px 28px;
  gap: 36px;
  box-shadow: 0 2px 24px rgba(29,53,87,0.14);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-close {
  align-self: flex-end;
  background: #F5F5F5;
  border: none;
  color: #1D3557;
  font-size: 2rem;
  font-weight: bold;
  padding: 12px;
  border-radius: 50%;
  margin-bottom: 14px;
  cursor: pointer;
  transition: background 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F39C12;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.28rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #1D3557;
  padding: 16px 8px;
  border-radius: 6px;
  font-weight: 500;
  transition: background .16s, color .16s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #F39C12;
  color: #fff;
}

/* HERO & LANDING SECTIONS */
.content-wrapper {
  margin: 0 auto;
  max-width: 820px;
}
/* Feature grid with flex */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 8px;
}
.feature-grid li {
  flex: 1 1 250px;
  min-width: 220px;
  background: #F5F5F5;
  border-radius: 16px;
  padding: 28px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  box-shadow: 0 1px 6px rgba(29,53,87,0.04);
  margin-bottom: 20px;
  border: 1px solid #e6eaea;
  transition: box-shadow 0.16s,border-color 0.16s;
}
.feature-grid li:hover {
  box-shadow: 0 4px 18px rgba(243,156,18,0.08);
  border-color: #F39C12;
  background: #fffdfa;
}
.feature-grid li img {
  width: 36px;
  height: 36px;
  margin-bottom: 4px;
}
.feature-grid li h3 {
  font-size: 1.07rem;
  margin-bottom: 6px;
}

/* Team grid for 'about' page */
.team-bio-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.team-bio-grid > div {
  flex: 1 1 250px;
  min-width: 220px;
  background: #F5F5F5;
  border-radius: 14px;
  padding: 22px 18px 16px 18px;
  box-shadow: 0 1px 7px rgba(29,53,87,0.03);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.benefit-grid, .faq-list, .step-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 8px;
  margin-bottom: 24px;
}
.benefit-grid li, .faq-list li, .step-list li {
  flex: 1 1 250px;
  min-width: 220px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 8px rgba(29,53,87,.03);
  padding: 16px 14px 14px 14px;
  font-size: 1.03rem;
}

.step-list {
  counter-reset: stepl;
  align-items: stretch;
}
.step-list li {
  position: relative;
  padding-left: 0;
  gap: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.step-list li img {
  width: 32px;
  height: 32px;
}

.faq-list li {
  background: #F5F5F5;
  margin-bottom: 18px;
  border-radius: 10px;
  padding: 18px 14px 14px 20px;
  box-shadow: 0 1px 6px rgba(29,53,87,.04);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-list li strong { font-size: 1rem; color: #1D3557; font-weight: 600; }

/* CONTENT CARDS / CARDS */
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { background: #fff; border-radius: 14px; box-shadow: 0 1px 8px rgba(29,53,87,.05);
  margin-bottom: 20px; position: relative; padding: 20px; min-width: 220px; flex: 1 1 250px;
  display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start;
  transition: box-shadow .15s;
}
.card:hover { box-shadow: 0 4px 20px rgba(243,156,18,0.11); }

.card-content {
  display: flex; flex-direction: column; justify-content: center;
}

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

/* TESTIMONIALS */
.testimonial-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding: 20px;
  margin-bottom: 20px;
  border-radius: 15px;
  box-shadow: 0 1px 10px rgba(29,53,87,0.06);
  background: #fff;
  border-left: 5px solid #F39C12;
  font-size: 1.04rem;
  color: #172a43;
}
.testimonial-card strong { color: #1D3557; font-weight: 600; font-size: 1rem; }
.testimonial-card > div:last-child img {
  display: inline-block; width: 19px; height: 19px; vertical-align: middle;
  margin-right: 2px;
}
.testimonial-card p {
  margin-bottom: 0;
  color: #1D3557;
  font-size: 1.08rem;
}

/* PRICING TABLE */
.pricing-table {
  margin-top: 18px;
  margin-bottom: 32px;
  width: 100%;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 8px rgba(29,53,87,.05);
  overflow: hidden;
}
.pricing-table th, .pricing-table td {
  border-bottom: 1px solid #e6eaea;
  font-family: 'Roboto', Arial, sans-serif;
}
.pricing-table th {
  font-family: 'Montserrat', Arial, sans-serif;
}
.pricing-table tr:last-child td { border-bottom: none; }
.tariff-explanation, .note-discounts {
  background: #F5F5F5;
  padding: 16px 18px;
  border-radius: 8px;
  font-size: 1rem;
  margin-bottom: 18px;
}

/* ADDRESS BLOCKS & CONTACT */
.static-map-block {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 12px;
  padding: 12px 18px;
  background: #F5F5F5;
  border-radius: 12px;
}
.cta-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-top: 18px;
}

.assurance {
  margin-top: 26px;
  background: #fffdfa;
  border-left: 3px solid #F39C12;
  padding: 18px 24px;
  border-radius: 10px;
  font-size: 1.09rem;
}

/* FOOTER */
footer {
  background: #fff;
  border-top: 1px solid #e8e8e8;
  margin-top: 60px;
  padding: 0;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding: 38px 18px 18px 18px;
}
footer nav {
  display: flex;
  gap: 20px;
  margin-top: 0;
  flex-wrap: wrap;
}
footer nav a {
  color: #1D3557;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  transition: color 0.19s;
}
footer nav a:hover, footer nav a:focus {
  color: #F39C12;
}
footer .footer-copy {
  flex: 1 1 100%;
  color: #7B8A99;
  font-size: 0.93rem;
  margin-top: 24px;
  text-align: left;
}
footer span {
  display: flex; align-items: center; gap: 7px;
  font-size: 1em; color: #303B4C; margin-bottom: 7px;
}

/* COOKIES CONSENT BANNER && MODAL */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.98);
  color: #1D3557;
  box-shadow: 0 -2px 16px rgba(29,53,87,0.07);
  padding: 24px 18px 14px 18px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  font-size: 1rem;
  transition: transform .35s cubic-bezier(0.27,0.82,0.43,0.99);
  border-radius: 16px 16px 0 0;
}
.cookie-banner.hide {
  pointer-events: none;
  transform: translateY(120%);
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
  margin-top: 10px;
}
.cookie-btn, .cookie-btn-secondary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 8px 22px;
  border-radius: 24px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.16s, color 0.16s, box-shadow 0.16s;
  box-shadow: 0 1px 6px rgba(29,53,87,0.04);
}
.cookie-btn { background: #1D3557; color: #fff; }
.cookie-btn:hover,.cookie-btn:active {
  background: #F39C12;
  color: #1D3557;
}
.cookie-btn-secondary {
  background: #F5F5F5; color: #1D3557;
  border: 1px solid #ececec;
}
.cookie-btn-secondary:hover,.cookie-btn-secondary:focus {
  background: #F39C12;
  color: #fff;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  z-index: 100001;
  left: 0; top: 0; right: 0; bottom: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(30,42,56,0.32);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.cookie-modal.open {
  visibility: visible;
  pointer-events: all;
  opacity: 1;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 14px;
  padding: 34px 28px;
  min-width: 310px;
  max-width: 98vw;
  box-shadow: 0 8px 48px rgba(29,53,87,0.11);
  display: flex; flex-direction: column; gap: 20px;
  align-items: flex-start;
  position: relative;
}
.cookie-modal-content h2 {
  font-size: 1.32rem;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 6px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  background: #F5F5F5;
  border-radius: 8px;
  padding: 10px 16px;
}
.cookie-category input[type=checkbox] {
  accent-color: #F39C12;
  width: 18px; height: 18px;
}
.cookie-essential {
  color: #888;
}
.cookie-modal-close {
  position: absolute;
  right: 22px; top: 14px;
  background: #F5F5F5;
  border: none;
  border-radius: 16px;
  font-size: 1.5rem;
  color: #1D3557;
  cursor: pointer;
  padding: 8px 14px;
  transition: background 0.13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #F39C12;
  color: #fff;
}

/* MISC buttons, accent marks */
button, .btn {
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background .15s, color .15s, box-shadow .15s;
  outline: none;
}
.btn-primary {
  background: #1D3557;
  color: #fff;
}
.btn-primary:hover, .btn-primary:active {
  background: #F39C12;
  color: #1D3557;
}
.btn-secondary {
  background: #F5F5F5;
  color: #1D3557;
  border: 1px solid #d8d8d8;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #F39C12;
  color: #fff;
}

/* ----------- RESPONSIVE MEDIA QUERIES --------------- */
@media (max-width: 1024px) {
  .container { max-width: 98vw; }
  .footer nav, header nav { gap: 14px; }
  header .container, footer .container { gap: 16px; }
}
@media (max-width: 900px) {
  .feature-grid, .benefit-grid, .faq-list, .step-list, .card-container, .team-bio-grid, .content-grid {
    gap: 16px;
  }
  .feature-grid li, .team-bio-grid > div, .benefit-grid li, .faq-list li, .step-list li, .card {
    min-width: 100%; flex: 1 1 100%;
  }
  .footer-copy { text-align: left; }
}
@media (max-width: 768px) {
  body { font-size: 0.97rem; }
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.14rem; }
  .section { margin-bottom: 34px; padding: 25px 7px; border-radius: 9px; }
  .content-wrapper { max-width: 98vw; padding: 0 5px; }
  .container { padding: 0 6px; }
  header .container {
    flex-direction: row;
    gap: 0;
    padding: 10px 7px;
  }
  header nav, header .cta-btn {
    display: none;
  }
  .mobile-menu-toggle { display: block; }
  .cookie-banner { padding: 16px 8px; font-size: 0.97rem; }
  .cookie-modal-content { min-width: 98vw; padding: 28px 6px; }
  footer .container {
    flex-direction: column;
    gap: 20px;
    padding: 18px 6px 8px 6px;
    align-items: flex-start;
  }
  .footer-copy { margin-top: 18px; text-align: left; }
  .feature-grid, .benefit-grid, .faq-list, .step-list, .card-container, .team-bio-grid, .content-grid {
    flex-direction: column;
    gap: 12px;
    min-width: 0; width: 100%;
  }
  .testimonial-card, .feature-grid li, .team-bio-grid > div, .benefit-grid li, .faq-list li, .step-list li, .card {
    min-width: 0; width: 100%;
  }
  .static-map-block { flex-direction: column; gap: 10px; padding: 5px 10px; }
  .text-image-section { flex-direction: column; gap: 16px; }
}
@media (max-width: 480px) {
  html { font-size: 15px; }
}

/* Hide mobile menu on desktop */
@media (min-width: 769px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
  header nav, header .cta-btn { display: flex !important; }
}

/* SCANDINAVIAN APPEAL - NATURAL FEEL */
body { background: #F5F5F5; }
.section, .content-wrapper, .card, .testimonial-card, .footer, .feature-grid li {
  /* Whites and off-white natural backgrounds */
  background: #fff;
}

/* MICRO-INTERACTIONS */
.cta-btn, .cookie-btn, .cookie-btn-secondary, button, .btn {
  transition: background 0.15s, color 0.15s, box-shadow 0.12s, border-color 0.13s;
}
.card, .testimonial-card, .feature-grid li, .team-bio-grid > div {
  transition: box-shadow .18s, border-color .18s, background .15s;
}
.card:active, .feature-grid li:active, .testimonial-card:active {
  box-shadow: 0 3px 18px rgba(243,156,18,0.16);
}

/* VISUAL EFFECTS - ROUNDED AND LIGHT */
.section, .content-wrapper, .card, .testimonial-card, .feature-grid li, .team-bio-grid > div {
  border-radius: 15px;
}

/* FOCUS STATES */
a:focus, button:focus, .cta-btn:focus, .cookie-btn:focus, .cookie-btn-secondary:focus {
  outline: 2px solid #F39C12;
  outline-offset: 1.5px;
  background: #fffcea;
}

/* UTILITIES */
.d-none { display: none !important; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-16 { margin-top: 16px !important; }
.mb-16 { margin-bottom: 16px !important; }
.mb-24 { margin-bottom: 24px !important; }
.text-center { text-align: center !important; }
.align-center { align-items: center !important; }

/* HIDE SCROLL ON MOBILE MENU OPEN */
body.menu-open {
  overflow: hidden;
}
