/* =======================================================================
   CSS RESET & NORMALIZATION
   ======================================================================= */
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;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}
body {
  background: #faf9f6;
  color: #264653;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Scandinavian-inspired tranquil tone */
}
article, aside, footer, header, nav, section, main {
  display: block;
}
a {
  color: #264653;
  background: transparent;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #f4a261;
}
ul, ol {
  margin-left: 20px;
}
ul li, ol li {
  margin-bottom: 8px;
}
img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}
table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(38,70,83,0.03);
  overflow: hidden;
}
th, td {
  padding: 14px 12px;
  text-align: left;
  border-bottom: 1px solid #edeaea;
}
th {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 18px;
  background: #f5efe7;
  color: #264653;
  letter-spacing: 0.5px;
}
tr:last-child td {
  border-bottom: none;
}

/* =======================================================================
   BRAND TYPOGRAPHY
   ======================================================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #264653;
  margin-bottom: 16px;
  font-weight: 700;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.13;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  line-height: 1.15;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.35rem;
  line-height: 1.2;
  margin-bottom: 14px;
}
h4, h5, h6 {
  font-size: 1.1rem;
  line-height: 1.25;
}
p, ul, ol, table {
  font-size: 1rem;
  margin-bottom: 18px;
}
small {
  color: #aaa;
  font-size: 14px;
}
strong {
  color: #264653;
  font-weight: 700;
}

/* =======================================================================
   CONTAINER & LAYOUT
   ======================================================================= */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-right: 20px;
  padding-left: 20px;
  box-sizing: border-box;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* =======================================================================
   HEADER & NAVIGATION
   ======================================================================= */
header {
  background: #fff;
  border-bottom: 1px solid #edeaea;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 50;
}
header .container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  min-height: 72px;
  gap: 18px;
  justify-content: space-between;
  position: relative;
}
header img {
  height: 44px;
  width: auto;
  margin-right: 20px;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
nav a {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #264653;
  padding: 5px 5px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
  font-weight: 500;
}
nav a:hover, nav a:focus {
  color: #f4a261;
  background: #f6efda;
}
.cta-btn-primary {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #f4a261;
  color: #264653;
  padding: 12px 32px;
  font-size: 1.08rem;
  border: none;
  border-radius: 32px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(233,196,106,0.13);
  transition: background 0.18s, color 0.18s, box-shadow 0.22s;
  margin-left: 10px;
  display: inline-block;
  outline: none;
  position: relative;
}
.cta-btn-primary:hover, .cta-btn-primary:focus {
  background: #e9c46a;
  color: #264653;
  box-shadow: 0 2px 16px rgba(233,196,106,0.17);
}

/* =======================================================================
   MOBILE MENU & BURGER
   ======================================================================= */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  right: 18px;
  top: 18px;
  z-index: 101;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  line-height: 44px;
  color: #264653;
  background: #fff;
  border: none;
  border-radius: 50%;
  box-shadow: 0 1px 6px rgba(38,70,83,0.06);
  transition: background 0.18s;
  cursor: pointer;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #f6efda;
}
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 100vw;
  background: #fff;
  box-shadow: 0 0 0 100vmax rgba(38,70,83,0.13);
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.77,.2,.05,1.0);
  z-index: 110;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 28px;
  padding-left: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: 0 8px 32px rgba(38,70,83,0.17);
}
.mobile-menu-close {
  background: #f4a261;
  color: #264653;
  font-size: 2rem;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  margin-left: 20px;
  margin-bottom: 18px;
  cursor: pointer;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
  transition: background 0.21s;
  z-index: 111;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #e9c46a;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: 100%;
  padding-left: 24px;
}
.mobile-nav a {
  font-size: 1.18rem;
  color: #264653;
  padding: 14px 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-bottom: 1px solid #f5efe7;
  transition: background 0.18s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #f4a261;
  background: #f6efda;
}

@media (max-width: 1023px) {
  nav {
    display: none;
  }
  .cta-btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .container {
    gap: 0;
  }
}
@media (min-width: 1024px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
  nav {
    display: flex !important;
  }
  .cta-btn-primary {
    display: inline-block !important;
  }
}

