/* === 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, main, 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, main, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F9FBFA;
  color: #233047;
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
a {
  color: #1B3556;
  text-decoration: none;
  transition: color 0.24s cubic-bezier(.77,0,.18,1);
}
a:hover, a:focus {
  color: #FDBA3B;
}
ul, ol {
  padding-left: 1.5rem;
  margin-bottom: 20px;
}
li {
  margin-bottom: 12px;
  list-style-position: inside;
}

/* === SCANDINAVIAN CLEAN VARIABLES === */
:root {
  --primary: #1B3556;
  --secondary: #F1F6FB;
  --accent: #FDBA3B;
  --text-dark: #233047;
  --text-light: #f9fbfa;
  --card-bg: #FFFFFF;
  --shadow: 0 2px 14px 0 rgba(36,50,66,0.09);
  --border-radius: 12px;
  --section-spacing: 60px;
  --gap-main: 24px;
  --gap-card: 20px;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.18;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  line-height: 1.25;
}
h3 {
  font-size: 1.35rem;
  font-weight: 600;
  margin: 18px 0 14px 0;
}
h4, h5, h6 {
  font-size: 1.1rem;
  font-weight: 500;
  margin: 10px 0;
}
.subtitle {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--primary);
  font-size: 1.18rem;
  font-weight: 500;
  margin-bottom: 20px;
  line-height: 1.6;
}
p, li, ul, ol {
  font-size: 1rem;
  color: var(--text-dark);
  font-family: 'Roboto', Arial, sans-serif;
}
strong {
  font-weight: 700;
}

/* === KEY LAYOUT CLASSES (MANDATORY) === */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--card-bg);
  box-shadow: var(--shadow);
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.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: flex-start;
  gap: 20px;
  background: var(--secondary);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 8px rgba(28,40,57,0.09);
  padding: 20px;
  margin-bottom: 20px;
  margin-top: 12px;
  transition: box-shadow 0.22s cubic-bezier(.6,0,.5,1);
  border-left: 6px solid var(--primary);
}
.testimonial-card:hover {
  box-shadow: 0 8px 28px 0 rgba(36,50,66,.16);
}
.testimonial-card p {
  font-size: 1.05rem;
  color: var(--text-dark);
  font-style: italic;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 18px;
}

/* === SCANDINAVIAN SPACING === */
.container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 34px 24px;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.text-section {
  margin-bottom: 20px;
}

.benefit-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 18px 0;
}

/* === HEADER & NAVIGATION === */
header {
  background: var(--secondary);
  border-bottom: 1px solid #e5ebf2;
  box-shadow: 0 1px 6px 0 rgba(36,50,66,.04);
  position: sticky;
  top: 0;
  z-index: 99;
}
nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding: 16px 0;
  gap: 20px;
}
nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--primary);
  padding: 6px 10px;
  border-radius: 6px;
  position: relative;
  transition: color 0.22s, background 0.18s;
}
nav a.cta-primary {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 40px;
  font-size: 1.08rem;
  margin-left: 20px;
  box-shadow: 0 2px 8px rgba(27,53,86,0.07);
  border: none;
  transition: background 0.22s, color 0.22s, box-shadow 0.24s;
}
nav a.cta-primary:hover {
  background: var(--accent);
  color: #1b3556;
  box-shadow: 0 8px 24px rgba(251,186,59,0.14);
}
nav a:hover:not(.cta-primary) {
  background: #e8eef6;
  color: var(--primary);
}
nav img {
  height: 38px;
  margin-right: 18px;
}

/* === MOBILE NAVIGATION === */
.mobile-menu-toggle {
  display: none;
  background: var(--primary);
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 6px;
  padding: 6px 14px 7px 14px;
  margin-left: auto;
  cursor: pointer;
  transition: background 0.18s;
  z-index: 102;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--accent);
  background: var(--accent);
  color: var(--primary);
}
@media (max-width: 1020px) {
  nav {
    gap: 10px;
  }
}
@media (max-width: 820px) {
  nav a {
    font-size: 0.97rem;
  }
  nav img {
    margin-right: 8px;
  }
}
@media (max-width: 700px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(27,53,86,0.96);
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(.77,0,.18,1);
  z-index: 110;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  color: #fff;
  border: none;
  font-size: 2.2rem;
  margin: 24px 30px 12px 0;
  cursor: pointer;
  transition: color 0.21s;
}
.mobile-menu-close:focus
{
  outline: 2px solid var(--accent);
  color: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin: 0 0 0 36px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.3rem;
  color: #fff;
  border-radius: 12px;
  padding: 10px 0 9px 5px;
  margin-bottom: 2px;
  transition: background 0.19s, color 0.21s;
  line-height: 1.32;
}
.mobile-nav a:hover {
  background: var(--accent);
  color: var(--primary);
}

