/* NETN AS — Lexio storefront port (visual 1:1 from Shopify) */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: #0a1628;
  color: #ffffff;
  font-family: 'DM Sans', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
.lx-header-group {
  position: sticky;
  top: 0;
  z-index: 9999;
}
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.lx-page {
  background: #0a1628;
  min-height: 40vh;
  color: #fff;
  font-family: 'DM Sans', system-ui, sans-serif;
}
.lx-page__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 3rem 5rem;
}
.lx-page__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 500;
  color: #fff;
  margin: 0 0 1.5rem;
}
.lx-page__title em { font-style: italic; color: #c9a84c; }
.lx-page__content {
  font-size: 16px;
  line-height: 1.8;
  color: #8a9bbf;
  max-width: 720px;
}
.lx-page__content p { margin: 0 0 1.25rem; }
.lx-page__content a { color: #c9a84c; }


/* === HEADER === */

  :root {
    --lx-navy: #0f1f3d;
    --lx-navy-deep: #081429;
    --lx-gold: #c9a84c;
    --lx-gold-light: #e2c47a;
    --lx-white: #ffffff;
    --lx-text-muted: #8a9bbf;
    --lx-border-gold: rgba(201,168,76,0.35);
    --lx-font-display: 'Playfair Display', Georgia, serif;
    --lx-font-body: 'DM Sans', system-ui, sans-serif;
    --lx-h: 68px;
    --lx-z: 9999;
  }

  .lx-header *, .lx-header *::before, .lx-header *::after,
  .lx-mobile-menu *, .lx-mobile-menu *::before, .lx-mobile-menu *::after {
    box-sizing: border-box; margin: 0; padding: 0;
  }

  /* Hele header-gruppen (kunngjøringslinje + meny) festes øverst.
     Da vises seksjoner i samme rekkefølge som i temaredigereren. */
  .lx-header-group {
    position: sticky;
    top: 0;
    z-index: var(--lx-z);
  }

  .lx-header {
    position: relative;
    z-index: var(--lx-z);
    background: var(--lx-navy);
    height: var(--lx-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2.5rem;
    font-family: var(--lx-font-body);
    border-bottom: 1px solid var(--lx-border-gold);
  }

  .lx-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--lx-gold), var(--lx-gold-light), var(--lx-gold));
  }

  .lx-logo {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    line-height: 1;
  }
  .lx-logo__name {
    font-family: var(--lx-font-display);
    font-size: 22px;
    font-weight: 500;
    color: var(--lx-white);
    letter-spacing: 0.06em;
  }
  .lx-logo__name span { color: var(--lx-gold); }
  .lx-logo__sub {
    font-size: 9.5px;
    font-weight: 300;
    color: var(--lx-text-muted);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-top: 4px;
  }

  .lx-nav {
    display: flex;
    align-items: center;
    gap: 0.1rem;
    list-style: none;
  }
  .lx-nav__item { position: relative; }

  .lx-nav__link {
    font-size: 13px;
    font-weight: 600;
    color: var(--lx-white);
    text-decoration: none;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.18s, background 0.18s;
    cursor: pointer;
    background: none;
    border: none;
    font-family: var(--lx-font-body);
  }
  .lx-nav__link:hover {
    color: var(--lx-gold-light);
    background: rgba(255,255,255,0.05);
  }
  .lx-nav__item--open .lx-nav__link {
    color: var(--lx-gold);
    background: rgba(201,168,76,0.08);
  }

  .lx-nav__chevron {
    width: 10px; height: 10px;
    transition: transform 0.22s ease;
    flex-shrink: 0;
    color: var(--lx-gold);
    opacity: 0.8;
  }
  .lx-nav__item--open .lx-nav__chevron { transform: rotate(180deg); }

  .lx-nav__item--has-dropdown::after {
    content: '';
    position: absolute;
    top: 100%; left: 0; right: 0;
    height: 20px;
  }

  .lx-dropdown {
    position: absolute;
    top: calc(100% + 16px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--lx-navy-deep);
    border: 1px solid var(--lx-border-gold);
    border-radius: 10px;
    padding: 1.5rem;
    min-width: min(920px, calc(100vw - 2rem));
    width: max-content;
    max-width: calc(100vw - 2rem);
    display: none;
    gap: 1.5rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    pointer-events: none;
  }
  .lx-dropdown--cols-1 { min-width: 280px; }
  .lx-dropdown--cols-2 { min-width: 620px; }
  .lx-dropdown--cols-3 { min-width: 780px; }
  .lx-dropdown--cols-4 { min-width: 920px; }
  .lx-dropdown::before {
    content: '';
    position: absolute;
    top: -6px; left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 10px; height: 10px;
    background: var(--lx-navy-deep);
    border-top: 1px solid var(--lx-border-gold);
    border-left: 1px solid var(--lx-border-gold);
  }
  .lx-nav__item--open .lx-dropdown {
    display: flex;
    pointer-events: all;
  }

  .lx-col { flex: 1; min-width: 0; }
  .lx-col__title {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--lx-gold);
    padding-bottom: 10px;
    border-bottom: 1px solid var(--lx-border-gold);
    margin-bottom: 10px;
  }
  .lx-col__list { list-style: none; display: flex; flex-direction: column; gap: 1px; }
  .lx-col__list a {
    font-size: 13.5px;
    font-weight: 400;
    color: var(--lx-white);
    text-decoration: none;
    padding: 7px 10px;
    border-radius: 5px;
    display: block;
    line-height: 1.4;
    transition: background 0.14s, color 0.14s;
  }
  .lx-col__list a:hover {
    background: rgba(201,168,76,0.08);
    color: var(--lx-gold-light);
  }
  .lx-col-divider {
    width: 1px;
    background: var(--lx-border-gold);
    align-self: stretch;
    flex-shrink: 0;
  }

  .lx-cta {
    font-size: 12px;
    font-weight: 600;
    background: var(--lx-gold);
    color: var(--lx-navy-deep);
    padding: 9px 22px;
    border-radius: 4px;
    text-decoration: none;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    transition: background 0.18s;
    white-space: nowrap;
  }
  .lx-cta:hover { background: var(--lx-gold-light); }

  .lx-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 6px;
  }
  .lx-burger span {
    display: block;
    width: 24px; height: 2px;
    background: var(--lx-gold);
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
  }
  .lx-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .lx-burger.is-open span:nth-child(2) { opacity: 0; }
  .lx-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .lx-mobile-menu {
    display: none;
    position: fixed;
    top: var(--lx-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--lx-navy-deep);
    z-index: calc(var(--lx-z) - 1);
    overflow-y: auto;
    padding: 0 0 4rem;
    font-family: var(--lx-font-body);
    border-top: 1px solid var(--lx-border-gold);
  }
  .lx-mobile-menu.is-open { display: block; }

  .lx-mob-link {
    display: block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--lx-white);
    text-decoration: none;
    padding: 16px 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: color 0.15s, background 0.15s;
  }
  .lx-mob-link:hover { color: var(--lx-gold-light); background: rgba(255,255,255,0.03); }

  .lx-mob-accordion {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--lx-white);
    padding: 16px 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    background: none;
    border-left: 0; border-right: 0; border-top: 0;
    text-align: left;
    cursor: pointer;
    font-family: var(--lx-font-body);
    transition: color 0.15s, background 0.15s;
  }
  .lx-mob-accordion:hover { color: var(--lx-gold-light); background: rgba(255,255,255,0.03); }
  .lx-mob-accordion.is-open { color: var(--lx-gold); background: rgba(201,168,76,0.06); }

  .lx-mob-chev {
    width: 12px; height: 12px;
    flex-shrink: 0;
    color: var(--lx-gold);
    transition: transform 0.22s;
  }
  .lx-mob-accordion.is-open .lx-mob-chev { transform: rotate(180deg); }

  .lx-mob-panel {
    display: none;
    background: rgba(0,0,0,0.2);
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .lx-mob-panel.is-open { display: block; }

  .lx-mob-section-title {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--lx-gold);
    padding: 14px 1.5rem 6px;
  }
  .lx-mob-panel a {
    display: block;
    font-size: 14px;
    font-weight: 400;
    color: var(--lx-white);
    text-decoration: none;
    padding: 9px 1.5rem 9px 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: color 0.14s, background 0.14s;
  }
  .lx-mob-panel a:hover { color: var(--lx-gold-light); background: rgba(201,168,76,0.05); }
  .lx-mob-panel a:last-child { border-bottom: none; }

  .lx-mob-cta-wrap { padding: 1.5rem; }
  .lx-mob-cta-wrap .lx-cta { display: block; text-align: center; padding: 14px; }

  @media (max-width: 960px) {
    .lx-nav, .lx-header > .lx-cta { display: none; }
    .lx-burger { display: flex; }
    .lx-header { padding: 0 1.25rem; }
  }

