/* ===========================================================
   CSS RESET & BASELINE 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 {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: border-box;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  background: #F6F7FA;
  color: #14213D;
  line-height: 1.6;
  font-size: 16px;
  letter-spacing: 0.01em;
  transition: background 0.2s;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: #14213D;
  text-decoration: none;
  transition: color 0.15s;
}
a:hover {
  color: #FCA311;
  text-decoration: underline;
}
ul, ol {
  padding-left: 1.3em;
  margin-bottom: 16px;
}
li+li {
  margin-top: 6px;
}

/* ===========================================================
   TYPOGRAPHY
   =========================================================== */
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1.1;
  color: #14213D;
  margin-bottom: 18px;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 2rem;
  color: #14213D;
  margin-bottom: 18px;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.3rem;
  color: #14213D;
  margin-bottom: 12px;
}
h4, .h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 10px;
}
p, .p {
  margin-bottom: 16px;
  color: #222;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
}
strong {
  color: #14213D;
  font-weight: 700;
}
blockquote {
  font-style: italic;
  font-size: 1.13rem;
  background: #FFFFFF;
  padding: 18px 22px;
  border-left: 4px solid #FCA311;
  border-radius: 8px;
  margin-bottom: 12px;
  color: #21243C;
  box-shadow: 0 2px 12px 0 rgba(0,24,64, 0.04);
}

/* ===========================================================
   CONTAINER & LAYOUT
   =========================================================== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  border-radius: 14px;
}

/* For grids (features, services, articles) */
.feature-grid, .service-cards, .service-grid, .articles-grid, .testimonials, .startup-support-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px 0 rgba(0,24,64, 0.05);
  position: relative;
  padding: 28px 24px;
  flex: 1 1 300px;
  min-width: 260px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 8px 24px 0 rgba(20,33,61,0.12);
}
.service-card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px 0 rgba(20,33,61, .08);
  padding: 28px 24px;
  flex: 1 1 260px;
  min-width: 260px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transition: box-shadow 0.2s;
}
.service-card:hover {
  box-shadow: 0 8px 24px 0 rgba(20,33,61,0.14);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px 0 rgba(20,33,61,0.04);
  padding: 26px 20px 20px 20px;
  min-width: 220px;
  flex: 1 1 250px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s;
}
.feature-item img {
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
}
.feature-item:hover {
  box-shadow: 0 8px 30px 0 rgba(20,33,61,0.12);
}
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 24px 0 rgba(20,33,61,0.10);
  max-width: 420px;
  min-width: 260px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  color: #14213D;
}
.testimonial-card p {
  color: #333;
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 1.5;
}
.testimonial-card blockquote {
  background: none;
  padding: 0;
  border-left: 4px solid #FCA311;
  box-shadow: none;
  font-size: 1.07rem;
  margin-bottom: 10px;
}
.articles-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.articles-grid article {
  background: #fff;
  border-radius: 8px;
  padding: 22px 20px;
  box-shadow: 0 2px 8px 0 rgba(20,33,61,0.04);
  flex: 1 1 280px;
  min-width: 220px;
  max-width: 370px;
  transition: box-shadow 0.2s;
}
.articles-grid article:hover {
  box-shadow: 0 8px 30px 0 rgba(20,33,61,0.10);
}
.startup-support-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 16px;
}
.startup-support-grid > div {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px 0 rgba(20,33,61,0.04);
  padding: 20px 20px 14px 20px;
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 340px;
  margin-bottom: 20px;
}

/* =============================================================================
   HEADER, NAVIGATION + BRANDING: FLEX LAYOUT + SCANDINAVIAN CLEAN STYLE
   ============================================================================= */
header {
  background: #fff;
  box-shadow: 0 4px 16px 0 rgba(20,33,61,0.05);
  position: relative;
  z-index: 900;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 32px;
}
header img {
  height: 46px;
  max-height: 46px;
  margin-right: 34px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: 10px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.01em;
  font-size: 1rem;
  padding: 7px 9px;
  border-radius: 7px;
  transition: background 0.14s, color 0.16s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F6F7FA;
  color: #FCA311;
  outline: none;
}

.btn, .btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  font-size: 1.07rem;
  padding: 12px 32px;
  text-align: center;
  margin: 0 6px 0 0;
  min-width: 120px;
  min-height: 44px;
  transition: background 0.18s, color 0.15s, box-shadow 0.19s;
  box-shadow: 0 2px 8px 0 rgba(20,33,61,0.07);
}
.btn-primary {
  background: #14213D;
  color: #fff;
  border: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: #FCA311;
  color: #14213D;
  box-shadow: 0 8px 22px 0 rgba(252,163,17,0.10);
}
.btn-secondary {
  background: #FCA311;
  color: #14213D;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #fff;
  color: #14213D;
  border: 1px solid #FCA311;
}
.btn:focus {
  outline: 2px solid #FCA311;
  outline-offset: 1px;
}

