:root {
  --brand-beige: #f3e8da;
}

/* RESET */
* {
  box-sizing: border-box;
}

/* BASE */
body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  color: #2b2b2b;
  background-color: #f5f3ee;
}

/* CONTAINER */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ================= HEADER ================= */

.site-header {
  background: rgba(34, 60, 44, 0.95);
  color: white;
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.logo-image {
  height: 54px;
  width: auto;
  display: block;
}

.logo-text {
  display: flex;
  align-items: center;
  height: 54px;  
  font-weight: 700;
  font-size: 28px;
  color: var(--brand-beige);
  line-height: 1;
}

/* NAV */
.nav {
  display: flex;
  gap: 24px;
}

.nav a {
  color: var(--brand-beige);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: 0.2s ease;
}

.nav a:hover {
  opacity: 0.8;
}

/* ACTIVE */
.nav a.active {
  border-bottom: 2px solid var(--brand-beige);
}

/* ================= HERO ================= */

.hero {
  background:
    linear-gradient(rgba(34, 60, 44, 0.7), rgba(34, 60, 44, 0.7)),
    url("images/Skogbakgrunn.jpg") center/cover no-repeat;
  color: white;
  padding: 180px 0;
  text-align: center;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero p {
  max-width: 800px;
  margin: 0 auto 30px auto;
  font-size: 1.15rem;
}

.hero-title {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-title span:first-child {
  font-size: 3.8rem;
  font-weight: 700;
}

.hero-title span:last-child {
  font-size: 2.4rem;
  font-weight: 500;
  opacity: 0.95;
}

/* BUTTON */
.button {
  display: inline-block;
  background: #7a5c3e;
  color: white;
  padding: 14px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}

.button:hover {
  background: #5f462f;
}

.why-us {
  background: #e9e4d8;
}

.why-us h2 {
  text-align: center;
  margin-top: 0;
}

.why-us .cards {
  margin-top: 40px;
}

.hero-description {
  max-width: 760px;
  margin: 0 auto 30px auto;
  font-size: 1.1rem;
}

/* ================= GENERAL SECTIONS ================= */

.section {
  padding: 90px 0;
}

.page-title {
  font-size: 2.8rem;
  color: #223c2c;
  margin-bottom: 20px;
}

.intro {
  max-width: 800px;
  margin-bottom: 40px;
  font-size: 1.05rem;
}

/* ================= CARDS ================= */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.card h3 {
  margin-top: 0;
  color: #223c2c;
}

/* ================= ABOUT ================= */

.about-highlights {
  margin-top: 40px;
}

.about-highlights ul {
  list-style: none;
  padding: 0;
}

.about-highlights li {
  margin-bottom: 12px;
  padding-left: 20px;
  position: relative;
}

.about-highlights li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #7a5c3e;
}

.about-text {
  max-width: 800px;
  font-size: 1.08rem;
  line-height: 1.8;
}

.about-text p {
  margin-bottom: 22px;
}

.employee-card {
  padding: 24px 30px;
}

.employee-content {
  display: flex;
  gap: 24px;
  align-items: center;
}

.employee-text p {
  margin-top: 10px;
}

.employee-name {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 6px 0;
  color: #223c2c;
}

.employee-intro {
  margin: 10px 0 18px 0;
  font-size: 1.05rem;
  line-height: 1.7;
}

.employee-text p {
  margin-bottom: 14px;
}

.employee-text strong {
  color: #223c2c;
}

.employee-image-wrap {
  width: 350px;
  height: 350px;
  flex-shrink: 0;
}

.employee-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

/* ================= SERVICES ================= */

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.service-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.service-image {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
}

.service-content {
  padding: 24px;
}

.service-content h3 {
  margin-top: 0;
  color: #223c2c;
}

/* ================= BAEREKRAFT ================= */

.sustainability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
  margin-top: 40px;
}

.goal-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.goal-image {
  width: 100%;
  height: auto;
  display: block;
}

.goal-content {
  padding: 22px;
}

.goal-content h2 {
  margin-top: 0;
  margin-bottom: 14px;
  font-size: 1.5rem;
  color: #223c2c;
}

.goal-content h2 {
  font-size: 1.3rem;
}

.goal-content p {
  margin: 0;
  line-height: 1.75;
}

.goal-bottom-wrap {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.goal-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  border: 1px solid #eee;
}

.goal-card-bottom {
  width: min(100%, 582px);
}

@media (max-width: 1000px) {
  .sustainability-grid {
    grid-template-columns: 1fr;
  }

  .goal-image {
    height: 300px;
  }

  .goal-bottom-wrap {
    margin-top: 30px;
  }

  .goal-card-bottom {
    width: 100%;
  }
}

.sustainability-intro {
  width: 100%;
  margin: 0 0 40px 0;
}

.sustainability-intro p {
  margin: 0 0 18px 0;
  line-height: 1.8;
  font-size: 1.06rem;
}

/* ================= CONTACT PAGE ================= */

.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 720px;
  background: #d8d2b8;
  overflow: hidden;
}