/* === HERO === */

  :root {
    --h-navy:      #0a1628;
    --h-navy-card: #0d1b30;
    --h-gold:      #c9a84c;
    --h-gold-lt:   #e2c47a;
    --h-gold-dim:  rgba(201,168,76,0.12);
    --h-white:     #ffffff;
    --h-muted:     #8a9bbf;
    --h-border:    rgba(201,168,76,0.2);
    --h-font-d:    'Playfair Display', Georgia, serif;
    --h-font-b:    'DM Sans', system-ui, sans-serif;
  }

  .lx-hero *, .lx-hero *::before, .lx-hero *::after {
    box-sizing: border-box; margin: 0; padding: 0;
  }

  .lx-hero {
    background: var(--h-navy);
    position: relative;
    overflow: hidden;
    font-family: var(--h-font-b);
    min-height: 60vh;
    display: flex;
    align-items: center;
  }

  .lx-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
  }

  .lx-hero__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 3rem;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 5rem;
    align-items: center;
  }

  .lx-hero__left { display: flex; flex-direction: column; }

  .lx-hero__tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--h-gold-dim);
    border: 1px solid var(--h-border);
    border-radius: 100px;
    padding: 6px 16px 6px 10px;
    margin-bottom: 2rem;
    width: fit-content;
  }
  .lx-hero__tag-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--h-gold);
    flex-shrink: 0;
    box-shadow: 0 0 0 3px rgba(201,168,76,0.2);
  }
  .lx-hero__tag span {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--h-gold);
  }

  .lx-hero__h1 {
    font-family: var(--h-font-d);
    font-size: clamp(40px, 3.8vw, 58px);
    font-weight: 700;
    line-height: 1.06;
    color: var(--h-white);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
  }
  .lx-hero__h1 em {
    font-style: italic;
    color: var(--h-gold);
    font-weight: 500;
  }

  .lx-hero__rule {
    width: 48px;
    height: 2px;
    background: var(--h-gold);
    border-radius: 2px;
    margin-bottom: 1.5rem;
    opacity: 0.7;
  }

  .lx-hero__desc {
    font-size: 16px;
    line-height: 1.8;
    color: var(--h-muted);
    max-width: 480px;
    margin-bottom: 2.25rem;
  }

  .lx-hero__actions {
    display: none;
  }

  .lx-btn-gold,
  .lx-btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 14px 28px;
    border-radius: 4px;
    text-decoration: none;
    white-space: nowrap;
    min-width: 200px;
    height: 50px;
    transition: background 0.18s, border-color 0.18s, transform 0.12s;
  }

  .lx-btn-gold {
    background: var(--h-gold);
    color: #081429;
    border: 2px solid var(--h-gold);
  }
  .lx-btn-gold:hover {
    background: var(--h-gold-lt);
    border-color: var(--h-gold-lt);
    transform: translateY(-1px);
  }

  .lx-btn-ghost {
    background: transparent;
    color: var(--h-white);
    border: 2px solid rgba(255,255,255,0.22);
  }
  .lx-btn-ghost:hover {
    border-color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.05);
    transform: translateY(-1px);
  }

  .lx-hero__trust {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
  }
  .lx-hero__trust-item {
    display: flex;
    align-items: center;
    gap: 7px;
  }
  .lx-hero__trust-icon { flex-shrink: 0; }
  .lx-hero__trust-text {
    font-size: 13px;
    color: var(--h-muted);
    font-weight: 400;
  }
  .lx-hero__trust-sep {
    width: 1px;
    height: 16px;
    background: rgba(255,255,255,0.12);
    flex-shrink: 0;
  }

  .lx-hero__visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 430px;
    position: relative;
  }

  .lx-hero__visual::before {
    content: "";
    width: 340px;
    height: 340px;
    border-radius: 50%;
    border: 1px solid rgba(201,168,76,0.18);
    background:
      radial-gradient(circle at center, rgba(201,168,76,0.08) 0%, rgba(201,168,76,0.03) 42%, rgba(201,168,76,0) 70%);
    opacity: 0.9;
  }

  .lx-hero__visual::after {
    content: "§";
    position: absolute;
    font-family: var(--h-font-d);
    font-size: 190px;
    line-height: 1;
    color: rgba(201,168,76,0.16);
    transform: rotate(-8deg);
  }

  .lx-hero__card {
    width: 100%;
    background: rgba(11,22,42,0.9);
    border: 1px solid var(--h-border);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 32px 80px rgba(0,0,0,0.4), 0 0 0 1px rgba(201,168,76,0.06);
  }

  .lx-hero__card-bar {
    height: 3px;
    background: linear-gradient(90deg, var(--h-gold) 0%, var(--h-gold-lt) 50%, var(--h-gold) 100%);
  }

  .lx-hero__card-header {
    padding: 1.75rem 1.75rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    border-bottom: 1px solid rgba(201,168,76,0.1);
  }

  .lx-hero__card-icon-bg {
    width: 56px; height: 56px;
    border-radius: 12px;
    background: var(--h-gold-dim);
    border: 1px solid var(--h-border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .lx-hero__card-meta { flex: 1; }
  .lx-hero__card-title {
    font-family: var(--h-font-d);
    font-size: 18px;
    font-weight: 600;
    color: var(--h-white);
    line-height: 1.2;
    margin-bottom: 3px;
  }
  .lx-hero__card-sub {
    font-size: 12px;
    color: var(--h-muted);
    letter-spacing: 0.04em;
  }

  .lx-hero__card-body { padding: 1.5rem 1.75rem; }

  .lx-hero__card-body-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(201,168,76,0.55);
    margin-bottom: 0.875rem;
    display: block;
  }

  .lx-hero__svc-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 1.5rem;
  }

  .lx-hero__svc-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.14s, border-color 0.14s;
  }
  .lx-hero__svc-item:hover {
    background: rgba(201,168,76,0.06);
    border-color: rgba(201,168,76,0.2);
  }
  .lx-hero__svc-dot {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--h-gold);
    opacity: 0.6;
    flex-shrink: 0;
  }
  .lx-hero__svc-name {
    font-size: 13.5px;
    color: var(--h-white);
    font-weight: 400;
    flex: 1;
  }
  .lx-hero__svc-arrow {
    color: var(--h-gold);
    opacity: 0.4;
    flex-shrink: 0;
    transition: opacity 0.14s, transform 0.14s;
  }
  .lx-hero__svc-item:hover .lx-hero__svc-arrow {
    opacity: 0.9;
    transform: translateX(2px);
  }

  .lx-hero__card-footer {
    padding: 0 1.75rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .lx-hero__card-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--h-gold);
    color: #081429;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 13px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.15s;
  }
  .lx-hero__card-cta:hover { background: var(--h-gold-lt); }

  .lx-hero__card-note {
    text-align: center;
    font-size: 11.5px;
    color: var(--h-muted);
    letter-spacing: 0.02em;
  }

  @media (max-width: 1024px) {
    .lx-hero__inner {
      grid-template-columns: 1fr 380px;
      gap: 3rem;
      padding: 1.75rem 2rem;
    }
  }

  @media (max-width: 860px) {
    .lx-hero { min-height: unset; align-items: flex-start; }
    .lx-hero__inner {
      grid-template-columns: 1fr;
      padding: 1.5rem 1.25rem 1.25rem;
      gap: 2.5rem;
    }
    .lx-hero__h1 { font-size: clamp(34px, 8vw, 46px); }
    .lx-hero__desc { max-width: 100%; font-size: 15px; }
    .lx-hero__trust { gap: 1rem; }
    .lx-hero__trust-sep { display: none; }
    .lx-hero__visual { min-height: 220px; }
    .lx-hero__visual::before { width: 240px; height: 240px; }
    .lx-hero__visual::after { font-size: 140px; }
  }

  @media (max-width: 480px) {
    .lx-hero__inner { padding: 1.25rem 1rem 1rem; }
    .lx-hero__h1 { font-size: clamp(32px, 9vw, 42px); }
    .lx-hero__trust { flex-direction: column; align-items: flex-start; gap: 0.625rem; }
    .lx-hero__visual { min-height: 180px; }
    .lx-hero__visual::before { width: 200px; height: 200px; }
    .lx-hero__visual::after { font-size: 115px; }
  }

