/* ============================================================
   LEADSENSE – TEAMFIT (teamfit.css)
   ============================================================
   Innehåll:
   1. Navigation (gemensam)
   2. Hero
   3. Intro
   4. Vad är TeamFit?
   5. Vad ingår
   6. Vad ingår inte
   7. När passar TeamFit?
   8. Pull quote
   9. Resultat
   10. CTA
   11. Knappar (gemensam)
   12. Footer (gemensam)
   13. Mobilanpassning
   ============================================================ */


/* ============================================================
   1. NAVIGATION (gemensam – identisk med index.css)
   ============================================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: var(--color-7);
  height: 64px;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.nav-logo img {
  height: 26px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-primary);
  font-size: 18px;
  color: var(--color-4);
  text-decoration: none;
  letter-spacing: var(--h6-ls);
  transition: opacity 0.2s;
}

.nav-link:hover { opacity: 0.5; }

/* Aktiv länk – understryker den aktuella sidan */
.nav-link--active {
  border-bottom: 1.5px solid var(--color-4);
  padding-bottom: 2px;
}

.nav-btn-kontakt {
  font-family: var(--font-primary);
  font-size: 18px;
  color: var(--color-4);
  border: 1.5px solid var(--color-4);
  border-radius: 40px;
  padding: 6px 20px;
  text-decoration: none;
  letter-spacing: var(--h6-ls);
  transition: background-color 0.2s, color 0.2s;
}

.nav-btn-kontakt:hover {
  background-color: var(--color-4);
  color: var(--color-1);
}

.nav-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--color-4);
  border-radius: 2px;
}


/* ============================================================
   2. HERO – fast höjd med bild och overlay
   ============================================================ */

.tf-hero {
  position: relative;
  width: 100%;
  height: 600px;
  margin-top: 64px;
  overflow: hidden;
  background-color: var(--color-4);
}

.tf-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.tf-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.60) 0%,
    rgba(0,0,0,0.15) 40%,
    transparent 70%
  );
  display: flex;
  align-items: flex-end;
}

.tf-hero-content {
  padding-bottom: 64px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tf-service-label {
  font-family: var(--font-primary);
  font-size: var(--h6-size);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin: 0;
}

.tf-hero-title {
  color: var(--color-1);
  margin: 0;
}

.tf-hero-sub {
  color: rgba(255,255,255,0.88);
  margin: 0;
}


/* ============================================================
   3. INTRO – beige bakgrund
   ============================================================ */

.tf-intro {
  background-color: var(--color-7);
}

.tf-text-block {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tf-text-block .p1 {
  color: var(--color-4);
}


/* ============================================================
   4. VAD ÄR TEAMFIT? – vit bakgrund, tvåkolumns-layout
   ============================================================ */

.tf-what {
  background-color: var(--color-1);
}

.tf-what-inner {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 80px;
  align-items: start;
}

.tf-what-label-col {
  padding-top: 8px;
}

.tf-section-label {
  font-family: var(--font-primary);
  font-size: var(--h6-size);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-4);
  opacity: 0.5;
  margin: 0;
}

.tf-what-content-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tf-what-content-col h2 {
  margin: 0;
}

.tf-what-content-col .p1 {
  color: var(--color-4);
}


/* ============================================================
   5. VAD INGÅR – beige bakgrund, numrerade rader
   ============================================================ */

.tf-includes {
  background-color: var(--color-7);
}

.tf-includes-heading {
  margin-bottom: 56px;
}

.tf-includes-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.tf-include-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 40px;
  align-items: start;
  padding: 40px 0;
  border-top: 1px solid rgba(43, 48, 51, 0.2);
}

.tf-include-item:last-child {
  border-bottom: 1px solid rgba(43, 48, 51, 0.2);
}

.tf-include-number {
  font-family: var(--font-primary);
  font-size: var(--h4-size);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--color-4);
  opacity: 0.4;
  line-height: 1.4em;
  padding-top: 4px;
}

.tf-include-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tf-include-body h3 {
  margin: 0;
}

.tf-include-body .p1 {
  color: var(--color-4);
  margin: 0;
}


/* ============================================================
   6. VAD INGÅR INTE – vit bakgrund, tvåkolumns-layout
   ============================================================ */

.tf-excludes {
  background-color: var(--color-1);
}

.tf-excludes-inner {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 80px;
  align-items: start;
}

.tf-excludes-label-col {
  padding-top: 8px;
}

.tf-excludes-content-col {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.tf-exclude-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 24px;
  align-items: start;
  padding: 32px 0;
  border-top: 1px solid rgba(43, 48, 51, 0.15);
}

.tf-exclude-item:last-child {
  border-bottom: 1px solid rgba(43, 48, 51, 0.15);
}

.tf-exclude-cross {
  font-family: var(--font-primary);
  font-size: 28px;
  font-weight: 300;
  color: var(--color-4);
  opacity: 0.35;
  line-height: 1.4em;
  padding-top: 2px;
}

.tf-exclude-item > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tf-exclude-item h3 {
  margin: 0;
}

.tf-exclude-item .p1 {
  color: var(--color-4);
  margin: 0;
}


/* ============================================================
   7. NÄR PASSAR TEAMFIT? – beige bakgrund
   ============================================================ */

.tf-when {
  background-color: var(--color-7);
}

.tf-when-heading {
  margin-bottom: 48px;
}

.tf-when-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  max-width: 760px;
}

.tf-when-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  align-items: start;
  padding: 28px 0;
  border-top: 1px solid rgba(43, 48, 51, 0.2);
}

