/* DyreHjelpen product pages — forest theme on hazher.no */

.theme-forest.hj-site,
.hj-site.theme-forest {
  --hj-accent: #2e6f40;
  --hj-accent-2: #4a9a5f;
  --hj-glow: rgba(46, 111, 64, 0.45);
  --dh-terra: #e86a33;
  --dh-mist: #e8f0ea;
  --dh-ink: #163528;
}

.theme-forest .doc-pill--rapid,
.theme-forest .hj-badge-row .doc-pill--rapid {
  background: #2e6f40;
  color: #fff;
}

.theme-forest .hero-cta-primary,
.theme-forest .hz-btn--primary,
.theme-forest .btn-rapid-primary,
.theme-forest .apple-cta-band .btn-rapid-primary {
  background: #2e6f40 !important;
  border-color: #2e6f40 !important;
}

.theme-forest .btn-rapid-primary:hover {
  filter: brightness(1.06);
}

/* Full-bleed forest hero */
.dh-hero {
  position: relative;
  min-height: min(92vh, 900px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

.dh-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.dh-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.04);
  animation: dh-hero- ken 28s ease-in-out infinite alternate;
}

@keyframes dh-hero-ken {
  to {
    transform: scale(1.1) translate3d(-1.5%, -1%, 0);
  }
}

.dh-hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(10, 28, 18, 0.35) 0%, rgba(10, 28, 18, 0.55) 40%, rgba(8, 22, 14, 0.92) 100%),
    radial-gradient(ellipse 80% 50% at 70% 20%, rgba(232, 106, 51, 0.18), transparent 55%);
}

.dh-hero__inner {
  position: relative;
  z-index: 2;
  padding: clamp(5rem, 12vh, 8rem) 1.25rem 3.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.dh-hero__brand {
  font-family: Syne, system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin: 0 0 0.85rem;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
}

.dh-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(46, 111, 64, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.dh-hero__lead {
  max-width: 34rem;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 1.75rem;
}

.dh-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.dh-hero__actions .btn {
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  font-weight: 800;
}

.dh-hero__actions .btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}

.dh-hero__actions .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
}

/* Story strip */
.dh-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin: -2.5rem auto 0;
  padding: 0 1.25rem 3rem;
  max-width: 1100px;
  position: relative;
  z-index: 3;
}

@media (max-width: 800px) {
  .dh-strip {
    grid-template-columns: 1fr;
    margin-top: -1.5rem;
  }
}

.dh-strip__card {
  background: rgba(255, 255, 255, 0.96);
  color: var(--dh-ink, #163528);
  border-radius: 22px;
  padding: 1.15rem 1.25rem;
  box-shadow: 0 18px 50px rgba(8, 22, 14, 0.18);
  border: 1px solid rgba(46, 111, 64, 0.12);
}

.dh-strip__card strong {
  display: block;
  font-family: Syne, sans-serif;
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.dh-strip__card span {
  color: #5c6b61;
  font-size: 0.92rem;
  line-height: 1.4;
}

/* Feature with photo */
.dh-feature {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.dh-feature__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.dh-feature--flip .dh-feature__grid {
  grid-template-columns: 0.95fr 1.05fr;
}

.dh-feature--flip .dh-feature__copy {
  order: 2;
}

.dh-feature--flip .dh-feature__visual {
  order: 1;
}

@media (max-width: 860px) {
  .dh-feature__grid,
  .dh-feature--flip .dh-feature__grid {
    grid-template-columns: 1fr;
  }
  .dh-feature--flip .dh-feature__copy,
  .dh-feature--flip .dh-feature__visual {
    order: unset;
  }
}

.dh-feature__label {
  color: var(--dh-terra, #e86a33);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 0.6rem;
}

.dh-feature h2 {
  font-family: Syne, sans-serif;
  font-size: clamp(1.7rem, 3.5vw, 2.35rem);
  line-height: 1.15;
  margin: 0 0 0.85rem;
  color: #f2f7f3;
}

.theme-forest.apple-site .dh-feature h2 {
  color: #f2f7f3;
}

.dh-feature p {
  color: rgba(242, 247, 243, 0.78);
  line-height: 1.6;
  margin: 0 0 1rem;
  font-size: 1.05rem;
}

.dh-feature__list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.55rem;
}

.dh-feature__list li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  color: rgba(242, 247, 243, 0.88);
  font-size: 0.98rem;
  line-height: 1.45;
}

.dh-feature__list li::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--dh-terra, #e86a33);
  flex-shrink: 0;
}

.dh-photo {
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.dh-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Mosaic */
.dh-mosaic {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 180px 180px;
  gap: 0.75rem;
}

@media (max-width: 800px) {
  .dh-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 140px 140px 140px;
  }
  .dh-mosaic__wide {
    grid-column: 1 / -1;
    grid-row: auto;
  }
}

.dh-mosaic figure {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.dh-mosaic__wide {
  grid-row: 1 / span 2;
}

.dh-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dh-mosaic figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem;
  background: linear-gradient(transparent, rgba(8, 22, 14, 0.85));
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
}

/* Long copy on dark */
.dh-prose {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
  color: rgba(242, 247, 243, 0.86);
  line-height: 1.7;
}

.dh-prose h2 {
  font-family: Syne, sans-serif;
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 2.5rem 0 0.85rem;
}

.dh-prose h3 {
  color: #c5e0cc;
  margin: 1.6rem 0 0.5rem;
  font-size: 1.15rem;
}

.dh-prose p {
  margin: 0 0 1rem;
}

.dh-prose ul {
  margin: 0 0 1.25rem;
  padding-left: 1.2rem;
}

.dh-prose li {
  margin-bottom: 0.4rem;
}

/* Support FAQ accordion-ish cards */
.dh-faq {
  display: grid;
  gap: 0.85rem;
  margin: 1.5rem 0 2rem;
}

.dh-faq details {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 0.85rem 1.1rem;
}

.dh-faq summary {
  cursor: pointer;
  font-weight: 800;
  color: #f2f7f3;
  list-style: none;
}

.dh-faq summary::-webkit-details-marker {
  display: none;
}

.dh-faq details[open] summary {
  color: var(--hj-accent-2, #4a9a5f);
  margin-bottom: 0.55rem;
}

.dh-faq p {
  margin: 0;
  color: rgba(242, 247, 243, 0.78);
  line-height: 1.55;
}

.dh-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.dh-contact-card {
  background: rgba(46, 111, 64, 0.18);
  border: 1px solid rgba(74, 154, 95, 0.35);
  border-radius: 18px;
  padding: 1.25rem;
}

.dh-contact-card h3 {
  margin: 0 0 0.4rem;
  font-family: Syne, sans-serif;
  color: #fff;
}

.dh-contact-card p {
  margin: 0;
  color: rgba(242, 247, 243, 0.8);
  line-height: 1.45;
  font-size: 0.95rem;
}
