/* CSS RESET & BASE ----------------------------- */
html {
  box-sizing: border-box;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  background: #F6F8F5;
  color: #254D32;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  background: #F6F8F5;
  color: #254D32;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  line-height: 1.65;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #254D32;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F4A950;
  outline: none;
}
ul, ol {
  padding-left: 1.1em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 8px;
}

/* TYPOGRAPHY ----------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #254D32;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.15;
}
h1 {font-size: 2.5rem; margin-bottom: 24px;}
h2 {font-size: 1.75rem; margin-bottom: 20px;}
h3 {font-size: 1.35rem; margin-bottom: 16px;}
h4 {font-size: 1.1rem; margin-bottom: 14px;}
h5, h6 {font-size: 1rem;}
p, .footer-info span, .text-section, table td, table th {
  font-size: 1rem;
  margin-bottom: 14px;
  color: #254D32;
}
blockquote {
  font-style: italic;
  color: #254D32;
  border-left: 4px solid #8FBC8F;
  margin: 20px 0 20px 0;
  padding: 10px 20px;
  background: #EDF3ED;
  border-radius: 6px;
}

/* CONTAINERS & LAYOUT ---------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 6px 0 rgba(57,84,61,0.08);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  min-width: 240px;
  transition: box-shadow 0.22s;
}
.card:hover {
  box-shadow: 0 4px 16px 2px rgba(41,61,48,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: 20px;
  padding: 20px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 12px 0 rgba(36,61,45,0.07);
  margin-bottom: 20px;
  border-left: 4px solid #8FBC8F;
  transition: box-shadow 0.15s;
}
.testimonial-card p {
  color: #254D32;
  font-size: 1.13rem;
  font-style: italic;
  margin-bottom: 6px;
}
.testimonial-card span {
  font-size: 0.95rem;
  color: #254D32;
  opacity: 0.7;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.features ul, .services ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
  list-style: none;
  padding-left: 0;
}
.features ul li, .services ul li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.08rem;
  padding: 10px 0;
}
.features ul li img {
  width: 28px;
  height: 28px;
}

/********* HERO SECTION *********/
.hero {
  padding: 70px 0 60px 0;
  background: linear-gradient(96deg, #EDF3ED 60%, #fff 100%);
  border-radius: 0 0 30px 30px;
  box-shadow: 0 6px 24px 0 rgba(39,79,50,0.07);
  margin-bottom: 56px;
}
.hero h1 {
  color: #254D32;
  font-size: 2.35rem;
  margin-bottom: 16px;
}
.hero p {
  font-size: 1.18rem;
  color: #39543d;
  margin-bottom: 30px;
}

/* NAVIGATION ----------------- */
header {
  background: #ffffff90;
  box-shadow: 0 2px 10px 0 rgba(57,84,61,0.06);
  padding: 0;
  position: relative;
  z-index: 100;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding-top: 0;
  padding-bottom: 0;
}
.logo-link {
  display: flex;
  align-items: center;
  padding: 8px 0;
}
.logo-link img {
  max-height: 46px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  color: #254D32;
  font-size: 1rem;
  padding: 8px 4px;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: #EDF3ED;
  color: #254D32;
}

.cta.primary, .cta {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  display: inline-block;
  background: #254D32;
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 11px 32px;
  margin-left: 24px;
  font-size: 1.05rem;
  font-weight: 700;
  box-shadow: 0 3px 12px 0 rgba(57,84,61,0.09);
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: background 0.22s, color 0.22s, box-shadow 0.19s;
}
.cta:hover,.cta:focus {
  background: #8FBC8F;
  color: #254D32;
  box-shadow: 0 7px 18px 1.5px rgba(36,77,50,0.13);
}
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2rem;
  color: #254D32;
  display: none;
  cursor: pointer;
  padding: 7px 10px;
  transition: background 0.14s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #EDF3ED;
  border-radius: 50%;
}

/**** FOOTER STYLE ****/
footer {
  background: #F8FAF8;
  border-top: 1.5px solid #E3EAE3;
  font-size: 0.99rem;
  padding: 32px 0 12px 0;
  color: #39543d;
  margin-top: 44px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer-nav {
  display: flex;
  gap: 24px;
  margin-bottom: 10px;
}
.footer-nav a {
  color: #254D32;
  opacity: 0.7;
  text-decoration: none;
  padding: 6px 4px;
  border-radius: 4px;
  transition: background 0.13s, color 0.2s;
  font-weight: 500;
  font-size: 1rem;
}
.footer-nav a:hover,.footer-nav a:focus {
  background: #EDF3ED;
  color: #254D32;
  opacity: 1;
}
.footer-info {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 18px 38px;
  font-size: 0.97rem;
  color: #254D32;
  opacity: 0.86;
  align-items: flex-start;
  margin-bottom: 4px;
}

/**** PRICING TABLE ****/
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px 0 rgba(39,79,50,0.07);
  margin-bottom: 28px;
  overflow: hidden;
}
thead {
  background: #EDF3ED;
}
th, td {
  padding: 14px 12px;
  text-align: left;
  vertical-align: top;
}
th {
  color: #254D32;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.04rem;
}
tbody tr {
  border-bottom: 1.5px solid #EEE;
}
tbody tr:last-of-type {
  border-bottom: none;
}
tr:hover td {
  background: #F7FAF7;
}

