/* --------------------------------------------------------------
   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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F2F2F2;
  -webkit-font-smoothing: antialiased;
}
ol, ul {
  list-style: none;
}
a {
  background-color: transparent;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  border-style: none;
  display: block;
  max-width: 100%;
  height: auto;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  background: none;
  border: none;
}
hr {
  height: 1px;
  background: #DDD;
  border: 0;
}

/*--------------------------------------------------------------
  FONT IMPORTS
--------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Roboto:wght@400;500;700&display=swap');

:root {
  --color-primary: #1A232D;
  --color-secondary: #C82444;
  --color-bg: #F2F2F2;
  --color-white: #FFF;
  --color-card-bg: #FFF;
  --color-footer-bg: #E6E9ED;
  --color-shadow: 0 2px 12px rgba(60, 70, 80, 0.08);
  --border-radius: 14px;
  --border-radius-sm: 8px;
  --padding-section-vertical: 40px;
  --padding-section-horizontal: 20px;
}

/*--------------------------------------------------------------
  TYPOGRAPHY & GLOBALS
--------------------------------------------------------------*/
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--color-primary);
  background: var(--color-bg);
  font-size: 16px;
  font-weight: 400;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -1px;
  margin-bottom: 16px;
  line-height: 1.12;
}
h1 {font-size: 2.6rem; margin-bottom: 20px;}
h2 {font-size: 2rem; margin-bottom: 16px;}
h3 {font-size: 1.3rem; margin-bottom: 12px;}
h4, h5, h6 {font-size: 1.08rem; margin-bottom: 10px;}
p, ul, ol, dl {
  margin-bottom: 18px;
  font-size: 1rem;
  color: var(--color-primary);
}
p.subheadline {
  font-size: 1.18rem;
  color: #495161;
  margin-bottom: 32px;
}
strong {
  font-weight: 700;
}
em {
  font-family: inherit;
  font-style: italic;
}

/*--------------------------------------------------------------
  CONTAINER & SECTION SPACING
--------------------------------------------------------------*/
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.section, section {
  margin-bottom: 10px;
  padding: 40px 20px;
} 
.content-wrapper {
  max-width: 850px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
    padding: 20px;
    border-radius: 20px;
}

/*--------------------------------------------------------------
  HEADER & NAVIGATION
--------------------------------------------------------------*/
header {
  background: var(--color-white);
  box-shadow: 0 2px 10px rgba(30,36,41,0.04);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 500;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 26px;
  padding: 16px 0;
  font-size: 1rem;
}
.main-nav > a {
  color: var(--color-primary);
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  opacity: 0.85;
  border-radius: var(--border-radius-sm);
  padding: 8px 10px;
  transition: background 0.18s, color 0.2s, opacity 0.15s;
}
.main-nav > a.cta-button {
  margin-left: auto;
}
.main-nav > a:hover, .main-nav > a:focus {
  background: var(--color-bg);
  color: var(--color-secondary);
  opacity: 1;
}
.main-nav img {
  height: 38px;
  width: auto;
  margin-right: 5px;
  vertical-align: middle;
}

/* Hide desktop nav on mobile, show hamburger */
.mobile-menu-toggle {
  display: none;
  background: var(--color-bg);
  border: none;
  font-size: 2rem;
  color: var(--color-primary);
  position: absolute;
  top: 18px;
  right: 24px;
  z-index: 1201;
  width: 44px;
  height: 44px;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: background 0.15s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #ededed;
}

/* Mobile Menu Styles */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-white);
  z-index: 1300;
  transform: translateX(-100vw);
  transition: transform 0.38s cubic-bezier(0.77,0.1,0.2,1);
  box-shadow: 0 5px 30px rgba(20,30,48,0.18);
  display: flex;
  flex-direction: column;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: var(--color-primary);
  font-size: 2rem;
  position: absolute;
  top: 18px;
  right: 24px;
  border: none;
  z-index: 1400;
  cursor: pointer;
  width: 44px;
  height: 44px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  margin-top: 80px;
  gap: 12px;
  padding: 0 28px;
}
.mobile-nav a {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.18rem;
  line-height: 1.3;
  padding: 13px 7px;
  color: var(--color-primary);
  border-radius: var(--border-radius-sm);
  transition: background 0.15s, color 0.17s;
  width: 100%;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-bg);
  color: var(--color-secondary);
}

/* Hamburger only visible on mobile */
@media (max-width: 1100px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1101px) {
  .mobile-menu {
    display: none !important;
  }
}

