/* ------------------------------------------------------
   CSS RESET & SCANDINAVIAN CLEAN BASE
---------------------------------------------------------*/
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:inherit; vertical-align:baseline;
  box-sizing: border-box;
}
article,aside,details,figcaption,figure,
footer,header,hgroup,main,menu,nav,section { display:block; }
body {
  line-height:1.5;
  background: #F7F3EC;
  color: #2B3240;
  font-family: 'Roboto', Arial, sans-serif;
  min-height:100vh;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
ol, ul { list-style: none; }
a { text-decoration: none; color: #2B3240; }
a:focus, button:focus { outline:2px solid #7CBA43; outline-offset:2px; }
img { max-width: 100%; display: block; height:auto; }
*, *:before, *:after { box-sizing:border-box; }

/* ------------------------------------------------------
   BRAND & TYPOGRAPHY
---------------------------------------------------------*/
@font-face {
  font-family: 'Montserrat';
  src: local('Montserrat'), url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&display=swap');
  font-display:swap;
}
@font-face {
  font-family: 'Roboto';
  src: local('Roboto'), url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500&display=swap');
  font-display:swap;
}
:root {
  --primary: #2B3240;
  --secondary: #7CBA43;
  --accent: #F7F3EC;
  --surface: #FFFFFF;
  --muted: #F0EFE9;
  --gray: #B5B8C4;
  --text-dark: #2B3240;
  --text-light: #FFFFFF;
  --border: #E4E1D9;
  --shadow: 0 2px 8px rgba(60,61,68,0.06), 0 1px 3px rgba(60,61,68,0.04);
  --radius-card: 18px;
  --radius-btn: 8px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
}
h1 {
  font-size: 2.5rem; margin-bottom: 24px;
}
h2 {
  font-size: 2rem; margin-bottom: 20px;
}
h3 {
  font-size: 1.375rem; font-weight:600; margin-bottom:12px;
}
p, ul, ol, li, span {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: var(--primary);
  font-weight:400;
}
p { margin-bottom: 18px;}
.text-section > span, .testimonial-card span {
  font-size:0.97rem; color:#687086; font-style: italic;
}
.text-section > ul, .content-wrapper > ul, .content-wrapper ul {
  margin: 12px 0 12px 12px;
}
.text-section > ul li, .content-wrapper > ul li {
  padding-left: 0;
  margin-bottom: 8px;
  position:relative;
  display:flex; align-items:center; gap:12px;
}
.text-section > ul li:before { display:none; }
.text-section > img, .content-wrapper > img { max-width:48px; margin-bottom: 12px; }

/* ------------------------------------------------------
   LAYOUT & SECTION PATTERNS
---------------------------------------------------------*/
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap:32px;
  align-items: flex-start;
  width:100%;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--surface);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 32px 24px;
  margin-bottom: 20px;
  position:relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.18s cubic-bezier(.4,.14,.3,1);
}
.card:hover {
  box-shadow: 0 4px 20px rgba(60,61,68,0.11);
}
.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;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: var(--surface);
  box-shadow: var(--shadow);
  border-radius: var(--radius-card);
  padding: 20px;
  margin-bottom: 20px;
  max-width: 520px;
  width: 100%;
  transition: box-shadow 0.18s cubic-bezier(.4,.14,.3,1), transform 0.18s linear;
}
.testimonial-card:hover {
  box-shadow: 0 4px 24px rgba(44,54,80,0.13);
  transform: translateY(-4px) scale(1.02);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
/* VISUAL SPACING */
section:not(:last-child) { margin-bottom: 60px; }
.content-wrapper > * + * { margin-top: 0; } /* Already handled by gap */

/* ------------------------------------------------------
   HEADER & NAVIGATION
---------------------------------------------------------*/
header {
  background: var(--surface);
  box-shadow: 0 2px 8px rgba(44,54,80,0.05);
  position: relative;
  z-index: 20;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap:24px;
}
header img { height:44px; width:auto; margin-right: 18px; }
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary);
  opacity: 0.92;
  transition: color 0.16s, opacity 0.16s;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--secondary);
  border-bottom: 2px solid var(--secondary);
  opacity:1;
}
.btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  padding: 10px 32px;
  border-radius: var(--radius-btn);
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  box-shadow: 0 2px 8px rgba(44,49,64,0.04);
  font-weight: 600;
  display: inline-block;
  margin-left: 10px;
  letter-spacing: 0.01em;
}
.btn-primary {
  background: var(--secondary);
  color: var(--text-light);
  border: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: #65a73b;
  color: var(--text-light);
}
.btn-secondary {
  background: var(--surface);
  border: 2px solid var(--secondary);
  color: var(--secondary);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--secondary);
  color: var(--surface);
}
/* Burger menu button */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--primary);
  margin-left: 18px;
  cursor: pointer;
  transition: color 0.16s;
  z-index:31;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  color: var(--secondary);
}

