:root {
  /* Varm sommarpalett: sand, hav i skymning och solnedgång */
  --cream: #fbf6ee;
  --sand: #f3e8d8;
  --sand-2: #ead9c1;
  --ink: #2a2f36;
  --muted: #7a7064;
  --sea: #0f4c5c;
  --sea-2: #1a6b7c;
  --deep: #0b2f3a;
  --sun: #f2a541;
  --coral: #e0765c;
  --line: #e6dccd;
  --card: #fffdf9;
  --shadow: 0 10px 30px -12px rgba(60, 40, 20, .22);
  --radius: 20px;
  /* kalender */
  --free: #e4f1ea; --free-ink: #2d6a4f;
  --pre: #fdefd3; --pre-ink: #94600b;
  --booked: #f6dcd6; --booked-ink: #9a3b2c;
  --sel: #e0765c;
  /* används av admin */
  --navy: #0f4c5c; --navy-2: #1a6b7c; --sea-light: #e3eef0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; font: 17px/1.65 Inter, system-ui, sans-serif; color: var(--ink); background: var(--cream); }
h1, h2, h3 { font-family: Fraunces, Georgia, serif; font-weight: 600; line-height: 1.12; color: var(--deep); font-optical-sizing: auto; }
h2 { font-size: clamp(2rem, 4.5vw, 2.9rem); margin: .2rem 0 1.4rem; letter-spacing: -.01em; }
h3 { font-size: 1.3rem; margin: 0 0 .6rem; }
a { color: var(--sea-2); }
img { max-width: 100%; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 420px; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.center { text-align: center; }
.script { font-family: Caveat, cursive; font-size: 1.9rem; color: var(--coral); margin: 0; line-height: 1; }
.script.center { display: block; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; padding: 6rem 0 9rem; overflow: hidden;
  background: radial-gradient(ellipse at 70% 60%, #f6b26b 0%, transparent 45%), linear-gradient(170deg, #284b6b 0%, #b8686a 55%, #f2a541 100%); }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: slowzoom 30s ease-out both; }
@keyframes slowzoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(20, 24, 40, .45) 0%, rgba(20, 24, 40, .15) 40%, rgba(40, 20, 20, .45) 100%); }
.hero-inner { position: relative; z-index: 1; padding: 0 16px; max-width: 900px; }
.hero h1 { color: #fff; font-size: clamp(2.8rem, 8vw, 5.6rem); margin: .5rem 0 1rem; text-shadow: 0 4px 30px rgba(0, 0, 0, .35); letter-spacing: -.02em; }
.eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: .2em; font-size: .78rem; font-weight: 600; padding: .45rem 1rem; border-radius: 999px; background: rgba(255, 255, 255, .16); backdrop-filter: blur(6px); margin: 0; }
.tagline { font-size: clamp(1.1rem, 2.3vw, 1.35rem); max-width: 38rem; margin: 0 auto 2rem; text-shadow: 0 2px 14px rgba(0, 0, 0, .4); }
.hero-cta { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }
.hero-pills { list-style: none; padding: 0; margin: 2.4rem 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.hero-pills a { color: inherit; text-decoration: none; }
.hero-pills a:hover { text-decoration: underline; }
.hero-pills li { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(6px); padding: .4rem .9rem; border-radius: 999px; font-size: .92rem; }
.waves { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 90px; z-index: 1; }
.waves .w1 { fill: var(--cream); opacity: .55; }
.waves .w2 { fill: var(--cream); }

/* ---------- Knappar ---------- */
.btn { display: inline-block; border: 0; border-radius: 999px; padding: .85rem 1.7rem; background: var(--sea); color: #fff; font: 600 1rem Inter, sans-serif; cursor: pointer; text-decoration: none; transition: transform .15s, box-shadow .2s, background .2s, opacity .2s; }
.btn:hover { background: var(--deep); transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none; }
.btn-sun { background: linear-gradient(135deg, var(--sun), var(--coral)); box-shadow: 0 10px 24px -8px rgba(224, 118, 92, .7); }
.btn-sun:hover { background: linear-gradient(135deg, #f5b35a, #e5664a); }
.btn-glass { background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .45); backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(255, 255, 255, .28); }
.btn-light { background: #fff; color: var(--deep); }
.btn-big { font-size: 1.08rem; padding: 1rem 2.2rem; }
.btn-small { padding: .45rem 1rem; font-size: .88rem; }
.btn-warn { background: #b4572e; }
.btn-warn:hover { background: #95451f; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: #fff; }
.btn-ghost.danger { color: #a33; }
.linklike { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; padding: 0; text-decoration: underline; }

/* ---------- Intro ---------- */
.intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3.5rem; align-items: center; padding-top: 3rem; padding-bottom: 4rem; }
.intro-text p { margin: 0 0 1.1rem; color: #4a4540; }
.intro-text .lead { font-family: Fraunces, Georgia, serif; font-size: clamp(1.35rem, 2.4vw, 1.7rem); line-height: 1.4; color: var(--deep); margin-top: .6rem; }
.intro-photo { margin: 0; position: relative; }
.intro-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 200px 200px 24px 24px; box-shadow: var(--shadow); display: block; }
.intro-photo::after { content: ""; position: absolute; width: 110px; height: 110px; right: -12px; bottom: 40px; border-radius: 50%; background: var(--sun); opacity: .85; z-index: -1; }
.intro-photo figcaption { font-family: Caveat, cursive; font-size: 1.3rem; color: var(--muted); text-align: center; margin-top: .5rem; }

/* ---------- En dag ombord ---------- */
.day-aboard { background: linear-gradient(180deg, var(--cream) 0%, var(--sand) 12%, var(--sand) 88%, var(--cream) 100%); padding: 4rem 0; }
.timeline { list-style: none; padding: 0; margin: 2rem 0 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; border-left: 2px dashed var(--sand-2); }
.moment { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; margin-bottom: 3rem; position: relative; }
.moment::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 6px var(--sand); }
.moment.flip .moment-photo { order: 2; }
.moment-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); display: block; transition: transform .5s; }
.moment:hover .moment-photo img { transform: rotate(-1deg) scale(1.02); }
.moment.flip:hover .moment-photo img { transform: rotate(1deg) scale(1.02); }
.moment-text { padding: 0 1rem; }
.moment-time { display: inline-block; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--coral); background: #fff; padding: .3rem .8rem; border-radius: 999px; margin-bottom: .7rem; }
.moment-text h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
.moment-text p { color: #4a4540; margin: 0; }

/* ---------- Galleri ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; gap: .8rem; margin: 1rem 0 4rem; }
.g-item { position: relative; display: block; overflow: hidden; border-radius: 16px; background: var(--sand); }
.g-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s; }
.g-item:hover img { transform: scale(1.06); }
.g-big { grid-column: span 2; grid-row: span 2; }
.g-item:nth-child(6):last-child, .g-item:nth-child(4n+2):last-child { grid-column: 1 / -1; }
.g-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem .9rem .6rem; color: #fff; font-size: .85rem; background: linear-gradient(transparent, rgba(0, 0, 0, .55)); }
#lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; overflow: visible; }
#lightbox::backdrop { background: rgba(10, 14, 20, .92); }
#lightbox img { display: block; max-width: 96vw; max-height: 86vh; border-radius: 10px; margin: 0 auto; }
.lb-cap { color: #fff; text-align: center; margin: .6rem 0 0; }
.lb-close, .lb-nav { position: fixed; background: rgba(255, 255, 255, .12); color: #fff; border: 0; border-radius: 999px; width: 48px; height: 48px; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.lb-close:hover, .lb-nav:hover { background: rgba(255, 255, 255, .25); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ---------- Allt ombord ---------- */
.aboard { background: var(--deep); color: #e9e3d8; padding: 4.5rem 0; position: relative; }
.aboard h2 { color: #fff; }
.aboard .script { color: var(--sun); }
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.1rem; margin-top: 2rem; }
.info-card { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); padding: 1.5rem 1.6rem; }
.info-card h3 { color: #fff; display: flex; align-items: center; gap: .6rem; }
.info-card .ic { display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 50%; background: rgba(242, 165, 65, .18); font-size: 1.1rem; }
.info-included { grid-row: span 2; background: linear-gradient(160deg, rgba(242, 165, 65, .16), rgba(224, 118, 92, .1)); }
.info-card ul { margin: 0; padding: 0; list-style: none; }
.info-card li { padding: .35rem 0 .35rem 1.5rem; position: relative; font-size: .97rem; }
.info-card li::before { content: "✓"; position: absolute; left: 0; color: var(--sun); font-weight: 700; }
.info-extras li::before { content: "+"; color: #c9bfb0; }
.info-rules li::before { content: "•"; }

/* ---------- Priser ---------- */
.prices { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; padding-top: 4rem; padding-bottom: 1rem; }
.price-card { position: relative; background: var(--card); border-radius: var(--radius); padding: 1.8rem 2rem; box-shadow: var(--shadow); overflow: hidden; }
.price-card.dark { background: linear-gradient(150deg, var(--sea), var(--deep)); color: #e6efe9; }
.price-card.dark h3 { color: #fff; }
.price-card h3 { font-size: 2rem; margin: 0 0 .3rem; }
.price-card p { margin: .2rem 0; }
.price-card .small { opacity: .75; }
.price-ic { position: absolute; right: 1.4rem; top: 1.2rem; font-size: 2.6rem; opacity: .9; }
.price-note { grid-column: 1 / -1; margin: .4rem 0 0; color: var(--muted); text-align: center; }
.payment-info { grid-column: 1 / -1; background: var(--card); border-radius: var(--radius); padding: 1.3rem 1.6rem; box-shadow: var(--shadow); }
.payment-info h3 { margin-bottom: .3rem; }
.payment-info p { margin: 0; }

/* ---------- Bokning ---------- */
.card { background: var(--card); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow); margin: 1.5rem 0; }
.card h2 { margin-top: .2rem; }
.booking-card { margin: 2.5rem 0 4rem; padding: 2.4rem; border-top: 6px solid var(--sun); }
.mode { display: inline-flex; border: 0; padding: 5px; margin: 0 0 1.2rem; background: var(--sand); border-radius: 999px; }
.mode-opt { position: relative; }
.mode-opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.mode-opt span { display: block; padding: .6rem 1.6rem; border-radius: 999px; cursor: pointer; font-weight: 600; color: var(--deep); transition: background .2s; }
.mode-opt input:checked + span { background: var(--deep); color: #fff; }
.mode-opt input:focus-visible + span { outline: 2px solid var(--coral); outline-offset: 2px; }
.legend { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; font-size: .88rem; color: var(--muted); margin-bottom: 1.2rem; }
.legend span { display: inline-flex; align-items: center; gap: .4rem; }
.sw { display: inline-block; width: 14px; height: 14px; border-radius: 5px; }
.sw.free { background: var(--free); border: 1px solid #b9dcc8; }
.sw.preliminar { background: var(--pre); border: 1px solid #f0d58e; }
.sw.bokad { background: var(--booked); border: 1px solid #e8b5aa; }
.sw.sel { background: var(--sel); }
.months { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.4rem 1.8rem; }
.month h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.cal { width: 100%; border-collapse: separate; border-spacing: 3px; table-layout: fixed; }
.cal th { font-size: .7rem; font-weight: 600; color: var(--muted); text-transform: uppercase; padding: .2rem 0; }
.cal td { text-align: center; padding: .45rem 0; font-size: .9rem; border-radius: 8px; transition: background .15s, box-shadow .15s; }
.cal .wk { width: 2.1rem; color: #b5aa9a; font-size: .7rem; }
.day.s-past, .day.s-off { color: #cfc6b8; }
.day.s-free { background: var(--free); color: var(--free-ink); }
.day.s-preliminar { background: var(--pre); color: var(--pre-ink); }
.day.s-bokad { background: var(--booked); color: var(--booked-ink); text-decoration: line-through; }
.day.other { opacity: .45; }
tr.pickable { cursor: pointer; }
tr.pickable:focus-visible { outline: 2px solid var(--coral); outline-offset: 1px; }
tr.pickable .day.in-period { font-weight: 600; }
.day.hover { box-shadow: inset 0 0 0 2px var(--coral); }
.day.sel { background: var(--sel) !important; color: #fff !important; opacity: 1; font-weight: 600; }
.selection { margin: 1.4rem 0; padding: 1.1rem 1.3rem; background: var(--sand); border-radius: 14px; border-left: 4px solid var(--coral); }
.selection p { margin: 0; }
.sel-price { font-family: Fraunces, Georgia, serif; font-size: 1.5rem; color: var(--deep); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1rem 0; }
label { display: flex; flex-direction: column; gap: .3rem; font-weight: 500; font-size: .92rem; }
label.full { grid-column: 1 / -1; }
label.check { flex-direction: row; align-items: center; font-weight: 400; }
input, select, textarea { font: 1rem Inter, sans-serif; padding: .7rem .85rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
input[type=checkbox] { width: auto; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--sun); outline-offset: 0; border-color: transparent; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.terms-check { margin: .5rem 0 1rem; gap: .6rem; }
.terms-check input { width: 1.2rem; height: 1.2rem; flex: none; }
.errors { background: #fbe9e5; color: #8b2a2a; border-radius: 12px; padding: .8rem 1rem; margin-bottom: 1rem; }
.errors p { margin: .2rem 0; }
.flash { position: sticky; top: 0; z-index: 50; background: var(--deep); color: #fff; text-align: center; padding: .8rem 16px; }
.thanks { text-align: center; margin: -4rem auto 4rem; position: relative; z-index: 2; max-width: 640px; padding: 2.6rem; }
.contact { text-align: center; padding: 1rem 16px 2rem; }
.contact p { margin: .3rem 0; }
.site-foot { text-align: center; padding: 1.5rem 16px 2.5rem; font-size: .85rem; }
.site-foot a { color: var(--muted); }
.narrow-text { max-width: 760px; padding-top: 2rem; padding-bottom: 3rem; }
body.plain .prose { line-height: 1.7; }
.login { margin-top: 4rem; display: grid; gap: 1rem; }

/* Mjuk intoning när avsnitt kommer in i bild (app.js sätter .reveal/.in). */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-photo { animation: none; }
  html { scroll-behavior: auto; }
}
/* ---------- Admin ---------- */
.admin-top { background: var(--navy); color: #fff; }
.admin-top .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1.2rem; padding-top: .9rem; padding-bottom: .9rem; }
.admin-top a { color: #fff; text-decoration: none; opacity: .85; }
.admin-top a[aria-current], .admin-top a:hover { opacity: 1; text-decoration: underline; }
.admin-top .brand { font-weight: 600; opacity: 1; }
.admin-top nav { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; align-items: center; }
.admin-top form { margin: 0; }
.count { display: inline-block; background: #f0a830; color: var(--navy); border-radius: 999px; padding: 0 .45rem; font-size: .78rem; font-weight: 600; }
.login { margin-top: 4rem; display: grid; gap: 1rem; }
.login h1 { margin: 0; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.stats div { background: var(--card); border-radius: var(--radius); padding: 1rem 1.2rem; color: var(--muted); box-shadow: 0 2px 14px rgba(14, 42, 71, .07); }
.stats span { display: block; font-size: 1.6rem; font-weight: 600; color: var(--navy); }
.note { background: var(--pre); color: var(--pre-ink); padding: .8rem 1rem; border-radius: 10px; }
.booking { background: var(--card); border-radius: var(--radius); padding: 1.2rem 1.4rem; margin: 0 0 1rem; box-shadow: 0 2px 14px rgba(14, 42, 71, .07); border-left: 5px solid var(--line); }
.booking.st-forfragan { border-left-color: #f0a830; }
.booking.st-bekraftad { border-left-color: #2e9a5a; }
.booking.st-avbojd { border-left-color: #b4572e; opacity: .8; }
.booking header { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: baseline; }
.badge { font-size: .78rem; background: var(--sea-light); color: var(--navy); padding: .15rem .6rem; border-radius: 999px; }
.booking dl { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .3rem 1rem; margin: .8rem 0; }
.booking dt { font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.booking dd { margin: 0 0 .3rem; overflow-wrap: anywhere; }
.booking blockquote { margin: .6rem 0; padding: .6rem 1rem; background: var(--sand); border-radius: 8px; }
.note-form { display: flex; gap: .6rem; align-items: flex-start; margin: .6rem 0; }
.note-form textarea { flex: 1; }
.actions { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: space-between; align-items: center; }
.actions form { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin: 0; }
.history summary { cursor: pointer; font-weight: 600; margin: 1.5rem 0 1rem; }
.inline-form { display: flex; flex-wrap: wrap; gap: 1rem; align-items: flex-end; }
.inline-form .grow { flex: 1; min-width: 200px; }
.blocks { list-style: none; padding: 0; }
.blocks li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; background: var(--card); padding: .7rem 1rem; border-radius: 10px; margin-bottom: .5rem; }
.blocks form { margin: 0; }
.settings { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.settings .btn { justify-self: start; }

.price-edit { display: flex; gap: .4rem; align-items: center; margin: 0; }
.price-edit input { width: 7rem; padding: .3rem .5rem; }
.price-table { width: 100%; border-collapse: collapse; margin-bottom: 1rem; }
.price-table th { text-align: left; font-size: .8rem; color: var(--muted); font-weight: 500; padding: .3rem; }
.price-table td { padding: .3rem; }
.price-table .new-row input { background: var(--sand); }


.pay { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 .6rem; }
.pay form { margin: 0; }
.pay-btn { border: 1px dashed #c9a24a; background: #fffaf0; color: var(--pre-ink); border-radius: 999px; padding: .35rem .9rem; font: 500 .85rem Inter, sans-serif; cursor: pointer; }
.pay-btn.on { border: 1px solid #2e9a5a; background: var(--free); color: var(--free-ink); }
.img-admin { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; margin: 1rem 0; }
.img-card { background: var(--card); border-radius: 10px; padding: .7rem; display: grid; gap: .5rem; box-shadow: 0 2px 10px rgba(14, 42, 71, .06); }
.img-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; display: block; }
.img-row { display: flex; gap: .5rem; align-items: flex-end; justify-content: space-between; }
.img-row label { width: 6rem; }


@media (max-width: 820px) {
  body { font-size: 16px; }
  .hero { min-height: 86vh; padding: 5rem 0 7rem; }
  .intro { grid-template-columns: 1fr; gap: 2rem; padding-top: 2rem; padding-bottom: 2.5rem; }
  .intro-photo img { aspect-ratio: 4 / 3; border-radius: 120px 120px 20px 20px; }
  .timeline::before, .moment::after { display: none; }
  .moment { grid-template-columns: 1fr; gap: 1rem; margin-bottom: 2.4rem; }
  .moment.flip .moment-photo { order: 0; }
  .moment-text { padding: 0; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 130px; }
  .info-included { grid-row: auto; }
  .prices, .fields, .settings { grid-template-columns: 1fr; }
  .booking-card { padding: 1.4rem; }
  .card { padding: 1.3rem; }
  .mode { display: flex; }
  .mode-opt { flex: 1; text-align: center; }
  .mode-opt span { padding: .6rem .6rem; }
  .lb-nav { top: auto; bottom: 16px; transform: none; }
  .price-table thead { display: none; }
  .price-table tr { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; padding: .6rem 0; border-bottom: 1px solid var(--line); }
  .price-table td:first-child { grid-column: 1 / -1; }
  .note-form { flex-direction: column; align-items: stretch; }
}
.admin h2 { font-size: 1.8rem; }
.terms h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin: .2rem 0 1.5rem; }
.terms h2 { font-size: 1.3rem; margin: 2rem 0 .5rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.terms ul { padding-left: 1.2rem; margin: .4rem 0; }
.terms li { margin: .35rem 0; }
.terms li::marker { color: var(--coral); }

/* ---------- Paket ---------- */
.prices { grid-template-columns: 1fr; }
.prices > .script, .prices > h2 { margin-bottom: 0; }
.pkg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(196px, 1fr)); gap: 1rem; align-items: stretch; margin-top: 1rem; }
.pkg-grid .price-card { display: flex; flex-direction: column; padding: 1.6rem 1.5rem; }
.pkg-grid .price-card h3 { font-size: 1.6rem; padding-right: 2.6rem; }
.pkg-grid .price-ic { font-size: 2.1rem; top: 1.1rem; right: 1.1rem; }
.pkg-when { font-size: .9rem; opacity: .8; min-height: 2.6em; }
.pkg-price { font-family: Fraunces, Georgia, serif; font-size: 1.75rem; color: var(--deep); margin: .6rem 0 .4rem !important; line-height: 1.15; }
.pkg-price small { display: block; font-family: Inter, sans-serif; font-size: .85rem; color: var(--muted); margin-top: .2rem; }
.price-card.dark .pkg-price { color: var(--sun); }
.price-card.dark .pkg-price small { color: #cfe0d6; }
.pkg-list { list-style: none; padding: 0; margin: .4rem 0 1.2rem; flex: 1; }
.pkg-list li { padding: .3rem 0 .3rem 1.4rem; position: relative; font-size: .93rem; }
.pkg-list li::before { content: "✓"; position: absolute; left: 0; color: var(--sun); font-weight: 700; }
.pkg-pick { align-self: stretch; text-align: center; }
.price-card.dark .btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.featured { box-shadow: 0 18px 40px rgba(14, 59, 67, .28); }
.ribbon { position: absolute; top: 14px; left: -34px; transform: rotate(-45deg); background: var(--coral); color: #fff; font-size: .7rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: .25rem 2.4rem; }
.featured h3 { margin-top: .6rem !important; }
.mode { flex-wrap: wrap; }
td.pickable-day { cursor: pointer; font-weight: 600; }
td.pickable-day:focus-visible { outline: 2px solid var(--coral); outline-offset: 1px; }
.tim-fields { padding: 1rem 1.2rem; background: var(--sand); border-radius: 14px; }
.tim-fields[hidden] { display: none; }
.tim-fields p { margin: 0; }
@media (max-width: 760px) {
  .mode { border-radius: 18px; }
  .mode-opt { flex: 1 1 45%; }
  .tim-fields { grid-template-columns: 1fr; }
}
.tim-fields .full { grid-column: 1 / -1; }

/* ---------- Meny och undersidor ---------- */
.site-nav { position: sticky; top: 0; z-index: 40; background: rgba(251, 246, 238, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-nav.over-hero { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; transition: background .25s, border-color .25s; }
.site-nav.over-hero.scrolled { background: rgba(251, 246, 238, .94); border-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 60px; }
.nav-brand { font-family: Fraunces, Georgia, serif; font-weight: 600; font-size: 1.15rem; color: var(--deep); text-decoration: none; white-space: nowrap; }
.site-nav ul { list-style: none; display: flex; gap: .3rem; margin: 0; padding: 0; }
.site-nav ul a { display: block; padding: .45rem .9rem; border-radius: 999px; text-decoration: none; color: var(--deep); font-weight: 500; font-size: .95rem; white-space: nowrap; }
.site-nav ul a:hover { background: rgba(0, 0, 0, .06); }
.site-nav ul a[aria-current="page"] { background: var(--sand); }
.site-nav ul a.nav-cta { background: linear-gradient(135deg, var(--sun), var(--coral)); color: #fff; }
.site-nav.over-hero:not(.scrolled) .nav-brand, .site-nav.over-hero:not(.scrolled) ul a:not(.nav-cta) { color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .35); }
.site-nav.over-hero:not(.scrolled) ul a[aria-current="page"]:not(.nav-cta) { background: rgba(255, 255, 255, .2); }
.site-nav.over-hero:not(.scrolled) ul a:hover { background: rgba(255, 255, 255, .18); }
.banner { position: relative; min-height: 46vh; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; padding: 7rem 0 6rem; overflow: hidden;
  background: linear-gradient(170deg, #284b6b 0%, #b8686a 60%, #f2a541 100%); }
.banner::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(20, 24, 40, .55), rgba(20, 24, 40, .25) 60%, rgba(40, 20, 20, .45)); }
.banner h1 { color: #fff; font-size: clamp(2.4rem, 6vw, 4rem); margin: .3rem 0 .6rem; text-shadow: 0 4px 30px rgba(0, 0, 0, .35); }
.banner .tagline { margin-bottom: 0; }
.script.light { color: #ffd59a; text-shadow: 0 2px 10px rgba(0, 0, 0, .4); }
.page-section { padding-top: 3rem; padding-bottom: 2rem; }
.page-cta { margin: 2rem 0 3.5rem; }
.day-aboard { padding-top: 2rem; }
.explore { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; padding-bottom: 1rem; }
.explore-card { display: flex; flex-direction: column; gap: .3rem; background: var(--card); border-radius: var(--radius); padding: 1.4rem 1.5rem; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s; }
.explore-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px -14px rgba(60, 40, 20, .35); }
.explore-card span { font-size: 2rem; }
.explore-card strong { font-family: Fraunces, Georgia, serif; font-size: 1.35rem; color: var(--deep); }
.explore-card small { color: var(--muted); font-size: .92rem; }
.explore-card strong::after { content: " →"; color: var(--coral); }
.spec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; }
.spec { background: var(--card); border-radius: 16px; padding: 1.1rem 1.3rem; box-shadow: var(--shadow); display: flex; flex-direction: column; border-top: 4px solid var(--sun); }
.spec-k { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.spec-v { font-family: Fraunces, Georgia, serif; font-size: 1.3rem; color: var(--deep); line-height: 1.25; }
.booking-info { display: grid; gap: 1.1rem; margin: -2rem 0 4rem; }
.booking-info .info-grid { margin-top: 0; }
@media (max-width: 760px) {
  .nav-inner { flex-direction: column; align-items: stretch; gap: .2rem; padding-top: .5rem; padding-bottom: .5rem; min-height: 0; }
  .nav-brand { text-align: center; }
  .site-nav ul { justify-content: center; flex-wrap: wrap; }
  .site-nav ul a { padding: .35rem .7rem; font-size: .9rem; }
  .explore { grid-template-columns: 1fr; }
  .banner { padding: 8.5rem 0 5rem; }
}
.lang-switch { display: flex; gap: 2px; margin-left: .4rem; padding: 2px; border-radius: 999px; background: rgba(0, 0, 0, .06); }
.site-nav ul .lang-switch a { padding: .3rem .55rem; font-size: .8rem; font-weight: 600; letter-spacing: .04em; }
.site-nav ul .lang-switch a[aria-current="true"] { background: var(--deep); color: #fff !important; text-shadow: none !important; }
.site-nav.over-hero:not(.scrolled) .lang-switch { background: rgba(255, 255, 255, .18); }
.pkg-grid .price-card { padding: 1.4rem 1.2rem; }
.pkg-grid .price-card h3 { font-size: 1.4rem; }
@media (max-width: 760px) { .lang-switch { margin-left: 0; } }
.pkg-pitch { font-style: italic; font-size: .92rem; opacity: .85; margin: 0 0 .4rem !important; }
.pkg-body { flex: 1; }
.pkg-body h4 { font: 600 .72rem Inter, sans-serif; text-transform: uppercase; letter-spacing: .1em; margin: .8rem 0 .1rem; opacity: .7; }
.pkg-body .pkg-list { margin: 0 0 .2rem; flex: none; }
.pkg-grid .price-card .pkg-body + .pkg-pick { margin-top: 1rem; }
.pkg-list.pkg-extras li::before { content: "+"; color: #c9bfb0; }
.pkg-list.pkg-requirements li::before { content: "•"; color: var(--coral); }
.price-card.dark .pkg-list.pkg-extras li::before { color: #9fb8ad; }
.pkg-req { background: var(--sand); border-radius: 12px; padding: .7rem 1rem; margin: 0 0 1.1rem; font-size: .92rem; }
.pkg-req[hidden] { display: none; }
.pkg-jump { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1rem; }
.pkg-jump a { padding: .35rem .9rem; border-radius: 999px; background: var(--sand); text-decoration: none; color: var(--deep); font-size: .9rem; }
.pkg-admin { scroll-margin-top: 80px; }
.pkg-admin.inactive { opacity: .7; }
.pkg-admin-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem; margin-bottom: .8rem; }
.pkg-admin-head h3 { margin: 0; }
.pkg-admin fieldset { border: 1px solid var(--line); border-radius: 14px; padding: .8rem 1rem 1rem; margin: 1rem 0; }
.pkg-admin legend { font-weight: 600; padding: 0 .4rem; }
.pkg-prices { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .8rem; }
.trip-extras { margin: 1rem 0; }
.trip-extras[hidden] { display: none; }
.trip-extras fieldset { border: 1px solid var(--line); border-radius: 14px; padding: .8rem 1rem 1rem; margin: 0 0 1rem; }
.trip-extras legend { font-weight: 600; padding: 0 .4rem; }
.route-opt { flex-direction: row; align-items: flex-start; gap: .7rem; padding: .7rem .8rem; border-radius: 12px; cursor: pointer; font-weight: 400; }
.route-opt[hidden] { display: none; }
.route-opt:hover { background: var(--sand); }
.route-opt input { width: auto; margin-top: .3rem; flex: none; }
.route-opt span, .addon-opt span { display: flex; flex-direction: column; }
.route-opt small, .addon-opt small { color: var(--muted); font-size: .88rem; }
.route-opt em { font-style: normal; font-size: .82rem; color: var(--sea-2); margin-top: .2rem; }
.route-opt:has(input:checked) { background: var(--sand); box-shadow: inset 0 0 0 2px var(--sun); }
.addon-opt { padding: .5rem 0; }
.addon-opt[hidden] { display: none; }
.addon-opt label.check { align-items: flex-start; gap: .7rem; }
.addon-opt input[type=checkbox] { width: 1.2rem; height: 1.2rem; margin-top: .2rem; flex: none; }
.addon-opt select { width: 4.2rem; flex: none; padding: .4rem; }
.estimate { background: var(--card); border: 2px solid var(--sand-2); border-radius: 14px; padding: .9rem 1.1rem; margin-bottom: .6rem; }
.estimate:empty { display: none; }
.estimate h4 { font: 600 .75rem Inter, sans-serif; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0 0 .4rem; }
.estimate p { display: flex; justify-content: space-between; gap: 1rem; margin: .2rem 0; }
.estimate p.muted { display: block; }
.estimate .est-total { border-top: 1px solid var(--line); padding-top: .4rem; margin-top: .4rem; font-size: 1.1rem; }
.estimate .est-total strong { font-family: Fraunces, Georgia, serif; font-size: 1.4rem; color: var(--deep); }
.settings.three { grid-template-columns: repeat(3, 1fr); }
.nowrap { white-space: nowrap; }
.addon-table td, .route-table td { vertical-align: top; }
.addon-table label.check { display: inline-flex; margin-right: .5rem; }
.route-table textarea { min-width: 14rem; }
@media (max-width: 760px) { .settings.three { grid-template-columns: 1fr; } }
.lock-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem; margin: 1.2rem 0 .4rem; padding: .8rem 1.1rem; border-radius: 14px; font-size: .95rem; }
.lock-bar.locked { background: #fdefd3; border: 1px solid #f0d58e; }
.lock-bar.open { background: #e4f1ea; border: 1px solid #b9dcc8; }
.lock-actions { display: flex; gap: .5rem; align-items: center; }
.lock-actions input { width: 6.5rem; padding: .45rem .6rem; }
.book-pin { margin: 2rem auto 3rem; }
