/* Taksäker Professional Corporate CSS Style - Mobile First Responsive Flexbox Layouts */

/* =============================== */
/* ======== CSS RESET & BASE ===== */
/* =============================== */
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, menu, 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, 
main, 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;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #F7F9FB;
  color: #16313B;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #16313B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #697D8C;
  text-decoration: underline;
}

/* =============================== */
/* ========= TYPOGRAPHY ========= */
/* =============================== */
h1, .h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #16313B;
  margin-bottom: 20px;
  line-height: 1.22;
}
@media (max-width: 600px) {
  h1, .h1 {
    font-size: 2rem;
  }
}
h2, .h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: #16313B;
  margin-bottom: 18px;
  line-height: 1.2;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #16313B;
  margin-bottom: 12px;
}
h4, .h4 {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #16313B;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
p, ul, ol, li, blockquote {
  font-size: 1rem;
  color: #16313B;
}
strong {
  font-weight: 600;
}
blockquote {
  background: #F0F4F9;
  border-left: 4px solid #F6C766;
  margin: 0 0 12px 0;
  padding: 16px 20px;
  font-style: italic;
  font-size: 1rem;
  color: #253C4A;
}

/* =============================== */
/* ========== LAYOUT ============= */
/* =============================== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(22, 49, 59, 0.05);
}

/* Flexbox Lists and Cards */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(22, 49, 59, 0.07);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 20px;
  min-width: 240px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 6px 20px rgba(22,49,59,0.11);
  transform: translateY(-2px) scale(1.01);
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.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: #F6F8FB;
  border-radius: 12px;
  box-shadow: 0 1px 6px rgba(22, 49, 59, 0.06);
  margin-bottom: 20px;
  max-width: 580px;
  color: #16313B;
}
.testimonial-card strong {
  color: #16313B;
}

.testimonials {
  background: #F1F5FA;
  padding: 40px 0;
}

.feature-grid, .service-list, .team-members {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  flex: 1 1 180px;
  background: #fff;
  padding: 24px 18px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(22,49,59,0.07);
  min-width: 180px;
}
.feature-item img {
  width: 32px;
  height: 32px;
}

.service-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  padding: 28px 18px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(22,49,59,0.06);
  flex: 1 1 220px;
  min-width: 220px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.service-item:hover {
  box-shadow: 0 6px 20px rgba(22,49,59,0.11);
  transform: translateY(-2px) scale(1.01);
}
.service-item img {
  width: 32px;
  height: 32px;
  margin-bottom: 6px;
}

.team-members {
  width: 100%;
}
.team-bio {
  background: #F8FBFF;
  border-left: 4px solid #F6C766;
  border-radius: 10px;
  padding: 20px 20px 20px 18px;
  margin-bottom: 12px;
  flex: 1 1 260px;
  box-shadow: 0 1px 6px rgba(22, 49, 59, 0.08);
}

