:root {
  --deep: #0e4a5a;
  --sea: #15677c;
  --teal: #2a8ca0;
  --foam: #e9f3f3;
  --sand: #f6efe2;
  --granite: #5b6b72;
  --coral: #e8765a;
  --coral-d: #d65f44;
  --sun: #f3b24b;
  --ink: #0c2a33;
  --paper: #fbf8f2;
  --card: #ffffff;
  --line: rgba(14,74,90,0.12);
  --shadow: 0 10px 30px rgba(14,74,90,0.10);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--sea); }

.wrap { width: min(1080px, 92vw); margin: 0 auto; }

/* ---------- Brand wordmark (handskriven känsla) ---------- */
.brand { display: inline-flex; align-items: baseline; gap: 9px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 12px; height: 12px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px rgba(232,118,90,0.18); align-self: center; }
.brand-name { font-family: 'Caveat', cursive; font-weight: 700; font-size: 1.9rem; line-height: 1; }
.brand-sub { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--granite); align-self: center; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,248,242,0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 18px; padding: 12px 0; }
.nav-links { display: flex; gap: 20px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; opacity: .85; }
.nav-links a:hover { opacity: 1; color: var(--sea); }
#langSwitcher select {
  font: inherit; font-size: .9rem; padding: 7px 10px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer;
}
.nav-toggle { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 600; font-size: 1rem;
  padding: 13px 22px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; text-decoration: none; transition: transform .08s ease, box-shadow .2s ease, background .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--coral); color: #fff; box-shadow: 0 8px 20px rgba(232,118,90,0.32); }
