/* =============================================================
   LOJAL BILPLEIE — SECTIONS
   Per-section styles, написаны 1:1 с референсом (KARAD/ProMotors).
   Все breakpoints и значения извлечены из referense/style.css.

   Структура:
     0. Site Header (.site_header / sticky)
     1. Hero section (.hero_section / .hero_video_bg)
     2. Service section (.service_section / .service_split_*)
   ============================================================= */


/* ===========================================================
   0. SITE HEADER
   ----------------------------------------------------------
   Reference values (desktop):
     .site_header             absolute; top 0; z-index 99
     .header_bottom           padding: 40px 0; border-bottom transparent
     .sticky                  position: fixed
     .sticky .header_bottom   padding: 10px 0; bg rgba(18,18,18,0.8)
                              backdrop-filter: saturate(180%) blur(20px)
                              box-shadow: 0 6px 10px 0 rgba(16,18,19,0.2)
     .main_menu_list > li     15px/20px; weight 300; uppercase; mr 25px
     .main_menu_list > li > a color white → primary on hover

   Mobile ≤991px:
     burger visible; menu fixed dropdown; full-width items
   =========================================================== */

.site_header {
  top: 0;
  left: 0;
  right: 0;
  z-index: 99;
  position: absolute;
}

.site_header .header_bottom {
  padding: 40px 0;
  transition: padding 0.3s;
  border-bottom: 1px solid transparent;
}

/* --- Sticky state (JS adds .sticky class) --- */
.site_header.sticky {
  position: fixed;
}

.site_header.sticky .header_bottom {
  padding: 10px 0;
  background-color: rgba(18, 18, 18, 0.8);
  border-color: var(--bs-border-color-translucent, rgba(255,255,255,0.08));
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 6px 10px 0 rgba(16, 18, 19, 0.2);
  transition: background-color 0.3s ease-in, padding 0.4s, border-color 0.6s;
}

/* --- Logo + wordmark --- */
.site_logo {
  display: flex;
  align-items: center;
}

.site_logo .site_link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--color-fg);
}

.site_logo .site_link img {
  height: 48px;
  width: auto;
  display: block;
  transition: height 0.3s;
}

.site_header.sticky .site_logo .site_link img {
  height: 36px;
}

.site_wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  letter-spacing: var(--tracking-tight);
  color: var(--color-fg);
  white-space: nowrap;
  text-transform: uppercase;
  transition: color var(--t, 0.35s) var(--ease, ease);
}

.site_logo .site_link:hover .site_wordmark {
  color: var(--color-brand);
}

@media (max-width: 575px) {
  .site_wordmark {
    display: none;
  }
}

/* --- Main menu (desktop) --- */
.main_menu {
  padding: 0;
  display: flex;
  justify-content: center;
}

.main_menu_inner {
  display: flex;
  justify-content: center;
}

.main_menu_list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main_menu_list > li {
  font-size: 15px;
  font-weight: 300;
  line-height: 20px;
  text-transform: uppercase;
}

.main_menu_list > li:not(:last-child) {
  margin: 0 25px 0 0;
}

.main_menu_list > li > a {
  display: flex;
  padding: 10px 0;
  position: relative;
  align-items: center;
  color: var(--color-fg);
  text-decoration: none;
  transition: color var(--t, 0.35s) var(--ease, ease);
  letter-spacing: var(--tracking-wide, 0.04em);
}

.main_menu_list > li > a:hover,
.main_menu_list > li.active > a {
  color: var(--color-brand);
}

/* --- Header buttons group (right side) --- */
.header_btns_group {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 18px;
}

.header_phone a {
  font-family: var(--font-mono, monospace);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-fg);
  text-decoration: none;
  letter-spacing: var(--tracking-wide, 0.04em);
  white-space: nowrap;
  transition: color var(--t, 0.35s) var(--ease, ease);
}

.header_phone a:hover {
  color: var(--color-brand);
}

/* Burger button — hidden on desktop */
.burger_wrap {
  display: none;
}

.mobile_menu_btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}

.burger_line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-fg);
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Burger → X animation when menu open */
.mobile_menu_btn[aria-expanded="true"] .burger_line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile_menu_btn[aria-expanded="true"] .burger_line:nth-child(2) {
  opacity: 0;
}
.mobile_menu_btn[aria-expanded="true"] .burger_line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

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

@media (max-width: 1199px) {
  .header_phone { display: none; }
}

@media (max-width: 991px) {
  .site_header .header_bottom {
    padding: 16px 0;
  }

  .site_header.sticky .header_bottom {
    padding: 10px 0;
  }

  /* Burger visible */
  .burger_wrap {
    display: list-item;
    list-style: none;
  }

  /* Hide desktop CTA in header on mobile */
  .header_btns_group .btn {
    display: none;
  }

  /* Menu: fixed dropdown panel */
  .main_menu {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    z-index: 99;
    display: none;
  }

  .site_header.sticky ~ main .main_menu,
  .site_header.sticky .main_menu {
    top: 56px;
  }

  .main_menu.is-open {
    display: block;
  }

  .main_menu_inner {
    background-color: rgba(18, 18, 18, 0.95);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
  }

  .main_menu_list {
    flex-direction: column;
    align-items: flex-start;
    margin: auto;
    padding: 15px;
    max-width: 730px;
  }

  .main_menu_list > li {
    margin: 0;
    width: 100%;
  }

  .main_menu_list > li:not(:last-child) {
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .main_menu_list > li > a {
    padding: 15px 0;
    font-size: 18px;
  }
}

@media (max-width: 575px) {
  .site_logo .site_link img {
    height: 36px;
  }
  .site_header.sticky .site_logo .site_link img {
    height: 30px;
  }
}


/* ===========================================================
   1. HERO SECTION
   ----------------------------------------------------------
   Reference values (desktop):
     .hero_section            position: relative; z-index: 1
     .hero_video_bg           padding: 250px 0 250px; bg: gray_dark
     .hero_video_bg video     absolute inset 0; object-fit cover;
                              z-index -1; mix-blend-mode overlay
     .hero_title              66px / 73px
     .hero_section p          18px / 26px; pr: 10px; pb: 34px
     .hero_section .outline_text  170px / 221px; z-index -1

   ОВЕРРАЙДЫ ПОЛЬЗОВАТЕЛЯ:
     - height: 1306px фикс на desktop (вместо content-driven)
     - overlay 85% flat black (вместо mix-blend-mode)
   =========================================================== */

.hero_section {
  position: relative;
  z-index: 1;
  /* user override: фиксированная высота 1306px (замер с inspect) */
  height: 1306px;
  overflow: hidden;
  background-color: var(--color-bg-raised-2);   /* fallback пока видео грузится */
  display: flex;
  align-items: center;
}

.hero_video_bg {
  /* Padding из референса — но т.к. height фиксирован, padding теперь
     просто гарантирует что контент не прижимается к краям */
  width: 100%;
}

/* Видео-фон — absolute заполняет всю секцию */
.hero_section video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  pointer-events: none;
}

