/* =========================
   CSS RESET & NORMALIZE
========================== */
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;
}
html { line-height: 1.15; }
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  background: #F7F8FA;
  color: #224153;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
}
*, *:before, *:after { box-sizing: inherit; }
img, svg { max-width: 100%; display: block; }
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}

/* ================================
   SCANDINAVIAN CLEAN BASE STYLES
================================ */
:root {
  --color-primary: #224153;
  --color-secondary: #52B57F;
  --color-accent: #F7F8FA;
  --color-bg: #F7F8FA;
  --color-card: #fff;
  --color-border: #E3E6EB;
  --color-gray: #708090;
  --color-shadow: rgba(34,65,83,0.07);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
  --shadow-md: 0 2px 14px var(--color-shadow);
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

body {
  background-color: var(--color-bg);
  color: var(--color-primary);
  font-family: var(--font-body);
  font-weight: 400;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: -0.01em;
}
h1 { font-size: 2.75rem; line-height: 1.15; margin-bottom: 18px; }
h2 { font-size: 2rem; line-height: 1.22; margin-bottom: 14px; }
h3 { font-size: 1.25rem; line-height: 1.3; margin-bottom: 6px; }
h4 { font-size: 1.1rem; line-height: 1.35; }
p, li, .body-text {
  color: var(--color-primary);
  font-size: 1rem;
  margin-bottom: 12px;
  line-height: 1.7;
}
.hero h1 {
  font-size: 2.1rem;
  margin-bottom: 14px;
}
@media (min-width: 768px) {
  .hero h1 { font-size: 2.85rem; }
  h1 { font-size: 3rem; }
  h2 { font-size: 2.3rem; }
  h3 { font-size: 1.35rem; }
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  position: relative;
}

/* =====================
   BUTTONS & INTERACTIVES
======================== */
.btn-primary,
.btn-secondary {
  display: inline-block;
  min-width: 140px;
  padding: 12px 32px;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.18s, box-shadow 0.17s;
  outline: none;
  box-shadow: 0 2px 10px rgba(82,181,127,.07);
  text-align: center;
  margin-top: 20px;
}
.btn-primary {
  background: var(--color-secondary);
  color: #fff;
  border: 1.5px solid var(--color-secondary);
}
.btn-primary:hover,
.btn-primary:focus {
  background: #399E69;
  color: #fff;
  box-shadow: 0 4px 24px rgba(82,181,127,0.17);
}
.btn-secondary {
  background: transparent;
  color: var(--color-secondary);
  border: 1.5px solid var(--color-secondary);
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: var(--color-secondary);
  color: #fff;
}
a.btn-primary, a.btn-secondary {
  text-decoration: none;
}
button:active {
  opacity: 0.9;
}

/* =====================
   MAIN NAVIGATION
======================== */
header {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  position: relative;
  z-index: 100;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  position: relative;
  z-index: 14;
  font-size: 1rem;
}
.main-nav > a img {
  height: 36px;
  width: auto;
}
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav ul li a {
  color: var(--color-primary);
  padding: 6px 10px;
  font-family: var(--font-display);
  border-radius: var(--radius-sm);
  transition: background 0.17s, color 0.2s;
}
.main-nav ul li a:hover,
.main-nav ul li a:focus {
  background: var(--color-accent);
  color: var(--color-secondary);
}
.main-nav .btn-primary {
  margin: 0 0 0 20px;
  min-width: 120px;
  font-size: 1rem;
}
.mobile-menu-toggle {
  display: inline-flex;
  background: var(--color-accent);
  border: none;
  color: var(--color-primary);
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  padding: 8px 14px;
  position: absolute;
  right: 18px;
  top: 14px;
  cursor: pointer;
  z-index: 231;
  transition: background 0.13s, color 0.15s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--color-secondary);
}
@media (min-width: 992px) {
  .mobile-menu-toggle { display: none; }
}

