.hestra-hero {
  --hero-blue: #244972;
  --hero-blue-dark: #1c3c5f;
}
.hestra-hero,
.hestra-hero::before,
.hestra-hero::after,
.hestra-hero *,
.hestra-hero *::before,
.hestra-hero *::after { box-sizing: border-box; }
.hestra-hero .container { max-width: 1300px; margin: 0 auto; padding: 0 24px; }
.hestra-hero { position: relative; overflow: hidden; min-height: 640px; display: flex; align-items: center; }
.hestra-hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 68%);
  animation: hestraHeroGlowDrift 14s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
.hestra-hero a { color: inherit; text-decoration: none; }
.hestra-hero [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
}
.hestra-hero [data-reveal].is-visible { opacity: 1; transform: translate3d(0, 0, 0); }
.hestra-hero .hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://hestratruck.se/wp-content/uploads/hestra-truck-startsida-klar.webp') center center / cover no-repeat;
  transform: scale(1.04);
  transition: transform 9s ease;
}
.hestra-hero:hover .hero-bg { transform: scale(1); }
.hestra-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(108deg, rgba(14, 26, 60, 0.9) 0%, rgba(14, 26, 60, 0.68) 48%, rgba(14, 26, 60, 0.22) 100%);
}
.hestra-hero .hero-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(6, 12, 32, 0.5) 100%);
}
.hestra-hero .hero-wrap { position: relative; z-index: 1; width: 100%; }
.hestra-hero .hero-layout { display: flex; align-items: stretch; justify-content: space-between; gap: 48px; }
.hestra-hero .hero-content-inner {
  flex: 1 1 620px;
  display: flex;
  flex-direction: column;
  max-width: 620px;
  padding: 76px 0 84px;
}
.hestra-hero .hero-side { flex: 0 0 auto; display: flex; align-items: center; justify-content: flex-end; padding: 76px 0 84px; }
.hestra-hero .is-hidden-temporary { display: none !important; }
.hestra-hero .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin: 0 0 22px;
  padding: 6px 16px;
  border: 1px solid #d9e1ec;
  background: rgba(255, 255, 255, 0.92);
  color: var(--hero-blue);
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hestra-hero .hero-title {
  margin: 0 0 22px;
  color: #fff;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 900;
  line-height: 0.93;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.hestra-hero .hero-title .accent { color: #fff; font-style: italic; font-weight: 800; opacity: 0.85; }
.hestra-hero .hero-desc {
  max-width: 470px;
  margin: 0 0 36px;
  color: rgba(200, 220, 248, 0.9);
  font-size: 1.04rem;
  line-height: 1.72;
}
.hestra-hero .hero-desc strong { color: #fff; }
.hestra-hero .hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hestra-hero .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border: 2px solid transparent;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 700;
  white-space: nowrap;
  transition: all 0.2s;
  cursor: pointer;
}
.hestra-hero .btn-primary { background: var(--hero-blue); color: #fff !important; border-color: var(--hero-blue); }
.hestra-hero .btn-primary:hover {
  background: var(--hero-blue-dark);
  border-color: var(--hero-blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(36, 73, 114, 0.45);
}
.hestra-hero .btn-outline-white {
  background: rgba(255, 255, 255, 0.08);
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.48);
  backdrop-filter: blur(4px);
}
.hestra-hero .btn-outline-white:hover { background: rgba(255, 255, 255, 0.18); border-color: #fff; transform: translateY(-2px); }
.hestra-hero .hero-stats {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0;
  padding: 20px 0 20px 30px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  min-width: 220px;
}
.hestra-hero .hero-stat-item { display: flex; flex-direction: column; gap: 3px; transition: transform 0.25s ease; }
.hestra-hero .hero-stat-item:hover { transform: translateY(-2px); }
.hestra-hero .hero-stat-value { font-size: 1.6rem; font-weight: 900; color: #fff; line-height: 1; letter-spacing: -0.02em; }
.hestra-hero .hero-stat-label { font-size: 0.67rem; font-weight: 700; color: rgba(170, 200, 240, 0.8); letter-spacing: 0.1em; text-transform: uppercase; }
@keyframes hestraHeroGlowDrift {
  0% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.7; }
  50% { transform: translate3d(-20px, 16px, 0) scale(1.04); opacity: 1; }
  100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.7; }
}
@media (prefers-reduced-motion: reduce) {
  .hestra-hero::before,
  .hestra-hero [data-reveal] { animation: none; opacity: 1; transform: none; transition: none; }
}
@media (max-width: 1024px) {
  .hestra-hero { min-height: 560px; }
  .hestra-hero .hero-content-inner { padding: 60px 0 68px; }
  .hestra-hero .hero-side { padding: 60px 0 68px; }
}
@media (max-width: 768px) {
  .hestra-hero { min-height: 500px; }
  .hestra-hero .hero-overlay {
    background: linear-gradient(160deg, rgba(14, 26, 60, 0.9) 0%, rgba(14, 26, 60, 0.78) 55%, rgba(14, 26, 60, 0.55) 100%);
  }
  .hestra-hero .hero-layout { flex-direction: column; gap: 0; }
  .hestra-hero .hero-content-inner { padding: 48px 0 56px; max-width: none; }
  .hestra-hero .hero-side { width: 100%; padding: 0 0 56px; justify-content: flex-start; }
  .hestra-hero .hero-title { font-size: clamp(2rem, 8.5vw, 2.8rem); }
  .hestra-hero .hero-desc { font-size: 0.93rem; max-width: none; }
  .hestra-hero .hero-stats {
    gap: 16px;
    padding: 22px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    min-width: 0;
  }
  .hestra-hero .hero-stat-value { font-size: 1.3rem; }
}
@media (max-width: 540px) {
  .hestra-hero { min-height: 430px; }
  .hestra-hero .hero-content-inner { padding: 38px 0 36px; }
  .hestra-hero .hero-side { padding: 0 0 46px; }
  .hestra-hero .hero-badge { font-size: 0.62rem; white-space: normal; line-height: 1.45; }
  .hestra-hero .hero-title { font-size: clamp(1.9rem, 9vw, 2.3rem); }
  .hestra-hero .hero-ctas { flex-direction: column; }
  .hestra-hero .hero-ctas .btn { width: 100%; }
  .hestra-hero .hero-stats { gap: 14px; }
  .hestra-hero .hero-stat-item { min-width: 0; }
  .hestra-hero .hero-stat-label { font-size: 0.56rem; letter-spacing: 0.07em; }
}