/*--------------------------------------------------------------
  CTA BUTTONS
--------------------------------------------------------------*/
.cta-button {
  background: var(--color-secondary);
  color: var(--color-white) !important;
  border-radius: var(--border-radius-sm);
  padding: 12px 30px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.09rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(200,36,68,0.08);
  cursor: pointer;
  border: none;
  transition: background 0.18s, box-shadow 0.22s, transform 0.17s;
  outline: none;
  display: inline-block;
  margin-top: 8px;
  margin-bottom: 8px;
}
.cta-button:hover, .cta-button:focus {
  background: #A41B35;
  box-shadow: 0 4px 16px rgba(200,36,68,0.20);
  transform: translateY(-3px) scale(1.02);
}
.cta-button.secondary {
  background: transparent;
  color: var(--color-secondary) !important;
  border: 2px solid var(--color-secondary);
  box-shadow: none;
}
.cta-button.secondary:hover, .cta-button.secondary:focus {
  background: var(--color-secondary);
  color: var(--color-white) !important;
}

/*--------------------------------------------------------------
  HERO SECTIONS
--------------------------------------------------------------*/
.hero {
  background: var(--color-bg);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0 0 0;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 320px;
  min-width: 0;
}
.hero .content-wrapper {
  padding: 32px 0 10px 0;
  background: transparent;
  border-radius: var(--border-radius);
}

/*--------------------------------------------------------------
  FEATURES & GRIDS (USE ONLY FLEXBOX)
--------------------------------------------------------------*/
.feature-grid,
.team-grid,
.card-container,
.card-grid,
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 24px 0 0 0;
}
.feature-grid {
  gap: 30px;
}
.feature {
  background: var(--color-card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--color-shadow);
  padding: 28px 20px 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 240px;
  max-width: 350px;
  flex: 1 1 264px;
  margin-bottom: 20px;
  transition: box-shadow 0.23s, transform 0.18s;
}
.feature img {
  height: 40px;
  margin-bottom: 18px;
}
.feature:hover {
  box-shadow: 0 7px 24px rgba(41,52,92,0.13);
  transform: translateY(-5px) scale(1.03);
}

.team-grid {
  gap: 27px;
  flex-wrap: wrap;
}
.team-member {
  background: var(--color-card-bg);
  border-radius: var(--border-radius-sm);
  box-shadow: 0 1.5px 7px rgba(20,28,38,0.06);
  padding: 22px 18px 17px 18px;
  min-width: 215px;
  max-width: 320px;
  flex: 1 1 210px;
  margin-bottom: 20px;
  font-size: 1rem;
  transition: box-shadow 0.19s;
}
.team-member strong {
  font-family: 'Montserrat', Arial, sans-serif;
  display: block;
  font-size: 1.12rem;
  color: var(--color-primary);
  margin-bottom: 7px;
}
.team-member:hover {
  box-shadow: 0 4px 18px rgba(41,52,92,0.11);
}

.card-container, .card-grid {
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  background: var(--color-card-bg);
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(60,70,80,0.07);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 20px;
  transition: box-shadow 0.21s, transform 0.19s;
}
.card:hover {
  box-shadow: 0 6px 16px rgba(60,70,80,0.13);
  transform: translateY(-5px) scale(1.02);
}

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

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

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

/*--------------------------------------------------------------
  TESTIMONIALS
--------------------------------------------------------------*/
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--color-card-bg);
  border-radius: var(--border-radius);
  padding: 20px 28px 16px 28px;
  box-shadow: 0 2px 14px rgba(41,52,92,0.09);
  margin-bottom: 20px;
  flex-wrap: wrap;
  color: var(--color-primary);
}
.testimonial-card p {
  color: var(--color-primary);
  font-size: 1.08rem;
  margin: 0 0 7px 0;
  font-style: italic;
}
.testimonial-card span {
  font-size: 0.97rem;
  color: #42506D;
  font-family: 'Roboto', Arial, sans-serif;
}

/*--------------------------------------------------------------
  CTA SECTION
--------------------------------------------------------------*/
.cta-section {
  background: var(--color-secondary);
  padding: 48px 20px 52px 20px;
  border-radius: var(--border-radius);
  color: var(--color-white);
  box-shadow: 0 4px 40px rgba(200,36,68,0.11);
  margin-bottom: 60px;
}
.cta-section h2,
.cta-section p,
.cta-section .cta-button, 
.cta-section .cta-button.secondary {
  color: var(--color-primary) !important;
}
.cta-section .cta-button.secondary {
  background: transparent;
  border: 2px solid var(--color-white);
  color: var(--color-white) !important;
}
.cta-section .cta-button.secondary:hover {
  background: var(--color-white);
  color: var(--color-secondary) !important;
}