/* Затемнение 85% — поверх видео, под контентом */
.hero_overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: -1;
  pointer-events: none;
}

/* Контент */
.hero_section .container {
  position: relative;
  z-index: 1;
}

.hero_section .hero_title {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 66px;
  line-height: 73px;
  letter-spacing: var(--tracking-tight);
  margin-bottom: 20px;
  color: var(--color-fg);
}

.hero_section p {
  margin: 0;
  font-size: 18px;
  font-weight: 300;
  line-height: 26px;
  padding: 0 10px 34px 0;
  color: var(--color-fg-muted);
  max-width: 537px;
}

.hero_section .outline_text {
  z-index: -1;
  font-size: 170px;
  line-height: 221px;
  position: absolute;
}

/* Phone form (lead capture) — порт из .hero_phone_form */
.hero_phone_form .subscribe_form_inline {
  display: flex;
  align-items: stretch;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  max-width: 560px;
}

.hero_phone_form .subscribe_form_inline input[type="tel"] {
  flex: 1 1 240px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--color-fg);
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: var(--tracking-wide);
  transition: border-color var(--t) var(--ease);
}

.hero_phone_form .subscribe_form_inline input[type="tel"]::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.hero_phone_form .subscribe_form_inline input[type="tel"]:focus {
  outline: none;
  border-color: var(--color-brand);
  background: rgba(255, 255, 255, 0.09);
}

.hero_phone_form .subscribe_form_inline .btn {
  flex: 0 0 auto;
}

.hero_phone_form .form_checkboxes {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ---- Hero responsive (как в референсе) ---- */

@media (max-width: 1360px) {
  .hero_section .hero_title { font-size: 59px; line-height: 66px; }
}

@media (max-width: 1199px) {
  /* На <1200px фикс-высоту убираем — content-driven с большим padding */
  .hero_section {
    height: auto;
    min-height: 100vh;
  }
  .hero_video_bg { padding: 200px 0 100px; }
}

@media (max-width: 1024px) {
  .hero_section .hero_title { font-size: 50px; line-height: 60px; }
}

@media (max-width: 991px) {
  .hero_section .outline_text { line-height: 1; font-size: 110px; }
}

@media (max-width: 575px) {
  .hero_section .hero_title { font-size: 30px; line-height: 1.2; }
  .hero_section .outline_text { font-size: 70px; }
  .hero_section p { padding: 0 0 34px 0; }
  .hero_video_bg { padding: 150px 0 60px; }
}

@media (max-width: 425px) {
  .hero_section .hero_title { font-size: 36px; line-height: 1.2; }
}


/* ===========================================================
   2. SERVICE SECTION (Tjenester / Услуги)
   ----------------------------------------------------------
   Reference values (desktop):
     .service_split_item      display: flex; flex-wrap: wrap;
                              align-items: center
     .item_image              flex: 0 0 50%; bg: dark
     .item_image img          opacity: 0.7
     .item_content            padding: 80px; max-width: 710px
     :nth-child(even)         justify-content: flex-end
     :nth-child(even) .item_image  order: 13

   Responsive:
     @<1440  content padding 40px; max-width 100%
     @<1024  section_heading mb 25px
     @<991   split_item display: block (stacks)
             content padding: 20px 40px 80px
   =========================================================== */

.service_section {
  /* full-width, no container — section_split_items сами растягиваются */
  position: relative;
}

.service_split_wrapper {
  display: flex;
  flex-direction: column;
}

.service_split_item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
}

/* nth-child(even) — content слева, image справа через order */
.service_split_item:nth-child(even) {
  justify-content: flex-end;
}

.service_split_item:nth-child(even) .item_image {
  order: 13;
}

/* IMAGE side */
.service_split_item .item_image {
  flex: 0 0 50%;
  background-color: var(--color-bg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 1 / 0.85;        /* ≈ референсный 4:3 формат */
}

.service_split_item .item_image img,
.service_split_item .item_image .item_image_art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;                  /* как в референсе */
  display: block;
  transition: opacity var(--t-slow) var(--ease), transform var(--t-zoom) var(--ease-zoom);
}

.service_split_item:hover .item_image img,
.service_split_item:hover .item_image .item_image_art {
  opacity: 0.9;
  transform: scale(1.04);
}

/* Placeholder-art для media-плейсхолдеров (пока нет фото) */
.service_split_item .item_image_art {
  background:
    radial-gradient(ellipse at 70% 30%, rgba(191, 241, 48, 0.06) 0%, transparent 55%),
    linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 24px;
}

.service_split_item:nth-child(even) .item_image_art {
  background:
    radial-gradient(ellipse at 30% 70%, rgba(191, 241, 48, 0.06) 0%, transparent 55%),
    linear-gradient(225deg, #1a1a1a 0%, #0a0a0a 100%);
}

.service_split_item .item_image_label {
  position: relative;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-fg-subtle);
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
  opacity: 1;
}

/* CONTENT side */
.service_split_item .item_content {
  padding: 80px;
  max-width: 710px;
  flex: 0 0 50%;
}

.service_split_item .item_content .section_heading { margin-bottom: 30px; }

.service_split_item .item_content .outline_text {
  font-size: 70px;
  line-height: 80px;
  margin-bottom: 16px;
}

