/* ============================================
   ISHELLA 2.5 — Undervarme-kunstgress (sideunik)
   Forutsetter at ishella-core.css er lastet først.
   Importerer hub-CSS for delte komponenter.
   --------------------------------------------
   Brand-vibe: ICE-FORWARD med mint-pust
   (teknisk pillar — lysere, mer luftig 2026)
   ============================================ */
@import url("kunstgressbaner-ishella-2.5.css");

/* ============================================
   HERO — installasjon-bilde + lysere atmosfære
   ============================================ */
.uv-hero.is25-hero::before {
  background-image: url("https://www.isbaneteknikk.no/wp-content/uploads/kunstgress-undervarme-foto-rorsloyfer-sandbed-600x338-1.png");
  filter: brightness(0.46) saturate(1.05) contrast(1.05);
}
.uv-hero.is25-hero::after {
  background:
    radial-gradient(ellipse 58% 68% at 18% 50%, rgba(7,37,26,.74) 0%, transparent 60%),
    radial-gradient(ellipse 64% 68% at 88% 28%, rgba(92,201,252,.30) 0%, transparent 65%),
    radial-gradient(ellipse 44% 52% at 90% 88%, rgba(108,240,189,.24) 0%, transparent 70%),
    radial-gradient(ellipse 36% 38% at 8% 92%, rgba(192,247,218,.14) 0%, transparent 70%),
    linear-gradient(135deg, rgba(7,37,26,.68) 0%, rgba(13,52,36,.30) 55%, rgba(7,37,26,.60) 100%);
}
.uv-hero h1 {
  font-size: clamp(2.7rem, 5.0vw, 4.6rem);
  letter-spacing: -.038em;
  line-height: 1.02;
  font-weight: 900;
}
.uv-hero h1 .accent {
  background: linear-gradient(135deg, var(--is25-ice-pale) 0%, var(--is25-ice-bright) 32%, var(--is25-green-mint) 70%, var(--is25-green-bright) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 38px rgba(165,228,251,.60));
  animation: is25-glow-pulse 5s ease-in-out infinite;
}
.uv-hero .is25-hero-lede {
  font-size: clamp(1.10rem, 1.36vw, 1.28rem);
  line-height: 1.68;
  max-width: 54ch;
  color: rgba(244,251,246,.96);
}

/* Hero panel: ice/mint ramme */
.uv-hero .is25-hero-panel {
  border-color: rgba(149,223,251,.32);
  box-shadow: var(--is25-shadow-lg),
              0 0 60px rgba(78,197,251,.22),
              0 0 80px rgba(75,227,170,.10),
              inset 0 1px 0 rgba(205,237,253,.22);
}
.uv-hero .is25-hero-panel::before {
  background: linear-gradient(135deg,
    rgba(149,223,251,.22) 0%, transparent 50%,
    transparent 70%, rgba(75,227,170,.16) 100%);
}

