/* Visual refinements loaded after styles.css */

/* Högupplöst 4K-banner från lokal fil. */
.hero-image {
  background-image: url('/assets/ekebygg-hero-4k.jpg') !important;
}

.about-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 28px;
  background:
    radial-gradient(circle at 92% 5%, rgba(242,138,34,.22), transparent 34%),
    linear-gradient(145deg, #15181d 0%, #1e232a 100%);
  box-shadow: 0 24px 60px rgba(18,22,28,.16);
}

.about-panel::after {
  content: '';
  position: absolute;
  width: 180px;
  height: 180px;
  right: -85px;
  bottom: -100px;
  border-radius: 50%;
  background: rgba(242,138,34,.12);
  filter: blur(2px);
  pointer-events: none;
}

.panel-head {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  padding: 16px 16px 9px;
}

.panel-head span {
  display: block;
  margin-bottom: 5px;
  color: #ff9a36;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
}

.panel-head strong {
  display: block;
  color: #fff;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -.025em;
}

.about-panel .stat {
  position: relative;
  z-index: 1;
  min-height: 165px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  background: rgba(255,255,255,.055);
  backdrop-filter: blur(10px);
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.about-panel .stat:hover {
  transform: translateY(-3px);
  border-color: rgba(242,138,34,.35);
  background: rgba(255,255,255,.075);
}

.about-panel .stat-featured {
  grid-column: 1 / -1;
  min-height: 185px;
  background:
    linear-gradient(120deg, rgba(242,138,34,.18), rgba(255,255,255,.045) 55%),
    rgba(255,255,255,.035);
}

.about-panel .stat-label {
  display: inline-flex;
  width: auto;
  margin-bottom: 24px;
  padding: 5px 8px;
  border: 1px solid rgba(255,154,54,.32);
  border-radius: 999px;
  color: #ffb066;
  background: rgba(242,138,34,.09);
  font-size: 9px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .14em;
}

.about-panel .stat-value {
  display: block;
  color: #fff;
  font-size: 48px;
  line-height: .92;
  font-weight: 800;
  letter-spacing: -.045em;
}

.about-panel .stat-featured .stat-value {
  font-size: 72px;
  color: #ff9a36;
}

.about-panel .stat small {
  display: block;
  max-width: 220px;
  margin-top: 12px;
  color: rgba(255,255,255,.7);
  font-size: 12px;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .about-panel {
    max-width: 620px;
  }
}

@media (max-width: 620px) {
  .about-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 11px;
    border-radius: 24px;
  }

  .panel-head {
    padding: 13px 10px 7px;
  }

  .panel-head strong {
    font-size: 20px;
  }

  .about-panel .stat {
    min-height: 145px;
    padding: 18px 15px;
    border-radius: 17px;
  }

  .about-panel .stat-featured {
    min-height: 158px;
  }

  .about-panel .stat-label {
    margin-bottom: 18px;
    font-size: 8px;
  }

  .about-panel .stat-value {
    font-size: 37px;
  }

  .about-panel .stat-featured .stat-value {
    font-size: 58px;
  }

  .about-panel .stat small {
    margin-top: 9px;
    font-size: 10.5px;
  }
}
