/* =======================
 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;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #FAFAFA;
}
body {
  font-size: 16px;
  color: #1B365D;
  background: #FFF;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}
article, aside, footer, header, nav, section, main {
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 0;
}
button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
}

/* ===============
 Brand Variables 
=================*/
:root {
  --color-primary: #1B365D;
  --color-secondary: #F4B942;
  --color-accent: #FFFFFF;
  --color-neutral: #F5F7FA;
  --color-gray: #E5E7EB;
  --color-text: #1B365D;
  --color-muted-text: #556080;
  --color-contrast-bg: #ffffff;
  --color-shadow: rgba(30, 37, 49, 0.07);
  --radius-base: 16px;
  --radius-card: 12px;
  --shadow-card: 0 4px 24px var(--color-shadow);
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}
@font-face {
  font-family: 'Montserrat';
  src: local('Montserrat'), url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500&display=swap');
  font-weight: 700 500;
  font-style: normal;
}
@font-face {
  font-family: 'Open Sans';
  src: local('Open Sans'), url('https://fonts.googleapis.com/css?family=Open+Sans:400,600&display=swap');
  font-weight: 400 600;
  font-style: normal;
}

/* =====================
 Layout Containers
=======================*/
.container {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  width: 100%;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-neutral);
  border-radius: var(--radius-base);
}

/* =====================
 Header & Navigation
======================*/
header {
  width: 100%;
  background: var(--color-accent);
  box-shadow: 0 2px 12px rgba(27,54,93,0.041);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.01em;
  color: var(--color-primary);
  padding: 8px 6px;
  position: relative;
  transition: color 0.2s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--color-secondary);
}
.cta-primary {
  display: inline-block;
  background: var(--color-primary);
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  padding: 12px 32px;
  border-radius: 32px;
  box-shadow: 0 2px 8px var(--color-shadow);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.13s;
  border: none;
  outline: none;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 18px var(--color-shadow);
}
.cta-secondary {
  display: inline-block;
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  padding: 11px 28px;
  border-radius: 32px;
  margin-top: 16px;
  transition: background 0.2s, color 0.2s, border 0.2s;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  color: var(--color-accent);
}
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-secondary);
  color: var(--color-primary);
  font-size: 2rem;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  margin-left: 18px;
  border: none;
  box-shadow: 0 2px 12px var(--color-shadow);
  z-index: 1101;
  transition: background 0.17s, color 0.17s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-primary);
  color: var(--color-secondary);
}

/* Hide mobile menu toggle above 992px */
@media (min-width: 992px) {
  .mobile-menu-toggle {
    display: none;
  }
}

/* =============
 Mobile Menu
============== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-accent);
  z-index: 1200;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(0.75,0,0.15,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 32px 24px 24px 32px;
  box-shadow: 0 4px 24px var(--color-shadow);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: var(--color-primary);
  color: var(--color-accent);
  font-size: 2rem;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  border: none;
  margin-bottom: 20px;
  box-shadow: 0 2px 14px var(--color-shadow);
  transition: background 0.16s, color 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--color-primary);
  padding: 10px 0;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-neutral);
  color: var(--color-secondary);
}
@media (min-width: 992px) {
  .mobile-menu {
    display: none !important;
  }
}

/* Hide nav on mobile, show burger */
@media (max-width: 991px) {
  .main-nav {
    display: none !important;
  }
  .cta-primary {
    display: none !important;
  }
}

/* ===============
 Hero Section
================ */
.hero {
  background: linear-gradient(120deg, #ffffff 80%, #F4B94220 100%);
  padding: 64px 0 32px 0;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.hero .content-wrapper {
  align-items: center;
  gap: 20px;
  text-align: center;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}
.hero p {
  font-size: 1.25rem;
  color: var(--color-muted-text);
  line-height: 1.7;
}
@media (min-width: 600px) {
  .hero h1 {
    font-size: 3rem;
  }
  .hero p {
    font-size: 1.3rem;
  }
}

/* =====================
 Features Grid/Flex
======================*/
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 18px;
  margin-bottom: 8px;
}
.features-grid > div {
  flex: 1 1 230px;
  min-width: 230px;
  max-width: 320px;
  background: var(--color-accent);
  border-radius: var(--radius-card);
  box-shadow: 0 2px 12px var(--color-shadow);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  transition: box-shadow 0.22s, transform 0.18s;
  margin-bottom: 24px;
}
.features-grid > div:hover {
  box-shadow: 0 8px 30px var(--color-shadow);
  transform: translateY(-4px) scale(1.025);
}
.features-grid img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin-bottom: 10px;
}
.features-grid h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 5px;
}
.features-grid p {
  font-size: 1rem;
  color: var(--color-muted-text);
  line-height: 1.5;
}

