/* ==============================
   GRUNDINSTÄLLNINGAR
================================= */

:root {
  --green: #293f35;
  --green-dark: #1d3028;
  --green-light: #40594a;
  --beige: #f3f0e8;
  --cream: #e9e3d6;
  --white: #ffffff;
  --orange: #c47d55;
  --text: #343a35;
  --muted: #777d75;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: "DM Sans", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

h1,
h2,
h3 {
  font-family: "Manrope", sans-serif;
  line-height: 1.2;
}

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

img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.container {
  width: min(1160px, 90%);
  margin: 0 auto;
}

.section-padding {
  padding: 70px 0;
}

.eyebrow {
  display: inline-block;
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.light-eyebrow {
  color: #d9ad8c;
}

/* ==============================
 HEADER & NAVIGATION
================================= */

.header {
  background: var(--white);
  height: 88px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #ecece7;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  width: 300px;
  height: 200px;
  object-fit: contain;
  object-position: left center;
}

/* HAMBURGARMENY – VISAS ALLTID */

.menu-toggle {
  position: relative;
  display: block;
  flex-shrink: 0;
  width: 45px;
  height: 42px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1002;
}

.menu-toggle span {
  position: absolute;
  display: block;
  width: 25px;
  height: 3px;
  left: 50%;
  top: 50%;
  margin-left: -12.5px;
  background: var(--green);
  border-radius: 2px;
  transform-origin: center center;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hamburgermenyn – stängt läge */

.menu-toggle span:first-child {
  transform: translateY(calc(-50% - 7px));
}

.menu-toggle span:nth-child(2) {
  transform: translateY(-50%);
}

.menu-toggle span:last-child {
  transform: translateY(calc(-50% + 7px));
}

/* Symmetriskt X – öppet läge */

.menu-toggle.active span:first-child {
  transform: translateY(-50%) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:last-child {
  transform: translateY(-50%) rotate(-45deg);
}

/* UTFÄLLBAR MENY */

.nav-menu {
  position: absolute;
  top: 100%;
  right: 5%;
  width: 320px;
  padding: 30px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 22px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  border: 1px solid #ecece7;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);
  transition: all 0.25s ease;
}

.nav-menu.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-menu a {
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

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

.nav-menu .nav-contact {
  background: var(--green);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 3px;
  text-align: center;
}

.nav-menu .nav-contact:hover {
  background: var(--green-light);
}

.nav-contact span {
  margin-left: 8px;
}

/* ==============================
 HERO
================================= */

.hero {
  min-height: 680px;
  position: relative;
  display: flex;
  align-items: center;
  background: var(--green-dark);
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      90deg,
      rgba(24, 43, 34, 0.95) 0%,
      rgba(24, 43, 34, 0.82) 42%,
      rgba(24, 43, 34, 0.22) 100%
    ),
    url("hero.jpg");

  background-size: cover;
  background-position: center;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 70px;
  padding-bottom: 100px;
  color: var(--white);
}

.hero h1 {
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 700;
  max-width: 850px;
  letter-spacing: -2px;
  margin-bottom: 25px;
}

.hero h1 span {
  color: #d9ad8c;
}

.hero-content > p {
  max-width: 550px;
  color: #e1e4df;
  font-size: 1.08rem;
  margin-bottom: 35px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  padding: 15px 24px;
  font-weight: 700;
  font-size: 0.88rem;
  transition: all 0.25s ease;
  border-radius: 3px;
}

.button span {
  font-size: 1.1rem;
}

.button-primary {
  background: var(--orange);
  color: var(--white);
}

.button-primary:hover {
  background: #aa6945;
  transform: translateY(-2px);
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 60px;
  font-size: 0.8rem;
  color: #e1e4df;
}

.hero-note-line {
  height: 1px;
  width: 40px;
  background: var(--orange);
}

.hero-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 100px;
  padding: 22px;
  background: rgba(20, 36, 29, 0.7);
  color: #e2e4df;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
}

/* ==============================
 INTRO
================================= */

.intro {
  background: var(--beige);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 100px;
  align-items: center;
}

.intro-heading h2 {
  font-size: clamp(2rem, 3.5vw, 3.3rem);
  color: var(--green);
  letter-spacing: -1px;
  max-width: 580px;
}

.intro-text p {
  color: #676d65;
  margin-bottom: 20px;
}

.text-link {
  display: inline-block;
  color: var(--green);
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: 12px;
  border-bottom: 1px solid var(--orange);
  padding-bottom: 5px;
}

.text-link span {
  color: var(--orange);
  margin-left: 8px;
}

/* ==============================
 SERVICES
================================= */

.services {
  background: var(--white);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 50px;
  margin-bottom: 55px;
}

.section-heading h2 {
  color: var(--green);
  font-size: clamp(2rem, 3.5vw, 3rem);
  max-width: 600px;
}

.section-heading > p {
  max-width: 360px;
  color: var(--muted);
  font-size: 0.95rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--beige);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
}

.service-image {
  height: 260px;
  overflow: hidden;
}

.service-image img {
  height: 100%;
  transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.05);
}

.service-content {
  padding: 28px;
}

.service-number {
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.service-content h3 {
  color: var(--green);
  font-size: 1.25rem;
  margin: 12px 0;
}

.service-content p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ==============================
 APPROACH
================================= */

.approach {
  background: var(--beige);
}

.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}

.approach-image {
  height: 680px;
  position: relative;
}

.approach-image > img {
  height: 100%;
}

.image-caption {
  position: absolute;
  bottom: 25px;
  left: 25px;
  right: 25px;
  padding: 22px;
  background: rgba(29, 48, 40, 0.92);
  color: var(--white);
}

.image-caption span {
  display: block;
  color: #d9ad8c;
  font-size: 0.65rem;
  letter-spacing: 2px;
  margin-bottom: 5px;
}

.image-caption strong {
  font-family: "Manrope", sans-serif;
  font-size: 1.1rem;
}

.approach-content h2 {
  color: var(--green);
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  margin-bottom: 25px;
  letter-spacing: -1px;
}

.approach-content > p {
  color: #6e746c;
  margin-bottom: 18px;
  font-size: 0.93rem;
}

.approach-features {
  margin: 35px 0;
}

.feature {
  display: flex;
  gap: 18px;
  margin-bottom: 24px;
}

.feature-check {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #dce4d9;
  color: var(--green);
  border-radius: 50%;
  font-weight: 700;
}

.feature h3 {
  color: var(--green);
  font-size: 0.95rem;
  margin-bottom: 5px;
}

.feature p {
  color: var(--muted);
  font-size: 0.85rem;
}

.button-dark {
  background: var(--green);
  color: var(--white);
}

.button-dark:hover {
  background: var(--green-light);
  transform: translateY(-2px);
}

/* ==============================
 VALUE SECTION
================================= */

.value-section {
  padding: 110px 0;
  text-align: center;
  background: linear-gradient(rgba(29, 48, 40, 0.94), rgba(29, 48, 40, 0.94)),
    url("images/office.jpg") center / cover;
  color: var(--white);
}

.value-content h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  letter-spacing: -1.5px;
  margin-bottom: 25px;
}