/*--------------------------------------------------------------
  FOOTER
--------------------------------------------------------------*/
footer {
  background: var(--color-footer-bg);
  color: #48505A;
  border-top: 1px solid #D8DDE1;
  padding: 44px 0 18px 0;
}
footer .container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 40px 24px;
  justify-content: flex-start;
  align-items: flex-start;
}
.footer-brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  flex: 1 1 290px;
}
.footer-brand img {
  height: 54px;
  width: auto;
  display: block;
}
.brand-info {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: #333;
}
.footer-nav, .footer-legal, .footer-social, .footer-contact {
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1 1 140px;
}
.footer-nav a, .footer-legal a {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 0.96rem;
  color: #40506B;
  transition: color 0.19s;
  opacity: 0.93;
}
.footer-nav a:hover, .footer-legal a:hover {
  color: var(--color-secondary);
  opacity: 1;
  text-decoration: underline;
}
.footer-social {
  flex-direction: row;
  gap: 16px;
  align-items: center;
  margin-top: 12px;
}
.footer-social a img {
  width: 26px;
  opacity: 0.90;
  transition: opacity 0.16s, transform 0.17s;
}
.footer-social a:hover img {
  opacity: 1;
  transform: scale(1.08);
}
.footer-contact div {
  font-size: 0.95rem;
  margin-bottom: 7px;
  color: #48505A;
  display: flex;
  align-items: center;
  gap: 7px;
}
.footer-contact img {
  width: 18px;
  margin-right: 5px;
  opacity: 0.74;
}
@media (max-width: 920px) {
  footer .container {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
  .footer-brand {
    margin-bottom: 15px;
  }
  .footer-social {
    margin-top: 0px;
  }
}

/*--------------------------------------------------------------
  LISTS AND FAQ
--------------------------------------------------------------*/
ul, ol {
  padding-left: 20px;
  margin-bottom: 18px;
}
ul li, ol li {
  margin-bottom: 10px;
  line-height: 1.5;
}
ul li strong {
  font-family: 'Montserrat', Arial, sans-serif;
  margin-right: 5px;
  color: var(--color-secondary);
}
dt {
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--color-primary);
}
dd {
  margin-bottom: 14px;
}
.map-section {
  background: #EEEEEE;
  padding: 18px 16px 13px 16px;
  border-radius: var(--border-radius-sm);
  margin: 10px 0 0 0;
  color: #222832;
}

/*--------------------------------------------------------------
  COOKIES CONSENT BANNER & MODAL
--------------------------------------------------------------*/
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: var(--color-white);
  border-top: 1.5px solid #D8DDE1;
  box-shadow: 0 -1.5px 18px rgba(60,70,80,0.08);
  color: var(--color-primary);
  z-index: 1500;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px 16px 20px;
  font-size: 1rem;
  animation: cookiebounce 0.44s cubic-bezier(.71,-.58,.47,1.48);
}
@keyframes cookiebounce {
  0%{transform:translateY(120px); opacity:0}
  70%{transform:translateY(-12px); opacity:1}
  100%{transform:translateY(0); opacity:1}
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-btn {
  padding: 8px 20px;
  border-radius: var(--border-radius-sm);
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  margin-right: 0;
  background: var(--color-bg);
  color: var(--color-primary);
  transition: background 0.17s, color 0.17s;
}
.cookie-btn.accept {
  background: var(--color-secondary);
  color: var(--color-white);
  font-weight: 700;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #a41b35;
}
.cookie-btn.reject {
  background: #EBECEF;
  color: var(--color-primary);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #e1e2e4;
}
.cookie-btn.settings {
  background: transparent;
  color: var(--color-secondary);
  border: 1.5px solid var(--color-secondary);
  font-weight: 500;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--color-secondary);
  color: var(--color-white);
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34,38,69,0.23);
  z-index: 1900;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.35s;
}
.cookie-modal {
  max-width: 410px;
  width: 95vw;
  background: var(--color-white);
  border-radius: var(--border-radius);
  box-shadow: 0 8px 64px rgba(41,52,92,0.23);
  padding: 38px 28px 28px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 15px;
  font-size: 1.04rem;
  animation: modalSlideIn 0.38s cubic-bezier(.72,-.32,.38,1.4);
}
@keyframes modalSlideIn {
  0%{transform: translateY(60px);opacity:0}
  80%{transform:translateY(-9px);opacity:1}
  100%{transform: translateY(0);opacity:1}
}
@keyframes fadeIn {
  from {opacity:0}
  to {opacity:1}
}
.cookie-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  color: var(--color-secondary);
  font-size: 1.5rem;
  border: none;
  cursor: pointer;
  border-radius: var(--border-radius-sm);
  width: 34px;
  height: 34px;
  transition: background 0.11s;
}
.cookie-modal-close:hover {
  background: #F8EBED;
}
.cookie-modal h3 {
  margin: 0 0 10px 0;
  font-size: 1.14rem;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 15px 0;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 11px;
}
.cookie-category label {
  font-size: 1rem;
  color: var(--color-primary);
}
.cookie-category input[type=checkbox] {
  accent-color: var(--color-secondary);
  width: 18px;
  height: 18px;
}
.cookie-category.disabled label {
  color: #B1B6BD;
  font-style: italic;
}

