/* CSS RESET & BASE TYPOGRAPHY (SCANDINAVIAN CLEAN) */
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;
  outline: none;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #F7F9FA;
  color: #222E32;
  font-size: 16px;
  font-weight: 400;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #003459;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #48B9E7;
  outline: none;
}
ul, ol {
  list-style: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  margin: 0;
  border: none;
  background: none;
  outline: none;
  color: inherit;
}
button {
  cursor: pointer;
}
::-webkit-input-placeholder { color: #AEB4B6; }
::-moz-placeholder { color: #AEB4B6; }
:-ms-input-placeholder { color: #AEB4B6; }
::placeholder { color: #AEB4B6; }

/* COLOR VARIABLES FOR EASY OVERRIDES */
:root {
  --color-primary: #003459;
  --color-secondary: #48B9E7;
  --color-accent: #FFD600;
  --color-bg: #F7F9FA;
  --color-bg-darker: #E5ECEF;
  --color-text: #222E32;
  --color-text-light: #6C7A81;
  --color-card-bg: #fff;
  --color-shadow: rgba(30,46,60,0.09);
  --color-footer-bg: #E5ECEF;
}

/* TYPOGRAPHY SCALE (SCANDINAVIAN CLEAN: SIMPLE, MODERN, FUNCTIONAL) */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
}
h1 {
  font-size: 2.5rem; /* 40px */
  line-height: 1.18;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--color-primary);
}
h2 {
  font-size: 2rem; /* 32px */
  line-height: 1.22;
  font-weight: 600;
  margin-bottom: 18px;
  color: var(--color-primary);
}
h3 {
  font-size: 1.28rem; /* 20.5px */
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--color-primary);
}
h4 {
  font-size: 1.125rem; /* 18px */
  font-weight: 600;
  margin-bottom: 12px;
}
p, ul, ol, li, span {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem; /* 16px */
}
p {
  margin-bottom: 14px;
}
strong {
  font-weight: bold;
}

/* CONTAINER & LAYOUT SPACING PATTERNS */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
section {
  width: 100%;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.card-container,
.features-grid,
.service-highlights,
.benefits-list,
.testimonials-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-card-bg);
  border-radius: 18px;
  box-shadow: 0 2px 12px var(--color-shadow);
  margin-bottom: 20px;
  padding: 30px 24px;
  position: relative;
  transition: box-shadow 0.22s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 6px 24px var(--color-shadow);
  transform: translateY(-4px) scale(1.01);
}
.content-grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/****************************
 * NAVIGATION & HEADER STYLE
 ****************************/
header {
  background: var(--color-card-bg);
  border-bottom: 1px solid var(--color-bg-darker);
  box-shadow: 0 1px 8px var(--color-shadow);
  width: 100%;
  position: sticky;
  top: 0; left: 0;
  z-index: 99;
}
header > nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  min-height: 70px;
}
header nav > a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-primary);
  letter-spacing: 0.01em;
  padding: 8px 12px;
  border-radius: 9px;
  transition: background 0.17s, color 0.17s;
}
header nav > a:hover, header nav > a:focus {
  background: var(--color-eye);
  color: var(--color-secondary);
}
header nav > a.cta-primary {
  background: var(--color-accent);
  color: #222E32;
  font-weight: 600;
  border-radius: 20px;
  padding: 10px 26px;
  margin-left: 8px;
  transition: background 0.19s, color 0.19s, box-shadow 0.23s;
  box-shadow: 0 3px 14px 0 rgba(255,214,0,0.10);
}
header nav > a.cta-primary:hover, header nav > a.cta-primary:focus {
  background: #FFC200;
  color: var(--color-primary);
  box-shadow: 0 7px 20px rgba(255,214,0,0.17);
}
header nav img {
  height: 38px;
  margin-right: 18px;
  width: auto;
}

