/* ===================================================
   CSS RESET & BASE NORMALIZATION (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; }
*, *:before, *:after { box-sizing: inherit; }
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  background: #F9FAFB; /* very light neutral */
  color: #2C3E50;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  transition: background-color .2s;
}
img { max-width: 100%; display: block; height: auto; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; transition: color .2s; }

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
}

/* ===============================
   BRAND FONTS & TYPOGRAPHY SCALE
=============================== */
h1, .h1 {
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2, .h2 {
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 600;
  font-size: 2rem;
  margin-bottom: 20px;
}
h3, .h3 {
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 500;
  font-size: 1.25rem;
  margin-bottom: 14px;
}
p, ul li, ol li, .contact-item, address {
  font-size: 1rem;
  color: #374151;
}
.subheadline {
  font-size: 1.125rem;
  color: #16A085;
  font-weight: 500;
  margin-bottom: 32px;
  letter-spacing: 0.2px;
}
address {
  font-style: normal;
}

/* ===================================
   LAYOUT UTILS & RESPONSIVE CONTAINER
=================================== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 12px 0 rgba(44,62,80,0.05);
  transition: box-shadow .2s;
}

/* ----------------------
   HEADER & NAVIGATION
---------------------- */
header {
  background: #FFFFFF;
  padding: 12px 0;
  box-shadow: 0 1px 8px 0 rgba(44,62,80,0.04);
  position: sticky;
  top: 0; left: 0;
  width: 100%;
  z-index: 100;
}
header .container, header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex; align-items: center;
  padding: 0 8px;
  height: 52px;
}
.logo img {
  height: 42px; width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #2C3E50;
  padding: 10px 12px;
  border-radius: 6px;
  transition: background .16s, color .14s;
}
.main-nav a:hover,
.main-nav a.active  {
  background: #F9E79F;
  color: #16A085;
}
.main-nav .btn-primary {
  padding: 10px 20px;
  background: #16A085;
  color: #fff;
  border-radius: 8px;
  font-weight: 700;
  box-shadow: 0 2px 8px 0 rgba(44,62,80,0.08);
  transition: background .18s;
}
.main-nav .btn-primary:hover,
.main-nav .btn-primary:focus {
  background: #12876c;
  color: #fff;
}

/* Hamburger for mobile */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 2px solid #16A085;
  border-radius: 8px;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  color: #16A085;
  cursor: pointer;
  margin-left: 16px;
  transition: background .18s;
  z-index: 402;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #F9E79F;
  border-color: #f7d86a;
}

@media (min-width: 1024px) {
  .mobile-menu-toggle { display: none; }
}

/* Hide main nav on mobile, show on desktop */
@media (max-width: 1023px) {
  .main-nav { display: none; }
}

/* ==============================
   MOBILE MENU (SLIDE-IN PANEL)
============================== */
.mobile-menu {
  position: fixed;
  top: 0; right: 0; left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(44,62,80,0.14);
  z-index: 401;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  pointer-events: none;
  opacity: 0;
  transition: opacity .22s;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}
.mobile-nav {
  background: #fff;
  max-width: 340px;
  width: 84vw;
  height: 100vh;
  padding: 36px 22px 36px 30px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: -2px 0 20px 0 rgba(44,62,80,0.07);
  transform: translateX(100%);
  transition: transform .29s cubic-bezier(.57,.07,.28,.99);
  position: relative;
}
.mobile-menu.open .mobile-nav {
  transform: translateX(0);
}
.mobile-menu .mobile-menu-close {
  position: absolute;
  top: 18px; right: 18px;
  font-size: 2rem;
  color: #2C3E50;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2;
  padding: 8px;
  border-radius: 6px;
  transition: background .13s;
}
.mobile-menu .mobile-menu-close:hover, 
.mobile-menu .mobile-menu-close:focus {
  background: #F9E79F;
}
.mobile-nav a {
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 500;
  color: #2C3E50;
  font-size: 1.12rem;
  padding: 14px 0 14px 8px;
  border-radius: 6px;
  transition: background .16s, color .18s;
}
.mobile-nav a:last-child {
  background: #16A085;
  color: #fff;
  font-weight: 700;
  margin-top: 14px;
  padding: 12px 0 12px 0;
  text-align: center;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F9E79F;
  color: #16A085;
}
.mobile-nav a:last-child:hover, .mobile-nav a:last-child:focus {
  background: #12876c;
  color: #fff;
}

/* ===================
   SECTION/BLOCK SPACING
=================== */
section {
  margin-bottom: 60px;
  padding: 40px 0;
}
.section:last-child, section:last-child { margin-bottom: 0; }

@media (max-width: 768px) {
  section { padding: 30px 0; }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 2px 8px 0 rgba(44,62,80,0.045);
  padding: 28px 18px;
  flex: 1 1 250px;
  min-width: 250px;
  transition: box-shadow .17s, transform .19s;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 4px 20px 0 rgba(22,168,133,0.11);
  transform: translateY(-2px) scale(1.019);
}