@media (max-width: 350px) {
  .mobile-nav a {
    font-size: 1.05rem;
  }
}

/* === MAIN SECTIONS & CTA === */
.cta-primary {
  background: var(--accent);
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 40px;
  padding: 13px 32px;
  margin-top: 16px;
  box-shadow: 0 4px 16px rgba(253,186,59,0.11);
  cursor: pointer;
  font-size: 1.08rem;
  transition: background 0.22s, color 0.22s, box-shadow 0.2s;
  display: inline-block;
  text-align: center;
}
.cta-primary:focus {
  outline: 2px solid var(--primary);
}
.cta-primary:hover {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 32px 5px rgba(27,53,86,0.12);
}

/* === HOME FEATURE SECTION ICONS === */
ul li img {
  width: 24px !important;
  height: 24px !important;
  margin-right: 11px;
  vertical-align: middle;
  filter: none;
}

/* === FOOTER === */
footer {
  background: #F7F9FC;
  border-top: 1px solid #e5ebf2;
  padding: 35px 0 22px 0;
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  font-size: 0.97rem;
  color: var(--primary);
}
.footer-nav a {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  margin: 0 2px;
  transition: color 0.17s;
}
.footer-nav a:hover {
  color: var(--accent);
}
.mini-contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
  margin: 12px 0 4px 0;
}
.mini-contact-info img {
  width: 18px;
  margin-right: 6px;
  vertical-align: bottom;
}
.social-media-icons {
  display: flex;
  gap: 17px;
  justify-content: center;
  margin: 3px 0 2px 0;
}
.social-media-icons img {
  width: 32px;
  height: 32px;
  cursor: pointer;
  transition: filter 0.22s, transform 0.18s;
}
.social-media-icons img:hover {
  filter: brightness(1.15) drop-shadow(0 3px 8px #FDBA3B66);
  transform: scale(1.08);
}
.newsletter-signup {
  display: flex;
  justify-content: center;
  margin-top: 5px;
  font-size: 1.01rem;
  color: var(--text-dark);
  font-family: 'Roboto', Arial, sans-serif;
}
.newsletter-signup p {
  color: var(--primary);
}

/* === CARDS === */
.card {
  transition: box-shadow 0.26s cubic-bezier(.6,0,.5,1); 
}
.card:hover {
  box-shadow: 0 10px 44px 0 rgba(27,53,86,.14);
}

/* === FORMS, INPUTS, BUTTONS (Contact/newsletter forms) === */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 8px;
  border: 1px solid #d1e1f4;
  background: #fff;
  padding: 10px 14px;
  transition: border 0.18s, box-shadow 0.18s;
  margin-bottom: 14px;
  color: #123;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid var(--primary);
  outline: none;
  box-shadow: 0 2px 8px 0 #1B355614;
}
label {
  display: block;
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
}

/* === RESPONSIVE DESIGN (MOBILE FIRST) === */
@media (max-width: 1024px) {
  .container {
    max-width: 800px;
  }
  .content-wrapper {
    padding: 26px 12px;
  }
}
@media (max-width: 800px) {
  .container {
    max-width: 97vw;
  }
}
@media (max-width: 768px) {
  .section {
    padding: 28px 5px;
    margin-bottom: 42px;
  }
  .container {
    padding: 0 6px;
  }
  .content-wrapper {
    padding: 19px 3vw;
    min-width: 0;
  }
  h1 { font-size: 1.58rem; }
  h2 { font-size: 1.2rem; }
  h3 { font-size: 1.05rem; }
  .testimonial-card { font-size: 0.98rem; }
  .feature-item { font-size: 0.97rem; gap: 8px; }
}
@media (max-width: 600px) {
  .section {
    padding: 18px 2px;
    margin-bottom: 28px;
  }
  .content-wrapper {
    box-shadow: none;
    padding: 13px 2vw;
    gap: 12px;
  }
  .card {
    padding: 13px 5px;
  }
}
@media (max-width: 480px) {
  .content-wrapper, .section { padding-left:1px; padding-right: 1px;}
  nav img {
    height: 27px;
    margin-right: 6px;
  }
  .newsletter-signup {
    font-size: 0.97rem;
  }
  .mini-contact-info {
    gap: 8px;
    font-size: 0.94rem;
  }
  .footer-nav {
    flex-direction: column;
    gap: 3px;
  }
}
/* FLEXBOX DIRECTION CONSTRAINTS */
@media (max-width: 768px) {
  .text-image-section,
  .content-grid,
  .card-container,
  .benefit-grid {
    flex-direction: column !important;
    gap: 20px !important;
    align-items: stretch !important;
  }
}