/*****************
 * MOBILE NAVIGATION
 *****************/
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 18px;
  top: 16px;
  background: var(--color-accent);
  border-radius: 7px;
  color: var(--color-primary);
  font-size: 2rem;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: none;
  transition: background 0.18s, color 0.18s;
  z-index: 110;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: #FFE45C;
  color: var(--color-secondary);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  height: 100dvh;
  width: 100vw;
  background: var(--color-card-bg);
  box-shadow: 0 7px 30px var(--color-shadow), 0 0 0 100vmax rgba(34,46,50,.30);
  transform: translateX(-100%);
  transition: transform 0.34s cubic-bezier(.53,.12,.26,1.18);
  z-index: 120;
  opacity: 1;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: 2.2rem;
  padding: 18px 18px 14px 0;
  align-self: flex-end;
  cursor: pointer;
  z-index: 121;
  transition: color 0.19s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin: 32px 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  color: var(--color-primary);
  font-weight: 500;
  padding: 10px 0 10px 8px;
  border-radius: 10px;
  width: 100%;
  transition: background 0.14s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-bg-darker);
  color: var(--color-secondary);
}
@media (max-width: 1021px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1022px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}

/***************************************
 * HERO & CTA SECTIONS
 ***************************************/
.hero {
  background: linear-gradient(180deg, #F7F9FA 87%, #E5ECEF 100%);
  padding-top: 60px;
  padding-bottom: 40px;
  margin-bottom: 40px;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  max-width: 700px;
  gap: 18px;
}
.cta-section {
  background: var(--color-bg-darker);
  border-radius: 14px;
  box-shadow: 0 1px 10px var(--color-shadow);
  margin-bottom: 36px;
  padding: 32px 20px;
}
.cta-section .content-wrapper {
  align-items: center;
  text-align: center;
}
.cta-primary {
  background: var(--color-accent);
  color: #222E32;
  border-radius: 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  padding: 13px 32px;
  margin-top: 12px;
  box-shadow: 0 2px 8px rgba(255,214,0,0.13);
  transition: background 0.17s, color 0.17s, box-shadow 0.19s, transform 0.14s;
  border: 2px solid transparent;
  display: inline-block;
}
.cta-primary:hover,
.cta-primary:focus {
  background: #FFC200;
  color: var(--color-primary);
  box-shadow: 0 6px 19px rgba(255,214,0,0.14);
  transform: scale(1.035);
  border: 2px solid var(--color-secondary);
}

/*************************
 * FEATURES/PRODUCTS GRID
 *************************/
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
  margin-bottom: 12px;
}
.features-grid li {
  background: var(--color-card-bg);
  border-radius: 14px;
  box-shadow: 0 2px 9px var(--color-shadow);
  flex: 1 1 210px;
  padding: 24px 18px 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 200px;
  max-width: 270px;
  gap: 13px;
  transition: box-shadow 0.20s, transform 0.17s;
}
.features-grid li:hover {
  box-shadow: 0 7px 24px var(--color-shadow);
  transform: translateY(-2px) scale(1.012);
}
.features-grid img {
  width: 38px;
  height: 38px;
  margin-bottom: 5px;
}
.features-grid h3 {
  font-size: 1.15rem;
}
.features-grid p {
  color: var(--color-text-light);
  font-size: 0.98rem;
}

/************************************
 * SERVICE HIGHLIGHT/PRODUCT CATEGORIES
 ************************************/
.service-highlights, .benefits-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 8px;
  width: 100%;
}
.service-block, .benefit-block {
  background: var(--color-card-bg);
  border-radius: 13px;
  box-shadow: 0 1px 7px var(--color-shadow);
  flex: 1 1 220px;
  padding: 22px 18px 19px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 168px;
  max-width: 320px;
  gap: 10px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.13s;
}
.service-block:hover, .benefit-block:hover {
  box-shadow: 0 7px 18px var(--color-shadow);
  transform: translateY(-2px) scale(1.017);
}
.benefit-block img, .service-block img {
  width: 36px;
  height: 36px;
  margin-bottom: 3px;
}
.benefit-block h3, .service-block h3 {
  font-size: 1.1rem;
  font-weight: 600;
}

/*************************************
 * PRODUCTS LIST (SHOP)
 *************************************/
.products-categories {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 16px;
  font-size: 1rem;
}
.products-categories li {
  color: var(--color-text);
  padding-left: 8px;
  border-left: 4px solid var(--color-accent);
  margin-bottom: 0;
}