/* =============================================================================
   BREADCRUMB & FOOTER
   ============================================================================= */
.breadcrumb {
  font-size: 0.95rem;
  color: #B6B6B6;
  margin-bottom: 10px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.breadcrumb a {
  color: #14213D;
  text-decoration: underline;
  transition: color 0.14s;
}
.breadcrumb a:hover {
  color: #FCA311;
}

footer {
  background: #fff;
  border-top: 1px solid #E8E8E8;
  padding: 40px 0 16px 0;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.98rem;
  color: #999;
  margin-bottom: 7px;
}
.footer-nav a {
  color: #666;
  padding: 4px 6px 4px 0;
  border-radius: 4px;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: color 0.17s;
}
.footer-nav a:hover {
  color: #FCA311;
}
.footer-contact {
  font-size: 0.97rem;
  color: #222;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 8px;
}
footer p {
  font-size: 0.92rem;
  color: #999;
}


/* =============================================================================
   FLEX SPACING & TEXT-IMAGE SECTION PATTERNS
   ============================================================================= */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.contact-methods, .contact-information {
  list-style: none;
  padding: 0;
  margin-bottom: 18px;
}
.contact-methods li, .contact-information li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  margin-bottom: 12px;
  color: #222;
}
.contact-methods img, .contact-information img {
  width: 20px;
  height: 20px;
  margin-right: 7px;
}

/* =============================================================================
   MOBILE NAVIGATION (BURGER MENU)
   ============================================================================= */
.mobile-menu-toggle {
  display: none;
  background: #FCA311;
  color: #14213D;
  border: none;
  font-size: 2.2rem;
  padding: 2px 12px;
  border-radius: 8px;
  margin-left: 8px;
  cursor: pointer;
  z-index: 1202;
  transition: background 0.1s, color 0.1s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #14213D;
  color: #fff;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  width: 88vw;
  max-width: 350px;
  height: 100vh;
  background: #fff;
  box-shadow: -2px 0 16px 0 rgba(20,33,61,0.13);
  z-index: 1201;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.58,.05,.32,.95);
  padding: 34px 18px 24px 28px;
  visibility: hidden;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
}
.mobile-menu-close {
  background: #FCA311;
  color: #14213D;
  border: none;
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 2.2rem;
  border-radius: 8px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  z-index: 1202;
  transition: background 0.12s, color 0.12s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #14213D;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 50px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  color: #14213D;
  padding: 13px 0 13px 2px;
  border-bottom: 1px solid #EEE;
  border-radius: 4px;
  transition: background 0.13s, color 0.13s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FCA311;
  color: #fff;
}

/* Dark overlay for mobile nav (optional for extra focus) */
.mobile-menu.active::before {
  content: '';
  display: block;
}
body.mobile-menu-open {
  overflow-y: hidden;
}

/* Non-mobile: hide mobile nav */
@media (min-width: 992px) {
  .mobile-menu-toggle, .mobile-menu {
    display: none !important;
  }
}
@media (max-width: 991px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}


/* ===========================================================
   COOKIE CONSENT BANNER & MODALS
   =========================================================== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4000;
  background: #fff;
  border-top: 1px solid #E8E8E8;
  box-shadow: 0 -6px 18px 0 rgba(20,33,61,0.12);
  padding: 24px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  min-height: 72px;
  font-size: 1.05rem;
  transition: transform 0.38s cubic-bezier(.58,.05,.32,.95), opacity 0.2s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner__text {
  color: #14213D;
  flex: 2 1 200px;
  max-width: 650px;
}
.cookie-banner__actions {
  display: flex;
  gap: 14px;
  flex: 1 1 auto;
}
.cookie-banner .btn {
  min-width: 104px;
  font-size: 0.97rem;
}

/* Cookie Preference Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 4100;
  background: rgba(20,33,61, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.cookie-modal {
  background: #fff;
  padding: 32px 22px 22px 32px;
  border-radius: 16px;
  box-shadow: 0 10px 48px 0 rgba(20,33,61,0.19);
  max-width: 460px;
  min-width: 90vw;
  max-width: 98vw;
  width: 370px;
  color: #14213D;
  display: flex;
  flex-direction: column;
  gap: 15px;
  position: relative;
  opacity: 1;
  animation: modalIn 0.36s cubic-bezier(.6,-0.28,.74,.05);
}
@keyframes modalIn {
  0% { transform: scale(0.90); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal h2, .cookie-modal h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 4px;
  font-size: 1.25rem;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
  font-size: 1.05rem;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #FCA311;
  width: 19px; height: 19px;
}
.cookie-modal .btn {
  margin-top: 20px;
}
.cookie-modal__close {
  position: absolute;
  right: 18px; top: 18px;
  background: #FCA311;
  color: #14213D;
  border-radius: 8px;
  font-size: 1.25rem;
  border: none;
  width: 38px; height: 38px;
  cursor: pointer;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  background: #14213D;
  color: #fff;
}

/* ===========================================================
   RESPONSIVENESS (MOBILE-FIRST)
   =========================================================== */