.contact-image-wrap {
  min-height: 100%;
}

.contact-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* CONTACT PANEL */
.contact-panel {
  padding: 90px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-title {
  margin: 0 0 24px 0;
  font-size: 2.4rem;
  text-transform: uppercase;
  color: #6f4e37;
}

.contact-meta {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 50px;
  color: #6f4e37;
}

/* FORM */
.contact-form {
  max-width: 520px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #5b4a3a;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: none;
  padding: 14px 16px;
  font: inherit;
  background: #7a7569;
  color: white;
}

.form-group textarea {
  resize: vertical;
}

.form-button {
  background: #a9a18d;
  color: white;
  border: none;
  padding: 14px 30px;
  font-weight: 600;
  cursor: pointer;
}

.form-button:hover {
  background: #928a76;
}

/* ================= MAP ================= */

.map-section {
  padding: 80px 0;
  background: #f5f3ee;
}

.map-title {
  font-size: 2rem;
  color: #223c2c;
  margin-bottom: 24px;
}

.map-wrapper {
  width: 100%;
  height: 420px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ================= FOOTER ================= */

.site-footer {
  background: #1f1f1f;
  color: white;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  padding: 60px 0 40px;
  align-items: start;
}

.footer-column h3 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 1.1rem;
  color: var(--brand-beige);
}

.footer-column p {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.7;
}

.footer-brand {
  max-width: 340px;
}

.footer-logo-link {
  display: inline-block;
  text-decoration: none;
  margin-bottom: 18px;
}

.footer-logo {
  height: 74px;
  width: auto;
  display: block;
  object-fit: contain;
}

.footer-logo-link {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  margin-bottom: 18px;
}

.footer-logo {
  height: 54px;
  width: auto;
  display: block;
}

.footer-logo-text {
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--brand-beige);
  line-height: 1;
}

.footer-description {
  margin-top: 6px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a,
.footer-contact-link {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  transition: 0.2s ease;
}

.footer-links a:hover,
.footer-contact-link:hover {
  color: var(--brand-beige);
}

.footer-socials {
  display: flex;
  gap: 14px;
  margin-top: 18px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  text-decoration: none;
  border: 1px solid rgba(243, 232, 218, 0.35);
  border-radius: 50%;
  transition: 0.2s ease;
}

.social-icon:hover {
  background: rgba(243, 232, 218, 0.08);
  border-color: var(--brand-beige);
  transform: translateY(-2px);
}

.social-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--brand-beige);
  display: block;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 0;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1000px) {

  .site-header .container {
    flex-direction: column;
    gap: 10px;
  }

  .hero {
    padding: 120px 0;
  }

  .hero h1 {
    font-size: 2.6rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .contact-split {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    padding: 50px 25px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}