/* ================================================== */
/* CSS RESET & BASE STYLES                            */
/* ================================================== */
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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  font-family: 'Roboto', Arial, sans-serif;
  background-color: #FAFAF9;
  color: #2C3E50;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: #2C3E50;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus, a:hover {
  color: #8ED751;
  outline: none;
}
img, picture {
  max-width: 100%;
  display: block;
  border: none;
}
ul, ol {
  list-style: none;
}
button {
  font-family: inherit;
  font-size: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
}

/* ================================================== */
/* TYPOGRAPHY                                         */
/* ================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #2C3E50;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.375rem; margin-bottom: 14px; }
h4 { font-size: 1.125rem; margin-bottom: 12px; }
h5, h6 { font-size: 1rem;  margin-bottom: 10px; }
p, li, span, label, a, button {
  font-size: 1rem;
  line-height: 1.6;
  color: #2C3E50;
}
strong {
  font-weight: 600;
}
em {
  font-style: italic;
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.125rem; }
}

/* ================================================== */
/* LAYOUT: CONTAINERS + SECTIONS                      */
/* ================================================== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(44,62,80,0.04);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (max-width: 768px) {
  .section {
    padding: 26px 6px;
    margin-bottom: 32px;
  }
}

/* ================================================== */
/* HEADER / LOGO / NAVIGATION                         */
/* ================================================== */
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(44,62,80,0.03);
  border-bottom: 1px solid #ECECEC;
  position: sticky;
  top: 0;
  z-index: 20;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
}
.logo img {
  height: 44px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.01em;
  color: #2C3E50;
  padding: 8px 0;
  position: relative;
  transition: color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #8ED751;
}
.btn-primary {
  background: #8ED751;
  color: #2C3E50;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 26px;
  padding: 11px 30px;
  margin-left: 12px;
  box-shadow: 0 4px 12px rgba(142, 215, 81, 0.10);
  border: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.18s;
  display: inline-block;
}
.btn-primary:hover, .btn-primary:focus {
  background: #2C3E50;
  color: #fff;
  box-shadow: 0 6px 18px rgba(44,62,80,0.13);
  outline: none;
}
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: #2C3E50;
  background: transparent;
  border: none;
  padding: 7px 12px;
  border-radius: 8px;
  transition: background 0.17s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #8ED75122;
}
@media (max-width: 1024px) {
  .main-nav {
    gap: 20px;
  }
  header .container {
    gap: 8px;
  }
}
@media (max-width: 820px) {
  .main-nav a {
    font-size: 0.95rem;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .btn-primary {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ================================================== */
/* MOBILE MENU                                        */
/* ================================================== */
.mobile-menu {
  position: fixed;
  z-index: 90;
  inset: 0;
  background: rgba(44,62,80,0.96);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(0.72, 0.01, 0.2, 0.99);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  color: #fff;
  background: none;
  border: none;
  position: absolute;
  top: 22px;
  right: 24px;
  z-index: 91;
  padding: 10px;
  border-radius: 10px;
  transition: background 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #8ED75133;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
  align-items: flex-start;
  margin-top: 72px;
  padding: 40px 32px;
  min-height: 100vh;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  color: #fff;
  padding: 14px 0 10px 0;
  width: 100%;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
  display: block;
  min-width: 180px;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: #8ED751;
  background: rgba(255,255,255,0.07);
}
@media (max-width: 480px) {
  .mobile-nav {
    padding: 28px 12px;
    gap: 22px;
  }
  .mobile-menu-close {
    top: 11px;
    right: 11px;
    font-size: 1.5rem;
  }
}

/* ================================================== */
/* HERO SECTION                                       */
/* ================================================== */
.hero {
  background: #F6EFD5;
  min-height: 340px;
  display: flex;
  align-items: center;
  margin-bottom: 60px;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: inherit;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 16px;
}
.hero h1 {
  color: #2C3E50;
  font-size: 2.5rem;
  margin-bottom: 8px;
}
.hero p {
  color: #2C3E50;
  font-size: 1.1875rem;
  margin-bottom: 10px;
}
@media (max-width: 768px) {
  .hero {
    min-height: 210px;
    margin-bottom: 32px;
  }
  .hero h1 {
    font-size: 1.5rem;
    margin-bottom: 6px;
  }
  .hero .container {
    padding: 16px 8px;
  }
}

/* ================================================== */
/* FEATURES / SERVICE CARDS                            */
/* ================================================== */
.features {
  margin-bottom: 60px;
}
.features .content-wrapper > h2 {
  margin-bottom: 8px;
}
.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.service-item {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 3px 18px rgba(44,62,80,0.08);
  border: 1px solid #ECECEC;
  padding: 28px 22px 22px 22px;
  min-width: 220px;
  max-width: 270px;
  flex: 1 1 230px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
  transition: box-shadow 0.18s, transform 0.20s;
  margin-bottom: 20px;
  position: relative;
}
.service-item img {
  width: 38px;
  height: 38px;
  margin-bottom: 6px;
  filter: grayscale(25%);
}
.service-item h3 {
  font-size: 1.07rem;
  margin: 0 0 4px 0;
}
.service-item p {
  font-size: 0.99rem;
  color: #2C3E508C;
  margin-bottom: 2px;
}
.service-item .price {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #8ED751;
  margin-top: 5px;
  font-size: 1.1rem;
}
.service-item:hover, .service-item:focus-within {
  box-shadow: 0 8px 28px rgba(44,62,80,0.14);
  transform: translateY(-4px) scale(1.03);
  z-index: 2;
}
@media (max-width: 991px) {
  .service-grid {
    gap: 14px;
  }
  .service-item {
    min-width: 160px;
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  .service-grid {
    flex-direction: column;
    gap: 20px;
  }
  .service-item {
    width: 100%;
    min-width: 0;
    padding: 18px 12px;
  }
}

/* ================================================== */
/* CARDS, CARD CONTAINER, GENERAL FLEX PATTERNS        */
/* ================================================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 3px 14px rgba(44,62,80,0.07);
  margin-bottom: 20px;
  position: relative;
  padding: 26px 20px;
  flex: 1 1 320px;
  transition: box-shadow 0.17s, transform 0.18s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 7px 32px rgba(44,62,80,0.14);
  transform: translateY(-2px) scale(1.01);
}
.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) {
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}

/* ================================================== */
/* TESTIMONIALS                                       */
/* ================================================== */
.testimonials .testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(44,62,80,0.06);
  margin-bottom: 20px;
  border-left: 5px solid #8ED751;
  min-width: 0;
  max-width: 720px;
}
.testimonial-card p {
  color: #2C3E50;
  font-size: 1.08rem;
  font-style: italic;
  margin-bottom: 0;
}
.testimonial-card span {
  color: #2C3E50bb;
  font-size: 0.98rem;
  font-style: normal;
}
@media (max-width: 768px) {
  .testimonials .testimonial-card {
    flex-direction: column;
    padding: 14px 12px;
    gap: 8px;
    font-size: 1rem;
  }
}

/* ================================================== */
/* FEATURES / GENERAL FLEX FEATURE ITEMS               */
/* ================================================== */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 18px;
}

/* ================================================== */
/* TEXT SECTIONS, LISTS, OL/UL                        */
/* ================================================== */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.text-section ul, .text-section ol, .features ul, .features ol {
  margin-left: 16px;
  margin-bottom: 12px;
}
.text-section ul li, .features ul li, .legal ul li {
  color: #2C3E50b0;
  margin-bottom: 8px;
  line-height: 1.5;
  font-size: 1rem;
  position: relative;
  padding-left: 14px;
}
.text-section ul li:before, .features ul li:before, .legal ul li:before {
  content: '\2022';
  color: #8ED751;
  font-size: 1.1em;
  position: absolute;
  left: 0;
  top: 0.18em;
}
.legal ul {
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .text-section, .features ul, .features ol {
    margin-left: 0;
    padding-left: 0;
  }
}

/* ================================================== */
/* CONTACT PREVIEW & FOOTER                           */
/* ================================================== */
.contact-preview, .contact-details, .contact-form-preview {
  background: #F6EFD5;
  border-radius: 15px;
}
.contact-preview .btn-primary,
.contact-details .btn-primary {
  margin-top: 16px;
}
footer {
  background: #fff;
  border-top: 1px solid #ECECEC;
  box-shadow: 0 -2px 8px rgba(44,62,80,0.02);
  padding: 24px 0 12px 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-nav a {
  font-size: 0.98rem;
  color: #2C3E50b0;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #8ED751;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #A0A6A4;
}
.footer-brand img {
  height: 30px;
  width: auto;
}
@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .footer-nav {
    gap: 8px;
  }
}

/* ================================================== */
/* COOKIE CONSENT BANNER & MODAL                      */
/* ================================================== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  color: #2C3E50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 21px 32px;
  z-index: 200;
  box-shadow: 0 -2px 16px rgba(44,62,80,0.07);
  border-radius: 14px 14px 0 0;
  border: 1px solid #ECECEC;
  transition: transform 0.35s;
  transform: translateY(0);
  max-width: 730px;
  margin: 0 auto 16px auto;
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner-text {
  font-size: 1rem;
  color: #2C3E50;
  flex: 2 1 350px;
}
.cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.cookie-btn-accept, .cookie-btn-reject, .cookie-btn-settings {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 22px;
  padding: 9px 22px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  transition: background 0.18s, color 0.16s;
  margin-right: 0;
}
.cookie-btn-accept {
  background: #8ED751;
  color: #2C3E50;
}
.cookie-btn-accept:hover, .cookie-btn-accept:focus {
  background: #2C3E50;
  color: #fff;
}
.cookie-btn-reject {
  background: #F6EFD5;
  color: #2C3E50;
}
.cookie-btn-reject:hover, .cookie-btn-reject:focus {
  background: #ECECEC;
  color: #2C3E50;
}
.cookie-btn-settings {
  background: #fff;
  color: #2C3E50;
  border: 1px solid #8ED75199;
}
.cookie-btn-settings:hover, .cookie-btn-settings:focus {
  background: #8ED75122;
}

@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 10px;
    gap: 14px;
    right: 12px;
    left: 12px;
    box-shadow: 0 -2px 9px rgba(44,62,80,0.11);
  }
  .cookie-btns {
    width: 100%;
    gap: 9px;
  }
}

/* --- Cookie Preferences Modal --- */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 210;
  inset: 0;
  background: rgba(44,62,80,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModal 0.18s;
}
@keyframes fadeInModal {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  max-width: 400px;
  width: 94vw;
  padding: 36px 28px 24px 28px;
  box-shadow: 0 6px 38px rgba(44,62,80,0.21);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: modalSlideIn 0.3s cubic-bezier(0.88,0.0,0.33,1.1);
}
@keyframes modalSlideIn {
  0% { transform: scale(0.91) translateY(86px); opacity: 0.2; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.19rem;
  margin-bottom: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 15px;
}
.cookie-category label {
  font-size: 1rem;
  margin-left: 3px;
}
.cookie-toggle {
  width: 38px;
  height: 22px;
  background: #ECECEC;
  border-radius: 15px;
  position: relative;
  cursor: pointer;
  transition: background 0.19s;
  border: 1px solid #dddddd;
}
.cookie-toggle input[type="checkbox"] {
  display: none;
}
.cookie-toggle-slider {
  position: absolute;
  top: 2px; left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #8ED751;
  transition: left 0.18s;
  box-shadow: 0 1px 3px rgba(44,62,80,0.13);
}
.cookie-toggle input[type="checkbox"]:checked + .cookie-toggle-slider {
  left: 18px;
  background: #8ED751;
}
.cookie-category input[disabled] + .cookie-toggle-slider {
  background: #C7DBC1;
  cursor: not-allowed;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 12px;
}
.cookie-modal-close {
  position: absolute; top: 11px; right: 14px;
  font-size: 1.4rem;
  background: none;
  border: none;
  color: #2C3E50;
  cursor: pointer;
  border-radius: 8px;
  padding: 5px 7px;
  transition: background 0.1s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #8ED75122;
}
@media (max-width: 480px) {
  .cookie-modal {
    padding: 18px 7px 12px 12px;
  }
}

/* ================================================== */
/* MISC: CTA BAR, SCANDINAVIAN ACCENTS                */
/* ================================================== */
.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 30px 0 0 0;
}
.cta .btn-primary {
  font-size: 1.06rem;
  padding: 12px 36px;
}

/* ================================================== */
/* LEGAL SECTIONS                                     */
/* ================================================== */
.legal {
  background: #fff;
  border-radius: 15px;
  margin-bottom: 60px;
  padding: 40px 24px;
  box-shadow: 0 2px 12px rgba(44,62,80,0.04);
}
.legal h1, .legal h2 {
  margin-bottom: 18px;
}
.legal p, .legal ul li {
  color: #2C3E50b2;
}
@media (max-width: 768px) {
  .legal {
    padding: 20px 8px;
    margin-bottom: 32px;
  }
}

/* ================================================== */
/* UI ELEMENTS: FORMS, INPUTS, ETC.                   */
/* ================================================== */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  border-radius: 8px;
  padding: 10px 12px;
  border: 1px solid #ECECEC;
  background: #F6EFD5;
  color: #2C3E50;
  outline: none;
  margin-bottom: 12px;
  transition: border 0.17s, box-shadow 0.17s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #8ED751;
  box-shadow: 0 1px 3px rgba(44,62,80,0.07);
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #2C3E50bb;
  margin-bottom: 6px;
  display: block;
}

/* ================================================== */
/* MICRO-INTERACTIONS, ANIMATION                      */
/* ================================================== */
.btn-primary, .cookie-btn-accept, .cookie-btn-reject, .cookie-btn-settings, .mobile-menu-toggle, .mobile-menu-close {
  transition: background 0.18s, color 0.18s, box-shadow 0.16s, transform 0.18s;
}
.service-item, .card, .testimonial-card {
  transition: box-shadow 0.19s, transform 0.17s;
}
.service-item:hover, .card:hover, .testimonial-card:hover {
  transform: translateY(-2px) scale(1.015);
  box-shadow: 0 8px 28px rgba(44,62,80,0.13);
}
footer, header, .footer-brand, .footer-nav, .container {
  transition: background 0.15s, color 0.13s;
}

/* ================================================== */
/* SCANDINAVIAN CLEAN ACCENTS                         */
/* ================================================== */
.section, .card, .service-item, .testimonial-card, .legal {
  border-radius: 15px;
  box-shadow: 0 2px 12px rgba(44,62,80,0.04);
}
@media (max-width: 540px) {
  .section, .card, .service-item, .testimonial-card, .legal {
    border-radius: 7px;
  }
}
/* Natural/fresh accents via light backgrounds, white, and #F6EFD5 accent, clear borders, and accent color for active states. */

/* ================================================== */
/* UTILITY CLASSES                                    */
/* ================================================== */
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.text-center { text-align: center; }
.flex { display: flex; }
.flex-center { justify-content: center; align-items: center; }
.gap-20 { gap: 20px; }

/* ================================================== */
/* OVERRIDE BROWSER SCROLLBARS FOR CLEAN LOOK         */
/* ================================================== */
::-webkit-scrollbar {
  width: 10px;
  background: #ECECEC;
}
::-webkit-scrollbar-thumb {
  background: #8ED75144;
  border-radius: 5px;
}
section {
  padding: 20px 0;
}
/* ================================================== */
/* ENDCSS                                             */