/* === HOME SECTIONS === */
/* ===== lexio-home-styles ===== */
  :root {
    --mx-navy:     #0a1628;
    --mx-navy-mid: #0d1b30;
    --mx-navy-card:#0f1f3d;
    --mx-gold:     #c9a84c;
    --mx-gold-lt:  #e2c47a;
    --mx-white:    #ffffff;
    --mx-muted:    #8a9bbf;
    --mx-border:   rgba(201,168,76,0.18);
    --mx-font-d:   'Playfair Display', Georgia, serif;
    --mx-font-b:   'DM Sans', system-ui, sans-serif;
  }

  .lx-main *, .lx-main *::before, .lx-main *::after {
    box-sizing: border-box; margin: 0; padding: 0;
  }

  .lx-main { font-family: var(--mx-font-b); background: var(--mx-navy); }

  .lx-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 3rem;
  }

  .lx-section-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--mx-gold);
    display: block;
    margin-bottom: 0.75rem;
  }

  .lx-section-title {
    font-family: var(--mx-font-d);
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 500;
    color: var(--mx-white);
    line-height: 1.15;
    margin-bottom: 1rem;
  }
  .lx-section-title em { font-style: italic; color: var(--mx-gold); }

  .lx-section-desc {
    font-size: 15px;
    line-height: 1.75;
    color: var(--mx-white);
    max-width: 560px;
  }

  .lx-section-head { margin-bottom: 3rem; }

  .lx-divider-line {
    border: none;
    height: 1px;
    background: var(--mx-border);
  }

  .lx-btn-gold {
    display: inline-block;
    background: var(--mx-gold);
    color: #081429;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 13px 28px;
    border-radius: 3px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.18s;
  }
  .lx-btn-gold:hover { background: var(--mx-gold-lt); }

  .lx-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--mx-gold);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid rgba(201,168,76,0.35);
    padding-bottom: 2px;
    transition: border-color 0.18s, color 0.18s;
    white-space: nowrap;
  }
  .lx-btn-ghost:hover { border-color: var(--mx-gold); color: var(--mx-gold-lt); }

  @media (max-width: 960px) {
    .lx-section { padding: 3.5rem 1.5rem; }
  }