.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;
    gap: 24px;
    align-items: flex-start;
  }
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #F9E79F;
  border-left: 7px solid #16A085;
  border-radius: 14px;
  box-shadow: 0 1px 9px 0 rgba(44,62,80,0.05);
  color: #2C3E50;
  transition: box-shadow .19s;
}
.testimonial-card p {
  flex: 1 1 auto;
  font-size: 1.08rem;
  color: #2C3E50;
  margin-bottom: 2px;
}
.testimonial-card span {
  font-size: .97rem;
  color: #16A085;
  font-weight: 500;
}
.testimonial-card:hover {
  box-shadow: 0 4px 18px 0 rgba(44,62,80,0.11);
}

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

/* =================
   BUTTONS
================== */
.btn-primary, .btn-secondary {
  display: inline-block;
  font-family: "Montserrat", Arial, sans-serif;
  border: none;
  border-radius: 9px;
  padding: 14px 26px;
  font-size: 1.125rem;
  font-weight: 600;
  text-align: center;
  margin-top: 20px;
  transition: background .18s, color .14s, box-shadow .17s;
  box-shadow: 0 2px 8px rgba(44,62,80,0.07);
  cursor: pointer;
}
.btn-primary {
  background: #16A085;
  color: #fff;
}
.btn-primary:hover, .btn-primary:focus {
  background: #2C3E50;
  color: #F9E79F;
  box-shadow: 0 4px 18px 0 rgba(44,62,80,0.16);
}
.btn-secondary {
  background: #F9E79F;
  color: #2C3E50;
  box-shadow: 0 2px 8px 0 rgba(255,193,7,0.045);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #ffe16a;
  color: #12876c;
}

/* =========================
   CALLOUTS & HIGHLIGHT BLOCKS
========================= */
.callout {
  background: #fffbe7;
  border-left: 5px solid #16A085;
  padding: 18px 22px;
  border-radius: 11px;
  margin: 28px 0 22px 0;
  color: #2C3E50; font-size: 1.06rem;
  box-shadow: 0 1px 5px 0 rgba(44,62,80,0.04);
}

/* =====================
   CONTENT LIST STYLES
===================== */
ul, ol {
  margin-left: 20px;
  margin-bottom: 18px;
}
ul li, ol li {
  position: relative;
  margin-bottom: 14px;
  padding-left: 20px;
  font-size: 1rem;
  line-height: 1.5;
}
ul li:before {
  content: "";
  display: inline-block;
  position: absolute; left: 0; top: 10px;
  background: #16A085;
  width: 7px; height: 7px;
  border-radius: 50%;
}

/* Enhance icon placement */
ul li img {
  vertical-align: middle;
  margin-right: 9px;
  height: 1.4em;
  width: auto;
}

/* ===========================
   ADDRESS & CONTACT-ITEMS
=========================== */
address {
  display: flex; flex-direction: column;
  gap: 10px;
  margin: 28px 0 14px 0;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: #374151;
}
.contact-item img {
  height: 1.2em; width: auto;
  margin-right: 2px;
}

/* =====================
   FOOTER STYLING
===================== */
footer {
  background: #fff;
  border-top: 1px solid #e0e6ea;
  padding: 32px 0 14px 0;
  margin-top: 60px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  margin-bottom: 20px;
}
.footer-nav a {
  color: #16A085;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  transition: color .14s;
}
.footer-nav a:hover, .footer-nav a:focus { color: #12876c; }
footer address { margin-top: 12px; align-items: center; }
footer .copyright {
  text-align: center;
  color: #b1b7bd;
  font-size: 0.97rem;
  margin-top: 13px;
}

/* Responsive stacks for Footer */
@media (max-width: 600px) {
  .footer-nav {
    flex-direction: column;
    gap: 14px;
  }
  footer address { align-items: flex-start; }
}

/* =====================
   COOKIE BANNER & MODAL
===================== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 -2px 18px 0 rgba(44,62,80,0.09);
  border-top: 2px solid #F9E79F;
  padding: 20px 8px 18px 8px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 16px;
  z-index: 9999;
  transition: transform .23s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  pointer-events: none;
  opacity: 0;
}
.cookie-banner-message {
  color: #2C3E50;
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 8px;
}
.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.btn-cookie-accept, .btn-cookie-reject, .btn-cookie-settings {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 7px;
  padding: 10px 20px;
  cursor: pointer;
  transition: background .15s, color .13s;
}
.btn-cookie-accept {
  background: #16A085;
  color: #fff;
}
.btn-cookie-accept:hover, .btn-cookie-accept:focus {
  background: #12876c;
}
.btn-cookie-reject {
  background: #F9E79F;
  color: #2C3E50;
}
.btn-cookie-reject:hover, .btn-cookie-reject:focus {
  background: #fde47e;
}
.btn-cookie-settings {
  background: #fff;
  color: #2C3E50;
  border: 1.5px solid #2C3E50;
}
.btn-cookie-settings:hover, .btn-cookie-settings:focus {
  background: #F9E79F;
}

/* Cookie settings modal overlay */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(44,62,80,0.18);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .19s;
}
.cookie-modal.open { opacity: 1; pointer-events: all; }
.cookie-modal-content {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 40px 0 rgba(44,62,80,0.10);
  padding: 34px 28px 24px 28px;
  width: 98vw;
  max-width: 410px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: modalOpen .36s cubic-bezier(0.42,0.08,0.2,1.01);
}
@keyframes modalOpen {
  0% {transform: scale(.95) translateY(60px); opacity: 0;}
  100% {transform: scale(1) translateY(0); opacity: 1;}
}
.cookie-modal-header {
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 700;
  font-size: 1.18rem;
  margin-bottom: 12px;
}
.cookie-modal-close {
  position: absolute;
  top: 14px; right: 20px;
  font-size: 1.6rem;
  background: none;
  border: none;
  color: #16A085;
  cursor: pointer;
  border-radius: 5px;
  padding: 3px 6px;
  transition: background .13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #F9E79F;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.cookie-category label {
  font-size: 1.05rem;
  color: #2C3E50;
  font-weight: 500;
}
.cookie-category input[type="checkbox"] {
  width: 20px; height: 20px;
  accent-color: #16A085;
  border-radius: 3px;
}
.cookie-category .locked {
  color: #B1B7BD;
  font-size: .96rem;
  margin-left: 6px;
}

