/* 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-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.6;
  color: #1F2933;
  background: #F4F6F8;
  font-family: 'Roboto', Arial, sans-serif;
}
img {
  max-width: 100%;
  display: block;
}
ul, ol { list-style: none; }

/* SCANDINAVIAN_CLEAN TOKENS */
:root {
  --color-primary: #1F2933;
  --color-secondary: #C6923E;
  --color-accent: #F4F6F8;
  --color-white: #fff;
  --color-light: #F4F6F8;
  --color-dark: #1F2933;
  --color-neutral: #E4E6EB;
  --transition-fast: 0.18s cubic-bezier(.4,0,.2,1);
  --transition: 0.3s cubic-bezier(.4,0,.2,1);
  --shadow: 0 2px 12px 0 rgba(31,41,51,0.09);
  --radius: 14px;
  --radius-sm: 8px;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: 0.02em;
}
h1 { font-size: 2.75rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.4rem; margin-bottom: 14px; }
h4 { font-size: 1.15rem; }
p, ul, li, a, span, label, input, textarea, button {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-primary);
}
p { margin-bottom: 18px; }
a { color: var(--color-secondary); text-decoration: none; transition: color var(--transition); }
a:hover, a:focus { color: #b07c22; }
strong { font-weight: 700; }

/* CONTAINER */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* HEADER & NAV */
header {
  width: 100%;
  background: var(--color-white);
  box-shadow: 0 2px 14px 0 rgba(31,41,51,0.07);
  position: relative;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding-top: 18px;
  padding-bottom: 18px;
}
header img {
  height: 44px;
  width: auto;
  margin-right: 18px;
}
nav {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
nav a {
  color: var(--color-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
nav a:hover, nav a:focus {
  background: var(--color-accent);
  color: var(--color-secondary);
}
.btn-primary {
  background: var(--color-secondary);
  color: var(--color-white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  border: none;
  border-radius: var(--radius);
  padding: 12px 30px;
  margin-left: 12px;
  box-shadow: 0 2px 8px 0 rgba(37,48,56,0.10);
  cursor: pointer;
  transition: background var(--transition);
  display: inline-block;
  letter-spacing: 0.01em;
}
.btn-primary:hover, .btn-primary:focus {
  background: #a87a31;
  color: var(--color-white);
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--color-primary);
  font-size: 2.35rem;
  margin-left: 14px;
  cursor: pointer;
  z-index: 111;
  transition: color var(--transition);
}
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: var(--color-white);
  box-shadow: 0 3px 32px rgba(31,41,51,0.13);
  z-index: 180;
  transform: translateX(-100%);
  transition: transform var(--transition);
  display: flex;
  flex-direction: column;
  padding: 32px 20px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  border: none;
  color: var(--color-primary);
  font-size: 2.5rem;
  position: absolute;
  top: 18px;
  right: 20px;
  cursor: pointer;
  z-index: 200;
  transition: color var(--transition);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 55px;
}
.mobile-nav a {
  font-size: 1.25rem;
  padding: 15px 10px;
  border-radius: var(--radius-sm);
  color: var(--color-primary);
  text-align: left;
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-accent);
  color: var(--color-secondary);
}

/* SECTIONS, SPACING & LAYOUT */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.content-wrapper {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 24px;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.text-section {
  margin-top: 22px;
  margin-bottom: 2px;
}

/* Icon Row */
.icon-row {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 24px;
}
.icon-row span {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--color-accent);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  box-shadow: 0 1px 6px 0 rgba(27,34,44,0.05);
  font-weight: 500;
  font-family: var(--font-body);
  font-size: 1.02rem;
}
.icon-row img {
  width: 29px;
  height: 29px;
  object-fit: contain;
}

/* CARDS, CARD-CONTAINER, CONTENT-GRID STYLES */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
}
.card {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  padding: 26px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 220px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover, .card:focus {
  box-shadow: 0 4px 22px 0 rgba(31,41,51,0.15);
  transform: translateY(-2px) scale(1.01);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* FEATURE & TESTIMONIAL PATTERNS */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 18px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--color-accent);
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px 0 rgba(30,38,44,0.13);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.testimonial-card p {
  color: var(--color-primary);
  font-size: 1.07rem;
  flex: 2;
}
.testimonial-card span {
  color: var(--color-dark);
  font-weight: 500;
  font-size: 1rem;
  flex: 1;
}

/* CONTACT INFO */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 18px;
  margin-bottom: 8px;
}
.contact-info span, .contact-info p {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-primary);
  font-family: var(--font-body);
  font-size: 1rem;
}
.contact-info img {
  width: 22px;
  height: 22px;
}