.question-list, .faq-question {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-question {
  background: #F9FBFD;
  border-left: 4px solid #697D8C;
  border-radius: 10px;
  padding: 18px 16px 12px 18px;
  margin-bottom: 10px;
}

/* FAQ Search */
.faq-search {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-search input[type="text"] {
  border: 1px solid #CED5DC;
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 1rem;
  background: #F4F7FA;
}
.faq-search label {
  color: #697D8C;
}

/* =============================== */
/* ========= HERO/CTA ============ */
/* =============================== */
.hero {
  background: linear-gradient(90deg, #16313B 80%, #697D8C 100%);
  color: #fff;
  padding: 56px 0 40px 0;
  border-radius: 0 0 28px 28px;
}
.hero h1 {
  color: #fff;
}
.hero p {
  color: #E1EDF5;
  font-size: 1.25rem;
  margin-bottom: 24px;
}
.hero .cta {
  margin-top: 10px;
}
.cta.section,
.cta {
  background: #F9FBFD;
  text-align: center;
  border-radius: 16px;
  padding: 36px 10px 36px 10px;
}
.cta h2 {
  margin-bottom: 12px;
}

/* =============================== */
/* ========= BUTTONS ============== */
/* =============================== */
.cta.primary,
button.cta.primary,
button.accept-cookies {
  background: #16313B;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 8px;
  border: none;
  box-shadow: 0 2px 8px rgba(22,49,59,0.04);
  font-size: 1.11rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  display: inline-block;
}
.cta.primary:hover,
.cta.primary:focus,
button.cta.primary:hover,
button.cta.primary:focus,
button.accept-cookies:hover {
  background: #22506B;
  box-shadow: 0 5px 16px rgba(22,49,59,0.11);
  transform: translateY(-2px) scale(1.03);
}
.cta.secondary,
button.cta.secondary,
button.reject-cookies {
  background: #fff;
  color: #16313B;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  padding: 11px 26px;
  border-radius: 8px;
  border: 1.5px solid #16313B;
  box-shadow: 0 1px 6px rgba(22, 49, 59, 0.05);
  font-size: 1.05rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  margin-left: 12px;
  display: inline-block;
}
.cta.secondary:hover,
.cta.secondary:focus,
button.cta.secondary:hover,
button.cta.secondary:focus,
button.reject-cookies:hover {
  background: #F3F5F8;
  color: #16313B;
}
button.cookie-settings {
  background: #F6C766;
  color: #16313B;
  border: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 11px 20px;
  border-radius: 7px;
  margin-left: 12px;
  cursor: pointer;
  transition: background 0.2s;
}
button.cookie-settings:hover {
  background: #b89c40;
  color: #fff;
}

/* =============================== */
/* ========= HEADER/NAV ===========*/
/* =============================== */
header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(22,49,59,0.06);
  position: sticky;
  top: 0;
  z-index: 1100;
}
header .container {
  flex-direction: row;
  align-items: center;
  min-height: 76px;
  padding: 0 16px;
  gap: 18px;
}
header img {
  height: 48px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 26px;
  margin-left: 32px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.02rem;
  font-weight: 500;
  padding: 6px 0;
  position: relative;
  color: #16313B;
  transition: color 0.18s;
}
.main-nav a::after {
  content: '';
  display: block;
  width: 0%;
  height: 2.5px;
  border-radius: 2px;
  background: #F6C766;
  transition: width 0.23s;
  margin-top: 2.5px;
}
.main-nav a:hover::after,
.main-nav a:focus::after {
  width: 100%;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #697D8C;
}
header .cta.primary {
  margin-left: auto;
  margin-right: 0;
}

.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #16313B;
  cursor: pointer;
  margin-left: 16px;
  display: none;
  padding: 6px;
  line-height: 1;
  z-index: 1112;
  transition: color 0.2s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: #22506B;
}
.mobile-menu {
  position: fixed;
  z-index: 1115;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: #16313B;
  color: #fff;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.68,-0.55,.27,1.55);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  position: absolute;
  top: 26px;
  right: 28px;
  font-size: 2rem;
  border: none;
  background: none;
  color: #fff;
  cursor: pointer;
  z-index: 1116;
  transition: color 0.16s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #F6C766;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  margin-top: 90px;
  padding-left: 36px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  padding: 10px 0;
  transition: color 0.19s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #F6C766;
}

/* =============================== */
/* ========= FOOTER ===============*/
/* =============================== */
footer {
  background: #16313B;
  color: #fff;
  padding: 48px 0 20px 0;
  margin-top: 48px;
}
footer .container {
  flex-direction: column;
  gap: 24px;
}
.footer-logo-contact {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 26px;
}
.footer-logo-contact img {
  height: 48px;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-contact p, .footer-contact img {
  color: #fff;
  font-size: .99rem;
}
.footer-contact img {
  height: 15px;
  width: 15px;
  margin-right: 4px;
  vertical-align: middle;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #F6C766;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  transition: color 0.16s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #fff;
}
.copyright {
  color: #B2C2CD;
  margin-top: 12px;
  font-size: 0.97rem;
  letter-spacing: 0.02em;
  text-align: left;
}

/* =============================== */
/* ========== COOKIE BANNER =======*/
/* =============================== */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  color: #16313B;
  box-shadow: 0 -2px 16px rgba(22,49,59,0.15);
  padding: 20px 16px 18px 16px;
  z-index: 1201;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  border-radius: 18px 18px 0 0;
  max-width: 640px;
  margin: 0 auto;
  animation: fadeInUp 0.35s;
}
@keyframes fadeInUp {
  0% { transform: translateY(40px); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
.cookie-consent-banner .cookie-btn-row {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-consent-banner p {
  font-size: 1rem;
  color: #16313B;
}

.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(22,49,59, 0.86);
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.22s;
}
@keyframes fadeIn {
  0% { opacity: 0; } 100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 14px;
  max-width: 430px;
  box-shadow: 0 10px 32px rgba(22,49,59,0.23);
  padding: 32px 26px 26px 26px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  color: #16313B;
  animation: fadeInUp 0.2s;
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #697D8C;
  cursor: pointer;
}
.cookie-modal h2 {
  margin-bottom: 8px;
  font-size: 1.3rem;
  color: #16313B;
}
.cookie-modal label {
  font-size: 1rem;
  color: #253C4A;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}
.cookie-modal .cookie-switch {
  margin-left: auto;
}
.cookie-modal button.save-cookies {
  margin-top: 10px;
}

/* Switch for cookie toggles */
input[type="checkbox"].cookie-switch {
  accent-color: #16313B;
  width: 22px;
  height: 22px;
}

/* =============================== */
/* ======= EXTRA COMPONENTS ====== */
/* =============================== */
.map-placeholder {
  background: #F1F5FA;
  border: 1px dashed #CED5DC;
  border-radius: 8px;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}

.contact-details ul,
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  color: #16313B;
}
.contact-details img {
  width: 20px;
  height: 20px;
}
.text-section {
  margin: 18px 0 10px 0;
}

/* =============================== */
/* ========== LEGAL BLOCKS ======= */
/* =============================== */
.legal {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(22,49,59,0.05);
  padding: 40px 22px;
  margin-bottom: 60px;
}
.legal h1, .legal h2 {
  margin-bottom: 18px;
}
.legal ul,
.stats ul,
.usps ul {
  padding-left: 18px;
  margin-bottom: 18px;
  color: #253C4A;
  font-size: 1rem;
}
.legal li, .stats li, .usps li { margin-bottom: 8px; }

.stats ul,
.usps ul {
  margin-bottom: 16px;
  list-style-type: disc;
}

/* =============================== */
/* ====== THANK YOU PAGE ========= */
/* =============================== */
.thank-you {
  background: #F1F5FA;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(22,49,59,0.04);
  padding: 70px 22px 80px 22px;
  text-align: center;
  margin-bottom: 60px;
}

/* =============================== */
/* ======== RESPONSIVE =========== */
/* =============================== */
@media (max-width: 1020px) {
  .container {
    max-width: 960px;
    padding: 0 10px;
  }
  .main-nav {
    gap: 18px;
    margin-left: 16px;
  }
  .footer-logo-contact {
    flex-direction: column;
    gap: 14px;
  }
}
@media (max-width: 900px) {
  .feature-grid,.service-list,.team-members {
    gap: 14px;
  }
}
@media (max-width: 786px) {
  .container {
    max-width: 100%;
    padding: 0 8px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .footer-logo-contact {
    flex-direction: column;
    gap: 12px;
  }
  .footer-nav {
    gap: 13px;
    flex-wrap: wrap;
    font-size: 0.97rem;
  }
  .hero {
    padding: 36px 0 26px 0;
    border-radius: 0 0 20px 20px;
  }
}
@media (max-width: 660px) {
  .feature-grid,.service-list,.team-members {
    flex-direction: column;
    gap: 18px;
  }
  .feature-item,.service-item,.team-bio {
    min-width: unset;
    width: 100%;
  }
  .testimonials .testimonial-card {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }
  .section, .legal, .thank-you {
    padding: 22px 7px;
    border-radius: 10px;
  }
  .cookie-consent-banner {
    max-width: 96vw;
    left: 2vw;
    right: 2vw;
    padding: 13px 4vw 10px 4vw;
  }
}
@media (max-width: 480px) {
  .footer-logo-contact img,
  header img {
    height: 36px;
  }
  h1, .h1 {
    font-size: 1.4rem;
  }
  h2, .h2 {
    font-size: 1.13rem;
  }
  .cta.primary, .cta.secondary, button.cta.primary, button.cta.secondary {
    font-size: 0.98rem;
    padding: 10px 17px;
    border-radius: 6px;
  }
  .footer-contact {
    font-size: 0.95rem;
  }
}

/* Responsive text-image section */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}
@media (max-width: 580px) {
  .footer-nav {
    flex-wrap: wrap;
    gap: 8px;
  }
}

/* =============================== */
/* ======== MICRO INTERACTIONS === */
/* =============================== */
.card, .feature-item, .service-item {
  transition: box-shadow .20s, transform .13s;
}
.card:hover, .feature-item:hover, .service-item:hover {
  box-shadow: 0 6px 18px rgba(22,49,59,0.13);
  transform: translateY(-2px) scale(1.013);
}
.cta.primary:active, button.cta.primary:active {
  transform: scale(0.99);
}

/* =============================== */
/* ====== MISC HELPER ============ */
/* =============================== */
::-webkit-input-placeholder { color: #697D8C; }
::-moz-placeholder { color: #697D8C; }
:-ms-input-placeholder { color: #697D8C; }
::placeholder { color: #697D8C; }
a[disabled], button[disabled] {
  opacity: .5;
  pointer-events: none;
}

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