/* ==========================================================================
   Valgtempo — Modern Scandinavian Cabin + Contemporary Architecture
   ========================================================================== */

:root {
  --bg: #F6F4EF;
  --bg-alt: #ECE6DB;
  --card: #FFFFFF;
  --accent: #5D7A5A;
  --accent-2: #A86E3E;
  --text: #2F312D;
  --muted: #6D6F68;
  --line: #D7D2C6;
  --radius-lg: 28px;
  --radius-md: 18px;
  --shadow-soft: 0 18px 50px -18px rgba(47, 49, 45, 0.18);
  --shadow-lift: 0 30px 70px -24px rgba(47, 49, 45, 0.28);
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.21, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-2); }

.container {
  width: min(1180px, 92%);
  margin-inline: auto;
  position: relative;
}

/* ---------- Typografi ---------- */

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 560;
  line-height: 1.14;
  color: var(--text);
  letter-spacing: -0.01em;
}

.section { padding: clamp(72px, 10vw, 130px) 0; position: relative; overflow: hidden; }
.section--alt { background: var(--bg-alt); }
.section--tint { background: var(--bg); }

.section__head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 70px); }
.section__head--center { margin-inline: auto; text-align: center; }

.section__kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 18px;
}
.section__kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--accent-2);
}

.section__title { font-size: clamp(30px, 4.4vw, 50px); margin-bottom: 18px; }

.section__title-accent {
  position: relative;
  display: inline-block;
  color: var(--accent);
}
.section__title-accent::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 3px;
  width: 100%;
  background: var(--accent-2);
  border-radius: 3px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.1s var(--ease);
}
.is-visible .section__title-accent::after { transform: scaleX(1); }

.section__lead { color: var(--muted); font-size: 17.5px; max-width: 640px; }
.section__head--center .section__lead { margin-inline: auto; }

/* ---------- Dekor ---------- */

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}
.blob--sage { background: radial-gradient(circle at 35% 35%, rgba(93, 122, 90, 0.20), rgba(93, 122, 90, 0) 70%); }
.blob--wood { background: radial-gradient(circle at 35% 35%, rgba(168, 110, 62, 0.18), rgba(168, 110, 62, 0) 70%); }

.blueprint {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  z-index: 0;
}

.divider {
  display: block;
  width: 100%;
  height: 70px;
  color: var(--bg-alt);
}
.divider--flip { transform: scaleY(-1); }

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