.service_split_item .item_content .heading_text {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 36px;
  line-height: 46px;
  margin-bottom: 14px;
  letter-spacing: var(--tracking-tight);
}

.service_split_item .item_content .heading_description {
  font-size: 16px;
  line-height: 26px;
  margin-bottom: 24px;
  color: var(--color-fg-muted);
}

.service_split_item .item_content .info_list {
  margin-bottom: 24px;
}

/* Service badge — asymmetric corner-cut, JetBrains Mono.
   Помещается ВНУТРЬ .section_heading перед .outline_text,
   рендерится как небольшой chip над заголовком. */
.service_badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 8px 0 8px 0;
  background: var(--color-bg-raised-2);
  color: var(--color-fg);
  border: 1px solid var(--color-border-strong);
  margin-bottom: 18px;
}
.service_badge--brand {
  background: var(--color-brand);
  color: var(--color-fg-inverse);
  border-color: var(--color-brand);
}

/* Service price-row — между info_list и кнопкой */
.service_split_item .item_content .service_price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 28px;
  padding-top: 4px;
}

.service_price .price_prefix {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-fg-subtle);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
}

.service_price .price_amount {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: var(--fw-bold);
  color: var(--color-brand);
  line-height: 1;
}

.service_price .price_amount--soft {
  font-size: 18px;
  color: var(--color-fg);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

.service_price .price_unit {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--color-fg-muted);
}

.service_price .price_strike {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--color-fg-subtle);
  text-decoration: line-through;
}

.service_price .price_note {
  flex-basis: 100%;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--color-fg-subtle);
  margin-top: 2px;
}

/* ---- Service responsive ---- */

@media (max-width: 1440px) {
  .service_split_item .item_content {
    padding: 40px;
    max-width: 100%;
  }
  .service_split_item > div { flex: 0 0 50%; }
}

@media (max-width: 1024px) {
  .service_split_item .section_heading { margin-bottom: 25px; }
  .service_split_item .item_content .heading_text { font-size: 30px; line-height: 38px; }
}

@media (max-width: 991px) {
  /* Stacks vertically — image full width on top, content below */
  .service_split_item { display: block; }
  .service_split_item .item_image { width: 100%; }
  .service_split_item .item_content {
    padding: 20px 40px 80px;
    max-width: 100%;
  }
  .service_split_item:nth-child(even) .item_image { order: 0; }
}

@media (max-width: 575px) {
  .service_split_item .item_content { padding: 20px 20px 60px; }
  .service_split_item .item_content .heading_text { font-size: 26px; line-height: 32px; }
  .service_split_item .item_content .outline_text { font-size: 48px; line-height: 56px; }
}


/* ===========================================================
   3. ABOUT SECTION (Om oss) — redesigned
   ----------------------------------------------------------
   Centered intro + 3 feature columns + horizontal stats-bar.
   Padding 100px 0; container 1390 (наследуется); dark bg, lime accents.
   =========================================================== */

.about_section {
  position: relative;
  padding: 100px 0;
  background-color: var(--color-bg);
}

/* Centered intro */
.about_intro {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 64px;
}

.about_intro .outline_text {
  font-size: 70px;
  line-height: 80px;
  margin-bottom: 12px;
}

.about_intro .heading_text {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 44px;
  line-height: 52px;
  letter-spacing: var(--tracking-tight);
  margin-bottom: 14px;
  color: var(--color-fg);
}

.about_intro .about_sub {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-fg-subtle);
  margin: 0;
}

/* 3 feature columns */
.about_features {
  margin-bottom: 72px;
}

.about_feature {
  height: 100%;
  padding: 36px 28px;
  text-align: center;
  background: var(--color-bg-raised-2, #161616);
  border: 1px solid var(--color-border, rgba(255,255,255,0.06));
  border-radius: 16px 0 16px 0;            /* asymmetric corner-cut, как кнопки */
  transition:
    border-color var(--t, 0.35s) var(--ease, ease),
    transform var(--t, 0.35s) var(--ease, ease);
}

.about_feature:hover {
  border-color: var(--color-brand);
  transform: translateY(-4px);
}

.about_feature .feature_icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 12px 0 12px 0;
  background: rgba(191, 241, 48, 0.08);
  color: var(--color-brand);
  margin-bottom: 22px;
}

.about_feature .feature_title {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 20px;
  line-height: 26px;
  letter-spacing: var(--tracking-tight);
  margin: 0 0 10px;
  color: var(--color-fg);
}

.about_feature .feature_text {
  font-size: 15px;
  line-height: 24px;
  color: var(--color-fg-muted);
  margin: 0;
}

/* Row gap для feature-карточек */
.about_features > [class*="col-"] {
  margin-bottom: 24px;
}

/* Horizontal stats-bar — 4 columns, lime accent */
.about_stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  gap: 0;
  padding: 28px 24px;
  background: linear-gradient(180deg, rgba(191,241,48,0.04) 0%, rgba(191,241,48,0.02) 100%);
  border: 1px solid var(--color-brand);
  border-radius: 16px 0 16px 0;
}

.about_stats .stat_item {
  text-align: center;
  padding: 8px 12px;
  border-right: 1px solid rgba(191, 241, 48, 0.18);
}

.about_stats .stat_item:last-child {
  border-right: none;
}

.about_stats .stat_value {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: var(--tracking-tight);
  color: var(--color-brand);
  margin-bottom: 4px;
}

.about_stats .stat_label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-fg-muted);
}

/* ---- About responsive ---- */

@media (max-width: 991px) {
  .about_section { padding: 70px 0; }
  .about_intro { margin-bottom: 48px; }
  .about_intro .heading_text { font-size: 36px; line-height: 44px; }
  .about_intro .outline_text { font-size: 56px; line-height: 64px; }
  .about_features { margin-bottom: 56px; }
}

@media (max-width: 767px) {
  /* Стек одной колонкой */
  .about_features > [class*="col-"] {
    width: 100%;
  }

  /* Stats-bar в 2x2 */
  .about_stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }
  .about_stats .stat_item {
    padding: 16px 8px;
    border-right: 1px solid rgba(191, 241, 48, 0.18);
    border-bottom: 1px solid rgba(191, 241, 48, 0.18);
  }
  .about_stats .stat_item:nth-child(2n) { border-right: none; }
  .about_stats .stat_item:nth-last-child(-n+2) { border-bottom: none; }
}

