/* The Frozen Eye – hemsida. En enda stilmall för alla sidor. */

:root {
  --navy: #212b39;
  --navy-light: #222b3a;
  --navy-soft: #2b3646;
  --yellow: #ecbd00;
  --white: #fff;
  --grey-line: #e3e3e3;
  --text-dark: #212b39;
  --text-muted: #4a5262;
  --text-on-dark-muted: #c9ced8;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 20px; }

body {
  margin: 0;
  background: var(--navy);
  color: var(--white);
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.25; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
strong { font-weight: 600; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--yellow);
  color: var(--navy);
  padding: 10px 16px;
  border-radius: 4px;
  font-weight: 600;
}
.skip-link:focus { top: 16px; }

.icon {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 22px;
  line-height: 1;
  display: inline-block;
  white-space: nowrap;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 40px; }

/* ---------- Header ---------- */

.site-header { background: var(--navy-light); position: relative; z-index: 10; }
.site-header--overlay { background: transparent; position: absolute; top: 0; left: 0; right: 0; }
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 154px;
  max-width: 1240px;
}
.logo img { width: 180px; height: 115px; object-fit: contain; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 8px 12px; font-size: 16px; color: var(--white); transition: color .2s; }
.nav a:hover,
.nav a[aria-current="page"] { color: var(--yellow); }
.nav .nav-cta {
  margin-left: 12px;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 600;
  border-radius: 50px;
  padding: 10px 22px;
}
.nav .nav-cta:hover,
.nav .nav-cta[aria-current="page"] { color: var(--navy); opacity: .9; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--white);
  cursor: pointer;
  padding: 8px;
}
.nav-toggle .icon { font-size: 32px; }

/* ---------- Knappar och länkar ---------- */

.buttons { display: flex; gap: 20px; flex-wrap: wrap; }
.buttons--center { justify-content: center; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 168px;
  height: 50px;
  padding: 0 32px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  transition: opacity .2s;
}
.btn:hover { opacity: .88; }
.btn--primary { background: var(--yellow); color: var(--navy); }
.btn--light { background: var(--white); color: var(--navy); }

.text-link { color: var(--yellow); font-weight: 500; display: inline-flex; align-items: center; gap: 4px; }
.text-link:hover { text-decoration: underline; }
.text-link .icon { font-size: 18px; }
.card .text-link { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Sektioner och bakgrundsbilder ---------- */

.section { padding: 90px 0; position: relative; }
.section--alt { background: var(--navy-soft); }
.bg { position: relative; background-size: cover; background-position: center; }
.bg::before { content: ''; position: absolute; inset: 0; background: var(--navy); opacity: var(--overlay, .8); }
.bg > * { position: relative; }

.section-title { font-size: 40px; text-align: center; }
.section-lead { font-size: 18px; text-align: center; margin: 20px auto 0; max-width: 860px; color: var(--text-on-dark-muted); }
.section-more { text-align: center; margin-top: 40px; }

/* Hero (startsidan) */
.hero { min-height: 860px; display: flex; align-items: center; text-align: center; padding: 154px 0 60px; }
.eyebrow { display: block; color: var(--yellow); font-weight: 600; font-size: 16px; letter-spacing: .04em; margin-bottom: 20px; }
.hero h1 { font-size: 58px; max-width: 1050px; margin: 0 auto 28px; }
.hero .lead { font-size: 20px; max-width: 760px; margin: 0 auto 44px; color: var(--text-on-dark-muted); }

/* Bildbanner (undersidor) */
.banner { min-height: 300px; display: flex; align-items: center; text-align: center; padding: 60px 0; }
.banner h1 { font-size: 46px; max-width: 1000px; margin: 0 auto; }
.banner .sub { font-size: 20px; margin-top: 14px; color: var(--yellow); font-weight: 500; }

/* Sidhuvud utan bild */
.page-head { padding: 60px 0 20px; text-align: center; }
.page-head h1 { font-size: 46px; max-width: 1000px; margin: 0 auto; }
.page-head .lead { font-size: 18px; max-width: 860px; margin: 20px auto 0; color: var(--text-on-dark-muted); }

.intro { font-size: 18px; max-width: 860px; margin: 0 auto; color: var(--text-on-dark-muted); }

/* ---------- Numrerade steg ---------- */

.steps-list { list-style: none; margin: 60px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; counter-reset: step; }
.steps-list--vertical { grid-template-columns: 1fr; max-width: 860px; margin-left: auto; margin-right: auto; gap: 20px; }
.steps-list > li { counter-increment: step; background: var(--white); color: var(--text-dark); border-radius: 8px; padding: 30px; }
.steps-list > li::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 18px;
}
.steps-list--vertical > li { display: grid; grid-template-columns: 44px 1fr; column-gap: 24px; align-items: start; }
.steps-list--vertical > li::before { margin: 0; grid-row: span 2; }
.steps-list h3 { font-size: 20px; margin-bottom: 10px; }
.steps-list p { color: var(--text-muted); }