/* Main responsive spacing and base section setup */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* =======================================================================
   FLEXBOX LAYOUTS & SPACING
   ======================================================================= */
.feature-grid,
.card-container,
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card-container {
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 6px rgba(38,70,83,0.07);
  padding: 24px 22px;
  min-width: 220px;
  flex: 1 1 300px;
  transition: box-shadow 0.21s, transform 0.21s;
  display: flex;
  flex-direction: column;
}
.card:hover, .card:focus-within {
  box-shadow: 0 3px 18px rgba(38,70,83,0.16);
  transform: translateY(-2px) scale(1.01);
}
.content-grid {
  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;
  background: #fffdf8;
  border-radius: 13px;
  box-shadow: 0 1px 8px rgba(38,70,83,0.065);
  margin-bottom: 24px;
  font-size: 1.09rem;
  color: #264653;
}
.testimonial-card p {
  margin: 0 0 6px 0;
  font-size: 1.1rem;
}
.testimonial-card strong {
  color: #264653;
  font-weight: bold;
}

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

@media (max-width: 768px) {
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 24px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    padding: 18px 10px;
    font-size: 1rem;
  }
  .card {
    min-width: unset;
    padding: 18px 15px;
  }
  .section {
    padding: 20px 8px;
  }
}

/* Feature cards and grids (simple, scandinavian, lots of white) */
.feature-grid > div {
  flex: 1 1 200px;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 1px 8px rgba(38,70,83,0.065);
  padding: 30px 20px 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow 0.18s, transform 0.18s;
  min-width: 180px;
  margin-bottom: 0;
  position: relative;
}
.feature-grid > div:hover, .feature-grid > div:focus-within {
  box-shadow: 0 4px 20px rgba(38,70,83,0.12);
  transform: translateY(-2px);
}
.feature-grid img {
  height: 38px;
  width: 38px;
  object-fit: contain;
}
.feature-grid h3 {
  font-size: 1.12rem;
  margin-bottom: 8px;
  font-weight: 600;
  color: #264653;
}
.feature-grid p {
  margin-bottom: 0;
  color: #22323a;
}