.header {
  position: sticky;
  top: 0;
  z-index: 130;
  background: rgba(246, 244, 239, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.header--scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -20px rgba(47, 49, 45, 0.25);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 16px 0;
}

.header__logo img { height: 46px; width: auto; }

.nav__list {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav__link {
  position: relative;
  font-size: 14.5px;
  font-weight: 550;
  color: var(--text);
  padding: 6px 0;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav__link:hover::after,
.nav__link--active::after { transform: scaleX(1); transform-origin: left; }
.nav__link--active { color: var(--accent); }

.header__contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}
.header__contacts a { color: var(--muted); }
.header__contacts a:hover { color: var(--accent); }
.header__phone { font-weight: 650; color: var(--text); font-size: 14.5px; }

.burger {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  cursor: pointer;
  position: relative;
  z-index: 120;
}
.burger__line {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.3s;
}
.burger__line:nth-child(1) { top: 16px; }
.burger__line:nth-child(2) { top: 22px; }
.burger__line:nth-child(3) { top: 28px; }
.burger--open .burger__line:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger--open .burger__line:nth-child(2) { opacity: 0; }
.burger--open .burger__line:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.burger--open { border-color: var(--accent); background: var(--bg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: var(--bg);
  padding: 110px 8% 48px;
  display: flex;
  flex-direction: column;
  gap: 36px;
  transform: translateX(100%);
  transition: transform 0.45s var(--ease);
}
.mobile-menu--open { transform: translateX(0); }
.mobile-menu__list { list-style: none; display: grid; gap: 6px; }
.mobile-menu__link {
  font-family: var(--font-head);
  font-size: 30px;
  color: var(--text);
  display: inline-block;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  width: 100%;
}
.mobile-menu__contacts {
  margin-top: auto;
  display: grid;
  gap: 8px;
  font-size: 15px;
  color: var(--muted);
}
.mobile-menu__contacts a { color: var(--muted); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: min(88vh, 860px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 90px 0 120px;
}

.hero__bg {
  position: absolute;
  inset: -8% 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(246, 244, 239, 0.94) 0%, rgba(246, 244, 239, 0.72) 42%, rgba(246, 244, 239, 0.28) 100%);
}

.hero__inner { position: relative; z-index: 2; max-width: 660px; }

.hero__panel {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(215, 210, 198, 0.8);
  border-radius: var(--radius-lg);
  padding: clamp(30px, 4.5vw, 54px);
  box-shadow: var(--shadow-soft);
  position: relative;
}
.hero__panel::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 40px;
  width: 90px;
  height: 3px;
  background: var(--accent-2);
  border-radius: 3px;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero__tag svg { flex: none; }

.hero__title {
  font-size: clamp(36px, 5.6vw, 62px);
  margin-bottom: 20px;
}
.hero__title em { font-style: normal; color: var(--accent); }

.hero__subtitle {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 34px;
  max-width: 520px;
}

.hero__meta {
  margin-top: 34px;
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--muted);
}
.hero__meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero__meta-item svg { color: var(--accent); flex: none; }

.hero__float {
  position: absolute;
  z-index: 1;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line);
  border-radius: 20px;
  backdrop-filter: blur(6px);
  padding: 16px 20px;
  font-size: 13px;
  color: var(--muted);
  box-shadow: var(--shadow-soft);
}
.hero__float strong { display: block; font-family: var(--font-head); font-size: 20px; color: var(--text); }

/* ---------- Knapper ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 34px;
  border-radius: 14px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: border-radius 0.45s var(--ease), background 0.35s var(--ease),
    color 0.35s var(--ease), box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}
.btn:hover { border-radius: 26px; transform: translateY(-2px); }

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 14px 32px -14px rgba(93, 122, 90, 0.65);
}
.btn--primary:hover { background: #4c6549; color: #fff; box-shadow: 0 20px 40px -14px rgba(93, 122, 90, 0.75); }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--accent-2); color: var(--accent-2); }

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

.about__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.about__media { position: relative; }
.about__media img {
  border-radius: var(--radius-lg);
  border-top-right-radius: 90px;
  box-shadow: var(--shadow-soft);
  width: 100%;
  height: 420px;
  object-fit: cover;
}
.about__media::after {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  border-top-right-radius: 90px;
  z-index: -1;
}

.about__badge {
  position: absolute;
  bottom: -24px;
  right: -14px;
  background: var(--accent);
  color: #fff;
  padding: 20px 24px;
  border-radius: 18px;
  box-shadow: var(--shadow-lift);
  font-size: 13px;
  line-height: 1.4;
}
.about__badge strong { display: block; font-family: var(--font-head); font-size: 26px; }

.about__text p + p { margin-top: 16px; }
.about__text p { color: var(--muted); }

/* ---------- Tjenester ---------- */

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.service-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  border-bottom-left-radius: 46px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), background 0.45s var(--ease);
}
.service-card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 4px;
  width: 42px;
  background: var(--accent-2);
  transition: width 0.5s var(--ease);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lift);
  background: #fbfaf6;
}
.service-card:hover::after { width: 100%; }

.service-card__media { position: relative; overflow: hidden; }
.service-card__media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.service-card:hover .service-card__media img { transform: scale(1.06); }

.service-card__number {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: rgba(246, 244, 239, 0.9);
  backdrop-filter: blur(4px);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-family: var(--font-head);
  font-size: 17px;
  color: var(--accent);
}

.service-card__body { padding: 26px 26px 30px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.service-card__title { font-size: 21px; }
.service-card__text { color: var(--muted); font-size: 15px; flex: 1; }
.service-card__price { font-weight: 650; color: var(--accent-2); font-size: 15px; }

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}
.service-card__link svg { transition: transform 0.35s var(--ease); }
.service-card__link:hover svg { transform: translateX(5px); }

/* ---------- Fordeler (galleri-plakater) ---------- */

.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: start;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 30px 26px;
  border-radius: var(--radius-md);
  border-top-left-radius: 40px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.feature-card:nth-child(2) { margin-top: 44px; }
.feature-card:nth-child(3) { margin-top: 12px; }
.feature-card:nth-child(4) { margin-top: 56px; }

.feature-card__icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--accent);
  margin-bottom: 20px;
  background: var(--bg);
}
.feature-card__title { font-size: 19px; margin-bottom: 10px; }
.feature-card__text { color: var(--muted); font-size: 14.5px; }