/* ------------------------------------------------------
   MOBILE MENU (BURGER)
---------------------------------------------------------*/
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(43, 50, 64, 0.98);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.65,.09,.47,1);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 50px;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  position: absolute;
  top: 26px;
  right: 28px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--secondary);
  cursor: pointer;
  z-index: 102;
  transition: color 0.15s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  margin-top: 36px;
  width:90%;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.25rem;
  padding: 12px 0 12px 8px;
  border-radius: 7px;
  width: 100%;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  transition: background 0.22s, color 0.2s;
  margin-bottom: 0;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--secondary);
  background: rgba(124,186,67,0.12);
}


/* ------------------------------------------------------
   FOOTER
---------------------------------------------------------*/
footer {
  background: var(--surface);
  box-shadow: 0 -2px 8px rgba(44,54,80,0.05);
  padding: 34px 0 12px 0;
  margin-top: 60px;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap:36px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-left: 20px;
}
.footer-nav a {
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 2px;
  font-family: 'Roboto', Arial, sans-serif;
  opacity: 0.8;
  transition: color 0.17s, opacity 0.16s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: var(--secondary);
  opacity:1;
}
.footer-contact {
  font-size: 0.97rem;
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: #5B6070;
}
footer img {
  height:38px;
  margin-bottom:10px;
}
footer .footer-contact img {
  height:16px; width:auto; margin-right:6px;
  display:inline-block;
}

/* ------------------------------------------------------
   SECTIONS / HERO / FEATURES / CTA / TESTIMONIALS
---------------------------------------------------------*/
section {
  background: none;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap:16px;
  max-width: 720px;
  width:100%;
}
section .btn {
  margin-top: 10px;
}
.content-wrapper > .testimonial-card {
  align-self: flex-start;
}

/* Features with Icon */
.content-wrapper > ul > li, .text-section > ul > li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.08rem;
  color:var(--primary);
  margin-bottom: 10px;
  background:none;
}
.content-wrapper > ul > li img {
  width:32px; height:32px; margin:0;
}

/* ------------------------------------------------------
   RESPONSIVE DESIGN
---------------------------------------------------------*/
@media (max-width:1200px) {
  .container { max-width: 98%; }
}
@media (max-width:900px) {
  header .container, footer .container {
    flex-direction: column;
    height:auto;
    gap:15px;
  }
  .footer-nav { flex-direction: row; gap: 18px; margin-left:0; margin-bottom:8px; }
  .footer-contact { margin-top:10px; }
}
@media (max-width:768px) {
  h1 { font-size: 2rem;}
  h2 { font-size: 1.25rem;}
  .container {
    max-width: 100vw;
    padding: 0 10px;
  }
  .main-nav { display: none; }
  .mobile-menu-toggle { display: inline-block; }
  .btn { padding: 9px 18px; font-size: 1rem;}
  .section { padding: 34px 8px; margin-bottom:44px; }
  .content-wrapper, .card-container, .content-grid, .footer-contact {
    flex-direction: column;
    gap:18px!important; align-items: flex-start;
  }
  .testimonial-card { max-width:100%; }
  .text-image-section { flex-direction: column; gap: 20px; }
  footer .container { gap: 16px; }
}
@media (max-width:500px) {
  h1 { font-size:1.2rem; }
  .btn, .btn-primary, .btn-secondary { font-size:0.95rem; padding: 8px 12px; }
  .testimonial-card { padding: 13px 8px; }
  .card { padding: 16px 10px; }
  .section { padding: 20px 0; margin-bottom:28px; }
}

/* ------------------------------------------------------
   MICRO-INTERACTIONS / TRANSITIONS
---------------------------------------------------------*/
.btn, a, .main-nav a, .mobile-nav a {
  transition: color 0.18s, background 0.18s, border 0.18s, box-shadow 0.19s, transform 0.17s;
}
.card, .testimonial-card {
  transition: box-shadow 0.17s, transform 0.18s;
}
.card:hover, .testimonial-card:hover {
  transform: translateY(-2px) scale(1.012);
  box-shadow: 0 4px 16px rgba(44,54,80,0.10);
}