/* CTA på undervarme = mint/ice aksent */
.is25-cta h2 .accent {
  background: linear-gradient(135deg, #fff 0%, var(--is25-ice-bright) 35%, var(--is25-green-mint) 75%, var(--is25-green-bright) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 28px rgba(149,223,251,.55));
}

/* ============================================
   STICKY NAV — mer luft, tydeligere active state
   ============================================ */
.is25-stickynav {
  background: linear-gradient(180deg, rgba(6,27,19,.92) 0%, rgba(11,42,29,.78) 100%);
  backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid rgba(167,240,207,.16);
}
.is25-stickynav-label { color: var(--is25-green-mint); }
.is25-stickynav a:hover {
  background: rgba(75,227,170,.10);
  color: var(--is25-green-mint);
}
.is25-stickynav a.active {
  background: rgba(75,227,170,.16);
  color: var(--is25-green-mint);
  border-color: rgba(75,227,170,.42);
  box-shadow: 0 0 20px rgba(75,227,170,.20);
}

/* ============================================
   FEAT-GRID — bedre lesbarhet, polish
   ============================================ */
.is25-feat {
  padding: 30px 28px;
  background: linear-gradient(165deg, var(--is25-glass) 0%, rgba(15,50,35,.32) 100%);
  border: 1px solid rgba(167,240,207,.14);
  transition: transform .4s var(--ease-spring), border-color .3s, box-shadow .4s, background .3s;
}
.is25-feat:hover {
  transform: translateY(-4px);
  border-color: rgba(75,227,170,.42);
  box-shadow: var(--is25-shadow-md), 0 0 40px rgba(75,227,170,.18);
  background: linear-gradient(165deg, var(--is25-glass-strong) 0%, rgba(15,50,35,.52) 100%);
}
.is25-feat-icon {
  background: linear-gradient(135deg, rgba(149,223,251,.32) 0%, rgba(75,227,170,.22) 100%);
  border: 1px solid rgba(149,223,251,.32);
  color: var(--is25-ice-bright);
  box-shadow: 0 0 18px rgba(78,197,251,.22) inset, 0 6px 16px rgba(0,0,0,.32);
  width: 46px; height: 46px;
}
.is25-feat:hover .is25-feat-icon {
  transform: scale(1.06) rotate(-3deg);
}
.is25-feat h4 {
  font-size: 1.18rem; line-height: 1.28; margin-bottom: 14px;
  letter-spacing: -.012em;
}
.is25-feat p { font-size: 1.02rem; line-height: 1.68; }

/* ============================================
   LAYERS — nummererte oppbygnings-kort
   ============================================ */
.is25-layer {
  padding: 26px 26px;
  background: var(--is25-glass);
  border: 1px solid rgba(167,240,207,.16);
  transition: border-color .3s, transform .3s var(--ease-spring), box-shadow .3s;
}
.is25-layer:hover {
  border-color: rgba(75,227,170,.42);
  transform: translateX(4px);
  box-shadow: 0 0 28px rgba(75,227,170,.16);
}
.is25-layer-num {
  background: linear-gradient(135deg, var(--is25-green-mint) 0%, var(--is25-ice-bright) 100%);
  color: #04140c;
  box-shadow: 0 6px 16px rgba(75,227,170,.42),
              inset 0 1px 0 rgba(255,255,255,.55);
  font-weight: 800;
}
.is25-layer h4 { font-size: 1.08rem; margin-bottom: 8px; }
.is25-layer p { font-size: .96rem; line-height: 1.6; }

/* ============================================
   AMBITION CARDS — mint-glød, store tall
   ============================================ */
.is25-amb {
  padding: 32px 28px;
  background: linear-gradient(165deg, var(--is25-glass) 0%, rgba(15,50,35,.28) 100%);
  border: 1px solid rgba(167,240,207,.16);
}
.is25-amb:hover {
  border-color: rgba(75,227,170,.45);
  box-shadow: var(--is25-shadow-md), 0 0 50px rgba(75,227,170,.22);
  transform: translateY(-5px);
}
.is25-amb-tag {
  background: rgba(149,223,251,.10);
  border: 1px solid rgba(149,223,251,.32);
  color: var(--is25-ice-bright);
}
.is25-amb h4 { font-size: 1.32rem; margin-bottom: 16px; letter-spacing: -.014em; }
.is25-amb-effekt {
  background: linear-gradient(135deg, var(--is25-ice-bright) 0%, var(--is25-green-mint) 60%, var(--is25-green-bright) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 26px rgba(108,240,189,.48));
}
.is25-amb p {
  font-size: 1.02rem; line-height: 1.68;
}

/* ============================================
   SPEC TABLE — bedre lesbarhet, mint-tone på "good"
   ============================================ */
.is25-spectable {
  background: linear-gradient(165deg, var(--is25-glass) 0%, rgba(15,50,35,.28) 100%);
  border: 1px solid rgba(167,240,207,.16);
}
.is25-spectable thead th {
  background: linear-gradient(180deg, rgba(15,50,35,.78) 0%, rgba(11,42,29,.62) 100%);
  border-bottom: 1px solid rgba(167,240,207,.22);
  font-size: .94rem;
}
.is25-spectable thead th.--good {
  color: var(--is25-green-mint);
  background: linear-gradient(180deg, rgba(75,227,170,.20) 0%, rgba(15,50,35,.72) 100%);
}
.is25-spectable thead th.--bad {
  color: #ffb8c4;
  background: linear-gradient(180deg, rgba(108,240,189,.14) 0%, rgba(15,50,35,.72) 100%);
}
.is25-spectable tbody td.--good { color: var(--is25-green-mint); }
.is25-spectable tbody td:first-child {
  color: var(--is25-text);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .94rem;
  letter-spacing: 0;
  text-transform: none;
}
.is25-spectable tbody tr:hover td {
  background: rgba(75,227,170,.06);
}

/* Topic-cards — bedre i fag-kontekst */
.uv-hero ~ .is25-section .is25-card .is25-card-icon {
  background: linear-gradient(135deg, rgba(149,223,251,.32) 0%, rgba(75,227,170,.22) 100%);
  color: var(--is25-ice-bright);
  border-color: rgba(149,223,251,.32);
}
.uv-hero ~ .is25-section .is25-card-arrow { color: var(--is25-ice-bright); }
.uv-hero ~ .is25-section .is25-card:hover {
  border-color: rgba(149,223,251,.45);
  box-shadow: var(--is25-shadow-lg), 0 0 60px rgba(78,197,251,.22);
}

/* ============================================
   Større, mer lesbare seksjons-headers på undervarme-fagguide
   ============================================ */
.uv-hero ~ .is25-section .is25-title {
  font-size: clamp(2.3rem, 4.6vw, 3.85rem);
  letter-spacing: -.030em;
  line-height: 1.04;
}
.uv-hero ~ .is25-section .is25-intro {
  font-size: clamp(1.06rem, 1.32vw, 1.22rem);
  line-height: 1.72;
  max-width: 60ch;
}

/* Sticky-nav på undervarme får en mint-glow-line under seg */
.is25-stickynav::after {
  content: ""; position: absolute; bottom: -1px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(108,240,189,.55), rgba(165,228,251,.45), transparent);
  pointer-events: none;
}
.is25-stickynav { position: sticky; }

/* ============================================
   Tilgjengelighets-helper — visuelt skjult, men opplest
   ============================================ */
.is25-visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ============================================
   Tabell-fotnote (under spec-tabell)
   ============================================ */
.is25-table-note {
  margin-top: 16px;
  font-size: .86rem; line-height: 1.6;
  color: var(--is25-text-muted);
  font-style: italic;
  padding: 14px 18px;
  background: rgba(149,223,251,.06);
  border-left: 3px solid rgba(149,223,251,.32);
  border-radius: 8px;
}