/*--------------------------------------------------------------
  MEDIA QUERIES
--------------------------------------------------------------*/
@media (max-width: 1100px) {
  .feature-grid, .team-grid, .content-grid, .card-container, .card-grid {
    flex-direction: column;
    gap: 23px;
  }
  footer .container {
    flex-direction: column;
    gap: 22px;
  }
  .feature, .team-member, .card {
    min-width: 0;
    max-width: 100%;
    flex: 1 1 100%;
  }
  section, .section {
    padding: 32px 8px;
    margin-bottom: 36px;
  }
  .cta-section {
    padding: 40px 10px 44px 10px;
  }
  .container {
    padding: 0 7px;
  }
}
@media (max-width: 768px) {
  .hero {
    padding: 14px 0 0 0;
    min-height: 170px;
  }
  .container {
    padding: 0 5px;
  }
  .card, .feature, .team-member {
    padding: 20px 10px;
    font-size: 0.97rem;
  }
  .content-wrapper {
    padding: 0 3px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 14px 10px 10px 10px;
  }
  .cta-button, .cookie-btn {
    font-size: 1rem;
    padding: 11px 17px;
  }
  .cta-section {
    padding: 28px 3px 28px 3px;
  }
  .mobile-menu .mobile-nav {
    margin-top: 65px;
    padding: 0 8px;
  }
  .map-section {
    padding: 14px 7px 12px 7px;
    font-size: 0.97rem;
  }
  h1 {font-size: 1.67rem;}
  h2 {font-size: 1.18rem;}
}
@media (max-width: 520px) {
  .hero .container {
    min-height: 90px;
  }
  .feature, .team-member, .card {
    padding: 13px 6px;
  }
  .cookie-modal {
    padding: 14px 5px 13px 5px;
    width: 98vw;
    min-width: 0;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.96rem;
    padding: 10px 2px 9px 4px;
  }
  .cookie-banner-buttons {
    gap: 5px;
  }
}

/*--------------------------------------------------------------
  MISCELLANEOUS
--------------------------------------------------------------*/
::-webkit-input-placeholder { color: #8CA0B3; opacity: 1; }
::-moz-placeholder { color: #8CA0B3; opacity: 1; }
:-ms-input-placeholder { color: #8CA0B3; opacity: 1; }
::placeholder { color: #8CA0B3; opacity: 1; }

a, button, .cta-button {
  outline: none;
}

a:focus-visible, button:focus-visible {
  box-shadow: 0 0 0 2px var(--color-secondary) inset;
}

table { border-collapse: collapse; }
input[type="checkbox"] {
  accent-color: var(--color-secondary);
}

/* --------------------------------------------------------------
   SCANDINAVIAN CLEAN THEME - ACCENTS
--------------------------------------------------------------*/
.card, .feature, .team-member, .testimonial-card, .content-wrapper, .footer-brand, .map-section {
  background: var(--color-card-bg);
}

/* Subtle shadow and rounded corners for cards */
.card, .feature, .team-member, .testimonial-card {
  border-radius: var(--border-radius);
  box-shadow: var(--color-shadow);
}

/* Subtle hover on links & list items */
ul li:hover, ol li:hover {
  background: #F7F7F9;
  border-radius: var(--border-radius-sm);
  transition: background 0.15s;
}

hr {
  margin: 36px 0;
  border: none;
  height: 1.1px;
  background: #D4D6DC;
  opacity: 0.5;
}

/* Spacing for DL/FAQ */
dt {margin-top:20px;}
dd {margin-bottom:16px;}

display: block; /* To ensure elements like dl/dd/dt behave as boxes */

/* --------------------------------------------------------------
   END OF STYLE.CSS
--------------------------------------------------------------*/