/* FOOTER */
footer {
  background: var(--color-white);
  border-top: 1px solid var(--color-neutral);
  padding: 32px 0 18px 0;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 10px;
}
footer nav a {
  color: var(--color-primary);
  font-size: 0.98rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: transparent;
}
footer nav a:hover, footer nav a:focus {
  background: var(--color-accent);
  color: var(--color-secondary);
}

/* LISTS */
ul, ol {
  margin-bottom: 22px;
  margin-left: 1.2em;
  padding-left: 1em;
}
ul li, ol li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 24px;
  color: var(--color-dark);
  font-size: 1.04rem;
}
ul li::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--color-secondary);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 11px;
}

/* TRANSITIONS & MICRO-INTERACTIONS */
.btn-primary, nav a, .mobile-menu-toggle, .mobile-menu-close, .card {
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
.card:hover, .btn-primary:active {
  box-shadow: 0 6px 28px 0 rgba(31,41,51,0.13);
}
section, .content-wrapper, .card, .testimonial-card {
  transition: box-shadow var(--transition), background var(--transition);
}

/* COOKIE CONSENT BANNER & MODAL */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-white);
  border-top: 2px solid var(--color-neutral);
  box-shadow: 0 -2px 16px 0 rgba(31,41,51,0.10);
  padding: 22px 16px 16px 16px;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.27s cubic-bezier(.4,0,.2,1), transform 0.27s cubic-bezier(.4,0,.2,1);
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(44px);
}
.cookie-banner p {
  color: var(--color-dark);
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}
.cookie-actions button {
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: 10px 22px;
  font-size: 1rem;
  background: var(--color-secondary);
  color: var(--color-white);
  border: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.cookie-actions button:hover, .cookie-actions button:focus {
  background: #b07c22;
}
.cookie-actions .cookie-settings {
  background: var(--color-accent);
  color: var(--color-primary);
  border: 1px solid var(--color-neutral);
}
.cookie-actions .cookie-settings:hover, .cookie-actions .cookie-settings:focus {
  background: var(--color-neutral);
}
.cookie-actions .cookie-reject {
  background: #E4E6EB;
  color: var(--color-primary);
}
.cookie-actions .cookie-reject:hover, .cookie-actions .cookie-reject:focus {
  background: #ccd0d6;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  min-width: 330px;
  width: 90vw;
  max-width: 440px;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: 0 7px 52px 0 rgba(34,44,56,0.17);
  padding: 34px 28px 28px 28px;
  z-index: 1400;
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.22s cubic-bezier(.4,0,.2,1), transform 0.22s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -43%) scale(0.97);
}
.cookie-modal h3 {
  font-size: 1.25rem;
  color: var(--color-dark);
  font-weight: 700;
  margin-bottom: 9px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  padding: 10px 0;
}
.cookie-category label {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-primary);
}
.cookie-category input[type="checkbox"] {
  width: 21px;
  height: 21px;
  accent-color: var(--color-secondary);
}
.cookie-category input:disabled + label {
  color: #80858a;
  font-style: italic;
}
.cookie-modal .cookie-actions {
  margin-top: 4px;
}

/* RESPONSIVE DESIGN (MOBILE FIRST) */
@media (max-width: 1140px) {
  .container { max-width: 98vw; }
  .content-wrapper { padding: 26px 11px; }
}
@media (max-width: 900px) {
  .container { max-width: 100vw; padding: 0 8px; }
  .content-grid, .icon-row, .card-container {
    gap: 16px;
  }
  .content-wrapper {
    border-radius: var(--radius-sm);
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.25rem; }
  .section, section {
    padding: 24px 4vw;
    margin-bottom: 34px;
  }
  .content-wrapper {
    padding: 18px 7px;
    gap: 9px;
  }
  .icon-row {
    gap: 14px;
    flex-direction: column;
  }
  .card-container, .content-grid, .features {
    flex-direction: column !important;
    gap: 14px;
  }
  nav { display: none; }
  .btn-primary { margin-left: 0; margin-top: 10px; }
  .mobile-menu-toggle { display: block; }
  header .container { flex-wrap: wrap; flex-direction: row; gap: 10px; }
  footer .container { gap: 14px; padding: 0 7px; }
}
@media (max-width: 540px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px;
    gap: 9px;
  }
  .contact-info {
    gap: 6px;
    margin-bottom: 2px;
  }
  .cookie-modal { padding: 19px 8px 14px 8px; width: 99vw; max-width: 99vw; }
}

/* UTILS */
.visually-hidden { position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0; }

/* Z-INDEX LAYERING */
header, .mobile-menu, .cookie-banner, .cookie-modal { z-index: 999; }

/* PREVENT OVERLAP */
.card, .testimonial-card, .section, .content-wrapper, .card-container, .content-grid, .footer, .btn-primary {
  margin-bottom: 20px;
}

/* SELECTION */
::selection {
  background: #FFECB0;
  color: var(--color-primary);
}

/* END */
