/* ---------------------------------------
   RESET & BASE (MOBILE FIRST)
------------------------------------------*/
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 {
  box-sizing: border-box;
  font-size: 16px;
  /* Prevent horizontal scroll */
  width: 100vw;
  overflow-x: hidden;
}
*, *:before, *:after {
  box-sizing: inherit;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #183152;
  background-color: #F9FAF9;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}
img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}
a {
  color: #227A3B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: #183152; }
strong { font-weight: 600; }
ul, ol {
  list-style: none;
}
button {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
}

/*---------------------------------------
  CONTAINER & GRID LAYOUTS
---------------------------------------*/
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(24, 49, 82, 0.05);
  margin-bottom: 20px;
  position: relative;
  padding: 24px;
  flex: 1 1 260px;
  min-width: 240px;
  max-width: 370px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 6px 28px rgba(34, 122, 59, 0.09);
  transform: translateY(-3px) scale(1.015);
}

.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;
  margin-bottom: 40px;
}
.text-image-section > * {
  flex: 1 1 240px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F5FBF6;
  box-shadow: 0 1px 7px rgba(34, 122, 59, 0.07);
  border-radius: 12px;
  margin-bottom: 20px;
  min-width: 220px;
  max-width: 420px;
  color: #183152;
  font-size: 1rem;
}

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

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-grid > li {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(34, 122, 59, 0.065);
  padding: 28px 20px 24px 20px;
  flex: 1 1 220px;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.15s;
}
.feature-grid > li:hover {
  box-shadow: 0 8px 28px rgba(24, 49, 82, 0.11);
  transform: scale(1.025) translateY(-2px);
}
.feature-grid img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  margin-bottom: 10px;
}

