/* 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,
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 {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}

body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #25405A;
  background: #F7FAFE;
  line-height: 1.6;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}
a {
  color: #25405A;
  text-decoration: none;
  transition: color .2s;
}
strong { font-weight: 700; }

button, .cta-button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  border: none;
  background: none;
  color: inherit;
}

/* BRAND FONTS */
h1, h2, h3, h4, h5, h6, .cta-button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: -0.5px;
}

h1 { font-size: 2.5rem; line-height: 1.1; color: #25405A; }
h2 { font-size: 2rem; line-height: 1.15; color: #25405A; }
h3 { font-size: 1.25rem; line-height: 1.2; color: #25405A; }

@media (max-width: 768px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.2rem; }
  h3 { font-size: 1rem; }
}

.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 260px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(37, 64, 90, 0.09);
}

.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: #fff;
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: 0 4px 24px rgba(243,166,0,0.12), 0 1.5px 10px rgba(37, 64, 90, 0.09);
  border: 2px solid #F3A6001A;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* FLEX SECTION WRAPPERS */
.features ul,
.trust ul,
.services ul,
.extras ul,
.about ul,
.team ul,
.equipment ul,
.next-steps ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0;
}
.features ul li,
.trust ul li,
.services ul li,
.extras ul li,
.about ul li,
.team ul li,
.equipment ul li,
.next-steps ul li {
  flex: 1 1 220px;
  background: #fff;
  border-radius: 14px;
  padding: 22px 18px;
  box-shadow: 0 1.5px 8px 0 rgba(37,64,90,0.07);
  margin-bottom: 20px;
  min-width: 210px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow .2s, transform .18s;
}
.features ul li:hover,
.trust ul li:hover,
.services ul li:hover,
.extras ul li:hover,
.equipment ul li:hover {
  box-shadow: 0 6px 32px rgba(243,166,0,0.14),0 1.5px 10px rgba(37,64,90,0.11);
  transform: translateY(-3px) scale(1.03);
}

.features ul li img,
.trust ul li img,
.services ul li img,
.extras ul li img,
.equipment ul li img {
  width: 42px;
  height: 42px;
  margin-bottom: 4px;
}

/* HERO */
.hero {
  background: #25405A;
  color: #fff;
  padding: 60px 20px 40px 20px;
  display: flex;
  align-items: center;
  min-height: 340px;
  margin-bottom: 60px;
  position: relative;
}
.hero .container {
  align-items: center;
  justify-content: center;
  display: flex;
  flex: 1;
  min-height: 240px;
}
.hero .content-wrapper {
  align-items: center;
  gap: 24px;
}
.hero h1 {
  color: #fff;
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1px;
  text-shadow: 0 4px 32px #00132340;
}
.hero p {
  font-size: 1.20rem;
  color: #E6F0F6;
}
.hero .cta-button {
  margin-top: 10px;
}

@media (max-width: 768px) {
  .content-wrapper, .hero .content-wrapper, .container {
    padding: 0 6px;
    gap: 16px;
  }
  .hero {
    padding: 36px 4px 24px 4px;
    min-height: 180px;
  }
  .hero h1 {
    font-size: 1.50rem;
  }
  .hero p {
    font-size: 1rem;
  }
}

/* CTA BUTTON */
.cta-button {
  display: inline-block;
  background: #F3A600;
  color: #25405A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  font-size: 1.1rem;
  padding: 15px 36px;
  border-radius: 32px;
  box-shadow: 0 2px 12px 0 rgba(243,166,0,0.10);
  cursor: pointer;
  transition: background .18s, color .18s, transform .13s, box-shadow .25s;
  border: none;
  letter-spacing: 0.2px;
  margin-top: 6px;
}
.cta-button:hover, .cta-button:focus {
  background: #fff;
  color: #F3A600;
  box-shadow: 0 9px 36px 0 rgba(243,166,0,0.14), 0 4px 20px 0 rgba(37,64,90,0.10);
  transform: scale(1.04);
  outline: none;
}

/* NAVIGATION */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 1px 6px rgba(37,64,90,.07);
  position: relative;
  z-index: 102;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 20px;
  padding: 14px 20px 14px 20px;
  font-size: 1rem;
}
.main-nav a {
  color: #25405A;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 24px;
  transition: background .14s, color .14s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F3A60044;
  color: #F3A600;
  outline: none;
}
.main-nav .cta-button {
  margin-left: auto;
  margin-right: 0;
  padding: 10px 28px;
  font-size: 1.02rem;
}

/* Hide nav on mobile, show burger */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 22px;
  top: 18px;
  background: #F3A600;
  color: #25405A;
  font-size: 2.1rem;
  border-radius: 100px;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: none;
  z-index: 300;
  cursor: pointer;
  box-shadow: 0 2px 8px #F3A60031;
  transition: background .14s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #e5cf89;
  outline: 2px solid #F3A600;
}

@media (max-width: 1024px) {
  .main-nav a.cta-button {
    margin-left: 0;
  }
}

