/* ===============================
   HEADER / NAV
   =============================== */
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between; /* logo til venstre, nav + burger til høyre */
}

.nav-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Sosiale ikoner kun på PC */
.header-social {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

/* Burger-meny kun på mobil */
.burger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.burger span {
  display: block;
  width: 25px;
  height: 3px;
  background: #264653;
  border-radius: 2px;
}

/* ===============================
   HERO
   =============================== */
.hero {
  background: linear-gradient(160deg, #264653, #2a9d8f);
  color: white;
  padding: 6rem 2rem 5rem;
  border-radius: 16px;
  text-align: center;
  margin-top: 8rem;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 700px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
}

.hero-sub {
  opacity: 0.9;
  font-size: 1rem;
  margin-bottom: 2.5rem;
}

/* CTA buttons */
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-content .cta {
  background: #0f5c5c;
  color: white;
  padding: 1rem 2.2rem;
  text-decoration: none;
  border-radius: 14px;
  font-weight: 700;
}

.hero-content .cta:hover {
  background: #0b4a4a;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.25);
}

.cta-secondary {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.75);
  color: white;
  padding: 1rem 2.2rem;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 600;
}

.cta-secondary:hover {
  background: white;
  color: #264653;
}

/* ===============================
   OFFERINGS
   =============================== */
.offerings {
  padding: 5rem 1rem 4rem;
  text-align: center;
}

.offerings h2 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.offerings .intro {
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 3rem;
}

.offerings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.offering-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

.offering-card h3 {
  margin-bottom: 0.75rem;
}

.offering-card p {
  margin-bottom: 0.75rem;
}

.offering-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.12);
}

.small {
  font-size: 0.9rem;
}

/* ===============================
   ABOUT PREVIEW
   =============================== */
.about-preview {
  padding: 4rem 2rem;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.about-preview h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about-preview p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* ===============================
   TESTIMONIALS
   =============================== */
.testimonials {
  background: #f7f9fa;
  padding: 4rem 2rem;
  text-align: center;
  border-radius: 16px;
  margin: 4rem 0;
}

.testimonials h2 {
  margin-bottom: 2rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.testimonial-grid blockquote {
  background: #264653;
  color: white;
  padding: 2rem;
  border-radius: 16px;
  font-style: italic;
  line-height: 1.6;
}

.testimonial-grid cite {
  display: block;
  margin-top: 1rem;
  opacity: 0.85;
  color: #ffffff;
}

/* ===============================
   CTA LARGE
   =============================== */
.cta-large {
  text-align: center;
  padding: 5rem 2rem;
  background: linear-gradient(160deg, #264653, #2a9d8f);
  color: white;
  border-radius: 16px;
  margin: 4rem 0;
}

.cta-large h2 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.cta-large p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.cta-large a {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: #0f5c5c;
  color: white;
  text-decoration: none;
  border-radius: 14px;
  font-weight: 700;
}

.cta-large a:hover {
  background: #0b4a4a;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.25);
}

/* ===============================
   RESPONSIVE
   =============================== */
@media (max-width: 768px) {
  header .container {
    flex-direction: row; /* hold logo og burger på samme linje */
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .nav-wrapper {
    justify-content: flex-end;
    flex: 1;
    gap: 0.5rem;
  }

  .header-social {
    display: none; /* skjul sosiale ikoner på mobil */
  }

  .burger {
    display: flex; /* vis burger på mobil */
  }

  .hero {
    padding: 4rem 1.5rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .offerings {
    padding-top: 4rem;
  }

  /* ==========================
     ✅ TESTIMONIALS – MOBIL FIX
     Gjør seksjonen mindre + mer lesbar på tlf
     ========================== */
  .testimonials {
    padding: 1.75rem 1rem;  /* mindre luft rundt */
    margin: 2rem 0;         /* mindre “stor blokk” */
    border-radius: 14px;
  }

  .testimonials h2 {
    margin-bottom: 1.1rem;
    font-size: 1.4rem;
  }

  .testimonial-grid {
    gap: 1rem;              /* mindre avstand mellom kort */
  }

  .testimonial-grid blockquote {
    padding: 1.2rem;        /* mindre høyde */
    border-radius: 14px;
    font-size: 0.95rem;     /* litt mindre tekst */
    line-height: 1.5;
  }

  .testimonial-grid cite {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    opacity: 0.9;
  }
}