.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.service-card {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(34,122,59,0.065);
  padding: 28px 24px;
  flex: 1 1 290px;
  min-width: 220px;
  max-width: 350px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.price {
  color: #227A3B;
  font-weight: bold;
  font-size: 1.125rem;
  margin-top: 16px;
  letter-spacing: 0.5px;
}

/**** HERO STYLES ****/
.hero {
  background: #E1F0E5;
  padding: 62px 0 42px 0;
  position: relative;
  min-height: 220px;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 18px;
}
.hero h1 {
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #183152;
  margin-bottom: 8px;
  letter-spacing: 0.2px;
}
.hero .subheadline {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.13rem;
  color: #227A3B;
  margin-bottom: 16px;
}

/**** HEADINGS & TYPOGRAPHY ****/
h1, h2, h3, h4, h5, h6 {
  color: #183152;
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  margin-bottom: 10px;
}
h1 { font-size: 2rem; font-weight: 700; letter-spacing: 0px; }
h2 { font-size: 1.5rem; font-weight: 600; margin-bottom: 6px; }
h3 { font-size: 1.13rem; font-weight: 600;  }
h4, h5, h6 { font-size: 1rem; font-weight: 500; }

.text-section p, .text-section ul, .content-wrapper p, .content-wrapper ul {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #183152;
  line-height: 1.7;
}
.text-section ul, .content-wrapper ul {
  padding-left: 0;
  margin-bottom: 0;
}
.text-section ul li, .content-wrapper ul li {
  margin-bottom: 12px;
  padding-left: 0px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.text-section ul li img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  margin-right: 8px;
}
.text-section a { color: #227A3B; text-decoration: underline; }
.text-section a:hover { color: #183152; }

/**** CTA BUTTONS & LINKS ****/
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1.075rem;
  font-weight: 600;
  padding: 13px 32px;
  background: #227A3B;
  color: #fff;
  border-radius: 33px;
  border: none;
  box-shadow: 0 1px 6px rgba(24,49,82,0.05);
  margin: 12px 0 0 0;
  letter-spacing: 0.04em;
  cursor: pointer;
  outline: none;
  transition: background 0.16s, box-shadow 0.14s, transform 0.15s;
}
.cta-btn:hover, .cta-btn:focus {
  background: #183152;
  box-shadow: 0 3px 14px 0 rgba(34,122,59,0.12);
  transform: translateY(-2px) scale(1.04);
  color: #fff;
}

/**** HEADER & NAVIGATION ****/
header {
  background: #fff;
  box-shadow: 0 1px 10px rgba(24,49,82,0.035);
  min-height: 62px;
  position: sticky;
  top: 0;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 12px;
}
.logo img {
  height: 46px;
  width: auto;
}
.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
.main-nav a {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #227A3B;
  padding: 7px 14px;
  border-radius: 23px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #E1F0E5;
  color: #183152;
}

/* Burger/Hamburger Icon (mobile) */
.mobile-menu-toggle {
  display: flex;
  font-size: 2rem;
  color: #227A3B;
  background: none;
  border: none;
  margin-left: 18px;
  padding: 4px 10px;
  border-radius: 8px;
  z-index: 110;
  transition: background 0.17s, color 0.17s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #E1F0E5;
  color: #183152;
}

/**** MOBILE MENU OVERLAY ****/
.mobile-menu {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(24,49,82, 0.90);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  transform: translateX(105vw);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.38s cubic-bezier(0.44, 0.06, 0.18, 1), opacity 0.25s;
  z-index: 2000;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: #fff;
  margin: 30px 25px 20px 0;
  background: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  padding: 6px 16px;
  transition: background 0.18s, color 0.17s;
  align-self: flex-end;
  z-index: 2010;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #227A3B;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  background: #fff;
  border-radius: 16px 0 0 16px;
  padding: 36px 44px 44px 32px;
  min-width: 58vw;
  margin-top: 34px;
  box-shadow: 0 2px 18px #18315228;
}
.mobile-nav a {
  color: #227A3B;
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  border-radius: 12px;
  padding: 10px 12px;
  width: 100%;
  transition: background 0.15s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E1F0E5;
  color: #183152;
}

/* Hide nav on mobile, show burger */
@media (max-width: 980px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 981px) {
  .mobile-menu-toggle,
  .mobile-menu {
    display: none !important;
  }
}

/**** FOOTER ****/
footer {
  background: #E1F0E5;
  color: #183152;
  font-size: 1rem;
  padding: 36px 0 0 0;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  justify-content: center;
}
.footer-main {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  justify-content: center;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
}
.footer-logo img {
  height: 34px;
}
.footer-nav, .footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
}
.footer-nav a, .footer-legal a {
  color: #227A3B;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 12px;
  padding: 7px 11px;
  transition: background 0.15s, color 0.15s;
}
.footer-nav a:hover, .footer-legal a:hover {
  background: #fff;
  color: #183152;
}
.footer-social {
  display: flex;
  gap: 13px;
}
.footer-social a img {
  width: 28px;
  height: 28px;
}
.footer-bottom {
  font-size: 0.95rem;
  color: #183152;
  text-align: center;
  padding: 16px 0 18px 0;
}

/*------------------------------------
  RESPONSIVE FLEX DIRECTION ADJUSTMENTS
--------------------------------------*/
@media (max-width: 820px) {
  .feature-grid, .service-cards, .card-container {
    flex-direction: column;
    gap: 20px;
  }
  .content-grid {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 99vw;
    padding: 0 8px;
  }
  .footer-main {
    flex-direction: column;
    gap: 16px;
  }
  .section {
    padding: 26px 7px 32px 7px;
  }
  .hero {
    padding: 44px 0 26px 0;
    min-height: 140px;
  }
  .hero h1 { font-size: 1.35rem; }
  .service-card, .card, .feature-grid > li {
    min-width: 90vw;
    max-width: 99vw;
  }
  .testimonial-slider, .testimonials .content-wrapper {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    width: 99vw;
    min-width: 0;
    max-width: 99vw;
  }
}

@media (max-width: 640px) {
  .text-image-section {
    flex-direction: column !important;
    gap: 18px;
    align-items: stretch;
  }
  .text-image-section > * {
    min-width: 0;
    max-width: 100vw;
  }
  .feature-grid > li, .service-card, .card {
    padding: 17px 10px 16px 10px;
  }
  .testimonial-card {
    padding: 15px 7px;
  }
}

/**** TESTIMONIALS SLIDER (no real slider) ****/
.testimonials .testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
  margin-bottom: 20px;
}
.testimonials h2 {
  margin-bottom: 16px;
}
.testimonial-card .author {
  font-weight: 600;
  font-size: 1rem;
  color: #227A3B;
}
.star-rating {
  display: flex;
  gap: 2px;
  margin-top: 4px;
}
.star-rating img {
  width: 21px;
  height: 21px;
}

/**** SPECIFIC PAGE SECTIONS ****/
.about-preview, .about-section, .usp-section, .eco-features, .eco-info, .eco-cases,
.cookie-section, .gdpr-section, .privacy-section, .terms-section, .next-steps {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(24,49,82,0.04);
}

/**** CONTACT SHOWCASE & DATA ****/
.contact-showcase, .contact-section, .contact-data, .directions {
  background: #F5FBF6;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(34,122,59,0.06);
}
.contact-showcase .text-section ul,
.contact-data .text-section ul {
  gap: 10px;
  margin-top: 4px;
}
.contact-showcase .text-section ul li, .contact-data .text-section ul li {
  font-size: 1.07rem;
  color: #227A3B;
}

/**** COOKIE CONSENT BANNER ****/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  box-shadow: 0 -3px 18px rgba(34,122,59,0.11);
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  z-index: 5000;
  min-width: 200px;
  animation: slideUp 0.9s cubic-bezier(0.36,1.13,0.48,0.69);
}
@keyframes slideUp {
  from { transform: translateY(120px); opacity:0; }
  to { transform: translateY(0); opacity:1; }
}
.cookie-banner p {
  font-family: 'Roboto', Arial, sans-serif;
  color: #183152;
  font-size: 1rem;
  text-align: center;
  line-height: 1.4;
  margin-bottom: 8px;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 16px;
}
.cookie-banner button {
  padding: 11px 25px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  border: none;
  border-radius: 22px;
  transition: background 0.14s, color 0.14s, box-shadow 0.12s;
}
.cookie-banner .accept {
  background: #227A3B;
  color: #fff;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #183152;
}
.cookie-banner .reject {
  background: #E1F0E5;
  color: #227A3B;
  border: 1.8px solid #227A3B;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #fff;
  color: #183152;
  border-color: #183152;
}
.cookie-banner .settings {
  background: #fff;
  color: #183152;
  border: 1.8px solid #227A3B;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #E1F0E5;
  color: #227A3B;
}

