:root {
  --bg: #f5f1ea; --paper: #fbf9f5; --ink: #24221e; --muted: #6d675c; --line: #ddd5c7;
  --moss: #4f5b43; --moss-d: #3d4734; --sand: #b9a27c; --night: #1c2230;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.65 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--moss-d); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.2; }
h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin: 0 0 .6em; }
h3 { font-size: 1.25rem; margin: 1.6em 0 .5em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 88px 24px; }
.wrap.narrow { max-width: 720px; }
.two { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.muted, .small { color: var(--muted); }
.small { font-size: .86rem; margin: .6em 0 0; }

/* Haus */
.top { position: sticky; top: 0; z-index: 20; display: flex; justify-content: space-between; align-items: center;
  gap: 16px; padding: 12px 24px; background: rgba(245, 241, 234, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.brand { font-family: var(--serif); font-size: 1.35rem; color: var(--ink); text-decoration: none; letter-spacing: .02em; }
.top nav { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.top nav a { color: var(--ink); text-decoration: none; font-size: .95rem; }
.top nav a:hover { color: var(--moss); }
.top nav .cta { background: var(--moss); color: #fff; padding: 7px 16px; border-radius: 999px; }
.top nav .cta:hover { background: var(--moss-d); color: #fff; }
.top nav .lang { color: var(--muted); font-size: .85rem; }

/* Forsíðumynd */
.hero { position: relative; min-height: min(88vh, 820px); display: grid; align-items: end; overflow: hidden; background: var(--night); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,12,18,0) 25%, rgba(10,12,18,.35) 55%, rgba(10,12,18,.78) 100%); }
.hero-text { position: relative; z-index: 1; color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.45); padding: 0 24px 72px; max-width: 1120px; margin: 0 auto; width: 100%; }
.hero h1 { font-size: clamp(3rem, 9vw, 6.2rem); margin: 0; letter-spacing: .01em; }
.hero .tag { font-family: var(--serif); font-size: clamp(1.2rem, 2.6vw, 1.7rem); margin: .2em 0 .5em; }
.hero .intro { max-width: 560px; opacity: .9; margin: 0 0 28px; }

/* Hnappar */
.btn { display: inline-block; border: 0; cursor: pointer; font: 600 .98rem var(--sans); padding: 13px 26px; border-radius: 999px;
  background: var(--moss); color: #fff; text-decoration: none; }
.btn:hover { background: var(--moss-d); }
.btn.light { background: #fff; color: var(--ink); }
.btn.light:hover { background: var(--bg); }
.btn.ghost { background: transparent; color: var(--moss-d); border: 1px solid var(--moss); }
.btn.ghost:hover { background: var(--moss); color: #fff; }
.small-btn { padding: 8px 18px; font-size: .9rem; }

/* Húsið */
.facts { list-style: none; padding: 0; margin: 0 0 8px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.facts li { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 14px 12px; text-align: center;
  font-family: var(--serif); font-size: 1.05rem; }
.amen { columns: 2; padding: 0; list-style: none; margin: 0; }
.amen li, .plain li { padding: 3px 0 3px 20px; position: relative; break-inside: avoid; }
.amen li::before, .plain li::before { content: ""; position: absolute; left: 2px; top: .75em; width: 7px; height: 7px; border-radius: 50%; background: var(--sand); }
.plain { list-style: none; padding: 0; margin: 0; }

/* Myndasafn */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 6px; padding: 0 6px; }
.gallery .ph { overflow: hidden; display: block; }
.gallery .ph.wide { grid-column: span 2; grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery .ph:hover img { transform: scale(1.04); }

/* Staðsetning */
.dist { list-style: none; padding: 0; margin: 0 0 24px; }
.dist li { display: flex; justify-content: space-between; border-bottom: 1px dotted var(--line); padding: 7px 0; }
.dist b { font-weight: 600; color: var(--moss-d); }
.map iframe { width: 100%; height: 420px; border: 0; border-radius: 12px; background: var(--paper); }

/* Bókun */
.band { background: var(--night); color: #eef0f4; }
.band h2 { color: #fff; }
.band.soft { background: #e9e3d8; color: var(--ink); }
.band.soft h2 { color: var(--ink); }
.lead { max-width: 640px; }
.price-from { font-family: var(--serif); font-size: 1.2rem; color: #d9c7a3; }
.book-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 28px; align-items: start; }
.book-grid > .form:only-child { grid-column: 1 / -1; max-width: 720px; }
.form label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 14px; }
.form input, .form select, .form textarea { display: block; width: 100%; margin-top: 5px; font: 400 1rem var(--sans);
  padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); }
.form textarea { resize: vertical; }
.row2, .row3 { display: grid; gap: 14px; }
.row2 { grid-template-columns: 1fr 1fr; }
.row3 { grid-template-columns: 1fr 1fr .7fr; }
.band .small { color: #aeb4c2; }
.band.soft .small { color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ok { background: #e3ecd9; color: #2f4a1f; padding: 12px 16px; border-radius: 8px; }
.err { background: #f6dcd6; color: #7a2414; padding: 4px 16px; border-radius: 8px; }
.estimate { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15); border-radius: 10px; padding: 12px 16px; margin-bottom: 16px; }
.estimate div { display: flex; justify-content: space-between; }
.estimate .sum { border-top: 1px solid rgba(255,255,255,.2); margin-top: 6px; padding-top: 6px; font-weight: 700; }

/* Dagatal */
.cal { background: #fff; color: var(--ink); border-radius: 14px; padding: 18px; }
.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.cal-head b { font-family: var(--serif); font-weight: 400; font-size: 1.2rem; text-transform: capitalize; }
.cal-head button { border: 1px solid var(--line); background: var(--paper); border-radius: 50%; width: 36px; height: 36px; cursor: pointer; font-size: 1.1rem; }
.cal-head button:disabled { opacity: .3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; text-align: center; }
.cal-grid .dow { font-size: .75rem; color: var(--muted); padding: 4px 0; }
.cal-grid button { border: 0; background: var(--paper); border-radius: 6px; padding: 9px 0; font: 500 .92rem var(--sans); cursor: pointer; color: var(--ink); }
.cal-grid button:hover:not(:disabled) { background: #e4e9dc; }
.cal-grid button:disabled { color: #c2bbb0; cursor: default; background: transparent; }
.cal-grid button.busy { text-decoration: line-through; background: #f1ebe2; color: #b0a796; }
.cal-grid button.sel { background: var(--moss); color: #fff; }
.cal-grid button.range { background: #d6decb; }
.cal-note { font-size: .85rem; color: var(--muted); margin: 10px 0 0; }

/* Listaverk */
.art-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 32px; margin-top: 32px; }
.art { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.art-img { display: block; background: #ece6db; aspect-ratio: 4 / 5; }
.art-img img { width: 100%; height: 100%; object-fit: contain; }
.art-body { padding: 18px 20px 22px; }
.art h3 { margin: .3em 0 .2em; font-size: 1.35rem; }
.art .meta { color: var(--muted); font-size: .9rem; margin: 0 0 .6em; }
.art .desc { font-size: .95rem; }
.art .desc p { margin: .4em 0; }
.art .price { font-family: var(--serif); font-size: 1.3rem; margin: .5em 0 .8em; }
.badge { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; padding: 3px 10px; border-radius: 999px; background: #e3ecd9; color: #2f4a1f; }
.badge.fratekid { background: #f4e8cf; color: #74521a; }
.badge.selt { background: #eadcd8; color: #7a2b1d; }
.art-topic { background: #fff; padding: 10px 14px; border-radius: 8px; }
.contact-line { font-weight: 600; }

/* Ljósakassi */
.lb { position: fixed; inset: 0; background: rgba(12, 14, 20, .94); z-index: 50; display: flex; align-items: center; justify-content: center; }
.lb img { max-width: 94vw; max-height: 90vh; object-fit: contain; }
.lb button { position: absolute; background: none; border: 0; color: #fff; font-size: 2.4rem; cursor: pointer; padding: 12px 18px; }
.lb .x { top: 8px; right: 12px; }
.lb .pv { left: 8px; top: 50%; transform: translateY(-50%); }
.lb .nx { right: 8px; top: 50%; transform: translateY(-50%); }

.foot { text-align: center; padding: 40px 24px; color: var(--muted); font-size: .9rem; }
.foot p { margin: .3em 0; }

@media (max-width: 860px) {
  .wrap { padding: 64px 20px; }
  .two, .book-grid { grid-template-columns: 1fr; gap: 32px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; }
  .top nav { gap: 14px; }
  .top nav a:not(.cta):not(.lang) { display: none; }
  .facts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .row2, .row3 { grid-template-columns: 1fr; }
  .amen { columns: 1; }
}