/* TOUR OVERVIEW GRID (flex) */
.tour-overview-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  margin-bottom: 24px;
  padding: 0;
}
.tour-overview-grid li {
  flex: 1 1 230px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 8px 0 rgba(57,84,61,0.09);
  padding: 22px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 210px;
  margin-bottom: 0;
  position: relative;
  transition: box-shadow .16s;
}
.tour-overview-grid li:hover {
  box-shadow: 0 6px 18px 0 rgba(39,79,50,0.12);
}
.tour-overview-grid strong {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  color: #254D32;
}
.tour-overview-grid p, .tour-overview-grid span {
  font-size: 0.96rem;
  color: #39543d;
}
.tour-overview-grid .tag {
  display: inline-block;
  background: #EDF3ED;
  color: #254D32;
  border-radius: 30px;
  padding: 4px 14px;
  font-size: 0.87rem;
  margin-right: 7px;
  margin-top: 8px;
  margin-bottom: 0;
  letter-spacing: 0.01em;
  font-family: inherit;
}

/****** FEATURE ITEMS ******/
.features .feature-item {
  background: #f9faf9;
  border-radius: 10px;
  padding: 12px 18px;
  box-shadow: 0 2px 10px 0 rgba(57,84,61,0.04);
  margin-bottom: 12px;
}
.features h2 {
  margin-bottom: 10px;
}

/********** LEGAL & TEXT SECTIONS **********/
.legal {
  margin-bottom: 58px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px 0 rgba(57,84,61,0.07);
  padding: 38px 24px;
}
.text-section {
  margin-bottom: 24px;
}
.text-section h2, .text-section h3 {
  margin-top: 22px;
  margin-bottom: 10px;
}
.text-section ul {
  margin-top: 15px;
  gap: 10px;
}
.text-section li {
  font-size: 1.05rem;
}

/********** BUTTONS **********/
button, .cta, .cta.primary {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  appearance: none;
  outline: none;
  border: none;
}
button {
  background: none;
  cursor: pointer;
  color: inherit;
}
button:focus {
  outline: 2px solid #8FBC8F;
  outline-offset: 2px;
}

/***** MOBILE MENU *******/
.mobile-menu-toggle {
  display: none;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(36,77,50,0.94);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateX(100%);
  transition: transform .36s cubic-bezier(.47,.12,.44,.89);
  will-change: transform;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  margin: 24px 24px 0 0;
  align-self: flex-end;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 50%;
  line-height: 1;
  transition: background 0.13s;
}
.mobile-menu-close:hover,.mobile-menu-close:focus {
  background: #F4A950;
  color: #254D32;
}
.mobile-menu nav.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
  margin-top: 32px;
  margin-right: 24px;
}
.mobile-nav a {
  color: #fff;
  background: none;
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  padding: 14px 26px 14px 14px;
  border-radius: 8px;
  text-decoration: none;
  letter-spacing: .03em;
  transition: background 0.17s, color 0.17s, transform 0.18s;
}
.mobile-nav a:hover,.mobile-nav a:focus {
  background: #8FBC8F;
  color: #254D32;
  transform: translateX(-6px);
}

/***** COOKIE CONSENT BANNER & MODAL ******/
.cookie-consent-banner {
  position: fixed;
  left: 0; right:0; bottom: 0;
  width: 100%;
  z-index: 1200;
  background: #fff;
  border-top: 2px solid #E3EAE3;
  box-shadow: 0 -2px 24px 0 rgba(39,79,50,0.10);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
  padding: 18px 24px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: opacity .3s, transform .34s;
}
.cookie-consent-banner.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cookie-consent-banner p {
  flex: 1 1 220px;
  min-width: 168px;
  color: #254D32;
  margin-bottom: 0;
  font-size: 1rem;
}
.cookie-consent-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border: none;
  border-radius: 22px;
  padding: 8px 20px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  background: #EDF3ED;
  color: #254D32;
  transition: background 0.16s, color 0.16s, box-shadow 0.16s;
  box-shadow: 0 1px 4px 0 rgba(36,77,50,0.03);
}
.cookie-btn.accept {
  background: #254D32;
  color: #fff;
}
.cookie-btn.decline {
  background: #F4A950;
  color: #254D32;
}
.cookie-btn.settings {
  background: #EDF3ED;
  color: #254D32;
}
.cookie-btn:hover,.cookie-btn:focus {
  background: #8FBC8F;
  color: #254D32;
  box-shadow: 0 3px 10px 0 rgba(36,77,50,0.09);
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(0.85);
  background: #fff;
  z-index: 1300;
  min-width: 320px;
  max-width: 98vw;
  border-radius: 16px;
  box-shadow: 0 6px 50px 1px rgba(39,79,50,0.17);
  padding: 38px 26px 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .35s;
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}
.cookie-modal h3 {
  font-size: 1.22rem;
  margin-bottom: 6px;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1.03rem;
  font-weight: 500;
  cursor: pointer;
}
.cookie-modal input[type='checkbox'] {
  accent-color: #8FBC8F;
  width: 18px; height: 18px;
  border-radius: 6px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
  margin-top: 24px;
}
.cookie-modal .cookie-btn {
  min-width: 100px;
}
.cookie-modal .category-always {
  opacity: 0.6;
}