.tf-when-item:last-child {
  border-bottom: 1px solid rgba(43, 48, 51, 0.2);
}

.tf-when-dash {
  font-family: var(--font-primary);
  font-size: var(--p1-size);
  color: var(--color-4);
  opacity: 0.4;
  line-height: var(--p1-lh);
}

.tf-when-item .p1 {
  color: var(--color-4);
  margin: 0;
}


/* ============================================================
   8. PULL QUOTE – svart bakgrund
   ============================================================ */

.tf-quote {
  background-color: #000000;
  padding: 120px 0;
}

.tf-quote-inner {
  max-width: 860px;
}

.tf-quote-heading {
  color: var(--color-1);
  font-size: var(--h2-size);
  line-height: 1.4em;
  letter-spacing: var(--h2-ls);
  font-weight: 500;
}

.tf-quote-highlight {
  color: var(--color-3); /* gul #F7FA5C */
}


/* ============================================================
   9. RESULTAT – gul bakgrund, 2×2 grid
   ============================================================ */

.tf-results {
  background-color: var(--color-3);
}

.tf-results-heading {
  margin-bottom: 56px;
  color: var(--color-5);
}

.tf-results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.tf-result-item {
  padding: 48px 48px 48px 0;
  border-top: 1px solid rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tf-result-item:nth-child(even) {
  padding-left: 48px;
  border-left: 1px solid rgba(0,0,0,0.2);
}

.tf-result-item:nth-child(n+3) {
  border-bottom: 1px solid rgba(0,0,0,0.2);
}

.tf-result-title {
  color: var(--color-5);
  margin: 0;
}

.tf-result-item .p1 {
  color: rgba(0,0,0,0.75);
  margin: 0;
}


/* ============================================================
   10. CTA – split layout, bild till vänster
   ============================================================ */

.tf-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
  background-color: var(--color-7);
}

.tf-cta-image {
  overflow: hidden;
}

.tf-cta-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.tf-cta-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
  padding: 72px 64px 72px 64px;
}

.tf-cta-content h2 {
  margin: 0;
}

.tf-cta-content .p1 {
  color: var(--color-4);
  margin: 0;
}


/* ============================================================
   11. KNAPPAR (gemensam – identisk med index.css)
   ============================================================ */

.btn-outline {
  display: inline-block;
  font-family: var(--font-primary);
  font-size: var(--h5-size);
  line-height: var(--h5-lh);
  letter-spacing: var(--h5-ls);
  font-weight: 400;
  color: var(--color-4);
  border: 1.5px solid var(--color-4);
  border-radius: 40px;
  padding: 12px 32px;
  text-decoration: none;
  background: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.btn-outline:hover {
  background-color: var(--color-4);
  color: var(--color-1);
}


/* ============================================================
   12. FOOTER (gemensam – identisk med index.css)
   ============================================================ */

.site-footer {
  background-color: var(--color-4);
  color: var(--color-1);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 80px;
  padding-top: 64px;
  padding-bottom: 48px;
  align-items: start;
}

.footer-logo-img {
  height: 28px;
  width: auto;
  margin-bottom: 16px;
}

.footer-tagline {
  color: rgba(255,255,255,0.55);
  max-width: 280px;
}

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

.footer-col-heading {
  font-family: var(--font-primary);
  font-size: var(--h6-size);
  line-height: var(--h6-lh);
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-col ul li,
.footer-col ul li a {
  font-family: var(--font-primary);
  font-size: var(--p3-size);
  line-height: var(--p3-lh);
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--color-1);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
}

.footer-bottom .p3 {
  color: rgba(255,255,255,0.4);
}

.footer-bottom a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom a:hover {
  color: var(--color-1);
}


/* ============================================================
   13. MOBILANPASSNING (max-width: 768px)
   ============================================================ */

@media (max-width: 768px) {

  /* Hero */
  .tf-hero {
    aspect-ratio: 7/5;
    height: auto;
  }

  .tf-hero-overlay {
    background: linear-gradient(
      to top,
      rgba(0,0,0,0.75) 0%,
      rgba(0,0,0,0.3) 60%,
      transparent 100%
    );
  }

  .tf-hero-content {
    padding-bottom: 40px;
    max-width: 100%;
  }

  /* Vad är / Vad ingår inte – 1 kolumn */
  .tf-what-inner,
  .tf-excludes-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Vad ingår – nummret bredvid texten */
  .tf-include-item {
    grid-template-columns: 48px 1fr;
    gap: 20px;
  }

  /* Resultat – 1 kolumn */
  .tf-results-grid {
    grid-template-columns: 1fr;
  }

  .tf-result-item {
    padding: 32px 0;
  }

  .tf-result-item:nth-child(even) {
    padding-left: 0;
    border-left: none;
  }

  .tf-result-item:nth-child(n+3) {
    border-bottom: none;
  }

  .tf-result-item:last-child {
    border-bottom: 1px solid rgba(0,0,0,0.2);
  }

  /* CTA – bild ovanför, text nedanför */
  .tf-cta {
    grid-template-columns: 1fr;
  }

  .tf-cta-image {
    height: 280px;
  }

  .tf-cta-content {
    padding: 48px 20px;
  }

  /* Nav */
  .nav-inner {
    padding: 0 20px;
  }

  .nav-links {
    gap: 16px;
  }

  .nav-link:not(.nav-link--active) {
    display: none;
  }

  .nav-btn-kontakt {
    display: none;
  }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-columns {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  /* Pull quote */
  .tf-quote {
    padding: 80px 0;
  }
}
