/* Center specific section titles (used on selected sections only) */
.title-center {
  text-align: center;
}

.title-center .section-title {
  display: inline-block;
}

.title-center .page-text,
.title-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
  max-width: 900px;
}

/* byggstallning.css */
.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: grayscale(5%);
}

.page-hero-overlay {
  z-index: 1;
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-hero {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 20px 60px;
  background: #000;
  overflow: hidden;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.78));
  z-index: 1;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  text-align: center;
}

.page-kicker {
  color: #fff;
  opacity: 0.9;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.page-title {
  color: #fcd500;
  font-family: "Archivo Black", sans-serif;
  text-transform: uppercase;
  line-height: 1.15;
  font-size: 2.6rem;
  margin-bottom: 18px;
}

.page-lead {
  color: #fff;
  font-size: 1.2rem;
  max-width: 900px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

.page-hero-ctas {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 10px 0 25px;
}

.page-cta-primary,
.page-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: px;
  text-decoration: none;
  font-weight: bold;
  text-transform: uppercase;
  border: 2px solid transparent;
}

.page-cta-primary {
  background: #fcd500;
  color: #000;
  border-color: #fcd500;
}

.page-cta-primary:hover {
  background: #ffdf32;
}

.page-cta-secondary {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.page-cta-secondary:hover {
  background: #fff;
  color: #000;
}

.page-badges {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 10px;
}

.page-badge {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  background: rgba(252, 213, 0, 0.08);
  border: 1px solid rgba(252, 213, 0, 0.25);
  border-radius: 999px;
  padding: 10px 14px;
  color: #fff;
}

.page-badge i {
  color: #fcd500;
}

.page-section {
  padding: 80px 20px;
  background: #141414;
}

.page-section-alt {
  background: #0f0f0f;
}

.page-container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-text {
  color: #ddd;
  line-height: 1.75;
  margin-top: 15px;
}

.page-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-top: 30px;
}

.page-panel {
  background: rgba(26, 26, 26, 0.8);
  border: 1px solid rgba(252, 213, 0, 0.12);
  border-radius: 12px;
  padding: 22px;
}

.page-h3 {
  color: #fcd500;
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.page-list {
  margin-left: 18px;
  color: #ddd;
  line-height: 1.8;
}

.inline-cta {
  display: inline-block;
  margin-top: 10px;
  color: #fcd500;
  text-decoration: none;
  font-weight: bold;
}

.inline-cta:hover {
  text-decoration: underline;
}

/* Use cases */

/* Slideshow / carousel for use cases */
/* =========================================================
   SEO INTRO + USE CASES
   Styled to match hero section
   ========================================================= */

.page-section-intro,
.page-section-cases {
  position: relative;
  overflow: hidden;
  background: #111;
}

.page-section-intro::before,
.page-section-cases::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;
}

.seo-intro-premium,
.page-section-cases .page-container {
  position: relative;
  z-index: 1;
}

.section-title-hero-style,
.seo-title {
  color: #fcd500;
  font-family: "Archivo Black", sans-serif;
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: 0.01em;
}

.section-title-hero-style {
  font-size: clamp(2rem, 4vw, 3.6rem);
  margin: 0 0 18px;
}

.section-subtitle-hero-style {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 860px;
  margin: 0 auto;
}

/* SEO intro */
.seo-intro-premium {
  display: grid;
  gap: 32px;
}

.seo-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 26px;
  align-items: stretch;
}

.seo-intro-main,
.seo-intro-side,
.seo-story-panel,
.seo-feature-card,
.usecase-card,
.page-cta-strip-premium {
  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);
}

.seo-intro-main {
  padding: 34px;
}

.seo-title {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin: 0 0 16px;
  max-width: 900px;
}

.seo-lead {
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.8;
  font-size: 1.04rem;
  margin: 0 0 26px;
  max-width: 760px;
}

.seo-intro-side {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.seo-side-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(252, 213, 0, 0.14);
  padding: 22px;
}

.seo-side-label {
  display: inline-block;
  color: #fcd500;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-size: 0.75rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.seo-side-value {
  display: block;
  color: #fff;
  font-size: 1.35rem;
  line-height: 1.2;
  margin-bottom: 10px;
}

.seo-side-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.seo-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.seo-feature-card {
  padding: 26px 24px;
  text-align: left;
}

.seo-feature-card h3 {
  color: #fff;
  font-size: 1.08rem;
  margin: 0 0 10px;
}

.seo-feature-card p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.75;
  margin: 0;
}

.seo-story-panel {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
  gap: 0;
  overflow: hidden;
}