@media (max-width: 575px) {
  .about_section { padding: 60px 0; }
  .about_intro .heading_text { font-size: 28px; line-height: 36px; }
  .about_intro .outline_text { font-size: 44px; line-height: 52px; }
  .about_stats .stat_value { font-size: 24px; }
}


/* ===========================================================
   GLOBAL — smooth scroll + scroll-margin-top (sticky offset)
   reveal animations (Intersection Observer hookup)
   =========================================================== */

html { scroll-behavior: smooth; }

main section[id] {
  scroll-margin-top: 96px;
}

/* Reveal-on-scroll (IO hook in main.js — sets .is-visible) */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity var(--t-slower, 600ms) var(--ease, ease),
    transform var(--t-slower, 600ms) var(--ease, ease);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Shared centered section intro */
.section_intro {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}
.section_intro .outline_text {
  font-size: 70px;
  line-height: 80px;
  margin-bottom: 12px;
}
.section_intro .heading_text {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 44px;
  line-height: 52px;
  letter-spacing: var(--tracking-tight);
  margin: 0 0 14px;
  color: var(--color-fg);
}
.section_intro .intro_sub {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-fg-subtle);
  margin: 0;
}

/* Shared utility — link with arrow */
.link_arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 14px;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-brand);
  text-decoration: none;
  transition: color var(--t) var(--ease);
}
.link_arrow:hover { color: var(--color-brand-hover); }
.link_arrow--sm { font-size: 12px; }

/* Shared chip-list (tag pills) */
.chip_list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.chip {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 6px 0 6px 0;
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-fg-muted);
  border: 1px solid var(--color-border);
}

/* Block button */
.btn-block { display: flex; width: 100%; }

/* Visually hidden helper (если ещё нет) */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

@media (max-width: 991px) {
  .section_intro { margin-bottom: 44px; }
  .section_intro .heading_text { font-size: 36px; line-height: 44px; }
  .section_intro .outline_text { font-size: 56px; line-height: 64px; }
}
@media (max-width: 575px) {
  .section_intro .heading_text { font-size: 28px; line-height: 36px; }
  .section_intro .outline_text { font-size: 44px; line-height: 52px; }
}


/* ===========================================================
   4. PROCESS — Slik gjør vi det
   =========================================================== */
.process_section {
  padding: 100px 0;
  background: var(--color-bg);
  position: relative;
}

.process_timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Соединяющая горизонтальная линия */
.process_timeline::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--color-brand-dim) 15%,
    var(--color-brand-dim) 85%,
    transparent 100%);
  z-index: 0;
}

.process_step {
  position: relative;
  text-align: center;
  padding: 0 12px;
  z-index: 1;
}

.process_step .step_num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 22px;
  color: var(--color-brand);
  background: var(--color-bg);
  border: 1.5px solid var(--color-brand);
  border-radius: 16px 0 16px 0;
  position: relative;
}

.process_step .step_icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--color-fg-muted);
}

.process_step .step_title {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 20px;
  line-height: 26px;
  letter-spacing: var(--tracking-tight);
  margin: 0 0 8px;
  color: var(--color-fg);
}

.process_step .step_text {
  font-size: 14px;
  line-height: 22px;
  color: var(--color-fg-muted);
  margin: 0;
}

@media (max-width: 991px) { .process_section { padding: 70px 0; } }
@media (max-width: 767px) {
  .process_timeline {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .process_timeline::before {
    top: 0; bottom: 0;
    left: 50%; right: auto;
    width: 1px; height: auto;
    background: linear-gradient(180deg,
      transparent 0%,
      var(--color-brand-dim) 10%,
      var(--color-brand-dim) 90%,
      transparent 100%);
  }
}


/* ===========================================================
   6. GALLERY — Vårt arbeid
   =========================================================== */
.gallery_section {
  padding: 100px 0;
  background: var(--color-bg);
}

.gallery_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

.gallery_item {
  position: relative;
  aspect-ratio: 1 / 1;
  margin: 0;
  background: var(--color-bg-raised-2);
  border-radius: 12px 0 12px 0;
  overflow: hidden;
  cursor: pointer;
}
.gallery_item img,
.gallery_item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--t-zoom) var(--ease-zoom);
}
.gallery_item:hover img,
.gallery_item:hover video { transform: scale(1.05); }

.gallery_overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(191, 241, 48, 0.18);
  color: var(--color-fg-inverse);
  opacity: 0;
  transition: opacity var(--t) var(--ease);
  pointer-events: none;
}
.gallery_item:hover .gallery_overlay { opacity: 1; }

.gallery_overlay--video {
  background: rgba(0, 0, 0, 0.35);
  opacity: 1;
  color: var(--color-brand);
}
.gallery_item:hover .gallery_overlay--video { opacity: 0; }

.gallery_video { position: relative; }

.gallery_cta { text-align: center; }
.link_arrow--ig svg { color: var(--color-brand); }

@media (max-width: 991px) {
  .gallery_section { padding: 70px 0; }
  .gallery_grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .gallery_grid { grid-template-columns: 1fr; gap: 12px; }
}


/* ===========================================================
   7. TESTIMONIALS — Hva kundene sier
   =========================================================== */
.testimonials_section {
  padding: 100px 0;
  background: var(--color-bg-raised);
}

.reviews_bar {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: var(--tracking-wide);
  color: var(--color-fg-muted);
}
.reviews_stars { font-size: 16px; letter-spacing: 0; }
.reviews_score { color: var(--color-fg); font-weight: var(--fw-semibold); }
.reviews_sep { color: var(--color-fg-subtle); }

/* Slider — vanilla */
.slider { position: relative; }
.slider_viewport {
  overflow: hidden;
  margin: 0 -8px;
}
.slider_track {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  transition: transform var(--t-slow) var(--ease);
  will-change: transform;
}
.slider_slide {
  flex: 0 0 33.333%;
  padding: 0 8px;
  box-sizing: border-box;
}