/* =====================
   MOBILE NAVIGATION 
======================== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; height: 100vh; width: 100vw;
  background: rgba(34,65,83,0.97);
  z-index: 2500;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
  transform: translateX(-100vw);
  transition: transform 0.34s cubic-bezier(.67,.01,.3,1);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 20px 26px 4px 0;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #fff;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  width: 100%;
  padding: 36px 36px 0 36px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.17rem;
  font-family: var(--font-display);
  font-weight: 500;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  width: 100%;
  transition: color 0.15s, background 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-secondary);
  background: rgba(82,181,127,0.13);
  border-radius: var(--radius-sm);
}
@media (max-width: 991px) {
  .main-nav ul, .main-nav .btn-primary {
    display: none;
  }
}

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

/* =====================
   HERO BANNERS & CTA
======================== */
.hero {
  background: var(--color-accent);
  padding: 60px 0 40px 0;
  border-bottom: 1px solid var(--color-border);
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0px;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta {
  background: var(--color-accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: 60px;
  padding: 44px 18px;
  text-align: center;
  position: relative;
}
.cta h2 { margin-bottom: 10px; }

/* =====================
   FLEX PATTERNS
======================== */
.features {
  background: none;
  margin-bottom: 60px;
}
.features .feature-grid, .service-grid, .step-by-step, .numbers-counter, .benefit-list, .services .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 22px;
  margin-bottom: 0;
}
.features .feature-grid li {
  background: var(--color-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 28px 22px 24px 22px;
  flex: 1 1 265px;
  min-width: 195px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  border: 1px solid var(--color-border);
  transition: box-shadow 0.18s;
}
.features .feature-grid li:hover {
  box-shadow: 0 6px 36px rgba(82,181,127,0.10);
  border-color: var(--color-secondary);
}
.features .feature-grid img {
  height: 34px;
  margin-bottom: 8px;
}
.features .feature-grid h3 {
  font-size: 1.15rem;
  margin-bottom: 3px;
  color: var(--color-primary);
}

.services .service-list, .services .service-grid {
  gap: 24px;
}
.services .service-list li, .services .service-grid li {
  background: var(--color-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 26px 18px;
  flex: 1 1 230px;
  min-width: 185px;
  margin-bottom: 20px;
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.16s, border-color 0.18s;
  gap: 6px;
}
.services .service-list li:hover, .services .service-grid li:hover {
  box-shadow: 0 8px 38px rgba(82,181,127,.13);
  border-color: var(--color-secondary);
}

.step-by-step, .steps-list, .numbers-counter {
  gap: 24px;
  margin-bottom: 20px;
}
.step-by-step div, .steps-list > div, .numbers-counter > div {
  background: var(--color-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 28px 20px;
  flex: 1 1 190px;
  min-width: 155px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
  border: 1px solid var(--color-border);
  gap: 7px;
}
.numbers-counter h3 {
  font-size: 2rem;
  margin-bottom: 3px;
  color: var(--color-secondary);
}

.benefit-list {
  gap: 24px;
  margin-top: 24px;
}
.benefit-list li {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  background: var(--color-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 18px 14px;
  gap: 15px;
  margin-bottom: 20px;
  border: 1px solid var(--color-border);
  min-width: 0;
  flex: 1 1 240px;
}
.benefit-list img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
}

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

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  background: #fff;
  padding: 20px 28px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  box-shadow: 0 1px 10px rgba(34,65,83,0.07);
  border: 1px solid var(--color-border);
  color: #1B2C39;
  transition: box-shadow 0.2s, border 0.2s;
  font-size: 1.12rem;
}
.testimonial-card:hover {
  box-shadow: 0 4px 16px rgba(82,181,127,0.13);
  border-color: var(--color-secondary);
}
.testimonial-card strong { color: var(--color-primary); }
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  padding: 32px 24px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* =====================
   TABLE STYLES
======================== */
.comparison-table {
  width: 100%;
  overflow-x: auto;
  margin-top: 24px;
  margin-bottom: 36px;
}
.comparison-table table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 1rem;
  background: var(--color-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
}
.comparison-table th,
.comparison-table td {
  padding: 16px 10px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
}
.comparison-table thead th {
  background: var(--color-accent);
  color: var(--color-primary);
  font-family: var(--font-display);
}
.comparison-table tr:last-child td {
  border-bottom: none;
}

/* =====================
   FAQ ACCORDION
======================== */
.faq-accordion > div {
  background: var(--color-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  margin-bottom: 16px;
  padding: 22px 18px;
  cursor: pointer;
  transition: border 0.16s, box-shadow 0.18s;
}
.faq-accordion > div:hover {
  border-color: var(--color-secondary);
  box-shadow: 0 4px 18px rgba(82,181,127,0.12);
}
.faq-accordion > div h3 {
  margin-bottom: 11px;
  font-size: 1.08rem;
  color: var(--color-primary);
}
.faq-accordion > div div {
  color: var(--color-gray);
  font-size: 1.01rem;
  margin-bottom: 0;
}

/* =====================
   LEGAL SECTIONS
======================== */
.legal {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg);
}
.legal h1, .legal h2, .legal h3 {
  margin-bottom: 13px;
}
.legal ul {
  margin-left: 18px;
  margin-bottom: 18px;
  list-style: disc inside;
}
.legal li {
  color: var(--color-primary);
}

/* =====================
   THANK-YOU SECTION
======================== */
.thankyou {
  background: var(--color-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-top: 56px;
  margin-bottom: 36px;
  padding: 45px 18px 30px 18px;
  text-align: center;
}

/* =====================
   ABOUT & TEAM
======================== */
.about ul {
  margin-bottom: 12px;
  margin-left: 24px;
  list-style: disc inside;
}
.team ul {
  margin-left: 12px;
  margin-bottom: 0;
  list-style: disc inside;
}

.short-facts {
  margin-top: 18px;
  margin-left: 10px;
  list-style: circle inside;
}
.short-facts li {
  margin-bottom: 9px;
}

/* =====================
   FOOTER
======================== */
footer {
  background: var(--color-card);
  border-top: 1px solid var(--color-border);
  padding-top: 34px;
  padding-bottom: 0;
  font-size: 1rem;
  margin-top: 40px;
}
.footer-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
  margin-bottom: 22px;
}
.footer-main > a img {
  height: 32px;
  width: auto;
  margin-bottom: 10px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: 1.06rem;
}
.footer-nav a {
  color: var(--color-primary);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  transition: background 0.17s, color 0.19s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--color-accent);
  color: var(--color-secondary);
}
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 1rem;
  color: var(--color-gray);
}
.footer-contact li {
  display: flex;
  align-items: center;
  gap: 9px;
}
.footer-contact img {
  width: 18px;
  margin-right: 4px;
}
.footer-copy {
  text-align: left;
  color: var(--color-gray);
  padding: 18px 0;
  font-size: 0.97rem;
  background: none;
}
@media (min-width: 768px) {
  .footer-main {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
  .footer-contact ul {
    align-items: flex-end;
  }
  .footer-copy { text-align: right; }
}

/* =====================
   MAP/CONTACT/LIST SECTIONS
======================== */
.contact ul, .hours ul {
  margin-bottom: 8px;
  margin-left: 14px;
  list-style: disc inside;
  color: var(--color-primary);
}
.hours ul {
  margin-top: 12px;
}
.map-embed {
  background: var(--color-accent);
  border-radius: var(--radius-md);
  margin-bottom: 60px;
}

/* =====================
   COOKIE BANNER 
======================== */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0; right: 0;
  width: 100%;
  background: #fff;
  border-top: 1.5px solid var(--color-border);
  box-shadow: 0 -4px 32px rgba(34,65,83,0.10);
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 24px 18px 24px;
  font-family: var(--font-body);
  font-size: 1rem;
  opacity: 1;
  transition: opacity 0.3s, transform 0.3s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(30px);
}
.cookie-banner .cookie-banner-cta {
  display: flex;
  gap: 16px;
}
.cookie-banner button,
.cookie-banner .btn-primary,
.cookie-banner .btn-secondary {
  min-width: 110px;
  padding: 10px 18px;
  font-size: 1rem;
}
.cookie-banner .btn-secondary {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.cookie-banner .btn-secondary:hover {
  background: var(--color-primary);
  color: #fff;
}
.cookie-banner a {
  color: var(--color-secondary);
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 18px 12px 14px 12px;
    font-size: 0.98rem;
  }
  .cookie-banner .cookie-banner-cta {
    gap: 10px;
  }
}

/* Cookie Settings Modal */
.cookie-modal {
  position: fixed;
  z-index: 5200;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(34,65,83,0.44);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity .28s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal .cookie-modal-content {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 34px 22px 22px 22px;
  max-width: 410px;
  width: 95%;
  box-shadow: 0 8px 38px rgba(34,65,83,0.17);
  display: flex;
  flex-direction: column;
  gap: 17px;
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.28rem;
  margin-bottom: 9px;
}
.cookie-modal-close {
  position: absolute;
  right: 17px;
  top: 14px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-gray);
  cursor: pointer;
  transition: color 0.18s;
}
.cookie-modal-close:hover {
  color: var(--color-secondary);
}
.cookie-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--color-accent);
  border-radius: var(--radius-sm);
  padding: 9px 13px;
}
.cookie-switch label {
  font-size: 1rem;
  color: var(--color-primary);
}
.cookie-switch input[type="checkbox"] {
  width: 38px; height: 18px;
  accent-color: var(--color-secondary);
}
.cookie-switch.essential label {
  font-weight: 600;
  color: var(--color-primary);
}
.cookie-modal .modal-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 10px;
}