/************************************
 * TESTIMONIALS (HIGH CONTRAST, READABILITY)
 *************************************/
.testimonials-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 12px 0 22px 0;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 18px var(--color-shadow);
  padding: 20px 24px 20px 24px;
  min-width: 230px;
  max-width: 370px;
  margin-bottom: 20px;
  color: #222E32;
  font-size: 1rem;
  position: relative;
  transition: box-shadow 0.15s, transform 0.14s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 22px var(--color-shadow);
  transform: translateY(-3px) scale(1.015);
}
.testimonial-stars {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 22px;
  margin-bottom: -10px;
}
.testimonial-card span {
  font-size: 0.97rem;
  color: var(--color-primary);
  font-weight: 600;
  margin-top: 6px;
  opacity: 0.82;
}
.testimonial-card p {
  margin-bottom: 0px;
  color: #222E32;
}
.testimonial-summary {
  margin: 10px 0 0 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-secondary);
}
.testimonial-summary strong {
  font-size: 1.2rem;
  color: var(--color-primary);
}

/************************************
 * NEWSLETTER / BLOG STYLING
 ************************************/
.newsletter-section {
  margin-bottom: 46px;
  background: linear-gradient(90deg, #E5ECEF 40%, #F7F9FA 100%);
  border-radius: 14px;
  box-shadow: 0 1px 10px var(--color-shadow);
  padding: 32px 20px 28px 20px;
}
.newsletter-section .content-wrapper {
  align-items: center;
  text-align: center;
}
.newsletter-benefits ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: center;
  padding: 6px 0 8px 0;
}
.newsletter-benefits li {
  background: #fff;
  border-radius: 10px;
  padding: 10px 20px;
  font-size: 1rem;
  color: var(--color-primary);
  box-shadow: 0 1px 4px var(--color-shadow);
}

/************************************
 * FOOTER
 ************************************/
footer {
  background: var(--color-footer-bg);
  font-family: 'Open Sans', Arial, sans-serif;
  color: var(--color-text);
  padding-top: 18px;
}
.main-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 54px;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 28px 0 18px 0;
  border-bottom: 1px solid #D6E1E6;
}
.main-footer > a img {
  width: 54px;
  height: 54px;
  margin-bottom: 6px;
}
.main-footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 130px;
}
.main-footer nav a {
  color: var(--color-primary);
  font-size: 1rem;
  font-weight: 500;
  padding: 2px 0;
  transition: color 0.14s;
}
.main-footer nav a:hover {
  color: var(--color-secondary);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.97rem;
}
.footer-contact img {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  vertical-align: middle;
}
.social-links {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 10px;
}
.social-links a {
  transition: transform 0.13s;
}
.social-links a:hover {
  transform: translateY(-2px) scale(1.10);
}
.footer-bottom {
  text-align: center;
  font-size: 0.98rem;
  color: var(--color-text-light);
  padding: 10px 0 15px 0;
  background: none;
}

