/* ==== CSS RESET & NORMALIZE ==== */
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: inherit;
  box-sizing: border-box;
  vertical-align: baseline;
}
html {
  line-height: 1.15;
  font-size: 100%;
}
body {
  background: #faf9f6;
  color: #223244;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #22537a;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus,
a:hover {
  color: #49a078;
  outline: none;
  text-decoration: underline;
}
ul, ol {
  margin-left: 1.5em;
}
dt {
  font-weight: bold;
  margin-top: 1em;
}
dd {
  margin-bottom: 1em;
}

/* ==== SCANDINAVIAN CLEAN BRAND VARIABLES (with fallbacks) ==== */
:root {
  --primary: #22537a;
  --secondary: #49a078;
  --accent: #f7e9de;
  --neutral-bg: #faf9f6;
  --neutral-light: #f5f5f4;
  --neutral-mid: #e6e6e3;
  --text-main: #223244;
  --text-secondary: #54616e;
  --border: #e6e6e3;
  --shadow: 0 2px 12px 0 rgba(34, 83, 122, 0.06);
  --radius: 12px;
}

/* ==== TYPOGRAPHY SCALE ==== */
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  color: var(--primary);
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: -0.2px;
  color: var(--primary);
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.375rem;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--primary);
}
h4, .h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 10px;
}
p {
  margin-bottom: 14px;
  font-size: 1rem;
}
strong, b {
  font-weight: 600;
}

/* Container & Section Block Patterns */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--neutral-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 32px;
    padding: 24px 10px;
  }
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* ==== FLEXBOX CONTENT LAYOUTS ==== */
.card-container,
.card-grid,
.idea-grid,
.solution-cards,
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card, .idea-item, .solution-item {
  background-color: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 220px;
  max-width: 370px;
}
.tag-cloud {
  gap: 10px;
  flex-wrap: wrap;
}
.tag-cloud span {
  background: var(--accent);
  border-radius: 20px;
  padding: 5px 15px;
  font-size: 14px;
  color: var(--primary);
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

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

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 24px;
  transition: box-shadow 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 32px 0 rgba(34,83,122,0.13);
}
.testimonial-card blockquote {
  font-size: 1.08rem;
  color: var(--primary);
  quotes: "\201E" "\201D";
}
.testimonial-card blockquote:before {
  content: open-quote;
  color: var(--secondary);
  font-size: 2.5rem;
  line-height: 0.5;
  vertical-align: -20px;
}
.testimonial-card span {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-left: auto;
}

/* ==== HEADER ==== */
header {
  background: #fff;
  box-shadow: var(--shadow);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 101;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 66px;
}
header nav {
  display: flex;
  gap: 18px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary);
  border-radius: 6px;
  padding: 8px 10px;
  transition: background 0.16s, color 0.16s;
}
header nav a:hover,
header nav a:focus {
  background: var(--accent);
  color: var(--secondary);
}
.button.primary {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 10px 24px;
  margin-left: 16px;
  box-shadow: 0 2px 6px 0 rgba(34,83,122,0.11);
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s, color 0.18s;
  outline: none;
}
.button.primary:hover, .button.primary:focus {
  background: var(--secondary);
  color: #fff;
  box-shadow: 0 4px 16px 0 rgba(34, 83, 122, 0.15);
}
.button {
  display: inline-block;
  text-align: center;
  border: none;
  cursor: pointer;
  background: transparent;
  border-radius: 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 9px 21px;
  transition: background 0.16s, color 0.16s, box-shadow 0.18s;
}
.button:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

/* ===== BURGER MENU ===== */
.mobile-menu-toggle {
  display: none;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 2rem;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 120;
  margin-left: 12px;
  transition: background 0.2s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--secondary);
}
.mobile-menu {
  position: fixed;
  inset: 0;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 6px 48px 0 rgba(34,83,122,0.21);
  z-index: 1500;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(.68,-0.55,.27,1.55);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 46px;
  gap: 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: var(--primary);
  position: absolute;
  top: 18px;
  right: 24px;
  z-index: 1550;
  cursor: pointer;
  width: 40px; height: 40px;
  border-radius: 50%;
  transition: background 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--accent);
  color: var(--secondary);
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 36px;
}
.mobile-nav a {
  padding: 14px 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  border-radius: 6px;
  color: var(--primary);
  transition: background 0.16s, color 0.16s;
  text-align: left;
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  background: var(--secondary);
  color: #fff;
}
@media (max-width: 1024px) {
  header nav {
    display: none;
  }
  .button.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* ==== MAIN & GENERAL CONTENT STYLES ==== */
main {
  flex: 1;
  margin-top: 18px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--neutral-bg);
  border-radius: var(--radius);
}
@media (max-width: 768px) {
  section {
    padding: 22px 8px;
    margin-bottom: 32px;
  }
}
ul,
ol {
  margin-bottom: 18px;
  padding-left: 26px;
}
li {
  margin-bottom: 11px;
  font-size: 1rem;
  line-height: 1.5;
}
uu img,
li img {
  vertical-align: middle;
  margin-right: 8px;
  width: 24px;
  height: 24px;
}
blockquote {
  border-left: 4px solid var(--secondary);
  margin: 12px 0 12px 0;
  padding-left: 20px;
  color: var(--primary);
  font-size: 1.1rem;
  font-style: italic;
  background: var(--accent);
  border-radius: 0 8px 8px 0;
}