/* SMALL UTILITIES ----------------------------------- */
.accent {
  color: #F4A950;
}
.primary {
  color: #254D32;
}
.secondary {
  color: #8FBC8F;
}
.bg-accent {
  background: #F4A950;
  color: #254D32;
}
.bg-secondary {
  background: #EDF3ED;
}
.rounded {
  border-radius: 12px;
}
.shadow {
  box-shadow: 0 2px 10px 0 rgba(36,77,50,.09);
}
.gap-24 {
  gap: 24px;
}
.gap-20 {
  gap: 20px;
}
.mb-20 {
  margin-bottom: 20px;
}
.flex-row {
  display: flex;
  flex-direction: row;
}
.flex-col {
  display: flex;
  flex-direction: column;
}
.align-center {
  align-items: center;
}

/****** RESPONSIVE DESIGN, MOBILE FIRST ******/
@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
}
@media (max-width: 1024px) {
  .container {
    max-width: 770px;
  }
  h1 { font-size: 2rem; }
  .main-nav { gap: 18px; }
  .footer-nav { gap: 14px; }
}
@media (max-width: 900px) {
  .container { max-width: 96vw; }
  .main-nav { gap: 10px; font-size: 0.95rem; }
  .footer-info { gap: 9px 18px; font-size: 0.92rem; }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  .hero { padding: 36px 0 34px 0; margin-bottom: 42px; border-radius: 0 0 20px 20px; }
  .section { margin-bottom: 35px; padding: 26px 10px; }
  .features ul, .services ul { gap: 9px; }
  .text-image-section, .content-grid { flex-direction: column; gap: 14px; }
  .footer-info { flex-direction: column; gap: 7px; }
}
@media (max-width: 700px) {
  header .container { gap: 6px; }
  .logo-link img { max-height: 42px; }
  .main-nav, .footer-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .cta.primary {
    margin-left: 0;
    padding: 9px 19px;
    font-size: 0.98rem;
  }
  .tour-overview-grid {
    flex-direction: column;
    gap: 17px;
  }
  .tour-overview-grid li {
    flex: 1 1 98%;
    min-width: 0;
  }
  .testimonial-card,
  .card {
    min-width: 0;
    padding: 18px 11px;
  }
  .footer-info {
    font-size: 0.93rem;
    gap: 6px;
  }
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 14px 10px;
    font-size: 0.98rem;
  }
  .cookie-modal { padding: 16px 6vw 16px 6vw; min-width: unset; }
}
@media (max-width: 480px) {
  h1 { font-size: 1.3rem; margin-bottom: 16px; }
  h2 { font-size: 1rem; margin-bottom: 14px; }
  .card, .testimonial-card { border-radius: 9px; }
  .hero { border-radius: 0 0 12px 12px; }
  .cookie-modal { padding: 11px 2vw 11px 2vw; }
}

/* ANIMATIONS & MICRO-INTERACTIONS ------ */
.card, .testimonial-card, .tour-overview-grid li {
  transition: box-shadow 0.19s, transform 0.18s;
}
.card:hover, .testimonial-card:hover, .tour-overview-grid li:hover {
  box-shadow: 0 8px 22px 0 rgba(36,77,50,0.16);
  transform: translateY(-3px) scale(1.021);
}
.cta:active, .cookie-btn:active {
  transform: scale(0.98);
}

/* ENSURE MINIMUM MARGINS BETWEEN CARDS/SECTIONS */
.section, .card-container, .card, .content-grid, .features, .testimonial-card, .tour-overview-grid, .services {
  margin-bottom: 20px;
}
.section:last-child, .card-container:last-child, .content-grid:last-child,
.card:last-child, .features:last-child, .testimonial-card:last-child,
.tour-overview-grid:last-child, .services:last-child {
  margin-bottom: 0;
}

/* OVERRIDES FOR TABLET DESKTOP FOR CONSISTENT SCANDINAVIAN CLEAN LAYOUT */
@media (min-width: 701px) {
  .testimonial-card, .card {
    min-width: 330px;
  }
}
/***** END OF CSS *****/