/* =====================
   MEDIA QUERIES
======================== */
@media (max-width: 991px) {
  .container {
    max-width: 99vw;
    padding-left: 8px;
    padding-right: 8px;
  }
  .step-by-step, .steps-list, .feature-grid, .service-list, .service-grid, .numbers-counter, .benefit-list, .testimonial-slider, .card-container {
    gap: 12px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2.01rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.05rem; }
  .section, .legal {
    padding: 24px 5px;
  }
  .step-by-step div, .steps-list>div, .numbers-counter>div, .features .feature-grid li, .services .service-list li, .services .service-grid li {
    min-width: 100%;
    padding: 19px 10px;
  }
  .cta {
    padding: 22px 5px;
    border-radius: var(--radius-md);
  }
  .testimonial-card {
    padding: 12px 8px;
    border-radius: var(--radius-md);
  }
}
@media (max-width: 550px) {
  .footer-main, .footer-nav, .footer-contact ul {
    flex-direction: column!important;
    align-items: flex-start!important;
    gap: 10px;
  }
  .footer-nav a { font-size: 1rem; }
}

/* ================
   UTILITIES
================== */
.text-center { text-align: center!important; }
.mt-0 { margin-top: 0!important; }
.mt-18 { margin-top: 18px!important; }
.mb-0 { margin-bottom: 0!important; }
.mb-20 { margin-bottom: 20px!important; }
.pb-0 { padding-bottom: 0!important; }
.no-shadow { box-shadow: none!important; }

