/* asbestsanering.css */
/* Restyled to match byggstallning page styling,
   while keeping the existing asbestsanering HTML structure. */

/* Base sections */
.asbest-section {
  position: relative;
  overflow: hidden;
  padding: 80px 20px;
  background: #111;
}

.asbest-section-alt {
  background: #0f0f0f;
}

.asbest-section::before,
.asbest-section-alt::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      135deg,
      rgba(252, 213, 0, 0.06) 0%,
      rgba(252, 213, 0, 0.02) 18%,
      rgba(0, 0, 0, 0) 42%
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.04));
  pointer-events: none;
}

.asbest-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

/* Hero */
.asbest-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: #111;
  padding: 0;
}

.asbest-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.asbest-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: grayscale(8%);
}

.asbest-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.82) 0%,
      rgba(0, 0, 0, 0.62) 38%,
      rgba(0, 0, 0, 0.42) 66%,
      rgba(0, 0, 0, 0.6) 100%
    ),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.5) 100%);
}


.asbest-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 10px 32px 42px;
  display: flex;
  align-items: center;
}

.asbest-hero-copy {
  width: 100%;
  max-width: 760px;
}

.asbest-kicker {
  display: inline-block;
  margin: 0 0 18px;
  color: #fff;
  opacity: 0.9;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  padding-top: 15px;
  padding-bottom: 15px;
}

.asbest-title {
  margin: 0 0 20px;
  color: #fcd500;
  font-family: "Archivo Black", sans-serif;
  text-transform: uppercase;
  line-height: 1.02;
  font-size: clamp(2.3rem, 4.5vw, 4.8rem);
  max-width: 900px;
}

.asbest-lead {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.08rem;
  max-width: 670px;
  margin: 0 0 30px;
  line-height: 1.75;
}

.asbest-ctas {
  display: flex;
  gap: 14px;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin: 0;
}

.asbest-cta-primary,
.asbest-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  padding: 16px 28px;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 2px solid transparent;
  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.asbest-cta-primary {
  background: #fcd500;
  color: #111;
  border-color: #fcd500;
  box-shadow: 0 10px 24px rgba(252, 213, 0, 0.18);
}

.asbest-cta-primary:hover {
  background: #ffdf32;
  border-color: #ffdf32;
  transform: translateY(-2px);
}

.asbest-cta-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(4px);
}

.asbest-cta-secondary:hover {
  background: #fff;
  color: #111;
  border-color: #fff;
  transform: translateY(-2px);
}

.asbest-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.96rem;
}

.asbest-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  padding-right: 14px;
}

.asbest-trust-item i {
  color: #fcd500;
}

.asbest-trust-item:not(:last-child)::after {
  content: "/";
  position: absolute;
  right: -2px;
  color: #fcd500;
}

/* Hero side cards */
.asbest-hero-panel {
  display: none;
}

.asbest-panel-card {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(4px);
}

.asbest-panel-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(252, 213, 0, 0.14);
  color: #fcd500;
  font-size: 1.05rem;
}

.asbest-panel-title {
  display: inline-block;
  color: #fcd500;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-size: 0.75rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.asbest-panel-value {
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.55;
}

/* Section headings */
.asbest-heading {
  margin-bottom: 30px;
}

.asbest-heading-center {
  text-align: center;
}

.asbest-h2 {
  color: #fcd500;
  font-family: "Archivo Black", sans-serif;
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: 0.01em;
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin: 0 0 16px;
}

.asbest-h2-tight {
  margin-bottom: 10px;
}

.asbest-subtitle {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 860px;
  margin: 0;
}

.asbest-heading-center .asbest-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.asbest-subtitle-tight {
  max-width: 760px;
}

.asbest-text {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.75;
  margin-top: 10px;
}

/* Steps */
.asbest-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  align-items: stretch;
}

.asbest-step {
  height: 100%;
  padding: 26px 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.22);
}

.asbest-step-num {
  display: inline-block;
  color: #fcd500;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 12px;
  font-family: inherit;
}

.asbest-step-title {
  color: #fff;
  margin: 0 0 10px;
  font-size: 1.08rem;
  line-height: 1.3;
}

.asbest-step-text {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  line-height: 1.75;
}

/* CTA box */
.asbest-cta-box {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 28px;
  background: linear-gradient(
    90deg,
    rgba(252, 213, 0, 0.12),
    rgba(255, 255, 255, 0.03)
  );
  border: 1px solid rgba(252, 213, 0, 0.16);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.22);
}

.asbest-cta-box-left {
  flex: 1 1 560px;
}

.asbest-cta-eyebrow {
  color: #fff;
  opacity: 0.9;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin: 0 0 14px;
}

.asbest-cta-box-right {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Project showcase - editorial story layout */
.asbest-project-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 12px;
}

.asbest-project-story {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
  align-items: stretch;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.22);
}

.asbest-project-story:nth-child(even) {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
}

.asbest-project-story:nth-child(even) .asbest-project-media {
  order: 2;
}

.asbest-project-story:nth-child(even) .asbest-project-body {
  order: 1;
}

.asbest-project-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}

.asbest-project-body {
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.asbest-project-eyebrow {
  color: #fff;
  opacity: 0.9;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin: 0 0 14px;
}

.asbest-project-title {
  color: #fcd500;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  line-height: 1.12;
  margin: 0 0 16px;
}

.asbest-project-text {
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.8;
  margin: 0;
  max-width: 640px;
}

/* CTA strip */
.asbest-strip {
  margin-top: 36px;
  padding: 22px;
  background: linear-gradient(
    90deg,
    rgba(252, 213, 0, 0.12),
    rgba(255, 255, 255, 0.03)
  );
  border: 1px solid rgba(252, 213, 0, 0.16);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.22);
}

.asbest-strip-inner {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.asbest-strip-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  flex: 1;
  min-width: 260px;
}

@media (max-width: 1100px) {
  .asbest-projects {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .asbest-project-story,
  .asbest-project-story:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .asbest-project-story:nth-child(even) .asbest-project-media,
  .asbest-project-story:nth-child(even) .asbest-project-body {
    order: initial;
  }

  .asbest-project-body {
    padding: 24px;
  }

  .asbest-project-media img {
    min-height: 240px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .showcase-slide,
  .asbest-cta-primary,
  .asbest-cta-secondary,
  .showcase-arrow {
    transition: none;
  }
}

@media (max-width: 768px) {
  .asbest-hero {
    min-height: auto;
  }

  .asbest-hero-inner {
    padding: 100px 20px 36px;
  }

  .asbest-hero-copy {
    max-width: 100%;
  }

  .asbest-title {
    font-size: clamp(2rem, 8vw, 3.3rem);
    line-height: 1.05;
  }

  .asbest-lead {
    font-size: 1rem;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .asbest-step {
    padding: 22px 18px;
  }

  .asbest-step-title {
    font-size: 1rem;
  }

  .asbest-step-text {
    font-size: 0.96rem;
    line-height: 1.7;
  }
}