/* ===== lexio-tjenester ===== */
  .lx-tjenester { background: var(--mx-navy); }

  .lx-tjenester__grid {
    display: grid;
    grid-template-columns: repeat(var(--lx-tj-cols, 2), minmax(0, 1fr));
    gap: 2rem;
  }
  .lx-tjenester__grid--cols-1 { --lx-tj-cols: 1; }
  .lx-tjenester__grid--cols-2 { --lx-tj-cols: 2; }
  .lx-tjenester__grid--cols-3 { --lx-tj-cols: 3; }
  .lx-tjenester__grid--cols-4 { --lx-tj-cols: 4; }

  .lx-tjenester__col-title {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--mx-gold);
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--mx-border);
    margin-bottom: 1.25rem;
  }

  .lx-tjenester__cards {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
  }

  .lx-tjenester__card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: var(--mx-navy-card);
    border: 1px solid var(--mx-border);
    border-radius: 8px;
    padding: 0.875rem 1.1rem;
    text-decoration: none;
    transition: border-color 0.18s, background 0.18s;
  }
  .lx-tjenester__card:hover {
    border-color: rgba(201,168,76,0.45);
    background: rgba(201,168,76,0.05);
  }

  .lx-tjenester__card-text {
    font-size: 14px;
    font-weight: 400;
    color: var(--mx-white);
    line-height: 1.4;
  }

  .lx-tjenester__card-arrow {
    flex-shrink: 0;
    color: var(--mx-gold);
    opacity: 0.6;
    transition: opacity 0.18s, transform 0.18s;
  }
  .lx-tjenester__card:hover .lx-tjenester__card-arrow {
    opacity: 1;
    transform: translateX(3px);
  }

  @media (max-width: 960px) {
    .lx-tjenester__grid { grid-template-columns: 1fr; gap: 2rem; }
  }