.testimonial_card {
  position: relative;
  height: 100%;
  padding: 32px 26px 26px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 12px 0 12px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
/* lime accent сверху */
.testimonial_card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--color-brand);
  border-radius: 12px 0 0 0;
}

.card_stars { font-size: 14px; letter-spacing: 0; }
.card_text {
  font-size: 15px;
  line-height: 24px;
  color: var(--color-fg);
  margin: 0;
  flex: 1;
}
.card_author {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 15px;
  color: var(--color-brand);
  letter-spacing: var(--tracking-wide);
}
.testimonial_card .chip_list { margin-top: 4px; }

/* Slider controls */
.slider_controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
}
.slider_arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--color-border-strong);
  border-radius: 10px 0 10px 0;
  color: var(--color-fg);
  cursor: pointer;
  transition: all var(--t) var(--ease);
}
.slider_arrow:hover {
  border-color: var(--color-brand);
  color: var(--color-brand);
}
.slider_arrow[disabled] { opacity: 0.3; cursor: default; }

.slider_dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.slider_dot {
  width: 8px;
  height: 8px;
  padding: 0;
  background: var(--color-border-strong);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--t) var(--ease);
}
.slider_dot.is-active {
  background: var(--color-brand);
  width: 24px;
  border-radius: 4px;
}

@media (max-width: 991px) {
  .testimonials_section { padding: 70px 0; }
  .slider_slide { flex: 0 0 50%; }
}
@media (max-width: 767px) {
  .slider_slide { flex: 0 0 100%; }
}


/* ===========================================================
   8. WHY US — Hvorfor velge oss
   =========================================================== */
.why_section {
  padding: 100px 0;
  background: var(--color-bg);
}

.why_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.why_box {
  padding: 28px 24px;
  background: var(--color-bg-raised-2);
  border: 1px solid var(--color-border);
  border-radius: 12px 0 12px 0;
  transition:
    border-color var(--t) var(--ease),
    transform var(--t) var(--ease);
}
.why_box:hover {
  border-color: var(--color-brand);
  transform: translateY(-3px);
}

.why_icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  color: var(--color-brand);
  background: rgba(191, 241, 48, 0.08);
  border-radius: 10px 0 10px 0;
}

.why_title {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 18px;
  line-height: 24px;
  margin: 0 0 8px;
  color: var(--color-fg);
  letter-spacing: var(--tracking-tight);
}
.why_text {
  font-size: 14px;
  line-height: 22px;
  color: var(--color-fg-muted);
  margin: 0;
}

@media (max-width: 991px) {
  .why_section { padding: 70px 0; }
  .why_grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .why_grid { grid-template-columns: 1fr; }
}


/* ===========================================================
   10. FAQ — Ofte stilte spørsmål
   =========================================================== */
.faq_section {
  padding: 100px 0;
  background: var(--color-bg);
}

.faq_list {
  max-width: 800px;
  margin: 0 auto;
}

.faq_item {
  background: var(--color-bg-raised);
  border: 1px solid var(--color-border);
  border-radius: 12px 0 12px 0;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color var(--t) var(--ease);
}
.faq_item[open] {
  border-color: var(--color-brand);
}

.faq_q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 16px;
  line-height: 22px;
  color: var(--color-fg);
  letter-spacing: var(--tracking-tight);
}
.faq_q::-webkit-details-marker { display: none; }
.faq_q:hover { color: var(--color-brand); }

.faq_icon {
  position: relative;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
}
.faq_icon::before,
.faq_icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: currentColor;
  transition: transform var(--t) var(--ease);
}
.faq_icon::before {
  width: 14px;
  height: 2px;
  transform: translate(-50%, -50%);
}
.faq_icon::after {
  width: 2px;
  height: 14px;
  transform: translate(-50%, -50%);
}
.faq_item[open] .faq_q { color: var(--color-brand); }
.faq_item[open] .faq_icon::after {
  transform: translate(-50%, -50%) scaleY(0);
}

.faq_a {
  padding: 0 24px 20px;
  color: var(--color-fg-muted);
  font-size: 15px;
  line-height: 24px;
}
.faq_a p { margin: 0; }

@media (max-width: 991px) { .faq_section { padding: 70px 0; } }


/* ===========================================================
   11. CONTACT — Klar for å bestille?
   =========================================================== */
.contact_section {
  padding: 100px 0;
  background: var(--color-bg-raised);
}

.contact_row { row-gap: 40px; }

/* Booking steps */
.booking_steps {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.booking_steps li {
  display: flex;
  align-items: center;
  gap: 16px;
}
.booking_steps .step_n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 16px;
  color: var(--color-fg-inverse);
  background: var(--color-brand);
  border-radius: 8px 0 8px 0;
}
.booking_steps .step_t {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--color-fg);
}

/* Contact list */
.contact_list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact_list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-fg);
}
.contact_list a {
  color: var(--color-fg);
  text-decoration: none;
  transition: color var(--t) var(--ease);
}
.contact_list a:hover { color: var(--color-brand); }
.ci_icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  color: var(--color-brand);
  background: rgba(191, 241, 48, 0.08);
  border-radius: 8px 0 8px 0;
}

/* Social row */
.social_row {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.social_row a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--color-border-strong);
  border-radius: 8px 0 8px 0;
  color: var(--color-fg);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: var(--tracking-wide);
  transition: all var(--t) var(--ease);
}
.social_row a:hover {
  border-color: var(--color-brand);
  color: var(--color-brand);
}

.contact_map {
  border-radius: 12px 0 12px 0;
  overflow: hidden;
  border: 1px solid var(--color-border);
}
.contact_map iframe {
  display: block;
  filter: grayscale(0.4) brightness(0.85);
}

/* Form */
.contact_form {
  padding: 36px 32px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 16px 0 16px 0;
}
.form_row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form_field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.form_label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-fg-muted);
}
.req { color: var(--color-brand); }

