/* Kutoppen Service AS – felles stilark */
:root {
  --navy: #12224a;
  --navy-2: #1b3368;
  --gul: #f6c21a;
  --gul-mork: #d9a400;
  --himmel: #cfe6f7;
  --skog: #2f5d3a;
  --bakgrunn: #f6f8fb;
  --kort: #ffffff;
  --tekst: #1b2433;
  --tekst-svak: #566176;
  --linje: #dfe5ee;
  --radius: 14px;
  --skygge: 0 6px 24px rgba(18, 34, 74, .10);
  --maks: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Barlow", system-ui, sans-serif;
  font-size: 1.075rem;
  line-height: 1.6;
  color: var(--tekst);
  background: var(--bakgrunn);
}
img { max-width: 100%; display: block; }
a { color: var(--navy-2); }
h1, h2, h3 {
  font-family: "Barlow Condensed", "Barlow", sans-serif;
  font-weight: 800;
  font-style: italic;
  line-height: 1.1;
  color: var(--navy);
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
.skript { font-family: "Kaushan Script", cursive; font-weight: 400; font-style: normal; }

.wrap { width: min(var(--maks), 100% - 32px); margin-inline: auto; }

/* ---------- Header / meny ---------- */
.topp {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.18);
}
.topp .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.logo svg { width: 46px; height: 28px; flex: none; }
.logo span {
  font-family: "Barlow Condensed", sans-serif; font-weight: 800; font-style: italic;
  font-size: 1.5rem; letter-spacing: .3px; white-space: nowrap;
}
.logo small { display: block; font-size: .8rem; font-style: normal; font-weight: 500; color: var(--gul); letter-spacing: 1px; text-transform: uppercase; line-height: 1; }

.meny ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.meny a {
  display: block; padding: 10px 14px; border-radius: 8px;
  color: #fff; text-decoration: none; font-weight: 600;
}
.meny a:hover { background: var(--navy-2); }
.meny a[aria-current="page"] { background: var(--gul); color: var(--navy); }
.meny-knapp {
  display: none; background: none; border: 2px solid rgba(255,255,255,.4); color: #fff;
  border-radius: 8px; padding: 8px 12px; font: inherit; font-weight: 700; cursor: pointer;
}