/* ---------- Tall ---------- */

.stats { position: relative; overflow: visible; }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.stats__item { position: relative; padding: 10px 0; }
.stats__item--outside { transform: translateX(-6%); }

.stats__number {
  font-family: var(--font-head);
  font-size: clamp(54px, 7vw, 92px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.4px var(--accent);
  letter-spacing: -0.02em;
}
.stats__number sup { font-size: 0.45em; -webkit-text-stroke: 1px var(--accent-2); }
.stats__label {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14.5px;
  max-width: 220px;
}
.stats__item::before {
  content: "";
  display: block;
  width: 44px;
  height: 1px;
  background: var(--accent-2);
  margin-bottom: 16px;
}

/* ---------- Prosess / trinn ---------- */

.steps { counter-reset: step; display: grid; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 28px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.step:last-child { border-bottom: 0; }
.step__num {
  font-family: var(--font-head);
  font-size: 44px;
  color: transparent;
  -webkit-text-stroke: 1.2px var(--accent-2);
  line-height: 1;
}
.step__title { font-size: 20px; margin-bottom: 8px; }
.step__text { color: var(--muted); font-size: 15px; max-width: 640px; }

/* ---------- Liste-seksjoner ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.split--reverse > .split__media { order: 2; }

.split__media { position: relative; }
.split__media img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border-bottom-left-radius: 80px;
  box-shadow: var(--shadow-soft);
}

.check-list { list-style: none; display: grid; gap: 14px; margin-top: 24px; }
.check-list__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 15.5px;
}
.check-list__item svg { flex: none; color: var(--accent); margin-top: 3px; }
.check-list__item strong { color: var(--text); font-weight: 600; }

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

.cta-band {
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(44px, 6vw, 70px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.cta-band::after {
  content: "";
  position: absolute;
  right: 20px;
  bottom: -120px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}
.cta-band__title { color: #fff; font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 10px; }
.cta-band__text { color: rgba(255, 255, 255, 0.82); max-width: 520px; }
.cta-band .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.5); position: relative; z-index: 2; }
.cta-band .btn--ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, 0.1); }

/* ---------- Skjema ---------- */

.form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(30px, 4.5vw, 52px);
  box-shadow: var(--shadow-soft);
  position: relative;
  z-index: 2;
}
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 28px; }
.form__field--full { grid-column: 1 / -1; }

.form__field { position: relative; }

.form__label {
  display: block;
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 8px;
}

.form__input,
.form__textarea {
  width: 100%;
  border: 0;
  border-bottom: 2px solid var(--line);
  background: var(--bg);
  padding: 13px 14px;
  font-family: var(--font-body);
  font-size: 15.5px;
  color: var(--text);
  border-radius: 8px 8px 0 0;
  transition: border-color 0.35s var(--ease), background 0.35s var(--ease);
}
.form__textarea { min-height: 120px; resize: vertical; }

.form__input:focus,
.form__textarea:focus {
  outline: none;
  background: #fff;
  border-bottom-color: var(--accent);
}
.form__field--error .form__input,
.form__field--error .form__textarea { border-bottom-color: #b4533c; background: #faf3f1; }

.form__error {
  display: none;
  font-size: 12.5px;
  color: #b4533c;
  margin-top: 6px;
}
.form__field--error .form__error { display: block; }

.form__note { font-size: 13px; color: var(--muted); margin-top: 18px; }

.form__success {
  display: none;
  margin-top: 22px;
  padding: 16px 20px;
  border: 1px solid var(--accent);
  border-radius: 14px;
  background: rgba(93, 122, 90, 0.08);
  color: var(--accent);
  font-size: 14.5px;
  align-items: center;
  gap: 12px;
}
.form__success--visible { display: flex; }

/* ---------- Team ---------- */

.team__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
}
.team-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  border-top-right-radius: 44px;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.team-card__photo { width: 100%; height: 260px; object-fit: cover; }
.team-card__body { padding: 22px 22px 26px; }
.team-card__name { font-size: 19px; margin-bottom: 4px; }
.team-card__role { color: var(--accent-2); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; margin-bottom: 10px; }
.team-card__text { color: var(--muted); font-size: 14px; }

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

.contact__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 72px);
  align-items: start;
}