/**** COOKIE MODAL (OVERLAY & DIALOG) ****/
.cookie-modal {
  position: fixed;
  z-index: 5100;
  left: 0; top:0; right:0; bottom:0;
  background: rgba(24,49,82, 0.70);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-dialog {
  background: #fff;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -3px 28px rgba(24,49,82,0.23);
  width: 100%;
  max-width: 390px;
  padding: 32px 22px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modalSlideUp 0.45s cubic-bezier(.4,1.45,.57,1.01);
}
@keyframes modalSlideUp {
  from { transform: translateY(80px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cookie-modal-header h3 {
  color: #183152;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
}
.cookie-modal-close {
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #183152;
  padding: 5px 13px;
  border-radius: 7px;
  cursor: pointer;
  transition: background 0.11s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #E1F0E5;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F5FBF6;
  border-radius: 10px;
  padding: 11px 18px;
  font-size: 1rem;
  color: #183152;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 7px;
}
.cookie-category .toggle {
  appearance: none;
  width: 34px;
  height: 20px;
  background: #e1f0e5;
  border-radius: 12px;
  position: relative;
  outline: none;
  border: none;
  transition: background 0.15s;
}
.cookie-category .toggle:checked {
  background: #227A3B;
}
.cookie-category .toggle:before {
  content: '';
  display: block;
  position: absolute;
  left: 3px;
  top: 2.5px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.15s, background 0.14s;
  box-shadow: 0 2px 7px #18315218;
}
.cookie-category .toggle:checked:before {
  left: 16px;
  background: #F7FFF6;
}
.cookie-category .essential {
  opacity: 0.57;
  pointer-events: none;
}
.cookie-modal-footer {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
  margin-top: 14px;
}
.cookie-modal-footer button {
  padding: 10px 21px;
  font-size: 1rem;
  border-radius: 18px;
  border: none;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  transition: background 0.14s, color 0.14s, box-shadow 0.13s;
}
.cookie-modal-footer .apply {
  background: #227A3B;
  color: #fff;
}
.cookie-modal-footer .apply:hover { background: #183152; }
.cookie-modal-footer .cancel {
  background: #E1F0E5;
  color: #227A3B;
}
.cookie-modal-footer .cancel:hover { background: #fff; color: #183152; }

/**** ANIMATION CLASSES ****/
.fade-in {
  animation: fadein 0.7s cubic-bezier(.5,1.3,.7,1);
}
@keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.slide-in-right {
  animation: slideInRight 0.4s cubic-bezier(.31,1.1,.56,1.04);
}
@keyframes slideInRight {
  from { transform: translateX(90px); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}

/**** FORM ELEMENTS & UTILITIES ****/
input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  border-radius: 5px;
  border: 1.5px solid #E1F0E5;
  padding: 9px 14px;
  outline: none;
  background: #fff;
  color: #183152;
  transition: border-color 0.13s, box-shadow 0.11s;
  box-shadow: 0 1px 5px rgba(24,49,82,0.03);
}
input:focus, textarea:focus, select:focus {
  border-color: #227A3B;
}
label { font-family: 'Roboto'; color: #183152; font-size: 1rem; }

/**** SPACING UTILITIES ****/
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 8px !important; }
.mt-2 { margin-top: 16px !important; }
.mt-3 { margin-top: 24px !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 8px !important; }
.mb-2 { margin-bottom: 16px !important; }
.mb-3 { margin-bottom: 24px !important; }
.gap-8 { gap: 8px !important; }
.gap-16 { gap: 16px !important; }
.gap-24 { gap: 24px !important; }

/**** MISC FIXES ****/
::-webkit-input-placeholder { color: #96a69e; }
::-moz-placeholder { color: #96a69e; }
:-ms-input-placeholder { color: #96a69e; }
::placeholder { color: #96a69e; }

/* Prevent select highlight on click for button/links */
a, .cta-btn, button {
  -webkit-tap-highlight-color: rgba(34, 122, 59, 0.05);
  outline: none !important;
}

/**** VISUAL ACCESSIBILITY ****/
body, .testimonial-card, .feature-grid li, .service-card {
  background-clip: padding-box;
}

/**** SUPPLEMENT: FEATURES FOR SCANDINAVIAN FEEL ****/
.section, .about-section, .usp-section, .eco-features, .eco-cases, .privacy-section, .gdpr-section, .terms-section, .cookie-section {
  border-radius: 18px;
  box-shadow: 0 1px 9px #18315212;
}

/* End of CSS */