/* Focus styles */
.btn:focus, .main-nav a:focus, .mobile-nav a:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

/* ------------------------------------------------------
   COOKIE CONSENT BANNER & MODAL
---------------------------------------------------------*/
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: var(--surface);
  color: var(--primary);
  box-shadow: 0 -2px 16px rgba(44,54,80,0.10);
  z-index: 120;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 23px 10px;
  font-size: 1.05rem;
  opacity: 1;
  transition: transform 0.32s cubic-bezier(.7,.23,.3,1), opacity 0.17s;
}
.cookie-banner.hide {
  transform: translateY(100%);
  opacity: 0.3;
  pointer-events: none;
}
.cookie-banner-message {
  flex: 1 1 480px;
  max-width: 620px;
}
.cookie-banner-btns {
  display: flex;
  gap:14px;
  flex-wrap: wrap;
}
.cookie-accept,.cookie-reject,.cookie-settings {
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 6px;
  border: none;
  padding: 9px 22px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom:2px;
}
.cookie-accept { background: var(--secondary); color: #fff;}
.cookie-accept:hover {background: #5b9736;}
.cookie-reject { background: #dedfd9; color: var(--primary); border: 1.5px solid var(--border); }
.cookie-reject:hover { background: #ecebe3; }
.cookie-settings { background: none; border: 2px solid var(--secondary); color: var(--secondary);}
.cookie-settings:hover {background: var(--secondary); color: #fff;}

@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 8px;
    gap: 14px;
  }
  .cookie-banner-message { font-size: 1rem;}
}

/* Cookie Modal */
.cookie-modal-overlay {
  position:fixed;
  top:0; left:0; right:0; bottom:0;
  width:100vw; height:100vh;
  background: rgba(44,50,61, 0.45);
  z-index:200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity:0;
  pointer-events:none;
  transition: opacity 0.22s cubic-bezier(.36,.17,.39,1);
}
.cookie-modal-overlay.open {
  opacity:1; pointer-events:all;
}
.cookie-modal {
  background:var(--surface);
  color:var(--primary);
  border-radius: var(--radius-card);
  box-shadow: 0 6px 40px rgba(44,54,80,0.18);
  padding: 36px 30px 26px 30px;
  min-width:320px;
  max-width: 98vw;
  width: 430px;
  display: flex;
  flex-direction: column;
  gap:22px;
  animation: modal-in .32s cubic-bezier(.7,.23,.4,1);
  position: relative;
}
@keyframes modal-in {
  from {opacity:0; transform: translateY(40px) scale(0.97);}
  to {opacity:1; transform:none;}
}
.cookie-modal-title {
  font-family:'Montserrat', Arial, sans-serif;
  font-weight:700;
  font-size:1.2rem;
  margin-bottom:12px;
}
.cookie-category {
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:8px;
}
.cookie-category input[type="checkbox"] {
  width:20px; height:20px;
  accent-color: var(--secondary);
}
.cookie-essential-label {
  color: var(--gray);
  font-size:0.98rem;
}
.cookie-modal-btn-row {
  display:flex;
  gap:15px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position:absolute; top:16px; right:18px;
  background:none;
  border:none;
  font-size:1.5rem;
  color:var(--secondary);
  cursor:pointer;
  transition: color .17s;
}
.cookie-modal-close:hover {color:#46801e;}

@media (max-width: 520px) {
  .cookie-modal { width: 98vw; padding: 18px 6px; }
}

/* ------------------------------------------------------
   SPECIAL: VISUALS/ICONS
---------------------------------------------------------*/
.content-wrapper ul img,
.text-section ul img {
  background: #edefea;
  border-radius: 8px;
  padding: 5px;
  margin-right: 9px;
}

/* List - Visual Indicator if no icon */
.content-wrapper ul li:not(:has(img))::before, .text-section ul li:not(:has(img))::before {
  content: '';
  width:10px; height:10px;
  border-radius:50%;
  background:var(--secondary);
  display:inline-block;
  margin-right:12px;
}

/* ------------------------------------------------------
   UTILITIES
---------------------------------------------------------*/
.muted { color: var(--gray); }
.bg-accent { background: var(--accent) !important; }
.bg-surface { background: var(--surface)!important; }
.text-center { text-align: center !important; }

/* ------------------------------------------------------
   ACCESSIBLE HIDE
---------------------------------------------------------*/
.visually-hidden { position: absolute !important; width:1px; height:1px; top:-9999px; left:-9999px; overflow: hidden; }