/* === COOKIE CONSENT BANNER & MODAL === */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fffbea;
  border-top: 2.5px solid var(--accent);
  box-shadow: 0 -2px 18px 0 rgba(36,50,66,0.06);
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 28px 17px 18px;
  gap: 22px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  animation: cookieSlideIn 0.36s cubic-bezier(.77,0,.18,1) both;
}
@keyframes cookieSlideIn {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
.cookie-banner p {
  color: #383c35;
  margin-bottom: 0;
  flex-grow: 1;
}
.cookie-banner-actions {
  display: flex;
  gap: 13px;
  flex-shrink: 0;
}
.cookie-btn {
  border: none;
  border-radius: 16px;
  padding: 8px 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  margin-left: 0;
  margin-right: 0;
  box-shadow: 0 2px 7px #1B355615;
  transition: background 0.19s, color 0.19s, box-shadow 0.19s;
}
.cookie-btn.accept {
  background: var(--accent);
  color: var(--primary);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--primary);
  color: #fff;
}
.cookie-btn.reject {
  background: #f6f7f8;
  color: var(--primary);
  border: 1.5px solid #d8dbe2;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #ffeee2;
  color: #a25f00;
}
.cookie-btn.settings {
  background: #f6f7f8;
  color: var(--primary);
  border: 1.5px solid #babcbb;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #fffbe2;
  color: #795900;
}
@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 5vw 14px 7vw;
  }
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(27,53,86,0.77);
  z-index: 10010;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn .25s cubic-bezier(.6,0,.5,1);
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 12px 40px 0 rgba(19,33,49,0.18);
  padding: 40px 28px 32px 28px;
  width: 98vw;
  max-width: 460px;
  font-family: 'Roboto', Arial, sans-serif;
  color: #1B3556;
  animation: modalRise .33s cubic-bezier(.77,0,.18,1);
}
@keyframes modalRise {
  from { transform: translateY(70px); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.32rem;
  margin-bottom: 20px;
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
.cookie-category {
  margin-bottom: 20px;
}
.cookie-category label {
  display: flex;
  align-items: center;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  color: #24324b;
  cursor: pointer;
  gap: 18px;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--primary);
  width: 17px; height: 17px;
}
.cookie-category .always-on {
  color: #adb5bd;
  font-size: 0.97em;
  margin-left: 8px;
  font-style: italic;
}
.cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 19px;
}
.cookie-modal .cookie-btn {
  min-width: 90px;
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 23px;
  background: transparent;
  border: none;
  color: #76869E;
  font-size: 1.8rem;
  cursor: pointer;
  transition: color 0.19s;
  z-index: 125;
}
.cookie-modal-close:focus,
.cookie-modal-close:hover {
  color: var(--primary);
}

/* === UTILITIES === */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 8px !important; }
.mt-2 { margin-top: 18px !important; }
.mt-3 { margin-top: 32px !important; }

/* === MICRO-INTERACTIONS === */
.card, .content-wrapper, .testimonial-card, .cta-primary, .cookie-btn {
  will-change: box-shadow, background, color, filter, transform;
}
.card:active, .cta-primary:active, .cookie-btn:active {
  transform: translateY(2px) scale(0.99);
  filter: brightness(0.98);
}
.testimonial-card:active {
  transform: scale(0.99);
}

/* === VISUAL ACCENTS === */
hr {
  border: none;
  border-top: 1.1px solid #e5ebf2;
  margin: 32px 0 29px 0;
}

/* === ACCESSIBILITY === */
:focus {
  outline: 2.5px solid var(--accent);
  outline-offset: 3px;
}

/* === PRINT STYLES (optional) */
@media print {
  body, html { background: #fff; color: #111 !important; }
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  .content-wrapper, .section, .container { box-shadow: none !important; background: none !important; }
}

/* === END OF STYLE.CSS === */
