:root {
  --bg: #050505;
  --bg-elevated: #0c0c0c;
  --bg-card: #111111;
  --line: rgba(255, 255, 255, 0.1);
  --text: #f5f5f5;
  --muted: #9a9a9a;
  --white: #ffffff;
  --blue: #3b82f6;
  --blue-dim: rgba(59, 130, 246, 0.2);
  --nav-h: 4.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Syne", sans-serif;
  --font-body: "Outfit", sans-serif;
  --font-logo: "Exo 2", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

/* ——— Logo ——— */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--white);
}

.logo__mark {
  width: 2.1rem;
  height: 2.1rem;
  flex-shrink: 0;
}

.logo__word {
  font-family: var(--font-logo);
  font-weight: 800;
  font-style: italic;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  line-height: 1;
}

.logo--lg .logo__mark {
  width: 3rem;
  height: 3rem;
}

.logo--lg .logo__word {
  font-size: 1.85rem;
}

/* ——— Header ——— */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  background: rgba(5, 5, 5, 0.75);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(5, 5, 5, 0.92);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-desktop a {
  font-size: 0.9rem;
  color: var(--muted);
  transition: color 0.2s;
}

.nav-desktop a:hover,
.nav-desktop a.is-active {
  color: var(--white);
}

.nav-desktop a.is-active {
  box-shadow: inset 0 -1px 0 var(--white);
  padding-bottom: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.menu-toggle {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
}

.menu-toggle span {
  display: block;
  width: 1rem;
  height: 1.5px;
  background: var(--white);
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.3s var(--ease);
}

.menu-toggle span::before { top: -5px; }
.menu-toggle span::after { top: 5px; }

body.menu-open .menu-toggle span {
  background: transparent;
}

body.menu-open .menu-toggle span::before {
  top: 0;
  transform: rotate(45deg);
}

body.menu-open .menu-toggle span::after {
  top: 0;
  transform: rotate(-45deg);
}

@media (min-width: 860px) {
  .nav-desktop { display: flex; }
  .menu-toggle { display: none; }
}

/* Mobile nav */
.nav-mobile {
  position: fixed;
  inset: var(--nav-h) 0 0;
  z-index: 90;
  background: var(--bg);
  padding: 2rem clamp(1.25rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transform: translateY(-0.5rem);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s var(--ease);
  border-top: 1px solid var(--line);
}

body.menu-open .nav-mobile {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.nav-mobile a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
}

.nav-mobile .btn {
  margin-top: 1.5rem;
  align-self: flex-start;
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.35rem;
  font-size: 0.88rem;
  font-weight: 560;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--solid {
  background: var(--white);
  color: #000;
}

.btn--solid:hover {
  background: #e8e8e8;
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
  background: transparent;
}

.btn--ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.btn--blue {
  background: var(--blue);
  color: var(--white);
}

.btn--blue:hover {
  background: #2563eb;
}

.btn--sm {
  padding: 0.55rem 1rem;
  font-size: 0.8rem;
}

/* ——— Hero ——— */
.hero {
  min-height: 100svh;
  position: relative;
  display: grid;
  align-items: center;
  padding: calc(var(--nav-h) + 2rem) clamp(1.25rem, 4vw, 3rem) 4rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% center;
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.92) 0%, rgba(5, 5, 5, 0.55) 48%, rgba(5, 5, 5, 0.25) 100%),
    linear-gradient(to top, rgba(5, 5, 5, 0.9) 0%, transparent 40%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 34rem;
  display: grid;
  gap: 1.15rem;
  animation: fadeUp 0.85s var(--ease) both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(1.25rem); }
  to { opacity: 1; transform: none; }
}

.hero__tag {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero__services {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

/* ——— Sections ——— */
.section {
  padding: clamp(3.5rem, 8vw, 5.5rem) clamp(1.25rem, 4vw, 3rem);
}

.section--tight {
  padding-top: 2.5rem;
}

.section__head {
  margin-bottom: clamp(2rem, 4vw, 3rem);
  max-width: 36rem;
}

.section__label {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.65rem;
  display: block;
}

.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.section__text {
  margin-top: 0.85rem;
  color: var(--muted);
  max-width: 40ch;
}

/* ——— Service cards (home grid) ——— */
.service-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .service-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.15rem;
  }
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 16rem;
  padding: 1.35rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}

.service-card:hover {
  border-color: rgba(59, 130, 246, 0.45);
  transform: translateY(-3px);
}

.service-card__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  transition: opacity 0.35s, transform 0.5s var(--ease);
}

.service-card:hover .service-card__media img {
  opacity: 0.55;
  transform: scale(1.04);
}

.service-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 5, 5, 0.95) 0%, rgba(5, 5, 5, 0.35) 55%, rgba(5, 5, 5, 0.5) 100%);
}

.service-card__top {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: auto;
}

.service-card__icon {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--white);
  opacity: 0.9;
}