/* ===== lexio-hvorfor ===== */
  .lx-hvorfor { background: var(--mx-navy-mid); }

  .lx-hvorfor__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }

  .lx-hvorfor__card {
    background: var(--mx-navy-card);
    border: 1px solid var(--mx-border);
    border-radius: 10px;
    padding: 1.75rem 1.5rem;
    transition: border-color 0.18s;
  }
  .lx-hvorfor__card:hover { border-color: rgba(201,168,76,0.4); }

  .lx-hvorfor__icon { margin-bottom: 1.25rem; }

  .lx-hvorfor__card-title {
    font-family: var(--mx-font-d);
    font-size: 17px;
    font-weight: 500;
    color: var(--mx-white);
    margin-bottom: 0.625rem;
    line-height: 1.3;
  }

  .lx-hvorfor__card-text {
    font-size: 14px;
    line-height: 1.7;
    color: var(--mx-white);
    margin-bottom: 1.1rem;
  }

  .lx-hvorfor__link {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--mx-gold);
    text-decoration: none;
    border-bottom: 1px solid rgba(201,168,76,0.3);
    padding-bottom: 1px;
    transition: border-color 0.15s, color 0.15s;
  }
  .lx-hvorfor__link:hover { border-color: var(--mx-gold); color: var(--mx-gold-lt); }

  @media (max-width: 960px) {
    .lx-hvorfor__grid { grid-template-columns: 1fr 1fr; }
  }

  @media (max-width: 560px) {
    .lx-hvorfor__grid { grid-template-columns: 1fr; }
  }