@media (max-width: 900px) {
  .main-nav {
    gap: 12px;
    font-size: 0.97rem;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  header {
    min-height: 62px;
  }
}

/* MOBILE MENU */
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #25405A;
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform .35s cubic-bezier(.8,.05,.3,1);
  box-shadow: 0 12px 42px #25405A80;
  opacity: .99;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #F3A600;
  font-size: 2.5rem;
  align-self: flex-end;
  padding: 18px 28px 12px 0;
  margin-top: 7px;
  border: none;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  width: 100%;
  margin-top: 27px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.32rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  padding: 18px 36px;
  width: 100%;
  border-left: 4px solid transparent;
  border-radius: 0 30px 30px 0;
  transition: border .15s, background .12s, color .14s;
  margin-bottom: 4px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #F3A600;
  background: #fff1c7;
  border-left: 4px solid #F3A600;
  outline: none;
}

@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
}

/* FOOTER */
footer {
  background: #25405A;
  color: #fff;
  padding: 32px 0 18px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 10px 0 0 0;
}
.footer-nav a {
  color: #F3A600;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 7px 12px;
  border-radius: 20px;
  transition: background .13s, color .13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #fff;
  color: #25405A;
  outline: none;
}
footer address {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #E6F0F6;
  text-align: center;
}
footer a {
  color: #F3A600;
}

@media (max-width: 768px) {
  footer .content-wrapper {
    gap: 12px;
  }
  .footer-nav {
    gap: 11px;
  }
}

/* TEXT & LAYOUT UTILITIES */
.text-section, .equipment ul, .about ul, .team ul, .services ol {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 14px;
}
.services ol {
  margin-left: 0;
  padding-left: 0;
  counter-reset: step;
}
.services ol li {
  display: flex;
  align-items: center;
  gap: 12px;
  counter-increment: step;
  background: #fff;
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 12px;
  box-shadow: 0 1px 5px #25405A0c;
}
.services ol li img {
  width: 32px;
  height: 32px;
}

/* TESTIMONIALS */
.testimonials .testimonial-card {
  margin-bottom: 22px;
  background: #fff;
  color: #25405A;
  box-shadow: 0 2px 14px 0 rgba(243,166,0,0.10);
  border-left: 7px solid #F3A600;
  border-radius: 12px;
  position: relative;
  transition: box-shadow .22s, border-color .14s;
  font-size: 1.11rem;
}
.testimonial-card p {
  color: #25405A;
  margin-bottom: 0;
}
.testimonial-card span {
  color: #F3A600;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.04rem;
}
.testimonial-card:hover {
  box-shadow: 0 6px 32px rgba(243,166,0,0.18), 0 4px 14px #25405A1A;
  border-left: 7px solid #25405A;
}

/* CARD HOVER MICRO-EFFECT */
.card:hover, .features ul li:hover, .trust ul li:hover, .testimonial-card:hover {
  transform: scale(1.018) translateY(-3px);
  box-shadow: 0 8px 30px #F3A60044, 0 1.5px 12px #25405A0D;
}

/* FORMS & CONTACT */
.contact-details {
  margin-top: 14px;
  margin-bottom: 24px;
  padding: 24px 16px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1.5px 10px rgba(37,64,90,0.10);
}
.contact-details h3 {
  margin-bottom: 10px;
  color: #F3A600;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.contact-details ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 16px;
}
.contact-details ul li {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #25405A;
  font-size: 1rem;
}
.contact-details ul li img {
  width: 21px;
  height: 21px;
}

/* CONFIRMATION PAGE */
.confirmation {
  min-height: 430px;
  background: #E6F0F6;
  padding: 38px 16px;
  text-align: center;
  border-radius: 0 0 40px 40px;
}
.next-steps {
  margin-top: 28px;
  text-align: left;
}

/* LEGAL SECTION */
.legal .text-section ul {
  gap: 11px;
  margin-left: 0;
  padding-left: 0;
}
.legal .text-section ul li {
  background: #fff;
  border-radius: 8px;
  padding: 12px 12px;
  margin-bottom: 10px;
  box-shadow: 0 1.5px 7px rgba(243,166,0,0.06);
  font-size: 0.97rem;
}

/* EXTRAS SECTION */
.extras ul li {
  display: flex;
  align-items: center;
  gap: 13px;
  background: #fff;
  border-radius: 10px;
  padding: 14px 12px;
  box-shadow: 0 2px 10px #25405A0c;
}
.extras ul li img {
  width: 35px;
  height: 35px;
}

