/* Snarøya Services — vedlikehold av hus og hage for privateiere
   Palett: sjøgrønn + kalkhvit. Varmt, nabolagsnært, myke former. */

:root {
  --deep: #12463f;
  --deep-2: #1a5f55;
  --moss: #6f9c7d;
  --chalk: #f7f5ef;
  --chalk-2: #ffffff;
  --sun: #e0a54a;
  --ink: #22302c;
  --muted: #5f736c;
  --line: #dfe3dc;
  --radius: 14px;
  --wrap: 1120px;
  --shadow: 0 2px 4px rgba(18,70,63,.05), 0 12px 32px rgba(18,70,63,.08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem; line-height: 1.7; color: var(--ink); background: var(--chalk);
}

h1, h2, h3 {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-weight: 600; line-height: 1.2; letter-spacing: -.01em;
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.3rem); margin: 0 0 .45em; }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.2rem); margin: 0 0 .6em; }
h3 { font-size: 1.22rem; margin: 0 0 .5em; }
p { margin: 0 0 1.15em; }
a { color: var(--deep-2); }
a:hover { color: var(--deep); }
img, svg { max-width: 100%; height: auto; }

.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.skip { position: absolute; left: -9999px; background: var(--deep); color: #fff; padding: .75rem 1.25rem; z-index: 99; }
.skip:focus { left: 0; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }

/* Header */
header.site { background: var(--chalk-2); position: sticky; top: 0; z-index: 20; box-shadow: 0 1px 0 var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1rem 0; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--deep); }
.logo .mark { width: 42px; height: 42px; flex: none; }
.logo b { font-family: "Iowan Old Style", Georgia, serif; font-size: 1.25rem; display: block; line-height: 1.1; }
.logo span { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--moss); }
nav.main ul { display: flex; flex-wrap: wrap; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
nav.main a { text-decoration: none; color: var(--ink); font-size: .96rem; padding-bottom: .2rem; border-bottom: 2px solid transparent; }
nav.main a:hover, nav.main a[aria-current="page"] { border-bottom-color: var(--sun); color: var(--deep); }

/* Knapper */
.btn {
  display: inline-block; font-size: .96rem; font-weight: 600; text-decoration: none;
  padding: .85rem 1.6rem; border-radius: 100px; border: 2px solid var(--deep);
  background: var(--deep); color: #fff; cursor: pointer; transition: .18s;
}
.btn:hover { background: var(--deep-2); border-color: var(--deep-2); color: #fff; transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--deep); }
.btn.ghost:hover { background: var(--deep); color: #fff; }
.btn.sun { background: var(--sun); border-color: var(--sun); color: #2a1c05; }
.btn.sun:hover { background: #cf9339; border-color: #cf9339; color: #2a1c05; }
.btn.light { background: #fff; border-color: #fff; color: var(--deep); }

/* Hero */
.hero { background: linear-gradient(165deg, var(--deep) 0%, var(--deep-2) 55%, #26786a 100%); color: #eef5f1; }
.hero .wrap { padding: clamp(3rem, 8vw, 6rem) 0; display: grid; gap: 3rem; }
@media (min-width: 920px) { .hero .wrap { grid-template-columns: 1.1fr .9fr; align-items: center; } }
.hero h1 { color: #fff; }
.hero .lead { font-size: 1.2rem; color: #cfe3da; max-width: 45ch; }
.hero .cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.eyebrow { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--sun); font-weight: 700; margin: 0 0 1rem; }

.hero-panel { background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius); padding: 1.9rem; backdrop-filter: blur(4px); }
.hero-panel h2 { font-size: 1.1rem; color: #fff; margin-bottom: 1rem; }
.hero-panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .85rem; }
.hero-panel li { padding-left: 1.9rem; position: relative; color: #e4efe9; font-size: .99rem; }
.hero-panel li::before { content: ""; position: absolute; left: 0; top: .45em; width: 1.05rem; height: .55rem; border-left: 2.5px solid var(--sun); border-bottom: 2.5px solid var(--sun); transform: rotate(-45deg); }

/* Seksjoner */
section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
section.white { background: var(--chalk-2); }
section.deep { background: var(--deep); color: #e3efe9; }
section.deep h2, section.deep h3 { color: #fff; }
.section-head { max-width: 60ch; margin-bottom: 2.5rem; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin-bottom: 0; }
section.deep .section-head p { color: #b9d3c9; }

.answer {
  background: var(--chalk-2); border-radius: var(--radius); padding: 1.75rem 2rem;
  box-shadow: var(--shadow); border-top: 4px solid var(--sun); margin-bottom: 2.5rem;
}
.answer p:last-child { margin-bottom: 0; }
.answer strong { color: var(--deep); }

.grid { display: grid; gap: 1.6rem; }
.grid.c2 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid.c3 { grid-template-columns: repeat(auto-fit, minmax(265px, 1fr)); }
.grid.c4 { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }

.card { background: var(--chalk-2); border-radius: var(--radius); padding: 1.9rem; box-shadow: var(--shadow); }
section.white .card { background: var(--chalk); box-shadow: none; border: 1px solid var(--line); }
section.deep .card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); box-shadow: none; color: #dcece5; }
.card h3 { color: var(--deep); }
section.deep .card h3 { color: #fff; }
.card p:last-child { margin-bottom: 0; }
.card .ico { width: 36px; height: 36px; color: var(--moss); margin-bottom: 1rem; display: block; }
section.deep .card .ico { color: var(--sun); }

ul.check { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
ul.check li { padding-left: 1.9rem; position: relative; }
ul.check li::before { content: ""; position: absolute; left: 0; top: .45em; width: 1.05rem; height: .55rem; border-left: 2.5px solid var(--moss); border-bottom: 2.5px solid var(--moss); transform: rotate(-45deg); }
section.deep ul.check li::before { border-color: var(--sun); }

/* Sesonghjul */
.season { display: grid; gap: 1.5rem; }
@media (min-width: 780px) { .season { grid-template-columns: repeat(4, 1fr); } }
.season article { background: var(--chalk-2); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); }
.season h3 { display: flex; align-items: center; gap: .6rem; font-size: 1.1rem; }
.season .dot { width: .8rem; height: .8rem; border-radius: 50%; flex: none; }
.season ul { list-style: none; margin: 0; padding: 0; font-size: .96rem; display: grid; gap: .45rem; color: var(--muted); }

.areas { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; margin: 0; padding: 0; }
.areas li { background: var(--chalk-2); border: 1px solid var(--line); border-radius: 100px; padding: .45rem 1.15rem; font-size: .93rem; }
section.deep .areas li { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); color: #e3efe9; }

/* FAQ */
.faq details { background: var(--chalk-2); border-radius: var(--radius); margin-bottom: .85rem; box-shadow: var(--shadow); overflow: hidden; }
.faq summary { cursor: pointer; padding: 1.3rem 3rem 1.3rem 1.75rem; position: relative; font-weight: 600; color: var(--deep); list-style: none; font-size: 1.06rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.5rem; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--sun); line-height: 1; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq .a { padding: 0 1.75rem 1.6rem; max-width: 74ch; }
.faq .a p:last-child { margin-bottom: 0; }

.photo-slot {
  border: 2px dashed var(--line); border-radius: var(--radius); background: var(--chalk-2);
  display: grid; place-items: center; text-align: center; padding: 2.5rem 1.5rem;
  color: var(--muted); min-height: 230px; font-size: .9rem;
}

/* CTA */
.cta-band { background: var(--sun); color: #2a1c05; }
.cta-band .wrap { padding: clamp(2.5rem, 6vw, 4rem) 0; display: grid; gap: 2rem; align-items: center; }
@media (min-width: 820px) { .cta-band .wrap { grid-template-columns: 1.4fr auto; } }
.cta-band h2 { color: #2a1c05; margin-bottom: .4em; }
.cta-band p { margin-bottom: 0; max-width: 52ch; }
.cta-band .cta { display: flex; gap: .8rem; flex-wrap: wrap; }
.cta-band .btn { border-color: #2a1c05; background: #2a1c05; color: var(--sun); }
.cta-band .btn:hover { background: #12463f; border-color: #12463f; color: #fff; }
.cta-band .btn.ghost { background: transparent; color: #2a1c05; }

/* Skjema */
form.contact { display: grid; gap: 1.15rem; max-width: 640px; }
form.contact label { font-weight: 600; font-size: .93rem; display: block; margin-bottom: .35rem; }
form.contact input, form.contact select, form.contact textarea {
  width: 100%; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 10px;
  font: inherit; font-size: 1rem; background: #fff; color: var(--ink);
}
form.contact textarea { min-height: 150px; resize: vertical; }
.hint { color: var(--muted); font-size: .88rem; margin-top: .3rem; }

table.price { width: 100%; border-collapse: collapse; background: var(--chalk-2); font-size: .98rem; border-radius: var(--radius); overflow: hidden; }
table.price th, table.price td { text-align: left; padding: .95rem 1.1rem; border-bottom: 1px solid var(--line); }
table.price th { background: var(--deep); color: #fff; font-weight: 600; }
.table-scroll { overflow-x: auto; }

footer.site { background: var(--deep); color: #c2d9d0; padding: clamp(2.5rem, 6vw, 4rem) 0 2rem; font-size: .95rem; }
footer.site a { color: #dcebe5; }
footer.site h3 { color: #fff; font-size: .8rem; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 1rem; font-family: inherit; font-weight: 700; }
footer.site .cols { display: grid; gap: 2.5rem; }
@media (min-width: 760px) { footer.site .cols { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
footer.site ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
footer.site .legal { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.15); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .87rem; color: #9dbcb1; }

.breadcrumb { font-size: .87rem; color: var(--muted); padding: 1.25rem 0 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; color: var(--line); }
.page-head { background: var(--chalk-2); padding: 0 0 clamp(2rem, 5vw, 3rem); border-bottom: 1px solid var(--line); }
.page-head h1 { margin-top: .8rem; }
.page-head .lead { font-size: 1.15rem; color: var(--muted); max-width: 58ch; margin-bottom: 0; }
.meta-updated { font-size: .87rem; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