/* ===== lexio-prosess ===== */
  .lx-slik { background: var(--mx-navy); }

  .lx-slik__steps {
    display: grid;
    grid-template-columns: var(--slik-cols, 1fr 48px 1fr 48px 1fr);
    align-items: center;
  }

  .lx-slik__step {
    background: var(--mx-navy-card);
    border: 1px solid var(--mx-border);
    border-radius: 10px;
    padding: 2rem 1.75rem;
    text-align: center;
  }

  .lx-slik__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(201,168,76,0.1);
    border: 1px solid var(--mx-border);
    font-family: var(--mx-font-d);
    font-size: 18px;
    font-weight: 500;
    color: var(--mx-gold);
    margin-bottom: 1.25rem;
  }

  .lx-slik__step-title {
    font-family: var(--mx-font-d);
    font-size: 18px;
    font-weight: 500;
    color: var(--mx-white);
    margin-bottom: 0.625rem;
  }

  .lx-slik__step-text {
    font-size: 14px;
    line-height: 1.7;
    color: var(--mx-white);
  }

  .lx-slik__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mx-gold);
    opacity: 0.45;
  }

  @media (max-width: 960px) {
    .lx-slik__steps { grid-template-columns: 1fr; gap: 1rem; }
    .lx-slik__arrow { transform: rotate(90deg); }
  }