/*************************************
 * COOKIE CONSENT BANNER & MODAL
 *************************************/
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-top: 2px solid var(--color-secondary);
  box-shadow: 0 -8px 24px rgba(32,58,70,0.08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 16px;
  padding: 23px 18px 23px 18px;
  z-index: 5000;
  font-size: 1rem;
  opacity: 1;
  transition: opacity 0.17s, bottom 0.21s;
}
.cookie-banner.hidden { opacity: 0; pointer-events: none; bottom: -150px; }
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 10px;
}
.cookie-banner button {
  border-radius: 17px;
  font-family: 'Montserrat', Arial;
  font-weight: 600;
  font-size: 1rem;
  padding: 9px 19px;
  margin: 0 2px;
  border: none;
  transition: background 0.14s, color 0.14s;
}
.cookie-banner .accept {
  background: var(--color-accent);
  color: #222E32;
  border: 2px solid var(--color-accent);
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus{
  background: #FFE45C;
  color: var(--color-primary);
}
.cookie-banner .reject {
  background: #E5ECEF;
  color: var(--color-primary);
  border: 2px solid #E5ECEF;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #D6E1E6;
}
.cookie-banner .settings {
  background: none;
  color: var(--color-secondary);
  border: 2px solid var(--color-secondary);
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: var(--color-secondary);
  color: #fff;
}

.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(30,46,60,0.21);
  z-index: 6000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-dialog {
  background: #fff;
  border-radius: 14px;
  padding: 38px 30px 30px;
  box-shadow: 0 6px 40px rgba(32,58,70,0.14);
  min-width: 320px;
  max-width: 97vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: pop-in 0.27s cubic-bezier(.73,-0.01,.42,1.21);
}
@keyframes pop-in {
  0% {transform: scale(0.87) translateY(40px); opacity: 0.3;}
  100% {transform: scale(1) translateY(0); opacity: 1;}
}
.cookie-modal-dialog h3 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}
.cookie-modal-dialog .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-modal-dialog .category {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1rem;
  color: #2D2D2D;
}
.cookie-modal-dialog .toggle {
  margin-left: auto;
  width: 32px;
  height: 18px;
  border-radius: 16px;
  background: #E5ECEF;
  position: relative;
  transition: background 0.18s;
  cursor: pointer;
  flex-shrink: 0;
}
.cookie-modal-dialog .toggle input { display: none; }
.cookie-modal-dialog .toggle .knob {
  display: block;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 7px rgba(10,23,41,0.13);
  position: absolute;
  left: 0; top: 0;
  transition: left 0.16s;
}
.cookie-modal-dialog .toggle.active {
  background: var(--color-secondary);
}
.cookie-modal-dialog .toggle.active .knob {
  left: 14px;
}
.cookie-modal-dialog .toggle:not(.active) .knob { left: 0; }
.cookie-modal-dialog .category.essential .toggle {
  background: #B6D0E7;
}
.cookie-modal-dialog .close-modal {
  position: absolute;
  top: 13px;
  right: 14px;
  background: none;
  border: none;
  color: #94A7B4;
  font-size: 1.35rem;
  cursor: pointer;
  transition: color 0.12s;
}
.cookie-modal-dialog .close-modal:hover, .cookie-modal-dialog .close-modal:focus {
  color: var(--color-primary);
}

/********************************
 * RESPONSIVE & MOBILE FIRST
 *********************************/
@media (max-width: 768px) {
  body { font-size: 15px; }
  .container { padding: 0 11px; }
  .section { margin-bottom: 36px; padding: 26px 7px; }
  .content-wrapper { gap: 14px; }
  .features-grid, .service-highlights, .benefits-list, .testimonials-list {
    gap: 14px;
  }
  .features-grid li, .service-block, .benefit-block, .testimonial-card {
    min-width: 95vw;
    max-width: 99vw;
    padding: 14px 8px 13px 12px;
  }
  .main-footer {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
  .newsletter-section, .cta-section {
    padding: 18px 6px 17px 6px;
  }
  .newsletter-benefits ul { gap: 8px; }
  .testimonial-card { padding: 14px 9px; }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}
@media (max-width: 540px) {
  h1 { font-size: 1.49rem; }
  h2 { font-size: 1.13rem; }
  .hero { padding-top: 30px; padding-bottom: 14px; }
  .main-footer, .footer-bottom { font-size: 0.92rem; }
  .footer-contact, .main-footer nav {
    font-size: 0.98rem;
  }
}

/****************************
 * UTILITY / MISC
 ****************************/
::-webkit-scrollbar { width: 9px; background: #E5ECEF; }
::-webkit-scrollbar-thumb { background: #BBDDED; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #48B9E7; }

/* Form elements, input placeholder in guides/contact-thankyou */
input, textarea, select {
  background: #FCFDFF;
  border: 1.5px solid #D6E1E6;
  border-radius: 8px;
  padding: 13px 12px;
  font-size: 1rem;
  transition: border-color 0.17s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-secondary);
  background: #F7F9FA;
}

/* Helper for better links underlines on accessibility */
a:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
  border-radius: 3px;
}

/* Hide cookie modal on print */
@media print { .cookie-banner, .cookie-modal { display: none !important; } }
