:root {
  --color-text: #313131;
  --color-muted: #6b6b6b;
  --color-blue: #007dff;
  --color-bg: #ffffff;
  --color-section-alt: #f5fafd;
  --max-width: 1100px;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

a { color: var(--color-blue); }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header / nav */
.site-header {
  padding: 1.25rem 0;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header img.logo {
  max-height: 48px;
  width: auto;
  display: block;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
}

.site-nav a {
  text-decoration: none;
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
}

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

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

.nav-toggle span {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: var(--color-text);
}

/* Hero */
.hero {
  background: linear-gradient(rgba(130,130,130,.5), rgba(130,130,130,.5)), url("img/forsiden.jpg") center center / cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 7rem 1.5rem;
}

.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin: 0;
  text-shadow: 0 2px 6px rgba(0,0,0,.35);
}

/* Sections */
section {
  padding: 4rem 0;
}

section.alt { background: var(--color-section-alt); }

.section-title {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

.section-title h2 {
  font-size: 1.8rem;
  margin-bottom: .5rem;
}

.section-title p {
  color: var(--color-muted);
}

/* What we do - feature grid */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.feature img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.feature h4 {
  margin: 0 0 .4rem;
  font-weight: 600;
}

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

/* Partners */
.partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 3rem;
}

.partner img {
  height: 42px;
  width: auto;
  display: block;
  filter: grayscale(100%);
  opacity: .75;
}

/* Contact */
.contact-box {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  padding: 2.5rem;
  border: 1px solid #e3e8ee;
  border-radius: 8px;
  background: #fff;
}

.email-reveal {
  display: inline-block;
  margin-top: 1rem;
  font-size: 1.15rem;
  font-weight: 600;
  padding: .7rem 1.4rem;
  border-radius: 999px;
  background: var(--color-blue);
  color: #fff;
  text-decoration: none;
}

.email-reveal:hover { opacity: .9; }

.cf-turnstile {
  display: flex;
  justify-content: center;
  margin-top: 1.25rem;
}

.email-result { margin-top: .5rem; }

.email-error {
  margin-top: .75rem;
  color: #b3261e;
  font-size: .9rem;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem 1.5rem;
  color: var(--color-muted);
  font-size: .9rem;
}

footer a { color: var(--color-muted); }

/* Privacy policy page */
.policy {
  max-width: 760px;
  margin: 0 auto;
}

.policy h2 { margin-top: 2rem; }
.policy h3 { margin-top: 1.3rem; }

@media (max-width: 640px) {
  .site-header img.logo { max-height: 36px; }

  .nav-toggle { display: flex; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-bg);
    border-top: 1px solid #e3e8ee;
    box-shadow: 0 8px 16px rgba(0,0,0,.08);
  }

  .site-nav.open { display: block; }

  .site-header .wrap { position: relative; }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: .5rem 1.5rem 1rem;
  }

  .site-nav li { width: 100%; }

  .site-nav a {
    display: block;
    padding: .6rem 0;
  }

  .hero { padding: 4.5rem 1.2rem; }
}