/* RESPONSIVE FLEX PATTERNS */
@media (max-width: 900px) {
  .card-container, .features ul, .trust ul {
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .card-container,
  .features ul,
  .trust ul,
  .services ul,
  .extras ul,
  .about ul,
  .team ul,
  .equipment ul,
  .next-steps ul,
  .content-grid {
    flex-direction: column;
    gap: 12px;
    min-width: 0;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .services ol li, .features ul li, .extras ul li {
    min-width: 0;
    padding: 14px 9px;
  }
  .footer-nav {
    flex-direction: column;
    align-items: center;
    gap: 7px;
  }
  .contact-details{
    padding: 16px 6px;
  }
}

/* VIBRANT ENERGETIC EFFECTS */
section {
  position: relative;
  z-index: 1;
}
section.cta, .cta {
  background: #F3A600;
  color: #25405A;
  border-radius: 50px;
  margin-bottom: 44px;
  box-shadow: 0 3px 26px #F3A60044;
  display: flex;
  align-items: center;
}
.cta h2 {
  color: #25405A;
}
.cta p {
  color: #513c0a;
}

section.services {
  background: #E6F0F6;
  border-radius: 36px;
  box-shadow: 0 1.5px 8px #25405A0A;
}
section.features {
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 1.5px 10px #f3a60005;
}
section.testimonials {
  background: #E6F0F6;
  border-radius: 24px;
  box-shadow: 0 1.5px 10px #25405A0A;
}

/* Highlight heading underline */
h2:after {
  content: '';
  display: block;
  background: #F3A600;
  width: 48px;
  height: 5px;
  border-radius: 3px;
  margin: 8px 0 0 0;
}
.hero h1:after { display: none; }

@media (max-width: 600px) {
  section.cta, .cta {
    border-radius: 20px;
    padding: 18px 7px !important;
  }
  section {
    padding-left: 3px !important;
    padding-right: 3px !important;
  }
}

/* MICRO-INTERACTIONS & HOVER ANIMATION */
.cta-button {
  transition: background .18s, color .18s, box-shadow .21s, transform .12s;
}
.cta-button:active {
  transform: scale(0.97);
  background: #25405A;
  color: #fff;
}

.features ul li:hover img,
.trust ul li:hover img, .services ul li:hover img, .extras ul li:hover img {
  filter: brightness(1.15) drop-shadow(0 0 7px #F3A60088);
  transform: scale(1.12) rotate(-7deg);
  transition: filter .18s, transform .21s;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #25405A;
  color: #fff;
  padding: 22px 18px;
  box-shadow: 0 -2px 20px #F3A60044;
  z-index: 10011;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 28px;
  font-size: 1rem;
  animation: cookie-fade-in .7s cubic-bezier(.8,.05,.2,1) both;
  border-radius: 18px 18px 0 0;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 17px 8px;
    font-size: 0.92rem;
    border-radius: 10px 10px 0 0;
  }
}

@keyframes cookie-fade-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
.cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-banner button {
  background: #F3A600;
  color: #25405A;
  border-radius: 21px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 10px 22px;
  margin: 0 0 0 4px;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  transition: background .14s, color .14s, transform .10s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #fff;
  color: #F3A600;
  outline: none;
  transform: scale(1.05);
}
.cookie-banner .cookie-settings {
  background: #fff;
  color: #25405A;
  border: 1.5px solid #F3A600;
  font-weight: 500;
}
.cookie-banner .cookie-settings:hover {
  background: #F3A600;
  color: #fff;
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(37,64,90,0.86);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 12000;
  opacity: 0;
  pointer-events: none;
  transition: opacity .24s;
  padding: 18px;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: #fff;
  color: #25405A;
  max-width: 440px;
  width: 98vw;
  border-radius: 20px;
  box-shadow: 0 12px 40px #25405A40;
  padding: 36px 30px 26px 30px;
  display: flex;
  flex-direction: column;
  gap: 19px;
  position: relative;
  animation: modal-fade-in .5s cubic-bezier(.8,.08,.4,1) both;
}
@keyframes modal-fade-in {
  from { transform: translateY(40px) scale(.94); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  right: 16px;
  top: 10px;
  background: none;
  color: #F3A600;
  border: none;
  font-size: 2.1rem;
  cursor: pointer;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  background: #E6F0F6;
  color: #25405A;
  border-radius: 9px;
  padding: 11px 13px;
  font-size: 1.05rem;
}
.cookie-category input[type="checkbox"] {
  accent-color: #F3A600;
  width: 22px;
  height: 22px;
  margin-right: 3px;
}
.cookie-category .essential-label {
  font-weight: 600;
  color: #25405A;
}
.cookie-category .essential-label:after {
  content: '(alltid aktiverad)';
  color: #868686;
  font-weight: 400;
  font-size: 0.92em;
  margin-left: 8px;
}
.cookie-modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.cookie-modal-actions button {
  background: #F3A600;
  color: #25405A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-radius: 19px;
  padding: 10px 19px;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background .13s, color .11s, transform .11s;
}
.cookie-modal-actions button:hover, .cookie-modal-actions button:focus {
  background: #fff;
  color: #F3A600;
  outline: none;
  transform: scale(1.06);
}

@media (max-width: 520px) {
  .cookie-modal-content {
    padding: 19px 7px 20px 7px;
  }
}

/* ACCESSIBILITY: HIDE ON COOKIE REJECTION */
body.cookies-rejected .cookie-banner, body.cookies-accepted .cookie-banner { display: none !important; }

/* OVERRIDE: Hide scroll when modals/menus open */
body.noscroll { overflow: hidden !important; }

/* Hide visually */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}
