/* 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;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body { line-height: 1.5; }
ol, ul { list-style: none; }
img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
  padding: 0;
  margin: 0;
}

/* ROOT & BRAND COLORS */
:root {
  --color-primary: #284B63;
  --color-secondary: #F6F8FA;
  --color-accent: #ECA400;
  --color-background: #FFFFFF;
  --color-text: #222C2A;
  --color-muted: #738089;
  --color-footer: #EDF2F4;
  --color-card: #FFFFFF;
  --color-border: #E5E7EB;
  --radius-base: 14px;
  --shadow-light: 0 2px 8px rgba(40,75,99,0.06);
  --shadow-card: 0 3px 12px 0 rgba(40,75,99,0.09);
  --transition-base: 0.22s cubic-bezier(0.4,0,0.2,1);
}

/* TYPOGRAPHY */
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: var(--color-secondary);
  color: var(--color-text);
  font-size: 16px;
  min-height: 100vh;
}
h1, h2, h3, h4 {
  font-family: 'Roboto Slab', Georgia, serif;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.3rem; margin-bottom: 10px; }
h4 { font-size: 1.1rem; }
p, ul, ol { font-size: 1rem; color: var(--color-text); margin-bottom: 12px; }
ul, ol { margin-left: 18px; margin-bottom: 24px; }
strong { font-weight: 700; color: var(--color-primary); }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.1rem; }
}

/* GENERAL LAYOUT */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.section, main > section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  border-radius: var(--radius-base);
}
@media (max-width: 768px) {
  .section, main > section {
    padding: 26px 7px;
    margin-bottom: 38px;
  }
}
 .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.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;
    align-items: stretch;
    gap: 18px;
  }
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-card);
  border-radius: var(--radius-base);
  box-shadow: var(--shadow-card);
  padding: 28px 20px;
  margin-bottom: 20px;
  min-width: 270px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(105deg, #FFFFFF 78%, #F6F8FA 100%);
  margin-bottom: 60px;
  padding: 48px 0 36px 0;
}
.hero .container {
  align-items: flex-start;
}
.hero h1 {
  color: var(--color-primary);
  margin-bottom: 18px;
}
.hero p {
  color: var(--color-text);
  margin-bottom: 20px;
}

/* CTA BUTTONS */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  color: #fff;
  font-family: 'Roboto Slab', serif;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: var(--radius-base);
  margin-top: 6px;
  box-shadow: 0 1px 4px rgba(236,164,0,0.11);
  cursor: pointer;
  transition: background var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
  border: none;
  outline: none;
  min-width: 184px;
  text-align: center;
  letter-spacing: 0.02em;
}
.cta.primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 2px 10px rgba(40,75,99,0.10);
}
.cta:hover, .cta:focus {
  background: #D18700;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 7px 24px -3px #ECA40033;
}
.cta.primary:hover, .cta.primary:focus {
  background: #386382;
  box-shadow: 0 7px 22px -3px #284B6340;
}

/* NAVIGATION */
header {
  background: var(--color-background);
  box-shadow: 0 2px 12px -4px #284B631a;
  position: relative;
  z-index: 90;
}
nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
nav img {
  height: 44px;
  margin-right: 18px;
}
nav ul {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
  margin: 0 0 0 12px;
}
nav ul li a {
  color: var(--color-primary);
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 7px 14px;
  border-radius: 8px;
  transition: background var(--transition-base), color var(--transition-base);
}
nav ul li a:hover, nav ul li a:focus {
  background: var(--color-secondary);
  color: var(--color-accent);
}
nav .cta.primary {
  margin-left: 8px;
}
/* Hamburger button */
.mobile-menu-toggle {
  display: none;
  background: var(--color-accent);
  color: #fff;
  font-size: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-light);
  position: absolute;
  right: 28px;
  top: 14px;
  z-index: 110;
  transition: background var(--transition-base), box-shadow var(--transition-base);
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--color-primary);
  color: #fff;
}

/* Mobile nav */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(0.77,0,0.18,1);
  box-shadow: 0 7px 17px 0 #284B6340;
  opacity: 1;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0%);
  pointer-events: all;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 27px 32px 8px 0;
  background: var(--color-primary);
  color: #fff;
  font-size: 2.2rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100%;
  cursor: pointer;
  border: none;
  z-index: 9999;
  transition: background var(--transition-base); 
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: var(--color-accent);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding-left: 38px;
  margin-top: 16px;
}
.mobile-nav a {
  font-size: 1.1rem;
  color: var(--color-primary);
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  padding: 10px 0 10px 0;
  min-width: 180px;
  border-radius: 7px;
  margin-bottom: 6px;
  transition: background var(--transition-base), color var(--transition-base);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-accent);
}
@media (max-width:1100px) {
  nav {
    padding: 0 10px;
  }
}
@media (max-width: 900px) {
  nav ul { gap: 14px; }
}
@media (max-width: 830px) {
  nav ul { gap:6px; }
}
@media (max-width: 768px) {
  nav ul, nav .cta.primary {
    display: none !important;
  }
  .mobile-menu-toggle { display: flex; }
  nav img { height: 40px; }
}
@media (max-width:400px) {
  .mobile-nav { padding-left: 14px; }
  .mobile-menu-close { margin-right: 12px; }
}

