/* Corvnova IT – stilmall. Färger och typsnitt samlade som variabler överst. */
:root {
  --bg: #070C18;
  --bg-2: #0A1122;
  --bg-footer: #050913;
  --surface: #0E1629;
  --surface-hover: #151e33;
  --line: #1a2338;
  --line-2: #151d30;
  --line-3: #1f2940;
  --fg: #EEF1F6;
  --fg-2: #b6bdcb;
  --fg-3: #a9b2c3;
  --muted: #9aa4b7;
  --muted-2: #7d879b;
  --muted-3: #6b7589;
  --red: #C8102E;
  --red-hover: #a50d26;
  --red-soft: #ff5a68;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font-display: Sora, 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans', 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', 'IBM Plex Sans Arabic', ui-monospace, monospace;
  --gutter: 28px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; overflow-x: hidden;
  background: var(--bg); color: var(--fg);
  font-family: var(--font-body); line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
input, select, textarea, button { font: inherit; color: inherit; }
::placeholder { color: #59637a; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red-soft); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, p { margin: 0; }
address { font-style: normal; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.stack { display: flex; flex-direction: column; gap: 18px; }
.stack--sm { gap: 10px; }
.stack--lg { gap: 20px; }

.skip {
  position: fixed; inset-inline-start: 16px; top: 12px; z-index: 200;
  padding: 10px 16px; border-radius: 8px; background: var(--red); color: #fff; font-weight: 600;
  transform: translateY(-200%); transition: transform .2s;
}
.skip:focus { transform: none; }

/* ---------- Typografi ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.eyebrow--num { color: var(--red-soft); font-size: 12.5px; }
.h2 {
  font-family: var(--font-display); font-size: clamp(32px, 4.2vw, 54px); line-height: 1.08;
  font-weight: 700; letter-spacing: -.025em; text-wrap: balance;
}
.h3 { font-family: var(--font-display); font-size: 19px; font-weight: 600; }
.lead { font-size: 17px; line-height: 1.75; color: var(--fg-2); text-wrap: pretty; }
.link { color: var(--red-soft); }
.link:hover { color: #fff; }
.accent { color: var(--red); }
[dir="rtl"] .flip { transform: scaleX(-1); }
[dir="rtl"] .eyebrow, [dir="rtl"] .eyebrow--num { letter-spacing: 0; }

/* ---------- Knappar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 10px 18px; border: 0; border-radius: 8px; background: var(--red); color: #fff;
  font-size: 14px; font-weight: 600; cursor: pointer;
  transition: background .2s, transform .2s, border-color .2s;
}
.btn:hover { background: var(--red-hover); color: #fff; }
.btn--lg { padding: 16px 26px; border-radius: 10px; font-size: 15px; }
.btn--glow { box-shadow: 0 14px 34px -14px rgba(200, 16, 46, .75); }
.btn--glow:hover { transform: translateY(-2px); }
.btn--ghost { background: transparent; border: 1px solid #273250; color: var(--fg); }
.btn--ghost:hover { background: var(--surface); border-color: var(--fg); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background .35s, border-color .35s;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.header.is-scrolled, .header.is-open { background: rgba(7, 12, 24, .88); }
.header.is-scrolled { border-bottom-color: var(--line-2); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 18px; }
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo__mark { width: 63px; height: auto; }
.req { color: var(--red-soft); margin-inline-start: 2px; }
.logo__text { display: flex; gap: 7px; font-family: Sora, sans-serif; font-size: 16px; font-weight: 700; letter-spacing: .08em; }
.logo__it { font-weight: 800; color: var(--red); }
.header__links { display: flex; gap: 30px; font-size: 14px; font-weight: 500; }
.header__link { color: #aeb6c6; transition: color .2s; }
.header__link:hover { color: #fff; }
.header__actions { display: flex; align-items: center; gap: 14px; }

.lang { position: relative; }
.lang__btn {
  display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 12px 0 10px;
  border: 1px solid var(--line-3); border-radius: 10px; background: rgba(14, 22, 41, .6);
  cursor: pointer; font-size: 13.5px; font-weight: 500; transition: border-color .2s;
}
.lang__btn:hover { border-color: #3a4664; }
.lang__chev { color: var(--muted); transition: transform .25s; }
.lang__btn[aria-expanded="true"] .lang__chev { transform: rotate(180deg); }
.flag { border-radius: 3px; flex-shrink: 0; }
.lang__menu {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 60; min-width: 190px; padding: 6px;
  display: flex; flex-direction: column; gap: 2px;
  border-radius: 12px; background: var(--surface); border: 1px solid var(--line-3);
  box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .85);
  animation: rise .25s var(--ease) both;
}
.lang__menu[data-align="start"] { right: auto; left: 0; }
.lang__item { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 8px; font-size: 14px; font-weight: 500; }
.lang__item span { flex: 1; }
.lang__item:hover, .lang__item[aria-current] { background: var(--surface-hover); color: var(--fg); }
.lang__check { color: var(--red); opacity: 0; }
.lang__item[aria-current] .lang__check { opacity: 1; }

.menu-btn {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  border: 1px solid var(--line-3); border-radius: 10px; background: transparent; cursor: pointer;
}
.menu-btn__close { display: none; }
.menu-btn[aria-expanded="true"] .menu-btn__open { display: none; }
.menu-btn[aria-expanded="true"] .menu-btn__close { display: inline; }
.mobile-menu { display: flex; flex-direction: column; gap: 4px; padding: 8px var(--gutter) 24px; border-top: 1px solid var(--line-2); background: var(--bg); }
.mobile-menu__link { padding: 14px 0; font-size: 17px; font-weight: 500; border-bottom: 1px solid #121a2c; }
.mobile-menu__cta { margin-top: 16px; padding: 15px; border-radius: 10px; font-size: 15px; }

@media (max-width: 960px) {
  .header__links, .header__cta { display: none; }
  .menu-btn { display: flex; }
}
@media (min-width: 961px) { .mobile-menu { display: none !important; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.hero__grid-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: .7;
  background-image: linear-gradient(#111a2e 1px, transparent 1px), linear-gradient(90deg, #111a2e 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 45%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 60% 45%, #000 20%, transparent 75%);
}
.hero__inner {
  position: relative; padding-top: 140px; padding-bottom: 80px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 500px), 1fr)); gap: 48px; align-items: center;
}
.hero__copy { display: flex; flex-direction: column; gap: 30px; }
.hero__eyebrow { letter-spacing: .08em; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: pulse 2.4s ease-in-out infinite; }
.hero__title {
  font-family: var(--font-display); font-size: clamp(40px, 6vw, 76px); line-height: 1.04;
  font-weight: 700; letter-spacing: -.03em; text-wrap: balance;
}
[dir="rtl"] .hero__title, [dir="rtl"] .h2 { letter-spacing: 0; line-height: 1.25; }
.hero__text { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.65; color: var(--fg-3); max-width: 540px; text-wrap: pretty; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.hero__raven { position: relative; display: flex; justify-content: center; align-items: center; min-height: 300px; }
.raven { position: relative; display: block; aspect-ratio: 931 / 371; }
.raven img { position: absolute; inset: 0; width: 100%; height: 100%; }
.raven__streak { transform-origin: var(--ox) 50%; }
.hero__mark { width: 100%; max-width: 520px; }
.hero__mark .raven__streak { animation: streakLoop 3.6s ease-in-out infinite; }
.ring { position: absolute; border-radius: 50%; border: 1px solid #141d33; aspect-ratio: 1; }
.ring--lg { width: min(520px, 110%); }
.ring--sm { width: min(360px, 80%); border-color: #182240; }
.hero__meta {
  position: relative; padding-bottom: 36px; display: flex; gap: 32px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 12.5px; color: var(--muted-2); letter-spacing: .04em;
}
.hero__city { color: var(--fg); margin-inline-end: 6px; }

/* Hero-animationer: väntar på introt om det visas. */
.js .anim { animation: rise 1s var(--ease) both; animation-delay: calc(var(--d, .1s) + var(--n) * .12s); }
.js .hero__raven { animation: fadeIn 1.6s ease both; animation-delay: calc(var(--d, .1s) + .25s); }
html.has-intro { --d: 2.9s; }
html.has-intro.intro-done { --d: 0s; }

/* ---------- Intro ---------- */
.intro { display: none; }
html.has-intro .intro {
  position: fixed; inset: 0; z-index: 100; background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  animation: introOut .9s cubic-bezier(.76, 0, .24, 1) 2.6s forwards;
}
html.has-intro.intro-done .intro { display: none; }
.intro__raven { width: 240px; }
.intro__raven .raven__streak { animation: streakIn .55s var(--ease) both; animation-delay: calc(.1s + var(--i) * .09s); }
.intro__raven .raven__head { animation: headIn .7s var(--ease) .3s both; }
.intro__word { display: flex; gap: .6em; font-family: Sora, sans-serif; font-size: clamp(26px, 4vw, 40px); letter-spacing: .16em; animation: track 1.8s var(--ease) .7s both; }
.intro__corv, .intro__it { display: flex; font-weight: 700; }
.intro__it { font-weight: 800; color: var(--red); }
.intro__word span span { display: inline-block; animation: letterIn .8s var(--ease) both; animation-delay: calc(.7s + var(--i) * .09s); }
.intro__bar { width: 160px; height: 1px; background: #1b2440; overflow: hidden; }
.intro__bar div { height: 100%; background: var(--red); transform-origin: left; animation: grow 2.2s cubic-bezier(.6, 0, .2, 1) .2s both; }

/* ---------- Sektioner ---------- */
.section { padding-block: 130px; display: flex; flex-direction: column; gap: 56px; }
#om-oss { gap: 64px; }
.band { background: var(--bg-2); border-block: 1px solid var(--line-2); }
.section__head {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: 32px 80px; align-items: end;
}
.section__titles { display: flex; flex-direction: column; gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }

/* Bildplatser */
.slot { position: relative; overflow: hidden; background: #0b1222; }
.slot__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slot__ph {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  color: #3d4864; font-size: 13px; text-align: center; padding: 20px;
  background-image: linear-gradient(#0f1830 1px, transparent 1px), linear-gradient(90deg, #0f1830 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Om oss */
.offices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 20px; }
.office { display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.office__map { position: relative; aspect-ratio: 16 / 10; background: #0b1222; border-bottom: 1px solid var(--line); overflow: hidden; }
.map { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__grid { stroke: #111a2e; stroke-width: 1; }
.map__land { fill: #121b30; stroke: #24304b; stroke-width: 1; stroke-linejoin: round; }
.map__focus { fill: rgba(200, 16, 46, .1); stroke: var(--red); stroke-width: 2.2; stroke-linejoin: round; }
.map__dot { fill: var(--red); stroke: #fff; stroke-width: 3; }
.map__pulse { fill: rgba(200, 16, 46, .12); stroke: rgba(200, 16, 46, .55); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: mapPulse 2.6s ease-out infinite; }
.office__badge {
  position: absolute; top: 18px; inset-inline-start: 18px; padding: 6px 12px; border: 1px solid rgba(200, 16, 46, .45); border-radius: 8px;
  background: rgba(7, 12, 24, .7); font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--red-soft);
}
.office__coords { position: absolute; top: 22px; inset-inline-end: 20px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; color: var(--muted-2); }
.office__caption { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding: 26px 30px 28px; }
.office__info { display: flex; flex-direction: column; gap: 6px; }
.office__city { font-family: var(--font-display); font-size: 26px; font-weight: 700; }
.office__address { font-size: 14px; line-height: 1.5; color: var(--fg-3); }
.office__time { font-family: var(--font-mono); font-size: 22px; }
.pillars {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1px;
  background: #18213a; border: 1px solid #18213a; border-radius: 16px; overflow: hidden;
}
.pillar { background: var(--bg); padding: 32px; display: flex; flex-direction: column; gap: 12px; transition: background .3s; }
.pillar:hover { background: #0b1324; }
.pillar__num { font-family: var(--font-mono); font-size: 12px; color: var(--red); }
.pillar p { font-size: 15px; line-height: 1.65; color: var(--muted); text-wrap: pretty; }

/* Advisory board */
.board { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.member { display: flex; flex-direction: column; overflow: hidden; transition: transform .35s var(--ease), border-color .35s; }
.member:hover { transform: translateY(-6px); border-color: #3b2433; }
.member__photo { aspect-ratio: 4 / 4.4; }
.member__body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 8px; }
.member__body .h3 { font-size: 20px; }
.member__body p { font-size: 14.5px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.member .eyebrow--num { font-size: 12px; letter-spacing: .08em; }

/* Tjänster */
.services { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 721px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1101px) {
  .services { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .service:first-child { grid-column: span 2; background: linear-gradient(160deg, #151d33, var(--surface) 60%); }
  .service:first-child .service__title { font-size: 26px; }
  .service:last-child { grid-column: span 2; } /* 16 kort: 2 + 14 + 2 = jämna rader */
}
.service {
  position: relative; display: flex; flex-direction: column; gap: 18px; padding: 32px; border-radius: 18px; overflow: hidden;
  scroll-margin-top: 100px;
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.service:hover { transform: translateY(-4px); border-color: #4a2433; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); }
.service:target { border-color: var(--red); }
.service__top { display: flex; justify-content: space-between; align-items: center; }
.service__icon {
  width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: rgba(200, 16, 46, .12); border: 1px solid rgba(200, 16, 46, .25); color: var(--red-soft);
}
.service__num { font-family: var(--font-mono); font-size: 12.5px; color: #4f5a73; }
.service__title { font-family: var(--font-display); font-size: 19px; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; text-wrap: balance; }
.service p { font-size: 15px; line-height: 1.65; color: var(--fg-3); text-wrap: pretty; }
.service__points { list-style: none; margin: auto 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.service__points li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.55; color: #d3d8e2; }
.service__points svg { flex-shrink: 0; margin-top: 3px; color: var(--red); }
.service__quote { align-self: flex-start; display: flex; align-items: center; gap: 8px; color: var(--red-soft); font-weight: 600; font-size: 14px; }
.service__quote:hover { color: #fff; }

/* FAQ */
.faq { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 48px 80px; align-items: start; }
.faq__list { border-top: 1px solid #1d2742; }
.faq__item { border-bottom: 1px solid #1d2742; }
.faq__q {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0;
  cursor: pointer; list-style: none; font-family: var(--font-display); font-size: 17px; font-weight: 600;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: #fff; }
.faq__icon {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; border: 1px solid #2a3552;
  display: flex; align-items: center; justify-content: center; transition: transform .3s, background .3s, border-color .3s;
}
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--red); border-color: var(--red); }
.faq__a p { padding: 0 0 24px; padding-inline-end: 52px; font-size: 15.5px; line-height: 1.7; color: var(--fg-3); text-wrap: pretty; }
/* Mjuk öppning i webbläsare som stödjer det (Chrome/Edge 131+); övriga öppnar direkt. */
@supports (interpolate-size: allow-keywords) {
  .faq__list { interpolate-size: allow-keywords; }
  .faq__item::details-content { height: 0; overflow: hidden; transition: height .4s var(--ease), content-visibility .4s allow-discrete; }
  .faq__item[open]::details-content { height: auto; }
}

/* Kontakt */
.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 56px 80px; align-items: start; }
.contact__direct { display: flex; flex-direction: column; gap: 14px; margin-top: 16px; padding-top: 28px; border-top: 1px solid #18213a; }
.contact__direct a { align-self: flex-start; font-family: Sora, sans-serif; font-size: clamp(18px, 2vw, 22px); font-weight: 600; transition: color .2s; overflow-wrap: anywhere; }
.contact__direct a:hover { color: var(--red-soft); }
.contact__direct span { font-size: 14.5px; color: var(--muted-2); }
.form {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 18px;
  padding: clamp(22px, 4vw, 36px); border-radius: 18px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9);
}
.field { display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 500; color: #b9c1d0; }
.field--full, .form__submit, .form__note, .form__error { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  padding: 14px; border-radius: 9px; border: 1px solid #232d45; background: var(--bg); color: var(--fg);
  outline: none; transition: border-color .2s; font-size: 15px; width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--red); }
.field input[aria-invalid="true"] { border-color: var(--red-soft); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__submit { margin-top: 4px; }
.form__submit[disabled] { opacity: .7; cursor: progress; }
.form__note { font-size: 12.5px; color: var(--muted-3); }
.form__note a { text-decoration: underline; }
.form__error { font-size: 14px; color: var(--red-soft); }
.form__error a { text-decoration: underline; }
.sent { padding: 56px 36px; border-radius: 18px; display: flex; flex-direction: column; gap: 14px; animation: rise .6s var(--ease) both; outline: none; }
.sent__icon { width: 52px; height: 52px; border-radius: 50%; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; }
.sent__title { margin-top: 8px; font-family: var(--font-display); font-size: 24px; font-weight: 700; }
.sent p { font-size: 16px; line-height: 1.6; color: var(--fg-3); }

/* ---------- Footer ---------- */
.footer { background: var(--bg-footer); border-top: 1px solid var(--line-2); }
.footer__inner { padding-top: 80px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 64px; }
.footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 48px 40px; }
.footer .logo { align-self: flex-start; }
.footer__slogan { font-size: 14.5px; line-height: 1.65; color: #8b95a8; max-width: 280px; }
.footer__col { display: flex; flex-direction: column; gap: 14px; font-size: 14.5px; }
.footer__col > a { color: var(--fg-2); transition: color .2s; }
.footer__col > a:hover { color: #fff; }
.footer__col--contact { gap: 18px; }
.footer__label { font-family: var(--font-mono); font-size: 12px; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-3); }
.footer__row { display: flex; gap: 12px; }
.footer__row svg { flex-shrink: 0; margin-top: 2px; color: var(--red); }
.footer__row div { display: flex; flex-direction: column; gap: 3px; }
.footer__row strong { font-weight: 500; }
.footer__row span { color: #8b95a8; line-height: 1.5; }
.footer__row a:hover { color: var(--red-soft); }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding-top: 28px; border-top: 1px solid var(--line-2); font-size: 13px; color: var(--muted-3);
}
.footer__legal { display: flex; gap: 24px; }
.footer__legal a { color: #8b95a8; }
.footer__legal a:hover { color: #fff; }

/* ---------- Integritetssida ---------- */
.legal { max-width: 760px; padding-block: 80px 120px; display: flex; flex-direction: column; gap: 16px; }
.legal .h2 { margin-top: 24px; }
.legal .h3 { margin-top: 24px; }
.legal p { font-size: 16px; line-height: 1.75; color: var(--fg-2); }
.legal__date { color: var(--muted-2) !important; font-size: 14px !important; }

/* Nyckeltal */
.stats { padding-block: 8px 0; }
.stats__list {
  list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px;
  background: #18213a; border: 1px solid #18213a; border-radius: 16px; overflow: hidden;
}
@media (min-width: 900px) { .stats__list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat { background: var(--bg-2); padding: 28px 30px; display: flex; flex-direction: column; gap: 8px; }
.stat__value { font-family: var(--font-display); font-size: clamp(34px, 4vw, 48px); font-weight: 700; line-height: 1; letter-spacing: -.02em; }
[dir="rtl"] .stat__value { text-align: right; }
.stat:first-child .stat__value { color: var(--red); }
.stat__label { font-size: 14.5px; line-height: 1.5; color: var(--muted); text-wrap: balance; }

/* Filosofi */
.slogan { font-family: var(--font-display); font-size: clamp(24px, 3.2vw, 36px); font-weight: 700; line-height: 1.25; letter-spacing: -.01em; text-wrap: balance; }

/* Avslutande uppmaning */
.cta-band { background: radial-gradient(120% 140% at 0% 0%, #1a1424 0%, var(--bg-2) 55%); border-block: 1px solid var(--line-2); }
.cta { padding-block: 96px; display: grid; gap: 40px; align-items: center; }
@media (min-width: 961px) { .cta { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 72px; } }
.cta__copy { display: flex; flex-direction: column; gap: 22px; }
.cta__buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.cta__note { font-size: 14px; color: var(--muted-2); }
.cta__person { padding: 28px; display: flex; flex-direction: column; gap: 16px; border-color: #2a2236; }
.cta__who { display: flex; align-items: center; gap: 16px; }
.cta__photo { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.cta__photo--initials {
  display: flex; align-items: center; justify-content: center; background: rgba(200, 16, 46, .14);
  border: 1px solid rgba(200, 16, 46, .35); color: var(--red-soft); font-family: var(--font-display); font-weight: 700; font-size: 22px;
}
.cta__who div { display: flex; flex-direction: column; gap: 4px; }
.cta__name { font-family: var(--font-display); font-size: 19px; font-weight: 700; }
.cta__role { font-size: 14px; color: var(--muted); }
.cta__line { font-size: 15px; color: var(--fg-2); padding-top: 12px; border-top: 1px solid var(--line); transition: color .2s; }
.cta__line:hover { color: var(--red-soft); }
[dir="rtl"] .cta__line { text-align: right; }
.footer__remote { font-size: 13.5px; color: #8b95a8; }
.footer__remote strong { color: var(--fg-2); font-weight: 500; }
.footer__remote a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Scroll-avslöjande ---------- */
.reveal-pending { opacity: 0; transform: translateY(40px); }
.reveal-in { transition: opacity 1s var(--ease), transform 1s var(--ease); }

/* ---------- Mobil ---------- */
@media (max-width: 600px) {
  :root { --gutter: 18px; }
  .section { padding-block: 88px; gap: 40px; }
  #om-oss { gap: 44px; }
  .office__caption { padding: 20px; }
  .office__coords { display: none; }
  .service { padding: 24px; }
  .hero__inner { padding-top: 120px; padding-bottom: 48px; gap: 24px; }
  .hero__raven { min-height: 200px; }
  .hero__meta { gap: 16px 24px; }
  .lang__btn span { display: none; }
  .faq__a p { padding-inline-end: 0; }
  .stat { padding: 22px 20px; }
  .cta { padding-block: 72px; }
}

/* ---------- Keyframes ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes streakIn { from { opacity: 0; transform: translateX(-70px) scaleX(.2); } to { opacity: 1; transform: none; } }
@keyframes streakLoop { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-10px); } }
@keyframes headIn { from { opacity: 0; transform: translateX(18px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes introOut { from { clip-path: inset(0 0 0 0); } to { clip-path: inset(0 0 100% 0); visibility: hidden; } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes letterIn { 0% { opacity: 0; filter: blur(10px); transform: translateY(18px); } 100% { opacity: 1; filter: blur(0); transform: none; } }
@keyframes track { from { letter-spacing: .6em; } to { letter-spacing: .16em; } }
@keyframes mapPulse { 0% { transform: scale(.5); opacity: 1; } 80%, 100% { transform: scale(1.35); opacity: 0; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal-pending { opacity: 1; transform: none; }
}