/* ===== lexio-pris ===== */
  .lx-pris { background: var(--mx-navy-mid); }

  .lx-pris__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .lx-pris__card {
    background: var(--mx-navy-card);
    border: 1px solid var(--mx-border);
    border-radius: 10px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: border-color 0.18s;
  }
  .lx-pris__card:hover { border-color: rgba(201,168,76,0.4); }

  .lx-pris__card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
  }

  .lx-pris__card-name {
    font-family: var(--mx-font-d);
    font-size: 18px;
    font-weight: 500;
    color: var(--mx-white);
    line-height: 1.3;
  }

  .lx-pris__badge {
    flex-shrink: 0;
    background: rgba(201,168,76,0.1);
    border: 1px solid var(--mx-border);
    border-radius: 3px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.07em;
    color: var(--mx-gold);
    white-space: nowrap;
  }

  .lx-pris__card-desc {
    font-size: 14px;
    line-height: 1.65;
    color: var(--mx-white);
    flex: 1;
  }

  .lx-pris__card-link {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--mx-gold);
    text-decoration: none;
    border-bottom: 1px solid rgba(201,168,76,0.3);
    padding-bottom: 1px;
    align-self: flex-start;
    transition: border-color 0.15s, color 0.15s;
  }
  .lx-pris__card-link:hover { border-color: var(--mx-gold); color: var(--mx-gold-lt); }

  .lx-pris__cta-wrap {
    margin-top: 2.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
  }

  @media (max-width: 960px) {
    .lx-pris__grid { grid-template-columns: 1fr 1fr; }
  }

  @media (max-width: 560px) {
    .lx-pris__grid { grid-template-columns: 1fr; }
  }

/* ===== lexio-kontakt-cta ===== */
  .lx-kontakt-cta {
    background: var(--mx-navy-card);
    border-top: 1px solid var(--mx-border);
    border-bottom: 1px solid var(--mx-border);
  }

  .lx-kontakt-cta__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 3rem;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 3rem;
  }

  .lx-kontakt-cta__title {
    font-family: var(--mx-font-d);
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 500;
    color: var(--mx-white);
    line-height: 1.2;
    margin-bottom: 0.875rem;
  }
  .lx-kontakt-cta__title em { font-style: italic; color: var(--mx-gold); }

  .lx-kontakt-cta__text {
    font-size: 15px;
    line-height: 1.75;
    color: var(--mx-white);
    max-width: 520px;
  }

  .lx-kontakt-cta__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
    flex-shrink: 0;
  }

  @media (max-width: 960px) {
    .lx-kontakt-cta__inner { grid-template-columns: 1fr; padding: 3.5rem 1.5rem; }
    .lx-kontakt-cta__actions { align-items: flex-start; flex-direction: row; flex-wrap: wrap; }
  }

