/* -----------------------------------------------------
   CSS RESET & BASE STYLES (normalize & baseline)
----------------------------------------------------- */
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: #F7F6F2; /* brand accent color, warm white */
  color: #212121;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #7DA1B4;
  text-decoration: none;
  transition: color 0.14s;
}
a:hover, a:focus {
  color: #49718b;
  text-decoration: underline;
}
ul, ol {
  margin-left: 24px;
}
strong, b {
  font-weight: 700;
}

/* Selection - subtle accent tint */
::selection {
  background: #E3ECF1;
}

/* -----------------------------------------------------
   TYPOGRAPHY (Scandinavian: clean, modern, simple)
----------------------------------------------------- */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  color: #212121;
  letter-spacing: 0.01em;
  line-height: 1.18;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.375rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}
p {
  font-size: 1rem;
  margin-bottom: 16px;
  color: #323232;
}
li {
  font-size: 1rem;
  margin-bottom: 8px;
  color: #323232;
}

/* Typography Balance */
.text-section h3 {
  margin-top: 20px;
  font-size: 1.15rem;
}

.signature {
  margin-top: 18px;
  font-family: 'Montserrat', cursive, sans-serif;
  font-size: 1.125rem;
  color: #7DA1B4;
}

/* -----------------------------------------------------
   LAYOUT STRUCTURE
----------------------------------------------------- */

.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 16px 0 rgba(33,33,33,0.06);
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.2s;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  min-width: 250px;
  flex: 1 1 300px;
}
.card:hover {
  box-shadow: 0 8px 24px 0 rgba(33,33,33,0.13);
}