/* ====================== 
 Text Section Styles
=======================*/
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 16px;
  color: var(--color-text);
}
.text-section h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-top: 18px;
  margin-bottom: 8px;
  color: var(--color-primary);
  font-weight: 600;
}
.text-section ul, .text-section ol {
  padding-left: 18px;
  margin-top: 5px;
  margin-bottom: 10px;
  color: var(--color-muted-text);
}
.text-section li {
  margin-bottom: 8px;
  font-size: 1rem;
}
.text-section b {
  color: var(--color-primary);
  font-weight: 600;
}

/* ==================================================
 Card & Grid Containers (Mandatory Spacing/Patterns)
===================================================*/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-accent);
  box-shadow: 0 2px 16px var(--color-shadow);
  border-radius: var(--radius-card);
  margin-bottom: 20px;
  position: relative;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 220px;
  max-width: 360px;
  transition: box-shadow 0.22s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 8px 30px var(--color-shadow);
  transform: translateY(-3px) scale(1.012);
}
.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;
  width: 100%;
  margin-bottom: 20px;
}

/* Testimonials ================= */
.testimonials {
  background: var(--color-accent);
  margin-bottom: 60px;
  padding: 40px 20px 0 20px;
}
.testimonials .content-wrapper {
  align-items: flex-start;
  gap: 40px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 26px;
  background: var(--color-neutral);
  border-left: 4px solid var(--color-secondary);
  border-radius: var(--radius-card);
  box-shadow: 0 2px 12px var(--color-shadow);
  margin-bottom: 24px;
  min-width: 280px;
  max-width: 650px;
  transition: box-shadow 0.20s, transform 0.14s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 24px var(--color-shadow);
  transform: scale(1.017) translateY(-2px);
}
.testimonial-card p {
  color: #263348;
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.6;
  margin-right: 10px;
}
.testimonial-card div {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: #616a80;
  align-self: flex-end;
  margin-left: auto;
  white-space: nowrap;
}

/* ===========================
  Generic List/FAQ/Features
===========================*/
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}
.faq {
  background: var(--color-neutral);
  border-radius: 12px;
  border-left: 3px solid var(--color-secondary);
  margin-top: 18px;
  padding: 24px 24px;
  color: var(--color-text);
  box-shadow: 0 1px 8px var(--color-shadow);
}
.faq h3 {
  font-size: 1.1rem;
  font-family: var(--font-display);
  margin-bottom: 8px;
}

/* =================
 Typography
===================*/
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1.13;
}
h1 { font-size: 2.2rem; margin-bottom: 18px; }
h2 { font-size: 1.6rem; margin-bottom: 14px; font-weight: 700; }
h3 { font-size: 1.2rem; margin-bottom: 6px; font-weight: 600; }
h4, h5, h6 { font-size: 1.07rem; }
p, ul, ol { font-size: 1rem; color: var(--color-text); }
ul li, ol li { margin-bottom: 8px; color: var(--color-muted-text); }

@media (min-width: 600px) {
  h1 { font-size: 2.7rem; }
  h2 { font-size: 2rem; }
}

@media (min-width: 900px) {
  h1 { font-size: 3.2rem; }
  h2 { font-size: 2.4rem; }
}

blockquote {
  border-left: 4px solid var(--color-secondary);
  padding-left: 16px;
  color: #4a5670;
  margin: 18px 0;
  font-style: italic;
}
strong, b {
  color: var(--color-secondary);
  font-weight: 700;
}

a {
  transition: color 0.18s, border-color 0.16s;
}
a:focus, a:active {
  outline: 2px solid var(--color-secondary);
}