/* ===============
   MICRO-ANIMATIONS
================== */
.btn-primary, .btn-secondary, .mobile-menu-toggle, .mobile-menu-close, .footer-nav a, .main-nav ul li a, .testimonial-card, .features .feature-grid li, .services .service-list li, .services .service-grid li, .card {
  transition: background 0.18s, color 0.19s, transform 0.13s, box-shadow 0.18s;
}
.btn-primary:active, .btn-secondary:active {
  transform: scale(0.98);
}
.card:hover, .testimonial-card:hover {
  transform: translateY(-5px) scale(1.019);
}
/* Subtle link underline */
a:not(.btn-primary):not(.btn-secondary):hover {
  text-decoration: underline;
  color: var(--color-secondary);
}

/*********************
 FOCUS VISIBLE
*********************/
a:focus, button:focus, .btn-primary:focus, .btn-secondary:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

/*********************
 ACCESSIBILITY
*********************/
[tabindex="-1"]:focus:not(:focus-visible) {
  outline: none !important;
}

/********************
  PRINT (CLEAN STYLE)
********************/
@media print {
  body, .container, .section, .card, .content-wrapper, .footer-main, .footer-copy {
    background: #fff !important;
    color: #000 !important;
    box-shadow: none !important;
    border: none !important;
  }
  header, .mobile-menu, .mobile-menu-toggle, .btn-primary, .btn-secondary, .cookie-banner, .cookie-modal {
    display: none !important;
  }
}