.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: 16px;
  padding: 20px;
  margin-bottom: 24px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(33,33,33,0.09);
  border-left: 5px solid #7DA1B4;
  max-width: 520px;
  font-size: 1.05rem;
  color: #212121;
  transition: box-shadow 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(33,33,33,0.15);
}

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

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.text-section {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.social-media {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 10px 0 0 0;
}
/* Spacing utility */
.mb-24 { margin-bottom: 24px !important; }
.mb-32 { margin-bottom: 32px !important; }

/* -----------------------------------------------------
   HEADER & MAIN NAVIGATION
----------------------------------------------------- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 12px rgba(33,33,33,0.05);
  position: sticky;
  top: 0;
  z-index: 10;
}
.main-navigation {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 12px 0;
  justify-content: flex-start;
}
.main-navigation a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #212121;
  font-size: 1rem;
  padding: 5px 8px;
  transition: color 0.14s, background 0.16s;
  border-radius: 5px;
}
.main-navigation a.cta-primary {
  margin-left: 18px;
  padding: 7px 18px;
  background: #7DA1B4;
  color: #fff;
  font-weight: 700;
  border-radius: 18px;
  transition: background 0.14s, color 0.14s, transform 0.12s;
  box-shadow: 0 2px 8px rgba(125,161,180,0.12);
  border: none;
}
.main-navigation a.cta-primary:hover,
.main-navigation a.cta-primary:focus {
  background: #49718b;
  color: #fff;
  transform: translateY(-2px) scale(1.045);
  box-shadow: 0 4px 16px rgba(125,161,180,0.18);
}
.main-navigation a:hover,
.main-navigation a:focus {
  background: #E3ECF1;
  color: #7DA1B4;
}
.main-navigation img {
  height: 38px;
  margin-right: 14px;
  vertical-align: middle;
  transition: opacity 0.14s;
}

/* -----------------------------------------------------
   MOBILE MENU
----------------------------------------------------- */
.mobile-menu-toggle {
  display: none;
  background: none;
  color: #212121;
  font-size: 2rem;
  border: none;
  cursor: pointer;
  margin-left: auto;
  z-index: 22;
  padding: 2px 14px;
  line-height: 1;
  transition: color 0.12s;
}

.mobile-menu-toggle:focus {
  outline: 2px solid #7DA1B4;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(33,33,33,0.25);
  z-index: 35;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s;
}
.mobile-menu.open {
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu nav.mobile-nav {
  background: #fff;
  box-shadow: -4px 0 18px rgba(33,33,33,0.09);
  padding: 48px 32px 32px 32px;
  min-width: 240px;
  max-width: 325px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transform: translateX(100%);
  transition: transform 0.29s cubic-bezier(0.52,0.03,0.63,0.96);
}
.mobile-menu.open nav.mobile-nav {
  transform: translateX(0);
}
.mobile-menu-close {
  color: #212121;
  background: none;
  font-size: 2rem;
  border: none;
  cursor: pointer;
  margin: 18px 30px 0 0;
  align-self: flex-end;
  transition: color 0.14s;
}
.mobile-menu-close:focus {
  color: #7DA1B4;
  outline: 2px solid #7DA1B4;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #212121;
  font-size: 1.15rem;
  padding: 12px 0 12px 0;
  border-radius: 7px;
  font-weight: 500;
  transition: background 0.12s, color 0.13s;
  min-width: 140px;
  display: block;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #E3ECF1;
  color: #7DA1B4;
}

@media (max-width: 1100px) {
  .main-navigation {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .container {
    padding: 0 12px;
  }

  .main-navigation {
    gap: 8px;
    padding: 10px 0;
  }
  .main-navigation a {
    font-size: 0.96rem;
    padding: 5px 6px;
  }
}
@media (max-width: 830px) {
  .main-navigation {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
    position: absolute;
    right: 12px;
    top: 14px;
  }
}

@media (min-width: 831px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* -----------------------------------------------------
   BUTTONS & INTERACTIVE ELEMENTS
----------------------------------------------------- */
.cta-primary {
  display: inline-block;
  background: #7DA1B4;
  color: #fff;
  border-radius: 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.075rem;
  padding: 12px 26px;
  box-shadow: 0 2px 8px rgba(125,161,180,0.12);
  margin-top: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.16s, color 0.16s, transform 0.13s;
}
.cta-primary:hover, .cta-primary:focus {
  background: #49718b;
  color: #fff;
  transform: translateY(-2px) scale(1.041);
  box-shadow: 0 6px 18px rgba(125,161,180,0.16);
  text-decoration: none!important;
  outline: none;
}
button {
  font-family: inherit;
  font-size: 1rem;
  border: none;
  background: none;
  cursor: pointer;
}

/* -----------------------------------------------------
   SECTIONS & CONTENT STYLES
----------------------------------------------------- */
section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
  background: transparent;
  position: relative;
}
section .container {
  padding: 0 10px;
}

ul, ol {
  margin-top: 0;
  margin-bottom: 20px;
}
ul {
  list-style-type: disc;
}
ol {
  list-style-type: decimal;
}

li {
  margin-bottom: 8px;
  line-height: 1.6;
}

/* -----------------------------------------------------
   FOOTER
----------------------------------------------------- */
footer {
  background: #fff;
  border-top: 1px solid #e6e6e2;
  padding-top: 44px;
  padding-bottom: 38px;
  margin-top: 80px;
}
footer .container {
  padding: 0 14px;
}
footer .content-wrapper {
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  justify-content: flex-start;
}
.footer-nav a {
  color: #7DA1B4;
  font-size: 0.98rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  opacity: 0.93;
  border-radius: 6px;
  transition: background 0.14s, color 0.15s;
  padding: 5px 8px;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #E3ECF1;
  color: #49718b;
}


/* -----------------------------------------------------
   RESPONSIVE DESIGN
----------------------------------------------------- */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  h3 {
    font-size: 1.18rem;
  }
  section, .section {
    padding: 32px 0 32px 0;
    margin-bottom: 38px;
  }
  .card-container, .content-grid {
    gap: 10px;
  }
  .testimonial-card {
    font-size: 1rem;
    padding: 15px;
    max-width: 100%;
  }
  .card {
    padding: 18px 12px;
    min-width: 190px;
    flex: 1 1 220px;
  }
  .content-wrapper {
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .footer-nav {
    gap: 14px;
    flex-direction: column;
    align-items: flex-start;
  }
  .social-media {
    gap: 10px;
  }
}
@media (max-width: 500px) {
  .card {
    padding: 12px 6px;
    font-size: 0.98rem;
    min-width: 100%;
  }
  h1,
  h2 {
    font-size: 1.25rem;
    margin-bottom: 14px;
  }
  footer {
    padding-top: 18px;
    padding-bottom: 22px;
  }
}

/* -----------------------------------------------------
   SCANDINAVIAN CLEAN EXTRAS
----------------------------------------------------- */
::-webkit-input-placeholder { color: #8a948f; }
::-moz-placeholder { color: #8a948f; }
:-ms-input-placeholder { color: #8a948f; }
::placeholder { color: #8a948f; }

hr {
  border: none;
  border-top: 1px solid #e6e6e2;
  margin: 48px 0 48px 0;
}

/* -----------------------------------------------------
   MICRO-INTERACTIONS
----------------------------------------------------- */
.card, .testimonial-card {
  transition: box-shadow 0.18s, transform 0.13s;
}
.card:focus, .testimonial-card:focus {
  outline: 2px solid #7DA1B4;
  box-shadow: 0 6px 28px rgba(125,161,180,0.15);
}

button:focus, a:focus {
  outline: 2px solid #7DA1B4;
  outline-offset: 1px;
}

a.cta-primary:active {
  transform: scale(0.98);
}

/* Simple fade-in for sections */
section, .card, .testimonial-card {
  opacity: 0;
  animation: fadein 0.6s forwards;
  animation-delay: 0.01s;
}
@keyframes fadein {
  to { opacity: 1; }
}

/* -----------------------------------------------------
   COOKIE CONSENT BANNER
----------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  color: #212121;
  border-top: 1.5px solid #e6e6e2;
  box-shadow: 0 -4px 24px rgba(33,33,33,0.07);
  z-index: 50;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 18px 30px;
  font-size: 1rem;
  gap: 18px;
  animation: fadein 0.44s;
}
.cookie-banner p {
  margin: 0;
  flex: 1 1 60%;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-banner button {
  border-radius: 20px;
  background: #7DA1B4;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 7px 23px;
  border: none;
  box-shadow: 0 2px 6px rgba(125,161,180,0.10);
  margin: 0 2px;
  cursor: pointer;
  transition: background 0.13s, transform 0.11s;
}
.cookie-banner button:hover,
.cookie-banner button:focus {
  background: #49718b;
  outline: none;
  transform: translateY(-2px) scale(1.035);
}
.cookie-banner button.cookie-settings {
  background: #E3ECF1;
  color: #212121;
  border: 1px solid #7DA1B4;
  font-weight: 500;
}
.cookie-banner button.cookie-settings:hover,
.cookie-banner button.cookie-settings:focus {
  background: #d2dce3;
  color: #212121;
}

@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 12px;
    font-size: 0.98rem;
  }
  .cookie-banner p {
    flex: unset;
  }
}
/* Cookie Modal (overlay) */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 100;
  background: rgba(33,33,33,0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal .modal-content {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 36px rgba(33,33,33,0.11);
  max-width: 420px;
  width: 90vw;
  padding: 30px 26px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: fadein 0.42s;
}
.cookie-modal h2 {
  margin-bottom: 14px;
  font-size: 1.335rem;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 1.6rem;
  background: none;
  border: none;
  color: #212121;
  cursor: pointer;
  z-index: 2;
}
.cookie-modal .modal-close:hover,
.cookie-modal .modal-close:focus {
  color: #7DA1B4;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  gap: 9px;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #7DA1B4;
  width: 22px;
  height: 22px;
  margin: 0;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 6px;
  justify-content: flex-end;
}
@media (max-width: 500px) {
  .cookie-modal .modal-content {
    padding: 20px 10px 12px 10px;
    border-radius: 11px;
  }
}

/* -----------------------------------------------------
   NATIVE ELEMENTS (for legal/info pages)
----------------------------------------------------- */
table {
  border-collapse: collapse;
  width: 100%;
}
th, td {
  border: 1px solid #e6e6e2;
  padding: 8px;
}
th {
  background: #EEF4F6;
  font-weight: 600;
}

/* -----------------------------------------------------
   SCROLLBAR (subtle accent)
----------------------------------------------------- */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-thumb {
  background: #E3ECF1;
  border-radius: 8px;
}
::-webkit-scrollbar-track { background: #F7F6F2; }

/* -----------------------------------------------------
   OTHER UTILITIES
----------------------------------------------------- */
.hide { display: none !important; }
.visible { display: block !important; }

/* Prevent content overlapping anywhere */
.card, .card-container, .content-wrapper, .section, section, .testimonial-card, .feature-item {
  margin-bottom: 20px;
}

/* Extra breathing room between blocks on small devices */
@media (max-width: 530px) {
  section, .section {
    padding: 22px 0 18px 0;
    margin-bottom: 26px;
  }
}
/* -----------------------------------------------------
   END
----------------------------------------------------- */
