:root {
  --skog: #0f3d32;
  --skog-deep: #0a2b24;
  --salvia: #688f78;
  --signal: #ff684a;
  --sand: #f7f5f2;
  --gra: #e5e7eb;
  --kol: #1f2937;
  --white: #ffffff;
  --skog-ink: #d4e0d8;
  --text-muted: #4b5b55;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px rgba(15, 61, 50, 0.12);
  --shadow-sm: 0 8px 24px rgba(15, 61, 50, 0.08);
  --header-h: 72px;
  --max: 1120px;
  --font: Inter, "Inter var", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--kol);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--skog);
}

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  background: var(--signal);
  color: var(--kol);
  font-weight: 700;
  padding: 0.6rem 1rem;
  border-radius: 8px;
}

.skip-link:focus {
  top: 1rem;
}

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  color: var(--salvia);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section {
  padding: 4.5rem 0;
}

.section h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.lead {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.125rem;
  max-width: 40rem;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

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

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

.btn-primary:hover {
  background: var(--skog-deep);
  color: var(--white);
}

.btn-signal {
  background: var(--signal);
  color: var(--kol);
}

.btn-lg {
  min-height: 3rem;
  padding: 0.9rem 1.35rem;
  font-size: 1.05rem;
}

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

.btn-ghost:hover {
  border-color: var(--white);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  border-color: var(--skog);
  color: var(--skog);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: rgba(247, 245, 242, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  border-bottom-color: var(--gra);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo img {
  height: 36px;
  width: auto;
}

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

.nav a {
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 550;
  color: var(--kol);
}

.nav a:hover {
  color: var(--skog);
}

.header-cta {
  display: none;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  display: grid;
  place-items: center;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--kol);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  background: var(--sand);
  border-bottom: 1px solid var(--gra);
  padding: 0.5rem 0 1.25rem;
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav a {
  display: block;
  padding: 0.75rem 0;
  text-decoration: none;
  font-weight: 600;
}

/* Hero */
.hero {
  position: relative;
  color: var(--white);
  background: var(--skog);
  overflow: hidden;
  padding: 3rem 0 4rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(10, 43, 36, 0.94) 0%, rgba(15, 61, 50, 0.78) 52%, rgba(15, 61, 50, 0.55) 100%),
    url("../assets/images/hero-construction.jpg") center / cover no-repeat;
}

.hero .wrap {
  position: relative;
  display: grid;
  gap: 2.5rem;
}

.hero-copy h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.05rem, 6vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  max-width: 14ch;
}

.hero-copy .hero-value {
  margin: 0 0 1.5rem;
  font-size: 1.2rem;
  color: var(--skog-ink);
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.hero-proof {
  margin: 0;
  color: var(--skog-ink);
  font-size: 0.95rem;
}

.hero-aside {
  display: grid;
  gap: 0.85rem;
}

.hero-chip {
  justify-self: start;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--white);
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
}

/* Dashboard */
.dash-frame {
  background: #0c221c;
  border-radius: 18px;
  padding: 10px 10px 14px;
  box-shadow: var(--shadow);
}

.dash {
  display: grid;
  grid-template-columns: 72px 1fr;
  min-height: 340px;
  background: #eef1ee;
  border-radius: 12px;
  overflow: hidden;
}

.dash-side {
  background: var(--skog);
  color: var(--white);
  padding: 0.85rem 0.55rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.dash-side .mark {
  width: 36px;
  height: 28px;
  margin: 0 auto 0.6rem;
}

.side-item {
  height: 32px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.72);
}

.side-item.is-active {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.side-item svg {
  width: 18px;
  height: 18px;
}

.dash-main {
  padding: 0.9rem 0.95rem 1.1rem;
}

.dash-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.85rem;
}

.dash-top h3 {
  margin: 0;
  font-size: 1rem;
  letter-spacing: -0.02em;
  color: var(--kol);
}

.example-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #fff4f1;
  color: #b73d28;
  border: 1px solid #ffd4cb;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.filter {
  background: var(--white);
  border: 1px solid var(--gra);
  border-radius: 8px;
  padding: 0.28rem 0.55rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin-bottom: 0.7rem;
}

.stat {
  background: var(--white);
  border: 1px solid var(--gra);
  border-radius: 10px;
  padding: 0.65rem 0.7rem;
}

.stat strong {
  display: block;
  font-size: clamp(1rem, 2.4vw, 1.35rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.stat span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.charts {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0.5rem;
}

.chart-card {
  background: var(--white);
  border: 1px solid var(--gra);
  border-radius: 10px;
  padding: 0.7rem;
}

.chart-card h4 {
  margin: 0 0 0.65rem;
  font-size: 0.75rem;
  font-weight: 650;
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 92px;
}

.bars i {
  flex: 1;
  display: block;
  border-radius: 3px 3px 0 0;
  background: var(--salvia);
}

.bars i:nth-child(3),
.bars i.accent {
  background: var(--signal);
}

.bars i:nth-child(5) {
  background: var(--skog);
}

.hbars {
  display: grid;
  gap: 0.45rem;
}

.hbar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.35rem;
  align-items: center;
  font-size: 0.68rem;
  color: var(--text-muted);
}

.hbar b {
  grid-column: 1 / -1;
  height: 7px;
  background: #edf1ee;
  border-radius: 99px;
  overflow: hidden;
}

.hbar b i {
  display: block;
  height: 100%;
  background: var(--skog);
  border-radius: inherit;
}

.hbar:nth-child(2) b i {
  background: var(--salvia);
}

.hbar:nth-child(3) b i {
  background: var(--signal);
}

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

  .dash-side {
    flex-direction: row;
    align-items: center;
    padding: 0.55rem;
    gap: 0.35rem;
  }

  .dash-side .mark {
    margin: 0 0.3rem 0 0;
  }

  .charts,
  .stats {
    grid-template-columns: 1fr;
  }
}

