/* =========================================================
   IPTV Norge Abonnement — static rebuild
   Palette derived from original Avada theme:
   green #0b603b · blue #0a8fbe · dark #141617 / #212326
   text light #c1c1c1 · headings #ffffff (dark) / #141617 (light)
   Font: Inter
   ========================================================= */

:root {
  --green:      #0b603b;
  --green-dark: #094c2f;
  --blue:       #0a8fbe;
  --blue-dark:  #0a7da6;
  --ink:        #141617;
  --ink-2:      #212326;
  --ink-3:      #2c2f33;
  --muted:      #c1c1c1;
  --grey-6:     #434549;
  --light:      #ffffff;
  --light-2:    #f9f9fb;
  --light-3:    #f2f3f5;
  --border:     #e3e6ea;
  --maxw:       1180px;
  --radius:     10px;
  --shadow:     0 10px 30px rgba(0,0,0,.08);
  --shadow-lg:  0 18px 50px rgba(0,0,0,.18);
  --font:       'Inter', Arial, Helvetica, sans-serif;
}

*,*::before,*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: #33373b;
  background: var(--light);
  overflow-x: hidden;
}

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.1rem, 5vw, 4rem); }
h2 { font-size: clamp(1.7rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.6vw, 2.25rem); }
h4 { font-size: 1.2rem; }

p { margin: 0 0 1.1em; }

a { color: var(--blue); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--blue-dark); }

