/* Himmel og Hav – redesign 2026-10-28 etter visualiseringen: granat, krem, hvitt og dempet gull; kompakte seksjoner. */
:root {
  --sea: #10364a;
  --sea-2: #1d5070;
  --sun: #c69725;
  --sun-2: #9c7414;
  --sun-soft: #f4e8c8;
  --cream: #faf7ef;
  --ink: #17242e;
  --muted: #56636d;
  --line: #e8e1d1;
  --ok: #2f7d4f;
  --err: #b3362b;
  --r: 12px;
  --r-sm: 8px;
  --shadow: 0 6px 22px rgba(16, 54, 74, .08);
  --display: "Fraunces", Georgia, serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1120px;
  --header: 64px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; font: 16.5px/1.6 var(--body); color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sea-2); }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.15; margin: 0 0 .45em; color: var(--sea); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); letter-spacing: -.01em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.eyebrow { display: block; font: 600 .74rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--sun-2); margin-bottom: .7rem; }
.lead { color: var(--muted); font-size: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--sea); color: #fff; padding: 10px 14px; border-radius: var(--r-sm); }
.skip:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }

.sec { padding: clamp(44px, 5.5vw, 72px) 0; }
.alt { background: var(--cream); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 48px; align-items: end; margin-bottom: 26px; }
.sec-head h2 { margin: 0; }
.sec-head .lead { margin: 0; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; margin-bottom: 20px; } }