/* === FOOTER === */

  :root {
    --fx-navy:    #0a1628;
    --fx-gold:    #c9a84c;
    --fx-gold-lt: #e2c47a;
    --fx-white:   #ffffff;
    --fx-muted:   #8a9bbf;
    --fx-border:  rgba(201,168,76,0.18);
    --fx-font-d:  'Playfair Display', Georgia, serif;
    --fx-font-b:  'DM Sans', system-ui, sans-serif;
  }

  .lx-footer *, .lx-footer *::before, .lx-footer *::after {
    box-sizing: border-box; margin: 0; padding: 0;
  }

  .lx-footer {
    background: var(--fx-navy);
    border-top: 1px solid var(--fx-border);
    font-family: var(--fx-font-b);
    position: relative;
    overflow: hidden;
  }
  .lx-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--fx-gold), transparent);
    opacity: 0.5;
  }
  .lx-footer::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 3px; height: 100%;
    background: rgba(201,168,76,0.45);
  }

  .lx-footer__main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 3rem 3rem;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 3rem;
  }
  .lx-footer__main--dynamic {
    grid-template-columns: 1.4fr repeat(calc(var(--lx-ft-cols, 4) - 2), minmax(0, 1fr)) 1.2fr;
  }

  .lx-footer__logo {
    text-decoration: none;
    display: inline-flex;
    flex-direction: column;
    line-height: 1;
    margin-bottom: 1.25rem;
  }
  .lx-footer__logo-name {
    font-family: var(--fx-font-d);
    font-size: 22px;
    font-weight: 500;
    color: var(--fx-white);
    letter-spacing: 0.06em;
  }
  .lx-footer__logo-name span { color: var(--fx-gold); }
  .lx-footer__logo-sub {
    font-size: 10px;
    font-weight: 300;
    color: var(--fx-muted);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-top: 4px;
  }

  .lx-footer__about {
    font-size: 14px;
    line-height: 1.75;
    color: var(--fx-white);
    max-width: 280px;
  }

  .lx-footer__col-title {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--fx-gold);
    margin-bottom: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--fx-border);
    display: block;
  }

  .lx-footer__links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .lx-footer__links a {
    font-size: 14px;
    color: var(--fx-white);
    text-decoration: none;
    padding: 5px 0;
    display: block;
    transition: color 0.15s, padding-left 0.15s;
    line-height: 1.5;
  }
  .lx-footer__links a:hover {
    color: var(--fx-gold-lt);
    padding-left: 4px;
  }

  .lx-footer__contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  .lx-footer__contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
  }
  .lx-footer__contact-icon {
    flex-shrink: 0;
    margin-top: 2px;
    opacity: 0.75;
  }
  .lx-footer__contact-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(201,168,76,0.6);
    display: block;
    margin-bottom: 2px;
  }
  .lx-footer__contact-val {
    font-size: 14px;
    color: var(--fx-white);
    text-decoration: none;
    transition: color 0.15s;
    display: block;
    line-height: 1.4;
  }
  a.lx-footer__contact-val:hover { color: var(--fx-gold-lt); }

  .lx-footer__divider {
    max-width: 1200px;
    margin: 0 auto;
    height: 1px;
    background: var(--fx-border);
    margin-left: 3rem;
    margin-right: 3rem;
  }

  .lx-footer__bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.25rem 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  .lx-footer__copy {
    font-size: 13px;
    color: rgba(255,255,255,0.35);
    letter-spacing: 0.03em;
    line-height: 1.5;
  }
  .lx-footer__credit-extra {
    font-size: 11px;
  }
  .lx-footer__netn {
    color: var(--fx-gold);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.15s;
  }
  .lx-footer__netn:hover {
    color: var(--fx-gold-lt);
  }
  .lx-footer__bottom-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
  }
  .lx-footer__bottom-links a {
    font-size: 13px;
    color: rgba(255,255,255,0.35);
    text-decoration: none;
    transition: color 0.15s;
  }
  .lx-footer__bottom-links a:hover { color: var(--fx-gold); }

  .lx-footer__acc-btn { display: none; }
  .lx-footer__acc-panel { display: block; }

  @media (max-width: 960px) {
    .lx-footer__main {
      grid-template-columns: 1fr 1fr;
      padding: 3rem 1.5rem 2.5rem;
      gap: 2rem;
    }
    .lx-footer__about { max-width: 100%; }
    .lx-footer__divider { margin-left: 1.5rem; margin-right: 1.5rem; }
  }

  @media (max-width: 560px) {
    .lx-footer__main {
      grid-template-columns: 1fr;
      gap: 0;
      padding: 2.5rem 1.25rem 1.5rem;
    }

    .lx-footer__col--about {
      padding-bottom: 2rem;
      border-bottom: 1px solid var(--fx-border);
    }

    .lx-footer__col--acc {
      border-bottom: 1px solid var(--fx-border);
    }

    .lx-footer__col--acc .lx-footer__col-title {
      display: none;
    }

    .lx-footer__acc-btn {
      display: flex;
      width: 100%;
      align-items: center;
      justify-content: space-between;
      background: none;
      border: none;
      padding: 16px 0;
      cursor: pointer;
      font-family: var(--fx-font-b);
    }

    .lx-footer__acc-btn-label {
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--fx-gold);
    }

    .lx-footer__acc-icon {
      width: 22px;
      height: 22px;
      border: 1px solid var(--fx-border);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      transition: background 0.15s;
    }
    .lx-footer__acc-btn:hover .lx-footer__acc-icon {
      background: rgba(201,168,76,0.1);
    }

    .lx-footer__acc-icon .h-line {
      transition: opacity 0.2s;
    }
    .lx-footer__acc-btn.is-open .lx-footer__acc-icon .h-line {
      opacity: 0;
    }

    .lx-footer__acc-panel {
      display: none;
      padding-bottom: 1rem;
    }
    .lx-footer__acc-panel.is-open {
      display: block;
    }

    .lx-footer__col--contact {
      padding-top: 1.5rem;
    }

    .lx-footer__bottom {
      flex-direction: column;
      align-items: flex-start;
      padding: 1.25rem 1.25rem;
    }
    .lx-footer__divider {
      margin-left: 1.25rem;
      margin-right: 1.25rem;
    }
  }