/* =====================
 Footer Styles
======================*/
footer {
  background: var(--color-neutral);
  padding: 42px 0 18px 0;
  margin-top: 60px;
  border-top: 1.5px solid #e5e7eb;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 34px;
}
footer img {
  width: 60px;
  height: auto;
}
.footer-nav {
  display: flex;
  gap: 22px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.footer-nav a {
  font-size: 15px;
  color: #5D697A;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
.footer-nav a:hover {
  background: var(--color-secondary);
  color: var(--color-primary);
}
footer .text-section {
  gap: 10px;
}
footer .text-section p {
  font-size: 15px;
  color: #43526c;
}
footer .text-section img {
  width: 18px;
  height: 18px;
  margin-right: 5px;
  vertical-align: middle;
  margin-bottom: 3px;
  display: inline;
}

/* Footer responsive */
@media (max-width: 767px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

/* =========
 Blog cards (features-grid can be used as cards on blog) ========== */
.team-bios p {
  color: var(--color-text);
  line-height: 1.5;
  font-size: 1rem;
  margin-top: 6px;
  margin-bottom: 6px;
  text-align: left;
}

/* =========================
 Spacing + Section Patterns
=========================*/
section {
  margin-bottom: 60px;
  padding: 0;
  background: none;
}
section:last-child {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .section, .testimonials {
    padding: 24px 6px 14px 6px;
    margin-bottom: 36px;
  }
  .features-grid {
    gap: 14px;
  }
}

/* Responsive flexbox changes for all major flex containers */
@media (max-width: 768px) {
  .features-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .content-wrapper {
    gap: 18px;
    align-items: flex-start;
    padding: 0 !important;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .testimonials .content-wrapper {
    gap: 26px;
  }
  .footer-nav {
    gap: 8px;
  }
}

/* =========================
 Cookie Consent Banner
=========================*/
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: var(--color-accent);
  box-shadow: 0 -2px 18px var(--color-shadow);
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 18px;
  gap: 18px;
  border-top: 1px solid #e5e7eb;
  animation: cookieSlideIn 0.55s cubic-bezier(0.4,0,0.2,1);
}
@keyframes cookieSlideIn {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  font-size: 15px;
  color: var(--color-text);
  flex: 2;
  margin-right: 14px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}
.cookie-btn {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  border-radius: 24px;
  padding: 8px 20px;
  margin-left: 0;
  margin-right: 0;
  border: none;
  box-shadow: 0 1px 8px var(--color-shadow);
  transition: background 0.16s, color 0.16s, box-shadow 0.13s;
}
.cookie-btn.accept {
  background: var(--color-primary);
  color: var(--color-accent);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.cookie-btn.reject {
  background: var(--color-gray);
  color: var(--color-primary);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #EAF0F7;
  color: var(--color-secondary);
}
.cookie-btn.settings {
  background: transparent;
  color: var(--color-secondary);
  border: 1.5px solid var(--color-secondary);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--color-secondary);
  color: var(--color-accent);
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 4px;
    gap: 12px;
  }
  .cookie-banner p {
    margin: 0 0 5px 0;
  }
  .cookie-banner .cookie-actions {
    width: 100%;
    gap: 10px;
  }
}

.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(27,54,93,0.18);
  z-index: 1310;
  display: none;
  align-items: center;
  justify-content: center;
  animation: cookieModalFadeIn 0.3s cubic-bezier(0.4,0,0.2,1);
}
.cookie-modal-overlay.open {
  display: flex;
}
@keyframes cookieModalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: var(--color-accent);
  border-radius: 18px;
  box-shadow: 0 8px 48px #00123b27;
  max-width: 420px;
  width: 95%;
  padding: 32px 26px 18px 26px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 1312;
  animation: modalPopIn 0.3s cubic-bezier(0.5,0,0.2,1);
}
@keyframes modalPopIn {
  from { transform: scale(0.98) translateY(26px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h3 {
  margin-bottom: 6px;
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 1.22rem;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 16px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid #F4B94225;
  font-size: 0.99rem;
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-category label {
  flex: 1;
  color: var(--color-text);
  font-weight: 600;
  cursor: pointer;
}
.cookie-category input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: var(--color-secondary);
}
.cookie-category.essential label {
  opacity: 0.6;
  color: #7c818d;
}
.cookie-category.essential input[type="checkbox"] {
  accent-color: #c6cedc;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 8px;
  justify-content: flex-end;
}
.cookie-modal-close {
  margin-left: auto;
  color: var(--color-text);
  background: transparent;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 1.5rem;
  position: absolute;
  right: 13px; top: 11px;
  transition: background 0.12s;
  border: none;
}
.cookie-modal-close:hover { background: #F4B94222; color: var(--color-secondary); }

/* =========================
 Animations & Micro Interactions
=========================*/
.card, .features-grid > div, .testimonial-card, .faq, .cta-primary, .cta-secondary {
  transition: box-shadow 0.22s, background 0.19s, transform 0.14s, color 0.17s;
}
button:focus-visible, a:focus-visible {
  outline: 2px solid var(--color-secondary);
}

/* =============
 Miscellaneous
=============== */
::-webkit-scrollbar {
  width: 10px;
  background: #F6F7FA;
}
::-webkit-scrollbar-thumb {
  background: #dadada;
  border-radius: 8px;
}
::-webkit-input-placeholder { color: #93a1be; }
::-moz-placeholder { color: #93a1be; }
:-ms-input-placeholder { color: #93a1be; }
::placeholder { color: #93a1be; }

/* ===========
 Accessibility
============ */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation-duration: 0.01s !important; }
}

/* =============
 Utility classes
============= */
.d-none { display: none !important; }
.d-flex { display: flex !important; }
.flex-wrap { flex-wrap: wrap !important; }
.flex-col { flex-direction: column !important; }
.align-center { align-items: center !important; }
.align-start { align-items: flex-start !important; }
.justify-center { justify-content: center !important; }
.justify-between { justify-content: space-between !important; }

/* END Zenith Hike Scandinavian Clean */