/* ---------- Kort ---------- */

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 50px; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--white); color: var(--text-dark); border-radius: 8px; padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.card h3 { font-size: 20px; display: flex; align-items: center; gap: 12px; }
.card h3 .icon { width: 44px; height: 44px; border-radius: 50%; background: var(--yellow); color: var(--navy); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.card p { color: var(--text-muted); }
.card .text-link { margin-top: auto; }

/* ---------- Text + blob-bild ---------- */

.split .container { display: grid; grid-template-columns: 1fr 520px; gap: 60px; align-items: center; }
.split h2 { font-size: 40px; margin-bottom: 20px; }
.split p { font-size: 18px; margin-bottom: 24px; color: var(--text-on-dark-muted); }
.split .card p { font-size: 16px; margin: 0; color: var(--text-muted); }
.blob { width: 100%; max-width: 520px; aspect-ratio: 1; }
.blob .back { fill: #9aa0aa; }
.blob .front { fill: var(--yellow); }

/* ---------- Punktlistor ---------- */

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checks--2 { grid-template-columns: repeat(2, 1fr); column-gap: 40px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; }
.checks li .icon { color: var(--yellow); font-size: 22px; margin-top: 2px; }

/* ---------- Funktioner (produktsidan) ---------- */

.feature-block { padding: 80px 0; }
.feature-block .container { max-width: 960px; }
.feature-block h2 { font-size: 36px; margin-bottom: 20px; }
.feature-block p { font-size: 17px; color: var(--text-on-dark-muted); margin-bottom: 16px; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px 40px; margin-top: 30px; }
.feature-grid h3 { font-size: 18px; display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.feature-grid h3 .icon { width: 44px; height: 44px; border-radius: 50%; background: var(--yellow); color: var(--navy); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.feature-grid p { font-size: 15px; margin: 0; }

/* ---------- Bildspel ---------- */

.slider { position: relative; max-width: 1150px; margin: 50px auto 0; }
.slider::before,
.slider::after {
  content: '';
  position: absolute;
  width: 268px;
  height: 172px;
  background: radial-gradient(circle, var(--yellow) 2px, transparent 2.5px) 0 0 / 24px 24px;
  z-index: 0;
}
.slider::before { top: -40px; left: -100px; }
.slider::after { bottom: -60px; right: -100px; }
.slides { position: relative; z-index: 1; height: 600px; max-width: 760px; margin: 0 auto; }
.slide { position: absolute; inset: 0; margin: 0; background: var(--white); border-radius: 8px; overflow: hidden; opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide img { width: 100%; height: 100%; object-fit: contain; }
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--yellow);
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slider-arrow--prev { left: -60px; }
.slider-arrow--next { right: -60px; }
.slider-dots { display: flex; justify-content: center; gap: 6px; margin-top: 24px; position: relative; z-index: 1; }
.slider-dots button { width: 24px; height: 24px; border: 0; padding: 7px; background: none; cursor: pointer; }
.slider-dots button::before { content: ''; display: block; width: 10px; height: 10px; border-radius: 50%; background: #8a93a6; }
.slider-dots button.is-active::before { background: var(--yellow); }

/* ---------- Vanliga frågor ---------- */

.faq { max-width: 860px; margin: 50px auto 0; display: grid; gap: 16px; }
.faq > div { background: var(--white); color: var(--text-dark); border-radius: 8px; padding: 24px 30px; }
.faq h3 { font-size: 18px; margin-bottom: 8px; }
.faq p { color: var(--text-muted); }
.faq a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- CTA-band ---------- */

.cta-band { background: var(--yellow); color: var(--navy); text-align: center; padding: 70px 0; }
.cta-band h2 { font-size: 36px; }
.cta-band p { font-size: 18px; margin: 14px auto 30px; max-width: 640px; }
.cta-band .btn--primary { background: var(--navy); color: var(--white); }
.cta-band .alt { font-size: 16px; margin: 18px auto 0; }
.cta-band a:not(.btn) { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }

/* ---------- Om oss ---------- */

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin: 50px 0 0; }
.facts > div { border-left: 3px solid var(--yellow); padding-left: 20px; }
.facts dt { font-size: 14px; color: var(--text-on-dark-muted); }
.facts dd { margin: 4px 0 0; font-size: 18px; font-weight: 500; }

/* ---------- Kontakt ---------- */

.contact { padding: 70px 0 90px; }
.contact-box {
  background: rgba(33, 43, 57, .82);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 8px;
  padding: 50px;
  max-width: 1000px;
  margin: 0 auto;
}
.contact-box h1 { font-size: 40px; margin-bottom: 16px; }
.contact-box .lead { font-size: 18px; color: var(--text-on-dark-muted); margin-bottom: 30px; }
.contact-box h2 { font-size: 24px; margin: 50px 0 12px; }
.contact-box > p { color: var(--text-on-dark-muted); }
.contact-direct { display: flex; flex-wrap: wrap; gap: 16px 40px; margin-bottom: 40px; font-size: 18px; }
.contact-direct a,
.contact-direct span { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; }
.contact-direct a:hover { color: var(--yellow); }
.contact-direct .icon { color: var(--yellow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 30px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid label { display: block; font-size: 15px; font-weight: 500; margin-bottom: 8px; }
.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  border: 0;
  border-radius: 50px;
  height: 48px;
  padding: 0 24px;
  font: inherit;
  font-size: 16px;
  color: var(--text-dark);
  background: var(--white);
}
.form-grid select {
  appearance: none;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23212b39' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 22px center;
}
.form-grid textarea { border-radius: 16px; height: 180px; padding: 16px 24px; resize: vertical; }
.form-grid ::placeholder { color: #6b7280; }
.form-actions { margin-top: 30px; }
.form-note { font-size: 14px; color: var(--text-on-dark-muted); margin-top: 14px; }
.form-note a { text-decoration: underline; }

/* ---------- Ljusa innehållsytor (policy, guide) ---------- */

.light { background: var(--white); color: var(--text-dark); border-radius: 8px; max-width: 1000px; margin: 0 auto; padding: 60px 90px; }
.light h2 { font-size: 28px; margin: 40px 0 16px; }
.light h3 { font-size: 20px; margin: 28px 0 10px; }
.light p { margin-bottom: 16px; }
.light ul,
.light ol { margin: 0 0 20px; padding-left: 24px; }
.light li { margin-bottom: 8px; }
.light ul.bullets { list-style: none; padding: 0; }
.light ul.bullets li { position: relative; padding-left: 20px; }
.light ul.bullets li::before { content: ''; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); }
.light a { text-decoration: underline; text-underline-offset: 3px; }
.light .updated { padding-bottom: 20px; border-bottom: 2px solid var(--yellow); margin-bottom: 30px; color: var(--text-muted); }
.light .note { background: #f5f2e3; border-left: 4px solid var(--yellow); padding: 16px 20px; border-radius: 4px; }
.light section[lang="en"] { margin-top: 60px; padding-top: 20px; border-top: 2px solid var(--grey-line); }
.toc { background: #f4f5f7; border-radius: 8px; padding: 20px 30px; margin: 30px 0; }
.toc h2 { font-size: 18px; margin: 0 0 10px; }
.toc ol { margin: 0; }

/* ---------- Sidfot ---------- */

.site-footer { background: var(--navy-light); padding: 60px 0 40px; font-size: 15px; border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.site-footer .footer-brand { font-size: 20px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.site-footer p { color: var(--text-on-dark-muted); margin-bottom: 6px; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--yellow); }
.site-footer .footer-label { font-weight: 600; color: var(--white); margin-bottom: 10px; }
.footer-copy { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 14px; }

/* ---------- Mobil ---------- */

@media (max-width: 1100px) {
  .split .container { grid-template-columns: 1fr; }
  .blob { margin: 0 auto; max-width: 420px; }
  .slider-arrow--prev { left: 0; }
  .slider-arrow--next { right: 0; }
  .nav a { padding: 8px; }
}

@media (max-width: 900px) {
  .container { padding: 0 16px; }
  .site-header .container { height: 90px; }
  .logo img { width: 110px; height: 70px; }
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 90px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--navy-light);
    padding: 10px 16px 24px;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; font-size: 18px; }
  .nav .nav-cta { margin: 10px 0 0; text-align: center; }

  .section { padding: 60px 0; }
  .hero { min-height: 520px; padding: 110px 0 50px; }
  .hero h1 { font-size: 32px; }
  .hero .lead { font-size: 17px; margin-bottom: 30px; }
  .banner { min-height: 220px; }
  .banner h1,
  .page-head h1 { font-size: 30px; }
  .section-title,
  .split h2,
  .feature-block h2,
  .cta-band h2,
  .contact-box h1 { font-size: 28px; }

  .steps-list,
  .cards,
  .cards--2,
  .facts,
  .feature-grid,
  .checks--2,
  .form-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .feature-block { padding: 60px 0; }
  .slides { height: 400px; }
  .slider::before,
  .slider::after { display: none; }

  .light,
  .contact-box { padding: 30px 20px; }
  .faq > div { padding: 20px; }
}
