/* ==========================================================
   Digitalverket – tillegg til style.css
   ========================================================== */


/* Merkenavn */
.brand-name b { font-weight: 700; color: var(--accent); }
.brand-name small { font-family: var(--body); font-weight: 500; font-size: 14px; color: var(--muted); margin-left: 4px; letter-spacing: 0; }

/* Ressursplan-illustrasjon i hero */
.plan { border: 1px solid #262A30; border-radius: 12px; overflow: hidden; font-size: 13px; }
.plan-row { display: grid; grid-template-columns: 76px repeat(5, 1fr); gap: 6px; align-items: center; padding: 10px 12px; border-top: 1px solid #262A30; }
.plan-row:first-child { border-top: 0; }
.plan-head { background: #1A1D21; font-family: var(--mono); font-size: 11px; color: var(--faint); text-align: center; }
.plan-row .who { grid-column: 1; color: var(--text-2); }
.plan-row b { grid-row: 1; font-size: 11px; font-weight: 600; padding: 5px 8px; border-radius: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.plan-row b.a { background: var(--accent); color: var(--on-accent); }
.plan-row b.s { background: #3B4048; color: var(--text); }
.plan-row b.g { background: #17271D; color: var(--green); border: 1px solid #2B4434; }
.plan-row b.f { background: transparent; color: var(--faint); border: 1px dashed #3A3F46; }

/* Problem-linje */
.problem { font-family: var(--mono); font-size: 12.5px !important; letter-spacing: 0.02em; color: var(--accent-hover) !important; }
.card .problem { margin-top: -6px; }

/* HomeIQ – fremhevet */
.feature { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; background: linear-gradient(135deg, #16201B 0%, var(--surface) 70%); border: 1px solid #2B3A31; border-radius: 22px; padding: 48px; margin-bottom: 24px; }
.feature-text { display: flex; flex-direction: column; gap: 18px; }
.feature .for { font-size: 13px; color: var(--faint); }
.feature h3.homeiq { font-size: 44px; font-weight: 500; letter-spacing: -0.02em; margin-top: 4px; }
.feature h3.homeiq b { font-weight: 700; color: #9BC5A8; }
.feature .tagline { font-family: var(--display); font-size: 20px; color: var(--text); }
.feature p { color: #B4B8BE; }
.feature ul { display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: #D5D2CC; }
.feature ul li::before { content: "–"; color: var(--faint); margin-right: 10px; }
.feature .card-foot a { color: #9BC5A8; }
.feature .card-top { gap: 12px; flex-wrap: wrap; }

.phone { width: 280px; justify-self: center; background: #1D2320; border: 1px solid #34413A; border-radius: 40px; padding: 12px; box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5); }
.screen { background: #F3F1EC; border-radius: 30px; overflow: hidden; color: #1D2320; }
.room { height: 190px; background: linear-gradient(180deg, #D9CFC0 0 62%, #B89B7A 62% 100%); position: relative; }
.room .sofa { position: absolute; left: 30px; bottom: 36px; width: 140px; height: 44px; background: #6E8A7A; border-radius: 14px 14px 6px 6px; }
.room .sofa::before { content: ""; position: absolute; left: -10px; right: -10px; top: -24px; height: 32px; background: #7E9A8A; border-radius: 14px; }
.room .lamp { position: absolute; right: 44px; bottom: 36px; width: 4px; height: 90px; background: #333; }
.room .lamp::before { content: ""; position: absolute; left: -20px; top: -14px; width: 44px; height: 28px; background: #F1E3C6; border-radius: 6px 6px 22px 22px; }
.room .art { position: absolute; left: 64px; top: 26px; width: 66px; height: 44px; background: #E8A951; border: 4px solid #fff; }
.hotspot { position: absolute; right: 20px; top: 48px; background: #fff; border-radius: 10px; padding: 6px 9px; font-size: 11px; font-weight: 600; box-shadow: 0 6px 14px rgba(0,0,0,.15); }
.hotspot span { color: #2E7D4F; }
.screen-body { padding: 14px; }
.srow { display: flex; justify-content: space-between; align-items: center; background: #fff; border-radius: 12px; padding: 10px 12px; font-size: 12px; line-height: 1.4; margin-bottom: 8px; }
.srow b { font-size: 13px; }
.score { background: #1D2320; color: #fff; border-radius: 8px; padding: 3px 8px; font-weight: 700; }

/* Referanse */
.ref-section { padding: 0 0 112px; }
.ref { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; padding: 48px; border: 1px solid var(--border); border-radius: 22px; }
.ref > div { display: flex; flex-direction: column; gap: 14px; }
.ref h2 { font-size: clamp(28px, 3vw, 36px); }
.ref p { color: var(--muted); }
.quote-placeholder { margin: 0; padding: 22px 24px; border: 1.5px dashed #3A3F46; border-radius: 14px; color: var(--faint); font-size: 15px; }

/* Kontaktskjema */
.contact-text .contact-line { color: var(--text-2); }
.contact-box label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--text-2); }
.contact-box input, .contact-box select, .contact-box textarea { font: inherit; font-size: 16px; font-weight: 400; color: var(--text); background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 11px 14px; }
.contact-box input::placeholder, .contact-box textarea::placeholder { color: var(--faint); }
.contact-box input:focus, .contact-box select:focus, .contact-box textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.contact-box textarea { resize: vertical; min-height: 100px; }
.contact-box button { border: 0; cursor: pointer; font-family: inherit; }
.form-ok { font-size: 14px; color: var(--green); background: #17271D; padding: 12px 14px; border-radius: 10px; }

@media (max-width: 1024px) {
  .feature, .ref { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .feature { padding: 24px; gap: 36px; }
  .feature h3.homeiq { font-size: 36px; }
  .ref { padding: 28px 20px; }
  .ref-section { padding-bottom: 72px; }
  .phone { width: 100%; max-width: 280px; }
  .plan-row { grid-template-columns: 58px repeat(5, 1fr); gap: 4px; padding: 8px; }
  .brand-name small { display: none; }
  .site-header .btn { display: none; }
}

.form-feil { font-size: 14px; color: #F2A7A0; background: #2A1716; padding: 12px 14px; border-radius: 10px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.contact-box button:disabled { opacity: .6; cursor: wait; }
