/* CSS RESET & NORMALIZATION */
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, main, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  box-sizing: border-box;
  vertical-align: baseline;
}
html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }
body { line-height: 1.6; background: var(--s-bg); color: var(--s-text-main); min-height:100vh; }
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section { display: block; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
img { max-width: 100%; display: block; height: auto; }
button, input, select, textarea {
  font-family: inherit; font-size: 100%; outline: none; border: none; background: none;
}

/* --- SCANDINAVIAN CLEAN DESIGN TOKEN --- */
:root {
  --s-primary: #1C3556; /* dark blue */
  --s-primary-hover: #163052;
  --s-secondary: #DFE3E8; /* pale grey */
  --s-bg: #FAFAFB; /* almost white background */
  --s-surface: #FFFFFF; /* white cards */
  --s-accent: #A67514; /* gold accent */
  --s-accent-hover: #7A5300; /* darker accent */
  --s-shadow: 0 4px 32px 0 rgba(28,53,86,0.06);
  --s-text-main: #232B33; /* deep neutral for text */
  --s-text-light: #5B6269;
  --s-font-display: 'Montserrat', Arial, sans-serif;
  --s-font-body: 'Roboto', Arial, sans-serif;
  --s-radius: 14px;
  --s-radius-small: 7px;
  --s-radius-btn: 8px;
}

body {
  background: var(--s-bg);
  color: var(--s-text-main);
  font-family: var(--s-font-body);
  font-size: 16px;
  letter-spacing: 0;
  font-weight: 400;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* Typography Scale */
h1, .h1 {
  font-family: var(--s-font-display);
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.16;
  color: var(--s-primary);
  letter-spacing: -1px;
}

h2, .h2 {
  font-family: var(--s-font-display);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--s-primary);
}
h3 { font-family: var(--s-font-display); font-size: 1.22rem; font-weight: 600; color: var(--s-text-main); margin-bottom: 12px; }
h4, h5, h6 { font-family: var(--s-font-body); color: var(--s-text-main); }
p, ul, ol, dl, dd, dt, li { font-size: 1rem; color: var(--s-text-main); margin-bottom: 10px; }
strong, b { font-weight: 600; }
small { font-size: 14px; color: var(--s-text-light); }
hr { border: 0; border-top: 1px solid var(--s-secondary); margin: 32px 0; }

/* Links */
a { color: var(--s-accent); transition: color 0.2s; }
a:hover, a:focus { color: var(--s-accent-hover); text-decoration: underline; }

/* HEADER */
header {
  background: var(--s-surface);
  box-shadow: var(--s-shadow);
  padding-top: 10px;
  padding-bottom: 10px;
  position: sticky; top: 0; z-index: 40; width: 100%;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
header img { height: 44px; margin-right: 12px; }

.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: var(--s-font-display);
  font-size: 1rem;
  color: var(--s-primary);
  letter-spacing: 0.02em;
  position: relative;
  padding: 4px 3px;
  border-radius: var(--s-radius-small);
  transition: background 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--s-secondary);
  color: var(--s-accent-hover);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--s-primary);
  color: #fff;
  padding: 13px 28px;
  border-radius: var(--s-radius-btn);
  font-family: var(--s-font-display);
  font-weight: 600;
  font-size: 1.04rem;
  border: none;
  box-shadow: 0 2px 8px 0 rgba(28,53,86,0.05);
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
  text-align: center;
  letter-spacing: 0.01em;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--s-primary-hover);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 16px 0 rgba(28,53,86,0.13);
}

/* MOBILE MENU BUTTON */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: var(--s-primary);
  background: none;
  border: none;
  padding: 6px 14px 6px 8px;
  border-radius: var(--s-radius);
  cursor: pointer;
  margin-left: 10px;
  transition: background 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--s-secondary);
  color: var(--s-accent-hover);
}

/* MOBILE MENU (fullscreen slide-in drawer) */
.mobile-menu {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(29,32,41,0.18);
  z-index: 1000;
  display: none;
  align-items: flex-start;
  justify-content: flex-end;
  transition: opacity 0.3s;
}
.mobile-menu.open {
  display: flex;
  animation: fadeInBG 0.25s;
}
@keyframes fadeInBG { from { opacity: 0;} to { opacity: 1; } }
.mobile-menu nav {
  background: var(--s-surface);
  min-width: 240px;
  width: 85vw;
  max-width: 340px;
  height: 100vh;
  box-shadow: 0 0 42px 6px rgba(35,43,51,0.21);
  padding: 36px 0 32px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transform: translateX(100%);
  animation: slideInMenu 0.35s forwards;
}
@keyframes slideInMenu { from { transform: translateX(100%); } to { transform: translateX(0); } }