/* Problem */
.problem {
  background: var(--white);
}

.problem-grid {
  display: grid;
  gap: 1rem;
}

.problem-card {
  background: var(--sand);
  border: 1px solid var(--gra);
  border-radius: var(--radius);
  padding: 1.35rem 1.3rem;
}

.problem-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.problem-card p {
  margin: 0;
  color: var(--text-muted);
}

/* How */
.steps {
  display: grid;
  gap: 1rem;
  counter-reset: step;
}

.step {
  background: var(--white);
  border: 1px solid var(--gra);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem 1.4rem 1.4rem;
  position: relative;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.85rem;
  border-radius: 999px;
  background: var(--skog);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
}

.step h3 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
}

.step p {
  margin: 0;
  color: var(--text-muted);
}

/* Why */
.why {
  background: var(--skog);
  color: var(--white);
}

.why .eyebrow {
  color: #b7cfc3;
}

.why .lead {
  color: var(--skog-ink);
}

.pillars {
  display: grid;
  gap: 0.85rem;
}

.pillar {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 1.25rem 1.2rem;
}

.pillar .icon {
  width: 36px;
  height: 36px;
  margin-bottom: 0.8rem;
  color: var(--signal);
}

.pillar .icon img,
.pillar .icon svg {
  width: 28px;
  height: 28px;
}

.why .pillar .icon img {
  filter: invert(1);
}

.pillar h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}

.pillar p {
  margin: 0;
  color: var(--skog-ink);
  font-size: 0.98rem;
}

/* Product preview */
.preview-note {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.preview-stage {
  position: relative;
}

.preview-caption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.preview-caption strong {
  color: var(--kol);
}

/* Audience */
.audience {
  background: var(--white);
}

.audience-grid {
  display: grid;
  gap: 1rem;
}

.audience-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 240px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.35rem;
}

.audience-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 61, 50, 0.15), rgba(10, 43, 36, 0.88));
}

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

.audience-card h3,
.audience-card p {
  position: relative;
  z-index: 1;
}

.audience-card h3 {
  margin: 0 0 0.3rem;
  font-size: 1.2rem;
}

.audience-card p {
  margin: 0;
  color: var(--skog-ink);
}

/* CTA / form */
.cta {
  background:
    linear-gradient(120deg, rgba(15, 61, 50, 0.92), rgba(15, 61, 50, 0.78)),
    url("../assets/images/skyline.jpg") center / cover no-repeat;
  color: var(--white);
}

.cta .eyebrow {
  color: #c9ddd3;
}

.cta .lead {
  color: var(--skog-ink);
}

.cta-layout {
  display: grid;
  gap: 2rem;
}

.form {
  background: var(--white);
  color: var(--kol);
  border-radius: 18px;
  padding: 1.35rem;
  box-shadow: var(--shadow);
}

.form h3 {
  margin: 0 0 0.25rem;
  font-size: 1.2rem;
}

.form .form-intro {
  margin: 0 0 1.1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.field {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}

.field span {
  font-size: 0.85rem;
  font-weight: 650;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--gra);
  background: var(--sand);
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  color: var(--kol);
}

.field textarea {
  min-height: 96px;
  resize: vertical;
}

.form-note {
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.form-success {
  display: none;
  padding: 1.5rem 0.25rem;
}

.form.is-success .form-fields {
  display: none;
}

.form.is-success .form-success {
  display: block;
}

.form-success h3 {
  margin-bottom: 0.4rem;
}

.mailto {
  color: var(--skog-ink);
}

.mailto a {
  color: var(--white);
  font-weight: 700;
}

/* Footer */
.site-footer {
  background: var(--skog-deep);
  color: var(--skog-ink);
  padding: 2.5rem 0 2rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.footer-brand img {
  height: 34px;
  width: auto;
}

.footer-slogan {
  margin: 0;
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.1rem;
  font-size: 0.875rem;
}

.footer-meta a {
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
}

.footer-meta a:hover {
  color: var(--signal);
}

/* 404 */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-404 {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 1rem;
}

.page-404 .logo {
  justify-content: center;
  margin-bottom: 1.5rem;
}

.page-404 h1 {
  letter-spacing: -0.03em;
}

/* Desktop */
@media (min-width: 860px) {
  .nav,
  .header-cta {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .hero {
    padding: 4.5rem 0 5.5rem;
  }

  .hero .wrap {
    grid-template-columns: 1fr 1.05fr;
    align-items: center;
  }

  .problem-grid,
  .steps,
  .pillars {
    grid-template-columns: repeat(2, 1fr);
  }

  .pillars {
    grid-template-columns: repeat(6, 1fr);
  }

  .pillar:nth-child(1),
  .pillar:nth-child(2),
  .pillar:nth-child(3) {
    grid-column: span 2;
  }

  .pillar:nth-child(4),
  .pillar:nth-child(5) {
    grid-column: span 3;
  }

  .audience-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .cta-layout {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .footer-brand {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 640px) and (max-width: 859px) {
  .problem-grid,
  .steps,
  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pillars {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn {
    transition: none;
  }
}

#intresse {
  scroll-margin-top: 5.5rem;
}