/* Knapper: granat tekst på gull gir kontrast ≈4,8:1 (hvit på gull ville vært ≈2,7:1) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 46px; padding: .7em 1.4em; border-radius: 999px; border: 2px solid transparent; font: 600 .97rem/1.1 var(--body); text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn-sun { background: var(--sun); color: var(--sea); }
.btn-sun:hover { background: #d6a837; }
.btn-sea { background: var(--sea); color: #fff; }
.btn-sea:hover { background: var(--sea-2); }
.btn-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .9); }
.btn-light:hover { background: rgba(255, 255, 255, .14); }
.btn-sm { min-height: 40px; padding: .5em 1.15em; font-size: .9rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.link-btn { background: none; border: 0; padding: 4px 0; font: 600 .9rem var(--body); color: var(--sea-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover { color: var(--sea); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 22px; height: var(--header); }
.brand img { height: 36px; width: auto; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .92rem; padding: 6px 0; }
.nav a:hover { color: var(--sun-2); }
.lang { display: flex; gap: 2px; font-size: .82rem; font-weight: 600; }
.lang a { padding: 5px 7px; border-radius: 6px; color: var(--muted); text-decoration: none; }
.lang a[aria-current] { background: var(--sea); color: #fff; }
.header-cta { min-height: 40px; padding: .5em 1.15em; font-size: .9rem; white-space: nowrap; }
.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--sea); border-radius: 8px; }
@media (max-width: 1080px) {
  .site-header .wrap { gap: 10px; }
  .menu-btn { display: block; order: 4; }
  .lang { order: 2; margin-left: auto; }
  .header-cta { order: 3; padding: .45em .9em; font-size: .85rem; }
  .nav { display: none; position: absolute; top: var(--header); left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 4px 16px 12px; }
  .nav.open { display: flex; }
  .nav a { padding: 13px 4px; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav a:last-child { border-bottom: 0; }
}
@media (max-width: 400px) { .brand img { height: 30px; } .lang a { padding: 5px; } .header-cta { padding: .45em .75em; } }

/* Hero: 480–560 px. Hele bildet synlig (skalert til høyden, uskarp kopi fyller resten), mørkere kun bak teksten */
.hero { position: relative; height: clamp(480px, 62vh, 560px); display: flex; align-items: center; color: #fff; overflow: hidden; background: #2a2440; }
.hero::before { content: ""; position: absolute; inset: -60px; background: url(/img/hero-sm.webp) 70% 40% / cover; filter: blur(40px) saturate(1.05); }
.hero picture { position: absolute; top: 0; bottom: 0; left: 0; }
.hero picture img { height: 100%; width: auto; max-width: none; -webkit-mask-image: linear-gradient(90deg, #000 72%, transparent 100%); mask-image: linear-gradient(90deg, #000 72%, transparent 100%); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 30, 45, 0) 40%, rgba(10, 30, 45, .48) 66%, rgba(10, 30, 45, .55) 100%); }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr minmax(0, 480px); }
.hero .wrap > * { grid-column: 2; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 4.4vw, 3.5rem); margin-bottom: .3em; }
.hero p { font-size: clamp(1.05rem, 1.6vw, 1.22rem); opacity: .95; margin-bottom: 1.4rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 761px) and (prefers-reduced-motion: no-preference) {
  .hero::before, .hero picture { transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }
}
@media (max-width: 760px) {
  .hero { height: auto; display: block; background: var(--sea); padding: 0 0 28px; }
  .hero::before, .hero::after { display: none; }
  .hero picture { position: relative; display: block; aspect-ratio: 6000 / 4216; }
  .hero picture img { width: 100%; height: 100%; object-fit: cover; -webkit-mask-image: none; mask-image: none; }
  .hero .wrap { display: block; padding-top: 22px; }
}

/* Lys stripe under hero */
.strip { background: var(--cream); border-bottom: 1px solid var(--line); }
.strip ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.strip li { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 16px 12px; }
.strip li + li { border-left: 1px solid var(--line); }
.strip svg { color: var(--sun); width: 30px; height: 30px; flex: none; }
.strip b { display: block; font: 600 1rem/1.2 var(--display); color: var(--sea); }
.strip small { display: block; color: var(--muted); font-size: .82rem; }
@media (max-width: 760px) {
  .strip ul { grid-template-columns: 1fr; }
  .strip li { justify-content: flex-start; padding: 10px 4px; }
  .strip li + li { border-left: 0; border-top: 1px solid var(--line); }
  .strip svg { width: 24px; height: 24px; }
}

/* Turer */
#turer { background: var(--cream); padding-top: clamp(36px, 4.5vw, 56px); }
.tours { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.tour { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.tour > img { aspect-ratio: 2 / 1; object-fit: cover; width: 100%; }
.tour-body { padding: 18px 20px 18px; display: flex; flex-direction: column; flex: 1; }
.tour-body h3 { font-size: 1.4rem; margin-bottom: .2em; }
.tour-meta { display: flex; flex-wrap: wrap; gap: 0 4px; margin-bottom: 10px; color: var(--muted); font-size: .86rem; }
.tour-meta span + span::before { content: "·"; margin-right: 4px; }
.tour-desc { color: var(--ink); font-size: .94rem; margin-bottom: 10px; }
.badge { font-size: .84rem; font-weight: 600; color: #6f520d; background: var(--sun-soft); border-radius: var(--r-sm); padding: 6px 10px; margin: 0 0 10px; align-self: flex-start; }
.badge a { color: inherit; }
.dates { border-top: 1px solid var(--line); padding-top: 12px; margin-top: auto; }
.dates h4 { margin: 0 0 8px; font: 600 .72rem var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.date-list, .date-more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.date-more { margin-top: 8px; }
.date-chip { width: 100%; text-align: left; border: 1.5px solid var(--line); background: #fff; border-radius: var(--r-sm); padding: 7px 10px; font: 500 .82rem/1.3 var(--body); cursor: pointer; color: var(--ink); min-height: 50px; }
.date-chip b { display: block; font-weight: 700; color: var(--sea); }
.date-chip span { font-size: .75rem; color: var(--muted); }
.date-chip:hover { border-color: var(--sun); background: #fffdf6; }
.date-chip.full { opacity: .5; cursor: not-allowed; text-decoration: line-through; }
.date-chip.few span { color: var(--err); font-weight: 600; }
.date-empty { grid-column: 1 / -1; color: var(--muted); font-size: .9rem; }
.ask { align-self: flex-start; margin-top: 8px; font-size: .85rem; }
.tour-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.price { font: 600 1.7rem/1 var(--display); color: var(--sea); white-space: nowrap; }
.price small { font: 400 .95rem var(--body); color: var(--muted); }
@media (max-width: 860px) { .tours { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .date-list, .date-more { grid-template-columns: 1fr 1fr; } }

/* Utvidbare paneler */
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.panel + .panel { margin-top: 8px; }
.panel summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; cursor: pointer; font-weight: 600; color: var(--sea); min-height: 48px; }
.panel summary::-webkit-details-marker { display: none; }
.panel summary svg { flex: none; transition: transform .2s; color: var(--sun-2); }
.panel[open] summary svg { transform: rotate(180deg); }
.panel-body { padding: 0 18px 18px; }
.terms { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 32px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); }
.terms h3 { font: 600 .74rem var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--sea); margin-bottom: .6em; }
.terms ul { padding-left: 1.1em; margin: 0; }
.terms li { margin-bottom: .3em; }
@media (max-width: 760px) { .terms { grid-template-columns: 1fr; } }


/* Leiligheten: galleri til venstre, informasjon og booking til høyre */
#hotell { background: #fff; }
.stay-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.gallery-stage { position: relative; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); background: var(--line); }
.gallery-main { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 8px; }
.gallery-thumbs button { padding: 0; border: 2px solid transparent; border-radius: var(--r-sm); overflow: hidden; cursor: pointer; background: none; }
.gallery-thumbs button[aria-current] { border-color: var(--sun); }
.gallery-thumbs img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.gal-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); color: var(--sea); font-size: 1.6rem; line-height: 1; cursor: pointer; display: grid; place-items: center; box-shadow: 0 3px 12px rgba(0, 0, 0, .18); }
.gal-nav:hover { background: #fff; }
.gal-nav.prev { left: 12px; }
.gal-nav.next { right: 12px; }
.gal-count { position: absolute; right: 12px; bottom: 12px; background: rgba(10, 30, 45, .72); color: #fff; font-size: .8rem; padding: 3px 9px; border-radius: 99px; }
.stay-side h2 { margin-bottom: .15em; }
.stay-side .sub { font: 400 1.2rem/1.3 var(--display); color: var(--sea); margin-bottom: 14px; }
.apt-facts { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.apt-facts li { display: flex; align-items: center; gap: 7px; font-size: .9rem; color: var(--muted); }
.apt-facts svg { color: var(--sun-2); flex: none; }
.apt-intro { font-size: .95rem; margin-bottom: 16px; }
.stay-card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.stay-price { margin-bottom: 12px; }
.stay-price > small:first-child { display: block; color: var(--muted); font-size: .85rem; }
.stay-price b { font: 600 2rem/1.1 var(--display); color: var(--sea); }
.stay-price span { color: var(--muted); }
.stay-price small:last-child { display: block; color: var(--muted); font-size: .84rem; margin-top: 2px; }
.stay-card .row2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 10px; }
.stay-card input, .stay-card select { min-width: 0; }
.stay-msg { font-size: .9rem; color: var(--muted); margin: 0 0 12px; min-height: 1.6em; }
.stay-msg b { color: var(--sea); font-size: 1.1rem; }
.stay-msg.err { color: var(--err); }
.stay-card .link-btn { display: block; margin: 10px auto 0; }
/* Synlige informasjonsblokker under galleriet */
.info-blocks { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 0; margin-top: 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.info { padding: 20px 22px; }
.info + .info { border-left: 1px solid var(--line); }
.info h3 { display: flex; align-items: center; gap: 9px; font-size: 1.05rem; margin-bottom: .7em; }
.info h3 svg { color: var(--sun-2); width: 20px; height: 20px; flex: none; }
.info p { font-size: .92rem; margin-bottom: .8em; }
.media-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 22px; margin-top: 26px; }
.media-row h3 { font-size: 1.05rem; }
.media-row .map { aspect-ratio: auto; height: calc(100% - 60px); min-height: 220px; }
.media-row > div { display: flex; flex-direction: column; }
@media (max-width: 960px) {
  .info-blocks { grid-template-columns: 1fr; }
  .info + .info { border-left: 0; border-top: 1px solid var(--line); }
  .media-row { grid-template-columns: 1fr; }
  .media-row .map { height: 240px; }
}
.checks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 5px 16px; font-size: .88rem; }
.checks li { padding-left: 24px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 2.5px solid var(--sun); border-bottom: 2.5px solid var(--sun); transform: rotate(-45deg); }
.facs { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
.facs li { display: flex; align-items: center; gap: 8px; font-size: .9rem; }
.facs svg { color: var(--sun-2); width: 18px; height: 18px; flex: none; }
.details { margin: 0; }
.details div { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.details div:first-child { padding-top: 0; }
.details div:last-child { border-bottom: 0; }
.details dt { font-weight: 600; color: var(--sea); font-size: .8rem; }
.details dd { margin: 0; }

@media (max-width: 960px) { .stay-grid { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 560px) {
  .gallery-thumbs { gap: 5px; }
  .gal-nav { width: 38px; height: 38px; font-size: 1.3rem; }
  .checks { grid-template-columns: 1fr; }
}

/* Video (YouTube som bakgrunnsvideo) og kart */
.yt { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: #000; }
.yt iframe { position: absolute; top: 50%; left: 50%; width: 100%; height: calc(100% + 140px); transform: translate(-50%, -50%) scale(1.04); border: 0; pointer-events: none; }
.yt-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; transition: opacity .6s; }
.yt.playing .yt-cover { opacity: 0; }
.yt .film-sound { z-index: 2; }
.map { width: 100%; aspect-ratio: 16 / 9; border: 1px solid var(--line); border-radius: var(--r); background: var(--cream); display: block; }
.note { font-size: .84rem; color: var(--muted); margin: 8px 0 0; }

/* Om oss */
#om-oss { background: var(--cream); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 56px); align-items: center; }
.film-wrap { position: relative; }
.film { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--r); box-shadow: var(--shadow); background: #000; object-fit: cover; }
.film-sound { position: absolute; right: 10px; bottom: 10px; border: 0; border-radius: 99px; padding: 7px 12px; background: rgba(10, 30, 45, .78); color: #fff; font: 600 .8rem var(--body); cursor: pointer; }
.film-sound:hover { background: rgba(10, 30, 45, .92); }
.film-play { position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--sea); display: grid; place-items: center; cursor: pointer; box-shadow: 0 8px 26px rgba(0, 0, 0, .3); transition: transform .15s; }
.film-play svg { margin-left: 4px; }
.film-play:hover { transform: scale(1.06); }
.film-wrap.playing .film-play { display: none; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Omtale */
.review { background: #fff; padding: 40px 0; border-bottom: 1px solid var(--line); }
.review figure { margin: 0 auto; max-width: 760px; text-align: center; }
.review blockquote { margin: 0; font: italic 400 clamp(1.15rem, 2vw, 1.38rem)/1.5 var(--display); color: var(--sea); }
.review figcaption { margin-top: 12px; font-weight: 600; font-size: .9rem; }
.quote-note { display: block; font-weight: 400; color: var(--muted); font-size: .8rem; margin-top: 2px; }

/* Guidene */
.guides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.guide { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px; display: grid; grid-template-columns: 80px 1fr; gap: 16px; align-items: start; }
.guide > img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; object-position: center 25%; }
.guide-ph { width: 80px; height: 80px; border-radius: 50%; background: var(--cream); border: 1px solid var(--line); display: grid; place-items: center; color: var(--sun-2); }
.guide-ph svg { width: 30px; height: 30px; }
.guide .role { color: var(--sun-2); font-weight: 600; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .3rem; }
.guide h3 { font-size: 1.08rem; margin-bottom: .35em; }
.guide p { font-size: .9rem; color: var(--muted); margin: 0; }
@media (max-width: 960px) { .guides { grid-template-columns: 1fr; max-width: 640px; } }

/* Trening og kosthold */
.programs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.program { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.program > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: center 30%; }
.program-body { padding: 16px 20px 18px; display: flex; flex-direction: column; flex: 1; }
.program h3 { font-size: 1.08rem; }
.program p { color: var(--muted); font-size: .92rem; flex: 1; margin-bottom: 8px; }
.program .link-btn { align-self: flex-start; }
@media (max-width: 860px) { .programs { grid-template-columns: 1fr; } }

/* Granat CTA-bånd */
.cta-band { background: var(--sea); color: #fff; padding: 32px 0; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 .2em; font-size: clamp(1.45rem, 2.6vw, 1.9rem); }
.cta-band p { margin: 0; opacity: .85; }

/* Kontakt */
#kontakt { background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.c-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.c-card h3 { font-size: 1.05rem; }
.contact-list { list-style: none; padding: 0; margin: 0 0 14px; }
.contact-list li { display: flex; gap: 12px; padding: 7px 0; align-items: center; }
.contact-list svg, .addr svg { flex: none; color: var(--sun-2); }
.contact-list a { color: var(--ink); overflow-wrap: anywhere; }
.addr { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.addr svg { margin-top: 3px; }
.c-card .map { aspect-ratio: auto; height: 170px; }
.social { display: flex; gap: 10px; }
.social a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--sea); color: #fff; }
.newsletter { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 14px; }
.newsletter h3 { font-size: 1rem; margin-bottom: .2em; }
.newsletter p { font-size: .9rem; color: var(--muted); margin-bottom: 10px; }
.inline-form { display: flex; gap: 8px; flex-wrap: wrap; }
.inline-form input { flex: 1 1 160px; margin: 0; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; max-width: 640px; } }

/* Skjema */
label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 12px; }
label .opt { font-weight: 400; color: var(--muted); }
input, textarea, select { display: block; width: 100%; margin-top: 5px; min-height: 46px; padding: 10px 12px; font: 1rem var(--body); color: var(--ink); background: #fff; border: 1.5px solid #d9d1bf; border-radius: var(--r-sm); }
textarea { min-height: 0; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--sun); box-shadow: 0 0 0 3px rgba(198, 151, 37, .3); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
@media (max-width: 520px) { .dlg-body .row2 { grid-template-columns: 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .9rem; }
.check input { width: 20px; height: 20px; min-height: 0; margin: 2px 0 0; flex: none; accent-color: var(--sea); }
.hp { position: absolute; left: -9999px; }
.msg { margin-top: 10px; font-size: .93rem; }
.msg.ok { color: var(--ok); }
.msg.err { color: var(--err); }

/* Dialoger */
dialog { width: min(540px, 100% - 20px); max-height: calc(100dvh - 20px); border: 0; border-radius: 16px; padding: 0; box-shadow: 0 30px 80px rgba(0, 0, 0, .3); }
dialog::backdrop { background: rgba(10, 30, 45, .55); }
.dlg-head { position: sticky; top: 0; background: #fff; padding: 18px 20px 12px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; z-index: 1; }
.dlg-head h3 { margin: 0; }
.dlg-head p { margin: 4px 0 0; color: var(--muted); font-size: .9rem; }
.dlg-close { background: none; border: 0; font-size: 1.7rem; line-height: 1; cursor: pointer; color: var(--muted); padding: 0 6px; min-width: 44px; min-height: 44px; }
.dlg-body { padding: 18px 20px 22px; }
.summary { display: flex; justify-content: space-between; align-items: center; background: var(--cream); border-radius: var(--r-sm); padding: 12px 14px; margin: 4px 0 14px; }
.summary b { font: 600 1.35rem var(--display); color: var(--sea); }
.pay-note { font-size: .8rem; color: var(--muted); margin: 10px 0 0; display: flex; gap: 8px; align-items: center; }
.demo-banner { background: #fff4d6; border: 1px solid #ecd28a; color: #5f4a0e; border-radius: var(--r-sm); padding: 9px 12px; font-size: .84rem; margin-bottom: 12px; }

/* Bunntekst (lys, som i visualiseringen) */
.site-footer { background: #fff; border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); }
.foot-top { display: flex; align-items: center; gap: 16px 28px; flex-wrap: wrap; padding: 22px 0 14px; }
.foot-top img { height: 38px; width: auto; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-left: auto; }
.foot-nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.foot-nav a:hover { color: var(--sun-2); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding: 12px 0 22px; border-top: 1px solid var(--line); }
.site-footer .foot-bottom a { color: var(--sea-2); }
.credit { font-size: .8rem; }
@media (max-width: 760px) { .foot-nav { margin-left: 0; width: 100%; } }

/* Enkle sider (takk, personvern) */
.page { padding: 48px 0 80px; }
.page .wrap { max-width: 760px; }
.status-box { border-radius: var(--r); padding: 24px; background: var(--cream); margin: 20px 0; }
.status-box.ok { background: #e7f4ec; }
.status-box dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 14px 0 0; }
.status-box dt { color: var(--muted); }
.status-box dd { margin: 0; font-weight: 600; }

[hidden] { display: none !important; }

/* Kompakt bookingkort, og galleriet strekker seg til samme høyde som høyre kolonne */
.stay-grid { align-items: stretch; }
.stay-side h2 { font-size: clamp(1.7rem, 2.8vw, 2.1rem); }
.stay-side .sub { font-size: 1.1rem; margin-bottom: 10px; }
.apt-intro { font-size: .92rem; margin-bottom: 12px; }
.stay-card { padding: 14px 16px; }
.stay-price { margin-bottom: 10px; }
.stay-price .from { color: var(--muted); font-size: .9rem; }
.stay-price b { font-size: 1.6rem; }
.stay-price small:last-child { font-size: .8rem; }
.stay-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 76px; gap: 0 8px; }
.stay-fields label { font-size: .8rem; margin-bottom: 8px; }
.stay-fields input, .stay-fields select { min-width: 0; min-height: 42px; padding: 8px; font-size: .9rem; margin-top: 3px; }
.stay-msg { font-size: .85rem; margin-bottom: 8px; min-height: 1.4em; }
.stay-card .btn-block { min-height: 44px; }
.stay-card .link-btn { margin-top: 6px; font-size: .84rem; }
@media (min-width: 961px) {
  .gallery { display: flex; flex-direction: column; }
  .gallery-stage { flex: 1; min-height: 340px; }
  .gallery-main { height: 100%; aspect-ratio: auto; }
}
@media (max-width: 420px) { .stay-fields { grid-template-columns: 1fr 1fr; } .stay-fields label:last-child { grid-column: 1 / -1; } }

/* Riviera Vista: Airbnb-vurdering */
.rv-rating { margin: -4px 0 10px; font-size: .9rem; }
.rv-rating a { color: var(--sea-2); font-weight: 600; text-decoration: none; }
.rv-rating a:hover { text-decoration: underline; }

/* Alices andre steder å bo */
.more-stays { margin-top: 56px; padding-top: 44px; border-top: 1px solid var(--line); }
.stays { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.stay { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.stay-photos { position: relative; }
.stay-main { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.stay-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; padding: 4px; background: #fff; }
.stay-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; cursor: pointer; background: none; }
.stay-thumbs button[aria-current] { border-color: var(--sun); }
.stay-thumbs img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.stay-body { padding: 14px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.stay-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.stay-top h3 { margin: 0; font-size: 1.2rem; }
.stars { color: var(--sun-2); font-weight: 700; font-size: .92rem; white-space: nowrap; }
.stars small { color: var(--muted); font-weight: 400; }
.stay-where { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .86rem; margin: 6px 0 8px; }
.stay-where svg { width: 15px; height: 15px; color: var(--sun-2); flex: none; }
.stay-desc { font-size: .92rem; margin-bottom: 10px; }
.stay-review { margin: 0 0 14px; padding: 10px 12px; background: var(--cream); border-radius: var(--r-sm); font: italic 400 .9rem/1.5 var(--display); color: var(--sea); }
.stay-review cite { display: block; margin-top: 4px; font: 600 .78rem var(--body); font-style: normal; color: var(--muted); }
.stay-actions { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
@media (max-width: 860px) { .stays { grid-template-columns: 1fr; } }

/* Omtaler */
.review .eyebrow { text-align: center; }
.reviews { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 16px; margin-top: 6px; text-align: left; }
.reviews figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; display: flex; flex-direction: column; }
.reviews blockquote { margin: 0 0 10px; font: italic 400 .95rem/1.5 var(--display); color: var(--sea); flex: 1; }
.reviews .rv-main { background: var(--cream); }
.reviews .rv-main blockquote { font-size: 1.12rem; }
.reviews figcaption { font-weight: 600; font-size: .84rem; margin: 0; }
.reviews figcaption span { display: block; font-weight: 400; color: var(--muted); font-size: .76rem; }
.rv-stars { color: var(--sun); letter-spacing: 2px; font-size: .85rem; margin-bottom: 6px; }
.host-line { text-align: center; margin: 18px 0 0; font-size: .9rem; }
.host-line a { color: var(--sea-2); font-weight: 600; }
@media (max-width: 1000px) { .reviews { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .reviews { grid-template-columns: 1fr; } }
.avail-msg { font-size: .88rem; margin: -4px 0 12px; }
.avail-msg.ok { color: var(--ok); }
.avail-msg.err { color: var(--err); }
.tag { align-self: flex-start; display: inline-block; font: 600 .7rem var(--body); letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--sea); border-radius: 99px; padding: 3px 10px; margin-bottom: 8px; }
/* Fem kort: det siste (hytta i Norge) går over hele bredden på store skjermer */
@media (min-width: 861px) {
  .stays .stay:last-child:nth-child(odd) { grid-column: 1 / -1; flex-direction: row; }
  .stays .stay:last-child:nth-child(odd) .stay-photos { flex: 0 0 50%; }
}

/* Pilene på boligkortene, mini-bookingskjema og Vimeo-filmen (2026-10-29) */
.stay-stage { position: relative; }
.stay-stage .gal-nav { width: 38px; height: 38px; font-size: 1.3rem; }
.stay-mini { margin: 12px 0; }
.stay-mini .stay-price b { font-size: 1.4rem; }
.vimeo { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: #000; }
.vimeo iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.media-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, .8fr); }
@media (max-width: 960px) { .media-row { grid-template-columns: 1fr; } }
/* Kortene side om side: vurderingen alltid under navnet, bookingboksen og lenkene nederst på samme høyde */
.stay-top { flex-direction: column; align-items: flex-start; gap: 2px; }
.stay-mini { margin-top: auto; }
.stay-mini + .stay-actions { margin-top: 0; }
/* Fullskjerm for videoene */
.film-wrap, .yt { cursor: zoom-in; }
.fs-btn { position: absolute; top: 10px; right: 10px; z-index: 3; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(10, 30, 45, .78); color: #fff; font-size: 1.1rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.fs-btn:hover { background: rgba(10, 30, 45, .92); }
.vimeo .fs-btn { top: auto; bottom: 52px; }
.film-wrap:fullscreen, .yt:fullscreen, .vimeo:fullscreen { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; background: #000; cursor: zoom-out; }
.film-wrap:fullscreen .film { height: 100%; aspect-ratio: auto; object-fit: contain; border-radius: 0; box-shadow: none; }
/* Vimeo som de andre: ingen klikk inn i spilleren, samme lydknapp nede til høyre og fullskjermknapp oppe til høyre */
.vimeo { cursor: zoom-in; }
.vimeo iframe { pointer-events: none; }
.vimeo .film-sound { z-index: 2; }
.vimeo .fs-btn { top: 10px; bottom: auto; }
/* Ledige datoer og kalender i bookingskjemaene */
.avail { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 2px 0 10px; font-size: .82rem; }
.avail-l { color: var(--muted); }
.avail .chip { border: 1px solid #b9d3c2; background: #eef6f0; color: #1f6b3d; border-radius: 99px; padding: 4px 10px; font: 600 .8rem var(--body); cursor: pointer; }
.avail .chip:hover { background: #dff0e4; }
.avail .cal-tg { margin: 0 0 0 auto !important; display: inline !important; font-size: .82rem; }
.cal { background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px; margin-bottom: 10px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.cal-head b { font-size: .92rem; color: var(--sea); text-transform: capitalize; }
.cal-nav { width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--sea); font-size: 1.1rem; cursor: pointer; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal-wd { text-align: center; font-size: .72rem; color: var(--muted); padding: 2px 0; text-transform: uppercase; }
.cal-grid button { aspect-ratio: 1; min-height: 32px; border: 0; border-radius: 6px; background: #eef6f0; color: var(--ink, #18232d); font: 500 .82rem var(--body); cursor: pointer; padding: 0; }
.cal-grid button:hover:not(:disabled) { outline: 2px solid var(--sun); }
.cal-grid button.busy { background: #f6e3e0; color: #a2453a; text-decoration: line-through; }
.cal-grid button:disabled { cursor: default; }
.cal-grid button:disabled:not(.busy) { background: transparent; color: #b8b8b8; }
.cal-grid button.sel { background: #f3e2b3; color: var(--sea); text-decoration: none; }
.cal-grid button.end { background: var(--sun); color: var(--sea); font-weight: 700; }
.cal-key { display: flex; gap: 14px; margin-top: 8px; font-size: .76rem; color: var(--muted); }
.cal-key i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.k-busy { background: #f6e3e0; } .k-sel { background: #f3e2b3; }
.cal-grid { gap: 2px; }
.cal-grid button { aspect-ratio: auto; height: 30px; min-height: 0; font-size: .8rem; }
/* Kalenderen som flytende vindu over siden */
.stay-card { position: relative; }
.cal { position: absolute; left: 10px; right: 10px; z-index: 30; margin: 0; box-shadow: 0 14px 40px rgba(10, 30, 45, .22); max-width: 380px; }
.cal-grid > span:empty { height: 30px; }
/* Kortene klipper ikke lenger innholdet (kalenderen må kunne stikke ut); bildene får egne runde hjørner */
.stay { overflow: visible; }
.stay-photos { border-radius: var(--r) var(--r) 0 0; overflow: hidden; }
@media (min-width: 861px) { .stays .stay:last-child:nth-child(odd) .stay-photos { border-radius: var(--r) 0 0 var(--r); } }
/* Skuff fra høyre med detaljer for hver bolig */
dialog.drawer { margin: 0 0 0 auto; height: 100dvh; max-height: none; width: min(520px, 100%); border-radius: 16px 0 0 16px; display: none; flex-direction: column; }
dialog.drawer[open] { display: flex; animation: drawer-in .28s ease-out; }
@keyframes drawer-in { from { transform: translateX(100%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { dialog.drawer[open] { animation: none; } }
.drawer-body { overflow-y: auto; padding: 16px 20px 20px; flex: 1; }
.drawer-body p { font-size: .93rem; }
.drawer-body h4 { margin: 18px 0 8px; font: 600 1.02rem var(--display); color: var(--sea); }
.drawer-pics { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 92px; gap: 4px; border-radius: var(--r-sm); overflow: hidden; margin-bottom: 12px; }
.drawer-pics img { width: 100%; height: 100%; object-fit: cover; }
.drawer-pics img:first-child { grid-row: span 2; }
.drawer-specs { color: var(--muted); font-size: .86rem !important; }
.drawer-body .stay-review { margin-top: 16px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #fff; }
.stay-actions { gap: 8px 16px; }
@media (max-width: 560px) { dialog.drawer { border-radius: 0; } .drawer-pics { grid-auto-rows: 70px; } }
/* Datoer på første rad, voksne og barn på andre */
.stay-fields { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.stay-fields .opt { font-weight: 400; color: var(--muted); }
@media (max-width: 420px) { .stay-fields label:last-child { grid-column: auto; } }
.ca-nok { color: var(--muted); font-size: .85em; font-weight: 400; white-space: nowrap; }

/* To nettsider (2026-10-29): tekstmerke for feriehjem-siden, henvisning til feriehjemmene på sykkelsiden, omtaler */
.brand-txt { display: flex; flex-direction: column; font: 600 1.15rem/1.1 var(--display); color: var(--sea); white-space: nowrap; }
.brand-txt small { font: 500 .7rem/1.3 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--sun-2); }
.site-footer .brand-txt { font-size: 1.05rem; }
.stay-teaser .split { align-items: center; }
.teaser-pics { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 6px; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 10; }
.teaser-pics img { width: 100%; height: 100%; object-fit: cover; }
.teaser-pics img:first-child { grid-row: span 2; }
.review:not(.homes) .reviews { grid-template-columns: minmax(0, 720px); justify-content: center; }
.review.homes .reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .review.homes .reviews { grid-template-columns: 1fr; } }
.fac-all { margin-top: 12px; font-size: .88rem; }
/* Riviera Vista som de andre boligene: detaljene ligger i skuffen */
.stay-links { display: flex; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; margin-top: 10px; }
.stay-card .stay-links .link-btn { margin: 0; display: inline; }
.drawer-body .vimeo, .drawer-body .yt { margin-bottom: 4px; }
.drawer-body .map { width: 100%; height: 240px; border: 0; border-radius: var(--r-sm); }
.drawer-body .map { aspect-ratio: auto; width: 100% !important; max-width: none; }