@media (max-width: 900px) {
  .meny-knapp { display: block; }
  .meny { position: absolute; top: 100%; left: 0; right: 0; background: var(--navy); display: none; padding: 8px 16px 16px; }
  .meny.apen { display: block; }
  .meny ul { flex-direction: column; }
  .meny a { padding: 12px 14px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #8fc3ea 0%, var(--himmel) 55%, #eef6fc 100%);
  padding: 64px 0 120px;
  text-align: center;
}
.hero .fjell { position: absolute; left: 0; right: 0; bottom: -2px; width: 100%; height: 160px; }
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { color: var(--navy); text-shadow: 0 2px 0 rgba(255,255,255,.6); margin-bottom: .1em; }
.hero .slagord { font-size: clamp(1.6rem, 4vw, 2.6rem); color: var(--navy); margin: 0 0 .6em; }
.hero .stripe { display: block; width: min(520px, 80%); height: 8px; margin: 0 auto 22px; background: var(--gul); border-radius: 8px; transform: skewX(-20deg); }
.hero .ingress { max-width: 660px; margin: 0 auto 28px; font-size: 1.2rem; color: var(--tekst); }
.hero.liten { padding: 48px 0 100px; }
.hero.liten h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.hero.vinter { background: linear-gradient(180deg, #7aa7d6 0%, #dbe9f6 60%, #f3f8fd 100%); }
.hero.sommer { background: linear-gradient(180deg, #8fd0f0 0%, #d8f0e0 70%, #eef8f0 100%); }
.hero.ved { background: linear-gradient(180deg, #e9c58f 0%, #f6e5c9 65%, #fbf4e8 100%); }

/* ---------- Knapper ---------- */
.knapper { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.knapp {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; font-weight: 700; text-decoration: none;
  background: var(--gul); color: var(--navy); border: 2px solid var(--gul);
  transition: transform .15s, background .15s;
}
.knapp:hover { background: var(--gul-mork); border-color: var(--gul-mork); transform: translateY(-1px); }
.knapp.sekundar { background: transparent; color: var(--navy); border-color: var(--navy); }
.knapp.sekundar:hover { background: var(--navy); color: #fff; }

/* ---------- Seksjoner ---------- */
.seksjon { padding: 64px 0; }
.seksjon.hvit { background: #fff; }
.seksjon.mork { background: var(--navy); color: #e8edf7; }
.seksjon.mork h2, .seksjon.mork h3 { color: #fff; }
.seksjon-topp { text-align: center; max-width: 720px; margin: 0 auto 36px; }
.seksjon-topp p { color: var(--tekst-svak); }
.seksjon.mork .seksjon-topp p { color: #c3cde0; }

/* ---------- Tjenestekort ---------- */
.rutenett { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.kort {
  background: var(--kort); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--skygge); display: flex; flex-direction: column;
  text-decoration: none; color: inherit; transition: transform .15s;
}
a.kort:hover { transform: translateY(-3px); }
.kort img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.kort .innhold { padding: 18px 20px 22px; flex: 1; }
.kort h3 { margin-bottom: .3em; }
.kort p { color: var(--tekst-svak); margin: 0; }
.merke {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
  padding: 3px 10px; border-radius: 999px; margin-bottom: 8px;
  background: #e3f1e6; color: var(--skog);
}
.merke.vinter { background: #e2ecf8; color: var(--navy-2); }
.merke.helar { background: #fdf1c9; color: #7a5b00; }

/* ---------- Verdier ---------- */
.verdier { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 34px; list-style: none; padding: 0; margin: 0; }
.verdier li { display: flex; align-items: center; gap: 10px; font-family: "Barlow Condensed", sans-serif; font-style: italic; font-weight: 700; font-size: 1.5rem; }
.hake { width: 30px; height: 30px; border-radius: 50%; background: var(--gul); color: var(--navy); display: grid; place-items: center; flex: none; }
.hake svg { width: 18px; height: 18px; }

/* ---------- To kolonner ---------- */
.todelt { display: grid; gap: 40px; grid-template-columns: 1.1fr 1fr; align-items: center; }
.todelt.snu > :first-child { order: 2; }
.todelt img { border-radius: var(--radius); box-shadow: var(--skygge); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 820px) { .todelt { grid-template-columns: 1fr; } .todelt.snu > :first-child { order: 0; } }

.liste { padding-left: 0; list-style: none; margin: 0 0 1em; }
.liste li { position: relative; padding-left: 30px; margin-bottom: .5em; }
.liste li::before {
  content: ""; position: absolute; left: 4px; top: .55em; width: 12px; height: 12px;
  background: var(--gul); border-radius: 3px; transform: rotate(45deg);
}

/* ---------- Sesongkalender ---------- */
.kalender { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; margin-top: 8px; }
.kalender div {
  text-align: center; font-size: .85rem; font-weight: 700; padding: 10px 0; border-radius: 6px;
  background: #e9edf3; color: var(--tekst-svak);
}
.kalender .s { background: #cfe9d5; color: var(--skog); }
.kalender .v { background: #d5e3f5; color: var(--navy-2); }
.kalender .a { background: #fbe8a6; color: #6d5200; }
.forklaring { display: flex; gap: 18px; flex-wrap: wrap; font-size: .92rem; color: var(--tekst-svak); margin-top: 12px; }
.forklaring span::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.forklaring .s::before { background: #cfe9d5; }
.forklaring .v::before { background: #d5e3f5; }
.forklaring .a::before { background: #fbe8a6; }
@media (max-width: 560px) {
  .kalender { grid-template-columns: repeat(6, 1fr); }
}

/* ---------- Ved / produkter ---------- */
.produkt { position: relative; }
.produkt .pris { margin-top: 14px; font-weight: 700; color: var(--navy); }
.tabell-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--skygge); }
th, td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--linje); }
th { background: var(--navy); color: #fff; font-weight: 700; }
tr:last-child td { border-bottom: 0; }

/* ---------- Skjema ---------- */
.skjema { background: #fff; border-radius: var(--radius); box-shadow: var(--skygge); padding: 28px; display: grid; gap: 16px; }
.skjema .rad { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
@media (max-width: 620px) { .skjema .rad { grid-template-columns: 1fr; } }
.skjema label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.skjema input, .skjema select, .skjema textarea {
  font: inherit; padding: 11px 12px; border-radius: 8px; border: 1.5px solid var(--linje); background: #fbfcfe; color: var(--tekst);
}
.skjema input:focus, .skjema select:focus, .skjema textarea:focus { outline: 3px solid rgba(246,194,26,.5); border-color: var(--gul-mork); }
.skjema button { justify-self: start; cursor: pointer; font: inherit; font-weight: 700; }
.skjema .hint { font-size: .88rem; color: var(--tekst-svak); margin: 0; }

/* ---------- Holding / struktur ---------- */
.struktur { display: grid; justify-items: center; gap: 0; margin: 10px auto 0; max-width: 520px; }
.struktur .boks {
  width: 100%; text-align: center; padding: 18px 20px; border-radius: var(--radius);
  background: #fff; box-shadow: var(--skygge); border-top: 5px solid var(--gul);
}
.struktur .boks.eier { background: var(--navy); color: #fff; border-top-color: var(--gul); }
.struktur .boks strong { font-family: "Barlow Condensed", sans-serif; font-style: italic; font-size: 1.6rem; display: block; }
.struktur .boks span { font-size: .95rem; opacity: .85; }
.struktur .strek { width: 4px; height: 40px; background: var(--gul); }

/* ---------- Kontakt-bånd ---------- */
.kontakt-band { background: var(--navy); color: #fff; padding: 44px 0; position: relative; overflow: hidden; }
.kontakt-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.kontakt-linjer { display: flex; flex-wrap: wrap; gap: 14px 36px; align-items: center; }
.kontakt-linjer a, .kontakt-linjer div {
  display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none;
  font-weight: 700; font-size: 1.25rem;
}
.kontakt-linjer .tlf { font-family: "Barlow Condensed", sans-serif; font-size: 2.2rem; font-style: italic; }
.kontakt-linjer svg { width: 28px; height: 28px; color: var(--gul); flex: none; }
.ta-kontakt {
  font-family: "Kaushan Script", cursive; font-size: 1.6rem; line-height: 1.15; text-align: center;
  background: var(--gul); color: var(--navy); padding: 14px 26px; border-radius: 18px;
  transform: rotate(-6deg); text-decoration: none; box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
.ta-kontakt:hover { transform: rotate(-3deg) scale(1.03); }

/* ---------- Footer ---------- */
.bunn { background: #0b1633; color: #aab5cc; padding: 36px 0 28px; font-size: .95rem; }
.bunn .wrap { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.bunn h4 { color: #fff; margin: 0 0 10px; font-size: 1rem; text-transform: uppercase; letter-spacing: 1px; }
.bunn a { color: #dfe6f3; text-decoration: none; }
.bunn a:hover { color: var(--gul); }
.bunn ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.bunn .copy { grid-column: 1 / -1; border-top: 1px solid #1f2c4f; padding-top: 18px; font-size: .85rem; }

.info-boks { background: #fff8dd; border-left: 5px solid var(--gul); padding: 16px 20px; border-radius: 8px; }
.info-boks p:last-child { margin: 0; }