/* MAIN LAYOUT: PAGES & SECTIONS */
main {
  flex: 1 1 auto;
  width: 100%;
  background: none;
}

/* CARD, TESTIMONIAL, FEATURE STYLES */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  color: #1a2220;
  border-radius: var(--radius-base);
  box-shadow: var(--shadow-card);
  margin-bottom: 24px;
  min-height: 90px;
  max-width: 620px;
  position: relative;
}
.testimonial-card p {
  font-style: italic;
  color: #222c2a;
  margin-bottom: 0;
}
.testimonial-card span {
  font-size: 0.97em;
  font-weight: 600;
  color: var(--color-muted);
}
@media (max-width:600px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
    padding: 16px 10px;
  }
}

/* TABLES (Simple & Accessible) */
table {
  width: 100%;
  background: #fff;
  border-radius: var(--radius-base);
  box-shadow: var(--shadow-light);
  border-spacing: 0;
  margin: 18px 0 22px 0;
}
thead { background: var(--color-secondary); }
th, td {
  font-size: 1rem;
  padding: 12px 18px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}
th { color: var(--color-primary); font-weight: bold; }
tbody tr:last-child td {
  border-bottom: none;
}
@media (max-width: 500px) {
  table, thead, tbody, th, td, tr { display:block; width:100%; }
  th, td { padding: 10px 8px; }
}

/* FOOTER */
footer {
  background: var(--color-footer);
  color: var(--color-muted);
  font-size: 0.98rem;
  width: 100%;
  border-top: 1px solid #eaeced;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px 10px 10px 10px;
}
footer nav {
  justify-content: center;
  gap: 8px;
  font-size: 0.98rem;
  padding: 0;
  margin: 0;
  height: auto;
}
footer nav a {
  color: var(--color-primary);
  font-family: inherit;
  font-weight: 600;
  padding: 3px 2px;
  border-radius: 4px;
  transition: background var(--transition-base), color var(--transition-base);
}
footer nav a:hover, footer nav a:focus {
  background: var(--color-secondary);
  color: var(--color-accent);
}
footer p { margin-top: 10px; color: var(--color-muted); }

/* FORM STYLES (for contact, not present in HTML but standard) */
input, textarea, select {
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: 8px;
  padding: 9px 14px;
  color: var(--color-text);
  font-family: inherit;
  margin-bottom: 18px;
  font-size: 1rem;
  transition: border var(--transition-base);
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-accent);
}
label { font-weight: 600; color: var(--color-primary); display: block; margin-bottom: 4px; }

/* MISC SPACING ut. pattern */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; align-items: center; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* COOKIES CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: #fff;
  color: var(--color-text);
  box-shadow: 0 -1px 18px 0 #284B6320;
  border-radius: 16px 16px 0 0;
  padding: 20px 22px 22px 22px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
  justify-content: center;
  transition: transform 0.27s cubic-bezier(0.71,0.15,0.17,1), opacity 0.2s;
  opacity: 1;
}
.cookie-banner.hide {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner-text {
  font-size: 1rem;
  text-align: center;
  color: var(--color-primary);
}
.cookie-banner-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.cookie-btn {
  font-family: 'Roboto Slab', serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  padding: 10px 22px;
  cursor: pointer;
  margin: 0 3px;
  transition: background var(--transition-base), color var(--transition-base), transform var(--transition-base);
  box-shadow: 0 2px 7px -3px #284B6322;
  outline: none;
}
.cookie-btn.accept {
  background: var(--color-accent);
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #D18700;
  color: #fff;
  transform: translateY(-2px) scale(1.05);
}
.cookie-btn.reject {
  background: var(--color-muted);
  color: #fff;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: var(--color-primary);
  color: #fff;
}
.cookie-btn.settings {
  background: transparent;
  color: var(--color-primary);
  border: 1.2px solid var(--color-primary);
  box-shadow: none;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--color-secondary);
  color: var(--color-accent);
}