/* =======================================================================
   GENERAL STRUCTURE, FORMS & ELEMENTS
   ======================================================================= */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 8px;
}
.text-section ul, .text-section ol {
  margin-left: 18px;
  margin-bottom: 10px;
}
.text-section img {
  margin-right: 10px;
  vertical-align: middle;
  height: 22px;
  width: 22px;
  object-fit: contain;
}
.text-section p img {
  margin-left: 0px;
  margin-right: 8px;
  height: 20px;
  vertical-align: middle;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* =======================================================================
   FOOTER
   ======================================================================= */
footer {
  background: #f4f8fb;
  border-top: 1px solid #edeaea;
  color: #264653;
  padding: 42px 0 24px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  justify-content: flex-start;
}
footer nav {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
  font-size: 0.98rem;
}
footer nav a {
  color: #264653;
  font-weight: 500;
  padding: 2px 4px;
  transition: color 0.18s;
}
footer nav a:hover, footer nav a:focus {
  color: #f4a261;
  text-decoration: underline;
}
.footer-contact {
  font-size: 1rem;
  color: #264653;
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}
.footer-cta {
  margin: 16px 0;
}
footer small {
  margin-top: 14px;
}

@media (max-width: 768px) {
  footer .container {
    padding-left: 8px;
    padding-right: 8px;
    gap: 10px;
  }
  .footer-contact {
    flex-direction: column;
    gap: 4px;
  }
}

/* =======================================================================
   BUTTONS & CTAS
   ======================================================================= */
button,
input[type="button"],
input[type="submit"] {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 22px;
  border: none;
  background: #f4a261;
  color: #264653;
  padding: 10px 30px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, transform 0.16s;
  box-shadow: 0 1px 6px rgba(233,196,106,0.08);
}
button:hover, button:focus,
input[type="button"]:hover, input[type="button"]:focus,
input[type="submit"]:hover, input[type="submit"]:focus {
  background: #e9c46a;
  color: #264653;
  transform: translateY(-2px);
}

/* =======================================================================
   COOKIE CONSENT BANNER & MODAL
   ======================================================================= */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: #fff;
  color: #264653;
  box-shadow: 0 -2px 18px rgba(38,70,83,0.17);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  align-items: flex-start;
  animation: slideUp 0.39s cubic-bezier(.39,.58,.57,1) 1;
}
@keyframes slideUp {
  0% { transform: translateY(80px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 660px;
}
.cookie-banner-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-btn {
  padding: 10px 28px;
  font-size: 1rem;
  border-radius: 18px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  cursor: pointer;
  font-weight: 600;
  box-shadow: 0 1px 5px rgba(38,70,83,0.04);
  outline: none;
  transition: background 0.17s;
}
.cookie-btn.accept {
  background: #f4a261;
  color: #264653;
}
.cookie-btn.accept:hover,.cookie-btn.accept:focus {
  background: #e9c46a;
}
.cookie-btn.reject {
  background: #faf9f6;
  color: #264653;
  border: 1px solid #edeaea;
}
.cookie-btn.reject:hover,.cookie-btn.reject:focus {
  background: #e9c46a;
  color: #264653;
}
.cookie-btn.settings {
  background: #edeaea;
  color: #264653;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #f4a261;
  color: #264653;
}

/* Cookie Preferences Modal */
.cookie-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(38,70,83,0.26);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.28s, visibility 0.23s;
}
.cookie-modal.open {
  visibility: visible;
  opacity: 1;
}
.cookie-modal-inner {
  background: #fffdf8;
  color: #264653;
  padding: 38px 30px 26px 30px;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(38,70,83,0.13);
  min-width: 340px;
  max-width: 98vw;
  animation: popIn 0.33s cubic-bezier(.39,.58,.57,1) 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@keyframes popIn {
  0% { transform: scale(0.97); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal-inner h2 {
  color: #264653;
  font-size: 1.3rem;
  margin-bottom: 12px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 9px 0;
  font-size: 1rem;
}
.cookie-category label {
  color: #264653;
  font-weight: 600;
  margin-right: 6px;
}
.cookie-category input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #f4a261;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 12px;
}
.cookie-modal-close {
  position: absolute;
  top: 17px;
  right: 23px;
  background: transparent;
  color: #264653;
  font-size: 1.28rem;
  border: none;
  cursor: pointer;
  outline: none;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #e76f51;
}
@media (max-width: 520px) {
  .cookie-modal-inner {
    padding: 16px 10px;
    min-width: 0;
    max-width: 97vw;
  }
  .cookie-category {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
  }
}

/* Utility: Hide/Show for responsive */
.hide-mobile { display: block; }
@media (max-width: 768px) { .hide-mobile { display: none !important; } }
.hide-desktop { display: none; }
@media (max-width: 768px) { .hide-desktop { display: block !important; } }

/* =======================================================================
   ADDITIONAL MICRO-INTERACTIONS & EFFECTS
   ======================================================================= */
.cta-btn-primary,.cookie-btn {
  transition: background 0.21s, color 0.16s, box-shadow 0.21s, transform 0.17s;
}
.card, .feature-grid > div, .testimonial-card {
  transition: box-shadow 0.22s, transform 0.18s;
}
.card:hover, .feature-grid > div:hover, .testimonial-card:hover {
  box-shadow: 0 4px 22px rgba(38,70,83,0.14);
  transform: translateY(-3px) scale(1.02);
}

/* =======================================================================
   SCANDINAVIAN CLEAN EFFECTS
   ======================================================================= */
h1, h2, h3, h4, h5, h6 {
  letter-spacing: 0.6px;
}
p, ul, ol {
  color: #264653;
}
.card, .feature-grid > div, .testimonial-card {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 1px 8px rgba(38,70,83,0.07);
}

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

/* =======================================================================
   ACCESSIBILITY
   ======================================================================= */
:focus {
  outline: 2px solid #f4a261;
  outline-offset: 2px;
}
[tabindex="-1"]:focus {
  outline: none !important;
}

/* =======================================================================
   END
   ======================================================================= */