@media (max-width: 991px) {
  header .container {
    gap: 10px;
    padding-right: 10px;
  }
  .section, .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .content-wrapper,
  .testimonials,
  .feature-grid,
  .service-cards,
  .service-grid,
  .articles-grid,
  .startup-support-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
}
@media (max-width: 700px) {
  h1, .h1 { font-size: 2rem; }
  h2, .h2 { font-size: 1.5rem; }
  .section { padding: 24px 5px; }
  .card, .service-card, .feature-item {
    padding: 18px 10px;
    min-width: 0;
    width: 100%;
  }
  .articles-grid article {
    padding: 15px 7px;
    min-width: 0;
    width: 100%;
  }
  .startup-support-grid > div { padding: 15px 8px; min-width: 0; }
}
@media (max-width: 480px) {
  h1, .h1 { font-size: 1.33rem; }
  h2, .h2 { font-size: 1.07rem; }
  .section { margin-bottom: 32px; padding: 15px 3px; }
  header img { height: 38px; max-height: 38px; }
  .btn, .btn-primary, .btn-secondary { padding: 10px 13px; min-width: 80px; font-size: 0.92rem; }
  .footer-contact, footer p { font-size: 0.87rem; }
  .cookie-banner { flex-direction: column; gap: 17px; padding: 10px 6px; font-size: 0.96rem; min-height: 64px; }
  .cookie-banner__text { font-size: 0.92rem; }
  .cookie-modal { padding: 18px 6px 12px 12px; min-width: 94vw; }
}

/* ===========================================================
   SECTION SPACING, VISUAL HIERARCHY & EFFECTS (SCANDINAVIAN STYLE)
   =========================================================== */
section {
  margin-bottom: 60px;
  background: #F6F7FA;
  border-radius: 18px;
  padding: 40px 8px;
  box-shadow: 0 2px 16px 0 rgba(20,33,61, .02);
}
section h2 {
  margin-top: 0;
}
section > .container {
  padding-top: 0;
  padding-bottom: 0;
}

hr {
  border: 0;
  border-top: 1px solid #E4E4E4;
  margin: 28px 0;
}

/* ===========================================================
   MISCELLANEOUS COMPONENTS & UTILITIES
   =========================================================== */
::-webkit-scrollbar {
  width: 8px;
  background: #F6F7FA;
}
::-webkit-scrollbar-thumb {
  background: #E1E7F1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #C6D5EA;
}

/***************************************************
   ACCESSIBILITY: FOCUS STATES
 ***************************************************/
a:focus, button:focus, .btn:focus {
  outline: 2px solid #FCA311;
  outline-offset: 2px;
}

/***************************************************
   MICRO-INTERACTIONS: SHADOWS, HOVERS, TRANSITIONS
 ***************************************************/
.card, .service-card, .feature-item, .testimonial-card, .articles-grid article, .startup-support-grid > div {
  transition: box-shadow 0.19s cubic-bezier(.48,.02,.39,.98), transform 0.19s cubic-bezier(.48,.02,.39,.98);
}
.card:hover, .service-card:hover, .feature-item:hover, .testimonial-card:hover, .articles-grid article:hover, .startup-support-grid > div:hover {
  box-shadow: 0 10px 28px 0 rgba(20,33,61,0.14);
  transform: translateY(-2px) scale(1.025);
}

.btn, .btn-primary, .btn-secondary {
  transition: background 0.16s, color 0.16s, box-shadow 0.19s, transform 0.14s;
}
.btn:hover, .btn-primary:hover, .btn-secondary:hover {
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 4px 22px 0 rgba(252,163,17,0.08);
}

/***************************************************
    Z-INDEX FOR OVERLAYS
 ***************************************************/
.mobile-menu, .cookie-modal-overlay, .cookie-banner {
  z-index: 99999;
}

/***************************************************
   PRINT FRIENDLY
 ***************************************************/
@media print {
  .mobile-menu, .cookie-banner, .cookie-modal-overlay, .btn, header, footer { display: none !important; }
  section, .container { box-shadow: none !important; background: #fff !important; }
}