/* COOKIE SETTING MODAL */
.cookie-modal-overlay {
  position: fixed; inset: 0; background: rgba(40,75,99,0.30);
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.22s;
}
.cookie-modal-overlay.hide {
  pointer-events: none;
  opacity: 0;
}
.cookie-modal {
  background: #fff;
  color: var(--color-text);
  border-radius: 18px;
  box-shadow: 0 9px 44px 0 #284B6329;
  max-width: 410px;
  min-width: 270px;
  width: 92vw;
  padding: 36px 30px 22px 30px;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  position: relative;
  animation: cookie-modal-appear 0.4s cubic-bezier(0.61,0.17,0.3,1);
}
@keyframes cookie-modal-appear { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: scale(1); } }
.cookie-modal-title { font-family: 'Roboto Slab', serif; color: var(--color-primary); font-weight: 700; font-size: 1.25rem; margin-bottom: 7px; }
.cookie-modal-categories { display: flex; flex-direction: column; gap: 12px; }
.cookie-modal-category { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 10px 0; border-bottom: 1px solid var(--color-border); }
.cookie-modal-category:last-child { border-bottom: none; }
.cookie-modal-category .cookie-toggle {
  width: 36px; height: 20px;
  border-radius: 12px;
  background: var(--color-secondary);
  cursor: pointer; position: relative;
  transition: background var(--transition-base);
  border: 1.5px solid var(--color-border);
  display: flex; align-items: center;
}
.cookie-modal-category .cookie-toggle[data-checked=true] {
  background: var(--color-accent);
  border-color: var(--color-accent);
}
.cookie-modal-category .cookie-toggle .circle {
  position: absolute; left: 2px; top: 2px; width: 16px; height: 16px; background: #fff; border-radius: 50%; transition: left 0.22s;
}
.cookie-modal-category .cookie-toggle[data-checked=true] .circle {
  left: 18px;
}
.cookie-modal-category .cookie-toggle[aria-disabled=true] {
  background: #e2e2e6;
  border-color: #e2e2e6;
  cursor: not-allowed;
}
.cookie-modal-actions {
  display: flex;
  gap: 18px;
  width: 100%;
  margin-top: 16px;
  flex-wrap: wrap;
}
.cookie-modal .cookie-btn { min-width: 128px; }
.cookie-modal-close {
  position: absolute;
  top: 12px; right: 16px;
  background: var(--color-muted);
  color: #fff;
  border-radius: 7px;
  width: 34px;
  height: 34px;
  cursor: pointer;
  font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  border: none;
  transition: background var(--transition-base);
  z-index: 900;
}
.cookie-modal-close:hover, .cookie-modal-close:focus { background: var(--color-primary); }

/* RESPONSIVE SPACING AND LAYOUT */
@media (max-width: 620px) {
  .section, main > section, .hero { padding: 20px 2px;
    border-radius: 0; }
}

/* MICRO-INTERACTIONS / TRANSITIONS */
a, .cta, .cookie-btn, .mobile-nav a, nav ul li a, footer nav a, input, textarea, select {
  transition: color 0.22s, background 0.22s, border 0.16s, box-shadow 0.2s, transform 0.2s!important;
}

/* SCROLLBAR (simple, discreet, natural) */
::-webkit-scrollbar {
  width: 9px;
  background: #f4f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cfd9e3;
  border-radius: 6px;
}

/* ACCESSIBLE FOCUS STYLES */
a:focus, .cta:focus, button:focus, .cookie-btn:focus {
  outline: 2px dashed var(--color-accent);
  outline-offset: 2px;
}

/* UTILITY CLASSES (for layout help) */
.align-center { align-items: center; justify-content: center; text-align: center; }
.flex-col { display: flex; flex-direction: column; }
.flex-row { display: flex; flex-direction: row; }
.gap-24 { gap: 24px; }
.mt-32 { margin-top:32px; }
.mb-24 { margin-bottom:24px; }

/* CONFIRMATION PAGE */
.confirmation .content-wrapper {
  justify-content: center;
  align-items: center;
  text-align: center;
}
.confirmation h1 {
  margin-bottom: 16px;
}
.confirmation p {
  margin-bottom: 18px;
}

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

/* SCANDINAVIAN NATURAL "LOOK" ENHANCEMENTS */
body, .section, main > section, .hero, .card, .testimonial-card, .content-wrapper {
  background: var(--color-secondary);
}
.card, .testimonial-card, table {
  background: var(--color-card);
  box-shadow: var(--shadow-card);
}
/* Subtle divider enhancement */
hr {
  border: none;
  border-top: 1px solid #EBEEF0;
  margin: 32px 0 25px 0;
}

/* NATURAL BUTTON-TEXTURE HOVER (subtle box-effect) */
.cta, .cookie-btn {
  box-shadow: 0 2px 8px rgba(56,99,130,0.05);
}
.cta:active, .cookie-btn:active {
  transform: scale(0.97) translateY(1px);
  box-shadow: 0 1px 2px #284B6320;
}

/*  END OF STYLE  */