.tip-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 20px;
  margin-bottom: 20px;
  position: relative;
}
.tip-card h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
  color: var(--secondary);
}

.idea-item,
.solution-item {
  flex: 1 1 250px;
  max-width: 360px;
}
.idea-item h3,
.solution-item h3 {
  font-size: 1.1rem;
  color: var(--primary);
}
.idea-item span,
.solution-item span {
  font-size: 0.95rem;
  color: var(--secondary);
  display: flex; align-items: center; gap: 8px;
}

/* ==== BUTTONS ==== */
.button:not(.primary) {
  border: 1.5px solid var(--primary);
  color: var(--primary);
  background: #fff;
}
.button:not(.primary):hover,
.button:not(.primary):focus {
  color: #fff;
  background: var(--secondary);
  border-color: var(--secondary);
}

/* ==== SPACE & GAP CORRECTIONS ==== */
.content-wrapper > *:not(:last-child) {
  margin-bottom: 20px;
}

/* ==== FOOTER ==== */
footer {
  background: #fff;
  border-top: 1px solid var(--border);
  box-shadow: 0 -1px 12px 0 rgba(34, 83, 122, 0.04);
}
footer .container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  padding: 32px 18px 18px 18px;
  flex-wrap: wrap;
}
footer nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
footer nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-size: 1rem;
  font-weight: 500;
  padding: 6px 6px;
  border-radius: 5px;
}
footer nav a:focus,
footer nav a:hover {
  background: var(--accent);
}
.footer-info {
  color: var(--text-secondary);
  font-size: 0.98rem;
  text-align: right;
}
@media (max-width: 700px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
  }
  .footer-info {
    text-align: left;
    margin-top: 12px;
  }
}

/* ==== COOKIE CONSENT BANNER ==== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff;
  border-top: 1.5px solid var(--border);
  box-shadow: 0 -4px 40px 0 rgba(0, 0, 0, 0.12);
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 26px 20px;
  max-width: 100vw;
  flex-wrap: wrap;
  animation: cookieBannerSlideIn 0.5s cubic-bezier(.42,0,.43,1.21);
}
.cookie-banner .cookie-banner__text {
  flex: 1 1 250px;
  color: var(--primary);
  font-size: 1rem;
}
.cookie-banner .cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cookie-banner .button {
  font-size: 1rem;
  min-width: 110px;
  margin-top: 0;
}
.cookie-banner .button.primary {
  background: var(--secondary);
  color: #fff;
  border: none;
}
.cookie-banner .button.primary:hover {
  background: var(--primary);
}
@keyframes cookieBannerSlideIn {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* === COOKIE SETTINGS MODAL === */
.cookie-modal {
  position: fixed;
  inset: 0;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34, 83, 122, 0.11);
  z-index: 3000;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 0 8px 32px 8px;
  transition: background 0.23s;
  animation: cmFadeIn 0.23s linear;
}
.cookie-modal__panel {
  background: #fff;
  border-radius: 24px 24px 12px 12px;
  box-shadow: 0 4px 40px 0 rgba(34,83,122,0.18);
  padding: 32px 22px 24px 22px;
  width: 100%;
  max-width: 420px;
  color: var(--primary);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal__close {
  background: none;
  border: none;
  font-size: 1.8em;
  color: var(--primary);
  position: absolute;
  right: 36px;
  top: 32px;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 50%;
  transition: background 0.16s;
}
.cookie-modal__close:hover,
.cookie-modal__close:focus {
  background: var(--accent);
  color: var(--secondary);
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 5px;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--secondary);
  transform: scale(1.16);
  margin-right: 4px;
}
.cookie-category label {
  font-size: 1rem;
  font-weight: 500;
}
.cookie-category .category-desc {
  color: var(--text-secondary);
  font-size: 0.98rem;
}
@keyframes cmFadeIn {
  from{ opacity:0; }
  to{ opacity:1; }
}

/* ==== FORMS ==== */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  padding: 12px 12px;
  font-size: 1rem;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--primary);
  margin-bottom: 16px;
  font-family: 'Roboto', Arial, sans-serif;
  margin-top: 6px;
  transition: border 0.14s;
}
input:focus,
textarea:focus {
  border: 1.5px solid var(--secondary);
  outline: none;
}
label {
  font-weight: 500;
  color: var(--primary);
  display: inline-block;
  margin-bottom: 4px;
}

/* ==== ACCESSIBILITY ==== */
:focus {
  outline: 2px dashed var(--secondary);
  outline-offset: 2px;
}

/* ==== MISCELLANEOUS ==== */
::-webkit-input-placeholder { color: #b1b7bc; }
::-moz-placeholder { color: #b1b7bc; }
:-ms-input-placeholder { color: #b1b7bc; }
::placeholder { color: #b1b7bc; }

a.button {
  display: inline-block;
  text-decoration: none;
}

@media (max-width: 1100px) {
  .idea-grid, .solution-cards, .card-grid, .card-container {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
}

@media (max-width: 900px) {
  h1, .h1 { font-size: 2rem; }
  h2, .h2 { font-size: 1.5rem; }
  .container { padding: 0 7px; }
}
@media (max-width: 700px) {
  h1, .h1 { font-size: 1.43rem; }
  h2, .h2 { font-size: 1.13rem; }
  .section, section { padding: 14px 2px; }
}

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