.btn-primary:hover { background: var(--coral-d); }
.btn-ghost { background: #fff; color: var(--deep); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--teal); }
.btn-sea { background: var(--sea); color: #fff; }
.btn-sea:hover { background: var(--deep); }
.btn-lg { padding: 16px 28px; font-size: 1.06rem; }
.btn[disabled] { opacity: .55; cursor: default; }

/* ---------- Hero (foto på hamnen) ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--deep);
  padding: clamp(44px, 9vw, 84px) 0 0;
  isolation: isolate;
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background-image: url('/img/hamn.jpg');
  background-size: cover; background-position: center 35%;
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(8,42,51,.55) 0%, rgba(8,42,51,.30) 35%, rgba(8,42,51,.72) 100%),
    linear-gradient(90deg, rgba(8,42,51,.55) 0%, transparent 60%);
}
.hero-inner { display: grid; gap: 20px; padding-bottom: clamp(48px, 9vw, 86px); max-width: 720px; }
.hero-brand { display: flex; align-items: baseline; gap: 14px; margin-bottom: 2px; }
.hero-brand-name { font-family: 'Caveat', cursive; font-weight: 700; font-size: clamp(2.9rem, 7.5vw, 4.8rem); line-height: 1; color: #fff; text-shadow: 0 2px 22px rgba(8,42,51,.5); }
.hero-brand-sub { font-size: clamp(.7rem, 1.6vw, .82rem); letter-spacing: .24em; text-transform: uppercase; color: #ffd9ad; font-weight: 700; align-self: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 700; color: #ffd9ad; margin: 0; }
.hero h1 {
  font-family: 'Fraunces', serif; font-weight: 600; letter-spacing: -.02em;
  font-size: clamp(2.4rem, 6.8vw, 4.2rem); line-height: 1.02; margin: 0; color: #fff;
  text-shadow: 0 2px 24px rgba(8,42,51,.4);
}
.hero p.lede { font-size: clamp(1.05rem, 2.3vw, 1.28rem); color: #eaf3f3; margin: 0; max-width: 36em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero .btn-ghost { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.4); backdrop-filter: blur(4px); }
.hero .btn-ghost:hover { background: rgba(255,255,255,.24); border-color: #fff; }
.hero-wave { display: block; width: 100%; height: auto; margin-bottom: -6px; position: relative; }
.hero-wave path { fill: var(--paper); }

/* ---------- Sections ---------- */
section { padding: clamp(48px, 8vw, 84px) 0; }
.section-head { max-width: 40em; margin-bottom: 34px; }
.section-head h2 { font-family: 'Fraunces', serif; font-weight: 600; font-size: clamp(1.7rem, 4vw, 2.5rem); letter-spacing: -.02em; margin: 0 0 8px; color: var(--deep); }
.section-head p { margin: 0; color: var(--granite); font-size: 1.08rem; }
.alt { background: linear-gradient(180deg, #fff 0%, var(--foam) 100%); }

/* ---------- Offers grid ---------- */
.offers { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.offer {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 16px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow);
}
.offer .ico { font-size: 1.7rem; line-height: 1; }
.offer .label { font-weight: 600; font-size: .98rem; }
.offer.badge { background: linear-gradient(160deg, var(--deep), var(--sea)); color: #fff; border-color: transparent; }
.offer.badge .label { color: #fff; }

/* ---------- Coffee partner (Espresso House) ---------- */
.coffee { background: linear-gradient(180deg, #ffffff 0%, #f3ece1 100%); }
.coffee-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.coffee-art img { width: 100%; border-radius: 24px; box-shadow: var(--shadow); display: block; }
.coffee-text .eyebrow { color: #6f8f3f; }
.coffee-text h2 { font-family: 'Fraunces', serif; font-weight: 600; font-size: clamp(1.7rem, 4vw, 2.5rem); letter-spacing: -.02em; color: var(--deep); margin: 12px 0 14px; }
.coffee-text .lede { color: var(--granite); font-size: clamp(1.02rem, 2.2vw, 1.18rem); margin: 0; max-width: 32em; }
.coffee-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.coffee-chips .chip { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; font-weight: 600; font-size: .92rem; box-shadow: var(--shadow); display: inline-flex; gap: 6px; align-items: center; }

/* ---------- Breakfast feature ---------- */
.feature { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.feature-card { background: var(--card); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); padding: clamp(22px, 3vw, 34px); }
.steps { display: grid; gap: 16px; margin: 22px 0 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; }
.steps .n { width: 34px; height: 34px; border-radius: 50%; background: var(--coral); color: #fff; font-weight: 700; display: grid; place-items: center; }
.steps span { color: var(--ink); }
.feature-art {
  position: relative; border-radius: 24px; min-height: 320px; box-shadow: var(--shadow);
  overflow: hidden; display: grid; align-items: end; color: #fff; padding: 24px;
  background: #0e4a5a url('/img/soluppgang.webp') center/cover no-repeat;
}
.feature-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(8,42,51,.72) 100%); }
.feature-art .cap { position: relative; z-index: 1; }
.feature-art .big { font-family: 'Caveat', cursive; font-size: clamp(2.4rem, 6vw, 3.4rem); line-height: 1; text-shadow: 0 2px 16px rgba(0,0,0,.4); }
.feature-art .small { opacity: .95; text-shadow: 0 1px 10px rgba(0,0,0,.5); }

/* ---------- Book cards ---------- */
.book-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.book-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow);
  padding: 0; overflow: hidden; display: flex; flex-direction: column;
}
.book-card-img { width: 100%; height: 230px; object-fit: cover; display: block; }
.book-card-body { padding: clamp(20px, 3vw, 28px); display: flex; flex-direction: column; gap: 10px; flex: 1; }
.book-card .ico { font-size: 1.8rem; }
.book-card h3 { font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.5rem; margin: 0; color: var(--deep); }
.book-card p { margin: 0 0 6px; color: var(--granite); flex: 1; }
.book-card .btn { align-self: flex-start; }

/* ---------- Visit ---------- */
.visit { display: grid; grid-template-columns: 1fr 1.15fr; gap: 28px; align-items: stretch; }
.visit-info { display: flex; flex-direction: column; gap: 18px; }
.visit-img { width: 100%; border-radius: 20px; box-shadow: var(--shadow); object-fit: cover; }
.visit-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 26px; box-shadow: var(--shadow); }
.visit-card h3 { margin: 0 0 6px; font-family: 'Fraunces', serif; color: var(--deep); }
.visit-card p { margin: 0; color: var(--granite); }
.visit-card .btn { margin-top: 18px; }
.visit-map { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); min-height: 360px; }
.visit-map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; filter: saturate(1.05); }

/* ---------- Footer ---------- */
.site-footer { background: var(--deep); color: #dfeaec; padding: 40px 0; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.site-footer .brand-name { color: #fff; }
.site-footer a { color: #bfe0e6; }
.site-footer small { color: #9fbcc2; }
.footer-partner { display: inline-flex; align-items: center; gap: 12px; }
.footer-partner img { height: 56px; width: auto; display: block; }
.footer-partner span { font-size: .82rem; font-weight: 600; color: #cfe3e6; letter-spacing: .02em; }
.footer-end { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.footer-social { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: #dfeaec; font-weight: 600; font-size: .92rem; transition: color .15s ease; }
.footer-social:hover { color: #fff; }
.footer-social svg { color: var(--coral); flex: none; }

/* ---------- Generic page (order/book/admin) ---------- */
.page { padding: 32px 0 80px; }
.page .back { display: inline-flex; gap: 6px; align-items: center; text-decoration: none; color: var(--sea); font-weight: 500; margin-bottom: 18px; }
.page h1 { font-family: 'Fraunces', serif; font-weight: 600; font-size: clamp(1.9rem, 5vw, 2.7rem); color: var(--deep); margin: 0 0 8px; letter-spacing: -.02em; }
.page .intro { color: var(--granite); margin: 0 0 22px; max-width: 42em; }

.notice { border-radius: 14px; padding: 12px 16px; font-size: .96rem; display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.notice.open { background: #e7f6ee; color: #1d6b43; border: 1px solid #b8e6cd; }
.notice.closed { background: #fdeee9; color: #b34a2f; border: 1px solid #f6cdbf; }
.notice .dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; flex: none; }

.card-panel { background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: clamp(20px, 3vw, 30px); margin-bottom: 22px; }
.card-panel h2 { font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.3rem; color: var(--deep); margin: 0 0 16px; }

/* Menu rows */
.menu-cat { font-size: .76rem; text-transform: uppercase; letter-spacing: .14em; color: var(--teal); font-weight: 700; margin: 18px 0 8px; }
.menu-row { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.menu-row:last-child { border-bottom: 0; }
.menu-row .info { flex: 1; }
.menu-row .name { font-weight: 600; }
.menu-row .price { color: var(--granite); font-size: .92rem; }
.stepper { display: inline-flex; align-items: center; gap: 0; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.stepper button { width: 38px; height: 38px; border: 0; background: #fff; font-size: 1.2rem; cursor: pointer; color: var(--deep); }
.stepper button:hover { background: var(--foam); }
.stepper .qty { width: 34px; text-align: center; font-weight: 600; }

/* Forms */
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.field .help { font-weight: 400; color: var(--granite); font-size: .85rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid rgba(42,140,160,.4); border-color: var(--teal); }
.field textarea { min-height: 76px; resize: vertical; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.choice { display: flex; gap: 10px; }
.choice label { flex: 1; border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: flex; gap: 10px; align-items: center; cursor: pointer; font-weight: 500; }
.choice input { width: auto; }
.choice label.sel { border-color: var(--coral); background: #fdf1ed; }

.total-bar { display: flex; align-items: center; justify-content: space-between; margin: 8px 0 18px; font-size: 1.2rem; }
.total-bar strong { font-family: 'Fraunces', serif; color: var(--deep); }
.form-msg { font-size: .92rem; margin-top: 10px; min-height: 1.2em; }
.form-msg.err { color: var(--coral-d); }

/* Confirmation */
.confirm { text-align: center; max-width: 540px; margin: 40px auto; }
.confirm .check { width: 72px; height: 72px; border-radius: 50%; background: #e7f6ee; color: #1d6b43; display: grid; place-items: center; font-size: 2rem; margin: 0 auto 18px; }
.confirm .ref { display: inline-block; margin-top: 14px; padding: 8px 16px; border-radius: 999px; background: var(--foam); font-weight: 700; letter-spacing: .04em; color: var(--deep); }

/* Admin */
.admin-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 18px; }
.admin-bar input[type=date] { font: inherit; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line); }
table.orders { width: 100%; border-collapse: collapse; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
table.orders th, table.orders td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .94rem; }
table.orders th { background: var(--foam); font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--granite); }
.tag { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .76rem; font-weight: 600; }
.tag.new { background: #fdeee9; color: #b34a2f; }
.tag.paid { background: #e7f6ee; color: #1d6b43; }
.tag.delivered { background: #e8eef7; color: #355b9e; }
.pill-btn { font: inherit; font-size: .82rem; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer; }

@media print {
  .site-header, .admin-bar, .pill-btn, .no-print { display: none !important; }
  body { background: #fff; }
}

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .nav-links { display: none; }
  .feature, .book-grid, .visit, .grid-2, .coffee-grid { grid-template-columns: 1fr; }
  .feature { gap: 24px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