.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 24px;
  z-index: 6;
  background: var(--s-secondary);
  color: var(--s-primary);
  border-radius: 50%;
  border: none;
  font-size: 2rem;
  padding: 4px 12px;
  cursor: pointer;
  transition: background 0.24s, color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus { background: var(--s-accent); color: #fff; }

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 40px;
  padding: 0 24px;
}
.mobile-nav a {
  font-size: 1.10rem;
  color: var(--s-primary);
  font-family: var(--s-font-display);
  font-weight: 500;
  padding: 12px 0 12px 4px;
  border-radius: var(--s-radius-small);
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--s-secondary);
  color: var(--s-accent-hover);
}

/* Hero Section */
.hero {
  width: 100%;
  background: linear-gradient(100deg, #F5F7FA 80%, #E7EAF0 100%);
  min-height: 242px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0;
  margin-bottom: 0;
}
.hero .container { justify-content: center; align-items: center; }
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  max-width: 600px;
  margin: 52px 0 40px 0;
  gap: 16px;
}
.hero h1 { color: var(--s-primary); }
.hero p { font-size: 1.08rem; color: var(--s-text-light); margin-bottom: 10px; }
.hero .btn-primary { margin-top: 20px; }

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.about, .location, .contact, .legal, .team, .faq, .services, .features {
  background: var(--s-surface);
  border-radius: var(--s-radius);
  box-shadow: var(--s-shadow);
}

.features .feature-grid, .team .team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature {
  background: var(--s-surface);
  box-shadow: 0 2px 12px 0 rgba(22,38,70,0.06);
  border-radius: var(--s-radius);
  padding: 26px 24px 22px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  min-width: 224px;
  flex: 1 1 220px;
  max-width: 300px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.12s;
  border: 1px solid var(--s-secondary);
}
.feature:hover {
  box-shadow: 0 6px 24px 0 rgba(28,53,86,0.12);
  transform: translateY(-4px) scale(1.025);
}
.feature img { width: 40px; height: 40px; margin-bottom: 7px; }
.price { color: var(--s-accent); font-weight: 700; font-size: 1.01rem; margin-top: 5px; }

/* Teams (About) */
.team .team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.team-member {
  background: var(--s-surface);
  border-radius: var(--s-radius);
  padding: 22px 18px;
  box-shadow: 0 1px 5px 0 rgba(29,53,86,0.06);
  min-width: 180px;
  flex: 1 1 210px;
  max-width: 250px;
  margin-bottom: 20px;
  border: 1px solid var(--s-secondary);
  display: flex;
  flex-direction: column;
}
.team-member h3 {
  font-size: 1.08rem;
  font-family: var(--s-font-display);
  color: var(--s-primary);
  margin-bottom: 8px;
}
.team-member p { color: var(--s-text-light); font-size: 0.99rem; }