.seo-story-media img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  display: block;
}

.seo-story-content {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.seo-eyebrow {
  color: #fff;
  opacity: 0.9;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin: 0 0 14px;
}

.seo-subtitle {
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.08;
  margin: 0 0 16px;
}

.seo-paragraph {
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.8;
  margin: 0 0 22px;
}

.seo-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.seo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  padding: 15px 24px;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.92rem;
  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;
}

.seo-btn-primary {
  background: #fcd500;
  border-color: #fcd500;
  color: #111;
  box-shadow: 0 10px 24px rgba(252, 213, 0, 0.18);
}

.seo-btn-primary:hover {
  background: #ffdf32;
  border-color: #ffdf32;
  transform: translateY(-2px);
}

.seo-btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.24);
  color: #fff;
  backdrop-filter: blur(4px);
}

.seo-btn-secondary:hover {
  background: #fff;
  color: #111;
  border-color: #fff;
  transform: translateY(-2px);
}

/* Use cases */
.usecases-grid-premium {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 36px;
  text-align: left;
}

.usecase-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}



.usecase-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.usecase-text {
  padding: 22px;
}

.usecase-text h3 {
  color: #fcd500;
  margin: 0 0 10px;
  font-size: 1.15rem;
  line-height: 1.3;
}

.usecase-text p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.75;
  margin: 0 0 18px;
}

.usecase-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  background: #fcd500;
  color: #111;
  text-decoration: none;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.88rem;
  letter-spacing: 0.4px;
  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}

.usecase-cta:hover {
  background: #ffdf32;
  transform: translateY(-2px);
}

.page-cta-strip-premium {
  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);
}

.page-cta-strip-text {
  padding-bottom: 20px;
  color: rgba(255, 255, 255, 0.9);
}

/* Responsive */
@media (max-width: 1100px) {
  .usecases-grid-premium {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .seo-feature-grid {
    grid-template-columns: 1fr;
  }

  .seo-story-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .seo-intro-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .usecases-grid-premium {
    grid-template-columns: 1fr;
  }

  .seo-intro-main,
  .seo-story-content {
    padding: 24px;
  }

  .seo-intro-side {
    padding: 14px;
  }

  .seo-side-card {
    padding: 18px;
  }

  .seo-story-media img {
    min-height: 240px;
  }

  .seo-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .seo-btn {
    width: 100%;
    min-width: 0;
  }
}

.page-hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: #111;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.8) 0%,
      rgba(0, 0, 0, 0.6) 38%,
      rgba(0, 0, 0, 0.42) 66%,
      rgba(0, 0, 0, 0.58) 100%
    ),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.page-hero-shell {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 10px 32px 42px;
  display: flex;
  align-items: center;
}

.page-hero-content {
  width: 100%;
  max-width: 760px;
  text-align: left;
}

.page-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;
}

.page-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;
}

.page-lead {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.08rem;
  max-width: 670px;
  margin: 0 0 30px;
  line-height: 1.75;
}

.page-hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin: 0;
}

.page-cta-primary,
.page-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;
}

.page-cta-primary {
  background: #fcd500;
  color: #111;
  border-color: #fcd500;
  box-shadow: 0 10px 24px rgba(252, 213, 0, 0.18);
}

.page-cta-primary:hover {
  background: #ffdf32;
  border-color: #ffdf32;
  transform: translateY(-2px);
}

.page-cta-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(4px);
}

.page-cta-secondary:hover {
  background: #fff;
  color: #111;
  border-color: #fff;
  transform: translateY(-2px);
}

.page-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.96rem;
}

.page-hero-meta span {
  position: relative;
  padding-right: 14px;
}

.page-hero-meta span:not(:last-child)::after {
  content: "/";
  position: absolute;
  right: -2px;
  color: #fcd500;
}

@media (max-width: 768px) {
  .page-hero {
    min-height: auto;
  }

  .page-hero-shell {
    padding: 100px 20px 36px;
  }

  .page-hero-content {
    max-width: 100%;
  }

  .page-title {
    font-size: clamp(2rem, 8vw, 3.3rem);
    line-height: 1.05;
  }

  .page-lead {
    font-size: 1rem;
    max-width: 100%;
  }

  .page-hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .page-cta-primary,
  .page-cta-secondary {
    width: 100%;
    min-width: 0;
  }

  .page-hero-meta {
    flex-direction: column;
    gap: 10px;
  }

  .page-hero-meta span {
    padding-right: 0;
  }

  .page-hero-meta span::after {
    display: none;
  }
}