.contact_form input[type="text"],
.contact_form input[type="tel"],
.contact_form input[type="email"],
.contact_form input[type="date"],
.contact_form input[type="time"],
.contact_form select,
.contact_form textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--color-bg-inset);
  border: 1px solid var(--color-border);
  border-radius: 8px 0 8px 0;
  color: var(--color-fg);
  font-family: var(--font-body);
  /* >=16px чтобы iOS не зумил при фокусе на input */
  font-size: 16px;
  line-height: 1.4;
  transition: border-color var(--t) var(--ease), background-color var(--t) var(--ease);
  /* Сброс нативных стилей — критично для date/time/select */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.contact_form input:focus,
.contact_form select:focus,
.contact_form textarea:focus {
  outline: none;
  border-color: var(--color-brand);
  background-color: rgba(255, 255, 255, 0.08);
}

/* ---- DATE / TIME / SELECT — кастомные SVG-иконки справа ---- */
.contact_form input[type="date"],
.contact_form input[type="time"],
.contact_form select {
  cursor: pointer;
  padding-right: 48px;
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 20px;
}

.contact_form input[type="date"] {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23BFF130' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='4' width='18' height='18' rx='2' ry='2'/><line x1='16' y1='2' x2='16' y2='6'/><line x1='8' y1='2' x2='8' y2='6'/><line x1='3' y1='10' x2='21' y2='10'/></svg>");
}
.contact_form input[type="time"] {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23BFF130' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><polyline points='12 6 12 12 16 14'/></svg>");
}
.contact_form select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23BFF130' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
}

/* select options — readable on dark bg (нативный popup всегда системный,
   но цвет текста опций внутри inline-list задаём явно) */
.contact_form select option {
  background-color: #1a1a1a;
  color: var(--color-fg);
}
.contact_form select:invalid,
.contact_form select option[disabled] {
  color: rgba(255, 255, 255, 0.5);
}

/* WebKit: спрятать нативную иконку календаря, оставить кликабельной всю область */
.contact_form input[type="date"]::-webkit-calendar-picker-indicator,
.contact_form input[type="time"]::-webkit-calendar-picker-indicator {
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  background: transparent;
}
.contact_form input[type="date"]::-webkit-inner-spin-button,
.contact_form input[type="date"]::-webkit-clear-button,
.contact_form input[type="time"]::-webkit-inner-spin-button,
.contact_form input[type="time"]::-webkit-clear-button {
  display: none;
  -webkit-appearance: none;
}
/* Текст внутри date input — WebKit */
.contact_form input[type="date"]::-webkit-datetime-edit,
.contact_form input[type="time"]::-webkit-datetime-edit {
  color: var(--color-fg);
  padding: 0;
}
.contact_form input[type="date"]::-webkit-datetime-edit-fields-wrapper,
.contact_form input[type="time"]::-webkit-datetime-edit-fields-wrapper {
  padding: 0;
}
.contact_form input[type="date"]:invalid::-webkit-datetime-edit,
.contact_form input[type="time"]:invalid::-webkit-datetime-edit {
  color: rgba(255, 255, 255, 0.5);
}
/* Firefox: убрать спиннер */
.contact_form input[type="date"],
.contact_form input[type="time"] {
  -moz-appearance: textfield;
}

/* .form_field — relative для абсолютных иконок (на будущее) */
.form_field { position: relative; }
.contact_form textarea { resize: vertical; min-height: 100px; }

.contact_form input[type="file"] {
  padding: 12px;
  background: var(--color-bg-inset);
  border: 1px dashed var(--color-border-strong);
  border-radius: 8px 0 8px 0;
  color: var(--color-fg-muted);
  font-family: var(--font-mono);
  font-size: 12px;
  cursor: pointer;
  width: 100%;
}

.form_check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--color-fg-muted);
  margin: 8px 0 20px;
  cursor: pointer;
}
.form_check input { margin-top: 3px; accent-color: var(--color-brand); }

.form_disclaimer {
  margin-top: 14px;
  font-size: 12px;
  color: var(--color-fg-subtle);
  text-align: center;
}
.form_disclaimer a { color: var(--color-brand); text-decoration: none; }

.form_message {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 8px 0 8px 0;
  font-family: var(--font-mono);
  font-size: 13px;
}
.form_message.is-success {
  background: rgba(191, 241, 48, 0.10);
  border: 1px solid var(--color-brand);
  color: var(--color-brand);
}
.form_message.is-error {
  background: var(--color-error-bg);
  border: 1px solid var(--color-error);
  color: var(--color-error);
}

@media (max-width: 991px) {
  .contact_section { padding: 70px 0; }
  .contact_form { padding: 28px 22px; }
  .form_row { grid-template-columns: 1fr; }
}


/* ===========================================================
   12. CTA BANNER
   =========================================================== */
.cta_banner {
  padding: 80px 0;
  background: var(--color-bg);
  border-top: 2px solid var(--color-brand);
  position: relative;
}
.cta_inner { text-align: center; max-width: 720px; margin: 0 auto; }

.cta_title {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 44px;
  line-height: 52px;
  letter-spacing: var(--tracking-tight);
  margin: 0 0 12px;
  color: var(--color-fg);
}
.cta_sub {
  font-size: 16px;
  line-height: 24px;
  color: var(--color-fg-muted);
  margin: 0 0 28px;
}
.cta_actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 575px) {
  .cta_banner { padding: 60px 0; }
  .cta_title { font-size: 30px; line-height: 38px; }
}


/* ===========================================================
   13. FOOTER
   =========================================================== */
.site_footer {
  padding: 60px 0 24px;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
}

.footer_row { row-gap: 32px; }

.footer_brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-fg);
  margin-bottom: 12px;
}
.footer_brand img { height: 36px; width: auto; }
.footer_brand span {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 18px;
  letter-spacing: var(--tracking-tight);
}

.footer_tagline {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: var(--tracking-wide);
  color: var(--color-fg-muted);
  margin: 0 0 16px;
}

.social_row--footer { margin: 0; }
.social_row--footer a {
  padding: 8px;
  width: 36px;
  height: 36px;
  justify-content: center;
}
.social_row--footer a span { display: none; }

.footer_title {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 14px;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-fg);
  margin: 0 0 16px;
}