/* CTA section */
.cta {
  margin-bottom: 44px;
  background: var(--s-surface);
  border-radius: var(--s-radius);
  box-shadow: var(--s-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
}
.cta .container {
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.cta .text-section { text-align: center; align-items: center; }
.cta h2 { margin-bottom: 20px; }

/* testimonials */
.testimonials .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 20px 22px;
  background: var(--s-surface);
  border-radius: var(--s-radius);
  min-width: 210px;
  flex: 1 1 250px;
  border: 1px solid var(--s-secondary);
  box-shadow: 0 2px 10px 0 rgba(28,53,86,0.054);
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.11s;
}
.testimonial-card p {
  font-size: 1.01rem;
  color: var(--s-primary);
  font-style: italic;
  margin-bottom: 6px;
}
.testimonial-card span {
  color: var(--s-accent);
  font-size: 1rem;
  font-family: var(--s-font-display);
  font-weight: 500;
  margin-top: 2px;
}
.testimonial-card:hover {
  box-shadow: 0 6px 20px 0 rgba(28,53,86,0.13);
  transform: translateY(-3px) scale(1.02);
}

/* Card pattern (not used in this HTML but required by brief) */
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card {
  margin-bottom: 20px; position: relative; background: var(--s-surface);
  border-radius: var(--s-radius);
  box-shadow: var(--s-shadow);
  border: 1px solid var(--s-secondary);
  padding: 22px 18px;
  min-width: 192px; max-width: 290px;
  flex: 1 1 200px;
  transition: box-shadow 0.18s, transform 0.08s;
}
.card:hover {
  box-shadow: 0 8px 22px 0 rgba(28,53,86,0.13);
  transform: translateY(-4px) scale(1.020);
}
.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; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

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

/* ALERT / INFO */
.alert-info {
  background: var(--s-secondary);
  border-left: 4px solid var(--s-accent);
  color: var(--s-text-main);
  font-size: 1rem;
  border-radius: var(--s-radius-small);
  padding: 12px 16px;
  margin: 22px 0 0 0;
}

/* FAQ Styles */
.faq dt {
  font-weight: 600;
  color: var(--s-primary);
  margin-bottom: 6px;
  font-family: var(--s-font-display);
}
.faq dd {
  color: var(--s-text-light);
  margin-bottom: 18px;
  margin-left: 14px;
}

/* Price info text */
.price-info {
  color: var(--s-accent);
  font-weight: 600;
  margin-top: 14px;
  font-size: 1.10rem;
}

/* Footer */
footer {
  background: var(--s-surface);
  box-shadow: 0 -1px 8px 0 rgba(28,53,86,0.04);
  padding: 32px 0 18px 0;
  position: relative;
  margin-top: 40px;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
footer img { height: 38px; margin-bottom: 10px; }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.footer-nav a {
  color: var(--s-primary);
  font-size: 0.98rem;
  padding: 2px 3px;
  border-radius: var(--s-radius-small);
  transition: background 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--s-secondary);
  color: var(--s-accent-hover);
}
footer small { margin-top: 10px; display: block; font-size: 13px; color: var(--s-text-light); }

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 2000;
  background: var(--s-surface);
  box-shadow: 0 -8px 32px 0 rgba(28, 53, 86, 0.11);
  padding: 22px 16px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 26px;
  border-top: 1px solid var(--s-secondary);
  animation: cookiePopIn 0.4s;
}
@keyframes cookiePopIn {
    from { transform: translateY(42px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.cookie-banner__text {
  max-width: 600px;
  color: var(--s-text-main);
  font-size: 0.97rem;
  margin-right: 12px;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
}
.btn-cookie {
  background: var(--s-primary);
  color: white;
  font-family: var(--s-font-display);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--s-radius-btn);
  padding: 11px 18px;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-cookie.btn-outline {
  background: var(--s-surface);
  color: var(--s-primary);
  border: 1px solid var(--s-primary);
}
.btn-cookie.btn-accent { background: var(--s-accent); color: #fff; }
.btn-cookie:hover, .btn-cookie:focus {
  background: var(--s-primary-hover);
  color: #fff;
}
.btn-cookie.btn-outline:hover, .btn-cookie.btn-outline:focus {
  background: var(--s-secondary);
  color: var(--s-accent-hover);
  border-color: var(--s-accent-hover);
}
.btn-cookie.btn-accent:hover, .btn-cookie.btn-accent:focus {
  background: var(--s-accent-hover);
}

/* COOKIE SETTINGS MODAL */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 2050;
  background: rgba(29,32,41,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInBG 0.24s;
}
.cookie-modal__content {
  background: var(--s-surface);
  border-radius: var(--s-radius);
  box-shadow: 0 10px 48px 0 rgba(28,53,86,0.18);
  padding: 36px 30px 32px 30px;
  width: 96vw;
  max-width: 410px;
  position: relative;
  display: flex;
  flex-direction: column;
  animation: modalSlideIn 0.45s;
}
@keyframes modalSlideIn {
  from { transform: translateY(40px) scale(0.96); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--s-secondary);
  color: var(--s-primary);
  border: none;
  border-radius: 50%;
  font-size: 1.3rem;
  width: 34px;
  height: 34px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s;
}
.cookie-modal-close:hover { background: var(--s-accent); color: #fff; }
.cookie-modal__categories {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 25px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cookie-category label {
  flex: 1 1 0;
  color: var(--s-text-main);
  font-size: 1rem;
  font-family: var(--s-font-body);
  font-weight: 500;
}
.cookie-category input[type=checkbox] {
  width: 22px; height: 22px; accent-color: var(--s-primary);
}
.cookie-category.essential label {
  color: var(--s-text-light); font-style: italic;
}
.cookie-category.essential input[type=checkbox] { pointer-events: none; }

.cookie-modal__actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  justify-content: flex-end;
}

/* RESPONSIVE DESIGN ---------------------------------- */
@media (max-width: 1050px) {
  .container { max-width: 92vw; padding: 0 11px; }
  .main-nav, .footer-nav { gap: 17px; }
  .hero .content-wrapper { max-width: 92vw; }
}
@media (max-width: 900px){
  .footer-nav { gap: 8px; }
  .features .feature-grid, .team .team-grid { gap: 18px; }
  .features .feature, .team-member { min-width: 160px; }
}
@media (max-width: 768px){
  h1, .h1 { font-size: 1.8rem; }
  h2, .h2 { font-size: 1.35rem; }
  .container { padding: 0 5px; }
  header .container, footer .container { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero .content-wrapper { margin: 34px 0 28px 0; max-width: 100vw; text-align: left; }
  .main-nav { display: none !important; }
  .mobile-menu-toggle { display: block; margin-left: auto; }
  .footer-nav { flex-direction: column; align-items: flex-start; gap: 6px; }
  .feature, .card, .team-member, .testimonial-card {
      max-width: 96vw; min-width: unset; width: 100%;
  }
  .features .feature-grid, .team .team-grid { flex-direction: column; gap: 14px; }
  .testimonial-card { min-width: unset; }
  .section { padding: 28px 8px; margin-bottom: 42px; }
  .cta { padding: 22px 6px; margin-bottom: 24px; }
  .content-grid { flex-direction: column; gap: 10px; }
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 16px; }
}
@media (max-width: 550px) {
  h1, .h1 { font-size: 1.21rem; }
  h2, .h2 { font-size: 1.01rem; }
  .footer-nav { gap: 3px; }
  .cookie-banner { flex-direction: column; gap: 18px; padding: 16px 7px; }
  .cookie-banner__actions { flex-direction: column; gap: 7px; }
  .cookie-banner__text { margin-right: 0; }
  .cookie-modal__content { padding: 20px 6px 18px 6px; }
}

/* ANIMATIONS & MICRO-INTERACTIONS */
.btn-primary, .btn-cookie {
  transition: background 0.2s, color 0.15s, box-shadow 0.18s, transform 0.14s;
}
.feature, .card, .team-member, .testimonial-card {
  transition: box-shadow 0.2s, transform 0.18s;
}
.feature:hover, .card:hover, .testimonial-card:hover, .team-member:hover {
  box-shadow: 0 8px 32px 0 rgba(28,53,86,0.13);
  transform: translateY(-3px) scale(1.012);
}

/* FORM ELEMENTS (if used in future) */
input, select, textarea {
  background: var(--s-secondary);
  border: 1px solid var(--s-primary);
  border-radius: var(--s-radius-btn);
  padding: 10px 14px;
  margin-bottom: 10px;
  color: var(--s-primary);
  font-size: 1rem;
  transition: border 0.18s, box-shadow 0.13s;
}
input:focus, textarea:focus { border-color: var(--s-accent); box-shadow: 0 0 3px 0 var(--s-accent); }
label { color: var(--s-primary); font-weight: 500; margin-right: 10px; }

/* Disable absolute positioning for cards/blocks (only icons/decor allowed) */
/* Done via cascade, see brief */

/* A11Y FOCUS VISIBLE */
:focus { outline: 2px solid var(--s-accent); outline-offset: 1px; }
:focus:not(:focus-visible) { outline: none; }

/* Hide visually but keep accessible (for modals if needed) */
.sr-only {
  position: absolute !important;
  width: 1px !important; height: 1px !important; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
  border: 0;
}

/* Typography Fallbacks */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Montserrat'), local('Montserrat-Regular');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Roboto'), local('Roboto-Regular');
}

/* Hide cookie/modal with .hidden (for JS toggle) */
.cookie-banner.hidden, .cookie-modal.hidden {
  display: none !important;
  visibility: hidden;
}

/* Misc */
::-webkit-scrollbar {
  width: 8px; background: var(--s-secondary);
}
::-webkit-scrollbar-thumb { background: #CDD3DA; border-radius: 8px; }

/* Utility */
.mt-8 { margin-top: 8px; } .mb-8{ margin-bottom:8px; }
.mt-16 { margin-top: 16px; } .mb-16{ margin-bottom:16px; }
.mt-24 { margin-top: 24px; } .mb-24{ margin-bottom:24px; }
@media (max-width: 650px){ .mt-24, .mb-24 { margin-top: 12px!important; margin-bottom: 12px!important; } }