.contact-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px 26px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.contact-card + .contact-card { margin-top: 18px; }
.contact-card__icon {
  flex: none;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--accent);
  background: var(--bg);
}
.contact-card__label { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.contact-card__value { font-size: 16px; color: var(--text); font-weight: 550; }
.contact-card__value a { color: var(--text); }
.contact-card__value a:hover { color: var(--accent); }

/* ---------- Artikkel (juridiske sider) ---------- */

.article { max-width: 780px; }
.article h2 { font-size: 26px; margin: 44px 0 14px; }
.article h2:first-of-type { margin-top: 0; }
.article p { color: var(--muted); margin-bottom: 14px; }
.article ul { margin: 0 0 16px 22px; color: var(--muted); }
.article li { margin-bottom: 8px; }
.article a { text-decoration: underline; }

/* ---------- Footer ---------- */

.footer {
  background: #2F312D;
  color: rgba(246, 244, 239, 0.72);
  padding: clamp(56px, 8vw, 90px) 0 34px;
  margin-top: 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr 1fr;
  gap: clamp(34px, 5vw, 60px);
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(246, 244, 239, 0.14);
}
.footer__logo img { height: 44px; filter: brightness(0) invert(0.94); }
.footer__brand-text { margin-top: 16px; font-size: 14px; max-width: 280px; line-height: 1.6; }
.footer__title {
  color: #F6F4EF;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 650;
  margin-bottom: 18px;
}
.footer__list { list-style: none; display: grid; gap: 10px; font-size: 14.5px; }
.footer__list a { color: rgba(246, 244, 239, 0.72); }
.footer__list a:hover { color: #fff; }
.footer__contacts { display: grid; gap: 12px; font-size: 14.5px; }
.footer__contacts a { color: rgba(246, 244, 239, 0.72); }
.footer__contacts a:hover { color: #fff; }
.footer__reg { font-size: 13px; line-height: 1.7; color: rgba(246, 244, 239, 0.55); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 28px;
  font-size: 13px;
  color: rgba(246, 244, 239, 0.5);
}

/* ---------- Side-hero (undersider) ---------- */

.page-hero {
  position: relative;
  padding: clamp(80px, 11vw, 140px) 0 clamp(60px, 8vw, 100px);
  overflow: hidden;
  background: var(--bg-alt);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero__title { font-size: clamp(36px, 5.5vw, 60px); max-width: 720px; }
.page-hero__lead { color: var(--muted); font-size: 18px; max-width: 600px; margin-top: 18px; }

.breadcrumbs {
  display: flex;
  gap: 10px;
  align-items: center;
  list-style: none;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 22px;
}
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs li[aria-current] { color: var(--accent-2); }

/* ---------- Reveal-animasjoner ---------- */

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal--d1 { transition-delay: 0.1s; }
.reveal--d2 { transition-delay: 0.2s; }
.reveal--d3 { transition-delay: 0.3s; }

/* ---------- Cookie popup ---------- */

.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 22px;
  background: rgba(246, 244, 239, 0.96);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 40px -10px rgba(47, 49, 45, 0.22);
  transform: translateY(0);
  opacity: 1;
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
}
.cookie-popup.cookie-popup--hidden {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-popup__inner {
  width: min(1180px, 92%);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-popup__text { flex: 1 1 320px; }
.cookie-popup__text strong { display: block; font-family: var(--font-head); font-size: 19px; color: var(--text); margin-bottom: 6px; }
.cookie-popup__text p { color: var(--muted); font-size: 14.5px; line-height: 1.55; margin: 0; }
.cookie-popup__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cookie-popup__btn { padding: 12px 22px; font-size: 14px; }

body.cookie-popup-open { padding-bottom: 170px; }

/* ---------- Responsivt ---------- */

@media (max-width: 1080px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card:nth-child(n) { margin-top: 0; }
  .feature-card:nth-child(even) { margin-top: 34px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__item--outside { transform: none; }
  .header__contacts { display: none; }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .burger { display: block; }
  .about__grid, .split, .contact__grid { grid-template-columns: 1fr; }
  .split--reverse > .split__media { order: 0; }
  .form__grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding: 70px 0 90px; }
  .hero__float { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .features__grid, .stats__grid { grid-template-columns: 1fr; }
  .feature-card:nth-child(even) { margin-top: 0; }
  .step { grid-template-columns: 60px 1fr; gap: 18px; }
  .footer__grid { grid-template-columns: 1fr; }
}