.footer_links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer_links a,
.footer_links li {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-fg-muted);
  text-decoration: none;
  transition: color var(--t) var(--ease);
}
.footer_links a:hover { color: var(--color-brand); }

.footer_bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: var(--tracking-wide);
  color: var(--color-fg-subtle);
}
.footer_bottom a {
  color: var(--color-fg-subtle);
  text-decoration: none;
  transition: color var(--t) var(--ease);
}
.footer_bottom a:hover { color: var(--color-brand); }
.footer_sep { opacity: 0.5; }

@media (max-width: 575px) {
  .site_footer { padding: 50px 0 20px; }
}


/* ===========================================================
   14. COOKIE BANNER (fixed bottom)
   =========================================================== */
.cookie_banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: var(--z-toast);
  max-width: 720px;
  margin: 0 auto;
  background: var(--color-bg-raised);
  border: 1px solid var(--color-brand);
  border-radius: 12px 0 12px 0;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  opacity: 0;
  transition:
    transform var(--t-slow) var(--ease),
    opacity var(--t-slow) var(--ease);
}
.cookie_banner.is-visible {
  transform: none;
  opacity: 1;
}
.cookie_inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 20px;
}
.cookie_text {
  flex: 1;
  margin: 0;
  font-size: 13px;
  line-height: 20px;
  color: var(--color-fg-muted);
}
.cookie_actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

@media (max-width: 575px) {
  .cookie_inner { flex-direction: column; align-items: stretch; }
  .cookie_actions { justify-content: stretch; }
  .cookie_actions .btn { flex: 1; }
}


/* ===========================================================
   OPPLÆRING SECTION — 50/50 (courses + form)
   =========================================================== */
.opplaring_section {
  padding: 100px 0;
  background-color: var(--color-bg);
}

.opplaring_row {
  margin-top: 60px;
  align-items: stretch;
}

.opplaring_info {
  padding-right: 30px;
}

.course_list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  display: grid;
  gap: 16px;
}

.course_item {
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px 0 12px 0;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}
.course_item:hover {
  border-color: var(--color-brand);
  background: rgba(191, 241, 48, 0.04);
}

.course_head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 6px;
}

.course_title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.3;
  color: var(--color-fg);
  margin: 0;
}

.course_meta {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
  color: var(--color-brand);
  white-space: nowrap;
}

.course_desc {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 22px;
  color: var(--color-fg-muted);
}

.course_price {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-fg);
}

.course_usps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.course_usps li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--color-fg);
}

.usp_check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--color-brand);
  color: var(--color-bg);
  border-radius: 50%;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}

.opplaring_form {
  height: 100%;
}

.form_heading {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  margin: 0 0 20px;
  color: var(--color-fg);
}

@media (max-width: 991px) {
  .opplaring_section { padding: 70px 0; }
  .opplaring_info { padding-right: 0; margin-bottom: 40px; }
}
@media (max-width: 575px) {
  .opplaring_section { padding: 50px 0; }
  .course_head { flex-direction: column; gap: 4px; }
}


/* ===========================================================
   FORHANDLERE SECTION — centered, max-w 900, dark + lime accent
   =========================================================== */
.forhandlere_section {
  padding: 80px 0;
  background-color: var(--color-bg);
}

.forhandlere_card {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 50px;
  background: linear-gradient(180deg, rgba(191, 241, 48, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--color-brand);
  border-radius: 16px 0 16px 0;
  position: relative;
  text-align: center;
}

.forhandlere_intro {
  margin-bottom: 30px;
}

.partner_bullets {
  list-style: none;
  padding: 0;
  margin: 0 auto 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 32px;
}
.partner_bullets li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--color-fg);
}

.partner_text {
  max-width: 700px;
  margin: 0 auto 32px;
  font-size: 16px;
  line-height: 26px;
  color: var(--color-fg-muted);
}

.partner_actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 767px) {
  .forhandlere_section { padding: 60px 0; }
  .forhandlere_card { padding: 40px 24px; }
  .partner_bullets { flex-direction: column; align-items: flex-start; text-align: left; max-width: 320px; }
  .partner_actions .btn { width: 100%; }
}


/* ===========================================================
   CTA BANNER — 3 карточки (стек на mobile)
   =========================================================== */
.cta_cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.cta_card {
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px 0 12px 0;
  color: var(--color-fg);
  text-decoration: none;
  position: relative;
  transition: border-color 0.25s ease, transform 0.25s ease, background-color 0.25s ease;
}
.cta_card:hover {
  border-color: var(--color-brand);
  background: rgba(191, 241, 48, 0.05);
  transform: translateY(-4px);
}

.cta_card_icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(191, 241, 48, 0.12);
  color: var(--color-brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.cta_card_title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.3;
  margin: 0 0 8px;
  color: var(--color-fg);
}

.cta_card_text {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 22px;
  color: var(--color-fg-muted);
  flex: 1;
}

.cta_card_arrow {
  font-size: 22px;
  color: var(--color-brand);
  align-self: flex-end;
  transition: transform 0.25s ease;
}
.cta_card:hover .cta_card_arrow { transform: translateX(4px); }

@media (max-width: 991px) {
  .cta_cards { grid-template-columns: 1fr; }
}


/* ===========================================================
   COOKIE BANNER — категории GDPR
   =========================================================== */
.cookie_inner {
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
}

.cookie_title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  margin: 0 0 6px;
  color: var(--color-fg);
}

.cookie_categories {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cookie_cat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
}

.cookie_cat_label {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13px;
  line-height: 1.4;
}
.cookie_cat_label strong {
  color: var(--color-fg);
  font-weight: 600;
}
.cookie_cat_desc {
  color: var(--color-fg-muted);
  font-size: 12px;
}

.cookie_toggle {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
  flex-shrink: 0;
}
.cookie_toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie_toggle_track {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 22px;
  transition: background 0.2s ease;
  cursor: pointer;
}
.cookie_toggle_track::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s ease;
}
.cookie_toggle input:checked + .cookie_toggle_track {
  background: var(--color-brand);
}
.cookie_toggle input:checked + .cookie_toggle_track::after {
  transform: translateX(18px);
}
.cookie_toggle.is-disabled .cookie_toggle_track {
  opacity: 0.6;
  cursor: not-allowed;
}