img { max-width: 100%; height: auto; display: block; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 84px 0; }
.section--tight { padding: 56px 0; }
.section--light { background: var(--light); }
.section--light-2 { background: var(--light-2); }
.section--light-3 { background: var(--light-3); }
.section--dark { background: var(--ink); color: var(--muted); }
.section--green { background: var(--green); color: #eafaf2; }
.section--dark h1,.section--dark h2,.section--dark h3,
.section--green h1,.section--green h2,.section--green h3 { color: #fff; }

.center { text-align: center; }
.lead { font-size: 1.15rem; max-width: 760px; margin-left: auto; margin-right: auto; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 14px;
}
.section--dark .eyebrow, .section--green .eyebrow { color: #8fe3c4; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1;
  padding: 16px 30px;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: background .15s ease, transform .12s ease, box-shadow .15s ease;
}
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-dark); color:#fff; transform: translateY(-2px); box-shadow: 0 8px 22px rgba(10,143,190,.35); }
.btn--green { background: var(--green); color:#fff; }
.btn--green:hover { background: var(--green-dark); color:#fff; transform: translateY(-2px); box-shadow: 0 8px 22px rgba(11,96,59,.35); }
.btn--ghost { background: transparent; color:#fff; border-color: rgba(255,255,255,.6); }
.btn--ghost:hover { background:#fff; color: var(--ink); }
.btn--lg { padding: 18px 38px; font-size: 1.08rem; }
.btn--block { display:block; width:100%; }

/* ---------- Skip link ---------- */
.skip-link {
  position:absolute; left:-9999px; top:0; background:var(--blue); color:#fff;
  padding:10px 16px; z-index:1000; border-radius:0 0 6px 0;
}
.skip-link:focus { left:0; color:#fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--green);
  box-shadow: 0 2px 14px rgba(0,0,0,.18);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 70px; gap: 18px;
}
.brand {
  color:#fff; font-weight: 700; font-size: 1.18rem; letter-spacing: .02em;
  text-transform: uppercase; white-space: nowrap;
}
.brand:hover { color:#fff; opacity:.9; }
.main-nav ul {
  list-style:none; margin:0; padding:0; display:flex; gap: 4px; align-items:center;
}
.main-nav a {
  color:#eafaf2; font-weight:500; font-size:.95rem; padding:10px 14px; border-radius:6px;
  display:block; transition: background .15s ease, color .15s ease;
}
.main-nav a:hover { background: rgba(255,255,255,.12); color:#fff; }
.main-nav a[aria-current="page"] { background: rgba(255,255,255,.18); color:#fff; }
.nav-toggle {
  display:none; background:transparent; border:0; cursor:pointer; padding:10px;
  flex-direction:column; gap:5px;
}
.nav-toggle span { width:26px; height:3px; background:#fff; border-radius:2px; transition:.2s; }

@media (max-width: 980px) {
  .nav-toggle { display:flex; }
  .main-nav {
    position:absolute; top:100%; left:0; right:0; background:var(--green-dark);
    max-height:0; overflow:hidden; transition:max-height .3s ease;
  }
  .main-nav.open { max-height:520px; }
  .main-nav ul { flex-direction:column; gap:0; padding:8px 0; }
  .main-nav a { padding:14px 24px; border-radius:0; }
  .nav-toggle.open span:nth-child(1){ transform:translateY(8px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2){ opacity:0; }
  .nav-toggle.open span:nth-child(3){ transform:translateY(-8px) rotate(-45deg); }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, #0c3d29 0%, var(--green) 55%, #0a7da6 130%);
  color:#fff; padding: 90px 0;
}
.hero-grid {
  display:grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items:center;
}
.hero h1 { color:#fff; margin-bottom:.4em; }
.hero p { font-size:1.2rem; color: rgba(255,255,255,.9); max-width:540px; }
.hero-price { font-size:1.05rem; font-weight:600; color:#bff0db; margin-bottom:1.4em; }
.hero-cta { display:flex; gap:14px; flex-wrap:wrap; margin-top:24px; }
.hero-img img { border-radius:16px; box-shadow: var(--shadow-lg); width:100%; }
@media (max-width: 860px){
  .hero-grid { grid-template-columns:1fr; gap:34px; }
  .hero-img { order:-1; }
  .hero { padding:60px 0; }
}

/* ---------- Pricing cards ---------- */
.price-grid {
  display:grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 44px;
}
@media (max-width:1080px){ .price-grid { grid-template-columns: repeat(3,1fr);} }
@media (max-width:760px){ .price-grid { grid-template-columns: repeat(2,1fr);} }
@media (max-width:480px){ .price-grid { grid-template-columns: 1fr;} }
.price-card {
  background:#fff; border:1px solid var(--border); border-radius: var(--radius);
  padding: 28px 22px; text-align:center; display:flex; flex-direction:column;
  box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .15s ease;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.price-card.is-featured { border-color: var(--blue); box-shadow:0 12px 34px rgba(10,143,190,.22); }
.price-card .badge {
  display:inline-block; background: var(--blue); color:#fff; font-size:.72rem; font-weight:600;
  letter-spacing:.08em; text-transform:uppercase; padding:5px 12px; border-radius:20px; margin-bottom:14px;
}
.price-card h3 { font-size:1.4rem; margin-bottom:4px; color:var(--ink); }
.price-card .term { color:#7c8288; font-size:.9rem; margin-bottom:14px; }
.price-card .amount { font-size:2.3rem; font-weight:700; color:var(--green); line-height:1; margin-bottom:4px; }
.price-card .amount small { font-size:.95rem; color:#7c8288; font-weight:500; }
.price-card ul { list-style:none; margin:18px 0 22px; padding:0; text-align:left; }
.price-card li { padding:7px 0 7px 26px; position:relative; font-size:.93rem; color:#4a4f54; }
.price-card li::before {
  content:""; position:absolute; left:0; top:12px; width:14px; height:8px;
  border-left:2px solid var(--green); border-bottom:2px solid var(--green); transform:rotate(-45deg);
}
.price-card .btn { margin-top:auto; }

/* ---------- Feature grid ---------- */
.feature-grid {
  display:grid; grid-template-columns: repeat(3,1fr); gap:28px; margin-top:46px;
}
@media (max-width:900px){ .feature-grid { grid-template-columns: repeat(2,1fr);} }
@media (max-width:560px){ .feature-grid { grid-template-columns: 1fr;} }
.feature {
  background:#fff; border:1px solid var(--border); border-radius:var(--radius);
  padding:30px 26px; box-shadow: var(--shadow);
}
.feature .ic {
  width:52px; height:52px; border-radius:12px; display:flex; align-items:center; justify-content:center;
  background: rgba(10,143,190,.1); color:var(--blue); margin-bottom:18px;
}
.feature .ic svg { width:26px; height:26px; }
.feature h3 { font-size:1.2rem; margin-bottom:.4em; }
.feature p { color:#5a6065; font-size:.96rem; margin:0; }

/* ---------- Split content (image + text) ---------- */
.split {
  display:grid; grid-template-columns: 1fr 1fr; gap:50px; align-items:center;
}
@media (max-width:860px){ .split { grid-template-columns:1fr; gap:30px; } }
.split img { border-radius:16px; box-shadow:var(--shadow); }
.checklist { list-style:none; margin:1.4em 0; padding:0; }
.checklist li { position:relative; padding:9px 0 9px 34px; }
.checklist li::before {
  content:""; position:absolute; left:0; top:13px; width:16px; height:9px;
  border-left:3px solid var(--blue); border-bottom:3px solid var(--blue); transform:rotate(-45deg);
}
.section--dark .checklist li::before, .section--green .checklist li::before { border-color:#8fe3c4; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { font-size:.85rem; color:#7c8288; padding:18px 0 0; }
.breadcrumbs ol { list-style:none; display:flex; flex-wrap:wrap; gap:8px; margin:0; padding:0; }
.breadcrumbs li::after { content:"/"; margin-left:8px; color:#b4b9bd; }
.breadcrumbs li:last-child::after { content:""; }
.breadcrumbs a { color:#7c8288; }
.breadcrumbs a:hover { color:var(--blue); }
.breadcrumbs [aria-current="page"] { color:var(--ink); }

/* ---------- Product page ---------- */
.product { display:grid; grid-template-columns: .9fr 1.1fr; gap:50px; align-items:start; }
@media (max-width:860px){ .product { grid-template-columns:1fr; gap:30px; } }
.product-media { background:var(--light-3); border-radius:16px; padding:40px; display:flex; align-items:center; justify-content:center; }
.product-media img { max-width:300px; border-radius:12px; }
.product h1 { margin-bottom:.2em; }
.product .price { font-size:2.4rem; font-weight:700; color:var(--green); margin:0 0 .2em; }
.product .subtitle { font-style:italic; color:#5a6065; font-size:1.1rem; margin-bottom:1.2em; }
.product .benefits { list-style:none; margin:0 0 1.4em; padding:0; }
.product .benefits li { position:relative; padding:9px 0 9px 32px; }
.product .benefits li::before {
  content:""; position:absolute; left:0; top:13px; width:15px; height:8px;
  border-left:3px solid var(--green); border-bottom:3px solid var(--green); transform:rotate(-45deg);
}
.product .info-block { background:var(--light-2); border-left:4px solid var(--blue); padding:14px 20px; border-radius:8px; margin-bottom:16px; }
.product .info-block strong { display:block; color:var(--ink); margin-bottom:4px; }
.product .tagline { font-weight:600; color:var(--ink); margin:18px 0; }
.product .btn { margin-top:8px; }

/* ---------- FAQ accordion ---------- */
.faq { max-width:820px; margin:0 auto; }
.faq-item { border:1px solid var(--border); border-radius:10px; margin-bottom:14px; background:#fff; overflow:hidden; }
.faq-q {
  width:100%; text-align:left; background:none; border:0; cursor:pointer;
  padding:20px 56px 20px 22px; font-size:1.1rem; font-weight:600; color:var(--ink);
  position:relative; font-family:var(--font);
}
.faq-q::after {
  content:"+"; position:absolute; right:22px; top:50%; transform:translateY(-50%);
  font-size:1.6rem; font-weight:400; color:var(--blue); transition:transform .2s ease;
}
.faq-q[aria-expanded="true"]::after { content:"−"; }
.faq-a { max-height:0; overflow:hidden; transition:max-height .3s ease; padding:0 22px; }
.faq-a.open { max-height:600px; }
.faq-a-inner { padding:0 0 20px; color:#4a4f54; }
.faq-a-inner ol, .faq-a-inner ul { margin:.4em 0; padding-left:1.3em; }
.faq-a-inner li { padding:4px 0; }

/* ---------- Channel list ---------- */
.channel-layout { display:grid; grid-template-columns: 300px 1fr; gap:30px; align-items:start; }
@media (max-width:820px){ .channel-layout { grid-template-columns:1fr; } }
.channel-search { width:100%; padding:13px 16px; border:1px solid var(--border); border-radius:8px; font-size:1rem; margin-bottom:16px; font-family:var(--font); }
.group-box { border:1px solid var(--border); border-radius:10px; background:#fff; max-height:560px; overflow:auto; padding:8px; }
.group-box h2 { font-size:1rem; padding:8px 12px; margin:0; color:#7c8288; text-transform:uppercase; letter-spacing:.08em; }
.group-list { list-style:none; margin:0; padding:0; }
.group-list li a, .group-list li span { display:block; padding:8px 12px; border-radius:6px; color:#4a4f54; font-size:.9rem; }
.group-list li a:hover { background:var(--light-3); color:var(--green); }
.channel-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:10px; }
.channel-card {
  border:1px solid var(--border); border-radius:8px; padding:13px 16px; background:#fff;
  font-size:.92rem; font-weight:500; color:var(--ink); display:flex; align-items:center; gap:10px;
}
.channel-card .dot { width:8px; height:8px; border-radius:50%; background:var(--green); flex:0 0 auto; }
.count-pill { display:inline-block; background:var(--light-3); color:#5a6065; padding:4px 12px; border-radius:20px; font-size:.85rem; font-weight:600; }

/* ---------- Article / blog ---------- */
.article { max-width:780px; margin:0 auto; }
.article-meta { color:#7c8288; font-size:.9rem; display:flex; flex-wrap:wrap; gap:8px 18px; margin-bottom:24px; align-items:center; }
.article-meta .avatar { width:34px; height:34px; border-radius:50%; background:var(--green); color:#fff; display:inline-flex; align-items:center; justify-content:center; font-weight:600; }
.article-hero img { border-radius:16px; box-shadow:var(--shadow); margin:0 0 30px; width:100%; }
.article h2 { margin-top:1.6em; font-size:clamp(1.5rem,3vw,2.1rem); }
.article h3 { margin-top:1.3em; font-size:1.3rem; }
.article p, .article li { font-size:1.05rem; color:#3a3f44; }
.article ul, .article ol { padding-left:1.3em; }
.article li { padding:5px 0; }
.toc { background:var(--light-2); border:1px solid var(--border); border-radius:12px; padding:22px 26px; margin:0 0 34px; }
.toc h2 { font-size:1.1rem; margin:0 0 12px; }
.toc ol { margin:0; padding-left:1.2em; }
.toc a { color:#3a3f44; }
.toc a:hover { color:var(--blue); }
.callout { background:var(--light-2); border-left:4px solid var(--blue); padding:16px 22px; border-radius:8px; margin:1.4em 0; }
.tip { font-style:italic; color:#5a6065; }
.flag { font-weight:600; color:var(--ink); border-left:3px solid #e23b3b; padding:2px 0 2px 12px; margin:1em 0 .2em; }
.faq-link { margin-top:.5em; font-size:.95rem; }
.author-bio { display:flex; gap:16px; align-items:flex-start; background:var(--light-2); border:1px solid var(--border); border-radius:12px; padding:20px 22px; margin:2.4em 0 0; }
.author-bio .avatar { width:52px; height:52px; flex:0 0 52px; border-radius:50%; background:var(--green); color:#fff; display:inline-flex; align-items:center; justify-content:center; font-weight:700; font-size:1.2rem; }
.author-bio__name { font-weight:700; margin:0 0 6px; color:var(--ink); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--green) 0%, var(--blue) 100%); color:#fff; text-align:center; border-radius:18px; padding:54px 30px; }
.cta-band h2 { color:#fff; }
.cta-band p { color:rgba(255,255,255,.92); max-width:600px; margin:0 auto 24px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--muted); padding:56px 0 30px; }
.footer-grid { display:grid; grid-template-columns: 1.4fr 1fr 1fr; gap:34px; margin-bottom:36px; }
@media (max-width:760px){ .footer-grid { grid-template-columns:1fr; gap:26px; } }
.site-footer h4 { color:#fff; font-size:1rem; margin-bottom:14px; text-transform:uppercase; letter-spacing:.06em; }
.site-footer .brand-foot { font-size:1.2rem; font-weight:700; color:#fff; text-transform:uppercase; margin-bottom:12px; display:inline-block; }
.site-footer p { font-size:.94rem; color:var(--muted); }
.footer-links { list-style:none; margin:0; padding:0; }
.footer-links li { margin-bottom:9px; }
.footer-links a { color:var(--muted); font-size:.94rem; }
.footer-links a:hover { color:#fff; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.1); padding-top:22px; text-align:center; font-size:.88rem; color:#8a9097; }

/* ---------- Helpers ---------- */
.mt-0{margin-top:0}.mb-0{margin-bottom:0}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0;}