@media (max-width: 480px) {
  .cookie-modal-content { padding: 16px 8px 14px 8px; }
}

/* ================
   TEXT SECTIONS
================= */
.text-section {
  font-size: 1.06rem;
  line-height: 1.6;
  color: #374151;
  margin: 20px 0 10px 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.text-section h2, .text-section h3 {
  margin-top: 14px;
  color: #16A085;
}
.text-section ul, .text-section ol { margin-left: 10px; }
.text-section li {
  margin-left: 18px;
  font-size: 1rem;
}

/* ================
   RESPONSIVE MEDIA
================= */
@media (max-width: 768px) {
  .container { max-width: 98vw; padding: 0 8px; }
  .section, section { padding: 16px 0 26px 0; border-radius: 12px; }
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.06rem; }
  .btn-primary, .btn-secondary { padding: 12px 12px; font-size: 1rem; }
  .card-container { gap: 12px; }
  .testimonial-card { flex-direction: column; gap: 8px; padding: 13px; }
}
@media (max-width: 600px) {
  .content-wrapper { max-width: 100vw; padding: 0 0; }
  .callout { padding: 10px 10px; }
}

/* ================
   SMOOTH TRANSITIONS
================= */
.btn-primary, .btn-secondary,
.main-nav a, .mobile-nav a,
.mobile-menu-close, .cookie-modal-close,
.btn-cookie-accept, .btn-cookie-reject, .btn-cookie-settings {
  transition: background .16s, color .13s, box-shadow .15s;
}
.card, .testimonial-card, .section { transition: box-shadow .15s, transform .09s; }

/* ============================================
   SCANDINAVIAN CLEAN DESIGN – VISUAL DETAILS
============================================ */
.section, .card, .testimonial-card, .callout, .cookie-modal-content {
  box-shadow: 0 1px 8px 0 rgba(44,62,80,0.04);
  border-radius: 14px;
}

body, .section, .card, .testimonial-card, .callout {
  background: #fff;
}

/* Accent touches */
hr {
  border: none;
  border-top: 1.5px solid #ececec;
  margin: 24px 0;
}

/* =========================
   ACCESSIBILITY & INTERACTIONS
========================= */
a:focus,
button:focus,
.btn-primary:focus, .btn-secondary:focus {
  outline: 2.5px solid #16A085;
  outline-offset: 3px;
}

::-webkit-input-placeholder { color: #B1B7BD; }
::-moz-placeholder { color: #B1B7BD; }
:-ms-input-placeholder { color: #B1B7BD; }
::placeholder { color: #B1B7BD; }

/* =====================
   FLEXBOX UTILITIES
===================== */
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.flex-column { flex-direction: column; }
.flex-row { flex-direction: row; }
.align-center { align-items: center; }
.align-start { align-items: flex-start; }
.gap-20 { gap: 20px; }
.gap-24 { gap: 24px; }

/* Prevent absolute content overlap; only for minor decorations */

/* =====================
   MODERN SCROLLBAR
===================== */
html {
  scrollbar-width: thin;
  scrollbar-color: #c7dad3 #f9fafb;
}
body::-webkit-scrollbar {
  width: 9px;
  background: #f9fafb;
}
body::-webkit-scrollbar-thumb {
  background: #c7dad3;
  border-radius: 10px;
}

/* =====================
   PRINT FRIENDLY
===================== */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
  .container, .content-wrapper, section { box-shadow: none !important; background: #fff !important; }
}