.cookie_actions {
  flex-wrap: wrap;
}

@media (max-width: 575px) {
  .cookie_actions .btn { flex: 1 1 calc(50% - 5px); }
}


/* ===========================================================
   PRIVACY DIALOG (Personvernerklæring)
   =========================================================== */
.privacy_dialog {
  border: none;
  padding: 0;
  background: transparent;
  max-width: 760px;
  width: calc(100% - 32px);
  max-height: 88vh;
  border-radius: 16px 0 16px 0;
}
.privacy_dialog::backdrop {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.privacy_inner {
  background: #121212;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px 0 16px 0;
  color: var(--color-fg);
  display: flex;
  flex-direction: column;
  max-height: 88vh;
  overflow: hidden;
}

.privacy_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.privacy_title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  margin: 0;
  color: var(--color-fg);
}

.privacy_close {
  background: transparent;
  border: none;
  color: var(--color-fg-muted);
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  display: inline-flex;
  transition: color 0.2s ease, background 0.2s ease;
}
.privacy_close:hover {
  color: var(--color-brand);
  background: rgba(255, 255, 255, 0.04);
}

.privacy_body {
  padding: 24px 28px;
  overflow-y: auto;
  flex: 1;
  font-size: 14px;
  line-height: 22px;
  color: var(--color-fg-muted);
}
.privacy_body h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--color-fg);
  margin: 22px 0 10px;
}
.privacy_body p { margin: 0 0 12px; }
.privacy_body ul {
  margin: 0 0 14px;
  padding-left: 20px;
}
.privacy_body ul li { margin-bottom: 4px; }
.privacy_body a { color: var(--color-brand); }
.privacy_updated { margin-top: 24px; color: var(--color-fg-muted); }

.privacy_footer {
  padding: 16px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: flex-end;
  flex-shrink: 0;
}

@media (max-width: 575px) {
  .privacy_header { padding: 16px 18px; }
  .privacy_body { padding: 18px; }
  .privacy_footer { padding: 14px 18px; }
}


/* ===========================================================
   HERO — minimal redesign (one CTA + trust line)
   =========================================================== */
/* Hero: гарантия моментальной видимости. Никаких opacity:0,
   никаких градиентов, явный color — fail-safe против регрессий. */
.hero_section .hero_title {
  opacity: 1 !important;
  visibility: visible !important;
  color: #FFFFFF;
  -webkit-text-fill-color: #FFFFFF;
}

.hero_section .hero_sub {
  font-size: 18px;
  line-height: 28px;
  color: rgba(255, 255, 255, 0.78);
  margin: 24px 0 36px;
  padding: 0;                  /* override .hero_section p padding */
  max-width: 640px;
  opacity: 1;
  visibility: visible;
}

/* На случай если data-split всё-таки попадёт в Hero — символы видимы */
.hero_section .split-chars .char {
  opacity: 1 !important;
  transform: none !important;
}

.hero_actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.hero_trust {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: var(--tracking-wide, 0.04em);
  color: var(--color-fg);
}
.hero_trust li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero_trust .trust_sep {
  color: var(--color-brand);
  margin-right: 4px;
}

@media (max-width: 575px) {
  .hero_sub { font-size: 16px; line-height: 25px; }
  .hero_actions .btn { width: 100%; }
  .hero_trust { font-size: 12px; gap: 4px 10px; }
}


/* ===========================================================
   HONEYPOT — критически скрыт от глаз И от screen readers
   =========================================================== */
.honeypot,
.honeypot_wrap {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  /* Без bg/border, чтобы не вырисовывалось даже при принудительных стилях */
}
.honeypot_wrap input { width: 1px; }


/* ===========================================================
   FORM SUBMIT — все кнопки отправки форм
   =========================================================== */
.form-submit {
  width: auto;
  min-width: 220px;
  padding: 16px 40px;
  align-self: flex-start;
}

@media (max-width: 576px) {
  .form-submit { width: 100%; }
}


/* ===========================================================
   OPPLÆRING — simplified intro text
   =========================================================== */
.opplaring_text {
  font-size: 17px;
  line-height: 28px;
  color: var(--color-fg-muted);
  margin: 0;
  max-width: 520px;
}


/* ===========================================================
   GALLERY TRIGGER — button wrapper (для клика и a11y)
   =========================================================== */
.gallery_trigger {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
  /* Чтобы зум-эффект от .zoom-frame:hover работал на дочерний img */
}
.gallery_trigger:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 2px;
}


/* ===========================================================
   LIGHTBOX DIALOG — Galleri viewer
   =========================================================== */
.lightbox {
  border: none;
  padding: 0;
  background: transparent;
  max-width: 100vw;
  max-height: 100vh;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}
.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.lightbox[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox_figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox_img {
  max-width: 90vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 4px 0 4px 0;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.lightbox_caption {
  font-family: var(--font-mono);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  text-align: center;
}

/* Кнопки управления */
.lightbox_close,
.lightbox_nav {
  position: fixed;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
  z-index: 2;
}
.lightbox_close:hover,
.lightbox_nav:hover,
.lightbox_close:focus-visible,
.lightbox_nav:focus-visible {
  background: rgba(191, 241, 48, 0.15);
  border-color: var(--color-brand);
  color: var(--color-brand);
  outline: none;
}
.lightbox_nav:active { transform: translateY(-50%) scale(0.95); }

.lightbox_close {
  top: 24px;
  right: 24px;
}

.lightbox_nav {
  top: 50%;
  transform: translateY(-50%);
}
.lightbox_nav--prev { left: 24px; }
.lightbox_nav--next { right: 24px; }

/* Тонкая подсказка под caption (опционально, скрыто на mobile) */
@media (max-width: 575px) {
  .lightbox_close { top: 12px; right: 12px; width: 44px; height: 44px; }
  .lightbox_nav { width: 44px; height: 44px; }
  .lightbox_nav--prev { left: 8px; }
  .lightbox_nav--next { right: 8px; }
  .lightbox_img { max-height: 75vh; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .lightbox_close,
  .lightbox_nav { transition: none; }
}