.value-content h2 span {
  color: #d9ad8c;
}

.value-content > p {
  max-width: 520px;
  margin: 0 auto 35px;
  color: #d7ded8;
}

.button-light {
  background: var(--beige);
  color: var(--green);
}

.button-light:hover {
  background: var(--white);
  transform: translateY(-2px);
}

/* ==============================
 CONTACT
================================= */

.contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 120px;
  align-items: center;
}

.contact-heading h2 {
  color: var(--green);
  font-size: clamp(2.2rem, 3.5vw, 3.5rem);
  letter-spacing: -1px;
  margin-bottom: 25px;
}

.contact-heading > p {
  color: var(--muted);
  max-width: 470px;
  margin-bottom: 30px;
}

.contact-card {
  padding: 45px;
  background: var(--beige);
}

.contact-card h3 {
  color: var(--green);
  font-size: 1.8rem;
}

.company-name {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 5px;
}

.contact-divider {
  height: 1px;
  background: #dcd8ce;
  margin: 28px 0;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.contact-detail > span,
.contact-address > span {
  color: var(--muted);
  font-size: 0.75rem;
  margin-bottom: 3px;
}

.contact-detail a {
  color: var(--green);
  font-weight: 700;
  transition: color 0.2s;
}

.contact-detail a:hover {
  color: var(--orange);
}

.contact-address p {
  color: var(--green);
  font-weight: 600;
}

/* ==============================
 FOOTER
================================= */

.footer {
  background: var(--green-dark);
  color: var(--white);
  padding: 70px 0 25px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 0.8fr;
  gap: 80px;
  padding-bottom: 60px;
}

.footer-brand img {
  width: 200px;
  height: 100px;
  object-fit: contain;
  object-position: left center;
  /* En ljus logotyp fungerar bäst här */
}

.footer-brand p {
  max-width: 340px;
  color: #bfcac1;
  font-size: 0.85rem;
  margin-top: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links h3 {
  color: #d9ad8c;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.footer-links a,
.footer-links span {
  color: #c4cec6;
  font-size: 0.82rem;
  transition: color 0.2s;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #46564c;
  padding-top: 25px;
  color: #aebbb1;
  font-size: 0.75rem;
}

/* ==============================
 MOBILANPASSNING
================================= */

@media (max-width: 900px) {
  .intro-grid,
  .approach-grid {
    gap: 50px;
  }

  .contact-grid {
    gap: 50px;
  }

  .approach-image {
    height: 600px;
  }

  .footer-top {
    gap: 40px;
  }
}

@media (max-width: 700px) {
  .section-padding {
    padding: 75px 0;
  }

  .header {
    height: 75px;
  }

  .logo img {
    width: 145px;
    height: 55px;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    z-index: 1002;
  }

  .nav-menu a {
    font-size: 0.95rem;
  }

  .nav-menu .nav-contact {
    text-align: center;
  }

  .hero {
    min-height: 650px;
  }

  .hero-image {
    background-position: 60% center;
  }

  .hero h1 {
    font-size: 2.8rem;
    letter-spacing: -1px;
  }

  .hero-content > p {
    font-size: 0.95rem;
  }

  .hero-note {
    margin-top: 45px;
  }

  .hero-bottom {
    gap: 20px;
    justify-content: space-evenly;
    font-size: 0.55rem;
    letter-spacing: 1px;
  }

  .intro-grid,
  .approach-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 35px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .service-image {
    height: 250px;
  }

  .approach-image {
    height: 450px;
  }

  .value-section {
    padding: 80px 0;
  }

  .value-content h2 {
    font-size: 2.4rem;
  }

  .contact-card {
    padding: 30px 25px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px 25px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: 2.3rem;
  }

  .hero-bottom {
    font-size: 0.48rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }
}