.service-card__arrow {
  font-size: 1.1rem;
  color: var(--muted);
  transition: color 0.2s, transform 0.2s;
}

.service-card:hover .service-card__arrow {
  color: var(--blue);
  transform: translate(2px, -2px);
}

.service-card__body {
  position: relative;
  z-index: 1;
  margin-top: 3rem;
}

.service-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.45;
}

/* ——— Service detail rows ——— */
.detail {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.detail__row {
  display: grid;
  gap: 0;
  border-bottom: 1px solid var(--line);
  min-height: 22rem;
}

@media (min-width: 900px) {
  .detail__row {
    grid-template-columns: 1fr 1.05fr;
  }

  .detail__row:nth-child(even) .detail__copy {
    order: 2;
  }

  .detail__row:nth-child(even) .detail__visual {
    order: 1;
  }
}

.detail__copy {
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  background: var(--bg);
}

.detail__copy h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.detail__copy > p {
  color: var(--muted);
  max-width: 38ch;
}

.price-list {
  display: grid;
  gap: 0.65rem;
  margin: 0.5rem 0 0.75rem;
}

.price-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}

.price-list span:first-child {
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.price-list span:last-child {
  color: var(--muted);
  white-space: nowrap;
}

.detail__visual {
  position: relative;
  min-height: 16rem;
  background: var(--bg-card);
}

.detail__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

/* ——— Values strip ——— */
.values {
  display: grid;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

@media (min-width: 720px) {
  .values {
    grid-template-columns: repeat(3, 1fr);
  }
}

.values__item {
  background: var(--bg);
  padding: 2rem clamp(1.25rem, 3vw, 2rem);
  text-align: center;
}

.values__item strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.values__item p {
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 22ch;
  margin: 0 auto;
}

/* ——— Page hero (inner) ——— */
.page-hero {
  padding: calc(var(--nav-h) + 3.5rem) clamp(1.25rem, 4vw, 3rem) 3rem;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, var(--blue-dim), transparent 55%);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-top: 0.5rem;
}

.page-hero p {
  margin-top: 1rem;
  color: var(--muted);
  max-width: 40ch;
  font-size: 1.05rem;
}

/* ——— About / info ——— */
.about-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 4rem;
  }
}

.about-grid__media {
  position: relative;
  min-height: 18rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  overflow: hidden;
}

.about-grid__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  opacity: 0.85;
}

.about-grid__copy h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.about-grid__copy p {
  color: var(--muted);
  margin-bottom: 1rem;
  max-width: 42ch;
}

.about-grid__copy p:last-of-type {
  margin-bottom: 1.5rem;
}

/* ——— Feature photo (tidligere bil) ——— */
.feature-photo {
  position: relative;
  min-height: clamp(22rem, 58vw, 34rem);
  display: grid;
  align-items: end;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-photo__media {
  position: absolute;
  inset: 0;
}

.feature-photo__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 45%;
}

.feature-photo__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(5, 5, 5, 0.92) 0%,
    rgba(5, 5, 5, 0.55) 42%,
    rgba(5, 5, 5, 0.15) 100%
  );
}

.feature-photo__copy {
  position: relative;
  z-index: 1;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 3rem);
  max-width: 34rem;
}

.feature-photo__copy h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  letter-spacing: -0.02em;
  margin: 0.65rem 0 0.75rem;
}

.feature-photo__copy p {
  color: var(--muted);
  max-width: 36ch;
}

/* ——— Contact ——— */
.contact-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: stretch;
  }
}

.contact-list {
  display: grid;
  gap: 1.35rem;
}

.contact-list li {
  display: grid;
  gap: 0.25rem;
}

.contact-list span {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
}

.contact-list a,
.contact-list p {
  font-size: 1.05rem;
}

.contact-list a:hover {
  color: var(--blue);
}

.map-frame {
  border: 1px solid var(--line);
  background: var(--bg-card);
  min-height: 20rem;
  overflow: hidden;
  filter: grayscale(1) contrast(1.05) brightness(0.7);
  transition: filter 0.3s;
}

.map-frame:hover {
  filter: grayscale(0.6) contrast(1.05) brightness(0.8);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 20rem;
  border: 0;
  display: block;
}

.hours {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.hours h3 {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

.hours p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ——— CTA band ——— */
.cta-band {
  padding: clamp(3rem, 6vw, 4.5rem) clamp(1.25rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(120deg, var(--bg-elevated), #0a1628);
}

.cta-band h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  letter-spacing: -0.02em;
}

.cta-band p {
  color: var(--muted);
  margin-top: 0.35rem;
}

/* ——— Footer ——— */
.site-footer {
  padding: 2rem clamp(1.25rem, 4vw, 3rem);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.85rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.site-footer nav a:hover {
  color: var(--white);
}

/* ——— Reveal ——— */
.reveal {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

body.menu-open {
  overflow: hidden;
}
